mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
we need access to badge category bg in drop down for extensibility
This commit is contained in:
parent
95f8b3ed4c
commit
dd9c23eb5e
2 changed files with 7 additions and 0 deletions
|
@ -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 a new issue