@ihk-gfi/lux-components-theme 19.2.0 → 21.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 (122) hide show
  1. package/README.md +123 -174
  2. package/package.json +17 -10
  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 +9469 -11429
  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 +9411 -11645
  10. package/prebuilt-themes/luxtheme-green.css.map +1 -1
  11. package/src/base-templates/common/_luxbreakpoints.scss +96 -0
  12. package/src/{base → base-templates/common}/_luxelevations.scss +1 -1
  13. package/src/base-templates/common/_luxfocus.scss +84 -0
  14. package/src/{base → base-templates/common}/_luxlayout.scss +0 -1
  15. package/src/base-templates/common/_luxstyles.scss +510 -0
  16. package/src/base-templates/components/_luxAccordion.scss +137 -0
  17. package/src/base-templates/components/_luxAppContent.scss +4 -0
  18. package/src/{base → base-templates}/components/_luxAppFooter.scss +2 -6
  19. package/src/{base → base-templates}/components/_luxAppHeader.scss +66 -76
  20. package/src/base-templates/components/_luxAppHeaderAc.scss +147 -0
  21. package/src/base-templates/components/_luxAppHeaderAcSessionTimer.scss +95 -0
  22. package/src/base-templates/components/_luxAutocomplete.scss +24 -0
  23. package/src/base-templates/components/_luxBadge.scss +40 -0
  24. package/src/base-templates/components/_luxBadgeNotification.scss +53 -0
  25. package/src/{base → base-templates}/components/_luxBreadcrumb.scss +5 -8
  26. package/src/base-templates/components/_luxButton.scss +107 -0
  27. package/src/base-templates/components/_luxButtonFlat.scss +53 -0
  28. package/src/base-templates/components/_luxButtonRaised.scss +80 -0
  29. package/src/base-templates/components/_luxButtonRounded.scss +83 -0
  30. package/src/base-templates/components/_luxButtonRoundedStroked.scss +76 -0
  31. package/src/base-templates/components/_luxButtonSpinner.scss +90 -0
  32. package/src/base-templates/components/_luxButtonStroked.scss +45 -0
  33. package/src/base-templates/components/_luxCard.scss +133 -0
  34. package/src/base-templates/components/_luxCheckbox.scss +11 -0
  35. package/src/{base → base-templates}/components/_luxCheckboxContainerAc.scss +6 -4
  36. package/src/base-templates/components/_luxChips.scss +123 -0
  37. package/src/base-templates/components/_luxCore.scss +26 -0
  38. package/src/base-templates/components/_luxDatepicker.scss +65 -0
  39. package/src/base-templates/components/_luxDatetimepicker.scss +17 -0
  40. package/src/{base → base-templates}/components/_luxDialog.scss +22 -16
  41. package/src/base-templates/components/_luxDivider.scss +10 -0
  42. package/src/{base → base-templates}/components/_luxErrorPage.scss +0 -4
  43. package/src/base-templates/components/_luxFileList.scss +55 -0
  44. package/src/{base → base-templates}/components/_luxFilePreview.scss +1 -4
  45. package/src/base-templates/components/_luxFileProgress.scss +13 -0
  46. package/src/base-templates/components/_luxFileUpload.scss +271 -0
  47. package/src/base-templates/components/_luxFileinput.scss +27 -0
  48. package/src/{base → base-templates}/components/_luxFilter.scss +31 -5
  49. package/src/base-templates/components/_luxFormControlWrapper.scss +276 -0
  50. package/src/base-templates/components/_luxHtml.scss +8 -0
  51. package/src/base-templates/components/_luxIcon.scss +53 -0
  52. package/src/base-templates/components/_luxInput.scss +30 -0
  53. package/src/{base → base-templates}/components/_luxLinkPlain.scss +12 -13
  54. package/src/{base → base-templates}/components/_luxList.scss +5 -8
  55. package/src/base-templates/components/_luxLookupAutocomplete.scss +6 -0
  56. package/src/base-templates/components/_luxLookupCombobox.scss +30 -0
  57. package/src/{base → base-templates}/components/_luxMasterDetailAc.scss +17 -34
  58. package/src/base-templates/components/_luxMenu.scss +270 -0
  59. package/src/base-templates/components/_luxMessagebox.scss +119 -0
  60. package/src/base-templates/components/_luxPopup.scss +54 -0
  61. package/src/base-templates/components/_luxProgressBar.scss +103 -0
  62. package/src/base-templates/components/_luxProgressSpinner.scss +94 -0
  63. package/src/base-templates/components/_luxRadioButton.scss +32 -0
  64. package/src/base-templates/components/_luxSelect.scss +42 -0
  65. package/src/base-templates/components/_luxSideNav.scss +93 -0
  66. package/src/base-templates/components/_luxSlider.scss +17 -0
  67. package/src/base-templates/components/_luxSnackbar.scss +41 -0
  68. package/src/{base → base-templates}/components/_luxStepper.scss +33 -129
  69. package/src/base-templates/components/_luxStepperLarge.scss +435 -0
  70. package/src/{base → base-templates}/components/_luxTable.scss +29 -63
  71. package/src/{base → base-templates}/components/_luxTabs.scss +32 -67
  72. package/src/base-templates/components/_luxTextarea.scss +16 -0
  73. package/src/base-templates/components/_luxTextbox.scss +83 -0
  74. package/src/{base → base-templates}/components/_luxTile.scss +12 -17
  75. package/src/base-templates/components/_luxTileAc.scss +71 -0
  76. package/src/base-templates/components/_luxToggle.scss +19 -0
  77. package/src/base-templates/components/_luxToolTip.scss +8 -0
  78. package/src/{base → base-templates}/components/_luxTourHint.scss +11 -7
  79. package/src/theme-authentic/_mat3Theme.scss +135 -0
  80. package/src/theme-authentic/_palettes.scss +183 -0
  81. package/src/theme-authentic/_variables.scss +486 -0
  82. package/src/theme-authentic/_variablesPreferContrast.scss +76 -0
  83. package/src/theme-authentic/lux-authentic.scss +69 -0
  84. package/src/theme-green/_mat3Theme.scss +134 -0
  85. package/src/theme-green/_palettes.scss +182 -0
  86. package/src/theme-green/_variables.scss +487 -0
  87. package/src/theme-green/_variablesPreferContrast.scss +76 -0
  88. package/src/theme-green/lux-green.scss +68 -0
  89. package/src/authentic/_custom.scss +0 -609
  90. package/src/authentic/_custombutton.scss +0 -143
  91. package/src/authentic/_luxcommon.scss +0 -138
  92. package/src/authentic/_luxpalette.scss +0 -230
  93. package/src/authentic/luxtheme.scss +0 -113
  94. package/src/base/_luxbreakpoints.scss +0 -94
  95. package/src/base/_luxcommon.scss +0 -104
  96. package/src/base/_luxcomponents.scss +0 -843
  97. package/src/base/_luxfocus.scss +0 -429
  98. package/src/base/_luxpalette.scss +0 -10
  99. package/src/base/_luxstyles.scss +0 -723
  100. package/src/base/_luxtheme.scss +0 -23
  101. package/src/base/components/_luxAppHeaderAc.scss +0 -214
  102. package/src/base/components/_luxBadge.scss +0 -62
  103. package/src/base/components/_luxButton.scss +0 -283
  104. package/src/base/components/_luxCard.scss +0 -179
  105. package/src/base/components/_luxFormControlWrapper.scss +0 -205
  106. package/src/base/components/_luxFormControlsAuthentic.scss +0 -709
  107. package/src/base/components/_luxIcon.scss +0 -41
  108. package/src/base/components/_luxMenu.scss +0 -314
  109. package/src/base/components/_luxMessagebox.scss +0 -156
  110. package/src/base/components/_luxProgressBar.scss +0 -5
  111. package/src/base/components/_luxProgressSpinner.scss +0 -13
  112. package/src/base/components/_luxSnackbar.scss +0 -77
  113. package/src/base/components/_luxTextbox.scss +0 -91
  114. package/src/base/components/_luxTileAc.scss +0 -87
  115. package/src/base/components/_luxToolTip.scss +0 -5
  116. package/src/green/_custom.scss +0 -1125
  117. package/src/green/_luxcommon.scss +0 -117
  118. package/src/green/_luxpalette.scss +0 -231
  119. package/src/green/luxtheme.scss +0 -117
  120. package/src/public/global.scss +0 -113
  121. /package/src/{base → base-templates/common}/_luxSvgIcons.scss +0 -0
  122. /package/src/{base → base-templates/common}/_luxfonts.scss +0 -0
