From 1bdf49574d1d1f7721a18c9c73251ffbfe1cefca Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Tue, 15 Oct 2024 18:43:28 +0300 Subject: [PATCH] Flex layout replacements. Switch to tailwind.css. --- ...with-labels-widget-settings.component.html | 6 +-- .../common/advanced-range.component.html | 8 ++-- ...-date-format-settings-panel.component.html | 7 ++-- .../background-settings-panel.component.html | 8 ++-- .../common/color-range-list.component.html | 20 +++++----- .../common/color-range-panel.component.html | 2 +- .../color-settings-panel.component.html | 18 ++++----- .../count-widget-settings.component.html | 16 ++++---- .../common/css-size-input.component.html | 2 +- .../common/data-key-input.component.html | 4 +- .../date-format-settings-panel.component.html | 4 +- .../common/font-settings-panel.component.html | 18 ++++----- .../settings/common/gradient.component.html | 38 +++++++++---------- .../common/image-cards-select.component.html | 6 +-- .../common/value-source.component.html | 8 ++-- .../common/widget-font.component.html | 20 +++++----- 16 files changed, 91 insertions(+), 94 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/chart/bar-chart-with-labels-widget-settings.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/chart/bar-chart-with-labels-widget-settings.component.html index bacacd2aab..1322f29f53 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/chart/bar-chart-with-labels-widget-settings.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/chart/bar-chart-with-labels-widget-settings.component.html @@ -173,7 +173,7 @@
{{ 'tooltip.value' | translate }}
-
+
@@ -188,8 +188,8 @@ {{ 'tooltip.date' | translate }} -
- +
-
+
widgets.color.from
-
-
+
widgets.color.to
-
{{ formatTimeUnitTranslations.get(unit) | translate }}
-
+
- -
{{ previewText[unit] }}
+ +
{{ previewText[unit] }}
diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/background-settings-panel.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/background-settings-panel.component.html index 9038f2a22f..bce7eec5c2 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/background-settings-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/background-settings-panel.component.html @@ -19,18 +19,18 @@
widgets.background.background-settings
-
+
widgets.background.background
- + {{ backgroundTypeTranslationsMap.get(type) | translate }}
- -
widgets.color.color
-
-
widgets.color.settings-type
- +
+
widgets.color.settings-type
+ {{ 'widgets.color.basic-mode' | translate }} @@ -29,8 +29,8 @@
-
-
{{ panelTitle }}
+
+
{{ panelTitle }}
@@ -41,16 +41,16 @@
-
+ [class.pb-2]="!isLast"> +
widgets.color.from
- +
widgets.color.to
- + @@ -84,7 +84,7 @@ (cdkDropListDropped)="rangeDrop($event, 'rangeAdvanced')">
+ [class.pb-2]="!isLast"> - + @@ -76,7 +76,7 @@
- +
widgets.widget-font.size
-
- +
+ - +
widgets.widget-font.auto
widgets.widget-font.font-family
- + @@ -51,7 +51,7 @@
widgets.widget-font.font-weight
- + @@ -63,7 +63,7 @@
widgets.widget-font.font-style
- + @@ -75,7 +75,7 @@
widgets.widget-font.line-height
- +
widgets.widget-font.auto
@@ -83,7 +83,7 @@
widgets.widget-font.preview
-
+
- + -
-
widgets.color.end-value
+
widgets.color.end-value
@@ -119,11 +118,11 @@
- widgets.color.gradient-start - widgets.color.gradient-start-min + widgets.color.gradient-start + widgets.color.gradient-start-min
- + [class.pb-2]="!isLast">
- widgets.color.gradient-color - widgets.color.gradient-color-min + widgets.color.gradient-color + widgets.color.gradient-color-min
- delete -