CSS: Reduce size of badges

refs #5543
This commit is contained in:
Eric Lippmann 2015-11-11 10:37:09 +01:00
parent 5c849d2479
commit 4684e9246e
1 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,8 @@
/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
@badge-line-height: 1.2;
@badge-padding: 0.25em;
.badge {
.rounded-corners();
background-color: @gray-light;
@ -7,10 +10,9 @@
display: inline-block;
font-family: @font-family-wide;
font-size: @font-size-small;
font-weight: @font-weight-bold;
line-height: 1;
min-width: 3em;
padding: @vertical-padding / 2;
line-height: @badge-line-height;
min-width: 2em;
padding: @badge-padding;
text-align: center;
vertical-align: middle;
white-space: nowrap;