@alfresco/adf-core 8.4.0-19302006691 → 8.4.0-19303130849

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.
Files changed (61) hide show
  1. package/fesm2022/adf-core.mjs +151 -151
  2. package/fesm2022/adf-core.mjs.map +1 -1
  3. package/fesm2022/alfresco-adf-core-breadcrumbs.mjs +2 -2
  4. package/fesm2022/alfresco-adf-core-breadcrumbs.mjs.map +1 -1
  5. package/fesm2022/alfresco-adf-core-feature-flags.mjs +2 -2
  6. package/fesm2022/alfresco-adf-core-feature-flags.mjs.map +1 -1
  7. package/lib/about/about-package/package-list.component.scss +10 -0
  8. package/lib/about/about-server-settings/about-server-settings.component.scss +2 -0
  9. package/lib/about/about.component.scss +4 -0
  10. package/lib/avatar/avatar.component.scss +9 -7
  11. package/lib/button/button.component.scss +13 -0
  12. package/lib/card-view/components/card-view/card-view.component.scss +26 -2
  13. package/lib/card-view/components/card-view-arrayitem/card-view-arrayitem.component.scss +11 -1
  14. package/lib/card-view/components/card-view-dateitem/card-view-dateitem.component.scss +1 -0
  15. package/lib/card-view/components/card-view-selectitem/card-view-selectitem.component.scss +7 -2
  16. package/lib/card-view/components/card-view-selectitem/select-filter-input/select-filter-input.component.scss +3 -0
  17. package/lib/card-view/components/card-view-textitem/card-view-textitem.component.scss +28 -1
  18. package/lib/comments/comment-list/comment-list.component.scss +7 -5
  19. package/lib/comments/comments.component.scss +31 -2
  20. package/lib/datatable/components/columns-selector/columns-selector.component.scss +9 -9
  21. package/lib/datatable/components/datatable/datatable.component.scss +42 -29
  22. package/lib/dialogs/dialog/dialog.component.scss +2 -2
  23. package/lib/dialogs/unsaved-changes-dialog/unsaved-changes-dialog.component.scss +8 -11
  24. package/lib/directives/tooltip-card/tooltip-card.component.scss +9 -3
  25. package/lib/dynamic-chip-list/dynamic-chip-list.component.scss +4 -0
  26. package/lib/form/components/form-renderer.component.scss +30 -3
  27. package/lib/form/components/inplace-form-input/inplace-form-input.component.scss +19 -0
  28. package/lib/form/components/widgets/amount/amount.widget.scss +6 -0
  29. package/lib/form/components/widgets/date-time/date-time.widget.scss +1 -1
  30. package/lib/form/components/widgets/display-text/display-text.widget.scss +3 -0
  31. package/lib/form/components/widgets/form.theme.scss +42 -6
  32. package/lib/form/components/widgets/header/header.widget.scss +4 -2
  33. package/lib/form/components/widgets/hyperlink/hyperlink.widget.scss +1 -1
  34. package/lib/form/components/widgets/multiline-text/multiline-text.widget.scss +1 -1
  35. package/lib/header/header.component.scss +12 -12
  36. package/lib/header/navbar/navbar-item.component.scss +11 -3
  37. package/lib/identity-user-info/identity-user-info.component.scss +4 -4
  38. package/lib/info-drawer/info-drawer-layout.component.scss +5 -1
  39. package/lib/info-drawer/info-drawer.component.scss +21 -1
  40. package/lib/layout/components/header/header.component.scss +3 -3
  41. package/lib/layout/components/layout-container/layout-container.component.scss +3 -1
  42. package/lib/layout/components/sidebar-action/sidebar-action-menu.component.scss +8 -2
  43. package/lib/layout/components/sidenav-layout/sidenav-layout.component.scss +1 -0
  44. package/lib/login/components/login/login.component.scss +70 -12
  45. package/lib/notifications/components/notification-history.component.scss +17 -3
  46. package/lib/pagination/pagination.component.scss +6 -0
  47. package/lib/search-text/search-text-input.component.scss +6 -1
  48. package/lib/styles/_globals.scss +32 -3
  49. package/lib/styles/_mixins.scss +1 -1
  50. package/lib/templates/empty-content/empty-content.component.scss +6 -4
  51. package/lib/templates/error-content/error-content.component.scss +3 -2
  52. package/lib/toolbar/toolbar.component.scss +3 -0
  53. package/lib/viewer/components/img-viewer/img-viewer.component.scss +14 -2
  54. package/lib/viewer/components/pdf-viewer/pdf-viewer.component.scss +9 -8
  55. package/lib/viewer/components/pdf-viewer-password-dialog/pdf-viewer-password-dialog.scss +4 -0
  56. package/lib/viewer/components/pdf-viewer-thumbnails/pdf-viewer-thumbnails.component.scss +3 -3
  57. package/lib/viewer/components/txt-viewer/txt-viewer.component.scss +1 -1
  58. package/lib/viewer/components/unknown-format/unknown-format.component.scss +1 -0
  59. package/lib/viewer/components/viewer-render/viewer-render.component.scss +2 -2
  60. package/lib/viewer/components/viewer.component.scss +23 -11
  61. package/package.json +3 -3
