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