aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/_sass/navbar.scss
blob: 42be12e0e1d041f47ad3aa326cb8bb11ef67cf91 (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
95
96
// Navbar styles
$navbar-bg-color: $bazel-green;
$navbar-hover-bg-color: $bazel-green-light;
$navbar-color: $color-on-bazel-green;
$navbar-hover-color: #444;
$navbar-input-bg-color: $bazel-green-light;
$navbar-input-focus-bg-color: $color-on-bazel-green;
$navbar-input-border-color: $bazel-green;

.navbar-inverse {
  margin-bottom: 0;
  background-color: $navbar-bg-color;
  border-bottom: 1px solid $navbar-bg-color;

  .navbar-brand {
    .navbar-logo {
      height: 22px;
    }
  }

  a.navbar-brand {
    color: $navbar-color;

    &:focus,
    &:hover {
      color: $navbar-hover-color;
      background-color: $navbar-bg-color;
    }
  }

  .navbar-nav > li > a {
    color: $navbar-color;

    &:focus,
    &:hover {
      color: $navbar-hover-color;
      background-color: $navbar-hover-bg-color;
    }

    &.nav-icon {
      font-size: 18px;
    }
  }

  .navbar-nav > li.active > a {
    background-color: $navbar-hover-bg-color;

    &:focus,
    &:hover {
      background-color: $navbar-hover-bg-color;
    }
  }

  .navbar-form {
    border-color: $navbar-bg-color;

    .input-sm {
      margin-top: 2px;
    }

    input[type="search"] {
      background-color: $navbar-input-bg-color;
      border-color: $navbar-input-border-color;

      &::placeholder {
        color: $navbar-color;
      }

      &:focus,
      &:active {
        background-color: $navbar-input-focus-bg-color;
      }
    }
  }

  .navbar-toggle {
    border: 1px solid $navbar-bg-color;

    &.active,
    &:focus,
    &:hover {
      background-color: $navbar-hover-bg-color;
    }
  }

  .navbar-collapse {
    border-color: $navbar-bg-color;
  }
}

@media (max-width: 768px) {
  #cse-search-box {
    margin-top: 0;
    margin-bottom: 0;
  }
}