@ihk-gfi/lux-components-theme 14.7.0 → 15.1.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.
- package/README.md +13 -18
- package/package.json +6 -7
- package/prebuilt-themes/luxtheme-authentic-min.css +1 -1
- package/prebuilt-themes/luxtheme-authentic-min.css.map +1 -1
- package/prebuilt-themes/luxtheme-authentic.css +5662 -2653
- package/prebuilt-themes/luxtheme-authentic.css.map +1 -1
- package/prebuilt-themes/luxtheme-green-min.css +1 -1
- package/prebuilt-themes/luxtheme-green-min.css.map +1 -1
- package/prebuilt-themes/luxtheme-green.css +5679 -2984
- package/prebuilt-themes/luxtheme-green.css.map +1 -1
- package/src/authentic/_custom.scss +41 -84
- package/src/authentic/_luxcommon.scss +14 -17
- package/src/authentic/luxtheme.scss +78 -86
- package/src/base/_luxcommon.scss +0 -8
- package/src/base/_luxcomponents.scss +16 -595
- package/src/base/_luxfocus.scss +7 -238
- package/src/base/_luxstyles.scss +16 -15
- package/src/base/_luxtheme.scss +13 -1
- package/src/base/components/_luxAppHeaderAc.scss +4 -2
- package/src/base/components/_luxButton.scss +143 -0
- package/src/base/components/_luxFormControlWrapper.scss +9 -13
- package/src/base/components/_luxFormControlsAuthentic.scss +25 -14
- package/src/base/components/_luxIcon.scss +41 -0
- package/src/base/components/_luxLinkPlain.scss +1 -4
- package/src/base/components/_luxList.scss +66 -0
- package/src/base/components/_luxMasterDetailAc.scss +83 -25
- package/src/base/components/_luxTextbox.scss +1 -1
- package/src/base/components/_luxTileAc.scss +4 -12
- package/src/green/_custom.scss +45 -316
- package/src/green/_luxcommon.scss +11 -19
- package/src/green/luxtheme.scss +84 -87
- package/src/public/global.scss +6 -6
- package/prebuilt-themes/luxtheme-blue-min.css +0 -1
- package/prebuilt-themes/luxtheme-blue-min.css.map +0 -1
- package/prebuilt-themes/luxtheme-blue.css +0 -9151
- package/prebuilt-themes/luxtheme-blue.css.map +0 -1
- package/src/blue/_custom.scss +0 -120
- package/src/blue/_luxcommon.scss +0 -101
- package/src/blue/_luxpalette.scss +0 -106
- package/src/blue/luxtheme.scss +0 -102
package/src/base/_luxfocus.scss
CHANGED
|
@@ -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;
|
|
@@ -185,39 +191,6 @@ lux-card mat-card {
|
|
|
185
191
|
}
|
|
186
192
|
}
|
|
187
193
|
|
|
188
|
-
/** ########## List ########## **/
|
|
189
|
-
lux-list {
|
|
190
|
-
border: luxcommon.$outline-width dashed transparent;
|
|
191
|
-
|
|
192
|
-
&:focus-visible {
|
|
193
|
-
border: $outline-dark;
|
|
194
|
-
border-radius: 4px;
|
|
195
|
-
outline: none;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
lux-list-item {
|
|
199
|
-
&:focus-visible {
|
|
200
|
-
outline: none;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
lux-card {
|
|
204
|
-
&.lux-list-item-selected {
|
|
205
|
-
mat-card.mat-card.lux-card {
|
|
206
|
-
@include lux-selected-mixin;
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
mat-card {
|
|
211
|
-
@include lux-selectable-mixin;
|
|
212
|
-
|
|
213
|
-
&:hover {
|
|
214
|
-
@include lux-hovered-mixin;
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
|
|
221
194
|
/** ########## Filter-Form ########## **/
|
|
222
195
|
lux-filter-form {
|
|
223
196
|
lux-menu {
|
|
@@ -231,7 +204,6 @@ lux-filter-form {
|
|
|
231
204
|
}
|
|
232
205
|
|
|
233
206
|
/** ########## Chips ########## **/
|
|
234
|
-
lux-chips,
|
|
235
207
|
lux-chips-ac {
|
|
236
208
|
& .mat-standard-chip:focus-visible {
|
|
237
209
|
@include focus-dark-mixin;
|
|
@@ -243,42 +215,6 @@ lux-chips-ac {
|
|
|
243
215
|
}
|
|
244
216
|
|
|
245
217
|
/** ########## 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
218
|
.lux-form-control-wrapper {
|
|
283
219
|
&.lux-focused-authentic .cdk-keyboard-focused {
|
|
284
220
|
.mat-radio-container,
|
|
@@ -295,22 +231,6 @@ lux-icon.lux-error-icon:focus-visible {
|
|
|
295
231
|
}
|
|
296
232
|
|
|
297
233
|
/** ########## 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
234
|
lux-datepicker-ac,
|
|
315
235
|
lux-datetimepicker-ac {
|
|
316
236
|
mat-datepicker-toggle {
|
|
@@ -325,7 +245,7 @@ lux-datetimepicker-ac {
|
|
|
325
245
|
color: luxcommon.$lux-hover-color;
|
|
326
246
|
}
|
|
327
247
|
}
|
|
328
|
-
.mat-button-
|
|
248
|
+
.mat-mdc-button-persistent-ripple::before {
|
|
329
249
|
display: none;
|
|
330
250
|
}
|
|
331
251
|
}
|
|
@@ -365,23 +285,6 @@ lux-datetimepicker-ac {
|
|
|
365
285
|
}
|
|
366
286
|
|
|
367
287
|
/** ########## 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
288
|
// Class, welche das aufgeklappte Panel referenziert
|
|
386
289
|
.lux-datetimepicker-overlay {
|
|
387
290
|
.mat-calendar-header {
|
|
@@ -460,27 +363,6 @@ lux-table {
|
|
|
460
363
|
}
|
|
461
364
|
}
|
|
462
365
|
|
|
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
366
|
/** ########## Select-AC ########## **/
|
|
485
367
|
@mixin lux-option-highlight-mixin {
|
|
486
368
|
background-color: map-get(luxpalette.$lux-palette_primary, 300);
|
|
@@ -557,94 +439,6 @@ lux-table {
|
|
|
557
439
|
}
|
|
558
440
|
}
|
|
559
441
|
|
|
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
442
|
/** ########## Tabs ########## **/
|
|
649
443
|
@mixin tab-label-mixin {
|
|
650
444
|
color: map.get(luxpalette.$lux-palette_primary, 400) !important;
|
|
@@ -760,31 +554,6 @@ lux-panel {
|
|
|
760
554
|
}
|
|
761
555
|
}
|
|
762
556
|
|
|
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
557
|
/** ########## File-List ########## **/
|
|
789
558
|
lux-file-list {
|
|
790
559
|
.lux-file-list {
|
package/src/base/_luxstyles.scss
CHANGED
|
@@ -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(
|
|
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,
|
|
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-#{
|
|
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-#{
|
|
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-#{
|
|
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
|
-
|
|
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 {
|
package/src/base/_luxtheme.scss
CHANGED
|
@@ -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(
|
|
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.
|
|
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:
|
|
89
|
+
padding: 8px 24px;
|
|
89
90
|
min-height: 64px;
|
|
90
91
|
font-size: 1rem;
|
|
91
92
|
color: luxcommon.$dark-primary-text;
|
|
@@ -140,6 +141,7 @@ lux-app-header-ac {
|
|
|
140
141
|
|
|
141
142
|
&.nav-item-selected button.lux-button .lux-button-label {
|
|
142
143
|
font-weight: 600;
|
|
144
|
+
height: 33px !important; //Sonst verschiebt sich die Höhe des Labels!
|
|
143
145
|
}
|
|
144
146
|
}
|
|
145
147
|
|
|
@@ -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
|
-
|
|
98
|
-
|
|
99
|
-
|
|
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
|
|
135
|
-
width: 24px
|
|
134
|
+
height: 24px;
|
|
135
|
+
width: 24px;
|
|
136
136
|
|
|
137
|
-
.mat-icon-button {
|
|
138
|
-
height: 24px
|
|
139
|
-
width: 24px
|
|
140
|
-
|
|
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
|
|
146
|
-
width: 24px
|
|
144
|
+
height: 24px;
|
|
145
|
+
width: 24px;
|
|
147
146
|
padding: 0px !important;
|
|
148
147
|
}
|
|
149
148
|
|
|
150
|
-
|
|
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
|
-
|
|
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
|
}
|
|
@@ -331,6 +336,12 @@ lux-chips-ac {
|
|
|
331
336
|
}
|
|
332
337
|
}
|
|
333
338
|
}
|
|
339
|
+
|
|
340
|
+
.lux-hide-input-border .lux-form-control-container-authentic {
|
|
341
|
+
border: none;
|
|
342
|
+
padding: 0;
|
|
343
|
+
box-shadow: none !important; // den Focus-indicator für das Inputausblenden
|
|
344
|
+
}
|
|
334
345
|
}
|
|
335
346
|
.lux-chips-ac-autocomplete-panel.mat-autocomplete-panel,
|
|
336
347
|
.lux-chips-ac-autocomplete-panel-dense.mat-autocomplete-panel {
|