2015-03-06 07:42:38 +08:00
|
|
|
@import "ui-variables";
|
|
|
|
|
2015-03-04 04:00:04 +08:00
|
|
|
// A Mixin holding common UI elements.
|
|
|
|
|
|
|
|
// A box to hold counts of things (like number of items in a tag, or
|
|
|
|
// number of messages in a thread)
|
|
|
|
.item-count-box {
|
2015-07-13 22:25:30 +08:00
|
|
|
float: right;
|
2015-10-29 06:50:04 +08:00
|
|
|
min-width: 15px;
|
|
|
|
height: 15px;
|
2015-07-13 22:25:30 +08:00
|
|
|
text-align: center;
|
2015-03-04 04:00:04 +08:00
|
|
|
display: inline;
|
2015-10-29 06:50:04 +08:00
|
|
|
font-size: @font-size-tiny;
|
|
|
|
padding: 0 0.286em 0 0.286em;
|
|
|
|
margin-top: floor(@line-height-large*1.1 - @font-size)/2 + 1;
|
|
|
|
line-height: @font-size;
|
2015-03-04 04:00:04 +08:00
|
|
|
border-radius: @border-radius-small;
|
|
|
|
}
|
2015-10-22 11:32:33 +08:00
|
|
|
body.platform-win32 {
|
|
|
|
.item-count-box {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
}
|