summaryrefslogtreecommitdiff
path: root/assets/_pure-extension.scss
blob: e540ef249451ce7850170d53088d41f48cd781f9 (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
@import 'variables';

html, button, input, select, textarea, .pure-g [class *= "pure-u"] {
  font-family: "Open Sans", "Roboto", sans-serif;
  font-weight: 300;
  
}

.pure-g {
  [class *= "pure-u"] {
    box-sizing: border-box;
  }
}

.pure-u {
  flex-grow: 1;
  width: 0;
}

.pure-menu-list ul ul {
  // left padding for nested sections
  padding-left: $padding-16;
}

.pure-menu-root {
  // vertical space between root sections
  > li {
    padding-bottom: $padding-16;
  }
  
  // font weight only for root sections
  > li > .section {
    font-weight: 600;
  }
}

.pure-menu-link, .pure-menu-heading {
  color: $gray-800;
  padding: $padding-4 $padding-16;
  text-transform: capitalize;
}

.pure-menu-link {
  &:hover, &.active {
    background: none;
  }

  &:hover {
    color: $gray-600;
  }

  &.active {
    color: $color-link;
  }
}