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

color changes to navigation

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