mirror of
https://github.com/documize/community.git
synced 2025-07-23 15:19:42 +02:00
Round the corners for label color box!
This commit is contained in:
parent
fb391d49a5
commit
a424bbfcae
2 changed files with 5 additions and 2 deletions
|
@ -34,8 +34,7 @@
|
|||
{{#each labels as |label|}}
|
||||
{{#if (gt label.count 0)}}
|
||||
<div class="item {{if (eq selectedView label.id) "selected"}}" {{action "onSelect" label.id}}>
|
||||
<i class={{concat "dicon " constants.Icon.Checkbox}}
|
||||
style={{label.bgfgColor}}/>
|
||||
<i class={{concat "dicon label-color " constants.Icon.Checkbox}} style={{label.bgfgColor}}/>
|
||||
<div class="name">{{label.name}} ({{label.count}})</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
|
|
@ -76,6 +76,10 @@
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
> .label-color {
|
||||
@include border-radius(3px);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
> .dicon {
|
||||
color: map-get($gray-shades, 600);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue