mirror of
https://github.com/nasa/openmct.git
synced 2025-02-05 02:29:21 +00:00
[Frontend] Refactoring glyphs to classes
fixes #1047 In-progess, menus and Create menu fixes
This commit is contained in:
parent
fe3097707f
commit
46cae10905
@ -25,7 +25,7 @@
|
||||
<li ng-repeat="createAction in createActions" ng-click="createAction.perform()">
|
||||
<a ng-mouseover="representation.activeMetadata = createAction.getMetadata()"
|
||||
ng-mouseleave="representation.activeMetadata = undefined"
|
||||
class="{{ createAction.getMetadata().cssclass }}">
|
||||
class="menu-item-a {{ createAction.getMetadata().cssclass }}">
|
||||
{{createAction.getMetadata().name}}
|
||||
</a>
|
||||
</li>
|
||||
|
@ -68,7 +68,7 @@
|
||||
|
||||
.menu .type-icon,
|
||||
.tree-item .type-icon,
|
||||
.super-menu.menu .type-icon {
|
||||
.super-menu.menu .menu-item-a:before {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
|
@ -117,14 +117,13 @@
|
||||
.s-menu-btn .menu {
|
||||
pointer-events: auto;
|
||||
ul li {
|
||||
a {
|
||||
// TO-DO: factor this <a> out
|
||||
a.menu-item-a {
|
||||
color: $colorMenuFg;
|
||||
display: block;
|
||||
}
|
||||
&:before {
|
||||
color: $colorMenuIc;
|
||||
left: $interiorMargin;
|
||||
&:before {
|
||||
color: $colorMenuIc;
|
||||
left: $interiorMargin;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user