@elderbyte/ngx-starter 18.13.0-beta.0 → 18.13.0-beta.2
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 +7 -0
- package/esm2022/lib/components/access-denied/elder-access-denied.component.mjs +3 -3
- package/esm2022/lib/components/badge/elder-badge/elder-badge.component.mjs +3 -3
- package/esm2022/lib/components/card-organizer/card-stack/elder-card-stack.component.mjs +3 -3
- package/esm2022/lib/components/cards/elder-card/elder-card.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/data-view/grid/elder-grid/elder-grid.component.mjs +3 -3
- package/esm2022/lib/components/data-view/table/elder-table/elder-table.component.mjs +3 -3
- package/esm2022/lib/components/dialogs/confirm-dialog/elder-confirm-dialog.component.mjs +3 -3
- package/esm2022/lib/components/dialogs/selection-dialog/elder-selection-dialog/elder-selection-dialog.component.mjs +3 -3
- package/esm2022/lib/components/files/blob-viewer/elder-blob-viewer.component.mjs +3 -3
- package/esm2022/lib/components/forms/search/search-box/elder-search-box.component.mjs +3 -3
- package/esm2022/lib/components/graph/elder-progress-bar/elder-progress-bar.component.mjs +3 -3
- package/esm2022/lib/components/headers/elder-header/elder-header.component.mjs +3 -3
- package/esm2022/lib/components/navigation/bread-crumbs/bread-crumbs/elder-bread-crumbs.component.mjs +3 -3
- package/esm2022/lib/components/navigation/nav/nav-group/elder-nav-group.component.mjs +3 -3
- package/esm2022/lib/components/navigation/nav/nav-link/elder-nav-link.component.mjs +3 -3
- package/esm2022/lib/components/navigation/toolbar/toolbar/elder-toolbar.component.mjs +4 -5
- package/esm2022/lib/components/page/exit-guard/page-exit-lock-indicator/page-exit-lock-indicator.component.mjs +3 -3
- package/esm2022/lib/components/page/exit-guard/page-exit-lock-overview/page-exit-lock-overview.component.mjs +3 -3
- package/esm2022/lib/components/select/filter/elder-filter-chip-template/elder-filter-chip-template.component.mjs +3 -3
- package/esm2022/lib/components/shell/header/elder-app-header/elder-app-header.component.mjs +2 -2
- package/esm2022/lib/components/shell/shell/elder-shell.component.mjs +6 -6
- package/esm2022/lib/components/toasts/standard-toast/standard-toast.component.mjs +3 -3
- package/fesm2022/elderbyte-ngx-starter.mjs +52 -52
- package/fesm2022/elderbyte-ngx-starter.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/components/badge/elder-badge/elder-badge.component.scss +2 -2
- package/src/lib/components/button-group/elder-button-group/elder-button-group.component.scss +3 -3
- package/src/lib/components/card-organizer/card-stack/elder-card-stack.component.scss +9 -25
- package/src/lib/components/cards/elder-card/elder-card.component.scss +7 -8
- package/src/lib/components/chips/_elder-chip-theme.scss +3 -3
- package/src/lib/components/data-transfer/http-data-transfer-indicator/http-data-transfer-indicator.component.scss +1 -1
- package/src/lib/components/data-view/grid/elder-grid/elder-grid.component.scss +3 -6
- package/src/lib/components/data-view/table/elder-table/elder-table.component.scss +8 -10
- package/src/lib/components/errors/exception-detail/elder-exception-detail.component.scss +2 -2
- package/src/lib/components/expand-toggle-button/elder-expand-toggle-button.component.scss +1 -1
- package/src/lib/components/files/blob-viewer/elder-blob-viewer.component.scss +4 -10
- package/src/lib/components/graph/elder-progress-bar/elder-progress-bar.component.scss +0 -1
- package/src/lib/components/navigation/bread-crumbs/bread-crumbs/elder-bread-crumbs.component.scss +2 -0
- package/src/lib/components/navigation/nav/_elder-nav-theme.scss +8 -4
- package/src/lib/components/navigation/nav/nav-group/elder-nav-group.component.scss +1 -1
- package/src/lib/components/navigation/nav/nav-link/elder-nav-link.component.scss +4 -4
- package/src/lib/components/page/exit-guard/page-exit-lock-indicator/page-exit-lock-indicator.component.scss +2 -2
- package/src/lib/components/panels/card-panel/elder-card-panel.component.scss +2 -2
- package/src/lib/components/panels/elder-dialog-panel/elder-dialog-panel.component.scss +3 -3
- package/src/lib/components/panels/flat/_elder-panel-theme.scss +8 -41
- package/src/lib/components/select/filter/elder-filter-chip-template/elder-filter-chip-template.component.scss +2 -3
- package/src/lib/components/select/multi/elder-multi-select-chips/elder-multi-select-chips.component.scss +1 -2
- package/src/lib/components/shell/header/elder-app-header/elder-app-header.component.scss +2 -2
- package/src/lib/components/shell/shell/elder-shell.component.scss +8 -0
- package/src/lib/components/toasts/standard-toast/standard-toast.component.scss +31 -2
- package/theming/_elder-badge-sizing.scss +21 -0
- package/theming/_elder-color-helpers.scss +74 -0
- package/theming/_elder-common.scss +15 -3
- package/theming/_elder-design-token-overwrites.scss +33 -0
- package/theming/_elder-flex-layout.scss +0 -11
- package/theming/_elder-layout-system.scss +225 -0
- package/theming/_elder-m3-theme.scss +208 -4
- package/theming/_elder-scrollbar-theme.scss +1 -1
- package/theming/_elder-style-fixes.scss +214 -20
- package/theming/_mixins.scss +0 -1
|
@@ -118,31 +118,225 @@
|
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
@mixin _mat3-fixes($theme) {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
121
|
+
.mat-toolbar .mat-mdc-icon-button {
|
|
122
|
+
color: inherit;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
// reduce border radius from overlay
|
|
126
|
+
//--mdc-dialog-container-shape: 4px;
|
|
127
|
+
|
|
128
|
+
// remove weird box shadow of card in overlay (Problem: Cards shouldn't be in overlay)
|
|
129
|
+
.mat-mdc-dialog-container .mat-mdc-card {
|
|
130
|
+
box-shadow: none;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
// .mat-mdc-slide-toggle {
|
|
134
|
+
// margin-bottom: 4px;
|
|
135
|
+
// }
|
|
136
|
+
|
|
137
|
+
// fix elder badge borders
|
|
138
|
+
elder-badge {
|
|
139
|
+
.mat-mdc-standard-chip .mat-mdc-chip-action::before {
|
|
140
|
+
//border-color: var(--md-sys-color-outline);
|
|
141
|
+
border: none;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
// set bg darker
|
|
146
|
+
// ::ng-deep .mat-app-background.elder-light-theme,
|
|
147
|
+
// ::ng-deep .mat-app-background.elder-dark-theme {}
|
|
148
|
+
//background-color: red !important;
|
|
149
|
+
--mat-app-background-color: var(--md-sys-color-surface-container-highest) !important;
|
|
150
|
+
|
|
151
|
+
.mat-app-background {
|
|
152
|
+
display: block;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.mat-mdc-tab-group {
|
|
156
|
+
background-color: var(--md-sys-color-surface-container);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.legacy-layout-card {
|
|
160
|
+
background-color: var(--mdc-elevated-card-container-color);
|
|
161
|
+
border: var(--elder-border-light);
|
|
162
|
+
border-radius: var(--elder-border-radius-sm);
|
|
163
|
+
// pane style
|
|
164
|
+
border: none !important;
|
|
165
|
+
border-radius: var(--mdc-outlined-card-container-shape, var(--mat-app-corner-medium));
|
|
166
|
+
overflow: hidden;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.elder-card-header {
|
|
170
|
+
background-color: var(--md-sys-color-surface-container);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.elder-card-title {
|
|
174
|
+
padding-bottom: 0 !important;
|
|
175
|
+
margin-bottom: 6px !important;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.elder-card-header {
|
|
179
|
+
margin-bottom: 12px !important;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
// remove extra background from drawer
|
|
183
|
+
.mat-drawer-container {
|
|
184
|
+
background-color: transparent !important;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
// .mat-mdc-snack-bar-container .mat-mdc-snackbar-surface {
|
|
188
|
+
// background-color: var(--md-sys-color-inverse-surface);
|
|
189
|
+
// }
|
|
190
|
+
|
|
191
|
+
// app header bg color
|
|
192
|
+
&.elder-light-theme,
|
|
193
|
+
&.elder-dark-theme {
|
|
194
|
+
elder-app-header .mat-panel.mat-primary {
|
|
195
|
+
background-color: var(--md-sys-color-primary) !important;
|
|
196
|
+
color: var(--md-sys-color-on-primary) !important;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.mat-toolbar {
|
|
200
|
+
&.mat-primary {
|
|
201
|
+
--mat-toolbar-container-text-color: var(--md-sys-color-on-primary);
|
|
202
|
+
--mat-toolbar-container-background-color: var(--md-sys-color-primary);
|
|
203
|
+
.mat-mdc-icon-button {
|
|
204
|
+
color: var(--md-sys-color-on-primary);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
&.mat-accent {
|
|
208
|
+
--mat-toolbar-container-text-color: var(--md-sys-color-on-tertiary);
|
|
209
|
+
--mat-toolbar-container-background-color: var(--md-sys-color-tertiary);
|
|
210
|
+
.mat-mdc-icon-button {
|
|
211
|
+
color: var(--md-sys-color-on-tertiary);
|
|
212
|
+
}
|
|
134
213
|
}
|
|
135
214
|
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
215
|
+
|
|
216
|
+
.mat-toolbar.mat-primary,
|
|
217
|
+
.mat-toolbar.mat-accent {
|
|
218
|
+
// color all toolbars primary
|
|
219
|
+
background-color: var(--md-sys-color-primary) !important;
|
|
220
|
+
* {
|
|
221
|
+
color: white !important;
|
|
141
222
|
}
|
|
142
223
|
}
|
|
143
224
|
}
|
|
144
225
|
|
|
145
|
-
|
|
146
|
-
|
|
226
|
+
&.elder-dark-theme {
|
|
227
|
+
.mat-panel {
|
|
228
|
+
background-color: var(--elder-dark-gray) !important;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.mat-toolbar.mat-primary,
|
|
232
|
+
.mat-toolbar.mat-accent {
|
|
233
|
+
background-color: var(--elder-dark-gray) !important;
|
|
234
|
+
* {
|
|
235
|
+
color: white !important;
|
|
236
|
+
}
|
|
237
|
+
.elder-toolbar-main-nav-button .mat-icon {
|
|
238
|
+
color: var(--md-sys-color-primary) !important;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
elder-app-header .mat-panel {
|
|
243
|
+
color: var(--md-sys-color-on-surface) !important;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/**************************************************************************
|
|
248
|
+
* Start cloudfiles import 1
|
|
249
|
+
*************************************************************************/
|
|
250
|
+
|
|
251
|
+
// mat tab group shouldnt have a background color
|
|
252
|
+
.mat-mdc-tab-header {
|
|
253
|
+
background-color: var(--md-sys-color-surface-container-low);
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.mat-mdc-tab-group {
|
|
257
|
+
background-color: transparent !important;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
elder-data-toolbar {
|
|
261
|
+
display: block;
|
|
262
|
+
//background-color: var(--md-sys-color-surface-container);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
elder-search-box .elder-search-box-field {
|
|
266
|
+
background-color: var(--md-sys-color-surface-container-lowest);
|
|
267
|
+
border: none !important;
|
|
268
|
+
margin-top: 12px !important;
|
|
269
|
+
margin-bottom: 12px !important;
|
|
270
|
+
border-radius: var(
|
|
271
|
+
--mdc-outlined-card-container-shape,
|
|
272
|
+
var(--mat-app-corner-medium)
|
|
273
|
+
) !important;
|
|
274
|
+
|
|
275
|
+
&.mat-focused {
|
|
276
|
+
background-color: var(--md-sys-color-surface-container-lowest);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
elder-search-box {
|
|
281
|
+
.mdc-notched-outline .mat-mdc-notch-piece {
|
|
282
|
+
border: none !important;
|
|
283
|
+
}
|
|
147
284
|
}
|
|
285
|
+
|
|
286
|
+
&.elder-light-theme,
|
|
287
|
+
&.elder-dark-theme {
|
|
288
|
+
elder-table {
|
|
289
|
+
--mat-table-background-color: var(--md-sys-color-surface-container);
|
|
290
|
+
|
|
291
|
+
.mat-mdc-row {
|
|
292
|
+
background-color: var(--md-sys-color-surface-container-lowest);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.mat-mdc-header-row {
|
|
296
|
+
background: var(--md-sys-color-surface-container-low) !important;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
elder-table .legacy-layout-card {
|
|
301
|
+
background-color: var(--md-sys-color-surface-container-low) !important;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/**************************************************************************
|
|
306
|
+
* End cloudfiles import 1
|
|
307
|
+
*************************************************************************/
|
|
308
|
+
|
|
309
|
+
// Button colors
|
|
310
|
+
.mat-accent.mat-mdc-button-base {
|
|
311
|
+
--md-sys-color-tertiary: var(--md-sys-color-secondary);
|
|
312
|
+
--md-sys-color-on-tertiary: var(--md-sys-color-on-secondary);
|
|
313
|
+
--md-sys-color-tertiary-container: var(--md-sys-color-secondary-container);
|
|
314
|
+
--md-sys-color-on-tertiary-container: var(--md-sys-color-on-secondary-container);
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
// slide toggle colors
|
|
318
|
+
.mat-accent.mat-mdc-slide-toggle {
|
|
319
|
+
--md-sys-color-tertiary: var(--md-sys-color-secondary);
|
|
320
|
+
--md-sys-color-on-tertiary: var(--md-sys-color-on-secondary);
|
|
321
|
+
--md-sys-color-tertiary-container: var(--md-sys-color-secondary-container);
|
|
322
|
+
--md-sys-color-on-tertiary-container: var(--md-sys-color-on-secondary-container);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.mat-accent.mat-mdc-standard-chip {
|
|
326
|
+
--md-sys-color-tertiary: var(--md-sys-color-secondary);
|
|
327
|
+
--md-sys-color-on-tertiary: var(--md-sys-color-on-secondary);
|
|
328
|
+
--md-sys-color-tertiary-container: var(--md-sys-color-secondary-container);
|
|
329
|
+
--md-sys-color-on-tertiary-container: var(--md-sys-color-on-secondary-container);
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
// // switch toggle (deactivaded)
|
|
333
|
+
// // --mdc-switch-track-shape:
|
|
334
|
+
// --mat-switch-with-icon-handle-size: 24px;
|
|
335
|
+
// --mdc-switch-track-height: 12px;
|
|
336
|
+
// //--mat-switch-unselected-with-icon-handle-horizontal-margin: 0 4px;
|
|
337
|
+
// --mat-switch-selected-with-icon-handle-horizontal-margin: 0 14px;
|
|
338
|
+
// --mdc-switch-track-width: 42px;
|
|
339
|
+
// --mat-switch-track-outline-width: 0;
|
|
340
|
+
// --mdc-switch-unselected-track-color: var(--md-sys-color-secondary);
|
|
341
|
+
// //--mdc-switch-unselected-handle-color: var(--md-sys-color-secondary-container);
|
|
148
342
|
}
|