From fc66f37f43c6b6cfdabb18a2c1e74f7442cff080 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 27 Apr 2021 21:21:11 +0300 Subject: [PATCH 1/2] Change groups paddings --- apps/common/main/resources/less/toolbar.less | 8 +++++ .../main/app/template/Toolbar.template | 14 ++++---- apps/documenteditor/main/app/view/FormsTab.js | 2 +- .../main/app/template/Toolbar.template | 16 +++++----- .../main/app/template/Toolbar.template | 32 +++++++++---------- .../main/app/template/ToolbarAnother.template | 16 +++++----- .../main/app/view/PivotTable.js | 6 ++-- 7 files changed, 51 insertions(+), 43 deletions(-) diff --git a/apps/common/main/resources/less/toolbar.less b/apps/common/main/resources/less/toolbar.less index 62419ab15d..ca1348f691 100644 --- a/apps/common/main/resources/less/toolbar.less +++ b/apps/common/main/resources/less/toolbar.less @@ -216,6 +216,14 @@ &:last-child { padding-right: 6px; } + + &.small { + padding-left: 10px; + + + .separator { + margin-left: 10px; + } + } } .elset { diff --git a/apps/documenteditor/main/app/template/Toolbar.template b/apps/documenteditor/main/app/template/Toolbar.template index 1c6b327452..f58295e4f4 100644 --- a/apps/documenteditor/main/app/template/Toolbar.template +++ b/apps/documenteditor/main/app/template/Toolbar.template @@ -6,7 +6,7 @@
-
+
@@ -15,7 +15,7 @@
-
+
@@ -29,7 +29,7 @@
-
+
@@ -49,7 +49,7 @@
-
+
@@ -68,7 +68,7 @@
-
+
@@ -78,7 +78,7 @@
-
+
@@ -165,7 +165,7 @@
-
+
diff --git a/apps/documenteditor/main/app/view/FormsTab.js b/apps/documenteditor/main/app/view/FormsTab.js index f5ef8f2a26..fa93c08024 100644 --- a/apps/documenteditor/main/app/view/FormsTab.js +++ b/apps/documenteditor/main/app/view/FormsTab.js @@ -58,7 +58,7 @@ define([ '' + '
' + '' + - '
-
+
@@ -15,7 +15,7 @@
-
+
@@ -33,7 +33,7 @@
-
+
@@ -42,7 +42,7 @@
-
+
@@ -62,7 +62,7 @@
-
+
@@ -82,7 +82,7 @@
-
+
@@ -91,7 +91,7 @@
-
+
@@ -101,7 +101,7 @@
-
+
diff --git a/apps/spreadsheeteditor/main/app/template/Toolbar.template b/apps/spreadsheeteditor/main/app/template/Toolbar.template index 84494e2dfa..50b6fc5dd7 100644 --- a/apps/spreadsheeteditor/main/app/template/Toolbar.template +++ b/apps/spreadsheeteditor/main/app/template/Toolbar.template @@ -6,7 +6,7 @@
-
+
@@ -15,7 +15,7 @@
-
+
@@ -29,7 +29,7 @@
-
+
@@ -48,7 +48,7 @@
-
+
@@ -65,7 +65,7 @@
-
+
@@ -74,7 +74,7 @@
-
+
@@ -85,7 +85,7 @@
-
+
@@ -97,7 +97,7 @@
-
+
@@ -106,7 +106,7 @@
-
+
@@ -116,7 +116,7 @@
-
+
@@ -194,7 +194,7 @@
-
+
@@ -204,7 +204,7 @@
-
+
@@ -231,7 +231,7 @@
-
+
@@ -240,7 +240,7 @@
-
+
@@ -253,7 +253,7 @@
-
+
@@ -261,7 +261,7 @@
-
+
diff --git a/apps/spreadsheeteditor/main/app/template/ToolbarAnother.template b/apps/spreadsheeteditor/main/app/template/ToolbarAnother.template index 7bced25b77..cc642b5adc 100644 --- a/apps/spreadsheeteditor/main/app/template/ToolbarAnother.template +++ b/apps/spreadsheeteditor/main/app/template/ToolbarAnother.template @@ -4,7 +4,7 @@
-
+
@@ -13,13 +13,13 @@
-
+
-
+
@@ -27,7 +27,7 @@
-
+
@@ -41,7 +41,7 @@
-
+
@@ -50,21 +50,21 @@
-
+
-
+
-
+
diff --git a/apps/spreadsheeteditor/main/app/view/PivotTable.js b/apps/spreadsheeteditor/main/app/view/PivotTable.js index 0598af43ea..0b6be69386 100644 --- a/apps/spreadsheeteditor/main/app/view/PivotTable.js +++ b/apps/spreadsheeteditor/main/app/view/PivotTable.js @@ -71,7 +71,7 @@ define([ '' + '
' + '
' + - '
' + + '
' + '
' + '' + '
' + @@ -79,7 +79,7 @@ define([ '' + '
' + '
' + - '
' + + '
' + '
' + '' + '
' + @@ -87,7 +87,7 @@ define([ '' + '
' + '
' + - '
' + + '
' + '
' + '
'; From cc4108081432770db54041cfe1e2dcab61a01701 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 27 Apr 2021 22:27:47 +0300 Subject: [PATCH 2/2] Change paddings for huge buttons --- apps/common/main/resources/less/buttons.less | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/apps/common/main/resources/less/buttons.less b/apps/common/main/resources/less/buttons.less index de279182eb..9767334993 100644 --- a/apps/common/main/resources/less/buttons.less +++ b/apps/common/main/resources/less/buttons.less @@ -229,7 +229,7 @@ .inner-box-caption { line-height: 18px; - padding: 0 4px; + padding: 0 2px; display: flex; align-items: center; @@ -303,6 +303,14 @@ } } +.icon-top.btn-group { + &.x-huge, .x-huge { + .inner-box-caption { + padding-right: 4px; + } + } +} + .icon-top { &.x-huge { .btn&, .btn-group& .btn-toolbar {