[Frontend] Final sanding on label flex-box conversion

open #431
Fixed positioning for l-icon-link when applied to
inspection-location object;
This commit is contained in:
Charles Hacskaylo 2015-12-16 16:49:16 -08:00
parent ed3ee1099d
commit 9dc958b952
5 changed files with 18 additions and 13 deletions

View File

@ -85,9 +85,12 @@
// Used in grid-item.html, tree-item, inspector location, more? // Used in grid-item.html, tree-item, inspector location, more?
@extend .ui-symbol; @extend .ui-symbol;
@extend .icon; @extend .icon;
display: inline-block; //display: inline-block;
line-height: normal; // This is Ok for the symbolsfont line-height: normal; // This is Ok for the symbolsfont
position: relative; position: relative;
.t-item-icon-glyph {
position: relative;
}
&.l-icon-link { &.l-icon-link {
.t-item-icon-glyph { .t-item-icon-glyph {
&:before { &:before {

View File

@ -72,7 +72,6 @@ ul.tree {
.t-object-label { .t-object-label {
line-height: $menuLineH; line-height: $menuLineH;
.t-item-icon { .t-item-icon {
@include txtShdwSubtle($shdwItemTreeIcon); @include txtShdwSubtle($shdwItemTreeIcon);
font-size: $treeTypeIconH; font-size: $treeTypeIconH;
@ -80,7 +79,6 @@ ul.tree {
margin-right: $interiorMargin; margin-right: $interiorMargin;
width: $treeTypeIconW; width: $treeTypeIconW;
} }
.title-label,
.t-title-label { .t-title-label {
@include ellipsize(); @include ellipsize();
} }

View File

@ -19,9 +19,9 @@
this source code distribution or the Licensing information page available this source code distribution or the Licensing information page available
at runtime from the About dialog for additional information. at runtime from the About dialog for additional information.
--> -->
<span class="t-object-label l-flex-row flex-elem grows"> <div class="t-object-label l-flex-row flex-elem grows">
<span class="t-item-icon flex-elem" ng-class="{ 'l-icon-link':location.isLink() }"> <div class="t-item-icon flex-elem" ng-class="{ 'l-icon-link':location.isLink() }">
<span class="t-item-icon-glyph">{{type.getGlyph()}}</span> <div class="t-item-icon-glyph">{{type.getGlyph()}}</div>
</span> </div>
<span class='t-title-label flex-elem grows'>{{model.name}}</span> <div class='t-title-label flex-elem grows'>{{model.name}}</div>
</span> </div>

View File

@ -830,10 +830,12 @@ mct-container {
/* line 84, ../../../../general/res/sass/_icons.scss */ /* line 84, ../../../../general/res/sass/_icons.scss */
.t-item-icon { .t-item-icon {
display: inline-block;
line-height: normal; line-height: normal;
position: relative; } position: relative; }
/* line 93, ../../../../general/res/sass/_icons.scss */ /* line 91, ../../../../general/res/sass/_icons.scss */
.t-item-icon .t-item-icon-glyph {
position: relative; }
/* line 96, ../../../../general/res/sass/_icons.scss */
.t-item-icon.l-icon-link .t-item-icon-glyph:before { .t-item-icon.l-icon-link .t-item-icon-glyph:before {
color: #49dedb; color: #49dedb;
content: "\f4"; content: "\f4";

View File

@ -830,10 +830,12 @@ mct-container {
/* line 84, ../../../../general/res/sass/_icons.scss */ /* line 84, ../../../../general/res/sass/_icons.scss */
.t-item-icon { .t-item-icon {
display: inline-block;
line-height: normal; line-height: normal;
position: relative; } position: relative; }
/* line 93, ../../../../general/res/sass/_icons.scss */ /* line 91, ../../../../general/res/sass/_icons.scss */
.t-item-icon .t-item-icon-glyph {
position: relative; }
/* line 96, ../../../../general/res/sass/_icons.scss */
.t-item-icon.l-icon-link .t-item-icon-glyph:before { .t-item-icon.l-icon-link .t-item-icon-glyph:before {
color: #49dedb; color: #49dedb;
content: "\f4"; content: "\f4";