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:
15
css/app.css
15
css/app.css
@@ -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; }
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user