@@ -3,9 +3,13 @@
3
3
  @use '../../../styles/mixins' as mixins;
4
4
  @use '../../../styles/mat-selectors' as ms;
5
5
 
6
+ $data-table-header-font-size: var(--theme-caption-font-size) !default;
7
+ $data-table-header-sort-icon-size: var(--theme-subheading-2-font-size) !default;
8
+ $data-table-row-height: var(--theme-display-3-font-size) !default;
6
9
  $data-table-column-spacing: 36px !default;
7
10
  $data-table-column-padding: 18px !default;
8
- $data-table-row-height: var(--mat-sys-display-large-size);
11
+ $data-table-card-padding: var(--theme-headline-line-height) !default;
12
+ $data-table-cell-top: calc($data-table-card-padding / 2);
9
13
  $data-table-thumbnail-width: 65px !default;
10
14
  $data-table-cell-min-width-1: 65px !default;
11
15
  $data-table-cell-min-width-2: 110px !default;
@@ -34,7 +38,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
34
38
 
35
39
  &--divider {
36
40
  padding: 24px 0;
37
- border: 1px solid var(--mat-sys-outline-variant);
41
+ border: 1px solid var(--adf-theme-foreground-text-color-007);
38
42
  }
39
43
 
40
44
  &:hover {
@@ -53,8 +57,8 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
53
57
  #{ms.$cdk-drag-preview} {
54
58
  display: flex;
55
59
  flex-direction: column;
56
- background-color: var(--mat-sys-surface);
57
- border: var(--mat-sys-outline-variant);
60
+ background-color: var(--adf-theme-background-card-color);
61
+ border: 1px solid var(--adf-theme-foreground-text-color-007);
58
62
  box-sizing: border-box;
59
63
  overflow-x: auto;
60
64
 
@@ -104,20 +108,20 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
104
108
  &:not(.adf-datatable-data-loading) {
105
109
  &:hover,
106
110
  &:focus {
107
- background-color: var(--mat-sys-surface-container);
111
+ background-color: var(--adf-theme-background-hover-color);
108
112
  }
109
113
  }
110
114
 
111
115
  &:focus {
112
116
  outline-offset: -1px;
113
- outline: 1px solid var(--mat-sys-primary);
117
+ outline: 1px solid var(--theme-accent-color-a200);
114
118
  }
115
119
 
116
120
  .adf-cell-value,
117
121
  .adf-datatable-cell-header {
118
122
  &:focus {
119
123
  outline-offset: -1px;
120
- outline: 1px solid var(--mat-sys-primary);
124
+ outline: 1px solid var(--theme-accent-color-a200);
121
125
  }
122
126
  }
123
127
  }
