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

Pedro Pinto Silva (via logerrit) logerrit at kemper.freedesktop.org
Mon Nov 11 12:44:05 UTC 2019


 loleaflet/css/spreadsheet-mobile.css |   57 +++++++++++++++++++++++++++++++++
 loleaflet/css/spreadsheet.css        |   60 -----------------------------------
 loleaflet/css/toolbar-mobile.css     |    3 -
 loleaflet/css/toolbar.css            |    4 +-
 4 files changed, 60 insertions(+), 64 deletions(-)

New commits:
commit 1a0cee97b57442e7ca4ab32ef70a25b37aa86253
Author:     Pedro Pinto Silva <pedro.silva at collabora.com>
AuthorDate: Mon Nov 11 13:37:51 2019 +0100
Commit:     Pedro Pinto da Silva <pedro.silva at collabora.com>
CommitDate: Mon Nov 11 13:43:43 2019 +0100

    - Spreadsheet: Move rules for mobile to spreadsheet-mobile.css
    - Remove duplicated selectors regarding toolbar-down (toolbar-mobile.css)
    - Add max-height for toolbar-down (toolbar.css)
    
    Change-Id: I41cbd09620d212916338aedbae1936a5d924a520
    Reviewed-on: https://gerrit.libreoffice.org/82435
    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/spreadsheet-mobile.css b/loleaflet/css/spreadsheet-mobile.css
index e85520ed5..eef8baeac 100644
--- a/loleaflet/css/spreadsheet-mobile.css
+++ b/loleaflet/css/spreadsheet-mobile.css
@@ -14,4 +14,61 @@
 			top: 95px !important;
 		}
 	}
+	#spreadsheet-toolbar {
+		bottom: 0;
+	}
+
+	.spreadsheet-tabs-container {
+		bottom: 0;
+	}
+
+	#spreadsheet-row-column-frame {
+		top: 73px;
+		bottom: 36px;
+	}
+
+	#spreadsheet-row-column-frame.readonly {
+		top: 30px;
+	}
+
+	.spreadsheet-tab{
+		background-color: #eaf5ff;
+		color: #4c4c4c;
+		border-radius: 3px;
+		border-color: #fbfbfb;
+		padding-top: 2px;
+		padding-bottom: 2px;
+		margin-top: 4px;
+	}
+
+	.spreadsheet-tab-selected{
+		color: #0b87e7 !important;
+		border-color: #0b87e7;
+		border-top-left-radius: 0px;
+		border-top-right-radius: 0px;
+		margin-top: 2px;
+		padding-top: 5px;
+		padding-bottom: 3px;
+	}
+
+	.spreadsheet-tabs-container, #spreadsheet-toolbar{
+		background-color: #fff;
+		border-top: 1px solid #eceff4;
+	}
+	#spreadsheet-toolbar{
+		background-color: #fbfbfb;
+		border-top: 1px solid #eceff4;
+		height: 33px;
+	}
+	#spreadsheet-toolbar .w2ui-tb-image{
+		padding-top: 0px !important;
+		margin-top: 0px !important;
+		margin-bottom: 0px !important;
+		height: 32px !important;
+	}
+	#toolbar-down table.w2ui-button.over {
+	    border: 1px solid #eee;
+	    background-color: #eeeeee;
+	    border-radius: 0px;
+	}
 }
diff --git a/loleaflet/css/spreadsheet.css b/loleaflet/css/spreadsheet.css
index c3350914d..610c934df 100644
--- a/loleaflet/css/spreadsheet.css
+++ b/loleaflet/css/spreadsheet.css
@@ -232,63 +232,3 @@
 	background-size: 100% 100%;
 	background-repeat: no-repeat;
 	}
-
- at media (max-width: 767px) {
-	#spreadsheet-toolbar {
-		bottom: 0;
-	}
-
-	.spreadsheet-tabs-container {
-		bottom: 0;
-	}
-
-	#spreadsheet-row-column-frame {
-		top: 73px;
-		bottom: 36px;
-	}
-
-	#spreadsheet-row-column-frame.readonly {
-		top: 30px;
-	}
-
-	.spreadsheet-tab{
-		background-color: #eaf5ff;
-		color: #4c4c4c;
-		border-radius: 3px;
-		border-color: #fbfbfb;
-		padding-top: 2px;
-		padding-bottom: 2px;
-		margin-top: 4px;
-	}
-
-	.spreadsheet-tab-selected{
-		color: #0b87e7 !important;
-		border-color: #0b87e7;
-		border-top-left-radius: 0px;
-		border-top-right-radius: 0px;
-		margin-top: 2px;
-		padding-top: 5px;
-		padding-bottom: 3px;
-	}
-
-	.spreadsheet-tabs-container, #spreadsheet-toolbar{
-		background-color: #fff;
-		border-top: 1px solid #eceff4;
-	}
-	#spreadsheet-toolbar{
-		background-color: #fbfbfb;
-		border-top: 1px solid #eceff4;
-		height: 33px;
-	}
-	#spreadsheet-toolbar .w2ui-tb-image{
-		padding-top: 0px !important;
-		margin-top: 0px !important;
-		margin-bottom: 0px !important;
-		height: 32px !important;
-	}
-	#toolbar-down table.w2ui-button.over {
-	    border: 1px solid #eee;
-	    background-color: #eeeeee;
-	    border-radius: 0px;
-	}
-}
diff --git a/loleaflet/css/toolbar-mobile.css b/loleaflet/css/toolbar-mobile.css
index 934124adb..b5609e8e4 100644
--- a/loleaflet/css/toolbar-mobile.css
+++ b/loleaflet/css/toolbar-mobile.css
@@ -18,9 +18,6 @@
 	#tb_actionbar_item_fullscreen{display: none;}
 	#toolbar-down {
 		height: 34px !important;
-	}
-
-	#toolbar-down{
 		border-top: 1px solid #f1f1f1 !important;
 	}
 	#addressInput{
diff --git a/loleaflet/css/toolbar.css b/loleaflet/css/toolbar.css
index 95c33bd33..3cd11e3d7 100644
--- a/loleaflet/css/toolbar.css
+++ b/loleaflet/css/toolbar.css
@@ -24,7 +24,9 @@
 		z-index: 1000;
 		border-top: 1px solid #bbbbbb;
 }
-
+#toolbar-down *{
+	max-height: 35px !important;
+}
 #document-signing-bar {
 		background-color: #ef324e;;
 }


More information about the Libreoffice-commits mailing list