@ihk-gfi/lux-components-theme 14.7.0 → 15.0.0

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 (37) hide show
  1. package/README.md +13 -18
  2. package/package.json +6 -7
  3. package/prebuilt-themes/luxtheme-authentic-min.css +1 -1
  4. package/prebuilt-themes/luxtheme-authentic-min.css.map +1 -1
  5. package/prebuilt-themes/luxtheme-authentic.css +5524 -2566
  6. package/prebuilt-themes/luxtheme-authentic.css.map +1 -1
  7. package/prebuilt-themes/luxtheme-green-min.css +1 -1
  8. package/prebuilt-themes/luxtheme-green-min.css.map +1 -1
  9. package/prebuilt-themes/luxtheme-green.css +5553 -2922
  10. package/prebuilt-themes/luxtheme-green.css.map +1 -1
  11. package/src/authentic/_custom.scss +40 -76
  12. package/src/authentic/_luxcommon.scss +14 -17
  13. package/src/authentic/luxtheme.scss +78 -86
  14. package/src/base/_luxcommon.scss +0 -8
  15. package/src/base/_luxcomponents.scss +12 -572
  16. package/src/base/_luxfocus.scss +7 -205
  17. package/src/base/_luxstyles.scss +16 -15
  18. package/src/base/_luxtheme.scss +13 -1
  19. package/src/base/components/_luxAppHeaderAc.scss +3 -2
  20. package/src/base/components/_luxButton.scss +143 -0
  21. package/src/base/components/_luxFormControlWrapper.scss +9 -13
  22. package/src/base/components/_luxFormControlsAuthentic.scss +19 -14
  23. package/src/base/components/_luxIcon.scss +41 -0
  24. package/src/base/components/_luxLinkPlain.scss +1 -4
  25. package/src/base/components/_luxTextbox.scss +1 -1
  26. package/src/base/components/_luxTileAc.scss +4 -12
  27. package/src/green/_custom.scss +37 -314
  28. package/src/green/_luxcommon.scss +11 -19
  29. package/src/green/luxtheme.scss +84 -87
  30. package/prebuilt-themes/luxtheme-blue-min.css +0 -1
  31. package/prebuilt-themes/luxtheme-blue-min.css.map +0 -1
  32. package/prebuilt-themes/luxtheme-blue.css +0 -9151
  33. package/prebuilt-themes/luxtheme-blue.css.map +0 -1
  34. package/src/blue/_custom.scss +0 -120
  35. package/src/blue/_luxcommon.scss +0 -101
  36. package/src/blue/_luxpalette.scss +0 -106
  37. package/src/blue/luxtheme.scss +0 -102
@@ -29,6 +29,12 @@ $outline-bright: luxcommon.$outline-width luxcommon.$outline-style luxcommon.$ou
29
29
  outline: $outline-bright;
30
30
  }
31
31
 
