@elderbyte/ngx-starter 18.13.0-beta.1 → 18.13.0-beta.2

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 (67) hide show
  1. package/_index.scss +2 -0
  2. package/esm2022/lib/components/access-denied/elder-access-denied.component.mjs +3 -3
  3. package/esm2022/lib/components/badge/elder-badge/elder-badge.component.mjs +3 -3
  4. package/esm2022/lib/components/card-organizer/card-stack/elder-card-stack.component.mjs +3 -3
  5. package/esm2022/lib/components/cards/elder-card/elder-card.component.mjs +3 -3
  6. package/esm2022/lib/components/data-transfer/http-data-transfer-indicator/http-data-transfer-indicator.component.mjs +3 -3
  7. package/esm2022/lib/components/data-transfer/http-data-transfer-overview/http-data-transfer-overview.component.mjs +3 -3
  8. package/esm2022/lib/components/data-view/grid/elder-grid/elder-grid.component.mjs +3 -3
  9. package/esm2022/lib/components/data-view/table/elder-table/elder-table.component.mjs +3 -3
  10. package/esm2022/lib/components/dialogs/confirm-dialog/elder-confirm-dialog.component.mjs +3 -3
  11. package/esm2022/lib/components/dialogs/selection-dialog/elder-selection-dialog/elder-selection-dialog.component.mjs +3 -3
  12. package/esm2022/lib/components/files/blob-viewer/elder-blob-viewer.component.mjs +3 -3
  13. package/esm2022/lib/components/forms/search/search-box/elder-search-box.component.mjs +3 -3
  14. package/esm2022/lib/components/graph/elder-progress-bar/elder-progress-bar.component.mjs +3 -3
  15. package/esm2022/lib/components/headers/elder-header/elder-header.component.mjs +3 -3
  16. package/esm2022/lib/components/navigation/bread-crumbs/bread-crumbs/elder-bread-crumbs.component.mjs +3 -3
  17. package/esm2022/lib/components/navigation/nav/nav-group/elder-nav-group.component.mjs +3 -3
  18. package/esm2022/lib/components/navigation/nav/nav-link/elder-nav-link.component.mjs +3 -3
  19. package/esm2022/lib/components/navigation/toolbar/toolbar/elder-toolbar.component.mjs +4 -5
  20. package/esm2022/lib/components/page/exit-guard/page-exit-lock-indicator/page-exit-lock-indicator.component.mjs +3 -3
  21. package/esm2022/lib/components/page/exit-guard/page-exit-lock-overview/page-exit-lock-overview.component.mjs +3 -3
  22. package/esm2022/lib/components/public_api.mjs +1 -2
  23. package/esm2022/lib/components/select/filter/elder-filter-chip-template/elder-filter-chip-template.component.mjs +3 -3
  24. package/esm2022/lib/components/shell/header/elder-app-header/elder-app-header.component.mjs +2 -2
  25. package/esm2022/lib/components/shell/shell/elder-shell.component.mjs +6 -6
  26. package/esm2022/lib/components/toasts/standard-toast/standard-toast.component.mjs +3 -3
  27. package/fesm2022/elderbyte-ngx-starter.mjs +53 -62
  28. package/fesm2022/elderbyte-ngx-starter.mjs.map +1 -1
  29. package/lib/components/public_api.d.ts +0 -1
  30. package/package.json +1 -1
  31. package/src/lib/components/badge/elder-badge/elder-badge.component.scss +1 -2
  32. package/src/lib/components/button-group/elder-button-group/elder-button-group.component.scss +3 -3
  33. package/src/lib/components/card-organizer/card-stack/elder-card-stack.component.scss +9 -25
  34. package/src/lib/components/cards/elder-card/elder-card.component.scss +7 -8
  35. package/src/lib/components/chips/_elder-chip-theme.scss +3 -3
  36. package/src/lib/components/data-transfer/http-data-transfer-indicator/http-data-transfer-indicator.component.scss +1 -1
  37. package/src/lib/components/data-view/grid/elder-grid/elder-grid.component.scss +3 -6
  38. package/src/lib/components/data-view/table/elder-table/elder-table.component.scss +2 -2
  39. package/src/lib/components/errors/exception-detail/elder-exception-detail.component.scss +2 -2
  40. package/src/lib/components/expand-toggle-button/elder-expand-toggle-button.component.scss +1 -1
  41. package/src/lib/components/files/blob-viewer/elder-blob-viewer.component.scss +0 -1
  42. package/src/lib/components/graph/elder-progress-bar/elder-progress-bar.component.scss +0 -1
  43. package/src/lib/components/navigation/bread-crumbs/bread-crumbs/elder-bread-crumbs.component.scss +2 -0
  44. package/src/lib/components/navigation/nav/_elder-nav-theme.scss +8 -4
  45. package/src/lib/components/navigation/nav/nav-group/elder-nav-group.component.scss +1 -1
  46. package/src/lib/components/navigation/nav/nav-link/elder-nav-link.component.scss +4 -4
  47. package/src/lib/components/page/exit-guard/page-exit-lock-indicator/page-exit-lock-indicator.component.scss +2 -2
  48. package/src/lib/components/panels/card-panel/elder-card-panel.component.scss +2 -2
  49. package/src/lib/components/panels/elder-dialog-panel/elder-dialog-panel.component.scss +3 -3
  50. package/src/lib/components/panels/flat/_elder-panel-theme.scss +8 -41
  51. package/src/lib/components/select/filter/elder-filter-chip-template/elder-filter-chip-template.component.scss +2 -3
  52. package/src/lib/components/select/multi/elder-multi-select-chips/elder-multi-select-chips.component.scss +1 -2
  53. package/src/lib/components/shell/header/elder-app-header/elder-app-header.component.scss +2 -2
  54. package/src/lib/components/shell/shell/elder-shell.component.scss +8 -0
  55. package/src/lib/components/toasts/standard-toast/standard-toast.component.scss +3 -3
  56. package/theming/_elder-color-helpers.scss +74 -0
  57. package/theming/_elder-common.scss +15 -3
  58. package/theming/_elder-design-token-overwrites.scss +33 -0
  59. package/theming/_elder-flex-layout.scss +0 -11
  60. package/theming/_elder-layout-system.scss +225 -0
  61. package/theming/_elder-m3-theme.scss +83 -4
  62. package/theming/_elder-scrollbar-theme.scss +1 -1
  63. package/theming/_elder-style-fixes.scss +214 -21
  64. package/theming/_mixins.scss +0 -1
  65. package/esm2022/lib/components/loader-background/loader-background.component.mjs +0 -11
  66. package/lib/components/loader-background/loader-background.component.d.ts +0 -5
  67. package/src/lib/components/loader-background/loader-background.component.scss +0 -60
