aboutsummaryrefslogtreecommitdiff
path: root/templates/@theme-base/pm-styles/_pm-navigation.scss
blob: 46a41e1ec40e1a50dca6d0f2f27e5c9208c98fb0 (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
/*
 * navigation
 */

.navigation__link {
  padding: 1.1rem 1em 1.1rem 2rem;
  line-height: 1.3;
  color:  var(--color-nav-link, $white);
  text-decoration: none;
  display: block;
}

@if $rtl-option == true {
  [dir="rtl"] {
    .navigation__link {
      padding: .75rem 3rem .75rem 1rem;
    }
  }
}

.navigation__icon {
  fill:  var(--fillcolor-icons, #6D7178);
}

.navigation__refresh {
  display: none;
}

.navigation__link:focus,
.navigation__link:hover {
  background: rgba(255,255,255,.05);
  color:  var(--color-nav-link, $pm-global-light);
  text-decoration: none;
  .navigation__icon {
    fill:  var(--fillcolor-icons, $white);
  }
}
[aria-current="page"].navigation__link {
  background: var(--main-bg-color, $pm-global-grey);
  color: var(--color-nav-active, $pm-primary);
  font-weight: bold;
  
  &:hover .navigation__icon,
  .navigation__icon {
    fill: var(--color-nav-active, $pm-primary);
  }
  
  .navigation__refresh {
    display: inline-flex;
  }

}
.navigation__counterItem {
  background: rgba($white, 0.1);
  font-size: 1.1rem;
  padding: .1em em(6, 11) .2em;
  font-weight: normal;
  &:empty {
      display: none; // removes a bug on Webkit
  }
}