提交 1c2547d2 编写于 作者: P Phil Hughes

color changes to navigation

上级 2dfc8d0e
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
@import 'framework/tw_bootstrap_variables'; @import 'framework/tw_bootstrap_variables';
@import "bootstrap/variables"; @import "bootstrap/variables";
$new-navbar-bg: #2d2d2d; $new-navbar-bg: #380D75;
header.navbar-gitlab-new { header.navbar-gitlab-new {
color: $gray-normal; color: $gray-normal;
...@@ -36,7 +36,7 @@ header.navbar-gitlab-new { ...@@ -36,7 +36,7 @@ header.navbar-gitlab-new {
.dropdown.open { .dropdown.open {
> a { > a {
border-bottom-color: $blue-400; border-bottom-color: $white-light;
} }
} }
...@@ -52,7 +52,7 @@ header.navbar-gitlab-new { ...@@ -52,7 +52,7 @@ header.navbar-gitlab-new {
} }
.navbar-collapse { .navbar-collapse {
color: $gray-dark; color: $white-light;
} }
.container-fluid { .container-fluid {
...@@ -79,12 +79,18 @@ header.navbar-gitlab-new { ...@@ -79,12 +79,18 @@ header.navbar-gitlab-new {
} }
} }
.nav > li > a {
opacity: .9;
will-change: opacity;
}
.nav > li > a:hover, .nav > li > a:hover,
.nav > li > a:focus { .nav > li > a:focus {
color: $gray-normal; color: $white-light;
opacity: 1;
> svg { > svg {
fill: $gray-normal; fill: $white-light;
} }
} }
} }
...@@ -93,11 +99,16 @@ header.navbar-gitlab-new { ...@@ -93,11 +99,16 @@ header.navbar-gitlab-new {
.navbar-sub-nav { .navbar-sub-nav {
display: flex; display: flex;
margin-bottom: 0; margin-bottom: 0;
color: $gray-dark; color: $white-light;
> li { > li {
&.active > a { &.active > a,
border-bottom-color: $blue-400; a:hover,
a:focus {
border-bottom-color: $white-light;
text-decoration: none;
outline: 0;
opacity: 1;
} }
> a { > a {
...@@ -106,17 +117,13 @@ header.navbar-gitlab-new { ...@@ -106,17 +117,13 @@ header.navbar-gitlab-new {
font-size: 13px; font-size: 13px;
color: currentColor; color: currentColor;
border-bottom: 3px solid transparent; border-bottom: 3px solid transparent;
opacity: .9;
will-change: opacity;
@media (min-width: $screen-sm-min) { @media (min-width: $screen-sm-min) {
padding: 15px 15px 12px; padding: 15px 15px 12px;
font-size: 14px; font-size: 14px;
} }
&:hover,
&:focus {
color: $gray-normal;
text-decoration: none;
}
} }
} }
...@@ -126,28 +133,40 @@ header.navbar-gitlab-new { ...@@ -126,28 +133,40 @@ header.navbar-gitlab-new {
} }
.search { .search {
form {
border-color: #2D0573;
&:hover {
border-color: rgba($white-light, .5);
}
}
&.search-active form {
border-color: $white-light;
}
form, form,
.search-input { .search-input {
background-color: $gl-gray-light; background-color: #451C7F;
} }
.search-input { .search-input {
color: $gray-normal; color: $white-light;
} }
.search-input::placeholder { .search-input::placeholder {
color: $gray-dark; color: $white-light;
} }
.location-badge { .location-badge {
color: $gray-normal; color: $white-light;
background-color: $new-navbar-bg; background-color: $new-navbar-bg;
} }
&.search-active { &.search-active {
.search-input-wrap { .search-input-wrap {
i { i {
color: $gray-normal; color: $white-light;
} }
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册