forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update logo. Update Header and Footer to use new style from bazel-web…
…site. Refactor CSS structure to only contain shared and docs CSS RELNOTES: None PiperOrigin-RevId: 159837919
- Loading branch information
Showing
20 changed files
with
432 additions
and
475 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-4"> | ||
<p>About</p> | ||
<ul class="list-unstyled"> | ||
<li><a href="https://github.com/bazelbuild/bazel/wiki/Bazel-Users">Who's using Bazel</a></li> | ||
<li><a href="{{ site.main_site_url }}/roadmap.html">Roadmap</a></li> | ||
<li><a href="{{ site.main_site_url }}/contributing.html">Contribute</a></li> | ||
<li><a href="{{ site.main_site_url }}/governance.html">Governance Plan</a></li> | ||
</ul> | ||
</div> | ||
<div class="col-md-4"> | ||
<p>Support</p> | ||
<ul class="list-unstyled"> | ||
<li><a href="http://stackoverflow.com/questions/tagged/bazel">Stack Overflow</a></li> | ||
<li><a href="https://github.com/bazelbuild/bazel/issues">Issue Tracker</a></li> | ||
<li><a href="https://docs.bazel.build">Documentation</a></li> | ||
<li><a href="{{ site.main_site_url }}/faq.html">FAQ</a></li> | ||
<li><a href="{{ site.main_site_url }}/support.html">Support Policy</a></li> | ||
</ul> | ||
</div> | ||
<div class="col-md-4"> | ||
<p>Stay Connected</p> | ||
<ul class="list-unstyled"> | ||
<li><a href="https://twitter.com/bazelbuild">Twitter</a></li> | ||
<li><a href="https://blog.bazel.build">Blog</a></li> | ||
<li><a href="https://github.com/bazelbuild/bazel">GitHub</a></li> | ||
<li><a href="https://groups.google.com/forum/#!forum/bazel-discuss">Discussion group</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-lg-12"> | ||
<p class="text-muted">© {{ 'now' | date: "%Y" }} Google</p> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
// Build Encyclopedia and Skylark Library | ||
|
||
pre.rule-signature { | ||
white-space: normal; | ||
word-wrap: break-word; | ||
word-break: normal; | ||
} | ||
|
||
colgroup { | ||
.col-param { | ||
width: 25%; | ||
} | ||
|
||
.col-description { | ||
width: 75%; | ||
} | ||
} | ||
|
||
$table-params-border-color: #81c784; | ||
$table-params-head-color: #fff; | ||
$table-params-body-bg-color: #e8f5e9; | ||
|
||
.table-params { | ||
border: 1px solid $table-params-border-color; | ||
|
||
thead > tr > th { | ||
color: $table-params-head-color; | ||
border: 1px solid $table-params-border-color; | ||
background-color: $table-params-border-color; | ||
} | ||
|
||
tbody > tr > td { | ||
background-color: $table-params-body-bg-color; | ||
border: 1px solid $table-params-border-color; | ||
} | ||
} | ||
|
||
$table-implicit-border-color: #c0c0c0; | ||
$table-implicit-head-color: #fff; | ||
$table-implicit-body-bg-color: #f0f0f0; | ||
|
||
.table-implicit { | ||
border: 1px solid $table-implicit-border-color; | ||
|
||
thead > tr > th { | ||
color: $table-implicit-head-color; | ||
border: 1px solid $table-implicit-border-color; | ||
background-color: $table-implicit-border-color; | ||
} | ||
|
||
tbody > tr > td { | ||
background-color: $table-implicit-body-bg-color; | ||
border: 1px solid $table-implicit-border-color; | ||
} | ||
} | ||
|
||
|
||
$toc-border-color: #c8e6c9; | ||
$toc-color: #757575; | ||
|
||
.toc { | ||
border-left: 4px solid $toc-border-color; | ||
padding-left: 18px; | ||
margin-bottom: 20px; | ||
|
||
h1, | ||
h2 { | ||
font-size: 24px; | ||
color: $toc-color; | ||
margin-bottom: 12px; | ||
} | ||
|
||
ul { | ||
list-style: none; | ||
padding-left: 0; | ||
margin-top: 0; | ||
|
||
li { | ||
line-height: 36px; | ||
font-size: 16px; | ||
font-weight: 400; | ||
} | ||
} | ||
} | ||
|
||
// Command-line Reference | ||
dt { | ||
margin-top: .5em; | ||
} | ||
|
||
dd { | ||
margin-left: 2em; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// Footer styles | ||
|
||
$footer-backgroud: #424242; | ||
$footer-color: #fff; | ||
$footer-link-color: #e0e0e0; | ||
|
||
.footer { | ||
margin-top: 40px; | ||
background-color: $footer-backgroud; | ||
color: $footer-color; | ||
padding: 20px; | ||
|
||
.text-muted { | ||
color: $footer-link-color; | ||
} | ||
|
||
a { | ||
color: $footer-link-color; | ||
|
||
&:hover, | ||
&:focus { | ||
color: $footer-color; | ||
text-decoration: none; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
// Navbar styles | ||
$navbar-bg-color: $bazel-green; | ||
$navbar-hover-bg-color: $bazel-green-light; | ||
$navbar-color: $color-on-bazel-green; | ||
$navbar-hover-color: #444; | ||
$navbar-input-bg-color: $bazel-green-light; | ||
$navbar-input-focus-bg-color: $color-on-bazel-green; | ||
$navbar-input-border-color: $bazel-green; | ||
|
||
.navbar-inverse { | ||
margin-bottom: 0; | ||
background-color: $navbar-bg-color; | ||
border-bottom: 1px solid $navbar-bg-color; | ||
|
||
.navbar-brand { | ||
.navbar-logo { | ||
height: 22px; | ||
} | ||
} | ||
|
||
a.navbar-brand { | ||
color: $navbar-color; | ||
|
||
&:focus, | ||
&:hover { | ||
color: $navbar-hover-color; | ||
background-color: $navbar-bg-color; | ||
} | ||
} | ||
|
||
.navbar-nav > li > a { | ||
color: $navbar-color; | ||
|
||
&:focus, | ||
&:hover { | ||
color: $navbar-hover-color; | ||
background-color: $navbar-hover-bg-color; | ||
} | ||
|
||
&.nav-icon { | ||
font-size: 18px; | ||
} | ||
} | ||
|
||
.navbar-nav > li.active > a { | ||
background-color: $navbar-hover-bg-color; | ||
|
||
&:focus, | ||
&:hover { | ||
background-color: $navbar-hover-bg-color; | ||
} | ||
} | ||
|
||
.navbar-form { | ||
border-color: $navbar-bg-color; | ||
|
||
.input-sm { | ||
margin-top: 2px; | ||
} | ||
|
||
input[type="search"] { | ||
background-color: $navbar-input-bg-color; | ||
border-color: $navbar-input-border-color; | ||
|
||
&::placeholder { | ||
color: $navbar-color; | ||
} | ||
|
||
&:focus, | ||
&:active { | ||
background-color: $navbar-input-focus-bg-color; | ||
} | ||
} | ||
} | ||
|
||
.navbar-toggle { | ||
border: 1px solid $navbar-bg-color; | ||
|
||
&.active, | ||
&:focus, | ||
&:hover { | ||
background-color: $navbar-hover-bg-color; | ||
} | ||
} | ||
|
||
.navbar-collapse { | ||
border-color: $navbar-bg-color; | ||
} | ||
} | ||
|
||
@media (max-width: 768px) { | ||
#cse-search-box { | ||
margin-top: 0; | ||
margin-bottom: 0; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
$sidebar-border-color: #fff; | ||
$sidebar-hover-border-color: #66bb6a; | ||
|
||
.sidebar { | ||
margin-top: 40px; | ||
|
||
ul.sidebar-nav { | ||
list-style-type: none; | ||
padding: 0; | ||
|
||
li { | ||
&.sidebar-nav-heading { | ||
padding: 10px 0; | ||
margin: 0; | ||
display: block; | ||
font-size: 16px; | ||
font-weight: 300; | ||
} | ||
|
||
a { | ||
padding: 4px 0; | ||
display: block; | ||
border-right: 2px solid $sidebar-border-color;; | ||
|
||
&:focus { | ||
text-decoration: none; | ||
} | ||
|
||
&:active, | ||
&:hover { | ||
border-right: 2px solid $sidebar-hover-border-color; | ||
text-decoration: none; | ||
} | ||
|
||
.caret { | ||
float: right; | ||
margin-top: 8px; | ||
margin-right: 10px; | ||
} | ||
} | ||
|
||
&.active { | ||
a { | ||
border-right: 2px solid $sidebar-hover-border-color; | ||
} | ||
} | ||
} | ||
|
||
ul.sidebar-nav { | ||
padding-left: 10px; | ||
} | ||
} | ||
} | ||
|
||
@media (min-width: 992px) { | ||
.sidebar-toggle { | ||
display: none; | ||
} | ||
|
||
.sidebar { | ||
&.collapse { | ||
display: block; | ||
} | ||
} | ||
} |
Oops, something went wrong.