summaryrefslogtreecommitdiffstats
path: root/public/css/icinga/nav.less
blob: cd8f9d0ef8f7be77c4af1449967fb298a721a560 (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
/*! 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;
}

.remove-nav-item {
  padding-left: 2em;
}