Revert "Improve consistency of the coloring of a few elements with the site theme" (#853)

* Revert "Improve consistency of the coloring of a few elements with the site theme. (#851)"

This reverts commit 73dee9e611.
This commit is contained in:
Laurent Demailly 2018-01-07 20:27:00 -08:00 committed by GitHub
parent 52343935ca
commit f68eedb402
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 17 deletions

View File

@ -4,7 +4,7 @@ layout: default
<div class="container-fluid">
<div class="row row-offcanvas row-offcanvas-left">
<div class="col-6 col-md-3 col-xl-2 sidebar-offcanvas">
{% include sidebar.html docs=site.blog %}
{% include sidebar.html docs=site.docs %}
</div>
{% if page.toc != false %}

View File

@ -55,9 +55,7 @@ table {
}
th {
color: $white;
background-color: $secondBrandColor;
font-weight: normal;
background-color: $thirdBrandColor;
}
pre.code-toolbar {
@ -73,22 +71,16 @@ pre.code-toolbar {
}
>.toolbar a {
background-color: $secondBrandColor;
color: $white;
}
>.toolbar a:hover {
background-color: $mainBrandColor;
color: $white;
}
>.toolbar a:active {
background-color: $popBrandColor;
>.toolbar a:hover {
background-color: $secondBrandColor;
color: $white;
}
>code {
border-left-color: $secondBrandColor;
border-left-width: 4px;
}
}

View File

@ -25,6 +25,8 @@ $bp-xl-v: 1024px;
// Brand Colors
$mainBrandColor: #466BB0;
$secondBrandColor: #286AC7;
$thirdBrandColor: #98B2E0;
$inverseBrandColor: #FFFFFF;
$popBrandColor: #b05464; // split complementary to main brand color
// Typography

View File

@ -1,16 +1,25 @@
.btn {
&:focus {
outline: 0 !important;
}
&.btn-istio {
background-color: $secondBrandColor;
color: $white;
font-weight: 400;
letter-spacing: 1px;
cursor: pointer;
&:hover {
background-color: $mainBrandColor;
a {
color: $white;
}
&:active {
&.inverse {
background-color: transparent;
border: 2px solid $mainBrandColor;
color: $mainBrandColor;
}
&.btn-istio:hover {
background-color: $popBrandColor;
}
}

View File

@ -39,7 +39,7 @@ header {
color: $white;
&::hover {
color: $popBrandColor;
color: red;
}
}