@ihk-gfi/lux-components-theme 11.6.1 → 11.9.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/CHANGELOG.md +40 -1
- package/README.md +5 -0
- package/package.json +1 -1
- package/prebuilt-themes/luxtheme-blue-min.css +1 -1
- package/prebuilt-themes/luxtheme-blue-min.css.map +1 -1
- package/prebuilt-themes/luxtheme-blue.css +20 -1
- package/prebuilt-themes/luxtheme-blue.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 +298 -1
- package/prebuilt-themes/luxtheme-green.css.map +1 -1
- package/prebuilt-themes/luxtheme-orange-min.css +1 -1
- package/prebuilt-themes/luxtheme-orange-min.css.map +1 -1
- package/prebuilt-themes/luxtheme-orange.css +16 -1
- package/prebuilt-themes/luxtheme-orange.css.map +1 -1
- package/src/base/_luxcomponents.scss +2 -0
- package/src/base/_luxfocus.scss +0 -1
- package/src/base/_luxstyles.scss +13 -0
- package/src/blue/_custom.scss +8 -0
- package/src/blue/_luxcommon.scss +5 -0
- package/src/green/_custom.scss +367 -3
- package/src/green/_luxcommon.scss +5 -0
- package/src/orange/_luxcommon.scss +5 -0
package/src/green/_custom.scss
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
$
|
|
1
|
+
$button-font-size: 18px;
|
|
2
|
+
$light-green: #E4F1E4;
|
|
3
|
+
$light-gray: #EFF3F6;
|
|
4
|
+
$light-blue: #E3EBF5;
|
|
2
5
|
|
|
3
6
|
body {
|
|
4
7
|
color: #003366;
|
|
@@ -37,7 +40,7 @@ lux-app-footer {
|
|
|
37
40
|
> lux-button {
|
|
38
41
|
button {
|
|
39
42
|
&.lux-button {
|
|
40
|
-
font-size: $
|
|
43
|
+
font-size: $button-font-size;
|
|
41
44
|
}
|
|
42
45
|
}
|
|
43
46
|
}
|
|
@@ -213,7 +216,7 @@ lux-button button.lux-button {
|
|
|
213
216
|
&.mat-button, &.mat-raised-button {
|
|
214
217
|
border-radius: 18px;
|
|
215
218
|
height: $button-height;
|
|
216
|
-
font-size: $
|
|
219
|
+
font-size: $button-font-size;
|
|
217
220
|
margin-left: $outline-width;
|
|
218
221
|
margin-right: $outline-width;
|
|
219
222
|
}
|
|
@@ -326,3 +329,364 @@ lux-tile {
|
|
|
326
329
|
}
|
|
327
330
|
|
|
328
331
|
}
|
|
332
|
+
|
|
333
|
+
/*
|
|
334
|
+
* Theming for LUX-Form-Controls
|
|
335
|
+
*/
|
|
336
|
+
$form-control-padding: 10px 5px 10px 5px;
|
|
337
|
+
$form-control-label-padding-bottom: 4px;
|
|
338
|
+
$form-control-border-radius: 4px;
|
|
339
|
+
$form-control-old-border-bottom: 0px;
|
|
340
|
+
|
|
341
|
+
lux-checkbox, lux-toggle, lux-radio, lux-slider {
|
|
342
|
+
& .lux-form-control {
|
|
343
|
+
margin-right: 4px;
|
|
344
|
+
margin-left: 4px;
|
|
345
|
+
|
|
346
|
+
.lux-form-control-label {
|
|
347
|
+
padding-bottom: $form-control-label-padding-bottom;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.lux-form-control-container {
|
|
351
|
+
padding: 10px 0px;
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.lux-form-control:not(.lux-form-control-disabled), .lux-form-control:not(.lux-form-control-disabled).lux-focused {
|
|
356
|
+
.lux-form-control-label {
|
|
357
|
+
> * {
|
|
358
|
+
color: $dark-secondary-text;
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
lux-input, lux-select, lux-file-input, lux-textarea, lux-autocomplete, lux-datepicker, lux-datetimepicker, lux-chips {
|
|
365
|
+
& .lux-form-control {
|
|
366
|
+
margin-right: 4px;
|
|
367
|
+
margin-left: 4px;
|
|
368
|
+
|
|
369
|
+
.lux-form-control-label {
|
|
370
|
+
padding-bottom: $form-control-label-padding-bottom;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.lux-form-control-container {
|
|
374
|
+
border: 1px solid $form-border-color;
|
|
375
|
+
border-radius: $form-control-border-radius;
|
|
376
|
+
padding: $form-control-padding;
|
|
377
|
+
|
|
378
|
+
&:after {
|
|
379
|
+
border-bottom: $form-control-old-border-bottom;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.lux-label, mat-hint, mat-error {
|
|
384
|
+
color: $dark-secondary-text;
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.lux-form-control-error {
|
|
389
|
+
.lux-form-control-label {
|
|
390
|
+
> * {
|
|
391
|
+
color: $lux-warn-color !important;
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
.lux-form-control-container {
|
|
396
|
+
border-color: $lux-selected-border-color !important;
|
|
397
|
+
box-shadow: 0 0 0 2px $lux-warn-color, 0 0 4px 2px $lux-warn-color;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.lux-form-control-misc {
|
|
401
|
+
> * {
|
|
402
|
+
color: $lux-warn-color !important;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.lux-form-control-disabled {
|
|
408
|
+
.lux-form-control-container {
|
|
409
|
+
color: $dark-disabled-text !important;
|
|
410
|
+
border: 1px dashed $dark-disabled-text !important;
|
|
411
|
+
border-radius: $form-control-border-radius;
|
|
412
|
+
padding: $form-control-padding;
|
|
413
|
+
|
|
414
|
+
&:after {
|
|
415
|
+
border-bottom: $form-control-old-border-bottom;
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.lux-form-control:not(.lux-form-control-disabled).lux-focused {
|
|
421
|
+
.lux-form-control-label {
|
|
422
|
+
> * {
|
|
423
|
+
color: $dark-secondary-text;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.lux-form-control-container {
|
|
428
|
+
box-shadow: 0 0 0 2px $lux-selected-border-color, 0 0 4px 2px $lux-selected-border-color;
|
|
429
|
+
|
|
430
|
+
&:after {
|
|
431
|
+
border-bottom: $form-control-old-border-bottom;
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.lux-form-control-error {
|
|
438
|
+
.lux-form-control-label {
|
|
439
|
+
> * {
|
|
440
|
+
color: $lux-warn-color !important;
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.lux-form-control-container {
|
|
445
|
+
border-color: $lux-warn-color !important;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.lux-form-control-misc {
|
|
449
|
+
> * {
|
|
450
|
+
color: $lux-warn-color !important;
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
/*
|
|
456
|
+
* Theming für LUX-Checkbox
|
|
457
|
+
*/
|
|
458
|
+
lux-checkbox {
|
|
459
|
+
|
|
460
|
+
.mat-checkbox-disabled .mat-checkbox-inner-container{
|
|
461
|
+
border: 1px solid $dark-disabled-text;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
.mat-checkbox-inner-container {
|
|
465
|
+
border-radius: 4px;
|
|
466
|
+
border: 1px solid map-get($lux-palette_primary, 500);
|
|
467
|
+
// wegen der Border
|
|
468
|
+
height: 18px !important;
|
|
469
|
+
width: 18px !important;
|
|
470
|
+
|
|
471
|
+
.mat-checkbox-frame {
|
|
472
|
+
border: none;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.mat-checkbox-background .mat-checkbox-checkmark {
|
|
476
|
+
border-radius: 2px; // bei 4px ist ein grüner Rand zu sehen
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
/*
|
|
482
|
+
* Theming für LUX-Table
|
|
483
|
+
*/
|
|
484
|
+
lux-table {
|
|
485
|
+
|
|
486
|
+
table.mat-table.cdk-table.mat-sort.lux-multiselect-table {
|
|
487
|
+
border-spacing: 0px 0px !important;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
.mat-header-row:not(.lux-table-header-no-data) {
|
|
491
|
+
background-color: $light-green;
|
|
492
|
+
}
|
|
493
|
+
.mat-row:nth-child(even){
|
|
494
|
+
background-color: $light-gray;
|
|
495
|
+
}
|
|
496
|
+
.mat-row:nth-child(odd){
|
|
497
|
+
background-color:#ffffff;
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
/*
|
|
502
|
+
* Theming für LUX-Tabs.
|
|
503
|
+
*/
|
|
504
|
+
// Tabs außerhalb einer LUX-Card (z.B. Master-Detail)
|
|
505
|
+
lux-tabs {
|
|
506
|
+
.mat-tab-label-active:not(.mat-tab-disabled) {
|
|
507
|
+
background-color: $lux-hover-color-for-dark-background;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
div.lux-tab-title {
|
|
511
|
+
font-family: "Korb", "Source Code Pro", "Helvetica", "Arial", "sans-serif";
|
|
512
|
+
font-size: 22px;
|
|
513
|
+
font-weight: 700;
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
// Tabs innerhalb einer LUX-Card
|
|
518
|
+
mat-card lux-tabs {
|
|
519
|
+
.mat-tab-label-active:not(.mat-tab-disabled) {
|
|
520
|
+
background-color: $lux-hover-color-for-dark-background;
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
/*
|
|
525
|
+
* Theming für LUX-Radio-Buttons
|
|
526
|
+
*/
|
|
527
|
+
lux-radio {
|
|
528
|
+
|
|
529
|
+
.mat-radio-outer-circle{
|
|
530
|
+
border: 1.5px solid map-get($lux-palette_primary, 500);
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
.mat-radio-inner-circle{
|
|
534
|
+
// Checkmark-Symbol mit css gezeichnet, anstatt des inneren Kreises
|
|
535
|
+
border-radius:2px;
|
|
536
|
+
background-color: transparent!important;
|
|
537
|
+
border-bottom: 5px solid white;
|
|
538
|
+
border-right: 5px solid white;
|
|
539
|
+
height: 32px;
|
|
540
|
+
width: 14px;
|
|
541
|
+
margin-top: -8px;
|
|
542
|
+
margin-left: 3px;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
.mat-radio-checked {
|
|
546
|
+
.mat-radio-outer-circle {
|
|
547
|
+
background: map-get($lux-palette_primary, 500);
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
&.mat-radio-disabled .mat-radio-outer-circle {
|
|
551
|
+
background: $dark-disabled-text;
|
|
552
|
+
border: none;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
&.mat-radio-disabled label .mat-radio-container {
|
|
556
|
+
span.mat-radio-inner-circle {
|
|
557
|
+
background-color: $dark-disabled-text;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
span.mat-radio-outer-circle {
|
|
561
|
+
border-color: $dark-disabled-text;
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
.mat-radio-disabled label.mat-radio-label {
|
|
567
|
+
.mat-radio-label-content {
|
|
568
|
+
color: $dark-disabled-text;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
.mat-radio-container {
|
|
572
|
+
span.mat-radio-inner-circle {
|
|
573
|
+
background-color: $dark-disabled-text;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
span.mat-radio-outer-circle {
|
|
577
|
+
border-color: $dark-disabled-text;
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
.mat-radio-checked .mat-radio-inner-circle{
|
|
583
|
+
transform: rotate(45deg) scale(0.4);
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
.mat-radio-button .mat-radio-ripple{
|
|
587
|
+
height: 20px; /*double of your required circle radius*/
|
|
588
|
+
width: 20px; /*double of your required circle radius*/
|
|
589
|
+
left: calc(50% - 10px); /*'10px'-same as your required circle radius*/
|
|
590
|
+
top: calc(50% - 10px); /*'10px'-same as your required circle radius */
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
/*
|
|
595
|
+
* Mixin für den Datepicker und Datetimepicker
|
|
596
|
+
*/
|
|
597
|
+
@mixin datepicker-content {
|
|
598
|
+
.mat-calendar-content {
|
|
599
|
+
padding: 0px 10px 10px 10px;
|
|
600
|
+
|
|
601
|
+
th {
|
|
602
|
+
font-size: 18px;
|
|
603
|
+
color: map-get($lux-palette_primary, 500);
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
td.mat-calendar-body-cell {
|
|
607
|
+
|
|
608
|
+
&:after {
|
|
609
|
+
background-color: white;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
&:hover > div {
|
|
613
|
+
border-radius: 2px;
|
|
614
|
+
background-color:map-get($lux-palette_accent, 300) !important;
|
|
615
|
+
color: map-get($lux-palette_primary, 500);
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
& > div {
|
|
619
|
+
border-radius: 2px;
|
|
620
|
+
background-color: $light-blue;
|
|
621
|
+
font-size: 18px;
|
|
622
|
+
color: map-get($lux-palette_primary, 500);
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
.mat-calendar-body-cell-content.mat-focus-indicator.mat-calendar-body-selected {
|
|
627
|
+
border-radius: 2px;
|
|
628
|
+
background-color: map-get($lux-palette_primary, 500);
|
|
629
|
+
color: $light-blue;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
// Ausblenden des zusätzlichen Monatslabels
|
|
633
|
+
.mat-calendar-body-label:not(:last-of-type) {
|
|
634
|
+
visibility: hidden;
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
.mat-calendar-body-label:last-of-type, th.mat-calendar-table-header-divider {
|
|
638
|
+
display: none;
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
/*
|
|
644
|
+
* Theming für Lux-Datepicker-Custom-Header
|
|
645
|
+
*/
|
|
646
|
+
.lux-datepicker-custom-header-component {
|
|
647
|
+
display: flex;
|
|
648
|
+
align-items: center;
|
|
649
|
+
justify-content: space-between;
|
|
650
|
+
padding: 10px 10px 18px 10px;
|
|
651
|
+
|
|
652
|
+
button, .mat-icon-button {
|
|
653
|
+
font-size: 18px;
|
|
654
|
+
color: map-get($lux-palette_primary, 500);
|
|
655
|
+
|
|
656
|
+
.mat-button-focus-overlay {
|
|
657
|
+
display: none;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
&:focus {
|
|
661
|
+
@include focus-dark-mixin;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
&:hover {
|
|
665
|
+
@include lux-hovered-mixin;
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
/*
|
|
671
|
+
* Theming für Lux-Datepicker
|
|
672
|
+
*/
|
|
673
|
+
.lux-datepicker-panel {
|
|
674
|
+
|
|
675
|
+
.mat-calendar.mat-datepicker-content {
|
|
676
|
+
min-height: 350px;
|
|
677
|
+
}
|
|
678
|
+
@include datepicker-content();
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
|
|
683
|
+
/*
|
|
684
|
+
* Theming für Lux-Datetime-Picker
|
|
685
|
+
*/
|
|
686
|
+
.lux-datetime-overlay-content {
|
|
687
|
+
|
|
688
|
+
.mat-calendar.lux-datetime-overlay-calendar {
|
|
689
|
+
min-height: 340px ;
|
|
690
|
+
}
|
|
691
|
+
@include datepicker-content();
|
|
692
|
+
}
|
|
@@ -19,6 +19,11 @@ $app-data-bg: #ffffff;
|
|
|
19
19
|
|
|
20
20
|
// Form
|
|
21
21
|
$form-border-color: rgba(0, 0, 0, 0.42);
|
|
22
|
+
$form-control-default-height-not-scalable: 40px;
|
|
23
|
+
$form-control-height: 24px;
|
|
24
|
+
$form-control-height-small: 18px;
|
|
25
|
+
$form-control-font-size: 15px;
|
|
26
|
+
$form-control-font-size-small: 12px;
|
|
22
27
|
|
|
23
28
|
// Button
|
|
24
29
|
$button-height: 45px;
|
|
@@ -19,6 +19,11 @@ $app-data-bg: #ffffff;
|
|
|
19
19
|
|
|
20
20
|
// Form
|
|
21
21
|
$form-border-color: rgba(0, 0, 0, 0.42);
|
|
22
|
+
$form-control-default-height-not-scalable: 30px;
|
|
23
|
+
$form-control-height: 24px;
|
|
24
|
+
$form-control-height-small: 18px;
|
|
25
|
+
$form-control-font-size: 15px;
|
|
26
|
+
$form-control-font-size-small: 12px;
|
|
22
27
|
|
|
23
28
|
// Button
|
|
24
29
|
$button-height: 45px;
|