From 8e0858bb24b33cbe03f55c31bb2cf631d68b1024 Mon Sep 17 00:00:00 2001 From: Charles Hacskaylo Date: Fri, 3 Jun 2016 10:00:16 -0700 Subject: [PATCH] [Frontend] Tweaks to splitter dimensions Fixes #913 - Tightened up splitter height and width; - Added hover color for snow theme; --- platform/commonUI/themes/espresso/res/sass/_constants.scss | 4 ++-- platform/commonUI/themes/snow/res/sass/_constants.scss | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/platform/commonUI/themes/espresso/res/sass/_constants.scss b/platform/commonUI/themes/espresso/res/sass/_constants.scss index 87770c3eef..4d98f1208d 100644 --- a/platform/commonUI/themes/espresso/res/sass/_constants.scss +++ b/platform/commonUI/themes/espresso/res/sass/_constants.scss @@ -183,13 +183,13 @@ $scrollbarThumbColorOverlay: lighten($colorOvrBg, 10%); $scrollbarThumbColorOverlayHov: lighten($scrollbarThumbColorOverlay, 2%); // Splitter -$splitterD: 25px; // splitterD and $splitterHandleD should both be odd, or even +$splitterD: 17px; // 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; -$colorSplitterHover: pullForward($colorBodyBg, 15%); +$colorSplitterHover: pullForward($colorBodyBg, 40%); $colorSplitterActive: $colorKey; // Mobile diff --git a/platform/commonUI/themes/snow/res/sass/_constants.scss b/platform/commonUI/themes/snow/res/sass/_constants.scss index 00ec69c139..292358078a 100644 --- a/platform/commonUI/themes/snow/res/sass/_constants.scss +++ b/platform/commonUI/themes/snow/res/sass/_constants.scss @@ -183,13 +183,12 @@ $scrollbarThumbColorOverlay: darken($colorOvrBg, 50%); $scrollbarThumbColorOverlayHov: $scrollbarThumbColorHov; // Splitter -$splitterD: 24px; // splitterD and $splitterHandleD should both be odd, or even +$splitterD: 16px; // 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; -$colorSplitterHover: none; +$colorSplitterHover: pullForward($colorBodyBg, 30%); $colorSplitterActive: $colorKey; // Mobile