@@ -129,7 +133,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
129
133
  .adf-datatable-body {
130
134
  display: flex;
131
135
  flex-direction: column;
132
- background-color: var(--mat-sys-surface);
136
+ background-color: inherit;
133
137
  width: 100%;
134
138
  min-width: 100%;
135
139
 
@@ -145,7 +149,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
145
149
  @include mixins.material-animation-default(0.28s);
146
150
 
147
151
  transition-property: background-color;
148
- border-top: 1px solid var(--mat-sys-outline);
152
+ border-top: 1px solid var(--adf-theme-foreground-text-color-007);
149
153
  min-height: $data-table-row-height;
150
154
  cursor: pointer;
151
155
 
@@ -153,7 +157,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
153
157
 
154
158
  &.adf-is-selected,
155
159
  &.adf-is-selected:hover {
156
- background-color: var(--mat-sys-surface-container);
160
+ background-color: var(--adf-theme-background-selected-button-color);
157
161
  }
158
162
 
159
163
  &.adf-drag-row {
@@ -161,7 +165,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
161
165
  }
162
166
 
163
167
  &:last-child {
164
- border-bottom: 1px solid var(--mat-sys-outline);
168
+ border-bottom: 1px solid var(--adf-theme-foreground-text-color-007);
165
169
  }
166
170
 
167
171
  label {
@@ -278,7 +282,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
278
282
  }
279
283
 
280
284
  .adf-datatable-cell {
281
- color: var(--mat-sys-on-surface);
285
+ color: var(--adf-theme-foreground-text-color);
282
286
  min-height: inherit;
283
287
  }
284
288
 
@@ -373,10 +377,10 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
373
377
  .adf-location-cell {
374
378
  a {
375
379
  text-decoration: none;
376
- color: var(--mat-sys-on-surface);
380
+ color: var(--adf-theme-foreground-text-color);
377
381
 
378
382
  &:hover {
379
- color: var(--mat-sys-primary);
383
+ color: var(--theme-accent-500);
380
384
  text-decoration: underline;
381
385
  }
382
386
  }
@@ -395,15 +399,15 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
395
399
  }
396
400
 
397
401
  .adf-is-selected {
398
- background: var(--mat-sys-primary-container);
402
+ background: var(--adf-theme-primary-100);
399
403
  }
400
404
 
401
405
  .adf-datatable-link {
402
406
  text-decoration: none;
403
- color: var(--mat-sys-on-surface);
407
+ color: var(--adf-theme-foreground-text-color);
404
408
 
405
409
  &:hover {
406
- color: var(--mat-sys-secondary);
410
+ color: var(--theme-accent-500);
407
411
  text-decoration: underline;
408
412
  }
409
413
  }
@@ -495,13 +499,13 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
495
499
  /* stylelint-disable media-feature-range-notation */
496
500
 
497
501
  /* mobile phone */
498
- @media all and (width <=768px) {
502
+ @media all and (width <= 768px) {
499
503
  .adf-desktop-only.adf-ellipsis-cell {
500
504
  display: none;
501
505
  }
502
506
  }
503
507
 
504
- @media (device-width <=768px) {
508
+ @media (device-width <= 768px) {
505
509
  .adf-desktop-only.adf-ellipsis-cell {
506
510
  display: none;
507
511
  }
@@ -519,7 +523,8 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
519
523
  line-height: 24px;
520
524
  letter-spacing: 0;
521
525
  min-height: $data-table-row-height;
522
- font-size: var(--mat-sys-body-medium-size);
526
+ font-size: $data-table-header-font-size;
527
+ color: var(--adf-theme-foreground-text-color);
523
528
  box-sizing: border-box;
524
529
 
525
530
  &_subtitle {
@@ -536,11 +541,13 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
536
541
 
537
542
  .adf-datatable__header--sorted-asc,
538
543
  .adf-datatable__header--sorted-desc {
544
+ color: var(--adf-theme-foreground-text-color);
539
545
  padding-right: 0.25rem;
540
546
 
541
547
  &::after {
542
548
  @include mixins.typo-icon;
543
549
 
550
+ font-size: $data-table-header-sort-icon-size;
544
551
  content: '\e5d8';
545
552
  left: 5px;
546
553
  right: 5px;
@@ -572,6 +579,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
572
579
  }
573
580
 
574
581
  &--hovered {
582
+ background-color: var(--adf-theme-background-hover-color);
575
583
  border-radius: 6px;
576
584
  }
577
585
  }
@@ -598,6 +606,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
598
606
  .adf-drop-header-cell-placeholder {
599
607
  display: flex;
600
608
  flex: 1;
609
+ background: var(--adf-theme-background-hover-color);
601
610
  border: dotted 1px rgba(0, 0, 0, 0.25);
602
611
  min-height: 55px;
603
612
  transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
@@ -624,11 +633,13 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
624
633
  flex-direction: row;
625
634
  align-items: center;
626
635
  box-sizing: unset;
627
- border-top: 2px solid var(--mat-sys-primary);
636
+ background-color: var(--theme-background-color);
637
+ border-top: 2px solid var(--theme-selected-background-color);
628
638
  opacity: 1;
629
639
 
630
640
  &.adf-datatable-cell-header {
631
641
  border-radius: 6px;
642
+ background-color: var(--theme-background-color);
632
643
 
633
644
  @include mat.elevation-transition;
634
645
  @include mat.elevation(4);
@@ -654,8 +665,8 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
654
665
  .adf-datatable-header {
655
666
  display: block;
656
667
  margin-right: 0;
657
- border-top: 1px solid var(--mat-sys-outline-variant);
658
- border-bottom: 1px solid var(--mat-sys-outline-variant);
668
+ border-top: 1px solid var(--adf-theme-foreground-text-color-007);
669
+ border-bottom: 1px solid var(--adf-theme-foreground-text-color-007);
659
670
  }
660
671
 
661
672
  .adf-datatable-body {
@@ -668,15 +679,15 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
668
679
 
669
680
  .adf-upload__dragging {
670
681
  & > div {
671
- border-top: 1px dashed var(--mat-sys-secondary);
672
- border-bottom: 1px dashed var(--mat-sys-secondary);
682
+ border-top: 1px dashed var(--theme-accent-color-a200);
683
+ border-bottom: 1px dashed var(--theme-accent-color-a200);
673
684
 
674
685
  &:first-child {
675
- border-left: 1px dashed var(--mat-sys-secondary);
686
+ border-left: 1px dashed var(--theme-accent-color-a200);
676
687
  }
677
688
 
678
689
  &:last-child {
679
- border-right: 1px dashed var(--mat-sys-secondary);
690
+ border-right: 1px dashed var(--theme-accent-color-a200);
680
691
  }
681
692
  }
682
693
  }
@@ -691,6 +702,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
691
702
  .adf-datatable-body[role='rowgroup'] {
692
703
  .adf-datatable-row {
693
704
  height: 100%;
705
+ background-color: var(--adf-theme-background-card-color);
694
706
  border: none;
695
707
 
696
708
  &:hover,
@@ -704,7 +716,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
704
716
 
705
717
  .adf-datatable--empty--header-visible {
706
718
  .adf-datatable-header {
707
- border: 1px solid var(--mat-sys-outline-variant);
719
+ border: 1px solid var(--adf-theme-foreground-text-color-007);
708
720
  }
709
721
 
710
722
  .adf-datatable-body {
@@ -715,6 +727,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
715
727
 
716
728
  .adf-datatable-row {
717
729
  height: 100%;
730
+ background-color: var(--adf-theme-background-card-color);
718
731
  border: none;
719
732
 
720
733
  &:hover,
@@ -726,7 +739,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
726
739
  }
727
740
  }
728
741
 
729
- @media screen and (width <=380px) {
742
+ @media screen and (width <= 380px) {
730
743
  .adf-datatable-header {
731
744
  max-height: 50%;
732
745
  }
@@ -165,7 +165,7 @@ $dialog-padding: 24px;
165
165
  left: -$dialog-padding;
166
166
  display: block;
167
167
  height: 0;
168
- border-bottom: 1px solid var(--mat-sys-outline-variant);
168
+ border-bottom: 1px solid var(--adf-theme-foreground-divider-color);
169
169
  width: calc(100% + $dialog-padding * 2);
170
170
  }
171
171
  }
@@ -284,5 +284,5 @@ $dialog-padding: 24px;
284
284
  }
285
285
 
286
286
  .adf-additional-actions {
287
- color: var(--mat-sys-primary);
287
+ color: var(--theme-primary-color);
288
288
  }
@@ -1,5 +1,3 @@
1
- @use '@angular/material' as mat;
2
-
3
1
  .adf-unsaved-changes-dialog {
4
2
  .adf-unsaved-changes-dialog {
5
3
  &-header {
@@ -24,9 +22,14 @@
24
22
  &-content {
25
23
  padding: 0 8px 0 0;
26
24
  overflow: unset;
25
+ color: var(--adf-secondary-modal-text-color);
27
26
 
28
27
  &-checkbox {
29
28
  margin-top: 20px;
29
+
30
+ label {
31
+ color: var(--adf-secondary-modal-text-color);
32
+ }
30
33
  }
31
34
  }
32
35
 
@@ -38,19 +41,13 @@
38
41
  align-items: flex-end;
39
42
 
40
43
  &-cancel-button {
44
+ background-color: var(--adf-secondary-button-background);
41
45
  margin-right: 4px;
42
46
  }
43
47
 
44
48
  &-discard-changes-button {
45
- color: var(--mat-sys-on-error);
46
- background-color: var(--mat-sys-error);
47
-
48
- @include mat.button-overrides(
49
- (
50
- filled-label-text-color: var(--mat-sys-on-error),
51
- filled-container-color: var(--mat-sys-error)
52
- )
53
- );
49
+ color: white;
50
+ background-color: var(--adf-error-color);
54
51
  }
55
52
 
56
53
  &-cancel-button,
@@ -7,18 +7,20 @@
7
7
  div.adf-tooltip-card {
8
8
  @include mat.elevation(8);
9
9
 
10
- border: 1px solid var(--mat-sys-primary);
10
+ background-color: var(--adf-theme-background-card-color);
11
+ border: 1px solid var(--theme-primary-color);
11
12
  padding: 12px;
12
13
  border-radius: 6px;
13
14
 
14
15
  p,
15
16
  div {
16
- font-size: var(--mat-sys-body-small-size);
17
+ font-size: var(--theme-caption-font-size);
18
+ color: var(--adf-theme-foreground-text-color-075);
17
19
  margin: 0;
18
20
  }
19
21
 
20
22
  hr {
21
- border: 1px solid var(--mat-sys-primary);
23
+ border: 1px solid var(--theme-primary-color);
22
24
  margin: 6px 0;
23
25
  }
24
26
 
@@ -26,3 +28,7 @@ div.adf-tooltip-card {
26
28
  border-radius: 6px;
27
29
  }
28
30
  }
31
+
32
+ ::ng-deep .cdk-overlay-connected-position-bounding-box {
33
+ margin-top: 10px;
34
+ }
@@ -62,6 +62,10 @@
62
62
 
63
63
  #{ms.$mat-evolution-chip-action} {
64
64
  padding: 2px 12px;
65
+
66
+ #{ms.$mat-evolution-chip-text-label} {
67
+ color: var(--adf-theme-foreground-text-color-054);
68
+ }
65
69
  }
66
70
  }
67
71
  }
@@ -167,6 +167,25 @@
167
167
  top: 1.8em;
168
168
  }
169
169
 
170
+ #{ms.$mat-focused} {
171
+ width: 100%;
172
+
173
+ #{ms.$mat-text-field-focused} {
174
+ label {
175
+ color: var(--theme-primary-color);
176
+ }
177
+ }
178
+
179
+ label {
180
+ transition: transform 150ms linear;
181
+ background-color: 300ms cubic-bezier(0.55, 0, 0.55, 0.2);
182
+ }
183
+
184
+ #{ms.$mat-form-field-prefix} {
185
+ color: var(--theme-primary-color);
186
+ }
187
+ }
188
+
170
189
  #{ms.$mat-grid-tile} {
171
190
  overflow: visible;
172
191
  width: 80%;
@@ -203,6 +222,8 @@
203
222
  }
204
223
 
205
224
  & #{mat-tab-label-text} {
225
+ font-size: var(--theme-subheading-2-font-size);
226
+ line-height: var(--theme-headline-line-height);
206
227
  letter-spacing: -0.4px;
207
228
  text-align: left;
208
229
  color: rgba(0, 0, 0, 0.54);
@@ -221,7 +242,7 @@
221
242
  }
222
243
 
223
244
  &-form-title {
224
- font-size: var(--mat-sys-title-medium-size);
245
+ font-size: var(--theme-title-font-size);
225
246
  white-space: nowrap;
226
247
  overflow: hidden;
227
248
  text-overflow: ellipsis;
@@ -237,10 +258,10 @@
237
258
  position: absolute;
238
259
  right: 50px;
239
260
  top: 39px;
240
- color: var(--mat-sys-secondary);
261
+ color: var(--theme-accent-color);
241
262
 
242
263
  & .adf-invalid-color {
243
- color: var(--mat-sys-error);
264
+ color: var(--theme-warn-color);
244
265
  }
245
266
  }
246
267
 
@@ -303,4 +324,10 @@
303
324
 
304
325
  form-field {
305
326
  width: 100%;
327
+
328
+ #{ms.$mat-input-element} {
329
+ font-size: var(--theme-body-2-font-size);
330
+ padding-top: 8px;
331
+ line-height: normal;
332
+ }
306
333
  }
@@ -4,6 +4,16 @@
4
4
  $adf-inplace-input-padding: 7px;
5
5
 
6
6
  .adf-inplace-input-container {
7
+ &-error {
8
+ .adf-inplace-input {
9
+ border: 1px solid var(--theme-warn-color);
10
+ }
11
+ }
12
+
13
+ #{ms.$mat-line-ripple} {
14
+ display: none;
15
+ }
16
+
7
17
  #{ms.$mat-form-text-field-infix} {
8
18
  display: flex;
9
19
  border-top: 0;
@@ -21,5 +31,14 @@ $adf-inplace-input-padding: 7px;
21
31
  padding: $adf-inplace-input-padding;
22
32
  border: 1px solid transparent;
23
33
  border-radius: 4px;
34
+
35
+ &:focus {
36
+ border: 1px solid var(--theme-primary-color);
37
+ }
38
+
39
+ &:hover:not(:focus) {
40
+ border: 1px solid var(--adf-theme-background-hover-color);
41
+ background-color: var(--adf-theme-background-hover-color);
42
+ }
24
43
  }
25
44
  }
