From 48a52afb28ce5dde2a5b5ba4c5ad7f50f461cb79 Mon Sep 17 00:00:00 2001 From: JuliaSvinareva Date: Thu, 3 Nov 2022 19:45:05 +0300 Subject: [PATCH] [rtl] Fix advanced settings for SSE --- .../app/template/ChartSettingsDlg.template | 102 ++++---- .../template/ImageSettingsAdvanced.template | 4 +- .../ParagraphSettingsAdvanced.template | 26 +- .../template/PivotSettingsAdvanced.template | 2 +- .../template/ShapeSettingsAdvanced.template | 4 +- .../template/SlicerSettingsAdvanced.template | 6 +- .../resources/less/advanced-settings.less | 228 ++++++++++++++++++ 7 files changed, 300 insertions(+), 72 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/template/ChartSettingsDlg.template b/apps/spreadsheeteditor/main/app/template/ChartSettingsDlg.template index 34d49c39e..97b619b78 100644 --- a/apps/spreadsheeteditor/main/app/template/ChartSettingsDlg.template +++ b/apps/spreadsheeteditor/main/app/template/ChartSettingsDlg.template @@ -16,37 +16,37 @@ -
+
- -
+ +
-
+
-
-
-
+
+
+
-
+
-
+
-
+
@@ -66,8 +66,8 @@
- -
+ +
@@ -76,7 +76,7 @@ - +
@@ -87,7 +87,7 @@ - +
@@ -98,7 +98,7 @@ - +
@@ -125,9 +125,9 @@
-
+
-
+
@@ -146,8 +146,8 @@
- -
+ +
@@ -167,7 +167,7 @@
- + @@ -187,8 +187,8 @@
- -
+ +
@@ -197,7 +197,7 @@ - +
@@ -208,7 +208,7 @@ - +
@@ -219,7 +219,7 @@ - +
@@ -246,9 +246,9 @@
-
+
-
+
@@ -267,8 +267,8 @@
- -
+ +
@@ -288,7 +288,7 @@
- + @@ -308,8 +308,8 @@
- -
+ +
@@ -318,7 +318,7 @@ - +
@@ -353,8 +353,8 @@
- -
+ +
@@ -384,8 +384,8 @@
- -
+ +
@@ -396,8 +396,8 @@
-
- +
+ @@ -417,8 +417,8 @@
- -
+ +
@@ -427,7 +427,7 @@ - +
@@ -462,8 +462,8 @@
- -
+ +
@@ -493,8 +493,8 @@
- -
+ +
@@ -506,7 +506,7 @@
- + @@ -518,7 +518,7 @@ -
+
@@ -537,7 +537,7 @@ -
+
@@ -566,7 +566,7 @@ - +
@@ -577,7 +577,7 @@ - +
diff --git a/apps/spreadsheeteditor/main/app/template/ImageSettingsAdvanced.template b/apps/spreadsheeteditor/main/app/template/ImageSettingsAdvanced.template index 9c5fb1c05..252d13ee3 100644 --- a/apps/spreadsheeteditor/main/app/template/ImageSettingsAdvanced.template +++ b/apps/spreadsheeteditor/main/app/template/ImageSettingsAdvanced.template @@ -2,7 +2,7 @@
-
+
@@ -10,7 +10,7 @@ - @@ -71,7 +71,7 @@ - @@ -79,7 +79,7 @@ - @@ -105,11 +105,11 @@
-
+
-
+
@@ -120,8 +120,8 @@
- - + +
diff --git a/apps/spreadsheeteditor/main/app/template/PivotSettingsAdvanced.template b/apps/spreadsheeteditor/main/app/template/PivotSettingsAdvanced.template index f782fa415..53d6b2620 100644 --- a/apps/spreadsheeteditor/main/app/template/PivotSettingsAdvanced.template +++ b/apps/spreadsheeteditor/main/app/template/PivotSettingsAdvanced.template @@ -42,7 +42,7 @@ diff --git a/apps/spreadsheeteditor/main/app/template/ShapeSettingsAdvanced.template b/apps/spreadsheeteditor/main/app/template/ShapeSettingsAdvanced.template index b33dd3e97..81aca2a20 100644 --- a/apps/spreadsheeteditor/main/app/template/ShapeSettingsAdvanced.template +++ b/apps/spreadsheeteditor/main/app/template/ShapeSettingsAdvanced.template @@ -21,7 +21,7 @@
-
+
@@ -29,7 +29,7 @@
- +
diff --git a/apps/spreadsheeteditor/main/app/template/ParagraphSettingsAdvanced.template b/apps/spreadsheeteditor/main/app/template/ParagraphSettingsAdvanced.template index 397e41ebd..fb2079162 100644 --- a/apps/spreadsheeteditor/main/app/template/ParagraphSettingsAdvanced.template +++ b/apps/spreadsheeteditor/main/app/template/ParagraphSettingsAdvanced.template @@ -8,11 +8,11 @@
-
+
+ -->
-
+
+ -->
@@ -63,7 +63,7 @@
+
+
+
-
+
- +
diff --git a/apps/spreadsheeteditor/main/app/template/SlicerSettingsAdvanced.template b/apps/spreadsheeteditor/main/app/template/SlicerSettingsAdvanced.template index 93668bc1a..a2b276810 100644 --- a/apps/spreadsheeteditor/main/app/template/SlicerSettingsAdvanced.template +++ b/apps/spreadsheeteditor/main/app/template/SlicerSettingsAdvanced.template @@ -13,11 +13,11 @@
-
+
-
+
@@ -25,7 +25,7 @@
-
+
diff --git a/apps/spreadsheeteditor/main/resources/less/advanced-settings.less b/apps/spreadsheeteditor/main/resources/less/advanced-settings.less index eaa2ab0f4..b646af85a 100644 --- a/apps/spreadsheeteditor/main/resources/less/advanced-settings.less +++ b/apps/spreadsheeteditor/main/resources/less/advanced-settings.less @@ -84,4 +84,232 @@ .preview-canvas-container { border: @scaled-one-px-value-ie solid @border-regular-control-ie; border: @scaled-one-px-value solid @border-regular-control; +} + +#id-adv-shape-rotate, #id-adv-image-rotate { + #shape-advanced-spin-angle, #image-advanced-spin-angle { + margin-left: 5px; + + .rtl & { + margin-left: 0; + margin-right: 5px; + } + } + + .flipped { + margin-right: 15px; + + .rtl & { + margin-right: 0; + margin-left: 15px; + } + } +} + +#id-chart-settings-dlg-layout { + .margin-right { + margin-right: 7px; + + .rtl & { + margin-right: 0; + margin-left: 7px; + } + } + + .margin-left { + margin-left: 7px; + + .rtl & { + margin-left: 0; + margin-right: 7px; + } + } + + #chart-dlg-check-series { + margin: 20px 0 9px 7px; + + .rtl & { + margin: 20px 7px 9px 0; + } + } + + #chart-dlg-check-category { + margin: 0 0 9px 7px; + + .rtl & { + margin: 0 7px 9px 0; + } + } + + #chart-dlg-check-value { + margin: 0 0 5px 7px; + + .rtl & { + margin: 0 7px 5px 0; + } + } + + #hart-dlg-check-markers { + margin: 0 0 12px 7px; + + .rtl & { + margin: 0 7px 12px 0; + } + } +} + +#id-chart-settings-dlg-vert, +#id-chart-settings-dlg-vert-sec, +#id-chart-settings-dlg-hor-sec, +#id-spark-settings-dlg-axis { + .margin-left { + margin-left: 15px; + + .rtl & { + margin-left: 0; + margin-right: 15px; + } + } + + .padding-right { + padding-right: 10px; + + .rtl & { + padding-right: 0; + padding-left: 10px; + } + } + + .base, #chart-dlg-btn-h-format-1 { + float: right; + + .rtl & { + float: left; + } + } + + #chart-dlg-input-base-0, + #chart-dlg-input-base-1, + #chart-dlg-btn-h-format-1 { + margin-left: 5px; + + .rtl & { + margin-left: 0; + margin-right: 5px; + } + } +} + +#id-chart-settings-dlg-hor { + .margin-left { + margin-left: 15px; + + .rtl & { + margin-left: 0; + margin-right: 15px; + } + } + + #chart-dlg-input-label-int-0 { + margin-left: 3px; + + .rtl & { + margin-left: 0; + margin-right: 3px; + } + } + + #chart-dlg-btn-h-format-0 { + margin-left: 5px; + float: right; + + .rtl & { + margin-left: 0; + margin-right: 5px; + float: left; + } + } + + .axis-crosses-combo { + padding-right: 10px; + + .rtl & { + padding-right: 0; + padding-left: 10px; + } + } +} + +#id-spark-settings-dlg-style { + #spark-dlg-button-type { + margin-right: 15px; + + .rtl & { + margin-right: 0; + margin-left: 15px; + } + } + + #spark-dlg-combo-empty { + margin-right: 10px; + + .rtl & { + margin-right: 0; + margin-left: 10px; + } + } +} + +#id-adv-paragraph-indents { + .margin-right { + margin-right: 3px; + + .rtl & { + margin-right: 0; + margin-left: 3px; + } + } +} + +#id-adv-paragraph-font { + .padding-left { + padding-left: 40px; + + .rtl & { + padding-left: 0; + padding-right: 40px; + } + } +} + +#id-adv-paragraph-tabs { + .margin-right { + margin-right: 9px; + + .rtl & { + margin-right: 0; + margin-left: 9px; + } + } +} + +#id-adv-pivot-layout { + #pivot-adv-spin-wrap { + float: right; + + .rtl & { + float: left; + } + } +} + +#id-adv-slicer-style { + .margin-right { + margin-right: 5px; + + .rtl & { + margin-right: 0; + margin-left: 5px; + } + } } \ No newline at end of file