summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/themes/theme_light.scss
blob: 4c3bc1b2298e7bd5881b8d13fe371b1609f9646e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
@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;
        }
      }
    }

    .header-search {
      background-color: $white !important;
      box-shadow: inset 0 0 0 1px $border-color !important;

      &:hover {
        background-color: $white !important;
        box-shadow: inset 0 0 0 1px $blue-200 !important;
      }
    }

    .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;
    }
  }
}