@alfresco/adf-core 8.4.0-19062358161 → 8.4.0-19063861366

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