summaryrefslogtreecommitdiff
path: root/assets/sass/_sidebar.sass
blob: 52177ba0bc9ccc83df4dfff8b744af9676c2ecfa (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
@import variables
@import mixins

.sidebar-container
  @include grid(100)

.sidebar-content
  padding-left: 10px
  @include grid_width(82/100)
  @include xs-device
    @include grid_width(1)

.sidebar
  max-width: 240px
  min-width: 190px
  @include grid_width(18/100)
  @include xs-device
    @include grid_width(1)
    max-width: 99%
    min-width: 0
  h2
    margin-top: 0
  > ul
    a
      text-decoration: none
      color: color('light')
      font-weight: 300
      &:hover
        color: color('primary')
    li
      list-style-type: none
      line-height: 35px
      border-bottom: 1px dotted #efefef
      padding-left: 13px
      &:hover
        border-left: 5px solid #555
        padding-left: 8px
      &.active
        border-left: 5px solid #333
        padding-left: 8px
        a
          color: color('primary')
          font-weight: bold

.sidebar-icons > ul li
  padding-left: 0
  &:hover, &.active
    padding-left: 0
    border-left: none

.sidebar > ul li
  &.active a
    &:focus, &:hover
      color: color('medium')
  &:last-child
    margin-bottom: 15px