@elderbyte/ngx-starter 18.13.0-beta.1 → 18.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.
- package/_index.scss +6 -23
- package/esm2022/lib/common/exceptions/public_api.mjs +2 -0
- package/esm2022/lib/common/exceptions/unreachable-case-error.mjs +6 -0
- package/esm2022/lib/common/public_api.mjs +2 -1
- package/esm2022/lib/components/badge/elder-badge/elder-badge.component.mjs +3 -3
- package/esm2022/lib/components/data-transfer/http-data-transfer-indicator/http-data-transfer-indicator.component.mjs +3 -3
- package/esm2022/lib/components/data-transfer/http-data-transfer-overview/http-data-transfer-overview.component.mjs +3 -3
- package/esm2022/lib/components/files/blob-viewer/elder-blob-viewer.component.mjs +3 -3
- package/esm2022/lib/components/forms/directives/checkbox/elder-single-state-checkbox-controller.mjs +97 -0
- package/esm2022/lib/components/forms/directives/checkbox/elder-single-state-checkbox.directive.mjs +50 -0
- package/esm2022/lib/components/forms/directives/checkbox/elder-triple-state-checkbox-controller.mjs +102 -0
- package/esm2022/lib/components/forms/directives/checkbox/elder-triple-state-checkbox.directive.mjs +50 -0
- package/esm2022/lib/components/forms/directives/elder-forms-directives.module.mjs +9 -3
- package/esm2022/lib/components/input/autocomplete/elder-autocomplete/elder-suggestion-panel.component.mjs +5 -12
- package/esm2022/lib/components/page/exit-guard/page-exit-lock-indicator/page-exit-lock-indicator.component.mjs +3 -3
- package/esm2022/lib/components/public_api.mjs +1 -2
- package/esm2022/lib/components/select/filter/elder-filter-chip-template/elder-filter-chip-template.component.mjs +3 -3
- package/esm2022/lib/components/select/multi/elder-multi-select-chip-options/elder-multi-select-chip-options.component.mjs +3 -3
- package/esm2022/lib/components/select/multi/elder-multi-select-chips/elder-multi-select-chips.component.mjs +3 -3
- package/esm2022/lib/components/select/popup/templated-selection-dialog/templated-selection-dialog.component.mjs +3 -3
- package/esm2022/lib/components/select/single/elder-select/elder-select.component.mjs +5 -3
- package/esm2022/lib/components/shell/header/elder-app-header/elder-app-header.component.mjs +3 -3
- package/esm2022/lib/components/time/elder-interval-picker/elder-interval-picker.component.mjs +3 -3
- package/esm2022/lib/components/toasts/standard-toast/standard-toast.component.mjs +3 -3
- package/fesm2022/elderbyte-ngx-starter.mjs +349 -189
- package/fesm2022/elderbyte-ngx-starter.mjs.map +1 -1
- package/lib/common/exceptions/public_api.d.ts +1 -0
- package/lib/common/exceptions/unreachable-case-error.d.ts +4 -0
- package/lib/common/public_api.d.ts +1 -0
- package/lib/components/forms/directives/checkbox/elder-single-state-checkbox-controller.d.ts +46 -0
- package/lib/components/forms/directives/checkbox/elder-single-state-checkbox.directive.d.ts +34 -0
- package/lib/components/forms/directives/checkbox/elder-triple-state-checkbox-controller.d.ts +47 -0
- package/lib/components/forms/directives/{elder-triple-state-checkbox.directive.d.ts → checkbox/elder-triple-state-checkbox.directive.d.ts} +10 -23
- package/lib/components/forms/directives/elder-forms-directives.module.d.ts +9 -7
- package/lib/components/input/autocomplete/elder-autocomplete/elder-suggestion-panel.component.d.ts +1 -2
- package/lib/components/public_api.d.ts +0 -1
- package/package.json +1 -1
- package/src/lib/components/badge/elder-badge/elder-badge.component.scss +1 -2
- package/src/lib/components/button-group/elder-button-group/elder-button-group.component.scss +7 -1
- package/src/lib/components/card-organizer/card-stack/elder-card-stack.component.scss +14 -3
- package/src/lib/components/cards/elder-card/elder-card.component.scss +8 -2
- package/src/lib/components/chips/_elder-chip-theme.scss +12 -101
- package/src/lib/components/data-transfer/http-data-transfer-indicator/http-data-transfer-indicator.component.scss +6 -0
- package/src/lib/components/data-transfer/http-data-transfer-overview/http-data-transfer-overview.component.scss +0 -11
- package/src/lib/components/data-view/grid/elder-grid/elder-grid.component.scss +22 -15
- package/src/lib/components/data-view/table/elder-table/elder-table.component.scss +21 -12
- package/src/lib/components/errors/exception-detail/elder-exception-detail.component.scss +9 -2
- package/src/lib/components/expand-toggle-button/elder-expand-toggle-button.component.scss +8 -2
- package/src/lib/components/files/blob-viewer/elder-blob-viewer.component.scss +9 -4
- package/src/lib/components/files/drag-n-drop/elder-drop-zone/elder-drop-zone.component.scss +10 -7
- package/src/lib/components/iframes/iframe-host/iframe-host.component.scss +4 -0
- package/src/lib/components/navigation/nav/_elder-nav-theme.scss +24 -12
- package/src/lib/components/page/exit-guard/page-exit-lock-indicator/page-exit-lock-indicator.component.scss +4 -1
- package/src/lib/components/panels/card-panel/elder-card-panel.component.scss +12 -3
- package/src/lib/components/panels/elder-dialog-panel/elder-dialog-panel.component.scss +12 -4
- package/src/lib/components/panels/flat/_elder-panel-theme.scss +9 -26
- package/src/lib/components/select/_elder-select-base.scss +9 -1
- package/src/lib/components/select/filter/elder-filter-chip-template/elder-filter-chip-template.component.scss +4 -1
- package/src/lib/components/select/multi/elder-multi-select-chip-options/elder-multi-select-chip-options.component.scss +39 -10
- package/src/lib/components/select/multi/elder-multi-select-chips/elder-multi-select-chips.component.scss +52 -19
- package/src/lib/components/select/single/elder-select/elder-select.component.scss +40 -24
- package/src/lib/components/time/_elder-time-input.theme.scss +3 -0
- package/src/lib/components/toasts/standard-toast/standard-toast.component.scss +2 -31
- package/theming/_elder-common.scss +399 -6
- package/theming/_elder-defaults.scss +7 -3
- package/theming/_elder-mdc-support.scss +142 -59
- package/theming/_elder-palettes.scss +148 -0
- package/theming/_elder-scrollbar-theme.scss +12 -2
- package/theming/_elder-style-fixes.scss +109 -42
- package/theming/_elder-theme.scss +51 -0
- package/theming/_elder-toast-theme.scss +46 -0
- package/theming/_elder-typography-utils.scss +11 -0
- package/theming/_mat-icon-button-size.scss +34 -0
- package/theming/_mixins.scss +0 -35
- package/esm2022/lib/components/forms/directives/elder-triple-state-checkbox.directive.mjs +0 -120
- package/esm2022/lib/components/loader-background/loader-background.component.mjs +0 -11
- package/lib/components/loader-background/loader-background.component.d.ts +0 -5
- package/src/lib/components/chips/_elder-chip-theme-old.scss +0 -122
- package/src/lib/components/loader-background/loader-background.component.scss +0 -60
- package/theming/_elder-badge-sizing.scss +0 -21
- package/theming/_elder-color-variants.scss +0 -26
- package/theming/_elder-form.scss +0 -308
- package/theming/_elder-layout-system.scss +0 -242
- package/theming/_elder-m3-theme.scss +0 -879
|
@@ -3,13 +3,17 @@
|
|
|
3
3
|
@use '../../../../../../theming/elder-typography-utils' as elder-typography;
|
|
4
4
|
@use '../../elder-select-base' as elder-select-base;
|
|
5
5
|
|
|
6
|
-
@mixin typography($config
|
|
7
|
-
$
|
|
6
|
+
@mixin typography($typography-config) {
|
|
7
|
+
$config: $typography-config;
|
|
8
|
+
// The unit-less line-height from the font config.
|
|
9
|
+
$line-height: mat.m2-line-height($config, body-1);
|
|
10
|
+
$font-size: mat.m2-font-size($config, body-1);
|
|
11
|
+
$line-height-em: elder-typography.coerce-unitless-to-em($line-height);
|
|
8
12
|
|
|
9
|
-
@include elder-select-base.typography($config
|
|
13
|
+
@include elder-select-base.typography($typography-config);
|
|
10
14
|
|
|
11
15
|
.elder-select {
|
|
12
|
-
font-family:
|
|
16
|
+
font-family: mat.m2-font-family($config);
|
|
13
17
|
|
|
14
18
|
.elder-input-prefix-icon-container {
|
|
15
19
|
padding-right: 3px;
|
|
@@ -27,33 +31,45 @@
|
|
|
27
31
|
}
|
|
28
32
|
|
|
29
33
|
@mixin theme($config-or-theme) {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
@include typography($config-or-theme);
|
|
34
|
+
$color: mat.m2-get-color-config($config-or-theme);
|
|
35
|
+
$typography: elder-typography.get-typography-config($config-or-theme);
|
|
33
36
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
100% {
|
|
39
|
-
transform: scale(0.75);
|
|
40
|
-
}
|
|
37
|
+
// If no actual typography configuration has been specified, create a default one.
|
|
38
|
+
@if not $typography {
|
|
39
|
+
$typography: mat.m2-define-typography-config();
|
|
41
40
|
}
|
|
42
41
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
-webkit-animation: shrink 0.3s ease-in-out infinite alternate;
|
|
42
|
+
@if $color != null {
|
|
43
|
+
@include elder-select-base.color($color);
|
|
46
44
|
}
|
|
47
45
|
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
@if $typography != null {
|
|
47
|
+
@include typography($typography);
|
|
50
48
|
}
|
|
49
|
+
}
|
|
51
50
|
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
@keyframes shrink {
|
|
52
|
+
0% {
|
|
53
|
+
transform: scale(1);
|
|
54
54
|
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
cursor: pointer;
|
|
55
|
+
100% {
|
|
56
|
+
transform: scale(0.75);
|
|
58
57
|
}
|
|
59
58
|
}
|
|
59
|
+
|
|
60
|
+
.loading {
|
|
61
|
+
animation: shrink 0.3s ease-in-out infinite alternate;
|
|
62
|
+
-webkit-animation: shrink 0.3s ease-in-out infinite alternate;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.clickable-icon {
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.full-width {
|
|
70
|
+
width: 100%;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.elder-select-dropdown-input {
|
|
74
|
+
cursor: pointer;
|
|
75
|
+
}
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
@use '../../../../theming/elder-typography-utils' as elder-typography;
|
|
4
4
|
|
|
5
5
|
@mixin theme($config-or-theme) {
|
|
6
|
+
$color: mat.m2-get-color-config($config-or-theme);
|
|
7
|
+
$typography: mat.m2-get-typography-config($config-or-theme);
|
|
8
|
+
|
|
6
9
|
@include _interval-form-field-sizing();
|
|
7
10
|
@include _interval-form-field-color();
|
|
8
11
|
}
|
|
@@ -1,32 +1,3 @@
|
|
|
1
|
-
.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
button {
|
|
5
|
-
background-color: var(--md-sys-color-primary-container);;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.toast-title,
|
|
9
|
-
.mat-icon {
|
|
10
|
-
color: var(--md-sys-color-primary-fixed);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&.elder-toast-type-warn {
|
|
14
|
-
button {
|
|
15
|
-
background-color: var(--md-sys-color-tertiary-container);
|
|
16
|
-
}
|
|
17
|
-
.toast-title,
|
|
18
|
-
.mat-icon {
|
|
19
|
-
color: var(--md-sys-color-tertiary-fixed);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&.elder-toast-type-error {
|
|
24
|
-
button {
|
|
25
|
-
background-color: var(--md-sys-color-error-container);
|
|
26
|
-
}
|
|
27
|
-
.toast-title,
|
|
28
|
-
.mat-icon {
|
|
29
|
-
color: var(--md-sys-color-error);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
1
|
+
.toast-title {
|
|
2
|
+
font-size: 16px;
|
|
32
3
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@use '
|
|
1
|
+
@use 'mat-icon-button-size' as icon-button-size;
|
|
2
2
|
@use '@angular/material' as mat;
|
|
3
|
-
|
|
3
|
+
@use 'mixins' as mixins;
|
|
4
4
|
@mixin elder-common-styles($theme) {
|
|
5
5
|
$common-sizes: map-get($theme, elder, common-sizes);
|
|
6
6
|
$form-field-density: map-get($theme, elder, density, form-field);
|
|
@@ -90,6 +90,175 @@
|
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
+
/***************************************************************************
|
|
94
|
+
* *
|
|
95
|
+
* elder-form-field-label styling *
|
|
96
|
+
* *
|
|
97
|
+
**************************************************************************/
|
|
98
|
+
|
|
99
|
+
// A legacy styled form field with class 'elder-form-field-label' will get these styles
|
|
100
|
+
.mat-form-field-appearance-legacy.elder-form-field-label {
|
|
101
|
+
/*TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.*/
|
|
102
|
+
.mat-form-field-underline {
|
|
103
|
+
display: none;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/***************************************************************************
|
|
108
|
+
Form field dense styling
|
|
109
|
+
**************************************************************************/
|
|
110
|
+
|
|
111
|
+
.mat-mdc-form-field.elder-dense {
|
|
112
|
+
.mat-mdc-text-field-wrapper {
|
|
113
|
+
// padding left / right 16 by default
|
|
114
|
+
padding-left: $sm !important;
|
|
115
|
+
padding-right: $sm !important;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.mat-mdc-form-field-flex {
|
|
119
|
+
padding: 0;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.mdc-text-field--outlined {
|
|
123
|
+
.mat-mdc-form-field-infix {
|
|
124
|
+
padding-top: $sm !important; // 16px by default
|
|
125
|
+
padding-bottom: $sm !important; // 16px by default
|
|
126
|
+
min-height: 40px; // (24 + 2*16) = 56px by default
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.mdc-text-field--filled {
|
|
131
|
+
.mdc-floating-label--float-above {
|
|
132
|
+
transform: translateY(-100%) scale(0.75);
|
|
133
|
+
}
|
|
134
|
+
.mat-mdc-form-field-infix {
|
|
135
|
+
padding-top: 14px !important; // 16px by default
|
|
136
|
+
padding-bottom: 2px;
|
|
137
|
+
min-height: 40px; // (24 + 2*16) = 56px by default
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
@include mixins.form-field-icons(-4);
|
|
142
|
+
|
|
143
|
+
//.mat-mdc-icon-button {
|
|
144
|
+
// // @include icon-button-size.matIconButtonSize(40,24);
|
|
145
|
+
// width: 40px !important;
|
|
146
|
+
// height: 40px !important;
|
|
147
|
+
//
|
|
148
|
+
// padding: 0px !important;
|
|
149
|
+
// display: inline-flex !important;
|
|
150
|
+
// align-items: center;
|
|
151
|
+
// justify-content: center;
|
|
152
|
+
//
|
|
153
|
+
//
|
|
154
|
+
// .mat-mdc-button-touch-target {
|
|
155
|
+
// width: 40px !important;
|
|
156
|
+
// height: 40px !important;
|
|
157
|
+
// }
|
|
158
|
+
//}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.mat-mdc-form-field.elder-no-hint {
|
|
162
|
+
/*TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.*/
|
|
163
|
+
.mat-form-field-wrapper {
|
|
164
|
+
padding-bottom: 0;
|
|
165
|
+
}
|
|
166
|
+
/*TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.*/
|
|
167
|
+
.mat-form-field-underline {
|
|
168
|
+
bottom: 0;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/******************************
|
|
173
|
+
Material Form Controls
|
|
174
|
+
*******************************/
|
|
175
|
+
|
|
176
|
+
.elder-form-control {
|
|
177
|
+
width: 180px;
|
|
178
|
+
overflow: hidden; // This allows flex items to shrink (min/max is not defaulting auto)
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.elder-flex-control {
|
|
182
|
+
flex: 1 1 180px;
|
|
183
|
+
overflow: hidden;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/******************************
|
|
187
|
+
Material Form Field
|
|
188
|
+
*******************************/
|
|
189
|
+
|
|
190
|
+
.elder-form-field-gap {
|
|
191
|
+
width: 12px;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
// two fields plus 12px gap add up to elder-std-form-field width
|
|
195
|
+
.elder-form-field-small {
|
|
196
|
+
width: 84px;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
// three fields plus 12px gap add up to elder-std-form-field width
|
|
200
|
+
.elder-form-field-tiny {
|
|
201
|
+
width: 52px;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.elder-std-form-field {
|
|
205
|
+
width: 180px;
|
|
206
|
+
overflow: hidden; // This allows flex items to shrink (min/max is not defaulting auto)
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.elder-form-field-large {
|
|
210
|
+
width: 244px;
|
|
211
|
+
overflow: hidden;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.elder-form-field-xl {
|
|
215
|
+
width: 276px;
|
|
216
|
+
overflow: hidden;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.elder-form-field-xxl {
|
|
220
|
+
width: 372px;
|
|
221
|
+
overflow: hidden;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* mat-form-field style shorthands
|
|
226
|
+
*/
|
|
227
|
+
mat-form-field {
|
|
228
|
+
// three fields plus 12px gap add up to elder-std-form-field width
|
|
229
|
+
.tiny {
|
|
230
|
+
width: 52px; // (180-(2*12)) / 3
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
// two fields plus 12px gap add up to elder-std-form-field width
|
|
234
|
+
.small {
|
|
235
|
+
width: 84px; // (180-(1*12)) / 2
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.standard {
|
|
239
|
+
width: 180px;
|
|
240
|
+
overflow: hidden; // This allows flex items to shrink (min/max is not defaulting auto)
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
// one and a half plus 12px gap 180 + 52 + 12
|
|
244
|
+
.large {
|
|
245
|
+
width: 244px;
|
|
246
|
+
overflow: hidden;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
// one and a half plus 12px gap 180 + 84 + 12
|
|
250
|
+
.xl {
|
|
251
|
+
width: 276px;
|
|
252
|
+
overflow: hidden;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
// two standard fields plus 12px gap (180 + 180 + 12)
|
|
256
|
+
.xxl {
|
|
257
|
+
width: 372px;
|
|
258
|
+
overflow: hidden;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
93
262
|
/***************************************************************************
|
|
94
263
|
* *
|
|
95
264
|
* Style for hiding spinner on inputs *
|
|
@@ -131,6 +300,230 @@
|
|
|
131
300
|
display: none;
|
|
132
301
|
}
|
|
133
302
|
|
|
303
|
+
/***************************************************************************
|
|
304
|
+
* *
|
|
305
|
+
* Padding *
|
|
306
|
+
* *
|
|
307
|
+
**************************************************************************/
|
|
308
|
+
|
|
309
|
+
.p-xs {
|
|
310
|
+
padding: $xs;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.pt-xs {
|
|
314
|
+
padding-top: $xs;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.pb-xs {
|
|
318
|
+
padding-bottom: $xs;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.pr-xs {
|
|
322
|
+
padding-right: $xs;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.pl-xs {
|
|
326
|
+
padding-left: $xs;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.px-xs {
|
|
330
|
+
padding-left: $xs;
|
|
331
|
+
padding-right: $xs;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.py-xs {
|
|
335
|
+
padding-top: $xs;
|
|
336
|
+
padding-bottom: $xs;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.p-sm {
|
|
340
|
+
padding: $sm;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.pt-sm {
|
|
344
|
+
padding-top: $sm;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.pb-sm {
|
|
348
|
+
padding-bottom: $sm;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.pr-sm {
|
|
352
|
+
padding-right: $sm;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.pl-sm {
|
|
356
|
+
padding-left: $sm;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
.px-sm {
|
|
360
|
+
padding-left: $sm;
|
|
361
|
+
padding-right: $sm;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.py-sm {
|
|
365
|
+
padding-top: $sm;
|
|
366
|
+
padding-bottom: $sm;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.p-md {
|
|
370
|
+
padding: $md;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.pt-md {
|
|
374
|
+
padding-top: $md;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.pb-md {
|
|
378
|
+
padding-bottom: $md;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.pr-md {
|
|
382
|
+
padding-right: $md;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.pl-md {
|
|
386
|
+
padding-left: $md;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.px-md {
|
|
390
|
+
padding-left: $md;
|
|
391
|
+
padding-right: $md;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.py-md {
|
|
395
|
+
padding-top: $md;
|
|
396
|
+
padding-bottom: $md;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.p-lg {
|
|
400
|
+
padding: $lg;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.pt-lg {
|
|
404
|
+
padding-top: $lg;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.pb-lg {
|
|
408
|
+
padding-bottom: $lg;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.pr-lg {
|
|
412
|
+
padding-right: $lg;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.pl-lg {
|
|
416
|
+
padding-left: $lg;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
.px-lg {
|
|
420
|
+
padding-left: $lg;
|
|
421
|
+
padding-right: $lg;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.py-lg {
|
|
425
|
+
padding-top: $lg;
|
|
426
|
+
padding-bottom: $lg;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.p-xl {
|
|
430
|
+
padding: $xl;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.pt-xl {
|
|
434
|
+
padding-top: $xl;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.pb-xl {
|
|
438
|
+
padding-bottom: $xl;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.pr-xl {
|
|
442
|
+
padding-right: $xl;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.pl-xl {
|
|
446
|
+
padding-left: $xl;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
.px-xl {
|
|
450
|
+
padding-left: $xl;
|
|
451
|
+
padding-right: $xl;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
.py-xl {
|
|
455
|
+
padding-top: $xl;
|
|
456
|
+
padding-bottom: $xl;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
.p-xxl {
|
|
460
|
+
padding: $xxl;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.pt-xxl {
|
|
464
|
+
padding-top: $xxl;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.pb-xxl {
|
|
468
|
+
padding-bottom: $xxl;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.pr-xxl {
|
|
472
|
+
padding-right: $xxl;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.pl-xxl {
|
|
476
|
+
padding-left: $xxl;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.px-xxl {
|
|
480
|
+
padding-left: $xxl;
|
|
481
|
+
padding-right: $xxl;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.py-xxl {
|
|
485
|
+
padding-top: $xxl;
|
|
486
|
+
padding-bottom: $xxl;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
/***************************************************************************
|
|
490
|
+
* *
|
|
491
|
+
* Layout Widths *
|
|
492
|
+
* *
|
|
493
|
+
**************************************************************************/
|
|
494
|
+
|
|
495
|
+
.width-5p {
|
|
496
|
+
width: 5%;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.width-10p {
|
|
500
|
+
width: 10%;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.width-15p {
|
|
504
|
+
width: 15%;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
.width-20p {
|
|
508
|
+
width: 20%;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.width-25p {
|
|
512
|
+
width: 25%;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
.width-30p {
|
|
516
|
+
width: 30%;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
.width-40p {
|
|
520
|
+
width: 40%;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
.width-50p {
|
|
524
|
+
width: 50%;
|
|
525
|
+
}
|
|
526
|
+
|
|
134
527
|
/***************************************************************************
|
|
135
528
|
* *
|
|
136
529
|
* MDC Icon Button Sizing *
|
|
@@ -138,16 +531,16 @@
|
|
|
138
531
|
**************************************************************************/
|
|
139
532
|
|
|
140
533
|
.elder-icon-button-lg {
|
|
141
|
-
@include
|
|
534
|
+
@include icon-button-size.matIconButtonSize(40px, 24px);
|
|
142
535
|
}
|
|
143
536
|
.elder-icon-button-md {
|
|
144
|
-
@include
|
|
537
|
+
@include icon-button-size.matIconButtonSize(32px, 19px);
|
|
145
538
|
}
|
|
146
539
|
.elder-icon-button-sm {
|
|
147
|
-
@include
|
|
540
|
+
@include icon-button-size.matIconButtonSize(26px, 16px);
|
|
148
541
|
}
|
|
149
542
|
.elder-icon-button-xs {
|
|
150
|
-
@include
|
|
543
|
+
@include icon-button-size.matIconButtonSize(20px, 12px);
|
|
151
544
|
}
|
|
152
545
|
|
|
153
546
|
.mat-mdc-chip {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@use '@angular/material' as mat;
|
|
3
2
|
|
|
4
3
|
/******************************
|
|
5
4
|
Default values
|
|
@@ -11,8 +10,9 @@ $commonSizesLg: 16px;
|
|
|
11
10
|
$commonSizesXl: 24px;
|
|
12
11
|
$commonSizesXxl: 32px;
|
|
13
12
|
|
|
14
|
-
$densityFormField:
|
|
15
|
-
|
|
13
|
+
$densityFormField: 0;
|
|
14
|
+
|
|
15
|
+
$scrollbarStyling: false;
|
|
16
16
|
|
|
17
17
|
/******************************
|
|
18
18
|
Validates $theme and sets default value if null
|
|
@@ -43,3 +43,7 @@ Validates $theme and sets default value if null
|
|
|
43
43
|
@return $defaultValue;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
+
|
|
47
|
+
@function get-default-input() {
|
|
48
|
+
@return ();
|
|
49
|
+
}
|