From 808ccd03766f5106dceb982247284e8029c63b2a Mon Sep 17 00:00:00 2001 From: Charles Hacskaylo Date: Thu, 2 Jun 2016 16:23:42 -0700 Subject: [PATCH] [Frontend] Tweaks to splitter Fixes #913 - IN PROGRESS: working on making smaller splitter in Timelines --- .../themes/espresso/res/sass/_constants.scss | 3 ++- .../commonUI/themes/snow/res/sass/_constants.scss | 3 ++- platform/features/timeline/res/sass/_timelines.scss | 12 +++++++----- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/platform/commonUI/themes/espresso/res/sass/_constants.scss b/platform/commonUI/themes/espresso/res/sass/_constants.scss index bb774fb7a8..87770c3eef 100644 --- a/platform/commonUI/themes/espresso/res/sass/_constants.scss +++ b/platform/commonUI/themes/espresso/res/sass/_constants.scss @@ -183,8 +183,9 @@ $scrollbarThumbColorOverlay: lighten($colorOvrBg, 10%); $scrollbarThumbColorOverlayHov: lighten($scrollbarThumbColorOverlay, 2%); // Splitter -$splitterD: 25px; // splitterD and HandleD should both be odd, or even +$splitterD: 25px; // splitterD and $splitterHandleD should both be odd, or even $splitterHandleD: 1px; +$splitterDSm: 17px; // Smaller splitter, used inside elements like a Timeline view $colorSplitterBg: rgba(#fff, 0.1); //pullForward($colorBodyBg, 5%); $splitterShdw: rgba(black, 0.4) 0 0 3px; $splitterEndCr: none; diff --git a/platform/commonUI/themes/snow/res/sass/_constants.scss b/platform/commonUI/themes/snow/res/sass/_constants.scss index f85b5c328f..00ec69c139 100644 --- a/platform/commonUI/themes/snow/res/sass/_constants.scss +++ b/platform/commonUI/themes/snow/res/sass/_constants.scss @@ -183,8 +183,9 @@ $scrollbarThumbColorOverlay: darken($colorOvrBg, 50%); $scrollbarThumbColorOverlayHov: $scrollbarThumbColorHov; // Splitter -$splitterD: 24px; +$splitterD: 24px; // splitterD and $splitterHandleD should both be odd, or even $splitterHandleD: 2px; +$splitterDSm: 16px; // Smaller splitter, used inside elements like a Timeline view $colorSplitterBg: pullForward($colorBodyBg, 10%); $splitterShdw: none; $splitterEndCr: none; diff --git a/platform/features/timeline/res/sass/_timelines.scss b/platform/features/timeline/res/sass/_timelines.scss index 68cc5efdf7..8a59aef5f4 100644 --- a/platform/features/timeline/res/sass/_timelines.scss +++ b/platform/features/timeline/res/sass/_timelines.scss @@ -23,6 +23,13 @@ .l-timeline-holder { @include absPosDefault(); + &.split-layout { + >.splitter { + // Top of splitter within Timelines should be 0 + top: 0; + } + } + .l-header { @include user-select(none); cursor: default; @@ -304,11 +311,6 @@ } } - .splitter { - // Top of splitter within Timelines should be 0 - top: 0; - } - // Ticks .l-ticks, .l-subticks {