mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 20:54:00 -06:00
we need access to badge category bg in drop down for extensibility
This commit is contained in:
parent
95f8b3ed4c
commit
dd9c23eb5e
@ -1,5 +1,6 @@
|
||||
{{#if category}}
|
||||
<a href {{action "expand"}} class="badge-category" {{bind-attr style="badgeStyle"}}>
|
||||
<span class="badge-category-bg" style="background-color: #{{unbound category.color}};"></span>
|
||||
{{#if category.read_restricted}}
|
||||
{{fa-icon "lock"}}
|
||||
{{/if}}
|
||||
|
@ -91,8 +91,14 @@ h1 a.badge-category div {vertical-align: top;}
|
||||
|
||||
.category-breadcrumb li > .badge-category {
|
||||
float: left;
|
||||
&:not(.home):first-child {
|
||||
.badge-category-bg {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.user-preferences .autocomplete .badge-wrapper .badge-category {
|
||||
margin: 2px;
|
||||
font-weight: normal;
|
||||
|
Loading…
Reference in New Issue
Block a user