From 0a0bc55f5fa025c5d303f6c1254c8ed891015e34 Mon Sep 17 00:00:00 2001 From: Charles Hacskaylo Date: Fri, 8 Jul 2016 17:11:43 -0700 Subject: [PATCH] [Frontend] Styling for Time Conductor v2 Fixes #993 In-progress; mode menu names and descriptors modified, markup cleaned up --- .../res/sass/controls/_time-controller.scss | 23 +++---------------- .../templates/mode-selector/mode-menu.html | 16 ++++++------- .../mode-selector/mode-selector.html | 2 +- .../res/templates/time-conductor.html | 4 +--- 4 files changed, 13 insertions(+), 32 deletions(-) diff --git a/platform/commonUI/general/res/sass/controls/_time-controller.scss b/platform/commonUI/general/res/sass/controls/_time-controller.scss index 1c13199114f..6bc7e60f56f 100644 --- a/platform/commonUI/general/res/sass/controls/_time-controller.scss +++ b/platform/commonUI/general/res/sass/controls/_time-controller.scss @@ -42,17 +42,14 @@ &.start-date { @include background-image(linear-gradient(90deg, $colorBodyBg $inputW + $interiorMargin, transparent 100%)); } - &.end-date { @include background-image(linear-gradient(270deg, $colorBodyBg $inputW + $interiorMargin, transparent 100%)); right: 0; text-align: right; } - input[type="text"] { width: $inputW; } - .icon-calendar { position: absolute; margin-left: -16px; @@ -70,7 +67,6 @@ position: relative; width: 100%; } - .l-axis-holder { height: $r1H; position: relative; @@ -78,36 +74,23 @@ svg { stroke: $c; width: 100%; height: 100%; + > g { + font-size: 0.8em; + } path {display: none;} line {stroke: $c;} } } } - .l-data-visualization { background: rgba($colorTick, 0.3); height: $r2H; } - .l-time-domain-selector { position: absolute; right: 0px; top: $interiorMargin; } - -/* .super-menu.mode-selector-menu { - height: 200px; width: 400px; - .menu-item-description { - .desc-area.icon { - @include test(); - $h: 50px; - //font-size: 3em; - //height: $h; - //line-height: $h; - } - } - }*/ - } .s-time-range-val { diff --git a/platform/features/conductor-v2/res/templates/mode-selector/mode-menu.html b/platform/features/conductor-v2/res/templates/mode-selector/mode-menu.html index d926037cc89..d69055d2805 100644 --- a/platform/features/conductor-v2/res/templates/mode-selector/mode-menu.html +++ b/platform/features/conductor-v2/res/templates/mode-selector/mode-menu.html @@ -26,14 +26,14 @@ - Fixed Time-span + Fixed Timespan Mode
  • @@ -41,27 +41,27 @@ ng-mouseover="representation.activeMetadata = { glyph: '\u0043', name: 'Real-time Mode', - description: 'Monitor real-time streaming data as it comes in to the application. The Time Conductor will automatically advance itself based on a UTC clock.' + description: 'Monitor real-time streaming data as it comes in. The Time Conductor will automatically advance itself based on a UTC clock.' }" ng-mouseleave="representation.activeMetadata = undefined"> C - Real-time + Real-time Mode
  • D - Latest Available Data + Latest Available Data Mode
  • diff --git a/platform/features/conductor-v2/res/templates/mode-selector/mode-selector.html b/platform/features/conductor-v2/res/templates/mode-selector/mode-selector.html index b3a565dec8f..7cab222a348 100644 --- a/platform/features/conductor-v2/res/templates/mode-selector/mode-selector.html +++ b/platform/features/conductor-v2/res/templates/mode-selector/mode-selector.html @@ -38,7 +38,7 @@
    - Fixed Time Span + Historical Data Mode