diff --git a/browser/css/cool.css b/browser/css/cool.css index 4ec9055d0..8f88d1834 100644 --- a/browser/css/cool.css +++ b/browser/css/cool.css @@ -230,6 +230,11 @@ nav.spreadsheet-color-indicator ~ #sidebar-dock-wrapper { width: 0; } +/* Hide back btn except on mobile phones */ +#toolbar-mobile-back { + width: 0; +} + #mobile-edit-button { position: absolute; width: 56px; diff --git a/browser/css/device-mobile.css b/browser/css/device-mobile.css index 58202c292..444853629 100644 --- a/browser/css/device-mobile.css +++ b/browser/css/device-mobile.css @@ -105,6 +105,21 @@ div#w2ui-overlay-actionbar.w2ui-overlay{ display: none !important; } +/* Related to back button */ +#toolbar-mobile-back { + width: 36px; + height: 36px; + position: relative; + z-index: 1003; +} +.editmode-off { + background: url('images/lc_closedocmobile.svg') no-repeat center !important; +} +.editmode-on { + background: url('images/lc_listitem-selected.svg') no-repeat center / 28px !important; +} + + /* No ruler on mobile phones. */ .cool-ruler { height: 0px; diff --git a/browser/html/cool.html.m4 b/browser/html/cool.html.m4 index fee29f7bd..97ecf06f3 100644 --- a/browser/html/cool.html.m4 +++ b/browser/html/cool.html.m4 @@ -206,6 +206,7 @@ m4_ifelse(MOBILEAPP,[true],