Skip to content

Commit

Permalink
[Frontend] Refactoring glyphs to classes
Browse files Browse the repository at this point in the history
fixes #1047
In-progess, menus and Create menu fixes
  • Loading branch information
charlesh88 committed Jun 27, 2016
1 parent fe30977 commit 46cae10
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion platform/commonUI/general/res/sass/_icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
11 changes: 5 additions & 6 deletions platform/commonUI/general/res/sass/controls/_menus.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
}
Expand Down

0 comments on commit 46cae10

Please sign in to comment.