Skip to content

Commit

Permalink
Fix badges
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernd Erk committed Sep 27, 2015
1 parent a1da5f5 commit 216cc2b
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 1 deletion.
45 changes: 45 additions & 0 deletions modules/monitoring/public/css/module.less
@@ -1,5 +1,50 @@
/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */


.state-badges {

li > a.badge {
padding: 5px;
}

> ul > li {
padding-right: 5px;
&:last-child {
padding-right: 0;
}
}

li {
font-family: tahoma, verdana, sans-serif;
font-size: 11px;
color: @text-color-inverted;
}

li .state-ok {
.bg-color-ok();
}

li .state-warning {
.bg-color-warning();
}

li .state-critical {
.bg-color-critical();
}

li .state-unreachable {
.bg-color-unreachable();
}

li .state-unknown {
.bg-color-unknown();
}

li .state-pending {
.bg-color-pending();
}
}

//.content.processinfo table.avp th {
// width: 16em;
//}
Expand Down
3 changes: 2 additions & 1 deletion public/css/icinga/menu.less
Expand Up @@ -222,8 +222,9 @@
background-color: transparent;
background-image: url('../img/icons/search.png');
background-repeat: no-repeat;
background-position: 1.15em center;
background-position: 1.0em center;
color: @colorTextDefault;
border-left: solid 5px @gray-lighter;
}

html.ie8 #menu input.search {
Expand Down

0 comments on commit 216cc2b

Please sign in to comment.