aboutsummaryrefslogtreecommitdiff
path: root/sass/themes/classic/partials/_navigation.scss
blob: 306850344290429bc1daccec8d65db44082dcd9f (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
body > nav {
  > div > div {
    float: right;
    position: relative;
    padding: .45em 0 0 0;
    a {
      float: right;
      @include replace-text-with-dimensions('rss.png');
    }
    form {
      margin: 0; padding: 0;
      @include background-clip(padding-box);
      input[type='text']{
        margin: 0;
        @include border-radius(1em);
        float: left;
        border: 1px solid #ccc;
        color: #888;
        background: image-url('search.png') no-repeat .5em .4em #f6f6f6;
        padding: .4em .8em .1em 1.8em;
        line-height: 1.35em;
        font-size: .85em;
        &:focus {
          color: #444;
          border-color: #80b1df;
          @include box-shadow(#80b1df 0 0 4px, #80b1df 0 0 3px inset);
          background-color: #fff;
          outline: none;
        }
      }
    }
  }
  @extend .group;
  position: relative;
  z-index: 1;
  background-color: $nav-bg;
  @include background-image(linear-gradient(#fcfcfc, #f4f4f4 0.3, #dddddd));
  border: {
    top: 1px solid $nav-border-top;
    bottom: 1px solid $nav-border-bottom; };
  ul {
    position: relative;
    @include horizontal-list;
    margin: 0 auto;
    padding: .5em 0;
  }
  ul li {
    padding: 0 1em;
    margin: 0;
    border-left: 1px solid $nav-border-left;
    border-right: 1px solid $nav-border-right;
    &:first-child {
      border-left: none;
      padding-left: 0; }
    &:last-child {
      border-right: 0; }
    a {
      display: inline-block;
      color: $nav-color;
      line-height: 150%;
      text-decoration: none;
      &:hover {
        color: $nav-color-hover;
      }
    }
  }
}