ngx-edu-sharing-ui 11.0.0 → 11.0.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/assets/scss/branding.scss +32 -7
- package/assets/scss/material-theme.scss +70 -32
- package/assets/scss/mixins.scss +24 -1
- package/assets/scss/variables-scss.scss +11 -7
- package/assets/scss/variables.scss +29 -3
- package/fesm2022/ngx-edu-sharing-ui.mjs +7852 -5188
- package/fesm2022/ngx-edu-sharing-ui.mjs.map +1 -1
- package/package.json +10 -9
- package/types/ngx-edu-sharing-ui.d.ts +3928 -0
- package/index.d.ts +0 -5
- package/lib/actionbar/actionbar.component.d.ts +0 -85
- package/lib/common/edu-sharing-ui-common.module.d.ts +0 -42
- package/lib/directives/border-box-observer.directive.d.ts +0 -31
- package/lib/directives/check-text-overflow.directive.d.ts +0 -20
- package/lib/directives/drag-nodes/drag-nodes.d.ts +0 -16
- package/lib/directives/drag-nodes/nodes-drag-source.directive.d.ts +0 -37
- package/lib/directives/drag-nodes/nodes-drag.directive.d.ts +0 -17
- package/lib/directives/drag-nodes/nodes-drop-target.directive.d.ts +0 -22
- package/lib/directives/focus-state.directive.d.ts +0 -14
- package/lib/directives/icon.directive.d.ts +0 -52
- package/lib/directives/infinite-scroll.directive.d.ts +0 -22
- package/lib/dropdown/dropdown.component.d.ts +0 -44
- package/lib/edu-sharing-ui-configuration.d.ts +0 -23
- package/lib/edu-sharing-ui.module.d.ts +0 -20
- package/lib/index.d.ts +0 -100
- package/lib/info-message/info-message.component.d.ts +0 -13
- package/lib/list-items/available-widgets.d.ts +0 -13
- package/lib/list-items/format-duration.pipe.d.ts +0 -10
- package/lib/list-items/list-base/list-base.component.d.ts +0 -18
- package/lib/list-items/list-collection-info/list-collection-info.component.d.ts +0 -14
- package/lib/list-items/list-counts/list-counts.component.d.ts +0 -13
- package/lib/list-items/list-items.module.d.ts +0 -20
- package/lib/list-items/list-node-license/list-node-license.component.d.ts +0 -20
- package/lib/list-items/list-node-replication-source/list-node-replication-source.component.d.ts +0 -22
- package/lib/list-items/list-node-workflow/list-node-workflow.component.d.ts +0 -12
- package/lib/list-items/list-text/list-text.component.d.ts +0 -27
- package/lib/list-items/list-widget.d.ts +0 -32
- package/lib/list-items/node-row/node-row.component.d.ts +0 -12
- package/lib/list-items/node-source.pipe.d.ts +0 -16
- package/lib/mds/mds-helper.service.d.ts +0 -54
- package/lib/mds/mds.module.d.ts +0 -6
- package/lib/mds-viewer/mds-editor-instance-service.abstract.d.ts +0 -14
- package/lib/mds-viewer/mds-viewer.component.d.ts +0 -52
- package/lib/mds-viewer/mds-viewer.service.d.ts +0 -12
- package/lib/mds-viewer/replace-element-with-div.d.ts +0 -8
- package/lib/mds-viewer/view-instance.service.d.ts +0 -20
- package/lib/mds-viewer/widget/mds-widget.component.d.ts +0 -141
- package/lib/node-entries/combined-data-source.d.ts +0 -19
- package/lib/node-entries/custom-templates-data-source.d.ts +0 -6
- package/lib/node-entries/drag-preview/drag-preview.component.d.ts +0 -11
- package/lib/node-entries/entries-model.d.ts +0 -105
- package/lib/node-entries/items-cap.d.ts +0 -17
- package/lib/node-entries/list-item-label.pipe.d.ts +0 -16
- package/lib/node-entries/node-cache.d.ts +0 -17
- package/lib/node-entries/node-data-source-remote.d.ts +0 -23
- package/lib/node-entries/node-data-source.d.ts +0 -42
- package/lib/node-entries/node-entries-card/node-entries-card.component.d.ts +0 -45
- package/lib/node-entries/node-entries-card-grid/node-entries-card-grid.component.d.ts +0 -99
- package/lib/node-entries/node-entries-card-small/node-entries-card-small.component.d.ts +0 -21
- package/lib/node-entries/node-entries-global-options/node-entries-global-options.component.d.ts +0 -13
- package/lib/node-entries/node-entries-global.service.d.ts +0 -57
- package/lib/node-entries/node-entries-table/column-chooser/column-chooser.component.d.ts +0 -17
- package/lib/node-entries/node-entries-table/node-entries-table.component.d.ts +0 -83
- package/lib/node-entries/node-entries-templates.service.d.ts +0 -28
- package/lib/node-entries/node-entries-wrapper.component.d.ts +0 -159
- package/lib/node-entries/node-entries.component.d.ts +0 -36
- package/lib/node-entries/node-entries.module.d.ts +0 -43
- package/lib/node-entries/node-rating/node-rating.component.d.ts +0 -26
- package/lib/node-entries/node-stats-badges/node-stats-badges.component.d.ts +0 -17
- package/lib/node-entries/node-type-badge/node-type-badge.component.d.ts +0 -21
- package/lib/node-entries/option-button/option-button.component.d.ts +0 -16
- package/lib/node-entries/preview-image/preview-image.component.d.ts +0 -22
- package/lib/node-entries/sort-select-panel/sort-select-panel.component.d.ts +0 -16
- package/lib/node-url/node-url.component.d.ts +0 -51
- package/lib/pipes/file-size.pipe.d.ts +0 -10
- package/lib/pipes/format-date.pipe.d.ts +0 -21
- package/lib/pipes/mds-duration.pipe.d.ts +0 -7
- package/lib/pipes/node-icon.pipe.d.ts +0 -11
- package/lib/pipes/node-image-size.pipe.d.ts +0 -8
- package/lib/pipes/node-image.pipe.d.ts +0 -27
- package/lib/pipes/node-license.pipe.d.ts +0 -14
- package/lib/pipes/node-person-name.pipe.d.ts +0 -10
- package/lib/pipes/node-title.pipe.d.ts +0 -14
- package/lib/pipes/node-url.pipe.d.ts +0 -11
- package/lib/pipes/option-tooltip.pipe.d.ts +0 -12
- package/lib/pipes/property-slug.pipe.d.ts +0 -7
- package/lib/pipes/replace-chars.pipe.d.ts +0 -10
- package/lib/pipes/toolpermission.pipe.d.ts +0 -10
- package/lib/pipes/vcard-name.pipe.d.ts +0 -10
- package/lib/services/abstract/app.service.d.ts +0 -4
- package/lib/services/abstract/keyboard-shortcuts.service.d.ts +0 -11
- package/lib/services/abstract/options-helper.service.d.ts +0 -10
- package/lib/services/abstract/toast.service.d.ts +0 -4
- package/lib/services/accessibility.service.d.ts +0 -18
- package/lib/services/app-container.service.d.ts +0 -44
- package/lib/services/local-events.service.d.ts +0 -33
- package/lib/services/node-entries.service.d.ts +0 -105
- package/lib/services/node-helper.service.d.ts +0 -84
- package/lib/services/nodes-drag-drop.service.d.ts +0 -41
- package/lib/services/options-helper-data.service.d.ts +0 -77
- package/lib/services/render-helper.service.d.ts +0 -25
- package/lib/services/repo-url.service.d.ts +0 -25
- package/lib/services/search-helper.service.d.ts +0 -21
- package/lib/services/temporary-storage.service.d.ts +0 -35
- package/lib/services/ui.service.d.ts +0 -87
- package/lib/sort-dropdown/sort-dropdown.component.d.ts +0 -15
- package/lib/spinner/spinner.component.d.ts +0 -7
- package/lib/spinner-small/spinner-small.component.d.ts +0 -7
- package/lib/translations/fallback-translation-handler.d.ts +0 -4
- package/lib/translations/translation-loader.d.ts +0 -54
- package/lib/translations/translation-source.d.ts +0 -9
- package/lib/translations/translations.module.d.ts +0 -15
- package/lib/translations/translations.service.d.ts +0 -35
- package/lib/types/accessibillity.d.ts +0 -16
- package/lib/types/api-models.d.ts +0 -13
- package/lib/types/drag-drop.d.ts +0 -19
- package/lib/types/injection-tokens.d.ts +0 -21
- package/lib/types/keyboard-shortcuts.d.ts +0 -10
- package/lib/types/list-item.d.ts +0 -55
- package/lib/types/option-item.d.ts +0 -292
- package/lib/types/workflow.d.ts +0 -14
- package/lib/util/DateHelper.d.ts +0 -44
- package/lib/util/VCard.d.ts +0 -66
- package/lib/util/color-helper.d.ts +0 -25
- package/lib/util/duration-helper.d.ts +0 -14
- package/lib/util/functions.d.ts +0 -4
- package/lib/util/helper.d.ts +0 -20
- package/lib/util/isNumeric.d.ts +0 -5
- package/lib/util/rest-helper.d.ts +0 -11
- package/lib/util/ui-animation.d.ts +0 -39
- package/lib/util/ui-constants.d.ts +0 -18
- package/public-api.d.ts +0 -1
|
@@ -1,7 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
$tokens: (
|
|
2
|
+
primaryFontFamily: '"Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',
|
|
3
|
+
primaryFontSize: 15px,
|
|
4
|
+
customIcons: false
|
|
5
|
+
);
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
$cardRadius: 20px;
|
|
9
|
+
$cardWidth: 250px;
|
|
10
|
+
$breadcrumbHeight: 60px;
|
|
11
|
+
|
|
12
|
+
$default-chip-color: rgb(188, 188, 188);
|
|
13
|
+
$custom-chip-colors: (
|
|
14
|
+
'ccm_taxonid': var(--primary),
|
|
15
|
+
'ccm_educationallearningresourcetype_agg': $default-chip-color,
|
|
16
|
+
'ccm_educationalcontext': $default-chip-color,
|
|
17
|
+
);
|
|
18
|
+
|
|
19
|
+
$mebisBreakpoint_2xl: 1536px;
|
|
20
|
+
$mebisBreakpoint_xl: 1280px;
|
|
21
|
+
$mebisBreakpoint_l: 1025px;
|
|
22
|
+
$mebisBreakpoint_m: 769px;
|
|
23
|
+
$mebisBreakpoint_s: 640px;
|
|
24
|
+
|
|
25
|
+
$custom-chip-colors: (
|
|
26
|
+
'customProperties_special': rgb(166, 214, 208),
|
|
27
|
+
'ccm_educationallearningresourcetype_agg': rgb(214, 166, 166),
|
|
28
|
+
'ccm_taxonid': rgb(231, 213, 191),
|
|
29
|
+
'customProperties_license': rgb(166, 192, 214),
|
|
30
|
+
'customProperties_context': rgb(214, 193, 166),
|
|
31
|
+
'customProperties_source': rgb(211, 214, 166),
|
|
32
|
+
);
|
|
@@ -50,9 +50,48 @@ $dark-disabled-text: rgba(black, 0.54); // increased contrast
|
|
|
50
50
|
$dark-secondary-text: rgba(black, 0.54);
|
|
51
51
|
|
|
52
52
|
:root {
|
|
53
|
-
--
|
|
53
|
+
--mat-sys-corner-full: 9999px;
|
|
54
|
+
--mat-fab-container-color: #{$backgroundColor};
|
|
55
|
+
}
|
|
56
|
+
:root {
|
|
57
|
+
--mat-slide-toggle-track-width: 48px;
|
|
58
|
+
--mat-slide-toggle-track-height: 26px;
|
|
59
|
+
--mat-slide-toggle-with-icon-handle-size: 22px;
|
|
60
|
+
--mat-slide-toggle-handle-width: 22px;
|
|
61
|
+
--mat-slide-toggle-handle-height: 22px;
|
|
62
|
+
--mat-slide-toggle-pressed-handle-size: 22px;
|
|
63
|
+
--mat-slide-toggle-track-outline-color: var(--mat-slide-toggle-unselected-handle-color);
|
|
64
|
+
--mat-slide-toggle-handle-shape: var(--mat-sys-corner-full);
|
|
65
|
+
--mat-slide-toggle-track-shape: var(--mat-sys-corner-full);
|
|
66
|
+
--mat-sidenav-content-background-color: #{$backgroundColor};
|
|
67
|
+
}
|
|
68
|
+
html mat-sidenav {
|
|
69
|
+
--mat-sidenav-container-divider-color: transparent;
|
|
70
|
+
--mat-sidenav-container-background-color: #{$backgroundColor};
|
|
71
|
+
}
|
|
72
|
+
html .mat-mdc-slide-toggle {
|
|
73
|
+
--mat-slide-toggle-track-outline-width: 2px;
|
|
74
|
+
--mat-slide-toggle-unselected-with-icon-handle-horizontal-margin: 0 4px;
|
|
75
|
+
--mat-slide-toggle-unselected-pressed-handle-horizontal-margin: 0 4px;
|
|
76
|
+
--mat-slide-toggle-selected-with-icon-handle-horizontal-margin: 0 -2px;
|
|
77
|
+
--mat-slide-toggle-selected-pressed-handle-horizontal-margin: 0 -2px;
|
|
78
|
+
--mat-slide-toggle-handle-elevation-shadow: none;
|
|
79
|
+
--mat-slide-toggle-track-outline-color: var(--mat-slide-toggle-unselected-handle-color);
|
|
80
|
+
}
|
|
81
|
+
.mat-mdc-standard-chip {
|
|
82
|
+
--mat-chip-elevated-container-color: var(--palette-primary-100);
|
|
83
|
+
}
|
|
84
|
+
.mdc-switch--selected {
|
|
85
|
+
--mat-slide-toggle-selected-icon-size: 16px;
|
|
86
|
+
--mat-slide-toggle-selected-handle-color: var(--palette-primary-contrast-500);
|
|
87
|
+
--mat-slide-toggle-selected-focus-handle-color: var(--palette-primary-contrast-500);
|
|
88
|
+
--mat-slide-toggle-selected-hover-handle-color: var(--palette-primary-contrast-500);
|
|
89
|
+
--mat-slide-toggle-selected-pressed-handle-color: var(--palette-primary-contrast-500);
|
|
90
|
+
--mat-slide-toggle-selected-icon-color: var(--palette-primary-500);
|
|
91
|
+
}
|
|
92
|
+
.mat-mdc-outlined-button:not(:disabled) {
|
|
93
|
+
--mat-button-outlined-outline-color: var(--palette-primary-500);
|
|
54
94
|
}
|
|
55
|
-
|
|
56
95
|
.mdc-button {
|
|
57
96
|
span {
|
|
58
97
|
display: flex;
|
|
@@ -75,7 +114,7 @@ mat-button-toggle-group {
|
|
|
75
114
|
.mat-button-toggle-checked.mat-button-toggle-appearance-standard {
|
|
76
115
|
color: var(--light-primary-text);
|
|
77
116
|
background-color: var(--primary);
|
|
78
|
-
--mat-
|
|
117
|
+
--mat-button-toggle-selected-state-text-color: var(--light-primary-text);
|
|
79
118
|
}
|
|
80
119
|
.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay {
|
|
81
120
|
background-color: var(--primary);
|
|
@@ -106,7 +145,10 @@ mat-button-toggle-group {
|
|
|
106
145
|
}
|
|
107
146
|
mat-tab-group {
|
|
108
147
|
mat-tab-header {
|
|
109
|
-
background-color:
|
|
148
|
+
background-color: var(--roundedContainerBackground);
|
|
149
|
+
}
|
|
150
|
+
&.mat-tab-group-shadow mat-tab-header {
|
|
151
|
+
@include materialShadowBottom();
|
|
110
152
|
}
|
|
111
153
|
}
|
|
112
154
|
.mat-tab-group.mat-dark {
|
|
@@ -197,7 +239,7 @@ mat-tab-group {
|
|
|
197
239
|
}
|
|
198
240
|
// form border on hover
|
|
199
241
|
.mat-form-field-appearance-outline {
|
|
200
|
-
--
|
|
242
|
+
--mat-form-field-outlined-hover-outline-color: #{mat-css-vars.mat-css-color-primary(300)};
|
|
201
243
|
}
|
|
202
244
|
.mat-form-field-dark {
|
|
203
245
|
input,
|
|
@@ -218,28 +260,28 @@ mat-tab-group {
|
|
|
218
260
|
.mat-mdc-form-field.mat-form-field-bright {
|
|
219
261
|
input,
|
|
220
262
|
textarea {
|
|
221
|
-
--
|
|
263
|
+
--mat-form-field-outlined-caret-color: var(--primaryLight);
|
|
222
264
|
}
|
|
223
|
-
--
|
|
224
|
-
--
|
|
225
|
-
--
|
|
226
|
-
--
|
|
265
|
+
--mat-form-field-outlined-label-text-color: rgba(255, 255, 255, 0.87);
|
|
266
|
+
--mat-form-field-outlined-outline-color: rgba(255, 255, 255, 0.6);
|
|
267
|
+
--mat-form-field-outlined-hover-outline-color: rgba(255, 255, 255, 0.87);
|
|
268
|
+
--mat-form-field-outlined-focus-outline-color: #{mat-css-vars.mat-css-color-primary(100)};
|
|
227
269
|
.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label {
|
|
228
270
|
color: mat-css-vars.mat-css-color-primary(50);
|
|
229
271
|
}
|
|
230
|
-
--
|
|
272
|
+
--mat-form-field-outlined-input-text-color: rgba(255, 255, 255);
|
|
231
273
|
}
|
|
232
274
|
mat-slide-toggle.mat-mdc-slide-toggle.mat-primary-bright {
|
|
233
|
-
--
|
|
234
|
-
--
|
|
235
|
-
--
|
|
236
|
-
--
|
|
237
|
-
--
|
|
238
|
-
--
|
|
239
|
-
--
|
|
240
|
-
--
|
|
241
|
-
--
|
|
242
|
-
--
|
|
275
|
+
--mat-slide-toggle-unselected-handle-color: #fff;
|
|
276
|
+
--mat-slide-toggle-unselected-hover-handle-color: var(--palette-primary-50);
|
|
277
|
+
--mat-slide-toggle-unselected-focus-handle-color: var(--palette-primary-50);
|
|
278
|
+
--mat-slide-toggle-unselected-pressed-handle-color: var(--palette-primary-50);
|
|
279
|
+
--mat-slide-toggle-unselected-icon-color: var(--textLight);
|
|
280
|
+
--mat-slide-toggle-selected-handle-color: #fff;
|
|
281
|
+
--mat-slide-toggle-selected-hover-handle-color: var(--palette-primary-50);
|
|
282
|
+
--mat-slide-toggle-selected-focus-handle-color: var(--palette-primary-50);
|
|
283
|
+
--mat-slide-toggle-selected-pressed-handle-color: var(--palette-primary-50);
|
|
284
|
+
--mat-slide-toggle-selected-icon-color: var(--primary);
|
|
243
285
|
.mdc-form-field label {
|
|
244
286
|
color: #fff;
|
|
245
287
|
}
|
|
@@ -292,7 +334,7 @@ mat-label,
|
|
|
292
334
|
}
|
|
293
335
|
body {
|
|
294
336
|
// Background for raised button
|
|
295
|
-
--
|
|
337
|
+
--mat-button-protected-container-color: white;
|
|
296
338
|
}
|
|
297
339
|
// improve default positioning of outlined fields with label
|
|
298
340
|
.mat-mdc-form-field:not(.mat-mdc-paginator-page-size-select) {
|
|
@@ -304,19 +346,17 @@ body {
|
|
|
304
346
|
}
|
|
305
347
|
}
|
|
306
348
|
.mat-mdc-checkbox {
|
|
349
|
+
--mat-checkbox-selected-checkmark-color: var(--primary);
|
|
350
|
+
--mat-checkbox-selected-hover-icon-color: var(--primary);
|
|
351
|
+
--mat-checkbox-selected-focus-icon-color: var(--primary);
|
|
352
|
+
--mat-checkbox-disabled-selected-checkmark-color: var(--palette-primary-100);
|
|
307
353
|
.mdc-checkbox__background {
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
background-color: #fff !important;
|
|
311
|
-
|
|
354
|
+
background-color: #fff;
|
|
312
355
|
.mdc-checkbox__checkmark {
|
|
313
356
|
color: #fff !important;
|
|
314
357
|
}
|
|
315
358
|
}
|
|
316
359
|
&.mdc-checkbox--disabled {
|
|
317
|
-
.mdc-checkbox__background {
|
|
318
|
-
border-color: var(--palette-primary-100) !important;
|
|
319
|
-
}
|
|
320
360
|
&.mat-mdc-checkbox-checked,
|
|
321
361
|
&.mat-mdc-checkbox-indeterminate {
|
|
322
362
|
.mdc-checkbox__background {
|
|
@@ -327,7 +367,6 @@ body {
|
|
|
327
367
|
&.mat-mdc-checkbox-checked,
|
|
328
368
|
&.mat-mdc-checkbox-indeterminate {
|
|
329
369
|
.mdc-checkbox__background {
|
|
330
|
-
background-color: var(--primary) !important;
|
|
331
370
|
.mdc-checkbox__checkmark,
|
|
332
371
|
.mdc-checkbox__mixedmark {
|
|
333
372
|
color: #fff !important;
|
|
@@ -416,7 +455,7 @@ button {
|
|
|
416
455
|
.mat-calendar-table-header-divider {
|
|
417
456
|
display: none;
|
|
418
457
|
}
|
|
419
|
-
|
|
458
|
+
mat-option {
|
|
420
459
|
font-size: 100%;
|
|
421
460
|
.mat-option-primary {
|
|
422
461
|
line-height: initial;
|
|
@@ -544,7 +583,6 @@ mat-select.mat-select-icon {
|
|
|
544
583
|
}
|
|
545
584
|
}
|
|
546
585
|
.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) {
|
|
547
|
-
background-color: var(--palette-primary-100) !important;
|
|
548
586
|
.mat-mdc-chip-remove {
|
|
549
587
|
color: var(--primary) !important;
|
|
550
588
|
opacity: 1 !important;
|
package/assets/scss/mixins.scss
CHANGED
|
@@ -50,6 +50,26 @@
|
|
|
50
50
|
background-color: var(--palette-primary-200);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
+
@mixin materialScrollbarLight() {
|
|
54
|
+
&::-webkit-scrollbar-track {
|
|
55
|
+
-webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
|
|
56
|
+
border-radius: 10px;
|
|
57
|
+
background-color: transparent;
|
|
58
|
+
}
|
|
59
|
+
&::-webkit-scrollbar {
|
|
60
|
+
height: 4px;
|
|
61
|
+
background-color: transparent;
|
|
62
|
+
}
|
|
63
|
+
&::-webkit-scrollbar-thumb {
|
|
64
|
+
max-width: 4px;
|
|
65
|
+
border-radius: 10px;
|
|
66
|
+
// -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
|
|
67
|
+
background-color: var(--palette-primary-100);
|
|
68
|
+
}
|
|
69
|
+
// Firefox
|
|
70
|
+
scrollbar-width: thin;
|
|
71
|
+
scrollbar-color: var(--palette-primary-100) transparent;
|
|
72
|
+
}
|
|
53
73
|
@mixin removeDefaultFocus() {
|
|
54
74
|
outline: none;
|
|
55
75
|
}
|
|
@@ -192,8 +212,11 @@
|
|
|
192
212
|
@mixin darkenLight() {
|
|
193
213
|
background-color: $darkenLightColor;
|
|
194
214
|
}
|
|
195
|
-
@mixin blurBackground($radius: 5px) {
|
|
215
|
+
@mixin blurBackground($radius: 5px, $darken: 0) {
|
|
196
216
|
backdrop-filter: blur($radius);
|
|
217
|
+
@if $darken != 0 {
|
|
218
|
+
background: rgba(0, 0, 0, $darken);
|
|
219
|
+
}
|
|
197
220
|
}
|
|
198
221
|
@mixin setGlobalFocus($color: $focusColor) {
|
|
199
222
|
//respect element border radius
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
+
@use 'branding' as *;
|
|
3
|
+
|
|
2
4
|
@forward 'variables-root';
|
|
3
5
|
@forward 'branding';
|
|
4
6
|
|
|
@@ -17,7 +19,9 @@ $primaryMediumDark: var(--palette-primary-700) !default;
|
|
|
17
19
|
$tabColor: var(--primary) !default;
|
|
18
20
|
$tabColorDark: var(--primary) !default;
|
|
19
21
|
$tabColorLight: var(--palette-primary-200) !default;
|
|
22
|
+
// @Deprecated: Use the css var(--colorStatusNegative)
|
|
20
23
|
$warning: #cd2457 !default;
|
|
24
|
+
// @Deprecated: Use the css var(--colorStatusWarning)
|
|
21
25
|
$warningMedium: #e98c1b !default;
|
|
22
26
|
$toastLeftError: #c15d5d !default;
|
|
23
27
|
$toastPrimary: #333333 !default;
|
|
@@ -31,13 +35,14 @@ $fontSizeXLarge: 120% !default;
|
|
|
31
35
|
$fontSizeLarge: 110% !default;
|
|
32
36
|
$fontSizeSmall: 90% !default;
|
|
33
37
|
$fontSizeXSmall: var(--fontSizeXSmall) !default;
|
|
34
|
-
|
|
38
|
+
// page background
|
|
39
|
+
$backgroundColor: #f3f3f3 !default;
|
|
35
40
|
$workspaceSidebarWidth: 300px !default;
|
|
36
41
|
$workspaceInheritColor: #42ca8d !default;
|
|
37
42
|
$editorialCollectionsBackground: #f5ec19 !default;
|
|
38
43
|
$itemSelectedBackground: $primaryVeryLight !default;
|
|
39
44
|
$itemSelectedTextColor: $primaryMediumDark !default;
|
|
40
|
-
$buttonHoverBackground:
|
|
45
|
+
$buttonHoverBackground: var(--buttonHoverBackground) !default;
|
|
41
46
|
$workspaceNewBackground: $itemSelectedBackground !default;
|
|
42
47
|
// the white bar height in search and es-workspace
|
|
43
48
|
$secondaryBarHeight: 65px !default;
|
|
@@ -51,7 +56,6 @@ $workspaceSelectedBackgroundEffect: linear-gradient(
|
|
|
51
56
|
)
|
|
52
57
|
no-repeat !default;
|
|
53
58
|
$workspaceTreeBackground: #f7f7f7 !default;
|
|
54
|
-
$workspaceTopBarSafeBackground: #963a3a;
|
|
55
59
|
$dialogRightWidth: 320px !default;
|
|
56
60
|
$workspaceTreeSelectedBackground: #fff !default;
|
|
57
61
|
$workspaceTreeWidth: 300px !default;
|
|
@@ -71,16 +75,16 @@ $actionDialogBackground: #eee !default;
|
|
|
71
75
|
$cardLightBackground: #f9f9f9 !default;
|
|
72
76
|
$searchInputBorderColor: #ccc !default;
|
|
73
77
|
$cardSeparatorLineColor: #ccc !default;
|
|
74
|
-
$genericSeperatorLineColor: #ececec !default;
|
|
75
78
|
$chipsSeperatorLineColor: #e2e2e2 !default;
|
|
76
79
|
$inputBorderColor: #9e9e9e !default;
|
|
77
80
|
$commentsActionsSeperatorLineColor: $backgroundColor !default;
|
|
78
81
|
$noResultsColor: rgba(black, 0.54) !default;
|
|
79
|
-
// prefer using var(
|
|
82
|
+
// prefer using var(--colorStatusPositive)
|
|
80
83
|
$colorStatusPositive: #40bf8e !default;
|
|
81
84
|
// prefer using var(--colorStatusNegative)
|
|
82
85
|
$colorStatusNegative: #cd2457 !default;
|
|
83
|
-
|
|
86
|
+
// prefer using var(--colorStatusWarning)
|
|
87
|
+
$colorStatusWarning: var(--colorStatusWarning) !default;
|
|
84
88
|
$colorStatusRecommended: #acd331 !default;
|
|
85
89
|
$colorStatusNeutral: #777 !default;
|
|
86
90
|
$colorStarActive: var(--colorStarActive) !default;
|
|
@@ -106,7 +110,7 @@ $workspaceTopBarInputBackground: #eee !default;
|
|
|
106
110
|
$workspaceTopBarInputText: $textMain !default;
|
|
107
111
|
$mobileTabsZIndex: 110 !default;
|
|
108
112
|
$mobileTabNavHeight: 62px !default;
|
|
109
|
-
$primaryFontFamily: 'open_sansregular' !default;
|
|
113
|
+
$primaryFontFamily: 'open_sansregular', Arial, Sans-Serif !default;
|
|
110
114
|
$primaryFontSize: 10pt !default;
|
|
111
115
|
|
|
112
116
|
$default-chip-colors: (
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
:root {
|
|
7
7
|
--primary: var(--palette-primary-500);
|
|
8
8
|
--warning: #cd2457;
|
|
9
|
-
--aiColor: #
|
|
9
|
+
--aiColor: #2c0799;
|
|
10
|
+
--aiColorChipBg: color-mix(in srgb, var(--aiColor), #fff 75%);
|
|
10
11
|
--aiColorText: #fff;
|
|
11
12
|
--aiColorChip: #fff;
|
|
12
13
|
--defaultBackground: #fff;
|
|
@@ -17,23 +18,45 @@
|
|
|
17
18
|
--textLight: #585858;
|
|
18
19
|
--textMediumLight: #888;
|
|
19
20
|
--textMain: #383838;
|
|
21
|
+
--buttonDisabled: #999;
|
|
20
22
|
--workspaceTopBarBackground: #383838;
|
|
21
23
|
--workspaceTopBarFontColor: #fff;
|
|
22
|
-
--
|
|
24
|
+
--landingPageTopBarBackground: var(--workspaceTopBarBackground);
|
|
25
|
+
--landingPageTopBarFontColor: var(--workspaceTopBarFontColor);
|
|
26
|
+
--landingPageTopBarIconFilter: invert(0);
|
|
27
|
+
--landingPageShortcutBackground: #fff;
|
|
28
|
+
--landingPageShortcutNewColor: var(--landingPageShortcutTileBackground);
|
|
29
|
+
--landingPageShortcutTileBackground: var(--palette-primary-700);
|
|
30
|
+
--landingPageShortcutTileFontColor: var(--palette-primary-contrast-500);
|
|
31
|
+
--landingPageShortcutTileIconFilter: brightness(0) invert(1);
|
|
32
|
+
--footerBackground: #f3f3f3;
|
|
33
|
+
--footerFontColor: var(--textLight);
|
|
34
|
+
--cardWidth: 270px;
|
|
23
35
|
--borderRadiusCards: 20px;
|
|
36
|
+
--borderRadiusBadges: 10px;
|
|
24
37
|
--chipsSeperatorLineColor: #e2e2e2;
|
|
25
38
|
--colorStatusPositive: #40bf8e;
|
|
26
39
|
--colorStatusNegative: var(--warning);
|
|
40
|
+
--colorStatusWarning: #e98c1b;
|
|
27
41
|
--colorStarActive: #ba7c00;
|
|
28
42
|
--nodeVirtualColor: #42ca8d;
|
|
29
43
|
--nodeVirtualColorLight: #b8fcdd;
|
|
44
|
+
// main background of the large, rounded containers
|
|
45
|
+
--roundedContainerBackground: #fff;
|
|
46
|
+
// margin of the rounded, large containers (like the workspace or editorial page)
|
|
47
|
+
--roundedContainerMargin: 15px;
|
|
30
48
|
--transitionNormal: 0.2s;
|
|
49
|
+
--genericSeperatorLineColor: #ececec;
|
|
50
|
+
--tableSeperatorLineColor: #d2d2d2;
|
|
31
51
|
--focusColor: var(--palette-primary-300);
|
|
32
52
|
--focusWidth: 2px;
|
|
33
53
|
--fontSizeXSmall: 85%;
|
|
54
|
+
--buttonHoverBackground: rgba(var(--palette-primary-500-no-rgb), 0.08);
|
|
34
55
|
--topBarSearchFocusColor: var(--palette-primary-300);
|
|
56
|
+
--workspaceTopBarBackground: #383838;
|
|
57
|
+
--workspaceTopBarFontColor: #fff;
|
|
35
58
|
--workspaceTopBarSafeBackground: #963a3a;
|
|
36
|
-
--workspaceTopBarNewAlpha: 0.
|
|
59
|
+
--workspaceTopBarNewAlpha: 0.08;
|
|
37
60
|
--itemSelectedTextColor: var(--palette-primary-700);
|
|
38
61
|
--listItemSelectedBackground: var(--palette-primary-50);
|
|
39
62
|
--listItemSelectedBackgroundEffect: linear-gradient(
|
|
@@ -45,3 +68,6 @@
|
|
|
45
68
|
)
|
|
46
69
|
no-repeat;
|
|
47
70
|
}
|
|
71
|
+
es-node-entries-wrapper {
|
|
72
|
+
--es-node-entries-scroll-gradient-color: #fff;
|
|
73
|
+
}
|