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|}}
|
{{#each labels as |label|}}
|
||||||
{{#if (gt label.count 0)}}
|
{{#if (gt label.count 0)}}
|
||||||
<div class="item {{if (eq selectedView label.id) "selected"}}" {{action "onSelect" label.id}}>
|
<div class="item {{if (eq selectedView label.id) "selected"}}" {{action "onSelect" label.id}}>
|
||||||
<i class={{concat "dicon " constants.Icon.Checkbox}}
|
<i class={{concat "dicon label-color " constants.Icon.Checkbox}} style={{label.bgfgColor}}/>
|
||||||
style={{label.bgfgColor}}/>
|
|
||||||
<div class="name">{{label.name}} ({{label.count}})</div>
|
<div class="name">{{label.name}} ({{label.count}})</div>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -76,6 +76,10 @@
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
> .label-color {
|
||||||
|
@include border-radius(3px);
|
||||||
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
> .dicon {
|
> .dicon {
|
||||||
color: map-get($gray-shades, 600);
|
color: map-get($gray-shades, 600);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue