Summary Files Commits Branches @commit @diff @stats
path: root / src / navs.less
blob: 5f471b09b1625258c9e5102a8a4965ccf07da4db (plain) (blame)
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
// Navs
.nav {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: @unit-1 0;

  .nav-item {
    a {
      color: @gray-color-dark;
      padding: @unit-1 @unit-2;
      text-decoration: none;
      &:focus,
      &:hover {
        color: @primary-color;
      }
    }
    &.active {
      & > a {
        color: darken(@gray-color-dark, 10%);
        font-weight: bold;
        &:focus,
        &:hover {
          color: @primary-color;
        }
      }
    }
  }

  & .nav {
    margin-bottom: @unit-2;
    margin-left: @unit-4;
  }
}