2020-09-02 18:10:40 +00:00
|
|
|
@import './theme_helper';
|
|
|
|
|
|
|
|
body {
|
|
|
|
&.ui-light {
|
|
|
|
@include gitlab-theme(
|
|
|
|
$gray-500,
|
|
|
|
$gray-700,
|
|
|
|
$gray-500,
|
|
|
|
$gray-500,
|
|
|
|
$gray-50,
|
|
|
|
$gray-500
|
|
|
|
);
|
|
|
|
|
|
|
|
.navbar-gitlab {
|
|
|
|
background-color: $gray-50;
|
|
|
|
box-shadow: 0 1px 0 0 $border-color;
|
|
|
|
|
|
|
|
.logo-text svg {
|
|
|
|
fill: $gray-900;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-sub-nav,
|
|
|
|
.navbar-nav {
|
|
|
|
> li {
|
|
|
|
> a:hover,
|
|
|
|
> a:focus,
|
|
|
|
> button:hover {
|
|
|
|
color: $gray-900;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active > a,
|
|
|
|
&.active > a:hover,
|
|
|
|
&.active > button {
|
|
|
|
color: $white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.container-fluid {
|
|
|
|
.navbar-toggler,
|
|
|
|
.navbar-toggler:hover {
|
|
|
|
color: $gray-500;
|
|
|
|
border-left: 1px solid $gray-100;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search {
|
|
|
|
form {
|
|
|
|
background-color: $white;
|
|
|
|
box-shadow: inset 0 0 0 1px $border-color;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $white;
|
|
|
|
box-shadow: inset 0 0 0 1px $blue-200;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-input-wrap {
|
|
|
|
.search-icon {
|
|
|
|
fill: $gray-100;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-input {
|
|
|
|
color: $gl-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-sidebar li.active {
|
|
|
|
> a {
|
|
|
|
color: $gray-900;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
fill: $gray-900;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-top-level-items > li.active .badge.badge-pill {
|
|
|
|
color: $gray-900;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.gl-dark {
|
|
|
|
.logo-text svg {
|
2021-03-04 21:08:59 +00:00
|
|
|
fill: var(--gl-text-color);
|
2020-09-02 18:10:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-gitlab {
|
2021-03-04 21:08:59 +00:00
|
|
|
background-color: var(--gray-50);
|
2020-09-02 18:10:40 +00:00
|
|
|
|
|
|
|
.navbar-sub-nav,
|
|
|
|
.navbar-nav {
|
|
|
|
li {
|
|
|
|
> a:hover,
|
|
|
|
> a:focus,
|
|
|
|
> button:hover,
|
|
|
|
> button:focus {
|
2021-03-04 21:08:59 +00:00
|
|
|
color: var(--gl-text-color);
|
|
|
|
background-color: var(--gray-200);
|
2020-09-02 18:10:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
li.active,
|
|
|
|
li.dropdown.show {
|
|
|
|
> a,
|
|
|
|
> button {
|
2021-03-04 21:08:59 +00:00
|
|
|
color: var(--gl-text-color);
|
|
|
|
background-color: var(--gray-200);
|
2020-09-02 18:10:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search {
|
|
|
|
form {
|
2021-03-04 21:08:59 +00:00
|
|
|
background-color: var(--gray-100);
|
|
|
|
box-shadow: inset 0 0 0 1px var(--border-color);
|
2020-09-02 18:10:40 +00:00
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:hover {
|
2021-03-04 21:08:59 +00:00
|
|
|
background-color: var(--gray-100);
|
|
|
|
box-shadow: inset 0 0 0 1px var(--blue-200);
|
2020-09-02 18:10:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|