@@ -25,13 +25,11 @@ $media: (
25
25
  }
26
26
 
27
27
  @mixin flex-layout {
28
- box-sizing: border-box;
29
28
  display: flex !important;
30
29
  }
31
30
 
32
31
  @mixin flex-initial-100 {
33
32
  flex: 1 1 100%;
34
- box-sizing: border-box;
35
33
  }
36
34
 
37
35
  @mixin elder-flex-layout($theme) {
@@ -61,7 +59,6 @@ $media: (
61
59
  min-height: 100%;
62
60
  min-width: 100%;
63
61
  width: 100%;
64
- box-sizing: border-box;
65
62
  }
66
63
 
67
64
  /***************************************************************************
@@ -195,24 +192,20 @@ $media: (
195
192
 
196
193
  .flex {
197
194
  flex: 1 1 0%; // grow, shrink, no initial size
198
- box-sizing: border-box;
199
195
  min-width: 0;
200
196
  min-height: 0;
201
197
  }
202
198
 
203
199
  .flex-auto {
204
200
  flex: 1 1 auto; // grow, shrink
205
- box-sizing: border-box;
206
201
  }
207
202
 
208
203
  .flex-initial {
209
204
  flex: 0 1 auto; // No grow, shrink
210
- box-sizing: border-box;
211
205
  }
212
206
 
213
207
  .flex-none {
214
208
  flex: none;
215
- box-sizing: border-box;
216
209
  }
217
210
 
218
211
  .layout-row {
@@ -325,22 +318,18 @@ $media: (
325
318
 
326
319
  .flex-grow {
327
320
  flex-grow: 1;
328
- box-sizing: border-box;
329
321
  }
330
322
 
331
323
  .flex-nogrow {
332
324
  flex-grow: 0;
333
- box-sizing: border-box;
334
325
  }
335
326
 
336
327
  .flex-shrink {
337
328
  flex-shrink: 1;
338
- box-sizing: border-box;
339
329
  }
340
330
 
341
331
  .flex-noshrink {
342
332
  flex: 1 0 0%; // grow, shrink, no initial size
343
- box-sizing: border-box;
344
333
  }
345
334
 
346
335
  /***************************************************************************
@@ -202,6 +202,231 @@
202
202
  padding-bottom: $xxl;
203
203
  }
204
204
 
205
+ /***************************************************************************
206
+ * *
207
+ * Margin *
208
+ * *
209
+ **************************************************************************/
210
+
211
+ .m-auto {
212
+ margin: auto;
213
+ }
214
+
215
+ .mx-auto {
216
+ margin-left: auto;
217
+ margin-right: auto;
218
+ }
219
+
220
+ .m-0 {
221
+ margin: 0;
222
+ }
223
+
224
+ .mt-0 {
225
+ margin-top: 0;
226
+ }
227
+
228
+ .mb-0 {
229
+ margin-bottom: 0;
230
+ }
231
+
232
+ .mr-0 {
233
+ margin-right: 0;
234
+ }
235
+
236
+ .ml-0 {
237
+ margin-left: 0;
238
+ }
239
+
240
+ .mx-0 {
241
+ margin-left: 0;
242
+ margin-right: 0;
243
+ }
244
+
245
+ .my-0 {
246
+ margin-top: 0;
247
+ margin-bottom: 0;
248
+ }
249
+
250
+ .m-xs {
251
+ margin: $xs;
252
+ }
253
+
254
+ .mt-xs {
255
+ margin-top: $xs;
256
+ }
257
+
258
+ .mb-xs {
259
+ margin-bottom: $xs;
260
+ }
261
+
262
+ .mr-xs {
263
+ margin-right: $xs;
264
+ }
265
+
266
+ .ml-xs {
267
+ margin-left: $xs;
268
+ }
269
+
270
+ .mx-xs {
271
+ margin-left: $xs;
272
+ margin-right: $xs;
273
+ }
274
+
275
+ .my-xs {
276
+ margin-top: $xs;
277
+ margin-bottom: $xs;
278
+ }
279
+
280
+ .m-sm {
281
+ margin: $sm;
282
+ }
283
+
284
+ .mt-sm {
285
+ margin-top: $sm;
286
+ }
287
+
288
+ .mb-sm {
289
+ margin-bottom: $sm;
290
+ }
291
+
292
+ .mr-sm {
293
+ margin-right: $sm;
294
+ }
295
+
296
+ .ml-sm {
297
+ margin-left: $sm;
298
+ }
299
+
300
+ .mx-sm {
301
+ margin-left: $sm;
302
+ margin-right: $sm;
303
+ }
304
+
305
+ .my-sm {
306
+ margin-top: $sm;
307
+ margin-bottom: $sm;
308
+ }
309
+
310
+ .m-md {
311
+ margin: $md;
312
+ }
313
+
314
+ .mt-md {
315
+ margin-top: $md;
316
+ }
317
+
318
+ .mb-md {
319
+ margin-bottom: $md;
320
+ }
321
+
322
+ .mr-md {
323
+ margin-right: $md;
324
+ }
325
+
326
+ .ml-md {
327
+ margin-left: $md;
328
+ }
329
+
330
+ .mx-md {
331
+ margin-left: $md;
332
+ margin-right: $md;
333
+ }
334
+
335
+ .my-md {
336
+ margin-top: $md;
337
+ margin-bottom: $md;
338
+ }
339
+
340
+ .m-lg {
341
+ margin: $lg;
342
+ }
343
+
344
+ .mt-lg {
345
+ margin-top: $lg;
346
+ }
347
+
348
+ .mb-lg {
349
+ margin-bottom: $lg;
350
+ }
351
+
352
+ .mr-lg {
353
+ margin-right: $lg;
354
+ }
355
+
356
+ .ml-lg {
357
+ margin-left: $lg;
358
+ }
359
+
360
+ .mx-lg {
361
+ margin-left: $lg;
362
+ margin-right: $lg;
363
+ }
364
+
365
+ .my-lg {
366
+ margin-top: $lg;
367
+ margin-bottom: $lg;
368
+ }
369
+
370
+ .m-xl {
371
+ margin: $xl;
372
+ }
373
+
374
+ .mt-xl {
375
+ margin-top: $xl;
376
+ }
377
+
378
+ .mb-xl {
379
+ margin-bottom: $xl;
380
+ }
381
+
382
+ .mr-xl {
383
+ margin-right: $xl;
384
+ }
385
+
386
+ .ml-xl {
387
+ margin-left: $xl;
388
+ }
389
+
390
+ .mx-xl {
391
+ margin-left: $xl;
392
+ margin-right: $xl;
393
+ }
394
+
395
+ .my-xl {
396
+ margin-top: $xl;
397
+ margin-bottom: $xl;
398
+ }
399
+
400
+ .m-xxl {
401
+ margin: $xxl;
402
+ }
403
+
404
+ .mt-xxl {
405
+ margin-top: $xxl;
406
+ }
407
+
408
+ .mb-xxl {
409
+ margin-bottom: $xxl;
410
+ }
411
+
412
+ .mr-xxl {
413
+ margin-right: $xxl;
414
+ }
415
+
416
+ .ml-xxl {
417
+ margin-left: $xxl;
418
+ }
419
+
420
+ .mx-xxl {
421
+ margin-left: $xxl;
422
+ margin-right: $xxl;
423
+ }
424
+
425
+ .my-xxl {
426
+ margin-top: $xxl;
427
+ margin-bottom: $xxl;
428
+ }
429
+
205
430
  /***************************************************************************
206
431
  * *
207
432
  * Layout Widths *
@@ -1,8 +1,45 @@
1
- // This file was generated by running 'ng generate @angular/material:m3-theme'.
2
- // Proceed with caution if making changes to this file.
3
-
4
1
  @use 'sass:map';
5
2
  @use '@angular/material' as mat;
3
+ @use 'elder-design-token-overwrites' as elder-design-token-overwrites;
4
+ @use '../index' as elder;
5
+
6
+ @mixin render-default-elder-theme ($themes, $options: ()) {
7
+ // map options
8
+ $use-typography-hierarchy: not map-has-key($options, 'no-typography-hierarchy');
9
+
10
+ // create theme
11
+ //$themes: create-default-elder-themes();
12
+ $elder-light-theme-m3: map.get($themes, light);
13
+ $elder-dark-theme-m3: map.get($themes, dark-reverse);
14
+
15
+ // render theme
16
+ @include mat.all-component-typographies();
17
+ @include mat.core();
18
+
19
+ @if $use-typography-hierarchy {
20
+ @include mat.typography-hierarchy($elder-light-theme-m3, $back-compat: true);
21
+ }
22
+
23
+ .elder-light-theme,
24
+ .elder-dark-theme {
25
+ @include mat.all-component-themes($elder-light-theme-m3);
26
+ @include mat.system-level-colors($elder-light-theme-m3);
27
+ @include mat.system-level-typography($elder-light-theme-m3);
28
+ @include mat.color-variants-backwards-compatibility($elder-light-theme-m3);
29
+ @include elder.starter-theme($elder-light-theme-m3);
30
+ }
31
+
32
+ .elder-dark-theme {
33
+ @include mat.all-component-colors($elder-dark-theme-m3);
34
+ @include mat.system-level-colors($elder-dark-theme-m3);
35
+ @include mat.color-variants-backwards-compatibility($elder-dark-theme-m3);
36
+ }
37
+
38
+ .elder-light-theme,
39
+ .elder-dark-theme {
40
+ @include elder-design-token-overwrites.elder-design-token-overwrites();
41
+ }
42
+ }
6
43
 
7
44
  @function create-default-elder-themes() {
8
45
  @return create-themes(get-palettes());
@@ -19,6 +56,8 @@
19
56
  );
20
57
  $_primary: map.merge(map.get($_palettes, primary), $_rest);
21
58
  $_tertiary: map.merge(map.get($_palettes, tertiary), $_rest);
59
+ $_primary-reverse: map.merge(map.get($_palettes, tertiary), $_rest);
60
+ $_tertiary-reverse: map.merge(map.get($_palettes, tertiary), $_rest);
22
61
 
23
62
  $density: 0;
24
63
 
@@ -60,7 +99,47 @@
60
99
  )
61
100
  );
62
101
 
63
- @return (light: $light-theme, dark: $dark-theme);
102
+ $light-theme-reverse: mat.define-theme(
103
+ (
104
+ color: (
105
+ theme-type: light,
106
+ primary: $_primary-reverse,
107
+ tertiary: $_tertiary-reverse,
108
+ use-system-variables: true,
109
+ system-variables-prefix: md-sys-color,
110
+ ),
111
+ typography: (
112
+ use-system-variables: true,
113
+ system-variables-prefix: md-sys-typescale,
114
+ ),
115
+ density: (
116
+ scale: $density,
117
+ ),
118
+ )
119
+ );
120
+
121
+ $dark-theme-reverse: mat.define-theme(
122
+ (
123
+ color: (
124
+ theme-type: dark,
125
+ primary: $_primary-reverse,
126
+ tertiary: $_tertiary-reverse,
127
+ use-system-variables: true,
128
+ system-variables-prefix: md-sys-color,
129
+ ),
130
+ typography: (
131
+ use-system-variables: true,
132
+ system-variables-prefix: md-sys-typescale,
133
+ ),
134
+ density: (
135
+ scale: $density,
136
+ ),
137
+ )
138
+ );
139
+
140
+
141
+
142
+ @return (light: $light-theme, dark: $dark-theme, light-reverse: $light-theme-reverse, dark-reverse: $dark-theme-reverse);
64
143
  }
65
144
 
66
145
  @function get-palettes() {
@@ -45,7 +45,7 @@
45
45
 
46
46
  /* Handle on hover */
47
47
  ::-webkit-scrollbar-thumb:hover {
48
- background: var(--md-sys-color-primary-fixed);
48
+ background: var(--md-sys-color-primary);
49
49
  }
50
50
  }
