From b8b9721ddc961c92d2a9cf8e4f362f0e308d58c9 Mon Sep 17 00:00:00 2001 From: Charles Hacskaylo Date: Wed, 26 Aug 2015 13:04:09 -0700 Subject: [PATCH] [Mobile] IN PROGRESS: Hide name in view-switcher in mobile open #74 --- .../general/res/css/theme-espresso.css | 21 +++++++++++-------- .../general/res/sass/mobile/_layout.scss | 4 ++++ 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/platform/commonUI/general/res/css/theme-espresso.css b/platform/commonUI/general/res/css/theme-espresso.css index 289902281a..0f33224f0d 100644 --- a/platform/commonUI/general/res/css/theme-espresso.css +++ b/platform/commonUI/general/res/css/theme-espresso.css @@ -889,24 +889,27 @@ mct-container { /* line 120, ../sass/mobile/_layout.scss */ .object-browse-bar .view-switcher { margin-right: 0 !important; } + /* line 122, ../sass/mobile/_layout.scss */ + .object-browse-bar .view-switcher .name { + display: none; } - /* line 125, ../sass/mobile/_layout.scss */ + /* line 129, ../sass/mobile/_layout.scss */ .tree-holder { overflow-x: hidden !important; } - /* line 129, ../sass/mobile/_layout.scss */ + /* line 133, ../sass/mobile/_layout.scss */ .mobile-disable-select { -moz-user-select: -moz-none; -ms-user-select: none; -webkit-user-select: none; user-select: none; } - /* line 134, ../sass/mobile/_layout.scss */ + /* line 138, ../sass/mobile/_layout.scss */ .mobile-hide, .mobile-hide-important { display: none !important; } - /* line 139, ../sass/mobile/_layout.scss */ + /* line 143, ../sass/mobile/_layout.scss */ .mobile-back-hide { pointer-events: none; -moz-transition-property: opacity; @@ -923,7 +926,7 @@ mct-container { transition-timing-function: ease-in-out; opacity: 0; } - /* line 144, ../sass/mobile/_layout.scss */ + /* line 148, ../sass/mobile/_layout.scss */ .mobile-back-unhide { pointer-events: all; -moz-transition-property: opacity; @@ -940,18 +943,18 @@ mct-container { transition-timing-function: ease-in-out; opacity: 1; } } @media screen and (orientation: portrait) and (max-width: 514px) and (max-height: 740px) and (max-device-width: 799px) and (max-device-height: 1024px) { - /* line 153, ../sass/mobile/_layout.scss */ + /* line 157, ../sass/mobile/_layout.scss */ .browse-showtree .pane.left.treeview { width: 90% !important; } - /* line 156, ../sass/mobile/_layout.scss */ + /* line 160, ../sass/mobile/_layout.scss */ .browse-showtree .pane.right-repr { left: 0 !important; transform: translateX(90%); } - /* line 159, ../sass/mobile/_layout.scss */ + /* line 163, ../sass/mobile/_layout.scss */ .browse-showtree .pane.right-repr #content-area { opacity: 0; } } @media screen and (min-device-width: 800px) and (min-device-height: 1025px), screen and (min-device-width: 1025px) and (min-device-height: 800px) { - /* line 167, ../sass/mobile/_layout.scss */ + /* line 171, ../sass/mobile/_layout.scss */ .desktop-hide { display: none; } } /***************************************************************************** diff --git a/platform/commonUI/general/res/sass/mobile/_layout.scss b/platform/commonUI/general/res/sass/mobile/_layout.scss index aee784f537..a6ffe688c4 100644 --- a/platform/commonUI/general/res/sass/mobile/_layout.scss +++ b/platform/commonUI/general/res/sass/mobile/_layout.scss @@ -119,6 +119,10 @@ } .view-switcher { margin-right: 0 !important; + .name { + // Hide the name in mobile + display: none; + } } }