mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
use CSS chevron instead of fa-chevron-right
This commit is contained in:
@@ -4,12 +4,12 @@
|
||||
<li {{bind-attr class="showingIndex:active"}}>
|
||||
{{#link-to 'group.index' model}}{{i18n groups.posts}}
|
||||
<span class='count'>({{counts.posts}})</span>
|
||||
<span class='fa fa-chevron-right'></span>{{/link-to}}
|
||||
{{/link-to}}
|
||||
</li>
|
||||
<li {{bind-attr class="showingMembers:active"}}>
|
||||
{{#link-to 'group.members' model}}{{i18n groups.members}}
|
||||
<span class='count'>({{counts.members}})</span>
|
||||
<span class='fa fa-chevron-right'></span>{{/link-to}}
|
||||
{{/link-to}}
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
@@ -1223,7 +1223,6 @@ button.ru {
|
||||
and (max-width : 850px) {
|
||||
.nav-stacked {
|
||||
.glyph {width: auto; position: relative;}
|
||||
.fa-chevron-right {display: none;}
|
||||
> li > a {padding: 13px}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -66,21 +66,26 @@
|
||||
}
|
||||
}
|
||||
.active > a,
|
||||
.active .fa-chevron-right {
|
||||
{
|
||||
color: $secondary;
|
||||
background-color: $quaternary;
|
||||
}
|
||||
|
||||
.active > a::after,
|
||||
{
|
||||
left: 90%;
|
||||
top: 28%;
|
||||
border: solid transparent;
|
||||
content: " ";
|
||||
position: absolute;
|
||||
border-width: 10px;
|
||||
border-left-color: $secondary;
|
||||
}
|
||||
|
||||
.count {
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
}
|
||||
.fa-chevron-right {
|
||||
float: right;
|
||||
margin: 0;
|
||||
color: scale-color($primary, $lightness: 60%);
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.glyph {
|
||||
font-size: 12px;
|
||||
|
||||
Reference in New Issue
Block a user