Skip to content

Commit

Permalink
CSS: Move .primary-nav to nav.less
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
lippserd committed Oct 27, 2015
1 parent 0ff7420 commit 9d02aa7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
6 changes: 0 additions & 6 deletions public/css/icinga/main.less
Expand Up @@ -30,12 +30,6 @@
width: 28px;
}

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

.pull-left {
float: left;
}
Expand Down
18 changes: 11 additions & 7 deletions public/css/icinga/nav.less
@@ -1,34 +1,38 @@
/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */

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

.badge {
> .badge {
float: right;
}
}
}

li.nav-item {
.nav-item {
> a,
> span {
// Rollover
display: block;
}
}

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

ul.tab-nav {
.tab-nav {
.clearfix();

li {
> .nav-item {
float: left;
}
}

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

0 comments on commit 9d02aa7

Please sign in to comment.