@ihk-gfi/lux-components-theme 11.4.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 +15 -0
- package/LICENSE +198 -0
- package/README.md +120 -0
- package/package.json +25 -0
- package/prebuilt-themes/luxtheme-blue-min.css +1 -0
- package/prebuilt-themes/luxtheme-blue-min.css.map +1 -0
- package/prebuilt-themes/luxtheme-blue.css +6451 -0
- package/prebuilt-themes/luxtheme-blue.css.map +1 -0
- package/prebuilt-themes/luxtheme-green-min.css +1 -0
- package/prebuilt-themes/luxtheme-green-min.css.map +1 -0
- package/prebuilt-themes/luxtheme-green.css +6598 -0
- package/prebuilt-themes/luxtheme-green.css.map +1 -0
- package/prebuilt-themes/luxtheme-orange-min.css +1 -0
- package/prebuilt-themes/luxtheme-orange-min.css.map +1 -0
- package/prebuilt-themes/luxtheme-orange.css +6490 -0
- package/prebuilt-themes/luxtheme-orange.css.map +1 -0
- package/src/base/_luxcomponents.scss +768 -0
- package/src/base/_luxfocus.scss +698 -0
- package/src/base/_luxicons.scss +2 -0
- package/src/base/_luxstyles.scss +503 -0
- package/src/base/_luxtheme.scss +7 -0
- package/src/blue/_custom.scss +0 -0
- package/src/blue/_luxcommon.scss +64 -0
- package/src/blue/_luxpalette.scss +105 -0
- package/src/blue/luxtheme.scss +11 -0
- package/src/green/_custom.scss +219 -0
- package/src/green/_luxcommon.scss +64 -0
- package/src/green/_luxpalette.scss +106 -0
- package/src/green/luxtheme.scss +13 -0
- package/src/orange/_custom.scss +66 -0
- package/src/orange/_luxcommon.scss +64 -0
- package/src/orange/_luxpalette.scss +106 -0
- package/src/orange/luxtheme.scss +11 -0
- package/src/public/global.scss +13 -0
|
@@ -0,0 +1,503 @@
|
|
|
1
|
+
html,
|
|
2
|
+
body,
|
|
3
|
+
.lux-app-container {
|
|
4
|
+
height: 100%;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
h1, h2, h3, h4, h5, h6 {
|
|
8
|
+
font-family: $app-font-family;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
h1 {
|
|
12
|
+
font-size: 24px;
|
|
13
|
+
font-weight: 600;
|
|
14
|
+
margin-block-start: 1.2em;
|
|
15
|
+
margin-block-end: 14px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
h2 {
|
|
19
|
+
font-size: 24px;
|
|
20
|
+
font-weight: 500;
|
|
21
|
+
margin-block-start: 1.2em;
|
|
22
|
+
margin-block-end: 14px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
h3 {
|
|
26
|
+
font-size: 20px;
|
|
27
|
+
font-weight: 500;
|
|
28
|
+
margin-block-start: 1.2em;
|
|
29
|
+
margin-block-end: 14px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
h4 {
|
|
33
|
+
font-size: 16px;
|
|
34
|
+
font-weight: 600;
|
|
35
|
+
margin-block-start: 1.2em;
|
|
36
|
+
margin-block-end: 14px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
h5 {
|
|
40
|
+
font-size: 14px;
|
|
41
|
+
font-weight: 700;
|
|
42
|
+
margin-block-start: 2em;
|
|
43
|
+
margin-block-end: 14px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
h6 {
|
|
47
|
+
font-size: 12px;
|
|
48
|
+
font-weight: 700;
|
|
49
|
+
margin-block-start: 2em;
|
|
50
|
+
margin-block-end: 14px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.lux-app-header-bg {
|
|
54
|
+
background-color: $app-header-bg;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.lux-app-content-bg {
|
|
58
|
+
background-color: $app-content-bg;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.lux-app-footer-bg {
|
|
62
|
+
background-color: $app-footer-bg;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.lux-app-data-bg {
|
|
66
|
+
background-color: $app-data-bg;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.lux-selected-bg {
|
|
70
|
+
background-color: $lux-selected-bg-color;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.lux-hover-bg {
|
|
74
|
+
background-color: $lux-hover-color;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.lux-hover-dark-bg {
|
|
78
|
+
background-color: $lux-hover-color-for-dark-background;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.lux-color-dark-divider {
|
|
82
|
+
color: $dark-dividers;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.lux-color-light-divider {
|
|
86
|
+
color: $light-dividers;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.lux-outline-color-light {
|
|
90
|
+
color: $outline-color-bright;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.lux-outline-color-dark {
|
|
94
|
+
color: $outline-color-dark;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.lux-outline-width {
|
|
98
|
+
outline-width: $outline-width;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.lux-outline-style {
|
|
102
|
+
outline-style: $outline-style;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.lux-outline-light {
|
|
106
|
+
color: $outline-color-bright;
|
|
107
|
+
outline-width: $outline-width;
|
|
108
|
+
outline-style: $outline-style;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.lux-outline-dark {
|
|
112
|
+
color: $outline-color-dark;
|
|
113
|
+
outline-width: $outline-width;
|
|
114
|
+
outline-style: $outline-style;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.lux-highlight-section {
|
|
118
|
+
-webkit-border-radius: 4px;
|
|
119
|
+
-moz-border-radius: 4px;
|
|
120
|
+
border-radius: 4px;
|
|
121
|
+
padding: 8px;
|
|
122
|
+
border: 1px solid $dark-dividers;
|
|
123
|
+
display: flex;
|
|
124
|
+
margin: 0 0 16px 0;
|
|
125
|
+
word-break: break-word;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.lux-highlight-section-label {
|
|
129
|
+
margin-top: 0;
|
|
130
|
+
margin-left: 0;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.lux-app-container {
|
|
134
|
+
flex-direction: column;
|
|
135
|
+
box-sizing: border-box;
|
|
136
|
+
display: flex;
|
|
137
|
+
flex: 1 1 100%;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
body {
|
|
141
|
+
-webkit-overflow-scrolling: touch;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
div {
|
|
145
|
+
font-family: $app-font-family;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.cdk-overlay-backdrop.cdk-overlay-backdrop-showing {
|
|
149
|
+
&.lux-file-preview-backdrop {
|
|
150
|
+
background: #000;
|
|
151
|
+
opacity: 0.8 !important;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.mat-dialog-container {
|
|
156
|
+
background-color: $app-content-bg !important;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
lux-card.lux-card-grow {
|
|
160
|
+
display: flex;
|
|
161
|
+
flex: 1 1 auto;
|
|
162
|
+
width: 400px;
|
|
163
|
+
min-width: 0;
|
|
164
|
+
|
|
165
|
+
mat-card {
|
|
166
|
+
display: flex;
|
|
167
|
+
flex: 1 1 auto;
|
|
168
|
+
min-width: 0;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
mat-card-content {
|
|
172
|
+
display: flex;
|
|
173
|
+
flex: 1 1 auto;
|
|
174
|
+
min-width: 0;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.lux-crop {
|
|
179
|
+
overflow: hidden;
|
|
180
|
+
white-space: nowrap;
|
|
181
|
+
text-overflow: ellipsis;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.lux-label {
|
|
185
|
+
color: $dark-secondary-text;
|
|
186
|
+
font-size: 75%;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.lux-hint {
|
|
190
|
+
color: $dark-secondary-text;
|
|
191
|
+
font-size: 12px;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.lux-display-none {
|
|
195
|
+
display: none;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.lux-hidden {
|
|
199
|
+
visibility: hidden;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.lux-nowrap {
|
|
203
|
+
white-space: nowrap;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.lux-cursor {
|
|
207
|
+
cursor: pointer;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.lux-block-pointer-events {
|
|
211
|
+
pointer-events: none;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.lux-vertical-align-baseline {
|
|
215
|
+
vertical-align: baseline !important;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.lux-black-semi-transparent {
|
|
219
|
+
color: $dark-primary-text;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.lux-semi-transparent {
|
|
223
|
+
opacity: 0.6;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.lux-overflow-y-hidden {
|
|
227
|
+
overflow-y: hidden;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.lux-overflow-y-auto {
|
|
231
|
+
overflow-y: auto;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.lux-overflow-wrap-break-word {
|
|
235
|
+
overflow-wrap: break-word;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.lux-bold {
|
|
239
|
+
font-weight: bold !important;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.lux-uppercase {
|
|
243
|
+
text-transform: uppercase !important;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.lux-lowercase {
|
|
247
|
+
text-transform: lowercase !important;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.lux-hyphenate {
|
|
251
|
+
overflow-wrap: break-word;
|
|
252
|
+
word-wrap: break-word;
|
|
253
|
+
word-break: normal;
|
|
254
|
+
-webkit-hyphens: auto;
|
|
255
|
+
-ms-hyphens: auto;
|
|
256
|
+
-moz-hyphens: auto;
|
|
257
|
+
hyphens: auto;
|
|
258
|
+
overflow-x: auto;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
/* <MARGINS / PADDINGS> */
|
|
262
|
+
|
|
263
|
+
.lux-p-footer {
|
|
264
|
+
padding: 8px;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.lux-p-header {
|
|
268
|
+
padding: 8px;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.lux-snackbar {
|
|
272
|
+
top: 68px;
|
|
273
|
+
right: 8px;
|
|
274
|
+
position: relative;
|
|
275
|
+
margin: 0 !important;
|
|
276
|
+
min-width: unset !important;
|
|
277
|
+
box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
|
|
278
|
+
// Die Snackbar wird durch die App umpositioniert, bevor sie sichtbar geschaltet wird.
|
|
279
|
+
// Würde man die Snackbar nicht verstecken, würde sie von der initialen Position zur neuen
|
|
280
|
+
// springen.
|
|
281
|
+
visibility: hidden;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.mat-snack-bar-handset .lux-snackbar {
|
|
285
|
+
left: 8px;
|
|
286
|
+
width: auto !important;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/*
|
|
290
|
+
Berechnet das Quadrat einer Zahl und gibt das Ergebnis mit
|
|
291
|
+
einer Einheit (z.B. px) zurueck.
|
|
292
|
+
*/
|
|
293
|
+
@function pow($number, $exponent, $unit) {
|
|
294
|
+
$value: 0;
|
|
295
|
+
|
|
296
|
+
@if $exponent > 0 {
|
|
297
|
+
$value: 1;
|
|
298
|
+
@for $i from 1 through $exponent {
|
|
299
|
+
$value: ($value * $number);
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
@return $value + $unit;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/*
|
|
307
|
+
Zum Anpassen der Schritte einfach pxStep erhoehen oder fuer Weitere CSS-Klassen
|
|
308
|
+
steps um zusaetzliche Eintraege ergaenzen (z.B. 1,2,4, etc.).
|
|
309
|
+
|
|
310
|
+
Generiert fuer Padding: lux-p[t,b,l,r]-xx
|
|
311
|
+
Generiert fuer Margin: lux-m[t,b,l,r]-xx
|
|
312
|
+
*/
|
|
313
|
+
$directions: "t", "b", "l", "r";
|
|
314
|
+
$directionsLong: "top", "bottom", "left", "right";
|
|
315
|
+
$pxStep: 2;
|
|
316
|
+
$steps: 0, 1, 2, 3, 4;
|
|
317
|
+
|
|
318
|
+
@for $i from 1 through length($directions) {
|
|
319
|
+
@each $step in $steps {
|
|
320
|
+
.lux-m-#{$step} {
|
|
321
|
+
margin: pow($pxStep, $step, px);
|
|
322
|
+
}
|
|
323
|
+
.lux-m#{nth($directions, $i)}-#{$step} {
|
|
324
|
+
margin-#{nth($directionsLong, $i)}: pow($pxStep, $step, px);
|
|
325
|
+
}
|
|
326
|
+
.lux-p-#{$step} {
|
|
327
|
+
padding: pow($pxStep, $step, px);
|
|
328
|
+
}
|
|
329
|
+
.lux-p#{nth($directions, $i)}-#{$step} {
|
|
330
|
+
padding-#{nth($directionsLong, $i)}: pow($pxStep, $step, px);
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
/*
|
|
336
|
+
Erstellt die Layout-Gaps (Margin-Abstände für Children von fxLayouts).
|
|
337
|
+
Um weitere Steps hinzufuegen die Variable gapSteps um die entsprechenden Werte ergaenzen.
|
|
338
|
+
*/
|
|
339
|
+
$gapSteps: 10, 20, 30;
|
|
340
|
+
|
|
341
|
+
@each $gapStep in $gapSteps {
|
|
342
|
+
.lux-flex-layout-gap-#{$gapStep}[style*="row"] > *:not(:last-child) {
|
|
343
|
+
margin-right: #{$gapStep}px;
|
|
344
|
+
}
|
|
345
|
+
.lux-flex-layout-gap-#{$gapStep}[style*="column"] > *:not(:last-child) {
|
|
346
|
+
margin-bottom: #{$gapStep}px;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/*
|
|
351
|
+
Erstellt die Z-Indizes.
|
|
352
|
+
Um weitere Z-Indizes anzulegen, die Variable zindexSteps um die entsprechenden Werte ergaenzen.
|
|
353
|
+
*/
|
|
354
|
+
$zindexSteps: 100, 500, 1000;
|
|
355
|
+
|
|
356
|
+
@each $zindexStep in $zindexSteps {
|
|
357
|
+
.lux-z-index-#{$zindexStep} {
|
|
358
|
+
z-index: #{$zindexStep};
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
/*
|
|
363
|
+
Für die Darstellung von uppercase-Labels wenn die Configuration das erlaubt.
|
|
364
|
+
*/
|
|
365
|
+
.lux-uppercase > lux-button,
|
|
366
|
+
lux-button.lux-uppercase {
|
|
367
|
+
.lux-button-label {
|
|
368
|
+
text-transform: uppercase;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
@each $colorName, $colorNameHex in $componentBgColors {
|
|
373
|
+
.lux-color-#{''+$colorName+''} {
|
|
374
|
+
color: $colorNameHex;
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
@each $colorName, $colorNameHex in $componentBgColors {
|
|
379
|
+
.lux-bg-color-#{''+$colorName+''} {
|
|
380
|
+
background: $colorNameHex;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
@each $colorName, $colorNameHex in $componentFontColors {
|
|
385
|
+
.lux-font-color-#{''+$colorName+''} {
|
|
386
|
+
color: $colorNameHex;
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.lux-color-dark-primary-text {
|
|
391
|
+
color: $dark-primary-text;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.lux-color-dark-secondary-text {
|
|
395
|
+
color: $dark-secondary-text;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.lux-color-dark-disabled-text {
|
|
399
|
+
color: $dark-disabled-text;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.lux-color-dark-focused {
|
|
403
|
+
color: $dark-focused;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.lux-color-light-primary-text {
|
|
407
|
+
color: $light-primary-text;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.lux-color-light-secondary-text {
|
|
411
|
+
color: $light-secondary-text;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.lux-color-light-disabled-text {
|
|
415
|
+
color: $light-disabled-text;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.lux-color-light-focused {
|
|
419
|
+
color: $light-focused;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
$sizes: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, A100, A200, A300, A400, A700;
|
|
423
|
+
$paletten: $lux-palette_primary, $lux-palette_accent, $lux-palette_warn;
|
|
424
|
+
$paletteNamen: primary, accent, warn;
|
|
425
|
+
|
|
426
|
+
@each $size in $sizes {
|
|
427
|
+
@for $i from 1 through 3 {
|
|
428
|
+
.lux-color-#{nth($paletteNamen, $i)}-#{to-lower-case("" + $size)} {
|
|
429
|
+
color: map-get(nth($paletten, $i), $size);
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.lux-color-#{nth($paletteNamen, $i)}-#{to-lower-case("" + $size)}-contrast {
|
|
433
|
+
color: map-get(nth($paletten, $i), contrast, $size);
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.lux-bg-color-#{nth($paletteNamen, $i)}-#{to-lower-case("" + $size)} {
|
|
437
|
+
background-color: map-get(nth($paletten, $i), $size);
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
.lux-bg-color-#{nth($paletteNamen, $i)}-#{to-lower-case("" + $size)}-contrast {
|
|
441
|
+
background-color: map-get(nth($paletten, $i), contrast, $size);
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.lux-border-color-#{nth($paletteNamen, $i)}-#{to-lower-case("" + $size)} {
|
|
445
|
+
border-color: map-get(nth($paletten, $i), $size);
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.lux-border-color-#{nth($paletteNamen, $i)}-#{to-lower-case("" + $size)}-contrast {
|
|
449
|
+
border-color: map-get(nth($paletten, $i), contrast, $size);
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.lux-outline-color-#{nth($paletteNamen, $i)}-#{to-lower-case("" + $size)} {
|
|
453
|
+
outline-color: map-get(nth($paletten, $i), $size);
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.lux-outline-color-#{nth($paletteNamen, $i)}-#{to-lower-case("" + $size)}-contrast {
|
|
457
|
+
outline-color: map-get(nth($paletten, $i), contrast, $size);
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.lux-text-decoration-#{nth($paletteNamen, $i)}-color-#{to-lower-case("" + $size)} {
|
|
461
|
+
text-decoration-color: map-get(nth($paletten, $i), $size);
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
.lux-text-decoration-#{nth($paletteNamen, $i)}-color-#{to-lower-case("" + $size)}-contrast {
|
|
465
|
+
text-decoration-color: map-get(nth($paletten, $i), contrast, $size);
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
.lux-column-rule-color-#{nth($paletteNamen, $i)}-#{to-lower-case("" + $size)} {
|
|
469
|
+
column-rule-color: map-get(nth($paletten, $i), $size);
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.lux-column-rule-color-#{nth($paletteNamen, $i)}-#{to-lower-case("" + $size)}-contrast {
|
|
473
|
+
column-rule-color: map-get(nth($paletten, $i), contrast, $size);
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
.lux-badge-notification {
|
|
479
|
+
&.mat-badge-large {
|
|
480
|
+
.mat-badge-content {
|
|
481
|
+
font-size: 15px;
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
&.mat-badge .mat-badge-content {
|
|
486
|
+
border: 2px solid white;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
&.mat-badge.lux-badge-no-border .mat-badge-content {
|
|
490
|
+
border: 2px solid transparent;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
&.mat-badge:not(.mat-badge-disabled).mat-badge-accent .mat-badge-content {
|
|
494
|
+
background-color: map-get($componentBgColors, "green");
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
&.lux-badge-color-default {
|
|
498
|
+
&.mat-badge:not(.mat-badge-disabled) .mat-badge-content {
|
|
499
|
+
color: white;
|
|
500
|
+
background: #595959;
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
$lux-primary: mat-palette($lux-palette_primary);
|
|
2
|
+
$lux-accent: mat-palette($lux-palette_accent);
|
|
3
|
+
$lux-warn: mat-palette($lux-palette_warn);
|
|
4
|
+
$lux-theme: mat-light-theme($lux-primary, $lux-accent, $lux-warn);
|
|
5
|
+
|
|
6
|
+
@include mat-core();
|
|
7
|
+
@include angular-material-theme($lux-theme);
|
|
File without changes
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
// Allgemein
|
|
2
|
+
$dark-primary-text: rgba(black, 0.87);
|
|
3
|
+
$dark-secondary-text: rgba(black, 0.65);
|
|
4
|
+
$dark-disabled-text: rgba(black, 0.40);
|
|
5
|
+
$dark-dividers: rgba(black, 0.20);
|
|
6
|
+
$dark-focused: rgba(black, 0.12);
|
|
7
|
+
|
|
8
|
+
$light-primary-text: white;
|
|
9
|
+
$light-secondary-text: rgba(white, 0.7);
|
|
10
|
+
$light-disabled-text: rgba(white, 0.5);
|
|
11
|
+
$light-dividers: rgba(white, 0.20);
|
|
12
|
+
$light-focused: rgba(white, 0.12);
|
|
13
|
+
|
|
14
|
+
// App
|
|
15
|
+
$app-header-bg: #335c85;
|
|
16
|
+
$app-content-bg: #f0f0f2;
|
|
17
|
+
$app-footer-bg: #c6d1dc;
|
|
18
|
+
$app-data-bg: #ffffff;
|
|
19
|
+
|
|
20
|
+
// Form
|
|
21
|
+
$form-border-color: rgba(0, 0, 0, 0.42);
|
|
22
|
+
|
|
23
|
+
// Fokus
|
|
24
|
+
$outline-color-bright: #ffffff;
|
|
25
|
+
$outline-color-dark: #000000;
|
|
26
|
+
|
|
27
|
+
// Hover
|
|
28
|
+
$lux-hover-color: #f2f2f2;
|
|
29
|
+
$lux-hover-color-for-dark-background: #335c85;
|
|
30
|
+
|
|
31
|
+
// Selektion
|
|
32
|
+
$lux-selected-border-color: #0073b3;
|
|
33
|
+
$lux-selected-bg-color: #e2e8ee;
|
|
34
|
+
|
|
35
|
+
// Hintergrundfarben (z.B. Badge oder Progress)
|
|
36
|
+
$componentBgColors: (
|
|
37
|
+
"red": #b01211,
|
|
38
|
+
"green": #3e8320,
|
|
39
|
+
"purple": #9900B8,
|
|
40
|
+
"blue": #00569a,
|
|
41
|
+
"gray": $dark-secondary-text,
|
|
42
|
+
"orange": #c75000,
|
|
43
|
+
"brown": #783f04,
|
|
44
|
+
"black": $dark-primary-text,
|
|
45
|
+
"white": #ffffff
|
|
46
|
+
);
|
|
47
|
+
|
|
48
|
+
// Vordergrundfarben (z.B. Badge)
|
|
49
|
+
$componentFontColors: (
|
|
50
|
+
black: #000000,
|
|
51
|
+
white: #ffffff
|
|
52
|
+
);
|
|
53
|
+
|
|
54
|
+
// Farben für einen dunklen Hintergrund (z.B. Snackbar).
|
|
55
|
+
$colorsForDarkBg: (
|
|
56
|
+
"red": #f17474,
|
|
57
|
+
"green": #53b12b,
|
|
58
|
+
"purple": #e561ff,
|
|
59
|
+
"blue": #729eca,
|
|
60
|
+
"gray": #c8c8c8,
|
|
61
|
+
"orange": #ec9c1b,
|
|
62
|
+
"brown": #eb7c05,
|
|
63
|
+
"white": #ffffff
|
|
64
|
+
);
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Dieses Partial-SCSS dient der Verwaltung der Farb-Paletten für die LUX-Components.
|
|
3
|
+
*/
|
|
4
|
+
$lux-palette_primary: (
|
|
5
|
+
50 : #e7ebf0,
|
|
6
|
+
100 : #c6d1dc,
|
|
7
|
+
200 : #99aec2,
|
|
8
|
+
300 : #708daa,
|
|
9
|
+
400 : #527497,
|
|
10
|
+
500 : #335c85,
|
|
11
|
+
600 : #2e547d,
|
|
12
|
+
700 : #274a72,
|
|
13
|
+
800 : #204168,
|
|
14
|
+
900 : #143055,
|
|
15
|
+
A100 : #b5d5e8,
|
|
16
|
+
A200 : #4d9dca,
|
|
17
|
+
A400 : #0073b3,
|
|
18
|
+
A700 : #00569a,
|
|
19
|
+
contrast: (
|
|
20
|
+
50 : #000000,
|
|
21
|
+
100 : #000000,
|
|
22
|
+
200 : #000000,
|
|
23
|
+
300 : #000000,
|
|
24
|
+
400 : #000000,
|
|
25
|
+
500 : #ffffff,
|
|
26
|
+
600 : #ffffff,
|
|
27
|
+
700 : #ffffff,
|
|
28
|
+
800 : #ffffff,
|
|
29
|
+
900 : #ffffff,
|
|
30
|
+
A100 : #000000,
|
|
31
|
+
A200 : #000000,
|
|
32
|
+
A400 : #000000,
|
|
33
|
+
A700 : #000000,
|
|
34
|
+
)
|
|
35
|
+
);
|
|
36
|
+
|
|
37
|
+
$lux-palette_accent: (
|
|
38
|
+
50 : #e6ebe3,
|
|
39
|
+
100 : #c0ceb9,
|
|
40
|
+
200 : #96ad8b,
|
|
41
|
+
300 : #6c8c5c,
|
|
42
|
+
400 : #4d7339,
|
|
43
|
+
500 : #2d5a16,
|
|
44
|
+
600 : #285213,
|
|
45
|
+
700 : #224810,
|
|
46
|
+
800 : #1c3f0c,
|
|
47
|
+
900 : #112e06,
|
|
48
|
+
A100 : #9ae288,
|
|
49
|
+
A200 : #5cff35,
|
|
50
|
+
A400 : #33ff02,
|
|
51
|
+
A700 : #2de700,
|
|
52
|
+
contrast: (
|
|
53
|
+
50 : #000000,
|
|
54
|
+
100 : #000000,
|
|
55
|
+
200 : #000000,
|
|
56
|
+
300 : #ffffff,
|
|
57
|
+
400 : #ffffff,
|
|
58
|
+
500 : #ffffff,
|
|
59
|
+
600 : #ffffff,
|
|
60
|
+
700 : #ffffff,
|
|
61
|
+
800 : #ffffff,
|
|
62
|
+
900 : #ffffff,
|
|
63
|
+
A100 : #000000,
|
|
64
|
+
A200 : #000000,
|
|
65
|
+
A400 : #000000,
|
|
66
|
+
A700 : #000000,
|
|
67
|
+
)
|
|
68
|
+
);
|
|
69
|
+
|
|
70
|
+
$lux-palette_warn: (
|
|
71
|
+
50 : #F6E3E2,
|
|
72
|
+
100 : #e7b8b8,
|
|
73
|
+
200 : #d88988,
|
|
74
|
+
300 : #c85958,
|
|
75
|
+
400 : #bc3635,
|
|
76
|
+
500 : #b01211,
|
|
77
|
+
600 : #a9100f,
|
|
78
|
+
700 : #a00d0c,
|
|
79
|
+
800 : #970a0a,
|
|
80
|
+
900 : #870505,
|
|
81
|
+
A100 : #eccaca,
|
|
82
|
+
A200 : #ff8181,
|
|
83
|
+
A400 : #ff4e4e,
|
|
84
|
+
A700 : #ff3535,
|
|
85
|
+
contrast: (
|
|
86
|
+
50 : #000000,
|
|
87
|
+
100 : #000000,
|
|
88
|
+
200 : #000000,
|
|
89
|
+
300 : #ffffff,
|
|
90
|
+
400 : #ffffff,
|
|
91
|
+
500 : #ffffff,
|
|
92
|
+
600 : #ffffff,
|
|
93
|
+
700 : #ffffff,
|
|
94
|
+
800 : #ffffff,
|
|
95
|
+
900 : #ffffff,
|
|
96
|
+
A100 : #000000,
|
|
97
|
+
A200 : #000000,
|
|
98
|
+
A400 : #000000,
|
|
99
|
+
A700 : #ffffff,
|
|
100
|
+
)
|
|
101
|
+
);
|
|
102
|
+
|
|
103
|
+
$lux-primary-color: map-get($lux-palette_primary, 500);
|
|
104
|
+
$lux-accent-color: map-get($lux-palette_accent, 500);
|
|
105
|
+
$lux-warn-color: map-get($lux-palette_warn, 500);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
@import "luxpalette";
|
|
2
|
+
@import "../public/global";
|
|
3
|
+
@import "luxcommon";
|
|
4
|
+
@import "../base/luxcomponents";
|
|
5
|
+
@import "../base/luxfocus";
|
|
6
|
+
@import "../base/luxstyles";
|
|
7
|
+
@import "../base/luxicons";
|
|
8
|
+
@import "../../node_modules/@angular/material/theming";
|
|
9
|
+
@import "../base/luxtheme";
|
|
10
|
+
@import "custom";
|
|
11
|
+
|