[Frontend] Fixed HTML and CSS for grid-item

open #486
Normalized grid-item to use similar HTML structure
as label template;
Fixed CSS accordingly.
This commit is contained in:
Charles Hacskaylo
2016-01-15 15:33:10 -08:00
parent 193c7e3db2
commit 2d44cf78f9
5 changed files with 67 additions and 61 deletions

View File

@@ -35,7 +35,6 @@
}
&.icon {
color: $colorKey;
//position: relative;
font-size: inherit;
&.alert {
color: $colorAlert;
@@ -81,14 +80,11 @@
}
.t-item-icon {
// Used in grid-item.html, tree-item, inspector location, more?
// Used in grid-item.html, tree-item, inspector location
@extend .ui-symbol;
@extend .icon;
line-height: normal; // This is Ok for the symbolsfont
position: relative;
.t-item-icon-glyph {
position: absolute;
}
&.l-icon-link {
.t-item-icon-glyph {
&:before {
@@ -103,4 +99,4 @@
}
}
}
}
}