51
51
  }
@@ -118,32 +118,225 @@
118
118
  }
119
119
 
120
120
  @mixin _mat3-fixes($theme) {
121
- --mat-sidenav-container-width: auto; // is set to around 300px by default in MAT 3 (MAT 2 was auto by default)
122
- --mat-badge-small-size-text-size: 9px; // this is the mat2 setting, mat3 somehow sets this to 0, which hides the font, unclear why.
123
- --mdc-dialog-container-shape: 16px; // make border-radius of dialog container smaller (default is 28px)
124
- --mat-dialog-container-max-width: 80vw; // 80vw is mat 2 default, mat 3 default is very narrow: 560px;
125
- --mat-toolbar-title-text-tracking: 0; // mat toolbar typography
126
- --mat-toolbar-title-text-weight: 500; // mat toolbar typography
127
- --mat-table-row-item-outline-color: var(--md-sys-color-outline-variant); // make table row border color lighter
128
-
129
- .mat-toolbar {
130
- &.mat-primary {
131
- --mat-toolbar-container-text-color: var(--md-sys-color-on-primary);
132
- --mat-toolbar-container-background-color: var(--md-sys-color-primary);
133
- .mat-mdc-icon-button {
134
- color: var(--md-sys-color-on-primary);
121
+ .mat-toolbar .mat-mdc-icon-button {
122
+ color: inherit;
123
+ }
124
+
125
+ // reduce border radius from overlay
126
+ //--mdc-dialog-container-shape: 4px;
127
+
128
+ // remove weird box shadow of card in overlay (Problem: Cards shouldn't be in overlay)
129
+ .mat-mdc-dialog-container .mat-mdc-card {
130
+ box-shadow: none;
131
+ }
132
+
133
+ // .mat-mdc-slide-toggle {
134
+ // margin-bottom: 4px;
135
+ // }
136
+
137
+ // fix elder badge borders
138
+ elder-badge {
139
+ .mat-mdc-standard-chip .mat-mdc-chip-action::before {
140
+ //border-color: var(--md-sys-color-outline);
141
+ border: none;
142
+ }
143
+ }
144
+
145
+ // set bg darker
146
+ // ::ng-deep .mat-app-background.elder-light-theme,
147
+ // ::ng-deep .mat-app-background.elder-dark-theme {}
148
+ //background-color: red !important;
149
+ --mat-app-background-color: var(--md-sys-color-surface-container-highest) !important;
150
+
151
+ .mat-app-background {
152
+ display: block;
153
+ }
154
+
155
+ .mat-mdc-tab-group {
156
+ background-color: var(--md-sys-color-surface-container);
157
+ }
158
+
159
+ .legacy-layout-card {
160
+ background-color: var(--mdc-elevated-card-container-color);
161
+ border: var(--elder-border-light);
162
+ border-radius: var(--elder-border-radius-sm);
163
+ // pane style
164
+ border: none !important;
165
+ border-radius: var(--mdc-outlined-card-container-shape, var(--mat-app-corner-medium));
166
+ overflow: hidden;
167
+ }
168
+
169
+ .elder-card-header {
170
+ background-color: var(--md-sys-color-surface-container);
171
+ }
172
+
173
+ .elder-card-title {
174
+ padding-bottom: 0 !important;
175
+ margin-bottom: 6px !important;
176
+ }
177
+
178
+ .elder-card-header {
179
+ margin-bottom: 12px !important;
180
+ }
181
+
182
+ // remove extra background from drawer
183
+ .mat-drawer-container {
184
+ background-color: transparent !important;
185
+ }
186
+
187
+ // .mat-mdc-snack-bar-container .mat-mdc-snackbar-surface {
188
+ // background-color: var(--md-sys-color-inverse-surface);
189
+ // }
190
+
191
+ // app header bg color
192
+ &.elder-light-theme,
193
+ &.elder-dark-theme {
194
+ elder-app-header .mat-panel.mat-primary {
195
+ background-color: var(--md-sys-color-primary) !important;
196
+ color: var(--md-sys-color-on-primary) !important;
197
+ }
198
+
199
+ .mat-toolbar {
200
+ &.mat-primary {
201
+ --mat-toolbar-container-text-color: var(--md-sys-color-on-primary);
202
+ --mat-toolbar-container-background-color: var(--md-sys-color-primary);
203
+ .mat-mdc-icon-button {
204
+ color: var(--md-sys-color-on-primary);
205
+ }
206
+ }
207
+ &.mat-accent {
208
+ --mat-toolbar-container-text-color: var(--md-sys-color-on-tertiary);
209
+ --mat-toolbar-container-background-color: var(--md-sys-color-tertiary);
210
+ .mat-mdc-icon-button {
211
+ color: var(--md-sys-color-on-tertiary);
212
+ }
135
213
  }
136
214
  }
137
- &.mat-accent {
138
- --mat-toolbar-container-text-color: var(--md-sys-color-on-tertiary);
139
- --mat-toolbar-container-background-color: var(--md-sys-color-tertiary);
140
- .mat-mdc-icon-button {
141
- color: var(--md-sys-color-on-tertiary);
215
+
216
+ .mat-toolbar.mat-primary,
217
+ .mat-toolbar.mat-accent {
218
+ // color all toolbars primary
219
+ background-color: var(--md-sys-color-primary) !important;
220
+ * {
221
+ color: white !important;
142
222
  }
143
223
  }
144
224
  }
145
225
 
146
- .mat-toolbar .mat-mdc-icon-button {
147
- color: inherit;
226
+ &.elder-dark-theme {
227
+ .mat-panel {
228
+ background-color: var(--elder-dark-gray) !important;
229
+ }
230
+
231
+ .mat-toolbar.mat-primary,
232
+ .mat-toolbar.mat-accent {
233
+ background-color: var(--elder-dark-gray) !important;
234
+ * {
235
+ color: white !important;
236
+ }
237
+ .elder-toolbar-main-nav-button .mat-icon {
238
+ color: var(--md-sys-color-primary) !important;
239
+ }
240
+ }
241
+
242
+ elder-app-header .mat-panel {
243
+ color: var(--md-sys-color-on-surface) !important;
244
+ }
245
+ }
246
+
247
+ /**************************************************************************
248
+ * Start cloudfiles import 1
249
+ *************************************************************************/
250
+
251
+ // mat tab group shouldnt have a background color
252
+ .mat-mdc-tab-header {
253
+ background-color: var(--md-sys-color-surface-container-low);
254
+ }
255
+
256
+ .mat-mdc-tab-group {
257
+ background-color: transparent !important;
258
+ }
259
+
260
+ elder-data-toolbar {
261
+ display: block;
262
+ //background-color: var(--md-sys-color-surface-container);
263
+ }
264
+
265
+ elder-search-box .elder-search-box-field {
266
+ background-color: var(--md-sys-color-surface-container-lowest);
267
+ border: none !important;
268
+ margin-top: 12px !important;
269
+ margin-bottom: 12px !important;
270
+ border-radius: var(
271
+ --mdc-outlined-card-container-shape,
272
+ var(--mat-app-corner-medium)
273
+ ) !important;
274
+
275
+ &.mat-focused {
276
+ background-color: var(--md-sys-color-surface-container-lowest);
277
+ }
278
+ }
279
+
280
+ elder-search-box {
281
+ .mdc-notched-outline .mat-mdc-notch-piece {
282
+ border: none !important;
283
+ }
148
284
  }
285
+
286
+ &.elder-light-theme,
287
+ &.elder-dark-theme {
288
+ elder-table {
289
+ --mat-table-background-color: var(--md-sys-color-surface-container);
290
+
291
+ .mat-mdc-row {
292
+ background-color: var(--md-sys-color-surface-container-lowest);
293
+ }
294
+
295
+ .mat-mdc-header-row {
296
+ background: var(--md-sys-color-surface-container-low) !important;
297
+ }
298
+ }
299
+
300
+ elder-table .legacy-layout-card {
301
+ background-color: var(--md-sys-color-surface-container-low) !important;
302
+ }
303
+ }
304
+
305
+ /**************************************************************************
306
+ * End cloudfiles import 1
307
+ *************************************************************************/
308
+
309
+ // Button colors
310
+ .mat-accent.mat-mdc-button-base {
311
+ --md-sys-color-tertiary: var(--md-sys-color-secondary);
312
+ --md-sys-color-on-tertiary: var(--md-sys-color-on-secondary);
313
+ --md-sys-color-tertiary-container: var(--md-sys-color-secondary-container);
314
+ --md-sys-color-on-tertiary-container: var(--md-sys-color-on-secondary-container);
315
+ }
316
+
317
+ // slide toggle colors
318
+ .mat-accent.mat-mdc-slide-toggle {
319
+ --md-sys-color-tertiary: var(--md-sys-color-secondary);
320
+ --md-sys-color-on-tertiary: var(--md-sys-color-on-secondary);
321
+ --md-sys-color-tertiary-container: var(--md-sys-color-secondary-container);
322
+ --md-sys-color-on-tertiary-container: var(--md-sys-color-on-secondary-container);
323
+ }
324
+
325
+ .mat-accent.mat-mdc-standard-chip {
326
+ --md-sys-color-tertiary: var(--md-sys-color-secondary);
327
+ --md-sys-color-on-tertiary: var(--md-sys-color-on-secondary);
328
+ --md-sys-color-tertiary-container: var(--md-sys-color-secondary-container);
329
+ --md-sys-color-on-tertiary-container: var(--md-sys-color-on-secondary-container);
330
+ }
331
+
332
+ // // switch toggle (deactivaded)
333
+ // // --mdc-switch-track-shape:
334
+ // --mat-switch-with-icon-handle-size: 24px;
335
+ // --mdc-switch-track-height: 12px;
336
+ // //--mat-switch-unselected-with-icon-handle-horizontal-margin: 0 4px;
337
+ // --mat-switch-selected-with-icon-handle-horizontal-margin: 0 14px;
338
+ // --mdc-switch-track-width: 42px;
339
+ // --mat-switch-track-outline-width: 0;
340
+ // --mdc-switch-unselected-track-color: var(--md-sys-color-secondary);
341
+ // //--mdc-switch-unselected-handle-color: var(--md-sys-color-secondary-container);
149
342
  }
@@ -17,7 +17,6 @@
17
17
  display: inline-flex;
18
18
  justify-content: center;
19
19
  align-items: center;
20
- box-sizing: border-box;
21
20
  }
22
21
 
23
22
  .mat-mdc-form-field-icon-prefix > .mat-mdc-icon-button,
@@ -1,11 +0,0 @@
1
- import { ChangeDetectionStrategy, Component } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class LoaderBackgroundComponent {
4
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: LoaderBackgroundComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.5", type: LoaderBackgroundComponent, isStandalone: true, selector: "elder-loader-background", ngImport: i0, template: "<div class=\"loader-background\">\n <div class=\"spinner\">\n <div class=\"bounce1 circle\"></div>\n <div class=\"bounce2 logo\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"var(--md-sys-color-tertiary-fixed)\"\n viewBox=\"0 0 284.34 272.09\"\n >\n <g>\n <path\n d=\"M141.92,11A125,125,0,0,1,247,68.35q4.46-2.76,8.67-5.93a135.38,135.38,0,0,0-227.43,0q4.21,3.17,8.67,5.93A125,125,0,0,1,141.92,11Z\"\n />\n <path\n d=\"M267,136.05a125,125,0,1,1-246-31.53c-2.44-3.48-5.11-7-7.85-10.47a135.11,135.11,0,0,0-6.69,42c0,74.74,60.8,135.54,135.54,135.54s135.55-60.8,135.55-135.54a135.11,135.11,0,0,0-6.69-42c-2.74,3.52-5.41,7-7.85,10.47A124.65,124.65,0,0,1,267,136.05Z\"\n />\n <g id=\"main-logo\">\n <path\n d=\"M151.24,188.12a41.39,41.39,0,0,1-5.06-12.27H138.1A41.13,41.13,0,0,1,133,188.12a37.86,37.86,0,0,1-9.67,10.31l16.83,44.43,20.48-44.6A38,38,0,0,1,151.24,188.12Z\"\n />\n <path\n d=\"M205.38,95.82c-3,.39-6.16.67-9.48,1v14.75H181V98.24c-16.68,2.2-32.74,7.35-36.46,25.82.34,12.92-.48,26.37,2.58,38.89A50.81,50.81,0,0,0,153.34,178a46.35,46.35,0,0,0,11.6,12.45,61.34,61.34,0,0,0,32.73,11.65c25.65,1.59,38.9-16.32,40.73-40.34,1-13.61-.4-27.57,3.28-40.71,7.17-25.61,32.12-42.78,41.25-67.76C263.36,75.89,235.14,91.93,205.38,95.82ZM191.3,184.64a33.51,33.51,0,1,1,33.5-33.51A33.51,33.51,0,0,1,191.3,184.64Z\"\n />\n <path\n d=\"M79,95.82C49.2,91.93,21,75.89,1.4,53.31c9.14,25,34.09,42.15,41.26,67.76,3.68,13.14,2.23,27.1,3.27,40.71,1.84,24,15.09,41.93,40.73,40.34a61.58,61.58,0,0,0,32.45-11.43A46.73,46.73,0,0,0,131,178,50.57,50.57,0,0,0,137.21,163c3.06-12.52,2.24-26,2.58-38.89C134.18,96.2,100.46,98.63,79,95.82ZM93,184.64a33.51,33.51,0,1,1,33.5-33.51A33.5,33.5,0,0,1,93,184.64Z\"\n />\n </g>\n </g>\n </svg>\n </div>\n <div class=\"bounce3 circle\"></div>\n </div>\n</div>\n", styles: [".loader-background{--loader-bg-surface: var(--md-sys-color-surface);--loader-bg-color: var(--md-sys-color-primary);--logo-color: var(--md-sys-color-tertiary-fixed);position:relative;height:100vh;width:100vw;margin:0;padding:0;background:linear-gradient(200deg,var(--loader-bg-surface) 40%,var(--loader-bg-color) 0%)}.spinner{position:absolute;top:50vh;left:45vw;width:200px;text-align:center}.logo{width:50px;height:48px;border-radius:100%;display:inline-block;animation:sk-bouncedelay 1.4s infinite ease-in-out both}.logo svg{fill:var(--logo-color)!important}.circle{border:1.5px solid var(--logo-color);height:25px;border-radius:50%;width:25px;display:inline-block;animation:sk-bouncedelay 1.4s infinite ease-in-out both}.spinner .bounce1{animation-delay:-.32s}.spinner .bounce2{animation-delay:-.16s}@keyframes sk-bouncedelay{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6
- }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.5", ngImport: i0, type: LoaderBackgroundComponent, decorators: [{
8
- type: Component,
9
- args: [{ selector: 'elder-loader-background', standalone: true, imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"loader-background\">\n <div class=\"spinner\">\n <div class=\"bounce1 circle\"></div>\n <div class=\"bounce2 logo\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"var(--md-sys-color-tertiary-fixed)\"\n viewBox=\"0 0 284.34 272.09\"\n >\n <g>\n <path\n d=\"M141.92,11A125,125,0,0,1,247,68.35q4.46-2.76,8.67-5.93a135.38,135.38,0,0,0-227.43,0q4.21,3.17,8.67,5.93A125,125,0,0,1,141.92,11Z\"\n />\n <path\n d=\"M267,136.05a125,125,0,1,1-246-31.53c-2.44-3.48-5.11-7-7.85-10.47a135.11,135.11,0,0,0-6.69,42c0,74.74,60.8,135.54,135.54,135.54s135.55-60.8,135.55-135.54a135.11,135.11,0,0,0-6.69-42c-2.74,3.52-5.41,7-7.85,10.47A124.65,124.65,0,0,1,267,136.05Z\"\n />\n <g id=\"main-logo\">\n <path\n d=\"M151.24,188.12a41.39,41.39,0,0,1-5.06-12.27H138.1A41.13,41.13,0,0,1,133,188.12a37.86,37.86,0,0,1-9.67,10.31l16.83,44.43,20.48-44.6A38,38,0,0,1,151.24,188.12Z\"\n />\n <path\n d=\"M205.38,95.82c-3,.39-6.16.67-9.48,1v14.75H181V98.24c-16.68,2.2-32.74,7.35-36.46,25.82.34,12.92-.48,26.37,2.58,38.89A50.81,50.81,0,0,0,153.34,178a46.35,46.35,0,0,0,11.6,12.45,61.34,61.34,0,0,0,32.73,11.65c25.65,1.59,38.9-16.32,40.73-40.34,1-13.61-.4-27.57,3.28-40.71,7.17-25.61,32.12-42.78,41.25-67.76C263.36,75.89,235.14,91.93,205.38,95.82ZM191.3,184.64a33.51,33.51,0,1,1,33.5-33.51A33.51,33.51,0,0,1,191.3,184.64Z\"\n />\n <path\n d=\"M79,95.82C49.2,91.93,21,75.89,1.4,53.31c9.14,25,34.09,42.15,41.26,67.76,3.68,13.14,2.23,27.1,3.27,40.71,1.84,24,15.09,41.93,40.73,40.34a61.58,61.58,0,0,0,32.45-11.43A46.73,46.73,0,0,0,131,178,50.57,50.57,0,0,0,137.21,163c3.06-12.52,2.24-26,2.58-38.89C134.18,96.2,100.46,98.63,79,95.82ZM93,184.64a33.51,33.51,0,1,1,33.5-33.51A33.5,33.5,0,0,1,93,184.64Z\"\n />\n </g>\n </g>\n </svg>\n </div>\n <div class=\"bounce3 circle\"></div>\n </div>\n</div>\n", styles: [".loader-background{--loader-bg-surface: var(--md-sys-color-surface);--loader-bg-color: var(--md-sys-color-primary);--logo-color: var(--md-sys-color-tertiary-fixed);position:relative;height:100vh;width:100vw;margin:0;padding:0;background:linear-gradient(200deg,var(--loader-bg-surface) 40%,var(--loader-bg-color) 0%)}.spinner{position:absolute;top:50vh;left:45vw;width:200px;text-align:center}.logo{width:50px;height:48px;border-radius:100%;display:inline-block;animation:sk-bouncedelay 1.4s infinite ease-in-out both}.logo svg{fill:var(--logo-color)!important}.circle{border:1.5px solid var(--logo-color);height:25px;border-radius:50%;width:25px;display:inline-block;animation:sk-bouncedelay 1.4s infinite ease-in-out both}.spinner .bounce1{animation-delay:-.32s}.spinner .bounce2{animation-delay:-.16s}@keyframes sk-bouncedelay{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}\n"] }]
10
- }] });
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGVyLWJhY2tncm91bmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZWxkZXJieXRlL25neC1zdGFydGVyL3NyYy9saWIvY29tcG9uZW50cy9sb2FkZXItYmFja2dyb3VuZC9sb2FkZXItYmFja2dyb3VuZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9lbGRlcmJ5dGUvbmd4LXN0YXJ0ZXIvc3JjL2xpYi9jb21wb25lbnRzL2xvYWRlci1iYWNrZ3JvdW5kL2xvYWRlci1iYWNrZ3JvdW5kLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUE7O0FBVWxFLE1BQU0sT0FBTyx5QkFBeUI7OEdBQXpCLHlCQUF5QjtrR0FBekIseUJBQXlCLG1GQ1Z0Qyx3K0RBaUNBOzsyRkR2QmEseUJBQXlCO2tCQVJyQyxTQUFTOytCQUNFLHlCQUF5QixjQUN2QixJQUFJLFdBQ1AsRUFBRSxtQkFHTSx1QkFBdUIsQ0FBQyxNQUFNIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ2hhbmdlRGV0ZWN0a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