Commit dfdcb49a authored by Simon Knox's avatar Simon Knox Committed by Nicolò Maria Mezzopera

Fix up dark mode nav colors

Also improve select2 text color
parent 29524a36
...@@ -308,7 +308,6 @@ body { ...@@ -308,7 +308,6 @@ body {
); );
} }
&.gl-dark,
&.ui-light { &.ui-light {
@include gitlab-theme( @include gitlab-theme(
$gray-700, $gray-700,
...@@ -391,13 +390,47 @@ body { ...@@ -391,13 +390,47 @@ body {
} }
&.gl-dark { &.gl-dark {
@include gitlab-theme( .logo-text svg {
$gray-900, fill: $gl-text-color;
$gray-500, }
$gray-700,
$gray-800, .navbar-gitlab {
$gray-50, background-color: $gray-50;
$gray-100
); .navbar-sub-nav,
.navbar-nav {
li {
> a:hover,
> a:focus,
> button:hover,
> button:focus {
color: $gl-text-color;
background-color: $gray-200;
}
}
li.active,
li.dropdown.show {
> a,
> button {
color: $gl-text-color;
background-color: $gray-200;
}
}
}
.search {
form {
background-color: $gray-100;
box-shadow: inset 0 0 0 1px $border-color;
&:active,
&:hover {
background-color: $gray-100;
box-shadow: inset 0 0 0 1px $blue-200;
}
}
}
}
} }
} }
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
.select2-container.select2-drop-above { .select2-container.select2-drop-above {
.select2-choice { .select2-choice {
background: $white; background: $white;
color: $gl-text-color;
border-color: $input-border; border-color: $input-border;
height: 34px; height: 34px;
padding: $gl-vert-padding $gl-input-padding; padding: $gl-vert-padding $gl-input-padding;
......
...@@ -99,7 +99,7 @@ $border-white-normal: $gray-900; ...@@ -99,7 +99,7 @@ $border-white-normal: $gray-900;
$body-bg: $gray-50; $body-bg: $gray-50;
$input-bg: $gray-100; $input-bg: $gray-100;
$input-focus-bg: $gray-50; $input-focus-bg: $gray-100;
$input-color: $gray-900; $input-color: $gray-900;
$input-group-addon-bg: $gray-900; $input-group-addon-bg: $gray-900;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment