From 1167d1381445c4cd53991ae3802f0e86ea712eb8 Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Tue, 4 Jul 2017 17:24:15 +0300 Subject: [PATCH] styles: adjusted distance between buttons --- apps/common/main/resources/less/toolbar.less | 4 ++++ .../main/app/template/Toolbar.template | 20 ++++++---------- .../main/resources/less/toolbar.less | 10 +++++--- .../main/app/template/Toolbar.template | 14 ++++------- .../main/app/template/Toolbar.template | 24 +++++++++---------- .../main/resources/less/toolbar.less | 2 +- 6 files changed, 35 insertions(+), 39 deletions(-) diff --git a/apps/common/main/resources/less/toolbar.less b/apps/common/main/resources/less/toolbar.less index 8d679c6a6..f8dc9b805 100644 --- a/apps/common/main/resources/less/toolbar.less +++ b/apps/common/main/resources/less/toolbar.less @@ -225,6 +225,10 @@ width: 22px; height: 22px; } + + &.adding { + margin-right: 5px; + } } } diff --git a/apps/documenteditor/main/app/template/Toolbar.template b/apps/documenteditor/main/app/template/Toolbar.template index 01d818c01..43ac7fd15 100644 --- a/apps/documenteditor/main/app/template/Toolbar.template +++ b/apps/documenteditor/main/app/template/Toolbar.template @@ -33,11 +33,11 @@
- +
- +
@@ -59,9 +59,9 @@ - - - + + +
@@ -84,18 +84,12 @@
-
- -
- -
-
-
-
+
+
diff --git a/apps/documenteditor/main/resources/less/toolbar.less b/apps/documenteditor/main/resources/less/toolbar.less index 5f356d938..16e60bbaf 100644 --- a/apps/documenteditor/main/resources/less/toolbar.less +++ b/apps/documenteditor/main/resources/less/toolbar.less @@ -20,8 +20,12 @@ } .font-attr { - > .btn-slot:not(:last-child) { - margin-right: 8px; + > .btn-slot:not(:last-child):not(.split) { + margin-right: 6px; + } + + > .btn-slot:not(:last-child).split { + margin-right: 2px; } } } @@ -400,7 +404,7 @@ #slot-field-fontname { float: left; - width: 165px; + width: 166px; } #slot-field-fontsize { diff --git a/apps/presentationeditor/main/app/template/Toolbar.template b/apps/presentationeditor/main/app/template/Toolbar.template index 480097a00..4594d9b51 100644 --- a/apps/presentationeditor/main/app/template/Toolbar.template +++ b/apps/presentationeditor/main/app/template/Toolbar.template @@ -32,11 +32,11 @@
- +
- +
@@ -103,17 +103,11 @@
- -
-
- -
-
-
-
+
+
diff --git a/apps/spreadsheeteditor/main/app/template/Toolbar.template b/apps/spreadsheeteditor/main/app/template/Toolbar.template index 3ac6b9e23..6cfbb24e4 100644 --- a/apps/spreadsheeteditor/main/app/template/Toolbar.template +++ b/apps/spreadsheeteditor/main/app/template/Toolbar.template @@ -33,11 +33,11 @@
- +
- +
@@ -64,17 +64,17 @@
- - - - + + + +
- - - - + + + +
@@ -90,11 +90,11 @@
- +
- +
diff --git a/apps/spreadsheeteditor/main/resources/less/toolbar.less b/apps/spreadsheeteditor/main/resources/less/toolbar.less index f24c03c53..be7c34c43 100644 --- a/apps/spreadsheeteditor/main/resources/less/toolbar.less +++ b/apps/spreadsheeteditor/main/resources/less/toolbar.less @@ -21,7 +21,7 @@ .font-attr { > .btn-slot:not(:last-child):not(.split) { - margin-right: 8px; + margin-right: 6px; } > .btn-slot.split:not(:last-child) {