@ihk-gfi/lux-components-theme 11.10.0 → 11.13.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.
@@ -168,6 +168,18 @@ lux-card {
168
168
  * Theming für LUX-Chips
169
169
  */
170
170
  lux-chips {
171
+ .lux-chips-autocomplete-icon {
172
+ color: var(--lux-theme-primary-500);
173
+ font-size: 24px;
174
+ padding-right: 4px;
175
+ cursor: pointer;
176
+
177
+ &.lux-disabled {
178
+ color: var(--lux-theme-dark-disabled-text);
179
+ cursor: default;
180
+ }
181
+ }
182
+
171
183
  .lux-chips {
172
184
  mat-chip {
173
185
  // Löschicon (luxSelected=true)
@@ -198,6 +210,17 @@ lux-chips {
198
210
  }
199
211
  }
200
212
 
213
+ .lux-chips-autocomplete-panel {
214
+ padding: $outline-width;
215
+ margin-left: 6px;
216
+ margin-right: 6px;
217
+ border-radius: 4px;
218
+
219
+ mat-option:not(:last-of-type) {
220
+ margin-bottom: $outline-width;
221
+ }
222
+ }
223
+
201
224
  /*
202
225
  * Theming for LUX-Datepicker
203
226
  */
@@ -300,6 +323,241 @@ lux-file-progress {
300
323
  }
301
324
  }
302
325
 
326
+ /*
327
+ * Theming für Lux-File-Upload
328
+ */
329
+ .lux-file-upload-container {
330
+ display: flex;
331
+ flex-direction: column;
332
+ flex: 1 1 auto;
333
+
334
+ .lux-file-upload-drop-container {
335
+ display: flex;
336
+ flex-direction: column;
337
+ justify-content: space-between;
338
+ align-items: center;
339
+ flex: 1 1 auto;
340
+
341
+ border: 1px solid var(--lux-theme-primary-500);
342
+ border-radius: 4px;
343
+ color: var(--lux-theme-primary-500);
344
+
345
+ .lux-file-upload-drop-label-container {
346
+ display: flex;
347
+ flex-direction: row;
348
+ justify-content: space-between;
349
+ align-items: center;
350
+ flex: 1 1 auto;
351
+ gap: 12px;
352
+
353
+ padding: 24px 48px;
354
+ }
355
+
356
+ .lux-file-upload-drop-container-progress, .lux-file-upload-drop-container-no-progress{
357
+ height: 8px;
358
+ }
359
+
360
+ &.lux-file-upload-drop-container-disabled {
361
+ color: var(--lux-theme-dark-disabled-text);
362
+ background-color: var(--lux-theme-app-data-bg);
363
+ border: 1px solid var(--lux-theme-dark-disabled-text);
364
+
365
+ .lux-file-upload-link {
366
+ cursor: default;
367
+ }
368
+ }
369
+
370
+ &.lux-file-upload-drag-active {
371
+ background-color: var(--lux-theme-selected-bg-color);
372
+ }
373
+
374
+ .lux-file-upload-icon {
375
+ display: flex;
376
+ flex: 0 0 auto;
377
+ }
378
+
379
+ .lux-file-upload-label-container {
380
+ display: flex;
381
+ flex: 1 1 auto;
382
+ }
383
+
384
+ .lux-file-upload-link {
385
+ cursor: pointer;
386
+ text-decoration: underline;
387
+
388
+ white-space: nowrap;
389
+ }
390
+ }
391
+
392
+ .lux-file-upload-error-container {
393
+ display: flex;
394
+ flex-direction: row;
395
+ justify-content: space-between;
396
+ align-items: center;
397
+ flex: 1 1 auto;
398
+ gap: 12px;
399
+
400
+ border: 1px solid var(--lux-theme-warn-500);
401
+ border-radius: 4px;
402
+ color: var(--lux-theme-warn-500);
403
+ padding: 18px 15px 15px 26px;
404
+ margin-bottom: 12px;
405
+
406
+ .lux-file-upload-error-icon {
407
+ display: flex;
408
+ flex: 0 0 30px;
409
+ }
410
+
411
+ .lux-file-upload-error-message {
412
+ display: flex;
413
+ flex: 1 1 auto;
414
+ }
415
+
416
+ .lux-file-upload-error-button {
417
+ display: flex;
418
+ flex: 0 0 auto;
419
+
420
+ button {
421
+ padding: 0;
422
+ margin: 0;
423
+ border-radius: 8px;
424
+ min-width: 40px;
425
+ min-height: 30px;
426
+
427
+ i {
428
+ font-size: 24px;
429
+ }
430
+ }
431
+ }
432
+ }
433
+
434
+ .lux-file-upload-hint-container {
435
+ margin-top: 4px;
436
+ margin-bottom: 12px;
437
+ }
438
+
439
+ .lux-file-upload-no-hint-container {
440
+ min-height: 12px;
441
+ }
442
+
443
+ .lux-file-upload-view-item-container {
444
+ display: flex;
445
+ flex-direction: row;
446
+ justify-content: space-between;
447
+ align-items: center;
448
+ flex: 1 1 auto;
449
+ gap: 12px;
450
+
451
+ background-color: var(--lux-theme-selected-bg-color);
452
+ border: 1px solid var(--lux-theme-accent-500);
453
+ border-radius: 4px;
454
+ color: var(--lux-theme-primary-500);
455
+ padding: 18px 15px 18px 26px;
456
+ margin-bottom: 12px;
457
+
458
+ &.lux-file-upload-view-item-disabled {
459
+ color: var(--lux-theme-dark-disabled-text);
460
+ background-color: var(--lux-theme-app-data-bg);
461
+ border: 1px solid var(--lux-theme-dark-disabled-text);
462
+ }
463
+
464
+ .lux-file-upload-view-item {
465
+ display: flex;
466
+ flex-direction: row;
467
+ justify-content: space-between;
468
+ align-items: center;
469
+ flex: 1 1 auto;
470
+ gap: 12px;
471
+
472
+ .lux-file-upload-view-item-icon {
473
+ display: flex;
474
+ flex: 0 0 30px;
475
+ }
476
+
477
+ .lux-file-upload-view-item-label-container {
478
+ display: flex;
479
+ flex: 1 1 auto;
480
+ }
481
+
482
+ lux-button.lux-file-upload-view-item-delete-button {
483
+ display: flex;
484
+ align-items: center;
485
+
486
+ button {
487
+ padding: 0;
488
+ margin: 0;
489
+ border-radius: 8px;
490
+ min-width: 40px;
491
+ min-height: 30px;
492
+
493
+ i {
494
+ font-size: 24px;
495
+ }
496
+ }
497
+ }
498
+ }
499
+ }
500
+
501
+ /* Die eigentliche File-Inputs und den Download-Anchor blenden wir aus */
502
+ .lux-file-upload-input {
503
+ display: none;
504
+ }
505
+ }
506
+
507
+ .file-upload-dialog-title-container {
508
+ display: flex;
509
+ flex-direction: column;
510
+ gap: 10px;
511
+
512
+ .file-upload-dialog-close-button-container {
513
+ display: flex;
514
+ flex: 1 0 auto;
515
+ justify-content: flex-end;
516
+ align-items: center;
517
+
518
+ .file-upload-dialog-close-button {
519
+ display: flex;
520
+ flex: 0 0 auto;
521
+
522
+ button {
523
+ padding: 0;
524
+ margin: 0;
525
+ border-radius: 8px;
526
+ min-width: 40px;
527
+ min-height: 40px;
528
+
529
+ i,
530
+ mat-icon {
531
+ font-size: 30px !important;
532
+ }
533
+ }
534
+ }
535
+ }
536
+
537
+ .file-upload-dialog-title {
538
+ padding-right: 50px;
539
+ }
540
+
541
+ .file-upload-dialog-content-text {
542
+ padding-bottom: 30px;
543
+ }
544
+ }
545
+
546
+ .file-dialog {
547
+ div.mat-dialog-title.lux-dialog-title {
548
+ font-size: 28px;
549
+ font-weight: normal;
550
+ margin-bottom: 0;
551
+ }
552
+
553
+ p {
554
+ margin: 0;
555
+ padding-top: 12px;
556
+ padding-bottom: 30px;
557
+ }
558
+ }
559
+
560
+
303
561
  /*
304
562
  * Theming for LUX-Form-Controls
305
563
  */
@@ -799,6 +1057,7 @@ lux-stepper-large {
799
1057
 
800
1058
  .lux-stepper-large-container {
801
1059
  display: flex;
1060
+ flex: 1 1 auto;
802
1061
  flex-direction: row;
803
1062
  gap: 30px;
804
1063
 
@@ -835,42 +1094,62 @@ lux-stepper-large {
835
1094
  font-size: 22px;
836
1095
  line-height: 1.5;
837
1096
 
838
- &.lux-active {
839
- font-weight: bold;
840
- }
1097
+ &.lux-active:not(.lux-disabled) {
1098
+ .lux-stepper-large-nav-item-number-container {
1099
+ color: $lux-stepper-large-nav-item-active-fc;
1100
+ background-color: $lux-stepper-large-nav-item-active-bg;
1101
+ }
841
1102
 
842
- &.lux-completed {
843
- color: $lux-stepper-large-completed-fc;
1103
+ .lux-stepper-large-nav-item-label {
1104
+ color: #003366;
1105
+ }
1106
+ }
844
1107
 
1108
+ &.lux-touched:not(.lux-disabled) {
845
1109
  a {
846
1110
  text-decoration: underline;
847
1111
  }
848
- }
849
1112
 
850
- &.lux-disabled {
851
- opacity: 0.6;
852
- }
1113
+ &.lux-completed:not(.lux-active) {
1114
+ .lux-stepper-large-nav-item-number-container {
1115
+ color: $lux-stepper-large-nav-item-completed-fg;
1116
+ background-color: $lux-stepper-large-nav-item-completed-bg;
1117
+ }
853
1118
 
854
- &.lux-completed .lux-stepper-large-nav-item-number-container {
855
- color: $lux-stepper-large-nav-item-completed-fg;
856
- background-color: $lux-stepper-large-nav-item-completed-bg;
857
- }
1119
+ a {
1120
+ color: #2E8533;
1121
+ }
1122
+ }
858
1123
 
859
- &.lux-active .lux-stepper-large-nav-item-number-container {
860
- color: $lux-stepper-large-nav-item-active-fc;
861
- background-color: $lux-stepper-large-nav-item-active-bg;
1124
+ &:not(.lux-completed):not(.lux-active) {
1125
+ .lux-stepper-large-nav-item-number-container {
1126
+ color: $lux-stepper-large-nav-item-completed-fg;
1127
+ background-color: $lux-stepper-large-nav-item-completed-bg;
1128
+ }
1129
+ }
862
1130
  }
863
1131
 
864
- &.lux-touched .lux-stepper-large-nav-item-number-container {
865
- }
1132
+ &:not(.lux-touched) {
1133
+ opacity: 0.6;
1134
+ color: #003366;
866
1135
 
867
- &.lux-disabled .lux-stepper-large-nav-item-number-container {
868
- color: $lux-stepper-large-nav-item-disabled-fg;
869
- background-color: $lux-stepper-large-nav-item-disabled-bg;
1136
+ .lux-stepper-large-nav-item-number-container {
1137
+ color: $lux-stepper-large-nav-item-disabled-fg;
1138
+ background-color: $lux-stepper-large-nav-item-disabled-bg;
1139
+ }
870
1140
  }
871
1141
 
872
- &.lux-disabled .lux-stepper-large-nav-item-label {
873
- color: $lux-stepper-large-nav-item-disabled-fg;
1142
+ &.lux-disabled {
1143
+ opacity: 0.6;
1144
+
1145
+ .lux-stepper-large-nav-item-number-container {
1146
+ color: $lux-stepper-large-nav-item-disabled-fg;
1147
+ background-color: $lux-stepper-large-nav-item-disabled-bg;
1148
+ }
1149
+
1150
+ .lux-stepper-large-nav-item-label {
1151
+ color: $lux-stepper-large-nav-item-disabled-fg;
1152
+ }
874
1153
  }
875
1154
 
876
1155
  .lux-stepper-large-nav-item-number-container {
@@ -442,7 +442,7 @@ lux-button {
442
442
 
443
443
  /** ########## Autocomplete ########## **/
444
444
  // Class, welche das aufgeklappte Panel referenziert
445
- .lux-autocomplete-panel {
445
+ .lux-autocomplete-panel, .lux-chips-autocomplete-panel {
446
446
  mat-option {
447
447
 
448
448
  &:focus {
@@ -698,17 +698,62 @@ lux-message-box {
698
698
 
699
699
  /** ########## Stepper large ########## **/
700
700
  lux-stepper-large {
701
- a {
702
- &:focus {
703
- outline: none;
701
+ .lux-stepper-large-nav-item {
702
+
703
+ // Links allgemein
704
+ a {
705
+ &:focus {
706
+ outline: none;
707
+ }
708
+
709
+ &.lux-focused {
710
+ outline: $outline-dark;
711
+ }
704
712
  }
705
713
 
706
- &:hover {
707
- @include lux-hovered-mixin;
714
+ // Link ausgewählt
715
+ &.lux-active {
716
+ .lux-stepper-large-nav-item-label-container {
717
+ a.lux-stepper-large-nav-item-label-link {
718
+ cursor: text;
719
+ &:hover {
720
+ color: unset;
721
+ }
722
+ }
723
+ }
708
724
  }
709
725
 
710
- &.lux-focused {
711
- @include lux-hovered-mixin;
726
+ // Links nicht ausgewählt
727
+ &:not(.lux-active) {
728
+ &:not(.lux-completed) {
729
+ .lux-stepper-large-nav-item-label-container {
730
+ a.lux-stepper-large-nav-item-label-link {
731
+ &:hover {
732
+ color: #2E8533;
733
+ }
734
+ }
735
+ }
736
+ }
737
+
738
+ &.lux-completed {
739
+ .lux-stepper-large-nav-item-label-container {
740
+ a.lux-stepper-large-nav-item-label-link {
741
+ &:hover {
742
+ color: #56BD66;
743
+ }
744
+ }
745
+ }
746
+ }
712
747
  }
713
748
  }
714
749
  }
750
+
751
+ /** ########## File-Upload ########## **/
752
+ .lux-file-upload-drop-container {
753
+ margin-left: $outline-width;
754
+ margin-right: $outline-width;
755
+
756
+ &:focus {
757
+ outline: $outline-dark;
758
+ }
759
+ }
@@ -6,3 +6,12 @@ lux-tabs {
6
6
  }
7
7
  }
8
8
  }
9
+
10
+ /**
11
+ * Theming für LUX-Chips
12
+ */
13
+ .lux-chips-autocomplete-panel {
14
+ margin-left: 4px;
15
+ margin-right: 4px;
16
+ border-radius: 4px;
17
+ }
@@ -4,7 +4,6 @@
4
4
  @import "../base/luxcomponents";
5
5
  @import "../base/luxfocus";
6
6
  @import "../base/luxstyles";
7
- @import "../base/luxicons";
8
7
  @import "../../node_modules/@angular/material/theming";
9
8
  @import "../base/luxtheme";
10
9
  @import "custom";
@@ -259,6 +259,15 @@ lux-button button.lux-button {
259
259
  }
260
260
  }
261
261
 
262
+ /**
263
+ * Theming für LUX-Chips
264
+ */
265
+ .lux-chips-autocomplete-panel {
266
+ margin-left: 6px;
267
+ margin-right: 6px;
268
+ border-radius: 4px;
269
+ }
270
+
262
271
  /*
263
272
  * Theming for LUX-Menu
264
273
  */
@@ -361,6 +370,10 @@ lux-checkbox, lux-toggle, lux-radio, lux-slider {
361
370
  }
362
371
  }
363
372
 
373
+ .mat-select-value {
374
+ color: currentColor;
375
+ }
376
+
364
377
  lux-input, lux-select, lux-file-input, lux-textarea, lux-autocomplete, lux-datepicker, lux-datetimepicker, lux-chips {
365
378
  & .lux-form-control {
366
379
  margin-right: 4px;
@@ -7,7 +7,6 @@ $outline-width: 1px;
7
7
  $lux-hover-color: #e3ebf5;
8
8
  @import "../base/luxfocus";
9
9
  @import "../base/luxstyles";
10
- @import "../base/luxicons";
11
10
  @import "../../node_modules/@angular/material/theming";
12
11
  @import "../base/luxtheme";
13
12
  @import "custom";
@@ -4,7 +4,6 @@
4
4
  @import "../base/luxcomponents";
5
5
  @import "../base/luxfocus";
6
6
  @import "../base/luxstyles";
7
- @import "../base/luxicons";
8
7
  @import "../../node_modules/@angular/material/theming";
9
8
  @import "../base/luxtheme";
10
9
  @import "custom";
@@ -1,2 +0,0 @@
1
- @import 'https://use.fontawesome.com/releases/v5.13.0/css/all.css';
2
- @import 'https://fonts.googleapis.com/icon?family=Material+Icons';