mirror of
https://github.com/nasa/openmct.git
synced 2025-02-05 10:39:15 +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()">
|
<li ng-repeat="createAction in createActions" ng-click="createAction.perform()">
|
||||||
<a ng-mouseover="representation.activeMetadata = createAction.getMetadata()"
|
<a ng-mouseover="representation.activeMetadata = createAction.getMetadata()"
|
||||||
ng-mouseleave="representation.activeMetadata = undefined"
|
ng-mouseleave="representation.activeMetadata = undefined"
|
||||||
class="{{ createAction.getMetadata().cssclass }}">
|
class="menu-item-a {{ createAction.getMetadata().cssclass }}">
|
||||||
{{createAction.getMetadata().name}}
|
{{createAction.getMetadata().name}}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -68,7 +68,7 @@
|
|||||||
|
|
||||||
.menu .type-icon,
|
.menu .type-icon,
|
||||||
.tree-item .type-icon,
|
.tree-item .type-icon,
|
||||||
.super-menu.menu .type-icon {
|
.super-menu.menu .menu-item-a:before {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -117,14 +117,13 @@
|
|||||||
.s-menu-btn .menu {
|
.s-menu-btn .menu {
|
||||||
pointer-events: auto;
|
pointer-events: auto;
|
||||||
ul li {
|
ul li {
|
||||||
a {
|
a.menu-item-a {
|
||||||
// TO-DO: factor this <a> out
|
|
||||||
color: $colorMenuFg;
|
color: $colorMenuFg;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
&:before {
|
||||||
&:before {
|
color: $colorMenuIc;
|
||||||
color: $colorMenuIc;
|
left: $interiorMargin;
|
||||||
left: $interiorMargin;
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user