@@ -55,7 +57,7 @@
[color]="widgetSettings.get('iconColor').value"
formControlName="titleIcon">
-
+
@@ -102,13 +104,13 @@
-
widget-config.no-data-display-message
+
widget-config.no-data-display-message
diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json
index 55b377dcec..395d727841 100644
--- a/ui-ngx/src/assets/locale/locale.constant-en_US.json
+++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json
@@ -2782,8 +2782,14 @@
"left-side": "Left side layout"
},
"legend": {
- "direction": "Legend direction",
- "position": "Legend position",
+ "direction": "Direction",
+ "position": "Position",
+ "show-values": "Show values",
+ "min-option": "Min",
+ "max-option": "Max",
+ "average-option": "Average",
+ "total-option": "Total",
+ "latest-option": "Latest",
"sort-legend": "Sort datakeys in legend",
"show-max": "Show max value",
"show-min": "Show min value",
@@ -4250,7 +4256,10 @@
"text": "Text",
"background": "Background",
"advanced-widget-style": "Advanced widget style",
- "card-buttons": "Card buttons"
+ "card-buttons": "Card buttons",
+ "show-card-buttons": "Show card buttons",
+ "card-appearance": "Card appearance",
+ "color": "Color"
},
"widget-type": {
"import": "Import widget type",
@@ -4273,10 +4282,12 @@
"bar-alignment-left": "Left",
"bar-alignment-right": "Right",
"bar-alignment-center": "Center",
+ "default-font": "Default font",
"default-font-size": "Default font size",
"default-font-color": "Default font color",
"thresholds-line-width": "Default line width for all thresholds",
"tooltip-settings": "Tooltip settings",
+ "tooltip": "Tooltip",
"show-tooltip": "Show tooltip",
"hover-individual-points": "Hover individual points",
"show-cumulative-values": "Show cumulative values in stacking mode",
@@ -4351,7 +4362,7 @@
"axis-position-right": "Right",
"thresholds": "Thresholds",
"no-thresholds": "No thresholds configured",
- "add-threshold": "Add new threshold",
+ "add-threshold": "Add threshold",
"show-values-for-comparison": "Show historical values for comparison",
"comparison-values-label": "Historical values label",
"threshold-settings": "Threshold settings",
@@ -4372,7 +4383,23 @@
"border-color": "Border color",
"legend-settings": "Legend settings",
"display-legend": "Display legend",
- "labels-font-color": "Labels font color"
+ "labels-font-color": "Labels font color",
+ "series": "Series",
+ "add-series": "Add series",
+ "series-settings": "Series settings",
+ "remove-series": "Remove series",
+ "no-series": "No series configured",
+ "no-series-error": "At least one series should be specified",
+ "chart-appearance": "Chart appearance",
+ "vertical-grid-lines": "Vertical grid lines",
+ "horizontal-grid-lines": "Horizontal grid lines",
+ "chart-background": "Chart background",
+ "grid-lines-color": "Grid lines color",
+ "border": "Border",
+ "axis": "Axis",
+ "vertical-axis": "Vertical axis",
+ "ticks": "Ticks",
+ "horizontal-axis": "Horizontal axis"
},
"dashboard-state": {
"dashboard-state-settings": "Dashboard state settings",
@@ -5239,7 +5266,6 @@
"remove-column": "Remove column",
"add-column": "Add column",
"no-columns": "No columns configured",
- "show-card-buttons": "Show card buttons",
"columns-to-display": "Columns to display",
"table-header": "Table header",
"header-buttons": "Header buttons",
diff --git a/ui-ngx/src/styles.scss b/ui-ngx/src/styles.scss
index f4d4192122..bcedae7a1d 100644
--- a/ui-ngx/src/styles.scss
+++ b/ui-ngx/src/styles.scss
@@ -1212,11 +1212,11 @@ mat-label {
&.tb-slide-toggle {
padding: 0;
gap: 0;
- .tb-widget-config-panel-title {
+ > .tb-widget-config-panel-title {
padding-top: 16px;
padding-left: 16px;
}
- .mat-expansion-panel {
+ > .mat-expansion-panel {
padding: 16px;
.mat-expansion-panel-header {
height: 32px;
@@ -1232,7 +1232,7 @@ mat-label {
.mat-content {
overflow: visible;
}
- .mat-expansion-panel-header {
+ > .mat-expansion-panel-header {
font-weight: 500;
font-size: 16px;
line-height: 24px;
@@ -1255,12 +1255,15 @@ mat-label {
padding: 2px;
}
}
- .mat-expansion-panel-header-description {
+ > .mat-expansion-panel-header-description {
align-items: center;
}
> .mat-expansion-panel-content {
> .mat-expansion-panel-body {
- padding: 0;
+ display: flex;
+ flex-direction: column;
+ gap: 16px;
+ padding: 16px 0 0 !important;
}
}
.tb-json-object-panel, .tb-css-content-panel {
@@ -1272,9 +1275,9 @@ mat-label {
}
}
.mat-slide {
- margin: 8px 0;
- &.no-margin {
- margin: 0;
+ margin: 0;
+ &.margin {
+ margin: 8px 0;
}
.mdc-form-field>label {
font-weight: 400;
@@ -1313,7 +1316,13 @@ mat-label {
height: 56px;
}
.mat-mdc-form-field {
- width: 80px;
+ width: 106px;
+ &.medium-width {
+ width: 220px;
+ }
+ }
+ .fixed-title-width {
+ min-width: 200px;
}
}
@@ -1341,9 +1350,9 @@ mat-label {
}
}
.mat-mdc-form-field-infix {
- padding-top: 7px;
- padding-bottom: 7px;
- min-height: 38px;
+ padding-top: 8px;
+ padding-bottom: 8px;
+ min-height: 40px;
width: auto;
.mdc-text-field__input, .mat-mdc-select {
font-weight: 400;
@@ -1373,6 +1382,14 @@ mat-label {
}
}
}
+ .mat-mdc-form-field-flex {
+ .mat-mdc-form-field-icon-suffix {
+ font-size: 14px;
+ line-height: 20px;
+ letter-spacing: 0.2px;
+ color: rgba(0, 0, 0, 0.38);
+ }
+ }
}
}