CSS: Beautify state-badges

This commit is contained in:
Florian Strohmaier 2016-04-12 15:03:13 +02:00 committed by Eric Lippmann
parent 275d9bd411
commit 7e15f68a7a
2 changed files with 23 additions and 3 deletions

View File

@ -45,6 +45,28 @@
padding-right: 0;
}
}
.state-badge-group li {
margin-right: 1px;
}
.state-badge-group li:last-child {
margin-right: 0;
}
.state-badge-group .badge {
border-radius: 0;
}
.state-badge-group li:first-child > .badge {
border-top-left-radius: 0.4em;
border-bottom-left-radius: 0.4em;
}
.state-badge-group li:last-child > .badge {
border-top-right-radius: 0.4em;
border-bottom-right-radius: 0.4em;
}
}
// Performance data pie charts

View File

@ -56,9 +56,7 @@
}
.rounded-corners(@border-radius: 0.4em) {
-webkit-border-radius: @border-radius;
-moz-border-radius: @border-radius;
border-radius: @border-radius;
border-radius: @border-radius;
-webkit-background-clip: padding-box;
-moz-background-clip: padding;