@@ -23,5 +23,11 @@
23
23
  .adf-input {
24
24
  margin-top: 3px;
25
25
  }
26
+
27
+ &:not(#{ms.$mat-focused}):not(#{ms.$mat-form-field-invalid}) {
28
+ .adf-amount-widget__prefix-spacing {
29
+ color: var(--adf-theme-foreground-secondary-text-color);
30
+ }
31
+ }
26
32
  }
27
33
  }
@@ -28,5 +28,5 @@
28
28
  }
29
29
 
30
30
  #{ms.$mat-datetimepicker-toggle} {
31
- color: var(--mat-sys-on-surface);
31
+ color: var(--adf-theme-foreground-icon-color);
32
32
  }
@@ -1,5 +1,8 @@
1
1
  .adf-display-text-widget {
2
2
  white-space: pre-wrap;
3
+ font-size: var(--adf-readonly-text-font-size, var(--adf-form-label-font-size, var(--theme-body-1-font-size)));
4
+ font-weight: var(--adf-readonly-text-font-weight, var(--adf-form-label-font-weight, var(--theme-font-weight)));
5
+ color: var(--adf-readonly-text-color, var(--adf-form-label-color, var(--theme-text-color)));
3
6
  line-height: normal;
4
7
  word-break: break-word;
5
8
  position: relative;
@@ -2,6 +2,12 @@
2
2
  /* stylelint-disable declaration-no-important */
3
3
  @use '../../../styles/mat-selectors' as ms;
4
4
 
5
+ ul > li > form-field > .adf-focus {
6
+ .adf-label {
7
+ color: var(--theme-primary-color);
8
+ }
9
+ }
10
+
5
11
  .adf {
6
12
  &-error-container {
7
13
  height: 20px;
@@ -11,25 +17,55 @@
11
17
  &-error-text {
12
18
  padding: 1px;
13
19
  height: 16px;
14
- font-size: var(--mat-sys-body-small-size);
20
+ font-size: var(--theme-caption-font-size);
15
21
  line-height: 1.33;
16
- color: var(--mat-sys-error);
22
+ color: var(--theme-warn-color);
17
23
  }
18
24
 
19
25
  &-error-icon {
20
- font-size: var(--mat-sys-label-large-size);
21
- color: var(--mat-sys-error);
26
+ font-size: var(--theme-adf-icon-1-font-size);
27
+ color: var(--theme-warn-color);
28
+ }
29
+
30
+ &-label {
31
+ color: var(--adf-theme-foreground-secondary-text-color);
22
32
  }
23
33
 
24
34
  &-asterisk {
25
35
  padding-left: 2px;
26
- color: var(--mat-sys-error);
36
+ color: var(--theme-warn-color);
27
37
  }
28
38
 
29
39
  &-invalid {
40
+ #{ms.$mat-checkbox} {
41
+ padding-bottom: 12px;
42
+ }
43
+
44
+ #{ms.$mat-line-ripple} {
45
+ background-color: var(--theme-warn-color) !important;
46
+ }
47
+
48
+ #{ms.$mat-select} {
49
+ &-arrow {
50
+ color: var(--adf-theme-foreground-secondary-text-color) !important;
51
+ }
52
+ }
53
+
30
54
  .adf-file {
31
- border-color: var(--mat-sys-error);
55
+ border-color: var(--theme-warn-color);
56
+ }
57
+
58
+ #{ms.$mat-form-field-prefix} {
59
+ color: var(--adf-theme-foreground-secondary-text-color);
32
60
  }