@@ -1,10 +1,27 @@
1
- @use "../luxcommon";
2
- @use "../luxpalette";
3
- @use "../luxfocus";
4
- @use "../luxbreakpoints";
5
- @use "sass:map";
1
+ @use "@angular/material" as mat;
2
+ @use "../common/luxfocus";
3
+ @use "../common/luxbreakpoints";
6
4
 
7
5
  lux-table {
6
+ @include mat.table-overrides(
7
+ (
8
+ header-headline-color: var(--lux-theme-dark-primary-text),
9
+ header-headline-size: 1rem,
10
+ header-headline-weight: 700,
11
+ footer-supporting-text-size: 0.9375rem,
12
+ header-container-height: auto
13
+ )
14
+ );
15
+
16
+ // Paginator - Select für Seitenanzahl
17
+ .lux-table-paginator {
18
+ @include mat.form-field-overrides(
19
+ (
20
+ filled-container-color: transparent
21
+ )
22
+ );
23
+ }
24
+
8
25
  display: flex;
9
26
  height: 100%;
10
27
 
@@ -14,12 +31,8 @@ lux-table {
14
31
  padding-left: 24px;
15
32
  }
16
33
 
17
- table.mat-mdc-table {
18
- font-family: luxcommon.$app-font-family;
19
- }
20
-
21
34
  .lux-row-selected {
22
- background-color: luxcommon.$lux-selected-bg-color;
35
+ background-color: var(--lux-theme-selected-bg-color);
23
36
  }
24
37
 
25
38
  .lux-table {
@@ -34,23 +47,13 @@ lux-table {
34
47
  box-sizing: border-box;
35
48
  }
36
49
 
37
- th,
38
50
  .lux-table-header-no-data th {
39
51
  vertical-align: middle;
40
52
  height: 30px;
41
53
  }
42
54
 
43
- td,
44
- th {
45
- padding: 0.5em 1em;
46
- }
47
-
48
55
  th {
49
- padding-top: 1em;
50
- }
51
-
52
- tr.mat-mdc-header-row {
53
- height: auto;
56
+ padding: 1rem 1rem 0.5rem 1rem;
54
57
  }
55
58
 
56
59
  th.mat-mdc-header-cell,
@@ -61,9 +64,8 @@ lux-table {
61
64
 
62
65
  td.mat-mdc-footer-cell {
63
66
  border: none;
64
- border-top: 1px solid luxcommon.$app-border-color;
65
- font-size: 0.9375rem;
66
- color: luxcommon.$dark-primary-text;
67
+ border-top: 1px solid var(--lux-theme-app-border-color);
68
+ color: var(--lux-theme-dark-primary-text);
67
69
  padding-bottom: 1em;
68
70
  }
69
71
 
@@ -85,25 +87,13 @@ lux-table {
85
87
  border-radius: 4px;
86
88
 
87
89
  &:not(.lux-hide-borders) {
88
- border: 1px solid luxcommon.$app-border-color;
90
+ border: 1px solid var(--lux-theme-app-border-color);
89
91
  }
90
92
 
91
93
  table {
92
94
  width: 100%;
93
95
  border-spacing: 0 !important;
94
96
 
95
- td .lux-form-control-wrapper {
96
- margin: 0;
97
-
98
- .lux-form-control-container-authentic {
99
- padding: 0.25em 0.5em; // bei den Form-Controls in einer Tabellen-Zelle wird die Höhe reduziert
100
-
101
- &.lux-no-input-row {
102
- padding: 0em;
103
- }
104
- }
105
- }
106
-
107
97
  tbody tr:last-of-type td {
108
98
  border-bottom: none;
109
99
  }
@@ -123,14 +113,8 @@ lux-table {
123
113
  }
124
114
  }
125
115
 
126
- thead th {
127
- font-size: 1rem;
128
- color: luxcommon.$dark-primary-text;
129
- font-weight: 700;
130
- }
131
-
132
116
  .mat-mdc-row:nth-child(odd) {
133
- background-color: #f0f3f6;
117
+ background-color: var(--lux-theme-tabble-alternate-row-bg-color);
134
118
  }
135
119
 
136
120
  .mat-mdc-row:nth-child(even) {
@@ -151,15 +135,6 @@ lux-table {
151
135
  }
152
136
  }
153
137
 
154
- .mat-mdc-paginator,
155
- .mat-mdc-paginator-page-size .mat-mdc-select-trigger {
156
- font-size: 0.75rem;
157
-
158
- .mdc-text-field--filled:not(.mdc-text-field--disabled) {
159
- background-color: #ffffff;
160
- }
161
- }
162
-
163
138
  .lux-table-overlay {
164
139
  -webkit-transition: opacity 1s;
165
140
  -moz-transition: opacity 1s;
@@ -219,10 +194,6 @@ lux-table {
219
194
  height: 0;
220
195
  }
221
196
 
222
- lux-checkbox-ac .mat-mdc-checkbox-inner-container {
223
- margin: 0px;
224
- }
225
-
226
197
  @include luxbreakpoints.xs {
227
198
  .lux-table-filter-input {
228
199
  max-width: 100%;
@@ -233,11 +204,6 @@ lux-table {
233
204
  }
234
205
  }
235
206
 
236
- .lux-form-control-readonly-authentic {
237
- // damit die Events der eigentliche Checkbox nicht zusätzlich gezählt werden
238
- pointer-events: none;
239
- }
240
-
241
207
  .lux-element-align-top {
242
208
  vertical-align: text-top;
243
209
  }
@@ -251,7 +217,7 @@ lux-table {
251
217
  }
252
218
 
253
219
  .lux-row-selected:focus-visible {
254
- background-color: luxcommon.$lux-hover-color !important;
220
+ background-color: var(--lux-theme-hover-color) !important;
255
221
  outline: none;
256
222
  }
257
223
 
@@ -1,18 +1,29 @@
1
- @use "sass:map";
2
- @use "../luxpalette";
3
- @use "../luxcommon";
4
- @use "../luxfocus";
5
- @use "../luxbreakpoints";
1
+ @use "@angular/material" as mat;
2
+ @use "../common/luxfocus";
3
+ @use "../common/luxbreakpoints";
6
4
 
7
5
  lux-tabs {
8
- .mat-tab-nav-bar,
9
- .mat-tab-header {
10
- border-color: luxcommon.$app-border-color;
11
- font-size: 1rem;
12
- }
13
-
14
- .mat-mdc-tab-label-container {
15
- border: none;
6
+ @include mat.tabs-overrides(
7
+ (
8
+ label-text-font: var(--lux-theme-tabs-text-font),
9
+ label-text-size: var(--lux-theme-tabs-label-text-size),
10
+ label-text-weight: var(--lux-theme-tabs-label-text-weight),
11
+ active-label-text-color: var(--lux-theme-primary-20),
12
+ active-focus-label-text-color: var(--lux-theme-primary-20),
13
+ active-hover-label-text-color: var(--lux-theme-primary-20),
14
+ active-indicator-height: 4px,
15
+ active-indicator-shape: var(--lux-theme-app-border-radius),
16
+ inactive-label-text-color: var(--lux-theme-primary-20),
17
+ inactive-hover-label-text-color: var(--lux-theme-primary-20),
18
+ divider-height: 1px,
19
+ divider-color: var(--lux-theme-app-border-color)
20
+ )
21
+ );
22
+
23
+ mat-tab-group:not(.lux-tabs-show-divider) {
24
+ @include mat.tabs-overrides((
25
+ divider-height: 0,
26
+ ));
16
27
  }
17
28
 
18
29
  .mdc-tab {
@@ -21,19 +32,13 @@ lux-tabs {
21
32
  }
22
33
 
23
34
  mat-tab-group div[role="tab"] {
24
- font-size: 0.875rem;
25
- font-weight: 600;
26
35
  letter-spacing: normal;
27
36
  min-height: unset !important;
28
37
  height: unset !important;
29
- &:not(.mat-tab-disabled) .mdc-tab__text-label {
30
- color: map.get(luxpalette.$lux-palette_primary, 500);
31
- opacity: 1;
32
- }
33
38
  }
34
39
 
35
- mat-tab-group.lux-tabs-show-divider mat-tab-header {
36
- border-bottom: 1px solid luxcommon.$app-border-color;
40
+ .lux-tab-title-container {
41
+ justify-content: center;
37
42
  }
38
43
 
39
44
  .lux-tab-title {
@@ -55,23 +60,17 @@ lux-tabs {
55
60
  }
56
61
 
57
62
  .lux-notification-new {
58
- background-color: map.get(luxcommon.$componentBgColors, "green");
63
+ background-color: var(--lux-theme-custom-green);
59
64
  }
60
65
 
61
66
  .lux-tabs-notification-icon {
62
- border: 2px solid #ffffff;
63
- }
64
-
65
- .lux-locked {
66
- pointer-events: none;
67
- background: red;
68
- color: red;
67
+ border: 2px solid var(--lux-theme-app-content-bg);
69
68
  }
70
69
 
71
70
  .lux-tabs-show-border {
72
- border: 1px solid luxcommon.$app-border-color;
73
- border-radius: 4px;
74
- background-color: luxcommon.$app-content-bg;
71
+ border: 1px solid var(--lux-theme-app-border-color);
72
+ border-radius: var(--lux-theme-tabs-border-radius);
73
+ background-color: var(--lux-theme-app-content-bg);
75
74
  }
76
75
 
77
76
  // Anpassungen für kleine Screensizes
@@ -90,10 +89,6 @@ lux-tabs {
90
89
  padding-left: 30px;
91
90
  padding-right: 30px;
92
91
  }
93
-
94
- mat-chip {
95
- background: white !important;
96
- }
97
92
  }
98
93
 
99
94
  .mat-mdc-tab-label.lux-tab-with-icon {
@@ -124,7 +119,7 @@ lux-tabs {
124
119
  &.mat-badge.lux-badge-no-border .mat-badge-content {
125
120
  left: unset;
126
121
  bottom: unset;
127
- top: 20px;
122
+ top: 18px;
128
123
  right: -22px;
129
124
  }
130
125
  }
@@ -190,33 +185,3 @@ lux-tabs {
190
185
  }
191
186
  }
192
187
  }
193
-
194
- /** ########## HOVER / FOCUS ########## **/
195
- lux-tabs,
196
- mat-card lux-tabs {
197
- mat-tab-group div[role="tab"]:not(.mat-mdc-tab-disabled) {
198
- &:focus-visible {
199
- @include luxfocus.focus-dark-mixin-inline;
200
- border-radius: luxcommon.$app-border-radius;
201
- }
202
-
203
- &:hover {
204
- background-color: transparent;
205
-
206
- &:not(.mdc-tab--active) .lux-tab-title,
207
- &:not(.mdc-tab--active) lux-icon {
208
- color: luxcommon.$lux-hover-color;
209
- }
210
- }
211
-
212
- &:hover .mdc-tab__ripple::before {
213
- background-color: transparent;
214
- }
215
- }
216
-
217
- .mdc-tab-indicator__content {
218
- background-color: map.get(luxpalette.$lux-palette_primary, 500) !important;
219
- height: 4px;
220
- border-radius: luxcommon.$app-border-radius;
221
- }
222
- }
@@ -0,0 +1,16 @@
1
+ lux-textarea-ac {
2
+ textarea {
3
+ font: inherit;
4
+ color: currentColor;
5
+ background: transparent;
6
+ border: none;
7
+ outline: 0;
8
+ padding: 0;
9
+ margin: 0;
10
+ width: 100%;
11
+ max-width: 100%;
12
+ vertical-align: bottom;
13
+ text-align: inherit;
14
+ font-size: var(--lux-theme-form-control-font-size);
15
+ }
16
+ }
@@ -0,0 +1,83 @@
1
+ @mixin lux-textbox($color) {
2
+ color: var(--lux-theme-textbox-#{$color}-on-color);
3
+ background: var(--lux-theme-textbox-#{$color}-color);
4
+ border: 1px solid var(--lux-theme-textbox-#{$color}-border-color);
5
+ lux-icon.lux-textbox-icon {
6
+ color: var(--lux-theme-textbox-#{$color}-icon-color);
7
+ }
8
+
9
+ .lux-textbox-content {
10
+ color: var(--lux-theme-textbox-#{$color}-on-color);
11
+ }
12
+ }
13
+
14
+ lux-textbox {
15
+ .lux-textbox-container {
16
+ display: grid;
17
+ grid-template-columns: 1.5em 1fr;
18
+ gap: 1.5em;
19
+ row-gap: 1em;
20
+ border-radius: 4px;
21
+ padding: 1.5em;
22
+
23
+ h1.lux-textbox-title,
24
+ h2.lux-textbox-title,
25
+ h3.lux-textbox-title,
26
+ h4.lux-textbox-title,
27
+ h5.lux-textbox-title,
28
+ h6.lux-textbox-title {
29
+ margin: 0;
30
+ font-size: 1.125rem;
31
+ font-weight: 600;
32
+ }
33
+
34
+ .lux-textbox-icon {
35
+ width: 24px;
36
+ height: 24px;
37
+ justify-self: start;
38
+ align-self: start;
39
+ mat-icon.mat-icon.lux-icon {
40
+ padding: 0 !important;
41
+ }
42
+ }
43
+
44
+ .lux-textbox-content {
45
+ color: var(--lux-theme-textbox-default-on-color);
46
+ grid-column-start: 2;
47
+ font-size: 1rem;
48
+ p {
49
+ padding: 0;
50
+ margin: 0;
51
+ }
52
+
53
+ &:empty {
54
+ display: none;
55
+ }
56
+ }
57
+
58
+ &.lux-no-icon {
59
+ grid-template-columns: 1fr;
60
+
61
+ .lux-text-box-title,
62
+ .lux-textbox-content {
63
+ grid-column: 1 / -1;
64
+ }
65
+ }
66
+
67
+ &.lux-default {
68
+ @include lux-textbox(default);
69
+ }
70
+ &.lux-blue {
71
+ @include lux-textbox(blue);
72
+ }
73
+ &.lux-green {
74
+ @include lux-textbox(green);
75
+ }
76
+ &.lux-red {
77
+ @include lux-textbox(red);
78
+ }
79
+ &.lux-yellow {
80
+ @include lux-textbox(yellow);
81
+ }
82
+ }
83
+ }
@@ -1,11 +1,5 @@
1
- @use "sass:map";
2
- @use "../luxpalette";
3
- @use "../luxcommon";
4
- @use "../luxelevations";
5
- @use "../luxfocus";
6
- @use "@angular/material" as mat;
7
-
8
- $dark-green: #2e8533;
1
+ @use "../common/luxelevations";
2
+ @use "../common/luxfocus";
9
3
 
10
4
  // Diese Komponenten wird nur noch für das Green-Theme gepflegt
11
5
  lux-tile {
@@ -13,12 +7,12 @@ lux-tile {
13
7
  display: flex;
14
8
 
15
9
  .lux-notification-new {
16
- background-color: map.get(luxpalette.$lux-palette_accent, 500);
10
+ background-color: var(--lux-theme-accent-70);
17
11
  }
18
12
 
19
13
  mat-card[class~="lux-cursor"] {
20
14
  &.mat-mdc-card {
21
- border-radius: luxcommon.$lux-tile-borderradius;
15
+ border-radius: var(--lux-theme-tile-borderradius);
22
16
  overflow: hidden !important;
23
17
  padding: 24px;
24
18
  }
@@ -39,7 +33,7 @@ lux-tile {
39
33
  left: 0;
40
34
  right: 0;
41
35
  height: 8px;
42
- background-color: luxcommon.$lux-tile-bottom-line-color;
36
+ background-color: var(--lux-theme-tile-bottom-line-color);
43
37
  transition: 0.2s ease;
44
38
  }
45
39
 
@@ -63,7 +57,7 @@ lux-tile {
63
57
 
64
58
  h2 {
65
59
  margin: 4px 0 0 0;
66
- color: map.get(luxpalette.$lux-palette_primary, 500);
60
+ color: var(--lux-theme-primary-20);
67
61
  }
68
62
 
69
63
  .lux-tile-mobile-view {
@@ -77,7 +71,7 @@ lux-tile {
77
71
  word-wrap: break-word;
78
72
  max-width: 100%;
79
73
  margin: 4px 0px;
80
- font-family: luxcommon.$app-headline-font;
74
+ font-family: var(--lux-theme-app-headline-font);
81
75
  }
82
76
  }
83
77
 
@@ -92,7 +86,7 @@ lux-tile {
92
86
  word-wrap: break-word;
93
87
  max-width: 100%;
94
88
  margin: 12px 0px;
95
- font-family: luxcommon.$app-headline-font;
89
+ font-family: var(--lux-theme-app-headline-font);
96
90
  }
97
91
  }
98
92
 
@@ -104,7 +98,7 @@ lux-tile {
104
98
  }
105
99
 
106
100
  .lux-tile-icon {
107
- color: luxcommon.$lux-tile-icon-color;
101
+ color: var(--lux-theme-tile-icon-color);
108
102
  margin-top: 6px;
109
103
  lux-icon {
110
104
  mat-icon {
@@ -179,7 +173,8 @@ lux-tile {
179
173
 
180
174
  mat-card[class~="lux-cursor"] {
181
175
  &.mat-mdc-card:focus-visible {
182
- @include luxfocus.lux-focus-mixin-green;
176
+ box-shadow: 0 0 0 2px #2e8533, 0 0 8px 2px #2e8533 !important;
177
+ outline: 0 !important;
183
178
  }
184
179
 
185
180
  &:hover {
@@ -187,7 +182,7 @@ lux-tile {
187
182
  background-color: white !important;
188
183
 
189
184
  h2 {
190
- color: luxcommon.$lux-tile-font-hover-color;
185
+ color: var(--lux-theme-tile-font-hover-color);
191
186
  }
192
187
  }
193
188
 
@@ -0,0 +1,71 @@
1
+ @use "@angular/material" as mat;
2
+
3
+ $tileBoxShadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
4
+
5
+ lux-tile-ac {
6
+ @include mat.card-overrides(
7
+ (
8
+ title-text-size: 1.25rem,
9
+ title-text-weight: 500,
10
+ subtitle-text-size: 0.9375rem,
11
+ subtitle-text-color: var(--lux-theme-dark-secondary-text),
12
+ elevated-container-shape: var(--lux-theme-app-border-radius),
13
+ elevated-container-elevation: #{"0 0 0 1px rgba(0, 0, 0, .12), #{$tileBoxShadow}"}
14
+ )
15
+ );
16
+
17
+ .mat-mdc-card-header {
18
+ padding: 16px;
19
+ }
20
+
21
+ .lux-tile-ac {
22
+ display: flex;
23
+ flex: 1 1 auto;
24
+ height: 100%;
25
+ min-width: 150px;
26
+ background-image: var(--lux-theme-app-gradient);
27
+ }
28
+
29
+ .mat-mdc-card-header-text {
30
+ // Damit der Titel und Subtitle nicht umbrechen und stattdessen abgeschnitten werden, wenn der Text zu lang ist.
31
+ // Ohne die min-width würde ein langer Text dazu führen, dass der Header breiter als die Card wird.
32
+ min-width: 0;
33
+ }
34
+
35
+ .lux-tile-title {
36
+ padding-bottom: 12px;
37
+ }
38
+
39
+ .lux-tile-header {
40
+ display: flex;
41
+ justify-content: space-between;
42
+ }
43
+
44
+ .lux-tile-icon-container {
45
+ .lux-icon {
46
+ color: var(--lux-theme-tile-ac-icon-color);
47
+ padding: 0px !important;
48
+ height: 32px;
49
+ width: 32px;
50
+ }
51
+ }
52
+
53
+ // Fokus
54
+ .lux-tile-ac:focus-visible {
55
+ outline: none;
56
+ @include mat.card-overrides(
57
+ (
58
+ elevated-container-elevation: #{"0 0 0 var(--lux-theme-outline-width) var(--lux-theme-outline-color-dark), #{$tileBoxShadow}"}
59
+ )
60
+ );
61
+ }
62
+
63
+ // Hover
64
+ &:hover {
65
+ @include mat.card-overrides(
66
+ (
67
+ elevated-container-elevation: #{"0 0 0 1px #000, #{$tileBoxShadow}"}
68
+ )
69
+ );
70
+ }
71
+ }
@@ -0,0 +1,19 @@
1
+ @use "@angular/material" as mat;
2
+
3
+ lux-toggle-ac {
4
+ @include mat.slide-toggle-overrides(
5
+ (
6
+ label-text-size: var(--lux-theme-form-control-font-size),
7
+ disabled-label-text-color: var(--lux-theme-dark-disabled-text)
8
+ )
9
+ );
10
+
11
+ // Readonly state
12
+ &.lux-form-control-readonly {
13
+ pointer-events: none;
14
+
15
+ .mdc-switch__handle {
16
+ pointer-events: none;
17
+ }
18
+ }
19
+ }
@@ -0,0 +1,8 @@
1
+ @use "@angular/material" as mat;
2
+
3
+ :root {
4
+ @include mat.tooltip-overrides((
5
+ container-shape: var(--lux-theme-app-border-radius),
6
+ supporting-text-size: 0.875rem
7
+ ));
8
+ }
@@ -1,5 +1,4 @@
1
- @use "../luxcommon";
2
- @use "../luxfocus";
1
+ @use "../common/luxfocus";
3
2
 
4
3
  $arrowSize: 16px;
5
4
 
@@ -12,7 +11,7 @@ lux-tour-hint {
12
11
 
13
12
  position: fixed;
14
13
  z-index: 1002;
15
- border-radius: luxcommon.$app-border-radius;
14
+ border-radius: var(--lux-theme-app-border-radius);
16
15
  transform: translate(var(--baseOffsetX), var(--baseOffsetY));
17
16
  padding: 10px;
18
17
  min-width: 250px;
@@ -77,7 +76,7 @@ lux-tour-hint {
77
76
  }
78
77
 
79
78
  .tour-hint-overlay {
80
- background-color: luxcommon.$lux-overlay-backdrop-color;
79
+ background-color: var(--lux-theme-tour-hint-overlay-backdrop-color);
81
80
  position: fixed;
82
81
  z-index: 1001;
83
82
 
@@ -92,7 +91,7 @@ lux-tour-hint {
92
91
  position: absolute;
93
92
  width: 100%;
94
93
  height: 100%;
95
- border: 5px solid luxcommon.$lux-overlay-backdrop-color;
94
+ border: 5px solid var(--lux-theme-tour-hint-overlay-backdrop-color);
96
95
  border-radius: 10px;
97
96
  transform: translate(-5px, -5px);
98
97
  }
@@ -138,12 +137,17 @@ lux-tour-hint-preset {
138
137
  position: absolute;
139
138
  top: 8px;
140
139
  right: 8px;
140
+ display: flex;
141
+ align-items: center;
142
+ justify-content: center;
143
+ min-width: 24px;
144
+ min-height: 24px;
141
145
 
142
146
  &:hover {
143
- background-color: #fff !important;
147
+ background-color: var(--lux-theme-dialog-close-button-hover-background-color);
144
148
 
145
149
  mat-icon.mat-icon-no-color {
146
- color: luxcommon.$lux-hover-color;
150
+ color: var(--lux-theme-dialog-close-button-hover-color);
147
151
  }
148
152
 
149
153
  cursor: pointer;