@tiba-spark/client-shared-lib 26.3.0-621 → 26.3.0-624

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/esm2022/libraries/components/cloud-confirm-dialog/cloud-confirm-dialog.component.mjs +3 -3
  2. package/esm2022/libraries/components/common-pages/error-page/error-page.component.mjs +7 -32
  3. package/esm2022/libraries/components/field-label/field-label.component.mjs +6 -39
  4. package/esm2022/libraries/components/field-validations/field-validations.component.mjs +5 -6
  5. package/esm2022/libraries/components/guest-open-ticket-dialog/guest-open-ticket-dialog.component.mjs +2 -2
  6. package/esm2022/libraries/components/intercom/intercom.component.mjs +2 -2
  7. package/esm2022/libraries/components/logo/logo.component.mjs +3 -3
  8. package/esm2022/libraries/components/message-bar/float-message-bar.service.mjs +6 -30
  9. package/esm2022/libraries/components/modal-buttons-wrapper/modal-buttons-wrapper.component.mjs +4 -9
  10. package/esm2022/libraries/components/notification/alert-notification/alert-notification.component.mjs +3 -3
  11. package/esm2022/libraries/components/notification/command-notification/command-notification.component.mjs +3 -3
  12. package/esm2022/libraries/components/notification/notification-type-label/notification-type-label.component.mjs +2 -2
  13. package/esm2022/libraries/components/notification/notification.service.mjs +3 -6
  14. package/esm2022/libraries/components/overlay-loading-container/empty-results/empty-results.component.mjs +3 -3
  15. package/esm2022/libraries/components/overlay-loading-container/error-results/error-results.component.mjs +2 -2
  16. package/esm2022/libraries/components/restart-link/restart-link.component.mjs +2 -2
  17. package/esm2022/libraries/directives/index.mjs +1 -4
  18. package/esm2022/libraries/directives/shared-directives.module.mjs +1 -16
  19. package/esm2022/libraries/enums/icon.enum.mjs +3 -1
  20. package/esm2022/libraries/enums/localization.enum.mjs +1 -38
  21. package/esm2022/libraries/enums/message-bar-duration.enum.mjs +2 -4
  22. package/esm2022/libraries/interfaces/table-column.interface.mjs +1 -1
  23. package/esm2022/libraries/modules/layout/layout.state.mjs +2 -2
  24. package/esm2022/libraries/resolvers/tech-tools-module.resolver.mjs +7 -7
  25. package/esm2022/libraries/services/can-deactivate.service.mjs +3 -4
  26. package/esm2022/libraries/services/modal.service.mjs +1 -14
  27. package/fesm2022/tiba-spark-client-shared-lib.mjs +55 -405
  28. package/fesm2022/tiba-spark-client-shared-lib.mjs.map +1 -1
  29. package/libraries/components/common-pages/error-page/error-page.component.d.ts +2 -10
  30. package/libraries/components/common-pages/error-page/error-page.component.d.ts.map +1 -1
  31. package/libraries/components/field-label/field-label.component.d.ts +3 -8
  32. package/libraries/components/field-label/field-label.component.d.ts.map +1 -1
  33. package/libraries/components/field-validations/field-validations.component.d.ts +4 -0
  34. package/libraries/components/field-validations/field-validations.component.d.ts.map +1 -1
  35. package/libraries/components/message-bar/float-message-bar.service.d.ts +0 -2
  36. package/libraries/components/message-bar/float-message-bar.service.d.ts.map +1 -1
  37. package/libraries/components/modal-buttons-wrapper/modal-buttons-wrapper.component.d.ts.map +1 -1
  38. package/libraries/components/notification/alert-notification/alert-notification.component.d.ts.map +1 -1
  39. package/libraries/components/notification/command-notification/command-notification.component.d.ts.map +1 -1
  40. package/libraries/components/notification/notification.service.d.ts.map +1 -1
  41. package/libraries/directives/index.d.ts +0 -3
  42. package/libraries/directives/index.d.ts.map +1 -1
  43. package/libraries/directives/shared-directives.module.d.ts +4 -7
  44. package/libraries/directives/shared-directives.module.d.ts.map +1 -1
  45. package/libraries/enums/icon.enum.d.ts +4 -2
  46. package/libraries/enums/icon.enum.d.ts.map +1 -1
  47. package/libraries/enums/localization.enum.d.ts +0 -37
  48. package/libraries/enums/localization.enum.d.ts.map +1 -1
  49. package/libraries/enums/message-bar-duration.enum.d.ts +1 -3
  50. package/libraries/enums/message-bar-duration.enum.d.ts.map +1 -1
  51. package/libraries/interfaces/table-column.interface.d.ts +0 -1
  52. package/libraries/interfaces/table-column.interface.d.ts.map +1 -1
  53. package/libraries/resolvers/tech-tools-module.resolver.d.ts.map +1 -1
  54. package/libraries/services/can-deactivate.service.d.ts.map +1 -1
  55. package/libraries/services/modal.service.d.ts +0 -1
  56. package/libraries/services/modal.service.d.ts.map +1 -1
  57. package/package.json +1 -1
  58. package/src/libraries/theme/_calendar.scss +1 -2
  59. package/src/libraries/theme/_card.scss +5 -6
  60. package/src/libraries/theme/_forms.scss +1 -1
  61. package/src/libraries/theme/_mixins.scss +1 -0
  62. package/src/libraries/theme/_modals.scss +2 -3
  63. package/src/libraries/theme/_ngx.scss +1 -0
  64. package/src/libraries/theme/_tables.scss +2 -3
  65. package/src/libraries/theme/_tabs.scss +4 -6
  66. package/src/libraries/theme/_utils.scss +4 -123
  67. package/src/libraries/theme/_variables.scss +8 -35
  68. package/src/libraries/theme/assets/icons/tech-tools-module-404.svg +11 -0
  69. package/src/libraries/theme/components/_carousel.scss +2 -2
  70. package/src/libraries/theme/components/_tb-search.scss +4 -10
  71. package/src/libraries/theme/mat-components/_mat-date-picker.scss +0 -4
  72. package/src/libraries/theme/mat-components/_mat-input.scss +0 -5
  73. package/src/libraries/theme/mat-components/_mat-menu.scss +14 -40
  74. package/src/libraries/theme/mat-components/_mat-select.scss +1 -23
  75. package/src/libraries/theme/mat-components/_mat-selection-list.scss +3 -2
  76. package/src/libraries/theme/mat-components/_mat-step.scss +0 -19
  77. package/src/libraries/theme/theme.scss +0 -119
  78. package/esm2022/libraries/directives/clear-all-button.directive.mjs +0 -49
  79. package/esm2022/libraries/directives/disabled.directive.mjs +0 -121
  80. package/esm2022/libraries/directives/icon-button.directive.mjs +0 -36
  81. package/libraries/directives/clear-all-button.directive.d.ts +0 -19
  82. package/libraries/directives/clear-all-button.directive.d.ts.map +0 -1
  83. package/libraries/directives/disabled.directive.d.ts +0 -30
  84. package/libraries/directives/disabled.directive.d.ts.map +0 -1
  85. package/libraries/directives/icon-button.directive.d.ts +0 -14
  86. package/libraries/directives/icon-button.directive.d.ts.map +0 -1
