Close #19 by removing empty stars from the keymap menu items.

This way only the currently set default keymap will have an indicator in
the menu, and there won't be any interaction possible from there.
This commit is contained in:
Arpad Csanyi
2016-03-26 00:00:06 +01:00
parent 74cfe6d1af
commit c62b8506e9
3 changed files with 4 additions and 38 deletions

View File

@@ -45,24 +45,13 @@ ul {
.sidebar__level-2--item.active {
background-color: #555;
color: #fff; }
.sidebar__level-2--item.active .fa-star,
.sidebar__level-2--item.active .fa-star-o {
display: none; }
.sidebar__level-2--item.active .fa-star {
color: #fff; }
.sidebar__level-2--item.active:hover {
background-color: #555; }
.sidebar__level-2--item.active:hover .fa-star,
.sidebar__level-2--item.active:hover .fa-star-o {
display: block;
color: #fff; }
.sidebar__level-2--item:hover .fa-star-o {
color: #000; }
.sidebar__level-2--item:hover .fa-star-o:hover {
color: #000; }
.sidebar__level-2--item .fa.pull-right {
position: relative;
top: 2px; }
.sidebar__level-2--item .fa-star-o {
color: #f5f5f5; }
.sidebar__level-2--item .fa-star {
color: #666; }

View File

@@ -174,8 +174,6 @@
{{#if menuValue.hasDefaults}}
{{#if isDefault}}
<i class="fa fa-star pull-right"></i>
{{else}}
<i class="fa fa-star-o pull-right"></i>
{{/if}}
{{/if}}
</div>

View File

@@ -69,29 +69,12 @@ ul {
background-color: #555;
color: #fff;
.fa-star,
.fa-star-o {
display: none;
.fa-star {
color: #fff;
}
&:hover {
background-color: #555;
.fa-star,
.fa-star-o {
display: block;
color: #fff;
}
}
}
&:hover {
.fa-star-o {
color: #000;
&:hover {
color: #000;
}
}
}
@@ -101,10 +84,6 @@ ul {
top: 2px;
}
.fa-star-o {
color: #f5f5f5;
}
.fa-star {
color: #666;
}