loleaflet/css/device-mobile.css | 12 ++++++++++-- loleaflet/css/spreadsheet.css | 2 +- loleaflet/css/toolbar.css | 2 +- loleaflet/css/w2ui-1.5.rc1.css | 2 +- loleaflet/images/plus.svg | 13 ++++++++++++- 5 files changed, 25 insertions(+), 6 deletions(-)
New commits: commit 8bc03a5a3781a210010cb8a93b34f56b58f0ef43 Author: Pranam Lashkari <lpra...@collabora.com> AuthorDate: Sat Mar 28 07:54:40 2020 +0530 Commit: Pedro Pinto da Silva <pedro.si...@collabora.com> CommitDate: Thu Apr 9 16:33:44 2020 +0200 "+" position corrected for active state add sheets button This chage only affects mobile view > moving changes to new files > Increase document container's bottom position (it was cropping tabs container) > Fix default browser borders that were afecting position > Desktop > Also Fix document container on desktop > Fix icons' elements being cropped (perv, next and plus) > Adjust Margins for those w2ui elements > Discovered that plus.svg whas not centered and fixed it Change-Id: Id54a491e9c2a6afef468aca8d858bf91b83d03ce Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91270 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Pedro Pinto da Silva <pedro.si...@collabora.com> diff --git a/loleaflet/css/device-mobile.css b/loleaflet/css/device-mobile.css index d9d27bac0..161686840 100644 --- a/loleaflet/css/device-mobile.css +++ b/loleaflet/css/device-mobile.css @@ -212,7 +212,11 @@ div#w2ui-overlay-actionbar.w2ui-overlay{ } .spreadsheet-tabs-container { - left: 24px; + left: 28px; +} + +#tb_spreadsheet-toolbar_item_insertsheet { + padding-left: 3px; } .spreadsheet-tab-scroll { @@ -464,9 +468,13 @@ td[id^=tb_spreadsheet-toolbar_item] table.w2ui-button.over { background: none; border-color: #fff; } +td[id^=tb_spreadsheet-toolbar_item] table.w2ui-button{ + border: none !important; +} td[id^=tb_spreadsheet-toolbar_item]:focus table.w2ui-button, td[id^=tb_spreadsheet-toolbar_item]:active table.w2ui-button{ background-color: #eaf5ff; outline: none; + border: none; } td[id^=tb_spreadsheet-toolbar_item]:focus table.w2ui-button div.w2ui-icon, td[id^=tb_spreadsheet-toolbar_item]:active table.w2ui-button div.w2ui-icon{ -webkit-filter: grayscale(100%) brightness(80%) sepia(100%) hue-rotate(-190deg) saturate(900%) contrast(0.8); @@ -566,7 +574,7 @@ td[id^=tb_spreadsheet-toolbar_item]:focus table.w2ui-button div.w2ui-icon, td[id #document-container.spreadsheet-document { top: 92px !important; - bottom: 68px; + bottom: 72px; } #document-container { diff --git a/loleaflet/css/spreadsheet.css b/loleaflet/css/spreadsheet.css index 260411847..1934933b5 100644 --- a/loleaflet/css/spreadsheet.css +++ b/loleaflet/css/spreadsheet.css @@ -2,7 +2,7 @@ border-top: 1px solid #B6B6B6; top: 137px; left: 50px; - bottom: 75px; + bottom: 65px; } #document-container.spreadsheet-document.readonly { diff --git a/loleaflet/css/toolbar.css b/loleaflet/css/toolbar.css index c01e913f6..fd903aa5a 100644 --- a/loleaflet/css/toolbar.css +++ b/loleaflet/css/toolbar.css @@ -76,7 +76,7 @@ w2ui-toolbar { #spreadsheet-toolbar { left: 0; text-align: center; - bottom: 33px; + bottom: 35px; padding: 0; position: absolute; } diff --git a/loleaflet/css/w2ui-1.5.rc1.css b/loleaflet/css/w2ui-1.5.rc1.css index 3bc652c8c..e894ae0bd 100644 --- a/loleaflet/css/w2ui-1.5.rc1.css +++ b/loleaflet/css/w2ui-1.5.rc1.css @@ -2944,7 +2944,7 @@ button.w2ui-btn-small:focus:before { width: 22px; height: 16px; padding: 0; - margin: 5px 1px 3px 1px!important; + margin: 0px 1px!important; border: 0!important; text-align: center; } diff --git a/loleaflet/images/plus.svg b/loleaflet/images/plus.svg index 8431bdaaa..71b942ef5 100644 --- a/loleaflet/images/plus.svg +++ b/loleaflet/images/plus.svg @@ -1 +1,12 @@ -<svg viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg"><path d="m5 2v4h-4v1h4v4h1v-4h4v-1h-4v-4z" fill="#808080"/></svg> \ No newline at end of file +<svg version="1.1" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> + <metadata> + <rdf:RDF> + <cc:Work rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/> + <dc:title/> + </cc:Work> + </rdf:RDF> + </metadata> + <path d="m5.5 1.5v4h-4v1h4v4h1v-4h4v-1h-4v-4z" fill="#808080"/> +</svg> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits