@elderbyte/ngx-starter 19.1.0-beta.0 → 19.1.0-beta.10
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/_index.scss +1 -1
- package/fesm2022/elderbyte-ngx-starter.mjs +213 -714
- package/fesm2022/elderbyte-ngx-starter.mjs.map +1 -1
- package/lib/common/utils/public_api.d.ts +1 -0
- package/lib/components/data-view/base/elder-data-view-base.d.ts +14 -0
- package/lib/components/layout/basic-pane-layout/basic-pane-layout.component.d.ts +6 -0
- package/lib/components/layout/pane-header/pane-header.component.d.ts +7 -0
- package/lib/components/layout/public_api.d.ts +2 -1
- package/lib/components/public_api.d.ts +0 -1
- package/lib/components/select/single/elder-select/elder-select.component.d.ts +1 -1
- package/package.json +1 -1
- package/src/lib/components/data-view/grid/elder-grid/elder-grid.component.scss +2 -1
- package/src/lib/components/data-view/table/elder-table/elder-table.component.scss +6 -6
- package/src/lib/components/files/blob-viewer/elder-blob-viewer.component.scss +2 -2
- package/src/lib/components/files/drag-n-drop/elder-drop-zone/elder-drop-zone.component.scss +4 -4
- package/src/lib/components/panels/elder-dialog-panel/elder-dialog-panel.component.scss +1 -1
- package/src/lib/components/shell/header/elder-app-header/elder-app-header.component.scss +1 -1
- package/src/lib/components/toasts/standard-toast/standard-toast.component.scss +1 -1
- package/theming/abstracts/_elder-design-tokens.scss +175 -0
- package/theming/{system/_elder-config.scss → abstracts/_elder-scss-variables.scss} +40 -0
- package/theming/{system/_elder-defaults.scss → abstracts/_elder-set-defaults-fn.scss} +8 -8
- package/theming/abstracts/_elder-starter-theme.scss +47 -0
- package/theming/abstracts/_elder-theme-main.scss +92 -0
- package/theming/{style-tweaks/_elder-common.scss → base/_elder-common-base.scss} +8 -11
- package/theming/{style-tweaks → base}/_elder-component-themes.scss +1 -1
- package/theming/{style-tweaks/_elder-style-fixes.scss → base/_elder-fixes-base.scss} +32 -20
- package/theming/{style-tweaks/_elder-form.scss → base/_elder-form-base.scss} +7 -4
- package/theming/{style-tweaks/_elder-color-variants.scss → base/_elder-m2-legacy-base.scss} +7 -1
- package/theming/components/_elder-chip-theme.scss +158 -0
- package/theming/{utility-classes/_elder-color-helpers.scss → utilities/_elder-color-utils.scss} +5 -8
- package/theming/utilities/_elder-common-utils.scss +17 -0
- package/theming/{utility-classes/_elder-flex-layout.scss → utilities/_elder-flex-layout-utils.scss} +108 -6
- package/theming/{utility-classes/_elder-layout-system.scss → utilities/_elder-layout-utils.scss} +46 -21
- package/theming/utilities/_elder-typography-utils.scss +61 -0
- package/lib/components/layout/pane-container/pane-container.component.d.ts +0 -11
- package/lib/components/m3-sidenav/m3-sidenav.component.d.ts +0 -5
- package/lib/components/style-debugger/style-debugger.component.d.ts +0 -40
- package/src/lib/components/chips/_elder-chip-theme.scss +0 -129
- package/theming/style-tweaks/_elder-reset.scss +0 -13
- package/theming/system/_elder-design-tokens.scss +0 -90
- package/theming/system/_elder-m3-theme.scss +0 -156
- package/theming/system/_elder-starter-theme.scss +0 -41
- /package/theming/{style-tweaks/_elder-style-tweak-mixins.scss → base/_elder-base-mixins.scss} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@use '@angular/material' as mat;
|
|
2
|
-
@use './elder-
|
|
2
|
+
@use './elder-base-mixins' as mixins;
|
|
3
3
|
@use 'sass:map';
|
|
4
4
|
|
|
5
|
-
@mixin elder-
|
|
5
|
+
@mixin elder-fixes-base($theme) {
|
|
6
6
|
@include _ng-style-fixes;
|
|
7
7
|
@include _mat-style-fixes($theme);
|
|
8
8
|
@include _mat3-fixes($theme);
|
|
@@ -130,9 +130,8 @@
|
|
|
130
130
|
|
|
131
131
|
.legacy-layout-card {
|
|
132
132
|
background-color: var(--mdc-elevated-card-container-color);
|
|
133
|
-
//border: var(--elder-border-light);
|
|
134
133
|
border-radius: var(--elder-border-radius-sm);
|
|
135
|
-
box-shadow: var(--mdc-elevated-card-container-elevation);
|
|
134
|
+
box-shadow: var(--mdc-elevated-card-container-elevation, var(--mat-sys-level1));
|
|
136
135
|
overflow: hidden; // this might cause issues, but is probably correct..
|
|
137
136
|
}
|
|
138
137
|
|
|
@@ -178,7 +177,14 @@
|
|
|
178
177
|
}
|
|
179
178
|
}
|
|
180
179
|
|
|
180
|
+
&.elder-light-theme {
|
|
181
|
+
.mat-toolbar.mat-primary .mat-mdc-input-element::placeholder {
|
|
182
|
+
color: var(--md-sys-color-inverse-on-surface) !important; // fix placeholder color
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
181
186
|
&.elder-dark-theme {
|
|
187
|
+
.mat-toolbar,
|
|
182
188
|
.mat-toolbar.mat-primary,
|
|
183
189
|
.mat-toolbar.mat-accent {
|
|
184
190
|
background-color: var(--elder-dark-gray) !important;
|
|
@@ -298,18 +304,18 @@
|
|
|
298
304
|
}
|
|
299
305
|
|
|
300
306
|
// round input fields
|
|
301
|
-
&.deactivated {
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
}
|
|
307
|
+
// &.deactivated {
|
|
308
|
+
// elder-search-box .elder-search-box-field,
|
|
309
|
+
// .mat-toolbar .mat-mdc-form-field {
|
|
310
|
+
// background-color: var(--md-sys-color-surface-container-low);
|
|
311
|
+
// border-radius: 24px !important;
|
|
312
|
+
|
|
313
|
+
// // remove border from notch piece on input fields
|
|
314
|
+
// .mat-mdc-notch-piece {
|
|
315
|
+
// border-width: 0 !important;
|
|
316
|
+
// }
|
|
317
|
+
// }
|
|
318
|
+
// }
|
|
313
319
|
|
|
314
320
|
.mat-toolbar .mat-mdc-form-field {
|
|
315
321
|
background-color: var(--elder-lightened-transparent-bg);
|
|
@@ -320,10 +326,6 @@
|
|
|
320
326
|
--mdc-outlined-text-field-input-text-color: var(--md-sys-color-inverse-on-surface) !important;
|
|
321
327
|
--mdc-outlined-text-field-caret-color: var(--md-sys-color-inverse-on-surface) !important;
|
|
322
328
|
}
|
|
323
|
-
// * {
|
|
324
|
-
// color: var(--md-sys-color-inverse-on-surface);
|
|
325
|
-
// border-color: var(--md-sys-color-inverse-on-surface);
|
|
326
|
-
// }
|
|
327
329
|
}
|
|
328
330
|
|
|
329
331
|
.elder-pane {
|
|
@@ -374,4 +376,14 @@
|
|
|
374
376
|
caret-color: currentColor;
|
|
375
377
|
}
|
|
376
378
|
}
|
|
379
|
+
|
|
380
|
+
&.elder-light-theme,
|
|
381
|
+
&.elder-dark-theme {
|
|
382
|
+
--mdc-linear-progress-track-color: var(--elder-color-highlight-variant);
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
// disable icon button overflow
|
|
386
|
+
// .mat-mdc-icon-button {
|
|
387
|
+
// overflow: hidden;
|
|
388
|
+
// }
|
|
377
389
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
@use './elder-
|
|
1
|
+
@use './elder-base-mixins' as mixins;
|
|
2
2
|
@use '@angular/material' as mat;
|
|
3
3
|
@use 'sass:map';
|
|
4
4
|
|
|
5
|
-
@mixin elder-form-
|
|
5
|
+
@mixin elder-form-base($theme) {
|
|
6
6
|
$common-sizes: map.get($theme, elder, common-sizes);
|
|
7
7
|
$form-field-density: map.get($theme, elder, density, form-field);
|
|
8
8
|
|
|
@@ -325,16 +325,19 @@
|
|
|
325
325
|
.elder-round-form-field {
|
|
326
326
|
border: none;
|
|
327
327
|
border-radius: 24px;
|
|
328
|
-
background-color: var(--md-sys-color-surface-container
|
|
328
|
+
background-color: var(--md-sys-color-surface-container);
|
|
329
|
+
cursor: text;
|
|
330
|
+
outline: var(--elder-round-form-field-outline);
|
|
329
331
|
|
|
330
332
|
.mdc-notched-outline .mat-mdc-notch-piece {
|
|
331
333
|
border: none !important;
|
|
332
334
|
}
|
|
333
335
|
&:hover {
|
|
334
|
-
|
|
336
|
+
background-color: var(--md-sys-color-surface-container-high);
|
|
335
337
|
}
|
|
336
338
|
&.mat-focused {
|
|
337
339
|
outline: solid 1px var(--md-sys-color-primary);
|
|
340
|
+
background-color: var(--md-sys-color-surface-container-low);
|
|
338
341
|
}
|
|
339
342
|
}
|
|
340
343
|
}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
// "mat.color-variants-backwards-compatibility()"
|
|
14
14
|
// But can be customized in this mixin below:
|
|
15
15
|
|
|
16
|
-
@mixin elder-
|
|
16
|
+
@mixin elder-m2-legacy-base($theme) {
|
|
17
17
|
// Apply primary color variants for button components
|
|
18
18
|
mat-chip-option[color='primary'] {
|
|
19
19
|
@include mat.chips-color($theme, $color-variant: primary);
|
|
@@ -28,4 +28,10 @@
|
|
|
28
28
|
mat-chip-option[color='accent'] {
|
|
29
29
|
@include mat.chips-color($theme, $color-variant: tertiary);
|
|
30
30
|
}
|
|
31
|
+
|
|
32
|
+
// &.elder-light-theme {
|
|
33
|
+
// .mat-accent.mat-mdc-standard-chip {
|
|
34
|
+
// background-color: var(--md-sys-color-tertiary-fixed) !important;
|
|
35
|
+
// }
|
|
36
|
+
// }
|
|
31
37
|
}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
@use '../abstracts/elder-scss-variables' as config;
|
|
4
|
+
|
|
5
|
+
$colorStateNone: var(--elder-chip-color-state-none);
|
|
6
|
+
$colorStateOpen: var(--elder-chip-color-state-open);
|
|
7
|
+
|
|
8
|
+
$colorStateInProgress: var(--elder-chip-color-state-in-progress);
|
|
9
|
+
$colorStateCompleted: var(--elder-chip-color-state-completed);
|
|
10
|
+
$colorStateWarn: var(--elder-chip-color-state-warn);
|
|
11
|
+
$colorStateError: var(--elder-chip-color-state-error);
|
|
12
|
+
$colorStateOther: var(--elder-chip-color-state-other);
|
|
13
|
+
|
|
14
|
+
$level-low: $colorStateCompleted;
|
|
15
|
+
$level-medium: $colorStateInProgress;
|
|
16
|
+
$level-high: $colorStateWarn;
|
|
17
|
+
$level-critical: $colorStateError;
|
|
18
|
+
|
|
19
|
+
@mixin theme($config-or-theme) {
|
|
20
|
+
.mat-mdc-chip.mat-mdc-chip {
|
|
21
|
+
--mdc-chip-elevated-container-color: rgba(143, 143, 143, 0.2);
|
|
22
|
+
background-color: var(--mdc-chip-elevated-container-color);
|
|
23
|
+
|
|
24
|
+
&.elder-chip-color-primary,
|
|
25
|
+
&.color-primary {
|
|
26
|
+
background-color: var(--md-sys-color-primary-container);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.elder-chip-color-primary,
|
|
30
|
+
&.color-primary {
|
|
31
|
+
@include _theme_color_chip(
|
|
32
|
+
var(--md-sys-color-primary-container),
|
|
33
|
+
var(--md-sys-color-primary),
|
|
34
|
+
var(--md-sys-color-on-primary)
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.elder-chip-color-accent,
|
|
39
|
+
&.elder-chip-color-tertiary,
|
|
40
|
+
&.color-accent {
|
|
41
|
+
@include _theme_color_chip(
|
|
42
|
+
var(--md-sys-color-tertiary-container),
|
|
43
|
+
var(--md-sys-color-tertiary),
|
|
44
|
+
var(--md-sys-color-on-tertiary)
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&.elder-chip-color-warn,
|
|
49
|
+
&.color-warn {
|
|
50
|
+
@include _theme_color_chip(
|
|
51
|
+
var(--md-sys-color-error-container),
|
|
52
|
+
var(--md-sys-color-error),
|
|
53
|
+
var(--md-sys-color-on-error)
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&.elder-chip-state-none,
|
|
58
|
+
&.none {
|
|
59
|
+
@include _outlined-label-chip($colorStateNone);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&.elder-chip-state-open,
|
|
63
|
+
&.state-open {
|
|
64
|
+
@include _outlined-label-chip($colorStateOpen);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&.elder-chip-state-in-progress,
|
|
68
|
+
&.state-in-progress {
|
|
69
|
+
@include _outlined-label-chip($colorStateInProgress);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&.elder-chip-state-completed,
|
|
73
|
+
&.state-completed {
|
|
74
|
+
@include _outlined-label-chip($colorStateCompleted);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&.elder-chip-state-warn,
|
|
78
|
+
&.state-warn {
|
|
79
|
+
@include _outlined-label-chip($colorStateWarn);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&.elder-chip-state-error,
|
|
83
|
+
&.state-error {
|
|
84
|
+
@include _outlined-label-chip($colorStateError);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&.elder-chip-state-other,
|
|
88
|
+
&.state-other {
|
|
89
|
+
@include _outlined-label-chip($colorStateOther);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
// ---
|
|
93
|
+
|
|
94
|
+
&.elder-chip-level-low,
|
|
95
|
+
&.level-low {
|
|
96
|
+
@include _outlined-label-chip($level-low);
|
|
97
|
+
}
|
|
98
|
+
&.elder-chip-level-medium,
|
|
99
|
+
&.level-medium {
|
|
100
|
+
@include _outlined-label-chip($level-medium);
|
|
101
|
+
}
|
|
102
|
+
&.elder-chip-level-high,
|
|
103
|
+
&.level-high {
|
|
104
|
+
@include _outlined-label-chip($level-high);
|
|
105
|
+
}
|
|
106
|
+
&.elder-chip-level-critical,
|
|
107
|
+
&.level-critical {
|
|
108
|
+
@include _outlined-label-chip($level-critical);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// &.elder-chip-state-none,
|
|
112
|
+
// &.elder-chip-state-open,
|
|
113
|
+
// &.elder-chip-state-in-progress,
|
|
114
|
+
// &.elder-chip-state-completed,
|
|
115
|
+
// &.elder-chip-state-warn,
|
|
116
|
+
// &.elder-chip-state-error,
|
|
117
|
+
// &.elder-chip-state-other,
|
|
118
|
+
// &.elder-chip-level-low,
|
|
119
|
+
// &.elder-chip-level-medium,
|
|
120
|
+
// &.elder-chip-level-high,
|
|
121
|
+
// &.elder-chip-level-critical {
|
|
122
|
+
// color: red !important;
|
|
123
|
+
// .mat-mdc-chip-action-label,
|
|
124
|
+
// .mat-mdc-chip-avatar {
|
|
125
|
+
// color: red !important;
|
|
126
|
+
// }
|
|
127
|
+
// }
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
@mixin _theme_color_chip($color1, $color2, $color3) {
|
|
132
|
+
&.legacy {
|
|
133
|
+
background-color: $color2;
|
|
134
|
+
.mat-mdc-chip-action-label,
|
|
135
|
+
.mat-mdc-chip-avatar,
|
|
136
|
+
.mdc-evolution-chip__checkmark {
|
|
137
|
+
color: $color3;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
&.md3 {
|
|
141
|
+
background-color: $color1;
|
|
142
|
+
border-color: $color2;
|
|
143
|
+
.mat-mdc-chip-action-label,
|
|
144
|
+
.mat-mdc-chip-avatar,
|
|
145
|
+
.mdc-evolution-chip__checkmark {
|
|
146
|
+
//color: $color2;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
@mixin _outlined-label-chip($color1) {
|
|
152
|
+
background-color: $color1;
|
|
153
|
+
// border-color: $color1;
|
|
154
|
+
// .mat-mdc-chip-action-label,
|
|
155
|
+
// .mat-mdc-chip-avatar {
|
|
156
|
+
// color: $color1;
|
|
157
|
+
// }
|
|
158
|
+
}
|
package/theming/{utility-classes/_elder-color-helpers.scss → utilities/_elder-color-utils.scss}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@mixin elder-color-
|
|
1
|
+
@mixin elder-color-utils() {
|
|
2
2
|
$color-variables: (
|
|
3
3
|
'background': var(--md-sys-color-background),
|
|
4
4
|
'error': var(--md-sys-color-error),
|
|
@@ -58,6 +58,10 @@
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
+
.elder-bg-transparent {
|
|
62
|
+
background-color: transparent;
|
|
63
|
+
}
|
|
64
|
+
|
|
61
65
|
// text colors
|
|
62
66
|
@each $name, $value in $color-variables {
|
|
63
67
|
.elder-text-#{$name} {
|
|
@@ -65,13 +69,6 @@
|
|
|
65
69
|
}
|
|
66
70
|
}
|
|
67
71
|
|
|
68
|
-
// border colors
|
|
69
|
-
@each $name, $value in $color-variables {
|
|
70
|
-
.elder-border-#{$name} {
|
|
71
|
-
border-color: #{$value};
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
72
|
.elder-pane-bg-color {
|
|
76
73
|
background-color: var(--elder-pane-bg-color);
|
|
77
74
|
}
|
package/theming/{utility-classes/_elder-flex-layout.scss → utilities/_elder-flex-layout-utils.scss}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use '../
|
|
1
|
+
@use '../abstracts/elder-scss-variables' as settings;
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
4
|
/***************************************************************************
|
|
@@ -33,7 +33,7 @@ $media: (
|
|
|
33
33
|
flex: 1 1 100%;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
@mixin elder-flex-layout($theme) {
|
|
36
|
+
@mixin elder-flex-layout-utils($theme) {
|
|
37
37
|
$common-sizes: map.get($theme, elder, common-sizes);
|
|
38
38
|
|
|
39
39
|
/***************************************************************************
|
|
@@ -62,10 +62,6 @@ $media: (
|
|
|
62
62
|
width: 100%;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
.min-h-full {
|
|
66
|
-
min-height: 100%;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
65
|
/***************************************************************************
|
|
70
66
|
* *
|
|
71
67
|
* Flex Layout Row *
|
|
@@ -209,6 +205,10 @@ $media: (
|
|
|
209
205
|
flex: 0 1 auto; // No grow, shrink
|
|
210
206
|
}
|
|
211
207
|
|
|
208
|
+
.flex-initial-100 {
|
|
209
|
+
flex: 1 1 100%;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
212
|
.flex-none {
|
|
213
213
|
flex: none;
|
|
214
214
|
}
|
|
@@ -315,6 +315,108 @@ $media: (
|
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
|
|
318
|
+
/***************************************************************************
|
|
319
|
+
* *
|
|
320
|
+
* Flex Item Grow/Shrink *
|
|
321
|
+
* *
|
|
322
|
+
**************************************************************************/
|
|
323
|
+
|
|
324
|
+
.max-w-100 {
|
|
325
|
+
max-width: 100%;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.max-w-90 {
|
|
329
|
+
max-width: 90%;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.max-w-80 {
|
|
333
|
+
max-width: 80%;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.max-w-70 {
|
|
337
|
+
max-width: 70%;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.max-w-60 {
|
|
341
|
+
max-width: 60%;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.max-w-50 {
|
|
345
|
+
max-width: 50%;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.max-w-40 {
|
|
349
|
+
max-width: 40%;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.max-w-30 {
|
|
353
|
+
max-width: 30%;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.max-w-25 {
|
|
357
|
+
max-width: 25%;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.max-w-20 {
|
|
361
|
+
max-width: 20%;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.max-w-15 {
|
|
365
|
+
max-width: 15%;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.max-w-10 {
|
|
369
|
+
max-width: 10%;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.max-h-100 {
|
|
373
|
+
max-height: 100%;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.max-h-90 {
|
|
377
|
+
max-height: 90%;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.max-h-80 {
|
|
381
|
+
max-height: 80%;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
.max-h-70 {
|
|
385
|
+
max-height: 70%;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.max-h-60 {
|
|
389
|
+
max-height: 60%;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.max-h-50 {
|
|
393
|
+
max-height: 50%;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.max-h-40 {
|
|
397
|
+
max-height: 40%;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.max-h-30 {
|
|
401
|
+
max-height: 30%;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.max-h-25 {
|
|
405
|
+
max-height: 25%;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.max-h-20 {
|
|
409
|
+
max-height: 20%;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.max-h-15 {
|
|
413
|
+
max-height: 15%;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.max-h-10 {
|
|
417
|
+
max-height: 10%;
|
|
418
|
+
}
|
|
419
|
+
|
|
318
420
|
/***************************************************************************
|
|
319
421
|
* *
|
|
320
422
|
* Flex Item Grow/Shrink *
|
package/theming/{utility-classes/_elder-layout-system.scss → utilities/_elder-layout-utils.scss}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use '@angular/material' as mat;
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
|
-
@mixin elder-layout-
|
|
4
|
+
@mixin elder-layout-utils($theme) {
|
|
5
5
|
$common-sizes: map.get($theme, elder, common-sizes);
|
|
6
6
|
|
|
7
7
|
/***************************************************************************
|
|
@@ -23,6 +23,10 @@
|
|
|
23
23
|
* *
|
|
24
24
|
**************************************************************************/
|
|
25
25
|
|
|
26
|
+
.p-pane {
|
|
27
|
+
padding: var(--elder-pane-padding);
|
|
28
|
+
}
|
|
29
|
+
|
|
26
30
|
.p-xs {
|
|
27
31
|
padding: $xs;
|
|
28
32
|
}
|
|
@@ -248,34 +252,25 @@
|
|
|
248
252
|
margin-right: auto;
|
|
249
253
|
}
|
|
250
254
|
|
|
251
|
-
.
|
|
252
|
-
margin:
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
.mt-0 {
|
|
256
|
-
margin-top: 0;
|
|
255
|
+
.my-auto {
|
|
256
|
+
margin-top: auto;
|
|
257
|
+
margin-bottom: auto;
|
|
257
258
|
}
|
|
258
259
|
|
|
259
|
-
.
|
|
260
|
-
margin-
|
|
260
|
+
.mt-auto {
|
|
261
|
+
margin-top: auto;
|
|
261
262
|
}
|
|
262
263
|
|
|
263
|
-
.
|
|
264
|
-
margin-
|
|
264
|
+
.mb-auto {
|
|
265
|
+
margin-bottom: auto;
|
|
265
266
|
}
|
|
266
267
|
|
|
267
|
-
.
|
|
268
|
-
margin-
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
.mx-0 {
|
|
272
|
-
margin-left: 0;
|
|
273
|
-
margin-right: 0;
|
|
268
|
+
.mr-auto {
|
|
269
|
+
margin-right: auto;
|
|
274
270
|
}
|
|
275
271
|
|
|
276
|
-
.
|
|
277
|
-
margin-
|
|
278
|
-
margin-bottom: 0;
|
|
272
|
+
.ml-auto {
|
|
273
|
+
margin-left: auto;
|
|
279
274
|
}
|
|
280
275
|
|
|
281
276
|
.m-xs {
|
|
@@ -458,6 +453,36 @@
|
|
|
458
453
|
margin-bottom: $xxl;
|
|
459
454
|
}
|
|
460
455
|
|
|
456
|
+
.m-0 {
|
|
457
|
+
margin: 0;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.mt-0 {
|
|
461
|
+
margin-top: 0;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
.mb-0 {
|
|
465
|
+
margin-bottom: 0;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
.mr-0 {
|
|
469
|
+
margin-right: 0;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.ml-0 {
|
|
473
|
+
margin-left: 0;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
.mx-0 {
|
|
477
|
+
margin-left: 0;
|
|
478
|
+
margin-right: 0;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
.my-0 {
|
|
482
|
+
margin-top: 0;
|
|
483
|
+
margin-bottom: 0;
|
|
484
|
+
}
|
|
485
|
+
|
|
461
486
|
/***************************************************************************
|
|
462
487
|
* *
|
|
463
488
|
* Layout Widths *
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
@mixin elder-typography-utils() {
|
|
2
|
+
.text-display-large {
|
|
3
|
+
font: var(--md-sys-typescale-display-large);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.text-display-medium {
|
|
7
|
+
font: var(--md-sys-typescale-display-medium);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.text-display-small {
|
|
11
|
+
font: var(--md-sys-typescale-display-small);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.text-headline-large {
|
|
15
|
+
font: var(--md-sys-typescale-headline-large);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.text-headline-medium {
|
|
19
|
+
font: var(--md-sys-typescale-headline-medium);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.text-headline-small {
|
|
23
|
+
font: var(--md-sys-typescale-headline-small);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.text-title-large {
|
|
27
|
+
font: var(--md-sys-typescale-title-large);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.text-title-medium {
|
|
31
|
+
font: var(--md-sys-typescale-title-medium);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.text-title-small {
|
|
35
|
+
font: var(--md-sys-typescale-title-small);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.text-label-large {
|
|
39
|
+
font: var(--md-sys-typescale-label-large);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.text-label-medium {
|
|
43
|
+
font: var(--md-sys-typescale-label-medium);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.text-label-small {
|
|
47
|
+
font: var(--md-sys-typescale-label-small);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.text-body-large {
|
|
51
|
+
font: var(--md-sys-typescale-body-large);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.text-body-medium {
|
|
55
|
+
font: var(--md-sys-typescale-body-medium);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.text-body-small {
|
|
59
|
+
font: var(--md-sys-typescale-body-small);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { QueryList } from '@angular/core';
|
|
2
|
-
import { ElderPaneComponent } from '../public_api';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ElderPaneContainerComponent {
|
|
5
|
-
class: string;
|
|
6
|
-
children: QueryList<ElderPaneComponent>;
|
|
7
|
-
hasChild: boolean;
|
|
8
|
-
ngAfterContentInit(): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ElderPaneContainerComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ElderPaneContainerComponent, "elder-pane-container", never, {}, {}, ["children"], ["elder-pane", "*"], true, never>;
|
|
11
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class M3SidenavComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<M3SidenavComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<M3SidenavComponent, "elder-m3-sidenav", never, {}, {}, never, never, true, never>;
|
|
5
|
-
}
|