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:
+2
-13
@@ -45,24 +45,13 @@ ul {
|
|||||||
.sidebar__level-2--item.active {
|
.sidebar__level-2--item.active {
|
||||||
background-color: #555;
|
background-color: #555;
|
||||||
color: #fff; }
|
color: #fff; }
|
||||||
.sidebar__level-2--item.active .fa-star,
|
.sidebar__level-2--item.active .fa-star {
|
||||||
.sidebar__level-2--item.active .fa-star-o {
|
color: #fff; }
|
||||||
display: none; }
|
|
||||||
.sidebar__level-2--item.active:hover {
|
.sidebar__level-2--item.active:hover {
|
||||||
background-color: #555; }
|
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 {
|
.sidebar__level-2--item .fa.pull-right {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 2px; }
|
top: 2px; }
|
||||||
.sidebar__level-2--item .fa-star-o {
|
|
||||||
color: #f5f5f5; }
|
|
||||||
.sidebar__level-2--item .fa-star {
|
.sidebar__level-2--item .fa-star {
|
||||||
color: #666; }
|
color: #666; }
|
||||||
|
|
||||||
|
|||||||
@@ -174,8 +174,6 @@
|
|||||||
{{#if menuValue.hasDefaults}}
|
{{#if menuValue.hasDefaults}}
|
||||||
{{#if isDefault}}
|
{{#if isDefault}}
|
||||||
<i class="fa fa-star pull-right"></i>
|
<i class="fa fa-star pull-right"></i>
|
||||||
{{else}}
|
|
||||||
<i class="fa fa-star-o pull-right"></i>
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+2
-23
@@ -69,29 +69,12 @@ ul {
|
|||||||
background-color: #555;
|
background-color: #555;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|
||||||
.fa-star,
|
.fa-star {
|
||||||
.fa-star-o {
|
color: #fff;
|
||||||
display: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: #555;
|
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;
|
top: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fa-star-o {
|
|
||||||
color: #f5f5f5;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-star {
|
.fa-star {
|
||||||
color: #666;
|
color: #666;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user