[Frontend] Refactoring glyphs to classes

fixes #1047
In-progess, menus and Create menu fixes
This commit is contained in:
Charles Hacskaylo 2016-06-27 11:41:06 -07:00
parent fe3097707f
commit 46cae10905
3 changed files with 7 additions and 8 deletions

View File

@ -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>

View File

@ -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;
} }

View File

@ -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; }
} }
} }
} }