[Libreoffice-commits] online.git: loleaflet/css loleaflet/src

Pedro Pinto Silva (via logerrit) logerrit at kemper.freedesktop.org
Wed Nov 27 13:58:19 UTC 2019


 loleaflet/css/toolbar.css                |    8 ++------
 loleaflet/src/control/Control.Toolbar.js |    3 +--
 2 files changed, 3 insertions(+), 8 deletions(-)

New commits:
commit 500b532109399a452e321d3a4aa3118e2a23ebce
Author:     Pedro Pinto Silva <pedro.silva at collabora.com>
AuthorDate: Wed Nov 27 14:54:13 2019 +0100
Commit:     Pedro Pinto da Silva <pedro.silva at collabora.com>
CommitDate: Wed Nov 27 14:56:56 2019 +0100

    Desktop: Toolbar-up: Fold/unfold: Decrease visual importance and switch breakline position
    
    Change-Id: I131dc36b38caf807e438c424755b8c18cc4f1474
    Reviewed-on: https://gerrit.libreoffice.org/83913
    Reviewed-by: Pedro Pinto da Silva <pedro.silva at collabora.com>
    Tested-by: Pedro Pinto da Silva <pedro.silva at collabora.com>

diff --git a/loleaflet/css/toolbar.css b/loleaflet/css/toolbar.css
index 5997dd077..b7641899c 100644
--- a/loleaflet/css/toolbar.css
+++ b/loleaflet/css/toolbar.css
@@ -166,14 +166,10 @@ w2ui-toolbar {
 		width: 181px;
 }
 #tb_editbar_item_fold table.w2ui-button {
-	border-radius: 20px;
-	background-color: #f4f4f4 !important;
 	margin: 0px 14px 0px 4px !important;
-	box-shadow: inset 0px 0px 1px 2px #00000020;
 }
 #tb_editbar_item_fold table.w2ui-button.over {
 	background-color: #fff !important;
-	box-shadow: inset 0px 0px 1px 2px #0000;
 }
 td[id^=tb_editbar_item_sidebar]{
 	padding: 0px 8px;
@@ -638,8 +634,8 @@ button.leaflet-control-search-next
 .w2ui-icon.link{ background: url('images/lc_inserthyperlink.svg') no-repeat center !important; }
 .w2ui-icon.insertsymbol{ background: url('images/lc_insertsymbol.svg') no-repeat center !important; }
 .w2ui-icon.edit{ background: url('images/lc_editdoc.svg') no-repeat center !important; }
-.w2ui-icon.fold{ background: url('images/fold.svg') no-repeat center 1px / 19px !important; }
-.w2ui-icon.unfold{ background: url('images/unfold.svg') no-repeat center 2px/ 19px !important;}
+.w2ui-icon.fold{ background: url('images/fold.svg') no-repeat center center / 19px !important; opacity: 0.8; filter: alpha(opacity=80);}
+.w2ui-icon.unfold{ background: url('images/unfold.svg') no-repeat center center/ 19px !important; opacity: 0.8; filter: alpha(opacity=80);}
 .w2ui-icon.hamburger{ background: url('images/hamburger.svg') no-repeat center !important; }
 .w2ui-icon.setborderstyle{ background: url('images/lc_setborderstyle.svg') no-repeat center !important; }
 .w2ui-icon.togglemergecells{ background: url('images/lc_togglemergecells.svg') no-repeat center !important; }
diff --git a/loleaflet/src/control/Control.Toolbar.js b/loleaflet/src/control/Control.Toolbar.js
index f940ecea0..2cf3782d5 100644
--- a/loleaflet/src/control/Control.Toolbar.js
+++ b/loleaflet/src/control/Control.Toolbar.js
@@ -889,13 +889,12 @@ function initNormalToolbar() {
 		{type: 'button',  id: 'insertsymbol', img: 'insertsymbol', hint: _UNO('.uno:InsertSymbol', '', true), uno: 'InsertSymbol'},
 		{type: 'spacer'},
 		{type: 'button',  id: 'edit',  img: 'edit'},
-		{type: 'break', id: 'breaksidebar', hidden: true},
 		{type: 'button',  id: 'sidebar', img: 'sidebar_modify_page', hint: _UNO('.uno:Sidebar', '', true), uno: '.uno:Sidebar', hidden: true},
 		{type: 'button',  id: 'sidebar-modify-page', img: 'sidebar_modify_page', hint: _UNO('.uno:ModifyPage', 'presentation', true), uno: 'ModifyPage', hidden: true},
 		{type: 'button',  id: 'sidebar-slide-change', img: 'sidebar_slide_change', hint: _UNO('.uno:SlideChangeWindow', 'presentation', true), uno: 'SlideChangeWindow', hidden: true},
 		{type: 'button',  id: 'sidebar-custom-animation', img: 'sidebar_custom_animation', hint: _UNO('.uno:CustomAnimation', 'presentation', true), uno: 'CustomAnimation', hidden: true},
 		{type: 'button',  id: 'sidebar-master-slides', img: 'sidebar_master_slides', hint: _UNO('.uno:MasterSlidesPanel', 'presentation', true), uno: 'MasterSlidesPanel', hidden: true},
-		{type: 'spacer'},
+		{type: 'break', id: 'breaksidebar', hidden: true},
 		{type: 'button',  id: 'fold',  img: 'fold', desktop: true, mobile: false, hidden: true},
 		{type: 'button',  id: 'hamburger-tablet',  img: 'hamburger', desktop: false, mobile: false, tablet: true, iosapptablet: false, hidden: true},
 		{type: 'button', id: 'languagecode', desktop: false, mobile: true, tablet: false}


More information about the Libreoffice-commits mailing list