@ihk-gfi/lux-components-theme 11.13.0 → 14.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 (48) hide show
  1. package/README.md +15 -0
  2. package/package.json +7 -7
  3. package/prebuilt-themes/luxtheme-authentic-min.css +1 -0
  4. package/prebuilt-themes/luxtheme-authentic-min.css.map +1 -0
  5. package/prebuilt-themes/{luxtheme-orange.css → luxtheme-authentic.css} +6922 -4856
  6. package/prebuilt-themes/luxtheme-authentic.css.map +1 -0
  7. package/prebuilt-themes/luxtheme-blue-min.css +1 -1
  8. package/prebuilt-themes/luxtheme-blue-min.css.map +1 -1
  9. package/prebuilt-themes/luxtheme-blue.css +4624 -3171
  10. package/prebuilt-themes/luxtheme-blue.css.map +1 -1
  11. package/prebuilt-themes/luxtheme-green-min.css +1 -1
  12. package/prebuilt-themes/luxtheme-green-min.css.map +1 -1
  13. package/prebuilt-themes/luxtheme-green.css +4655 -3196
  14. package/prebuilt-themes/luxtheme-green.css.map +1 -1
  15. package/src/authentic/_custom.scss +873 -0
  16. package/src/authentic/_luxcommon.scss +128 -0
  17. package/src/authentic/_luxpalette.scss +106 -0
  18. package/src/authentic/luxtheme.scss +103 -0
  19. package/src/base/_luxcommon.scss +98 -0
  20. package/src/base/_luxcomponents.scss +521 -167
  21. package/src/base/_luxelevations.scss +49 -0
  22. package/src/base/_luxfocus.scss +220 -102
  23. package/src/base/_luxpalette.scss +9 -0
  24. package/src/base/_luxstyles.scss +162 -112
  25. package/src/base/_luxtheme.scss +10 -6
  26. package/src/base/components/_luxAppHeaderAc.scss +140 -0
  27. package/src/base/components/_luxFormControlWrapper.scss +173 -0
  28. package/src/base/components/_luxFormControlsAuthentic.scss +279 -0
  29. package/src/base/components/_luxLinkPlain.scss +56 -0
  30. package/src/base/components/_luxMasterDetailAc.scss +193 -0
  31. package/src/base/components/_luxTileAc.scss +64 -0
  32. package/src/blue/_custom.scss +101 -8
  33. package/src/blue/_luxcommon.scss +19 -2
  34. package/src/blue/_luxpalette.scss +4 -3
  35. package/src/blue/luxtheme.scss +101 -9
  36. package/src/green/_custom.scss +241 -124
  37. package/src/green/_luxcommon.scss +22 -5
  38. package/src/green/_luxpalette.scss +4 -3
  39. package/src/green/luxtheme.scss +103 -12
  40. package/src/public/global.scss +6 -10
  41. package/CHANGELOG.md +0 -84
  42. package/prebuilt-themes/luxtheme-orange-min.css +0 -1
  43. package/prebuilt-themes/luxtheme-orange-min.css.map +0 -1
  44. package/prebuilt-themes/luxtheme-orange.css.map +0 -1
  45. package/src/orange/_custom.scss +0 -66
  46. package/src/orange/_luxcommon.scss +0 -84
  47. package/src/orange/_luxpalette.scss +0 -106
  48. package/src/orange/luxtheme.scss +0 -10