@@ -170,7 +170,7 @@
170
170
  }
171
171
 
172
172
  // Mobile width
173
- @media only screen and (max-width: 640px) {
173
+ @media only screen and (max-width: 600px) {
174
174
  .cdk-global-overlay-wrapper {
175
175
  justify-content: unset !important;
176
176
  margin: 0 10px;
@@ -187,7 +187,7 @@
187
187
  }
188
188
 
189
189
  mat-dialog-container.mat-mdc-dialog-container {
190
- min-width: min(355px, 100%) !important; // narrowest modal possible in mobile, never wider than the screen
190
+ min-width: 355px !important; // narrowest modal possible in mobile
191
191
  margin: auto;
192
192
  }
193
193
  }
@@ -203,8 +203,7 @@
203
203
  }
204
204
 
205
205
  .tb-primary-router-width {
206
- // Never wider than the viewport, so the page reflows at 320 px (WCAG 1.4.10).
207
- min-width: min(variables.$primary-router-min-width, 100%);
206
+ min-width: variables.$primary-router-min-width;
208
207
  }
209
208
 
210
209
  .tb-sidebar {
@@ -219,94 +218,6 @@
219
218
  }
220
219
  }
221
220
 
222
- // Narrow layout / high zoom: the side panel goes under the page instead of beside it (WCAG 1.4.10).
223
- @media only screen and (max-width: variables.$reflow-max-width) {
224
- .tb-flex:has(> .tb-sidebar),
225
- .tb-flex-row:has(> .tb-sidebar) {
226
- flex-direction: column;
227
- flex-wrap: nowrap;
228
- }
229
-
230
- .tb-sidebar {
231
- width: 100%;
232
-
233
- tb-parker,
234
- tb-parker-search,
235
- tb-parker-search-results,
236
- tb-global-counters {
237
- width: 100%;
238
- margin-left: 0;
239
- }
240
- }
241
-
242
- // Filter bars: the groups inside a wrapping row wrap too, instead of one group widening the page,
243
- // with 10px between wrapped lines unless the controls bring their own bottom spacing.
244
- .tb-flex-wrap > .tb-flex {
245
- flex-wrap: wrap;
246
-
247
- &:not([class*='tb-mb-']):not(:has(> [class*='tb-pb-'], > [class*='tb-mb-'])),
248
- &.tb-h-30 {
249
- row-gap: 10px;
250
- }
251
-
252
- &.tb-h-30 {
253
- height: auto;
254
- }
255
- }
256
-
257
- // Section headers (title left, buttons right) wrap their buttons under the title.
258
- .tb-flex-center.tb-space-between {
259
- flex-wrap: wrap;
260
- row-gap: 10px;
261
-
262
- > .tb-flex {
263
- flex-wrap: wrap;
264
- row-gap: 10px;
265
- }
266
- }
267
-
268
- // The min-width utilities are !important; the wide ones still give way to a narrow window.
269
- @each $i in 280, 290, 315, 320, 460, 470 {
270
- .tb-min-w-#{$i}.tb-min-w-#{$i} {
271
- min-width: min(#{$i}px, 100%) !important;
272
- }
273
- }
274
-
275
- // Fixed-width fields and fill areas give way to the window instead of widening the page.
276
- main.tb-content [class*='tb-w-'] {
277
- max-width: 100%;
278
- }
279
-
280
- main.tb-content .tb-flex > .tb-flex-grow {
281
- min-width: 0;
282
- }
283
-
284
- // Radio options with long hints wrap instead of sizing the group to one line.
285
- mat-radio-group.tb-elem-radio {
286
- max-width: 100%;
287
- flex-wrap: wrap;
288
-
289
- > * {
290
- min-width: 0;
291
- max-width: 100%;
292
- }
293
- }
294
-
295
- // Collapsible filter bars (tbCollapsibleFilters): only the search and the toggle show until it opens.
296
- .toggle-filters-button.tb-filters-toggle {
297
- display: block;
298
- }
299
-
300
- .tb-filters-collapsed .tb-collapsible-filter {
301
- display: none !important;
302
- }
303
-
304
- // Short zoomed windows: pages scroll instead of squeezing tables; a basis keeps the fit-content minimum.
305
- main.tb-content > router-outlet + * {
306
- flex: 1 0 480px;
307
- }
308
- }
309
-
310
221
  .side-text .tb-field-label {
311
222
  padding-left: 0;
312
223
  }
