summaryrefslogtreecommitdiffstats
path: root/public/css/icinga/nav.less
blob: f7950f18789138af57787868c71b46adf5aa51b7 (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
/*! Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */

.badge-nav-item {
  > a {
    .clearfix();

    > .badge {
      float: right;
    }
  }
}

.dropdown-nav-item > ul {
  display: none;
  position: absolute;
}

.dropdown-nav-item.active > ul,
.dropdown-nav-item:hover > ul {
  display: block;
}

.nav {
  // Reset defaults
  list-style-type: none;
  margin: 0;
  padding: 0;

  li > a,
  li > span {
    // Rollover
    display: block;
  }
}

.nav .nav-item .icon:before {
  width: 1.5em;
}

.tab-nav {
  .clearfix();

  > li {
    float: left;
  }
}

.primary-nav a {
  font-weight: 500;
}