61
+
62
+ .adf-input {
63
+ border-color: var(--theme-warn-color);
64
+ }
65
+ }
66
+
67
+ &-left-label {
68
+ color: var(--adf-theme-foreground-secondary-text-color);
33
69
  }
34
70
  }
35
71
 
@@ -1,9 +1,11 @@
1
1
  .adf-container-widget-header__text {
2
- border-bottom: 1px solid var(--mat-sys-outline-variant);
2
+ border-bottom: 1px solid rgba(0, 0, 0, 0.87);
3
3
  padding-bottom: 10px;
4
4
  cursor: default;
5
5
  user-select: none;
6
- font-size: var(--mat-sys-title-small-size);
6
+ font-size: var(--adf-header-font-size);
7
+ font-weight: var(--adf-header-font-weight);
8
+ color: var(--adf-header-color);
7
9
  line-height: normal;
8
10
 
9
11
  &.adf-collapsible {
@@ -3,6 +3,6 @@
3
3
  border-top: 0.8438em solid transparent;
4
4
 
5
5
  a {
6
- color: var(--mat-sys-primary);
6
+ color: var(--theme-primary-color);
7
7
  }
8
8
  }
@@ -15,7 +15,7 @@
15
15
  margin-top: -20px;
16
16
  min-height: 24px;
17
17
  min-width: 1px;
18
- font-size: var(--mat-sys-body-small-size);
18
+ font-size: var(--theme-caption-font-size);
19
19
  line-height: 14px;
20
20
  overflow: hidden;
21
21
  transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
@@ -1,31 +1,31 @@
1
1
  .adf-header {
2
2
  display: flex;
3
3
  flex-direction: column;
4
- width: 100%;
5
- height: 100%;
4
+ width: var(--adf-header-width, 100%);
5
+ height: var(--adf-header-height, 100%);
6
6
 
7
7
  .adf-toolbar {
8
- width: 100%;
9
- height: 100%;
8
+ width: var(--adf-toolbar-width, 100%);
9
+ height: var(--adf-toolbar-height, 100%);
10
10
 
11
11
  .adf-toolbar-title {
12
- width: 100%;
12
+ width: var(--adf-toolbar-title-width, 100%);
13
13
  align-items: center;
14
- font-size: var(--mat-sys-title-medium-size);
15
- font-weight: var(--mat-sys-title-medium-weight);
16
- color: var(--mat-sys-on-surface);
17
- gap: 25px;
14
+ font-size: var(--adf-toolbar-title-font-size, 16px);
15
+ font-weight: var(--adf-toolbar-title-font-weight, 500);
16
+ color: var(--adf-toolbar-title-color, #000);
17
+ gap: var(--adf-toolbar-title-gap, 25px);
18
18
  }
19
19
 
20
20
  .adf-toolbar-logo {
21
- height: 36px;
22
- width: 36px;
21
+ height: var(--adf-header-logo-height, 36px);
22
+ width: var(--adf-header-logo-width, --adf-header-logo-height);
23
23
  }
24
24
 
25
25
  .adf-toolbar-actions > * {
26
26
  display: flex;
27
27
  align-items: center;
28
- gap: 10px;
28
+ gap: var(--adf-toolbar-actions-gap, 10px);
29
29
  }
30
30
 
31
31
  .adf-toolbar-container.adf-toolbar-container-row {
@@ -1,11 +1,19 @@
1
1
  .adf-navbar-item {
2
2
  .adf-navbar-item-btn {
3
- height: 100%;
3
+ height: var(--adf-navbar-btn-height, 100%);
4
+ background-color: var(--adf-navbar-btn-background-color, inherit);
5
+ font-size: var(--adf-navbar-btn-font-size, 16px);
6
+ font-weight: var(--adf-navbar-btn-font-weight, 500);
7
+ color: var(--adf-navbar-btn-color, #000);
8
+ opacity: var(--adf-navbar-btn-opacity, 0.48);
4
9
  box-sizing: border-box;
10
+ border-bottom: 3px solid transparent;
11
+ border-top: 3px solid transparent;
5
12
  }
6
13
 
7
14
  .adf-navbar-item-active {
8
- border-radius: 0;
9
- opacity: 1;
15
+ border-radius: var(--adf-navbar-selected-btn-border-radius, 0);
16
+ opacity: var(--adf-navbar-selected-btn-opacity, 1);
17
+ border-bottom: var(--adf-navbar-selected-btn-border-bottom, 3px solid black);
10
18
  }
11
19
  }