Mercurial > hg > dml-open-vis
diff src/DML/MainVisBundle/Resources/assets/bem-blocks/vis-instance-content/vic-properties.less @ 0:493bcb69166c
added public content
author | Daniel Wolff |
---|---|
date | Tue, 09 Feb 2016 20:54:02 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/DML/MainVisBundle/Resources/assets/bem-blocks/vis-instance-content/vic-properties.less Tue Feb 09 20:54:02 2016 +0100 @@ -0,0 +1,58 @@ +@import "../../config.less"; + +.vic-properties { + padding-top: 5px; + + @item-height: 15px; + + // ---------------------------------- + &_modifier { + + } + + // ================================== + &__property { + .font_small(); + display: block; + position: relative; + height: @item-height; + line-height: @item-height; + overflow: visible; + } + + &__property_type_temp { + opacity: 0.3; + } + + // ================================== + &__property-caption { + position: absolute; + top: 0; + height: @item-height; + //color: @config-grid--color_panel-label; + color: mix(#fff, #000, 60%); // as in charts + left: @config-grid--cells--header-padding-left; + } + + // ================================== + &__property-value { + position: absolute; + top: 0; + left: 80px; + right: @config-grid--cells--header-padding-left; + white-space: nowrap; + color: @config-grid--color_panel-label-hovered; + } + + &__property_type_before-divider &__property-value { + height: 2 * @item-height; + white-space: normal; + overflow: hidden; + } + + // ================================== + &__property-divider { + height: @item-height; + } + +} \ No newline at end of file