32
+ @mixin lux-button-focus {
33
+ $width: calc(#{luxcommon.$outline-width} - 1px);
34
+ outline: $width luxcommon.$outline-style luxcommon.$outline-color-dark !important;
35
+ outline-offset: 1px;
36
+ }
37
+
32
38
  @mixin lux-selectable-mixin {
33
39
  -webkit-box-sizing: border-box;
34
40
  -moz-box-sizing: border-box;
@@ -231,7 +237,6 @@ lux-filter-form {
231
237
  }
232
238
 
233
239
  /** ########## Chips ########## **/
234
- lux-chips,
235
240
  lux-chips-ac {
236
241
  & .mat-standard-chip:focus-visible {
237
242
  @include focus-dark-mixin;
@@ -243,42 +248,6 @@ lux-chips-ac {
243
248
  }
244
249
 
245
250
  /** ########## Form-Control ########## **/
246
- lux-form-control {
247
- .lux-form-control:not(.lux-form-control-disabled).lux-focused {
248
- .lux-form-control-label {
249
- > * {
250
- color: luxcommon.$lux-selected-border-color;
251
- }
252
- }
253
-
254
- .cdk-keyboard-focused .mat-radio-container,
255
- .cdk-keyboard-focused .mat-checkbox-inner-container,
256
- .cdk-keyboard-focused .mat-slide-toggle-thumb {
257
- position: relative;
258
- @include focus-dark-mixin;
259
- }
260
-
261
- .lux-form-control-container:after {
262
- content: "";
263
- display: block;
264
- -webkit-box-sizing: border-box;
265
- -moz-box-sizing: border-box;
266
- box-sizing: border-box;
267
- left: 0;
268
- right: 0;
269
- position: absolute;
270
- height: 2px;
271
- border-bottom: 2px solid luxcommon.$lux-selected-border-color;
272
- }
273
-
274
- &.lux-form-control-error {
275
- .lux-form-control-container:after {
276
- border-bottom: 2px solid luxpalette.$lux-warn-color;
277
- }
278
- }
279
- }
280
- }
281
-
282
251
  .lux-form-control-wrapper {
283
252
  &.lux-focused-authentic .cdk-keyboard-focused {
284
253
  .mat-radio-container,
@@ -295,22 +264,6 @@ lux-icon.lux-error-icon:focus-visible {
295
264
  }
296
265
 
297
266
  /** ########## Datepicker ########## **/
298
- lux-datepicker {
299
- mat-datepicker-toggle {
300
- button:focus-visible {
301
- @include focus-dark-mixin;
302
- border-radius: 4px;
303
- }
304
-
305
- button:hover {
306
- @include lux-hovered-mixin();
307
- border-radius: 4px;
308
- }
309
- .mat-button-focus-overlay {
310
- display: none;
311
- }
312
- }
313
- }
314
267
  lux-datepicker-ac,
315
268
  lux-datetimepicker-ac {
316
269
  mat-datepicker-toggle {
@@ -325,7 +278,7 @@ lux-datetimepicker-ac {
325
278
  color: luxcommon.$lux-hover-color;
326
279
  }
327
280
  }
328
- .mat-button-focus-overlay {
281
+ .mat-mdc-button-persistent-ripple::before {
329
282
  display: none;
330
283
  }
331
284
  }
@@ -365,23 +318,6 @@ lux-datetimepicker-ac {
365
318
  }
366
319
 
367
320
  /** ########## Datetimepicker ########## **/
368
- lux-datetimepicker {
369
- mat-datepicker-toggle {
370
- button:focus-visible {
371
- @include focus-dark-mixin;
372
- border-radius: 4px;
373
- }
374
-
375
- button:hover {
376
- @include lux-hovered-mixin();
377
- border-radius: 4px;
378
- }
379
- .mat-button-focus-overlay {
380
- display: none;
381
- }
382
- }
383
- }
384
-
385
321
  // Class, welche das aufgeklappte Panel referenziert
386
322
  .lux-datetimepicker-overlay {
387
323
  .mat-calendar-header {
@@ -460,27 +396,6 @@ lux-table {
460
396
  }
461
397
  }
462
398
 
463
- /** ########## Select ########## **/
464
- // Class, welche das aufgeklappte Panel referenziert
465
- .lux-select-panel {
466
- mat-option {
467
- &.mat-selected.mat-option:not(.mat-option-disabled) {
468
- @include lux-selected-mixin;
469
- }
470
-
471
- // Der Focus bei mat-option wird über die Klasse .mat-active gesteuert
472
- // bisher noch keine Lösung um den mouse-focus auszuschalten
473
- &.mat-active:not(.cdk-mouse-focused) {
474
- @include focus-dark-mixin-inline;
475
- border-radius: 4px;
476
- }
477
-
478
- &:hover {
479
- @include lux-hovered-mixin;
480
- }
481
- }
482
- }
483
-
484
399
  /** ########## Select-AC ########## **/
485
400
  @mixin lux-option-highlight-mixin {
486
401
  background-color: map-get(luxpalette.$lux-palette_primary, 300);
@@ -557,94 +472,6 @@ lux-table {
557
472
  }
558
473
  }
559
474
 
560
- /** ########## Button ########## **/
561
- lux-button:not(.lang-select-trigger-ac, .user-menu-trigger-ac, .lux-action-nav-item-btn, .nav-menu-trigger-ac, .lux-filter-menu-trigger) {
562
- button:not([disabled]) {
563
- .mat-button-focus-overlay {
564
- display: none;
565
- }
566
-
567
- &:focus-visible {
568
- @include focus-dark-mixin;
569
- }
570
-
571
- &:not(.mat-fab):not(.mat-raised-button):not(.mat-flat-button),
572
- &.mat-stroked-button {
573
- &:hover {
574
- background-color: color.adjust(luxcommon.$lux-hover-color, $lightness: -10%);
575
-
576
- &.mat-accent {
577
- color: map.get(luxpalette.$lux-palette_accent, 900);
578
- }
579
-
580
- &.mat-warn {
581
- }
582
-
583
- &.mat-primary {
584
- }
585
- }
586
- }
587
-
588
- &.mat-fab:hover,
589
- &.mat-raised-button:hover,
590
- &.mat-flat-button:hover {
591
- background-color: color.adjust(luxcommon.$lux-hover-color, $lightness: -10%) !important; // $lux-hover-color !important;
592
- //background-color: luxcommon.$lux-hover-color !important; // $lux-hover-color !important;
593
-
594
- &.mat-accent {
595
- background-color: color.adjust(map.get(luxpalette.$lux-palette_accent, 500), $lightness: 10%) !important;
596
- }
597
-
598
- &.mat-warn {
599
- background-color: color.adjust(map.get(luxpalette.$lux-palette_warn, 500), $lightness: 10%) !important;
600
- }
601
-
602
- &.mat-primary {
603
- background-color: color.adjust(map.get(luxpalette.$lux-palette_primary, 500), $lightness: 10%) !important;
604
- }
605
- }
606
-
607
- &.mat-fab:focus-visible:not(:hover),
608
- &.mat-raised-button:focus-visible:not(:hover),
609
- &.mat-flat-button:focus-visible:not(:hover) {
610
- background-color: white !important;
611
-
612
- &.mat-accent {
613
- background-color: color.adjust(map.get(luxpalette.$lux-palette_accent, 500), $lightness: 5%) !important;
614
- }
615
-
616
- &.mat-warn {
617
- background-color: color.adjust(map.get(luxpalette.$lux-palette_warn, 500), $lightness: 5%) !important;
618
- }
619
-
620
- &.mat-primary {
621
- background-color: color.adjust(map.get(luxpalette.$lux-palette_primary, 500), $lightness: 5%) !important;
622
- }
623
- }
624
- }
625
- }
626
-
627
- /** ########## Autocomplete ########## **/
628
- // Class, welche das aufgeklappte Panel referenziert
629
- .lux-autocomplete-panel,
630
- .lux-chips-autocomplete-panel {
631
- mat-option {
632
- &:focus-visible {
633
- @include focus-dark-mixin-inline;
634
- border-radius: 4px;
635
- }
636
-
637
- &.mat-active {
638
- @include focus-dark-mixin-inline;
639
- border-radius: 4px;
640
- }
641
-
642
- &:hover:not(.invalid, .mat-option-disabled) {
643
- @include lux-hovered-mixin;
644
- }
645
- }
646
- }
647
-
648
475
  /** ########## Tabs ########## **/
649
476
  @mixin tab-label-mixin {
650
477
  color: map.get(luxpalette.$lux-palette_primary, 400) !important;
@@ -760,31 +587,6 @@ lux-panel {
760
587
  }
761
588
  }
762
589
 
763
- /** ########## Master-Detail ########## **/
764
- lux-button.lux-master-toggle button:not([disabled]):focus {
765
- &:focus-visible {
766
- @include focus-bright-mixin;
767
- }
768
-
769
- &:hover {
770
- @include lux-hovered-mixin;
771
- }
772
- }
773
-
774
- lux-master-detail {
775
- lux-master-header {
776
- .lux-master-header-collapse {
777
- button.lux-button {
778
- // Wir benötigen hier die spezielle CSS-Abfrage um die für die Buttons zu überschreiben
779
- // Wir nutzen $lux-hover-color, weil sich die normale lux-focus-color hier nicht genug abhebt
780
- &:not(.mat-fab):not(.mat-raised-button):focus-visible {
781
- background-color: luxcommon.$lux-hover-color !important;
782
- }
783
- }
784
- }
785
- }
786
- }
787
-
788
590
  /** ########## File-List ########## **/
789
591
  lux-file-list {
790
592
  .lux-file-list {
@@ -13,7 +13,11 @@ $paletteNamen: primary, accent, warn;
13
13
  @for $i from 1 through 3 {
14
14
  @each $size in $sizes {
15
15
  --lux-theme-#{list.nth($paletteNamen, $i)}-#{string.to-lower-case("" + $size)}: #{map.get(list.nth($paletten, $i), $size)};
16
- --lux-theme-#{list.nth($paletteNamen, $i)}-#{string.to-lower-case("" + $size)}-contrast: #{map.get(list.nth($paletten, $i), contrast, $size)};
16
+ --lux-theme-#{list.nth($paletteNamen, $i)}-#{string.to-lower-case("" + $size)}-contrast: #{map.get(
17
+ list.nth($paletten, $i),
18
+ contrast,
19
+ $size
20
+ )};
17
21
  }
18
22
  }
19
23
 
@@ -41,17 +45,9 @@ $paletteNamen: primary, accent, warn;
41
45
 
42
46
  // Form
43
47
  --lux-theme-form-border-color: #{luxcommon.$form-border-color};
44
- --lux-theme-form-control-default-height-not-scalable: #{luxcommon.$form-control-default-height-not-scalable};
45
- --lux-theme-form-control-height: #{luxcommon.$form-control-height};
46
- --lux-theme-form-control-height-small: #{luxcommon.$form-control-height-small};
47
48
  --lux-theme-form-control-font-size: #{luxcommon.$form-control-font-size};
48
49
  --lux-theme-form-control-font-size-small: #{luxcommon.$form-control-font-size-small};
49
- --lux-theme-form-control-label-padding: #{luxcommon.$form-control-label-padding};
50
- --lux-theme-form-control-container-padding: #{luxcommon.$form-control-container-padding};
51
- --lux-theme-form-control-misc-margin: #{luxcommon.$form-control-misc-margin};
52
- --lux-theme-form-control-complete-height: #{luxcommon.$form-control-complete-height};
53
50
  --lux-theme-form-control-buffer: #{luxcommon.$form-control-buffer};
54
- --lux-theme-form-control-margin: #{luxcommon.$form-control-margin};
55
51
 
56
52
  // Button
57
53
  --lux-theme-button-font-size: #{luxcommon.$button-font-size};
@@ -97,7 +93,12 @@ body,
97
93
  height: 100%;
98
94
  }
99
95
 
100
- h1, h2, h3, h4, h5, h6 {
96
+ h1,
97
+ h2,
98
+ h3,
99
+ h4,
100
+ h5,
101
+ h6 {
101
102
  font-family: luxcommon.$app-headline-font, global.$app-font-family;
102
103
  }
103
104
 
@@ -221,7 +222,7 @@ h6 {
221
222
  border: 1px solid luxcommon.$dark-dividers;
222
223
  display: flex;
223
224
  word-break: break-word;
224
-
225
+
225
226
  &.column {
226
227
  flex-direction: column;
227
228
  gap: 16px;
@@ -495,19 +496,19 @@ lux-button.lux-uppercase {
495
496
  }
496
497
 
497
498
  @each $colorName, $colorNameHex in luxcommon.$componentBgColors {
498
- .lux-color-#{''+$colorName+''} {
499
+ .lux-color-#{"" + $colorName + ""} {
499
500
  color: $colorNameHex;
500
501
  }
501
502
  }
502
503
 
503
504
  @each $colorName, $colorNameHex in luxcommon.$componentBgColors {
504
- .lux-bg-color-#{''+$colorName+''} {
505
+ .lux-bg-color-#{"" + $colorName + ""} {
505
506
  background: $colorNameHex;
506
507
  }
507
508
  }
508
509
 
509
510
  @each $colorName, $colorNameHex in luxcommon.$componentFontColors {
510
- .lux-font-color-#{''+$colorName+''} {
511
+ .lux-font-color-#{"" + $colorName + ""} {
511
512
  color: $colorNameHex;
512
513
  }
513
514
  }
@@ -587,7 +588,7 @@ lux-button.lux-uppercase {
587
588
  }
588
589
 
589
590
  .lux-column-rule-color-#{list.nth($paletteNamen, $i)}-#{string.to-lower-case("" + $size)} {
590
- column-rule-color: map.get(list.nth($paletten, $i), $size);
591
+ column-rule-color: map.get(list.nth($paletten, $i), $size);
591
592
  }
592
593
 
593
594
  .lux-column-rule-color-#{list.nth($paletteNamen, $i)}-#{string.to-lower-case("" + $size)}-contrast {
@@ -2,10 +2,22 @@
2
2
  @use "luxpalette";
3
3
 
4
4
  @include mat.core();
5
+ @include mat.legacy-core();
5
6
 
6
7
  $lux-primary: mat.define-palette(luxpalette.$lux-palette_primary);
7
8
  $lux-accent: mat.define-palette(luxpalette.$lux-palette_accent);
8
9
  $lux-warn: mat.define-palette(luxpalette.$lux-palette_warn);
9
- $lux-theme: mat.define-light-theme($lux-primary, $lux-accent, $lux-warn);
10
+ $lux-theme: mat.define-light-theme(
11
+ (
12
+ color: (
13
+ primary: $lux-primary,
14
+ accent: $lux-accent,
15
+ warn: $lux-warn
16
+ ),
17
+ typography: mat.define-typography-config(),
18
+ density: 0
19
+ )
20
+ );
10
21
 
11
22
  @include mat.all-component-themes($lux-theme);
23
+ @include mat.all-legacy-component-themes($lux-theme);
@@ -14,7 +14,7 @@ lux-app-header-ac {
14
14
  cursor: pointer;
15
15
  padding: 0px;
16
16
  &:focus-visible {
17
- @include luxfocus.focus-dark-mixin;
17
+ @include luxfocus.lux-button-focus;
18
18
  border-radius: 4px;
19
19
  }
20
20
  }
@@ -37,6 +37,7 @@ lux-app-header-ac {
37
37
  max-height: 20px;
38
38
  .lux-no-size {
39
39
  display: block;
40
+ font-size: 20px;
40
41
  }
41
42
  }
42
43
 
@@ -85,7 +86,7 @@ lux-app-header-ac {
85
86
  }
86
87
 
87
88
  .lux-app-header-top-bar {
88
- padding: 10px 24px;
89
+ padding: 8px 24px;
89
90
  min-height: 64px;
90
91
  font-size: 1rem;
91
92
  color: luxcommon.$dark-primary-text;
@@ -0,0 +1,143 @@
1
+ @use "sass:map";
2
+ @use "sass:color";
3
+ @use "../luxpalette";
4
+ @use "../luxcommon";
5
+ @use "../luxelevations";
6
+ @use "../luxfocus";
7
+ @use "../../public/global";
8
+
9
+ /*
10
+ * Styling for LUX-Button
11
+ */
12
+ lux-button button.lux-button {
13
+ font-family: global.$app-font-family;
14
+ font-size: luxcommon.$button-font-size;
15
+ font-weight: 600;
16
+ height: luxcommon.$button-height;
17
+
18
+ .lux-button-content-container {
19
+ display: flex;
20
+ justify-content: center;
21
+ align-items: center;
22
+ gap: 8px;
23
+ flex-wrap: nowrap;
24
+ }
25
+
26
+ &.mat-button.mat-button-disabled,
27
+ &.mat-raised-button.mat-button-disabled,
28
+ &.mat-flat-button.mat-button-disabled,
29
+ &.mat-stroked-button.mat-button-disabled,
30
+ &.mat-raised-button.mat-button-disabled:not([class*="mat-elevation-z"]),
31
+ &.mat-fab.mat-button-disabled {
32
+ color: luxcommon.$dark-disabled-text;
33
+ @include luxelevations.lux-elevation-z0;
34
+ }
35
+
36
+ &.mat-raised-button:not([class*="mat-elevation-z"]) {
37
+ @include luxelevations.lux-elevation-z2;
38
+ }
39
+
40
+ &.lux-button-rounded {
41
+ height: luxcommon.$button-fav-height;
42
+ width: luxcommon.$button-fav-height;
43
+
44
+ @include luxelevations.lux-elevation-z2;
45
+
46
+ .mat-button-wrapper {
47
+ padding: 0;
48
+ height: 100%;
49
+ display: inline-flex;
50
+ align-items: center;
51
+ }
52
+
53
+ lux-icon.lux-button-icon-round {
54
+ line-height: 1;
55
+ }
56
+ }
57
+
58
+ lux-icon.lux-button-icon:not(.lux-button-icon-round) {
59
+ line-height: 1;
60
+ }
61
+
62
+ .lux-button-badge {
63
+ color: #fff;
64
+ border-radius: 4px;
65
+ padding: 1px 4px;
66
+ font-size: 11px;
67
+ line-height: normal;
68
+ max-width: 38px;
69
+ display: inline-block;
70
+ overflow: hidden;
71
+ text-overflow: ellipsis;
72
+ white-space: nowrap;
73
+ box-sizing: border-box;
74
+ }
75
+ }
76
+
77
+ /*
78
+ * Focus / Hover / Disabled
79
+ */
80
+ lux-button:not(.lang-select-trigger-ac, .user-menu-trigger-ac, .lux-action-nav-item-btn, .nav-menu-trigger-ac, .lux-filter-menu-trigger) {
81
+ button:not([disabled]) {
82
+ .mat-button-focus-overlay {
83
+ display: none;
84
+ }
85
+
86
+ &:focus-visible {
87
+ @include luxfocus.focus-dark-mixin;
88
+ }
89
+
90
+ &:not(.mat-fab):not(.mat-raised-button):not(.mat-flat-button),
91
+ &.mat-stroked-button {
92
+ &:hover {
93
+ background-color: color.adjust(luxcommon.$lux-hover-color, $lightness: -10%);
94
+
95
+ &.mat-accent {
96
+ color: map.get(luxpalette.$lux-palette_accent, 900);
97
+ }
98
+
99
+ &.mat-warn {
100
+ }
101
+
102
+ &.mat-primary {
103
+ }
104
+ }
105
+ }
106
+
107
+ &.mat-fab:hover,
108
+ &.mat-raised-button:hover,
109
+ &.mat-flat-button:hover {
110
+ background-color: color.adjust(luxcommon.$lux-hover-color, $lightness: -10%) !important;
111
+
112
+ &.mat-accent {
113
+ background-color: color.adjust(map.get(luxpalette.$lux-palette_accent, 500), $lightness: 10%) !important;
114
+ }
115
+
116
+ &.mat-warn {
117
+ background-color: color.adjust(map.get(luxpalette.$lux-palette_warn, 500), $lightness: 10%) !important;
118
+ }
119
+
120
+ &.mat-primary {
121
+ background-color: color.adjust(map.get(luxpalette.$lux-palette_primary, 500), $lightness: 10%) !important;
122
+ }
123
+ }
124
+
125
+ &.mat-fab:focus-visible:not(:hover),
126
+ &.mat-raised-button:focus-visible:not(:hover),
127
+ &.mat-flat-button:focus-visible:not(:hover) {
128
+ background-color: white !important;
129
+
130
+ &.mat-accent {
131
+ background-color: color.adjust(map.get(luxpalette.$lux-palette_accent, 500), $lightness: 5%) !important;
132
+ }
133
+
134
+ &.mat-warn {
135
+ background-color: color.adjust(map.get(luxpalette.$lux-palette_warn, 500), $lightness: 5%) !important;
136
+ }
137
+
138
+ &.mat-primary {
139
+ background-color: color.adjust(map.get(luxpalette.$lux-palette_primary, 500), $lightness: 5%) !important;
140
+ }
141
+ }
142
+ }
143
+ }
@@ -92,21 +92,17 @@ lux-form-control-wrapper {
92
92
  white-space: nowrap;
93
93
  display: inline-block;
94
94
  max-height: 1.5em;
95
+ align-items: center;
96
+
97
+ lux-input-ac-suffix,
98
+ lux-input-ac-prefix {
99
+ display: inline-flex;
100
+ }
95
101
 
96
102
  lux-icon {
97
- i {
98
- padding: 0 !important;
99
- margin: 0;
100
- font-size: 1em;
101
- }
102
- mat-icon {
103
- padding: 0 !important;
104
- margin: 0;
105
- font-size: 1.5em !important;
106
- &.lux-lx-icon-no-size {
107
- width: 1em;
108
- height: 1em;
109
- }
103
+ mat-icon.lux-icon {
104
+ box-sizing: border-box;
105
+ padding: 0px !important;
110
106
  }
111
107
  }
112
108
  }
@@ -50,8 +50,8 @@ lux-lookup-combobox-ac {
50
50
  }
51
51
 
52
52
  // Checkbox wird im Cdk-Overlay dargestellt und hängt nicht unter der Component selbst.
53
- .lux-select-panel-ac .mat-pseudo-checkbox-checked,
54
- .lux-select-panel-ac-multiple .mat-pseudo-checkbox-checked {
53
+ .lux-select-panel-ac .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,
54
+ .lux-select-panel-ac-multiple .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full {
55
55
  background-color: luxpalette.$lux-primary-color;
56
56
  }
57
57
  .cdk-overlay-pane {
@@ -131,23 +131,22 @@ lux-checkbox-ac {
131
131
  lux-datepicker-ac,
132
132
  lux-datetimepicker-ac {
133
133
  mat-datepicker-toggle {
134
- height: 24px !important;
135
- width: 24px !important;
134
+ height: 24px;
135
+ width: 24px;
136
136
 
137
- .mat-icon-button {
138
- height: 24px !important;
139
- width: 24px !important;
140
- line-height: 1.5;
141
- font-size: inherit;
137
+ .mdc-icon-button.mat-mdc-icon-button.mat-mdc-button-base {
138
+ height: 24px;
139
+ width: 24px;
140
+ padding: 0;
142
141
 
143
142
  lux-icon.lux-datepicker-toggle-icon,
144
143
  mat-icon.mat-icon {
145
- height: 24px !important;
146
- width: 24px !important;
144
+ height: 24px;
145
+ width: 24px;
147
146
  padding: 0px !important;
148
147
  }
149
148
 
150
- &.mat-button-disabled {
149
+ &[disabled="true"] {
151
150
  svg {
152
151
  color: luxcommon.$dark-disabled-text;
153
152
  }
@@ -184,7 +183,14 @@ lux-toggle-ac {
184
183
  }
185
184
 
186
185
  &.mat-disabled {
187
- label .mat-slide-toggle-content {
186
+ //von Material wird beim gesamten Element die Opacity auf 0.38 gesetzt.
187
+ //wir wollen aber nur den "Schalter" änderen, das Label wird bei uns über die Color gesteuert
188
+ opacity: 1;
189
+ .mat-slide-toggle-bar {
190
+ opacity: 0.38;
191
+ }
192
+
193
+ .lux-form-label {
188
194
  color: luxcommon.$dark-disabled-text;
189
195
  }
190
196
 
@@ -318,7 +324,6 @@ lux-chips-ac {
318
324
  opacity: 1;
319
325
 
320
326
  lux-icon {
321
- i,
322
327
  mat-icon {
323
328
  color: luxcommon.$app-data-bg;
324
329
  }
@@ -0,0 +1,41 @@
1
+ @use "sass:map";
2
+ @use "../luxpalette";
3
+
4
+ lux-icon {
5
+ position: relative;
6
+ display: inline-flex;
7
+ width: fit-content;
8
+
9
+ &.lux-icon-rounded {
10
+ mat-icon.lux-icon {
11
+ border-radius: 50%;
12
+
13
+ &.lux-icon-rounded-1em {
14
+ padding: 4px !important;
15
+ }
16
+ &.lux-icon-rounded-2em {
17
+ padding: 8px !important;
18
+ }
19
+ &.lux-icon-rounded-3em {
20
+ padding: 12px !important;
21
+ }
22
+ &.lux-icon-rounded-4em,
23
+ &.lux-icon-rounded-5em {
24
+ padding: 16px !important;
25
+ }
26
+ }
27
+ }
28
+
29
+ &.lux-error-icon {
30
+ font-size: 12px;
31
+
32
+ mat-icon.lux-icon {
33
+ padding: 0 !important;
34
+ color: luxpalette.$lux-warn-color;
35
+
36
+ &:hover {
37
+ cursor: pointer;
38
+ }
39
+ }
40
+ }
41
+ }