From a729edd3997fac968ebbc7ac1895412aa9a8837b Mon Sep 17 00:00:00 2001 From: Charles Hacskaylo Date: Mon, 16 May 2016 12:00:29 -0700 Subject: [PATCH] [Frontend] Label context arrows now always visible open #929 - Also enable frame dragging in title area when editing in Layout; - CSS and markup changes; --- .../res/templates/browse/object-header.html | 2 +- .../general/res/sass/controls/_controls.scss | 18 +++++------------- .../general/res/sass/user-environ/_frame.scss | 2 -- 3 files changed, 6 insertions(+), 16 deletions(-) diff --git a/platform/commonUI/browse/res/templates/browse/object-header.html b/platform/commonUI/browse/res/templates/browse/object-header.html index 2136bdd416..d46cbd91cb 100644 --- a/platform/commonUI/browse/res/templates/browse/object-header.html +++ b/platform/commonUI/browse/res/templates/browse/object-header.html @@ -26,5 +26,5 @@ + class="flex-elem context-available-w"> \ No newline at end of file diff --git a/platform/commonUI/general/res/sass/controls/_controls.scss b/platform/commonUI/general/res/sass/controls/_controls.scss index a2bb0b73bb..e938d1a6e7 100644 --- a/platform/commonUI/general/res/sass/controls/_controls.scss +++ b/platform/commonUI/general/res/sass/controls/_controls.scss @@ -279,21 +279,13 @@ input[type="search"] { padding-right: 0.35em; // For context arrow. Done with em's so pad is relative to the scale of the text. } + .context-available-w { + z-index: 5; + } + .context-available { font-size: 0.7em; - @include webkitProp(flex, '0 0 1'); - } -} - -body.desktop .object-header { - .context-available { - @include trans-prop-nice(opacity, 0.25s); - opacity: 0; - } - &:hover { - .context-available { - opacity: 1; - } + @include flex(0 0 1); } } diff --git a/platform/commonUI/general/res/sass/user-environ/_frame.scss b/platform/commonUI/general/res/sass/user-environ/_frame.scss index 7bc3367c00..64c4dbd69b 100644 --- a/platform/commonUI/general/res/sass/user-environ/_frame.scss +++ b/platform/commonUI/general/res/sass/user-environ/_frame.scss @@ -36,8 +36,6 @@ line-height: $ohH; .left { padding-right: $interiorMarginLg; - - z-index: 5; } } >.object-holder.abs {