Mailspring/static/mixins/common-ui-elements.less
Evan Morikawa e0180a1e12 fix(ui): better unread count box
Smaller box that sits next to item.
Drafts is now no longer a strong color
Fixes T3535
2015-10-28 18:50:04 -04:00

24 lines
543 B
Plaintext

@import "ui-variables";
// 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 {
float: right;
min-width: 15px;
height: 15px;
text-align: center;
display: inline;
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;
border-radius: @border-radius-small;
}
body.platform-win32 {
.item-count-box {
border-radius: 0;
}
}