@@ -937,10 +848,6 @@ a.clickable-link {
937
848
  overflow: auto;
938
849
  }
939
850
 
940
- .tb-filters-toggle {
941
- display: none;
942
- }
943
-
944
851
  .toggle-filters-button tb-icon {
945
852
  outline: 1px solid variables.$border-color;
946
853
  outline-offset: -1px;
@@ -950,11 +857,6 @@ a.clickable-link {
950
857
  &.active {
951
858
  background-color: variables.$button-active-background;
952
859
  }
953
-
954
- // The grey border is an outline, so focus recolours it instead of drawing a second ring.
955
- &:focus-visible {
956
- outline-color: variables.$focus-ring-color;
957
- }
958
860
  }
959
861
 
960
862
  .active-button-text {
@@ -1034,9 +936,6 @@ a.clickable-link {
1034
936
 
1035
937
  .print-container {
1036
938
  position: absolute;
1037
- // The hidden frame must not widen the page at 320 px (WCAG 1.4.10).
1038
- left: 0;
1039
- max-width: 100%;
1040
939
  z-index: -1;
1041
940
  overflow: auto;
1042
941
  height: 0px;
@@ -1074,8 +973,7 @@ a.clickable-link {
1074
973
  }
1075
974
 
1076
975
  .tb-rate-tables-container {
1077
- // The table scrolls inside its own box when narrower; headings and buttons stay in view (WCAG 1.4.10).
1078
- min-width: min(1268px, 100% - 10px);
976
+ min-width: 1268px;
1079
977
  padding-right: 10px;
1080
978
  }
1081
979
 
@@ -1125,20 +1023,3 @@ a.clickable-link {
1125
1023
  height: calc(550px * (450 / 930)) !important; // ≈ 290px
1126
1024
  aspect-ratio: unset !important;
1127
1025
  }
1128
-
1129
- // Narrow layout / high zoom: the rate image previews shrink to the window, keeping their shape (WCAG 1.4.10).
1130
- @media only screen and (max-width: variables.$reflow-max-width) {
1131
- .tb-upload-rate-on-display-image-vertical,
1132
- .tb-upload-rate-on-display-image-horizontal {
1133
- max-width: 100%;
1134
- height: auto !important;
1135
- }
1136
-
1137
- .tb-upload-rate-on-display-image-vertical {
1138
- aspect-ratio: 510 / 750 !important;
1139
- }
1140
-
1141
- .tb-upload-rate-on-display-image-horizontal {
1142
- aspect-ratio: 930 / 450 !important;
1143
- }
1144
- }
@@ -14,8 +14,8 @@ $scrollbar-background-color: #0000004d;
14
14
  $big-shadow-color: #00000014;
15
15
  $title-color: #2c3e50;
16
16
  $text-color: #2c3e50;
17
- $secondary-text-color: #5f6b78;
18
- $error-color: #e2003b;
17
+ $secondary-text-color: #919eab;
18
+ $error-color: #ff0e4d;
19
19
  $error-light-color: #ffdbe4;
20
20
  $error-background-color: #ffdbe4;
21
21
  $success-background-color: #def9e1;
@@ -29,11 +29,11 @@ $inactive-color: #ecedf0;
29
29
  $white-color: #ffffff;
30
30
  $black-color: #000000;
31
31
  $grey-color: #9a9a9a;
32
- $form-field-border: #8a939c;
33
- $form-field-border-hover: #5f6b78;
34
- $form-field-title: #5f6b78;
35
- $form-field-placeholder: #6b7785;
36
- $primary-color: #0670c7;
32
+ $form-field-border: #dee2e6;
33
+ $form-field-border-hover: #919eab;
34
+ $form-field-title: #919eab;
35
+ $form-field-placeholder: #bdc3c7;
36
+ $primary-color: #0985eb;
37
37
  $blue-hover-backgroung-color: #0079dc;
38
38
  $secondary-color: #ffffff;
39
39
  $secondary-color-hover: #0985eb10;
@@ -70,35 +70,10 @@ $summary-background-color: #daedfc;
70
70
  $drop-down-menu-background-color: #f9f9f9;
71
71
  $modules-background-color: #f9f9f9;
72
72
  $sidenav-input-search-color: #3c4957;
73
- $sidenav-input-text-color: #d8dbe0;
74
- $sidenav-input-placeholder-color: #bdc3c7; // the light-theme placeholder is unreadable on the dark side menu
75
73
  $sidenav-child-background-color: #ffffff0d;
76
74
  $ngx-slider-background-color: #035aa1;
77
75
  $light-error-color: #ff0e4d40;
78
76
  $focus-border-color: #0985eb;
79
- $focus-ring-color: #0670c7;
80
- $focus-ring-color-on-dark: #ffffff;
81
-
82
- // Focused dropdown option: blue bar plus a 1px ring.
83
- $option-focus-shadow: inset 2px 0 0 $focus-ring-color, inset 0 0 0 1px $focus-ring-color;
84
- // Selected option of a single-choice list: light tint plus a 3px blue bar.
85
- $option-selected-shadow: inset 3px 0 0 $focus-ring-color;
86
- // Focused selected option: the bar plus a 1px ring.
87
- $option-selected-focus-shadow: inset 3px 0 0 $focus-ring-color, inset 0 0 0 1px $focus-ring-color;
88
-
89
- // The bar, not the tint (about 1.2:1 on white), marks the selection (WCAG 1.4.1, 1.4.11).
90
- @mixin single-choice-selected {
91
- background: $active-background;
92
- color: $text-color;
93
- --mdc-list-list-item-label-text-color: #{$text-color};
94
- --mdc-list-list-item-hover-label-text-color: #{$text-color};
95
- --mdc-list-list-item-focus-label-text-color: #{$text-color};
96
- box-shadow: $option-selected-shadow;
97
-
98
- &:focus-visible {
99
- box-shadow: $option-selected-focus-shadow;
100
- }
101
- }
102
77
  $ngx-slider-full-bar-background: #dee2e6;
103
78
  $ngx-slider-selection-background: #0985eb80;
104
79
  $ngx-slider-pointer-color: #0985eb;
@@ -144,8 +119,6 @@ $primary-router-min-width: 335px; // Changed to support mobile compatability
144
119
 
145
120
  $sidebar-container-width: 528px;
146
121
  $sidebar-width: 518px;
147
- // Narrow layout (side panels stack, filters wrap): 400% zoom, and wide screens zoomed to 200-300% (WCAG 1.4.10).
148
- $reflow-max-width: 999px;
149
122
  $sidebar-margin-left: 10px;
150
123
  $sidenav-width: 240px;
151
124
 
@@ -193,7 +166,7 @@ $progress-bar-yellow: #ffd362;
193
166
 
194
167
  // special-days
195
168
  $special-day-1: #e488ff;
196
- $special-day-2: #94a6fe;
169
+ $special-day-2: #8da0fe;
197
170
  $special-day-3: #ffd362;
198
171
  $special-day-4: #09c4eb;
199
172
  $special-day-5: #0eff77;
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg xmlns="http://www.w3.org/2000/svg"
3
+ width="51"
4
+ height="51"
5
+ viewBox="-4 -1 51 51"
6
+ role="img"
7
+ aria-label="Icon">
8
+ <g fill="#FFFFFF">
9
+ <path fill="#0985EB" d="M 19.00 13.75 L 19.00 14.25 L 19.06 14.62 L 19.19 14.88 L 19.38 15.00 L 19.62 15.00 L 19.88 15.06 L 20.12 15.19 L 20.38 15.38 L 20.62 15.62 L 20.94 15.81 L 21.31 15.94 L 21.75 16.00 L 22.25 16.00 L 22.69 16.06 L 23.06 16.19 L 23.38 16.38 L 23.62 16.62 L 23.88 16.81 L 24.12 16.94 L 24.38 17.00 L 24.62 17.00 L 24.94 17.12 L 25.31 17.38 L 25.75 17.75 L 26.25 18.25 L 26.62 18.69 L 26.88 19.06 L 27.00 19.38 L 27.00 19.62 L 27.06 19.88 L 27.19 20.12 L 27.38 20.38 L 27.62 20.62 L 27.81 21.00 L 27.94 21.50 L 28.00 22.12 L 28.00 22.88 L 28.06 23.50 L 28.19 24.00 L 28.38 24.38 L 28.62 24.62 L 28.88 24.81 L 29.12 24.94 L 29.38 25.00 L 29.62 25.00 L 29.88 24.94 L 30.12 24.81 L 30.38 24.62 L 30.62 24.38 L 30.81 24.00 L 30.94 23.50 L 31.00 22.88 L 31.00 22.12 L 30.94 21.50 L 30.81 21.00 L 30.62 20.62 L 30.38 20.38 L 30.12 20.00 L 29.88 19.50 L 29.62 18.88 L 29.38 18.12 L 29.00 17.38 L 28.50 16.62 L 27.88 15.88 L 27.12 15.12 L 26.50 14.56 L 26.00 14.19 L 25.62 14.00 L 25.38 14.00 L 25.12 13.94 L 24.88 13.81 L 24.62 13.62 L 24.38 13.38 L 23.88 13.19 L 23.12 13.06 L 22.12 13.00 L 20.88 13.00 L 19.94 13.12 L 19.31 13.38 Z"/><path d="M 10.75 8.50 L 9.25 9.50 L 8.12 10.31 L 7.38 10.94 L 7.00 11.38 L 7.00 11.62 L 6.88 11.94 L 6.62 12.31 L 6.25 12.75 L 5.75 13.25 L 5.38 13.69 L 5.12 14.06 L 5.00 14.38 L 5.00 14.62 L 4.88 15.00 L 4.62 15.50 L 4.25 16.12 L 3.75 16.88 L 3.38 17.62 L 3.12 18.38 L 3.00 19.12 L 3.00 19.88 L 2.94 20.50 L 2.81 21.00 L 2.62 21.38 L 2.38 21.62 L 2.19 22.00 L 2.06 22.50 L 2.00 23.12 L 2.00 23.88 L 2.06 24.50 L 2.19 25.00 L 2.38 25.38 L 2.62 25.62 L 2.81 26.00 L 2.94 26.50 L 3.00 27.12 L 3.00 27.88 L 3.06 28.50 L 3.19 29.00 L 3.38 29.38 L 3.62 29.62 L 3.81 29.94 L 3.94 30.31 L 4.00 30.75 L 4.00 31.25 L 4.25 31.94 L 4.75 32.81 L 5.50 33.88 L 6.50 35.12 L 7.31 36.06 L 7.94 36.69 L 8.38 37.00 L 8.62 37.00 L 8.94 37.12 L 9.31 37.38 L 9.75 37.75 L 10.25 38.25 L 10.69 38.62 L 11.06 38.88 L 11.38 39.00 L 11.62 39.00 L 11.88 39.06 L 12.12 39.19 L 12.38 39.38 L 12.62 39.62 L 12.94 39.81 L 13.31 39.94 L 13.75 40.00 L 14.25 40.00 L 14.69 40.06 L 15.06 40.19 L 15.38 40.38 L 15.62 40.62 L 16.31 40.81 L 17.44 40.94 L 19.00 41.00 L 21.00 41.00 L 22.56 40.94 L 23.69 40.81 L 24.38 40.62 L 24.62 40.38 L 24.94 40.19 L 25.31 40.06 L 25.75 40.00 L 26.25 40.00 L 26.69 39.94 L 27.06 39.81 L 27.38 39.62 L 27.62 39.38 L 27.88 39.19 L 28.12 39.06 L 28.38 39.00 L 28.62 39.00 L 28.94 38.88 L 29.31 38.62 L 29.75 38.25 L 30.25 37.75 L 30.69 37.38 L 31.06 37.12 L 31.38 37.00 L 31.62 37.00 L 31.94 36.88 L 32.31 36.62 L 32.75 36.25 L 33.25 35.75 L 33.62 35.31 L 33.88 34.94 L 34.00 34.62 L 34.00 34.38 L 34.12 34.06 L 34.38 33.69 L 34.75 33.25 L 35.25 32.75 L 35.62 32.25 L 35.88 31.75 L 36.00 31.25 L 36.00 30.75 L 35.94 30.31 L 35.81 29.94 L 35.62 29.62 L 35.38 29.38 L 35.12 29.19 L 34.88 29.06 L 34.62 29.00 L 34.38 29.00 L 34.12 29.06 L 33.88 29.19 L 33.62 29.38 L 33.38 29.62 L 33.19 29.88 L 33.06 30.12 L 33.00 30.38 L 33.00 30.62 L 32.69 31.12 L 32.06 31.88 L 31.12 32.88 L 29.88 34.12 L 28.88 35.06 L 28.12 35.69 L 27.62 36.00 L 27.38 36.00 L 27.00 36.12 L 26.50 36.38 L 25.88 36.75 L 25.12 37.25 L 24.06 37.62 L 22.69 37.88 L 21.00 38.00 L 19.00 38.00 L 17.44 37.94 L 16.31 37.81 L 15.62 37.62 L 15.38 37.38 L 15.12 37.19 L 14.88 37.06 L 14.62 37.00 L 14.38 37.00 L 14.06 36.88 L 13.69 36.62 L 13.25 36.25 L 12.75 35.75 L 12.69 35.06 L 13.06 34.19 L 13.88 33.12 L 15.12 31.88 L 16.38 30.94 L 17.62 30.31 L 18.88 30.00 L 20.12 30.00 L 21.19 29.88 L 22.06 29.62 L 22.75 29.25 L 23.25 28.75 L 23.62 28.31 L 23.88 27.94 L 24.00 27.62 L 24.00 27.38 L 24.06 27.12 L 24.19 26.88 L 24.38 26.62 L 24.62 26.38 L 24.81 26.06 L 24.94 25.69 L 25.00 25.25 L 25.00 24.75 L 24.94 24.38 L 24.81 24.12 L 24.62 24.00 L 24.38 24.00 L 24.00 24.19 L 23.50 24.56 L 22.88 25.12 L 22.12 25.88 L 21.50 26.44 L 21.00 26.81 L 20.62 27.00 L 20.38 27.00 L 20.00 26.81 L 19.50 26.44 L 18.88 25.88 L 18.12 25.12 L 17.56 24.44 L 17.19 23.81 L 17.00 23.25 L 17.00 22.75 L 17.19 22.19 L 17.56 21.56 L 18.12 20.88 L 18.88 20.12 L 19.25 19.56 L 19.25 19.19 L 18.88 19.00 L 18.12 19.00 L 17.50 19.06 L 17.00 19.19 L 16.62 19.38 L 16.38 19.62 L 16.12 19.81 L 15.88 19.94 L 15.62 20.00 L 15.38 20.00 L 15.19 20.06 L 15.06 20.19 L 15.00 20.38 L 15.00 20.62 L 14.88 21.00 L 14.62 21.50 L 14.25 22.12 L 13.75 22.88 L 13.38 23.50 L 13.12 24.00 L 13.00 24.38 L 13.00 24.62 L 13.06 24.88 L 13.19 25.12 L 13.38 25.38 L 13.62 25.62 L 13.44 26.19 L 12.81 27.06 L 11.75 28.25 L 10.25 29.75 L 9.00 30.69 L 8.00 31.06 L 7.25 30.88 L 6.75 30.12 L 6.38 29.44 L 6.12 28.81 L 6.00 28.25 L 6.00 27.75 L 5.94 27.31 L 5.81 26.94 L 5.62 26.62 L 5.38 26.38 L 5.19 25.88 L 5.06 25.12 L 5.00 24.12 L 5.00 22.88 L 5.06 21.88 L 5.19 21.12 L 5.38 20.62 L 5.62 20.38 L 5.81 20.06 L 5.94 19.69 L 6.00 19.25 L 6.00 18.75 L 6.06 18.31 L 6.19 17.94 L 6.38 17.62 L 6.62 17.38 L 6.81 17.12 L 6.94 16.88 L 7.00 16.62 L 7.00 16.38 L 7.31 15.88 L 7.94 15.12 L 8.88 14.12 L 10.12 12.88 L 11.12 11.94 L 11.88 11.31 L 12.38 11.00 L 12.62 11.00 L 12.94 10.88 L 13.31 10.62 L 13.75 10.25 L 14.25 9.75 L 14.62 9.31 L 14.88 8.94 L 15.00 8.62 L 15.00 8.38 L 14.94 8.12 L 14.81 7.88 L 14.62 7.62 L 14.38 7.38 L 14.12 7.19 L 13.88 7.06 L 13.62 7.00 L 13.38 7.00 L 12.81 7.25 L 11.94 7.75 Z"/><path d="M 19.00 6.75 L 19.00 7.25 L 19.06 7.69 L 19.19 8.06 L 19.38 8.38 L 19.62 8.62 L 20.06 8.81 L 20.69 8.94 L 21.50 9.00 L 22.50 9.00 L 23.31 9.06 L 23.94 9.19 L 24.38 9.38 L 24.62 9.62 L 25.00 9.88 L 25.50 10.12 L 26.12 10.38 L 26.88 10.62 L 27.75 11.12 L 28.75 11.88 L 29.88 12.88 L 31.12 14.12 L 32.06 15.12 L 32.69 15.88 L 33.00 16.38 L 33.00 16.62 L 33.06 16.88 L 33.19 17.12 L 33.38 17.38 L 33.62 17.62 L 33.81 17.94 L 33.94 18.31 L 34.00 18.75 L 34.00 19.25 L 34.06 19.69 L 34.19 20.06 L 34.38 20.38 L 34.62 20.62 L 34.81 21.00 L 34.94 21.50 L 35.00 22.12 L 35.00 22.88 L 35.06 23.50 L 35.19 24.00 L 35.38 24.38 L 35.62 24.62 L 35.88 24.81 L 36.12 24.94 L 36.38 25.00 L 36.62 25.00 L 36.88 24.94 L 37.12 24.81 L 37.38 24.62 L 37.62 24.38 L 37.81 24.06 L 37.94 23.69 L 38.00 23.25 L 38.00 22.75 L 37.94 22.31 L 37.81 21.94 L 37.62 21.62 L 37.38 21.38 L 37.19 21.00 L 37.06 20.50 L 37.00 19.88 L 37.00 19.12 L 36.94 18.50 L 36.81 18.00 L 36.62 17.62 L 36.38 17.38 L 36.19 17.06 L 36.06 16.69 L 36.00 16.25 L 36.00 15.75 L 35.88 15.25 L 35.62 14.75 L 35.25 14.25 L 34.75 13.75 L 34.38 13.31 L 34.12 12.94 L 34.00 12.62 L 34.00 12.38 L 33.88 12.06 L 33.62 11.69 L 33.25 11.25 L 32.75 10.75 L 32.31 10.38 L 31.94 10.12 L 31.62 10.00 L 31.38 10.00 L 31.06 9.88 L 30.69 9.62 L 30.25 9.25 L 29.75 8.75 L 29.31 8.38 L 28.94 8.12 L 28.62 8.00 L 28.38 8.00 L 28.12 7.94 L 27.88 7.81 L 27.62 7.62 L 27.38 7.38 L 27.06 7.19 L 26.69 7.06 L 26.25 7.00 L 25.75 7.00 L 25.31 6.94 L 24.94 6.81 L 24.62 6.62 L 24.38 6.38 L 23.88 6.19 L 23.12 6.06 L 22.12 6.00 L 20.88 6.00 L 19.94 6.12 L 19.31 6.38 Z"/>
10
+ </g>
11
+ </svg>
@@ -2,7 +2,7 @@
2
2
  @use 'variables';
3
3
 
4
4
  owl-carousel-o.full, owl-carousel-o.thumbnail, owl-carousel-o.section, owl-carousel-o.modal {
5
- min-width: min(380px, 100%);
5
+ min-width: 380px;
6
6
 
7
7
  .owl-carousel {
8
8
  padding: 10px 0;
@@ -164,7 +164,7 @@ tb-update-plate-id-dialog owl-carousel-o.full {
164
164
  }
165
165
  }
166
166
 
167
- @media (max-width: 640px) {
167
+ @media (max-width: 600px) {
168
168
  owl-carousel-o.section .owl-carousel {
169
169
  height: 70vw;
170
170
  }
@@ -18,12 +18,6 @@ tb-search {
18
18
  &:hover {
19
19
  opacity: .9;
20
20
  }
21
-
22
- // A blue ring is invisible on the blue button; draw it white, inside.
23
- &:focus-visible {
24
- outline-color: variables.$focus-ring-color-on-dark;
25
- outline-offset: -3px;
26
- }
27
21
  }
28
22
  }
29
23
  }
@@ -56,18 +50,18 @@ tb-search.tb-sidenav-search {
56
50
  background-color: variables.$sidenav-input-search-color;
57
51
 
58
52
  &:focus-within {
59
- border-color: variables.$focus-ring-color-on-dark;
53
+ border-color: variables.$input-border-on-focus;
60
54
  }
61
55
 
62
56
  .mat-mdc-form-field-infix {
63
57
  input.mat-mdc-input-element {
64
58
  font-size: 13px;
65
- color: variables.$sidenav-input-text-color;
66
- caret-color: variables.$sidenav-input-text-color;
59
+ color: variables.$form-field-title;
60
+ caret-color: variables.$form-field-title;
67
61
  background-color: transparent;
68
62
 
69
63
  &::placeholder {
70
- color: variables.$sidenav-input-placeholder-color;
64
+ color: variables.$form-field-placeholder;
71
65
  opacity: 1;
72
66
  }
73
67
  }
@@ -170,10 +170,6 @@ mat-form-field.mat-mdc-form-field.tb-elem-date-picker {
170
170
  mat-form-field.mat-mdc-form-field.tb-elem-date-picker.mat-form-field-invalid {
171
171
  .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex {
172
172
  border-color: variables.$error-color;
173
-
174
- &:focus-within {
175
- border-color: variables.$input-border-on-focus;
176
- }
177
173
  }
178
174
  }
179
175
 
@@ -194,11 +194,6 @@ mat-form-field.mat-mdc-form-field.tb-elem-input.mat-form-field-invalid:not(.mat-
194
194
  .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex {
195
195
  border-color: variables.$error-color;
196
196
 
197
- // Focus stays visible on an invalid field, like tb-mat-select.
198
- &:focus-within {
199
- border-color: variables.$input-border-on-focus;
200
- }
201
-
202
197
  .mat-mdc-form-field-label {
203
198
  color: variables.$form-field-placeholder;
204
199
  }
@@ -86,10 +86,8 @@
86
86
  background-color: variables.$hover-background;
87
87
  }
88
88
 
89
- // Inside a menu the current option is a checked radio item (tb-menu-icon useMenuRoles).
90
- &[aria-selected="true"],
91
- &[aria-checked="true"] {
92
- @include variables.single-choice-selected;
89
+ &[aria-selected="true"] {
90
+ background-color: variables.$active-background;
93
91
  }
94
92
 
95
93
  .mdc-list-item__content {
@@ -142,13 +140,6 @@
142
140
  background-color: variables.$drawer-item-hover-background;
143
141
  }
144
142
 
145
- // The blue ring barely shows on the dark panel; white inside the row, as in the side menu.
146
- &:focus-visible {
147
- outline: 1px solid variables.$focus-ring-color-on-dark;
148
- outline-offset: -3px;
149
- background-color: variables.$drawer-item-hover-background;
150
- }
151
-
152
143
  .mat-mdc-list-item-unscoped-content {
153
144
  span {
154
145
  color: variables.$white-color;
@@ -281,6 +272,7 @@
281
272
  overflow-y: auto;
282
273
  overflow-x: hidden;
283
274
  max-height: calc(100vh - 400px);
275
+ outline: none;
284
276
 
285
277
  mat-list-option.mat-mdc-list-option {
286
278
  height: 40px;
@@ -559,9 +551,11 @@ mat-selection-list.mat-mdc-selection-list {
559
551
  }
560
552
 
561
553
  .mat-mdc-selection-list {
554
+ outline: none;
562
555
  padding: 0;
563
556
 
564
557
  .mat-mdc-list-option {
558
+ outline: none;
565
559
  font-size: 13px;
566
560
  height: 40px;
567
561
 
@@ -600,11 +594,6 @@ mat-selection-list.mat-mdc-selection-list {
600
594
  .mat-mdc-menu-item {
601
595
  background: transparent;
602
596
  opacity: 1 !important;
603
-
604
- // Material drops the outline on focus; mark it like a focused option.
605
- &:focus-visible {
606
- box-shadow: variables.$option-focus-shadow;
607
- }
608
597
  }
609
598
 
610
599
  .tb-menu.tb-header-menu.tb-module-menu {
@@ -626,21 +615,6 @@ mat-selection-list.mat-mdc-selection-list {
626
615
  border-bottom-left-radius: 4px;
627
616
  border-bottom-right-radius: 4px;
628
617
  }
629
-
630
- // The current module is a place, not a chosen value: light tint plus a blue bar, not the strong fill.
631
- mat-selection-list.mat-mdc-selection-list .mat-mdc-list-option[aria-selected='true'],
632
- mat-selection-list.mat-mdc-selection-list .mat-mdc-list-option[aria-checked='true'] {
633
- background: variables.$active-background;
634
- color: variables.$text-color;
635
- --mdc-list-list-item-label-text-color: #{variables.$text-color};
636
- --mdc-list-list-item-hover-label-text-color: #{variables.$text-color};
637
- --mdc-list-list-item-focus-label-text-color: #{variables.$text-color};
638
- box-shadow: inset 3px 0 0 variables.$focus-ring-color;
639
-
640
- &:focus-visible {
641
- box-shadow: variables.$option-focus-shadow;
642
- }
643
- }
644
618
  }
645
619
  }
646
620
 
@@ -780,32 +754,32 @@ tb-sidenav {
780
754
  opacity: 0.5;
781
755
  }
782
756
 
783
- &.parent-node:is([aria-level='1'], [data-level='1']) .list-option-item,
784
- &.parent-node:is([aria-level='1'], [data-level='1']) .mat-mdc-checkbox {
757
+ &.parent-node[aria-level='1'] .list-option-item,
758
+ &.parent-node[aria-level='1'] .mat-mdc-checkbox {
785
759
  font-weight: 600;
786
760
  }
787
761
 
788
- &:is([aria-level='2'], [data-level='2']) .mdc-list-item__content {
762
+ &[aria-level='2'] .mdc-list-item__content {
789
763
  padding-left: 17px;
790
764
  }
791
765
 
792
- &.expendable-disabled:is([aria-level='3'], [data-level='3']) .mdc-list-item__content {
766
+ &.expendable-disabled[aria-level='3'] .mdc-list-item__content {
793
767
  padding-left: 64px;
794
768
  }
795
769
 
796
- &.expendable-disabled:is([aria-level='2'], [data-level='2']) .mdc-list-item__content {
770
+ &.expendable-disabled[aria-level='2'] .mdc-list-item__content {
797
771
  padding-left: 43px;
798
772
  }
799
773
 
800
- &.expendable-disabled:is([aria-level='1'], [data-level='1']) .mdc-list-item__content {
774
+ &.expendable-disabled[aria-level='1'] .mdc-list-item__content {
801
775
  padding-left: 26px;
802
776
  }
803
777
 
804
- &:is([aria-level='1'], [data-level='1']).tb-pointer-event-none~:is([aria-level='2'], [data-level='2']) .mdc-list-item__content {
778
+ &[aria-level='1'].tb-pointer-event-none~[aria-level='2'] .mdc-list-item__content {
805
779
  padding-left: 7px;
806
780
  }
807
781
 
808
- &:is([aria-level='2'], [data-level='2']) tb-icon .tb-icon {
782
+ &[aria-level='2'] tb-icon .tb-icon {
809
783
  margin-left: 18px;
810
784
  }
811
785
 
@@ -815,7 +789,7 @@ tb-sidenav {
815
789
  }
816
790
 
817
791
  &:not(.has-children) mat-tree-node.mat-tree-node {
818
- &:is([aria-level='1'], [data-level='1']) .mdc-list-item__content {
792
+ &[aria-level='1'] .mdc-list-item__content {
819
793
  padding-left: 10px;
820
794
 
821
795
  mat-checkbox {
@@ -172,13 +172,6 @@ mat-form-field.mat-mdc-form-field.tb-mat-select.tb-h-30 {
172
172
  &:focus,
173
173
  &.mat-mdc-option-active {
174
174
  --mat-option-selected-state-layer-color: #{variables.$hover-background};
175
- // The grey tint alone is too faint to show the focused option.
176
- box-shadow: inset 2px 0 0 variables.$focus-ring-color;
177
- }
178
-
179
- &:focus,
180
- &.mat-mdc-option-active {
181
- box-shadow: variables.$option-focus-shadow;
182
175
  }
183
176
 
184
177
  &.mdc-list-item--selected {
@@ -189,21 +182,6 @@ mat-form-field.mat-mdc-form-field.tb-mat-select.tb-h-30 {
189
182
  }
190
183
  }
191
184
 
192
- // Single choice: light tint plus a blue bar (variables.single-choice-selected).
193
- &.mdc-list-item--selected:not(.mat-mdc-option-multiple) {
194
- --mat-option-selected-state-layer-color: #{variables.$active-background};
195
- box-shadow: variables.$option-selected-shadow;
196
-
197
- .mdc-list-item__primary-text {
198
- --mat-option-selected-state-label-text-color: #{variables.$text-color};
199
- }
200
-
201
- &:focus,
202
- &.mat-mdc-option-active {
203
- box-shadow: variables.$option-selected-focus-shadow;
204
- }
205
- }
206
-
207
185
  &.list-option-item {
208
186
  .mdc-list-item__primary-text {
209
187
  --mat-option-selected-state-label-text-color: #{variables.$form-field-placeholder};
@@ -240,7 +218,7 @@ mat-form-field.mat-mdc-form-field.tb-mat-select.tb-h-30 {
240
218
  }
241
219
 
242
220
  &.tb-disable-selected-bg {
243
- mat-option.mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple) {
221
+ mat-option.mat-mdc-option.mdc-list-item--selected {
244
222
  --mat-option-selected-state-layer-color: #{variables.$white-color};
245
223
 
246
224
  &:hover {
@@ -17,8 +17,10 @@
17
17
 
18
18
  mat-selection-list.mat-mdc-selection-list.special-days-list {
19
19
  padding: 0;
20
+ outline: none;
20
21
 
21
22
  .mat-mdc-list-option {
23
+ outline: none;
22
24
  font-size: 13px;
23
25
  height: 40px;
24
26
 
@@ -75,8 +77,7 @@ mat-selection-list.mat-mdc-selection-list[aria-multiselectable="false"] {
75
77
  background: variables.$hover-background;
76
78
  }
77
79
 
78
- // Single choice: a strong fill, so the selection is not shown by a light tint alone (WCAG 1.4.1).
79
80
  .mat-mdc-list-option[aria-selected="true"] {
80
- @include variables.single-choice-selected;
81
+ background: variables.$active-background;
81
82
  }
82
83
  }
@@ -138,11 +138,6 @@ mat-horizontal-stepper.mat-stepper-horizontal {
138
138
  display: flex;
139
139
  flex-direction: column;
140
140
  flex: 1;
141
- // Material's container clips; a step taller than a short (zoomed) dialog scrolls instead of being cut off.
142
- // The scroll box clips too, so it keeps the ring room on its left edge.
143
- overflow-y: auto;
144
- padding-left: 5px;
145
- margin-left: -5px;
146
141
 
147
142
  &:not(.mat-horizontal-stepper-content-inactive) {
148
143
  height: 100%;
@@ -241,17 +236,3 @@ tb-tab-icon {
241
236
  .mat-horizontal-content-container {
242
237
  padding: unset;
243
238
  }
244
-
245
- // These boxes clip; padding offset by a negative margin leaves room for the focus ring of a radio or checkbox
246
- // at the step's left (and top) edge without moving anything. Never on the right or bottom: there the box
247
- // would stick out of a scrolling parent and add a scrollbar.
248
- .mat-stepper-horizontal,
249
- .mat-horizontal-stepper-wrapper {
250
- padding-left: 5px;
251
- margin-left: -5px;
252
- }
253
-
254
- .mat-horizontal-content-container.mat-horizontal-content-container {
255
- padding: 5px 0 0 5px;
256
- margin: -5px 0 0 -5px;
257
- }