@@ -0,0 +1,873 @@
1
+ @use "sass:map";
2
+ @use "../base/luxelevations";
3
+ @use "../base/luxfocus";
4
+ @use "@angular/material" as mat;
5
+ @use "../public/global";
6
+ @use "luxcommon";
7
+ @use "luxpalette";
8
+
9
+
10
+ $light-gray: #EFF3F6; //für die Table
11
+
12
+ h1, h2, h3, h4, h5, h6 {
13
+ color: rgba(black, 0.87);
14
+ font-weight: normal;
15
+ font-family: luxcommon.$app-headline-font, luxcommon.$app-font-family;
16
+ }
17
+
18
+ div, span, p, label {
19
+ font-family: luxcommon.$app-font-family;
20
+ }
21
+
22
+ // Stylings für lux-menu-items im cdk-overlay-panel
23
+ .mat-menu-panel{
24
+ border: 2px solid luxpalette.$lux-primary-color;
25
+ box-shadow: none !important;
26
+
27
+ .lux-menu-item {
28
+ color: luxpalette.$lux-primary-color;
29
+ }
30
+
31
+ .mat-menu-item .mat-icon-no-color {
32
+ color: luxpalette.$lux-primary-color;
33
+ }
34
+ }
35
+ lux-menu {
36
+ .lux-menu-extended lux-button.lux-menu-item .lux-button-label {
37
+ font-weight: 400;
38
+ letter-spacing: 1px;
39
+ font-family: luxcommon.$app-font-family;
40
+ }
41
+ }
42
+
43
+ // Optionen werden im Cdk-Overlay dargestellt und hängen nicht unter der Component selbst.
44
+ // eigentlich nur für select-panel nötig
45
+ .lux-autocomplete-panel-ac, .lux-select-panel-ac, .lux-select-panel-ac-multiple {
46
+ .mat-option {
47
+ &.invalid {
48
+ color: luxpalette.$lux-warn-color;
49
+ font-weight: 300;
50
+ }
51
+ }
52
+ }
53
+
54
+ // Hintergrundfarbe
55
+ lux-app-content {
56
+ background-color: #fff; //Fallback
57
+ background-image: luxcommon.$app-gradient;
58
+ }
59
+
60
+ /*
61
+ * Theming for LUX-App-Footer
62
+ */
63
+ lux-app-footer {
64
+ .lux-app-footer {
65
+ border-bottom: 8px solid map.get(luxpalette.$lux-palette_primary, 600);
66
+ }
67
+ }
68
+
69
+ //Tabs außerhalb einer LUX-Card (z.B. Master-Detail)
70
+ lux-tabs {
71
+ div.lux-tab-title {
72
+ font-size: 16px;
73
+ }
74
+ .mat-tab-label:not(.mat-tab-disabled) {
75
+ &:hover:not(.mat-tab-disabled) {
76
+ background-color: luxcommon.$app-data-bg !important;
77
+ }
78
+ }
79
+ }
80
+
81
+ /*
82
+ * Theming for LUX-Table
83
+ */
84
+ lux-table {
85
+ font-family: luxcommon.$app-font-family;
86
+ .lux-table {
87
+ th, .lux-table-header-no-data th {
88
+ vertical-align: middle;
89
+ }
90
+
91
+ th.mat-header-cell, td.mat-cell {
92
+ border: none;
93
+ }
94
+ td.mat-footer-cell {
95
+ border: none;
96
+ border-top: 1px solid luxcommon.$app-border-color;
97
+ font-size: 15px;
98
+ color: luxcommon.$dark-primary-text;
99
+ padding-bottom: 16px;
100
+ }
101
+
102
+ .lux-table-content {
103
+ border: 1px solid luxcommon.$app-border-color;
104
+ border-radius: 4px;
105
+
106
+ table {
107
+ border-spacing: 0 !important;
108
+ td .lux-form-control-container-authentic {
109
+ padding: 0.25em 0.5em; // bei den Form-Controls in einer Tabellen-Zelle wird die Höhe reduziert
110
+ }
111
+ }
112
+
113
+ thead th {
114
+ font-size: 16px;
115
+ color: luxcommon.$dark-primary-text;
116
+ font-weight: 700;
117
+ }
118
+
119
+ .mat-row:nth-child(odd){
120
+ background-color: $light-gray;
121
+ }
122
+ .mat-row:nth-child(even){
123
+ background-color:#ffffff;
124
+ }
125
+ }
126
+
127
+ .lux-paginator-xs:not(.lux-hide) {
128
+ .mat-paginator-container {
129
+ justify-content: flex-end;
130
+ }
131
+ .mat-paginator-range-actions {
132
+ display: flex;
133
+ align-items: center;
134
+ margin-top: 0px;
135
+ button:first-of-type {
136
+ margin-left: 0px;
137
+ }
138
+ }
139
+ .mat-paginator-range-label {
140
+ margin: 0 32px 0 24px;
141
+ }
142
+ }
143
+ }
144
+ }
145
+
146
+ lux-filter-form {
147
+ lux-menu {
148
+ .lux-filter-menu-trigger button:not([disabled]).mat-fab.lux-button-rounded:hover {
149
+ background-color: luxcommon.$lux-hover-color !important;
150
+ }
151
+ .lux-filter-menu-trigger button:not([disabled]).mat-fab.lux-button-rounded:focus-visible {
152
+ background-color: transparent !important;
153
+ }
154
+ }
155
+ }
156
+
157
+ /**
158
+ * Theming für LUX-Card
159
+ */
160
+ lux-card {
161
+ .lux-highlight{
162
+ color: map.get(luxpalette.$lux-palette-primary, 500);
163
+ }
164
+ .mat-card.lux-card {
165
+ border: 1px solid rgba(black, 0.12);
166
+ background-color: #fff;
167
+
168
+ &:not([class*="mat-elevation-z"]) {
169
+ @include luxelevations.lux-elevation-z0;
170
+ }
171
+
172
+ .mat-card-subtitle {
173
+ color: luxcommon.$dark-secondary-text;
174
+ font-size: 16px;
175
+ font-weight: normal;
176
+ font-family: luxcommon.$app-font-family;
177
+ }
178
+ }
179
+ }
180
+
181
+ /*
182
+ * Theming for LUX-Accordion
183
+ */
184
+ lux-accordion lux-panel {
185
+ padding: 0px;
186
+ }
187
+
188
+ mat-expansion-panel.mat-expansion-panel:not([class*="mat-elevation-z"]) {
189
+ @include luxelevations.lux-elevation-z0;
190
+ border: 1px solid rgba(black, 0.12);
191
+ border-radius: 4px;
192
+ }
193
+
194
+ lux-accordion {
195
+ .mat-expansion-panel-header .mat-content {
196
+ flex-direction: column; //damit sind Title und Description untereinander
197
+
198
+ .mat-expansion-panel-header-description {
199
+ margin-top: 4px;
200
+ font-weight: 400;
201
+ }
202
+ }
203
+
204
+ .mat-expansion-panel-header .mat-expansion-indicator::after {
205
+ color: map.get(luxpalette.$lux-palette-primary, 500);
206
+ }
207
+
208
+ mat-expansion-panel-header.mat-expansion-panel-header,
209
+ mat-expansion-panel-header.mat-expansion-panel-header.mat-expanded,
210
+ mat-expansion-panel-header.mat-expansion-panel-header.mat-expanded:focus {
211
+ border-bottom-left-radius: 0px;
212
+ border-bottom-right-radius: 0px;
213
+ font-family: luxcommon.$app-headline-font, luxcommon.$app-font-family;
214
+ font-weight: 500;
215
+
216
+ &[aria-disabled=false] {
217
+ background-color: map.get(luxpalette.$lux-palette-primary, 50);
218
+ color: luxcommon.$dark-primary-text;
219
+ &:hover {
220
+ background-color: map.get(luxpalette.$lux-palette-primary, 100) !important;
221
+ }
222
+ }
223
+ }
224
+ }
225
+
226
+
227
+ /**
228
+ * Theming für lux-Badge-notification
229
+ */
230
+ .lux-badge-notification {
231
+
232
+ &.mat-badge:not(.mat-badge-disabled).mat-badge-accent .mat-badge-content {
233
+ background-color: map.get(luxpalette.$lux-palette_accent, 500);
234
+ }
235
+
236
+ &.mat-badge .mat-badge-content {
237
+ font-family: luxcommon.$app-headline-font, luxcommon.$app-font-family;
238
+ border: 1px solid #fff;
239
+ }
240
+
241
+ &.mat-badge.lux-badge-no-border .mat-badge-content {
242
+ border: 1px solid transparent;
243
+ }
244
+
245
+ &.lux-badge-color-default {
246
+ &.mat-badge:not(.mat-badge-disabled) .mat-badge-content {
247
+ color: white;
248
+ background: map.get(luxcommon.$componentBgColors, 'gray');
249
+ }
250
+ }
251
+ &.mat-badge-disabled .mat-badge-content {
252
+ color: white;
253
+ }
254
+ }
255
+
256
+ /*
257
+ * Theming for LUX-Dialog
258
+ */
259
+ .lux-dialog {
260
+ .lux-dialog-title.mat-dialog-title {
261
+ color: luxcommon.$dark-primary-text;
262
+ font-family: luxcommon.$app-headline-font, luxcommon.$app-font-family;
263
+ }
264
+ .mat-dialog-container {
265
+ @include luxelevations.lux-elevation-z24;
266
+ border:1px solid luxcommon.$dark-disabled-text;
267
+ }
268
+ }
269
+
270
+ /*
271
+ * Theming for LUX-List
272
+ */
273
+ lux-list {
274
+
275
+ .mat-card:not([class*="mat-elevation-z"]) {
276
+ @include luxelevations.lux-elevation-z0;
277
+ }
278
+ .mat-card-content.menu-item-content {
279
+ margin-bottom: 0;
280
+ }
281
+
282
+ &:focus-visible {
283
+ border: luxfocus.$outline-dark;
284
+ border-radius: 4px;
285
+ outline: none;
286
+ }
287
+
288
+ lux-list-item {
289
+ &:focus-visible {
290
+ outline: none;
291
+
292
+ mat-card.mat-card.lux-card {
293
+ @include luxfocus.focus-dark-mixin-inline;
294
+ background-color: #fff !important;
295
+ }
296
+ }
297
+
298
+ lux-card {
299
+ &.lux-list-item-selected {
300
+ mat-card.mat-card.lux-card {
301
+ @include luxfocus.lux-selected-mixin-ac;
302
+ }
303
+ }
304
+
305
+ mat-card {
306
+ @include luxfocus.lux-selectable-mixin;
307
+
308
+ &:hover {
309
+ @include luxfocus.lux-hovered-mixin;
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+
316
+ /*
317
+ * Theming for Side-Nav im Demo
318
+ */
319
+ example-root {
320
+ .example-base-components-list {
321
+
322
+ mat-expansion-panel-header,
323
+ .example-component-list-item {
324
+
325
+ &.example-component-list-item-selected {
326
+ @include luxfocus.lux-selected-mixin-ac;
327
+ }
328
+ }
329
+ }
330
+ }
331
+
332
+ /*
333
+ * Theming for LUX-Master-Detail
334
+ */
335
+ .lux-master-container {
336
+ height: 100%;
337
+ lux-button.lux-master-toggle{
338
+ position: absolute;
339
+ right: -18px;
340
+ top: 18px;
341
+ z-index: 1000;
342
+
343
+ button.lux-button.lux-button-rounded {
344
+ @include luxelevations.lux-elevation-z0;
345
+ border: 1px solid luxcommon.$app-border-color;
346
+ color: map.get(luxpalette.$lux-palette-primary, 500);
347
+
348
+ &:not([disabled]):focus:hover{
349
+ background-color: luxcommon.$lux-hover-color;
350
+ border-radius: 50%
351
+ }
352
+ }
353
+ }
354
+ }
355
+ lux-master-header {
356
+ @include luxelevations.lux-elevation-z0;
357
+ }
358
+ lux-master-footer {
359
+ border: 1px solid luxcommon.$app-border-color;
360
+ border-radius: 4px;
361
+ background-color: luxcommon.$app-data-bg;
362
+ @include luxelevations.lux-elevation-z0;
363
+ }
364
+
365
+ /*
366
+ * Theming for LUX-Message-Box
367
+ */
368
+ lux-message-box {
369
+ border-radius: 4px;
370
+
371
+ &.mat-elevation-z4 {
372
+ @include luxelevations.lux-elevation-z0();
373
+ }
374
+
375
+ .lux-message-box-content{
376
+ margin: 0 !important;
377
+ }
378
+ }
379
+
380
+ /*
381
+ * Theming for LUX-Button
382
+ */
383
+ lux-button button.lux-button {
384
+ //font-family: luxcommon.$app-font-family;
385
+ font-weight: 600;
386
+ font-size: 15px;
387
+ letter-spacing: 1.25px;
388
+ //Theming für den Text-Button
389
+ &.mat-button:not(.mat-button-disabled) {
390
+ &:hover {
391
+ color: luxcommon.$dark-secondary-text;
392
+ background-color: transparent !important;
393
+ }
394
+ &:focus-visible:not(:hover) {
395
+ color: luxcommon.$dark-secondary-text;
396
+ background-color: transparent !important;
397
+ }
398
+ &:active {
399
+ color: luxcommon.$dark-primary-text !important;
400
+ }
401
+
402
+ &.mat-primary {
403
+ &:hover {
404
+ color: map.get(luxpalette.$lux-palette-primary, 300);
405
+ background-color: transparent !important;
406
+ }
407
+ &:focus-visible:not(:hover) {
408
+ color: map.get(luxpalette.$lux-palette-primary, 700)!important;
409
+ background-color: transparent !important;
410
+ }
411
+ &:active {
412
+ color: map.get(luxpalette.$lux-palette-primary, 700)!important;
413
+ }
414
+ }
415
+
416
+ &.mat-accent {
417
+ &:hover {
418
+ color: map.get(luxpalette.$lux-palette-accent, 300)!important;
419
+ background-color: transparent !important;
420
+ }
421
+ &:focus-visible:not(:hover) {
422
+ background-color: transparent !important;
423
+ }
424
+ &:active {
425
+ color: map.get(luxpalette.$lux-palette-accent, 700)!important;
426
+ }
427
+ }
428
+
429
+ &.mat-warn {
430
+ &:hover {
431
+ color: map.get(luxpalette.$lux-palette-warn, 300);;
432
+ background-color: transparent !important;
433
+ }
434
+ &:focus-visible:not(:hover) {
435
+ color: map.get(luxpalette.$lux-palette-warn, 700);
436
+ background-color: transparent !important;
437
+ }
438
+ &:active {
439
+ color: map.get(luxpalette.$lux-palette-warn, 700)!important;
440
+ }
441
+ }
442
+ }
443
+
444
+ //Theming für den Stroked-Button
445
+ &.mat-stroked-button:not(.mat-button-disabled) {
446
+
447
+ border-color: luxcommon.$dark-secondary-text;
448
+
449
+ &:hover {
450
+ color: luxcommon.$dark-secondary-text;
451
+ background-color: transparent !important;
452
+ border-color: luxcommon.$dark-primary-text;
453
+ }
454
+
455
+ &:focus-visible:not(:hover) {
456
+ color: luxcommon.$dark-secondary-text;
457
+ background-color: transparent !important;
458
+ border-color: luxcommon.$dark-primary-text;
459
+ }
460
+ &:active {
461
+ color: luxcommon.$dark-primary-text;
462
+ background-color: transparent !important;
463
+ }
464
+ &.mat-primary {
465
+ border-color: map.get(luxpalette.$lux-palette-primary, 400);
466
+
467
+ &:hover {
468
+ color: map.get(luxpalette.$lux-palette-primary, 300);
469
+ background-color: transparent !important;
470
+ border-color: map.get(luxpalette.$lux-palette-primary, 300);
471
+ }
472
+ &:focus-visible:not(:hover) {
473
+ color: map.get(luxpalette.$lux-palette-primary, 300);
474
+ background-color: transparent !important;
475
+ border-color: map.get(luxpalette.$lux-palette-primary, 700);
476
+ }
477
+ &:active {
478
+ color: map.get(luxpalette.$lux-palette-primary, 700);
479
+ background-color: transparent !important;
480
+ border-color: map.get(luxpalette.$lux-palette-primary, 700);
481
+ }
482
+ }
483
+
484
+ &.mat-accent {
485
+ color: luxcommon.$dark-primary-text;
486
+ border-color: map.get(luxpalette.$lux-palette-accent, 400);
487
+ &:hover {
488
+ color: luxcommon.$dark-secondary-text !important;
489
+ background-color: transparent !important;
490
+ border-color: map.get(luxpalette.$lux-palette-accent, 300);
491
+ }
492
+ &:focus-visible:not(:hover) {
493
+ color: luxcommon.$dark-secondary-text;
494
+ background-color: transparent !important;
495
+ border-color: map.get(luxpalette.$lux-palette-accent, 700);
496
+ }
497
+ &:active {
498
+ color: luxcommon.$dark-primary-text !important;
499
+ background-color: transparent !important;
500
+ border-color: map.get(luxpalette.$lux-palette-accent, 700);
501
+ }
502
+ }
503
+
504
+ &.mat-warn {
505
+ border-color: map.get(luxpalette.$lux-palette-warn, 500);
506
+ &:hover {
507
+ color: map.get(luxpalette.$lux-palette-warn, 300);
508
+ background-color: transparent !important;
509
+ border-color: map.get(luxpalette.$lux-palette-warn, 300);
510
+ }
511
+ &:focus-visible:not(:hover) {
512
+ color: map.get(luxpalette.$lux-palette-warn, 300);
513
+ background-color: transparent !important;
514
+ border-color: map.get(luxpalette.$lux-palette-warn, 700);
515
+ }
516
+ &:active {
517
+ color: map.get(luxpalette.$lux-palette-warn, 700);
518
+ background-color: transparent !important;
519
+ border-color: map.get(luxpalette.$lux-palette-warn, 700);
520
+ }
521
+ }
522
+ }
523
+ &.mat-stroked-button.mat-button-disabled {
524
+ border-color: luxcommon.$dark-disabled-text;
525
+ color: luxcommon.$dark-disabled-text;
526
+ }
527
+
528
+ //Theming für den Raised-Button, Flat-Button, Fab(Rounded)-Button
529
+ &.mat-raised-button:not(.mat-button-disabled),
530
+ &.mat-flat-button:not(.mat-button-disabled),
531
+ &.mat-fab:not(.mat-button-disabled) {
532
+ &:hover {
533
+ color: luxcommon.$dark-secondary-text;
534
+ background-color: #ffffff !important;
535
+ }
536
+
537
+ &:focus-visible:not(:hover) {
538
+ color: luxcommon.$dark-secondary-text;
539
+ background-color: #ffffff !important;
540
+ }
541
+ &:active {
542
+ color: luxcommon.$dark-primary-text;
543
+ background-color: #ffffff !important;
544
+ }
545
+
546
+ &.mat-primary {
547
+ &:hover {
548
+ color: #ffffff;
549
+ background-color: map.get(luxpalette.$lux-palette-primary, 300) !important;
550
+ }
551
+ &:focus-visible:not(:hover) {
552
+ color: #ffffff;
553
+ background-color: map.get(luxpalette.$lux-palette-primary, 700)!important;
554
+ }
555
+ &:active {
556
+ background-color: map.get(luxpalette.$lux-palette-primary, 700) !important;
557
+ }
558
+ }
559
+
560
+ &.mat-accent {
561
+ color: luxcommon.$dark-primary-text;
562
+ &:hover {
563
+ background-color: map.get(luxpalette.$lux-palette-accent, 300) !important;
564
+ }
565
+ &:focus-visible:not(:hover) {
566
+ background-color: map.get(luxpalette.$lux-palette-accent, 700) !important;
567
+ }
568
+ &:active {
569
+ background-color: map.get(luxpalette.$lux-palette-accent, 700) !important;
570
+ }
571
+ }
572
+
573
+ &.mat-warn {
574
+ &:hover {
575
+ color: #ffffff;
576
+ background-color: map.get(luxpalette.$lux-palette-warn, 300) !important;
577
+ }
578
+ &:focus-visible:not(:hover) {
579
+ color: #ffffff;
580
+ background-color: map.get(luxpalette.$lux-palette-warn, 700) !important;
581
+ }
582
+ &:active {
583
+ background-color: map.get(luxpalette.$lux-palette-warn, 700) !important;
584
+ }
585
+ }
586
+ }
587
+
588
+ &.mat-raised-button.mat-button-disabled,
589
+ &.mat-flat-button.mat-button-disabled,
590
+ &.mat-fab.mat-button-disabled {
591
+ color: luxcommon.$dark-disabled-text;
592
+ background-color: luxcommon.$dark-disabled-text !important;
593
+ }
594
+ &.mat-button.mat-button-disabled {
595
+ color: luxcommon.$dark-disabled-text;
596
+ }
597
+
598
+ //Mat-Fab soll in Authentic flat sein
599
+ &.mat-fab,
600
+ &.mat-fab:not(.mat-button-disabled):active {
601
+ @include luxelevations.lux-elevation-z0;
602
+ }
603
+ }
604
+
605
+ /*
606
+ *Theming für Lux-menu
607
+ */
608
+ .lux-menu-trigger-default {
609
+ button.mat-button {
610
+ color: map.get(luxpalette.$lux-palette_primary, 500);
611
+ }
612
+ }
613
+
614
+ /*
615
+ * Theming for LUX-Form-Controls
616
+ * Übergangsweise wird hier nur die Schriftgröße angepasst, damit die Schrift vollständig im Input etc angezeigt wird
617
+ * gilt bis die alten Form-Controls abgelöst sind
618
+ */
619
+ .lux-form-control {
620
+ margin: luxcommon.$form-control-margin;
621
+ min-height: luxcommon.$form-control-complete-height;
622
+
623
+ .lux-form-control-container {
624
+ font-size: 14px;
625
+ input, textarea {
626
+ font-size: 14px !important;
627
+ }
628
+ }
629
+ }
630
+
631
+ /*
632
+ * Theming für Stepper
633
+ */
634
+ lux-stepper {
635
+ lux-stepper-vertical mat-step-header {
636
+
637
+ &[aria-selected="true"] {
638
+ // background-color: $lux-selected-bg-color;
639
+ @include luxfocus.lux-selected-mixin-ac;
640
+ }
641
+
642
+ &[aria-selected="false"] {
643
+ div.mat-step-icon.mat-step-icon-state-number,
644
+ div.mat-step-icon.mat-step-icon-state-edit {
645
+ background-color: #fff ;
646
+ color: luxpalette.$lux-primary-color;
647
+ border: 1px solid luxcommon.$app-border-color;
648
+ }
649
+ div.mat-step-label lux-step-header {
650
+ color: luxpalette.$lux-primary-color;
651
+ }
652
+ }
653
+ }
654
+
655
+ lux-stepper-horizontal mat-step-header{
656
+
657
+ &[aria-selected="true"] {
658
+ div.mat-step-label.mat-step-label-active.mat-step-label-selected lux-step-header {
659
+ font-weight: 500;
660
+ }
661
+ &:after {
662
+ border-bottom: none;
663
+ }
664
+ }
665
+
666
+ &[aria-selected="false"] {
667
+ div.mat-step-icon.mat-step-icon-state-number,
668
+ div.mat-step-icon.mat-step-icon-state-edit {
669
+ background-color: #fff ;
670
+ color: luxpalette.$lux-primary-color;
671
+ border: 1px solid luxcommon.$app-border-color;
672
+ }
673
+ div.mat-step-label lux-step-header {
674
+ color: luxpalette.$lux-primary-color;
675
+ }
676
+ }
677
+ }
678
+
679
+ .lux-ignore-mat-step-icons mat-step-header {
680
+ &[aria-selected="false"] {
681
+ .lux-stepper-edited-icon,
682
+ .lux-stepper-normal-icon {
683
+ i, mat-icon {
684
+ color: luxpalette.$lux-primary-color;
685
+ background-color: #fff;
686
+ border: 1px solid luxcommon.$app-border-color;
687
+ }
688
+ }
689
+ }
690
+ &[aria-selected="true"] {
691
+ .lux-stepper-edited-icon,
692
+ .lux-stepper-normal-icon {
693
+ i, mat-icon {
694
+ color:#fff;
695
+ background-color: luxpalette.$lux-primary-color;
696
+ border: 1px solid luxcommon.$app-border-color;
697
+ }
698
+ }
699
+ }
700
+ }
701
+ }
702
+
703
+
704
+ /*
705
+ * Theming für Stepper-Large
706
+ */
707
+ lux-stepper-large {
708
+ background-color: transparent;
709
+ .lux-stepper-large-nav-container,
710
+ .lux-stepper-large-content-container {
711
+ border: 1px solid luxcommon.$app-border-color;
712
+ border-radius: 4px;
713
+ background-color: luxcommon.$app-content-bg;
714
+ }
715
+
716
+ //Desktop-View
717
+ .lux-stepper-large-nav-item {
718
+ .lux-stepper-large-nav-item-number-container {
719
+ border-radius: 50%;
720
+ }
721
+
722
+ &.lux-active:not(.lux-disabled) {
723
+ a {
724
+ font-weight: 500;
725
+ }
726
+ .lux-stepper-large-nav-item-number-container {
727
+ color: luxcommon.$lux-stepper-large-nav-item-active-fc;
728
+ background-color: luxcommon.$lux-stepper-large-nav-item-active-bg;
729
+ }
730
+
731
+ .lux-stepper-large-nav-item-label {
732
+ color: #003366;
733
+ }
734
+ }
735
+
736
+ &.lux-touched:not(.lux-disabled) {
737
+ a {
738
+ text-decoration: underline;
739
+ font-weight: 500;
740
+ }
741
+
742
+ &.lux-completed:not(.lux-active) {
743
+ .lux-stepper-large-nav-item-number-container {
744
+ border: 1px solid luxcommon.$app-border-color;
745
+ }
746
+
747
+ a {
748
+ color: luxpalette.$lux-accent-color;
749
+ font-weight: 400;
750
+ }
751
+ }
752
+
753
+ &:not(.lux-completed):not(.lux-active) {
754
+ .lux-stepper-large-nav-item-number-container {
755
+ color: luxcommon.$lux-stepper-large-nav-item-completed-fg;
756
+ background-color: luxcommon.$lux-stepper-large-nav-item-completed-bg;
757
+ }
758
+ }
759
+ }
760
+
761
+ &:not(.lux-touched) {
762
+ opacity: 1;
763
+ color: #003366;
764
+
765
+ .lux-stepper-large-nav-item-number-container {
766
+ color: luxpalette.$lux-primary-color;
767
+ background-color: #fff;
768
+ border: 1px solid luxcommon.$app-border-color;
769
+ }
770
+ }
771
+ &.lux-disabled {
772
+
773
+ .lux-stepper-large-nav-item-number-container {
774
+ color: luxcommon.$dark-disabled-text;
775
+ background-color: #fff;
776
+ border: 1px solid luxcommon.$app-border-color;
777
+ }
778
+
779
+ .lux-stepper-large-nav-item-label {
780
+ color: luxcommon.$dark-disabled-text;
781
+
782
+ }
783
+ }
784
+ }
785
+ }
786
+
787
+ //Stepper-Large Mobile-View
788
+ .lux-stepper-large-mobile-nav-header {
789
+ div {
790
+ font-family: luxcommon.$app-headline-font, luxcommon.$app-font-family;
791
+ }
792
+ }
793
+ .lux-stepper-large-mobile-nav-item {
794
+ display: flex;
795
+ flex-direction: row;
796
+ justify-content: flex-start;
797
+ align-items: center;
798
+
799
+ font-size: 18px;
800
+
801
+ .lux-stepper-large-mobile-nav-item-number-container {
802
+ border-radius: 50%;
803
+ }
804
+
805
+ &.lux-active:not(.lux-disabled) {
806
+ a {
807
+ font-weight: 500;
808
+ }
809
+ .lux-stepper-large-mobile-nav-item-number-container {
810
+ color: luxcommon.$lux-stepper-large-nav-item-active-fc;
811
+ background-color: luxcommon.$lux-stepper-large-nav-item-active-bg;
812
+ }
813
+
814
+ .lux-stepper-large-nav-item-label {
815
+ color: #003366;
816
+ }
817
+ }
818
+
819
+ &.lux-touched:not(.lux-disabled) {
820
+ a {
821
+ text-decoration: underline;
822
+ font-weight: 500;
823
+ }
824
+
825
+ &.lux-completed:not(.lux-active) {
826
+ .lux-stepper-large-mobile-nav-item-number-container {
827
+ border: 1px solid luxcommon.$app-border-color;
828
+ }
829
+
830
+ a {
831
+ color: luxpalette.$lux-accent-color;
832
+ font-weight: 400;
833
+ }
834
+ }
835
+
836
+ &:not(.lux-completed):not(.lux-active) {
837
+ .lux-stepper-large-mobile-nav-item-number-container {
838
+ color: luxcommon.$lux-stepper-large-nav-item-completed-fg;
839
+ background-color: luxcommon.$lux-stepper-large-nav-item-completed-bg;
840
+ }
841
+ }
842
+ }
843
+
844
+ &:not(.lux-touched) {
845
+ opacity: 1;
846
+ color: #003366;
847
+
848
+ .lux-stepper-large-mobile-nav-item-number-container {
849
+ color: luxpalette.$lux-primary-color;
850
+ background-color: #fff;
851
+ border: 1px solid luxcommon.$app-border-color;
852
+ }
853
+ }
854
+ &.lux-disabled {
855
+
856
+ .lux-stepper-large-nav-item-number-container {
857
+ color: luxcommon.$dark-disabled-text;
858
+ background-color: #fff;
859
+ border: 1px solid luxcommon.$app-border-color;
860
+ }
861
+
862
+ .lux-stepper-large-mobile-nav-item-label {
863
+ color: luxcommon.$dark-disabled-text;
864
+ }
865
+ }
866
+
867
+ .lux-stepper-large-mobile-nav-item-label-container {
868
+ .lux-stepper-large-mobile-nav-item-complete {
869
+ color: luxcommon.$lux-stepper-large-completed-fc;
870
+ font-size: 18px;
871
+ }
872
+ }
873
+ }