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;
|
|
|
|
min-width: 26px;
|
|
|
|
text-align: center;
|
2015-03-04 04:00:04 +08:00
|
|
|
display: inline;
|
2015-03-04 10:09:57 +08:00
|
|
|
font-size: @font-size-smaller;
|
2015-03-04 04:00:04 +08:00
|
|
|
padding: @padding-xs-vertical @padding-xs-horizontal @padding-xs-vertical @padding-xs-horizontal;
|
|
|
|
margin-top: floor(@line-height-large - @line-height-small)/2;
|
|
|
|
line-height: @line-height-small;
|
|
|
|
border-radius: @border-radius-small;
|
|
|
|
}
|