AAE-40649 Material Design 3 migration (#11286)

* AAE-38957 Cleanup code from color assignments on Material elements (#11266)

* AAE-38646   cleanup core lib from custom variables (#11259)

* AAE-38646 General cleanup of custom variables from core lib

* AAE-38646 Cleanup some of the remaining variables

* AAE-38646 Last color-mix removal

* AAE-38646 Reduce amount of customizations

* AAE-38646 apply overrides, reduce customization

* AAE-38646 modify remaining styles

* AAE-38646 Fix override assignemnts

* AAE-38646 Address comments, cleanup unused

* AAE-38978 Cleanup process-services-cloud lib from custom css variables (#11295)

* AAE-38978 Cleanup custom variables inside process-services-cloud lib

* AAE-38978 Adjust rich text widget styling

* AAE-38978 Comment fixes

* AAE-38980 Cleanup insights lib from custom css variables (#11314)

* AAE-38980 Cleanup insights lib from custom css variables

* AAE-38980 Removed unnecessarily specific selector

* AAE-38979 Cleanup content-services lib from custom css variables (#11313)

* AAE-38979 Remove/replace variable and hardcoded customizations

* AAE-38979 Cleanup unused @use and @import statements

* AAE-39159 Cleanup process-services lib from custom css variables (#11316)

* AAE-39159 Cleanup process-services lib from custom css variables

* AAE-39159 Fix import and build

* Fix build

* Remove leftover button customization

* fix missing brace

* AAE-39748 Pagination font size match md3

* fix incorrect html templates after rebase

* swap leftover variables

* fix units

* copilot comments

* visual regression result fixes

* CSX-204 Update card view components (#11358)

* CSX-535 Update background color on readonly for card view selectitem (#11799)

* remove invalid color test

* add stylelint rule

---------

Co-authored-by: Ehsan Rezaei <ehsan.rezaei@hyland.com>
Co-authored-by: Ricardo Dias <ricardo.dias@hyland.com>
This commit is contained in:
Wojciech Duda
2026-04-22 10:02:17 +01:00
committed by GitHub
co-authored by Ehsan Rezaei Ricardo Dias
parent 423c646bac
commit 64826c3a99
236 changed files with 838 additions and 1780 deletions
+1 -1
View File
@@ -43,7 +43,7 @@
"options": {
"commands": [
{
"command": "stylelint lib/content-services/**/*.scss --config stylelint-config.json"
"command": "stylelint \"lib/content-services/**/*.scss\" --config .stylelintrc.json"
}
]
}
@@ -9,8 +9,7 @@ adf-aspect-list-dialog {
}
.adf-aspect-list-dialog-title {
font-size: large;
font-weight: 200;
font: var(--mat-sys-headline-medium);
margin-top: 0;
}
@@ -44,11 +43,6 @@ adf-aspect-list-dialog {
margin-bottom: 8px;
.adf-aspect-property-table {
.adf-aspect-property-table-cell {
font-size: smaller;
color: var(--adf-theme-foreground-text-color-087);
}
.adf-aspect-property-table-column {
&-name {
width: 30%;
@@ -23,7 +23,7 @@ $dialog-list-height: calc(65vh - ($dialog-title-height + $dialog-information-hei
&-aspect-list-container {
max-height: $dialog-list-height;
overflow: auto;
border: 1px solid var(--adf-theme-foreground-text-color-007);
border: 1px solid var(--mat-sys-outline-variant);
.adf-aspect-list-check-button {
margin-right: 5px;
@@ -35,11 +35,11 @@ $dialog-list-height: calc(65vh - ($dialog-title-height + $dialog-information-hei
.adf-accordion-aspect-list-item {
padding-left: 14px;
display: flex;
box-shadow: 0 2px 2px -1px var(--adf-theme-foreground-text-color-007);
box-shadow: var(--mat-sys-level2);
&.adf-hover {
&:hover {
background-color: var(--adf-theme-background-hover-color);
background-color: var(--mat-sys-surface-container);
}
}
}
@@ -47,8 +47,6 @@ $dialog-list-height: calc(65vh - ($dialog-title-height + $dialog-information-hei
.adf-accordion-aspect-list-expansion-panel {
margin: 0;
width: 100%;
box-shadow: none;
background: border-box;
#{ms.$mat-checkbox-background} {
height: 16px;
@@ -56,13 +54,13 @@ $dialog-list-height: calc(65vh - ($dialog-title-height + $dialog-information-hei
}
&-header {
font-size: smaller;
font: var(--mat-sys-body-small);
padding-left: 0;
height: 48px;
}
&-header-title {
color: var(--theme-secondary-text);
color: var(--mat-sys-on-secondary-container);
}
&-header-description {
@@ -82,8 +80,8 @@ $dialog-list-height: calc(65vh - ($dialog-title-height + $dialog-information-hei
.adf-aspect-property-table-column-name,
.adf-aspect-property-table-column-title,
.adf-aspect-property-table-column-data-type {
font-size: 12px;
color: var(--adf-theme-foreground-text-color-064);
font: var(--mat-sys-body-small);
color: var(--mat-sys-on-secondary-container);
}
.adf-aspect-property-table-column {
@@ -1,11 +1,8 @@
.adf-breadcrumb {
display: flex;
flex: 1;
line-height: 24px;
font-size: var(--theme-body-1-font-size);
font-weight: 600;
letter-spacing: -0.2px;
color: var(--adf-theme-foreground-text-color-064);
font: var(--mat-sys-body-medium);
color: var(--mat-sys-on-surface);
overflow: hidden;
&-container {
@@ -35,7 +32,7 @@
margin-right: 5px;
&:focus {
color: var(--theme-primary-color);
color: var(--mat-sys-primary);
outline: none;
}
@@ -44,11 +41,11 @@
}
&-arrow {
font-size: var(--theme-adf-icon-1-font-size);
font: var(--mat-sys-body-small);
position: absolute;
left: 4px;
top: 4px;
color: white;
color: var(--mat-sys-on-secondary);
z-index: 2;
}
@@ -70,30 +67,21 @@
padding-right: 2px;
overflow: hidden;
display: flex;
line-height: 33px;
font-size: var(--theme-body-1-font-size);
font-weight: 600;
letter-spacing: -0.2px;
font: var(--mat-sys-body-medium);
text-align: left;
color: var(--adf-theme-foreground-text-color-064);
color: var(--mat-sys-on-secondary-container);
flex: 0 1 auto;
min-width: 35px;
margin-top: auto;
text-overflow: ellipsis;
&:hover,
&.adf-active {
color: var(--adf-theme-foreground-text-color-064);
}
&.adf-active {
color: var(--adf-theme-foreground-text-color-087);
color: var(--mat-sys-on-surface);
}
&-chevron {
opacity: 1;
margin-top: 9px;
font-size: var(--theme-adf-icon-1-font-size);
font: var(--mat-sys-body-small);
}
&-anchor {
@@ -110,7 +98,7 @@
text-align: start;
&:focus {
outline: 1px solid var(--theme-accent-color-a200);
outline: 1px solid var(--mat-sys-outline-variant);
outline-offset: -1px;
}
}
@@ -6,11 +6,8 @@ $dropdown-horizontal-offset: 30px;
&-dropdown-breadcrumb {
display: flex;
flex: 1;
line-height: 24px;
font-size: var(--theme-body-1-font-size);
font-weight: 600;
letter-spacing: -0.2px;
color: var(--adf-theme-foreground-text-color-064);
font: var(--mat-sys-body-medium);
color: var(--mat-sys-on-secondary-container);
overflow: hidden;
margin-top: 10px;
@@ -36,7 +33,7 @@ $dropdown-horizontal-offset: 30px;
width: 25px;
&:focus {
color: var(--theme-primary-color);
color: var(--mat-sys-primary);
outline: none;
}
}
@@ -61,12 +58,12 @@ $dropdown-horizontal-offset: 30px;
text-overflow: ellipsis;
display: inline-block;
width: 75%;
color: var(--adf-theme-foreground-text-color);
color: var(--mat-sys-on-surface);
}
&-dropdown-breadcrumb-path-option.adf-dropdown-breadcrumb-path-option-node {
padding: 0 12px;
font-size: var(--theme-caption-font-size);
font-size: var(--mat-sys-body-small-size);
}
&-dropdown-breadcrumb-path-option.adf-dropdown-breadcrumb-path-option-node:first-child {
@@ -10,7 +10,7 @@
(keyup.enter)="addCategory()"
adf-auto-focus
/>
<mat-error
<mat-error
*ngIf="categoryNameControl.invalid && categoryNameControl.touched"
data-automation-id="categories-error-message">
{{ categoryNameErrorMessageKey | translate }}
@@ -1,5 +1,3 @@
@use '../../mat-selectors.scss' as ms;
.adf-categories-management {
margin: 5px 0;
@@ -35,23 +33,11 @@
height: 100%;
overflow-wrap: anywhere;
padding: 5px 0;
font-size: 14px;
background-color: inherit;
color: inherit;
&:not(#{ms.$mat-list-item-disabled}):hover {
cursor: pointer;
background: var(--adf-theme-mat-grey-color-a200);
}
& span {
padding: 0;
}
}
.adf-existing-categories-label {
font-size: 10px;
color: var(--theme-secondary-text-color);
font: var(--mat-sys-body-small);
color: var(--mat-sys-on-secondary-container);
margin-bottom: 2px;
}
@@ -64,12 +50,8 @@
min-height: 22vh;
.adf-create-category-label {
color: var(--theme-primary-color);
color: var(--mat-sys-primary);
cursor: pointer;
overflow-wrap: anywhere;
}
#{ms.$mat-list-item-disabled} #{ms.$mat-list-item-primary-text} {
opacity: 1;
}
}
@@ -10,18 +10,9 @@
&-footer.adf-content-metadata-card-view-footer {
margin: 0;
padding: 8px 12px;
border-top: 1px solid var(--adf-theme-foreground-text-color-007);
display: flex;
place-content: stretch space-between;
align-items: stretch;
max-height: 100%;
button {
color: var(--adf-theme-foreground-text-color-064);
&:hover {
color: var(--adf-theme-foreground-text-color-087);
}
}
}
}
@@ -37,7 +37,6 @@
mat-icon-button
[attr.title]="'CORE.METADATA.ACTIONS.SAVE' | translate"
(click)="saveChanges($event)"
color="primary"
data-automation-id="save-general-info-metadata"
[disabled]="!hasMetadataChanged || invalidProperties.size > 0">
<mat-icon adf-icon="check" />
@@ -92,8 +91,7 @@
mat-icon-button
[attr.title]="'CORE.METADATA.ACTIONS.SAVE' | translate"
(click)="saveChanges($event)"
color="primary"
data-automation-id="save-tags-metadata"
data-automation-id="save-tags-metadata"
[disabled]="!hasMetadataChanged">
<mat-icon adf-icon="check" />
</button>
@@ -156,8 +154,7 @@
mat-icon-button
[attr.title]="'CORE.METADATA.ACTIONS.SAVE' | translate"
(click)="saveChanges($event)"
color="primary"
data-automation-id="save-categories-metadata"
data-automation-id="save-categories-metadata"
[disabled]="!hasMetadataChanged">
<mat-icon adf-icon="check" />
</button>
@@ -238,8 +235,7 @@
mat-icon-button
[attr.title]="'CORE.METADATA.ACTIONS.SAVE' | translate"
(click)="saveChanges($event)"
color="primary"
data-automation-id="save-metadata"
data-automation-id="save-metadata"
[disabled]="!hasMetadataChanged || invalidProperties.size > 0">
<mat-icon adf-icon="check" />
</button>
@@ -5,42 +5,21 @@ $panel-properties-height: 56px !default;
.adf {
&-metadata-properties {
.adf-content-metadata-panel {
box-shadow: none;
border: 1px solid var(--adf-metadata-property-panel-border-color);
border-radius: 12px;
margin: 12px;
.adf-property-list .adf-property .adf-property-field {
label {
font-size: 19px;
line-height: 24px;
font: var(--mat-sys-headline-small);
}
}
}
.adf-metadata-properties-header {
height: $panel-properties-height;
padding: 0 12px;
border-radius: 12px 12px 0 0;
&.adf-metadata-properties-header-expanded {
border-bottom: 1px solid var(--adf-metadata-property-panel-border-color);
}
}
.adf-metadata-properties-expansion-panel,
.adf-metadata-categories-header {
display: block;
margin-top: 16px;
}
.adf-metadata-properties-tags,
.adf-metadata-no-item-added {
margin-top: 16px;
}
.adf-edit-icon-buttons {
color: var(--adf-theme-foreground-text-color-064);
color: var(--mat-sys-on-secondary-container);
}
#{ms.$mat-chip} {
@@ -52,13 +31,14 @@ $panel-properties-height: 56px !default;
.mat-mdc-chip-action-label {
overflow: hidden;
}
/* stylelint-enable selector-class-pattern */
}
}
.adf-metadata-no-item-added {
word-break: break-all;
font-size: 15px;
font: var(--mat-sys-body-small);
padding: 0 0 0 12px;
}
@@ -72,23 +52,5 @@ $panel-properties-height: 56px !default;
&-metadata-action-buttons {
display: flex;
justify-content: space-evenly;
&-clear {
color: var(--adf-metadata-action-button-clear-color);
}
}
&-metadata-categories-header {
.adf-categories-button {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 15px;
height: $panel-properties-height;
[hidden] {
visibility: hidden;
}
}
}
}
@@ -1,31 +1,17 @@
@use '../../mat-selectors.scss' as ms;
/* stylelint-disable no-descending-specificity */
$content-node-selector-thumbnail-width: 35px !default;
$content-node-selector-thumbnail-max-width: 40px !default;
h2.adf-search-results-label {
flex: 1;
font-weight: 600;
font-size: var(--theme-body-1-font-size);
font-style: normal;
font-stretch: normal;
line-height: 1.43;
letter-spacing: -0.2px;
color: var(--adf-theme-foreground-text-color-087);
}
#{ms.$mdc-dialog} {
#{ms.$mat-dialog-surface}:is(div) {
padding-bottom: 0;
}
font: var(--mat-sys-body-medium);
}
.adf-content-node-selector-panel {
.adf-toolbar .adf-toolbar-container.adf-toolbar-container-row {
max-height: 48px;
border-bottom-width: 0;
font-size: var(--theme-body-1-font-size);
font-size: var(--mat-sys-body-medium-size);
height: auto;
}
}
@@ -46,14 +32,14 @@ h2.adf-search-results-label {
width: 100%;
margin-bottom: 15px;
.adf-content-node-selector-content-input-icon {
color: var(--adf-theme-foreground-icon-color-054);
.adf-content-node-selector-content-input-icon:is(mat-icon) {
color: var(--mat-sys-on-secondary-container);
}
.adf-content-node-selector-search-clear-button {
.adf-content-node-selector-content-input-icon {
&:hover {
color: var(--adf-theme-foreground-base-color);
color: var(--mat-sys-on-surface);
}
}
}
@@ -74,20 +60,16 @@ h2.adf-search-results-label {
outline: none;
.adf-dropdown-breadcrumb-icon {
color: var(--adf-theme-foreground-base-color-045);
&:hover {
color: var(--adf-theme-foreground-base-color-065);
}
color: var(--mat-sys-on-secondary-container);
}
&:focus .adf-dropdown-breadcrumb-icon {
color: var(--theme-primary-color);
color: var(--mat-sys-primary);
}
}
.adf-dropdown-breadcrumb-item-chevron {
color: var(--adf-theme-foreground-base-color-045);
color: var(--mat-sys-on-secondary-container);
}
}
@@ -95,7 +77,7 @@ h2.adf-search-results-label {
&-list {
height: 40vh;
overflow: auto;
border: 1px solid var(--adf-theme-foreground-text-color-007);
border: 1px solid var(--mat-sys-outline-variant);
border-top: 0;
position: relative;
@@ -106,7 +88,7 @@ h2.adf-search-results-label {
}
.adf-highlight {
color: var(--theme-primary-color);
color: var(--mat-sys-primary);
}
.adf-datatable-list {
@@ -122,7 +104,7 @@ h2.adf-search-results-label {
}
.adf-datatable-selected > svg {
fill: var(--theme-primary-color);
fill: var(--mat-sys-primary);
}
.adf-no-content-container.adf-datatable-cell {
@@ -46,61 +46,19 @@ adf-content-node-selector {
}
.adf-dropdown-breadcrumb-icon {
color: var(--adf-theme-foreground-base-color-045);
}
#{ms.$mat-dialog-title} {
margin-bottom: 0;
padding: 0;
&::before {
display: none;
}
}
.adf-content-node-selector-dialog-title {
font-size: var(--theme-title-font-size);
font-weight: 600;
font-style: normal;
font-stretch: normal;
line-height: 1.6;
letter-spacing: -0.5px;
color: var(--adf-theme-foreground-text-color-087);
margin-bottom: 20px;
h2 {
margin: unset;
font-size: unset;
}
color: var(--mat-sys-on-secondary-container);
}
.adf-content-node-selector-dialog-actions {
padding: 8px;
height: 77px;
background-color: var(--theme-background-color);
display: flex;
flex-direction: row;
justify-content: space-between;
color: var(--adf-theme-foreground-text-color);
label {
text-transform: uppercase;
font-weight: normal;
}
.adf-choose-action {
&[disabled] {
color: var(--adf-theme-foreground-secondary-text-color);
}
&:enabled {
color: var(--theme-primary-color);
}
}
}
}
@media screen and (width <= 768px) {
@media screen and (width <=768px) {
.adf-content-node-selector-dialog {
height: 100vh;
}
@@ -2,7 +2,7 @@
display: grid;
&-location {
color: var(--adf-theme-foreground-text-color-064);
font-size: var(--theme-caption-font-size);
color: var(--mat-sys-on-secondary-container);
font: var(--mat-sys-body-small);
}
}
@@ -20,7 +20,6 @@
<mat-slide-toggle
#slideToggleExpirationDate
[disabled]="!canUpdate"
color="primary"
data-automation-id="adf-expire-toggle"
aria-label="{{ 'SHARE.EXPIRES' | translate }}"
[checked]="!!time.value"
@@ -56,7 +55,6 @@
<p class="adf-share-link__info adf-share-link__para">{{ 'SHARE.SHARE-LINK' | translate }}</p>
<div class="adf-share-link--row adf-share-link--sharable-container">
<mat-slide-toggle
color="primary"
data-automation-id="adf-share-toggle"
class="adf-share-link--row__slide-toggle"
aria-label="{{ 'SHARE.TITLE' | translate }}"
@@ -105,7 +103,7 @@
<hr class="adf-share-link__separation-line" aria-hidden="true" />
</mat-dialog-content>
<div class="adf-share-link__actions" mat-dialog-actions>
<button data-automation-id="adf-share-dialog-close" mat-button color="primary" mat-dialog-close>
<button data-automation-id="adf-share-dialog-close" mat-button mat-dialog-close>
{{ 'SHARE.CLOSE' | translate }}
</button>
</div>
@@ -8,20 +8,15 @@
}
&__dialog-container {
background-color: var(--theme-card-background-color);
background-color: var(--mat-sys-surface);
border-radius: 16px;
}
&__label,
&__title,
&__info {
letter-spacing: -0.4px;
line-height: 2;
font-weight: normal;
font-style: normal;
font-stretch: normal;
font-size: var(--theme-body-1-font-size);
color: var(--adf-theme-foreground-text-color-087);
font: var(--mat-sys-body-medium);
color: var(--mat-sys-on-surface);
}
&__label {
@@ -33,19 +28,19 @@
}
&__public-content {
color: var(--adf-theme-foreground-text-color-064);
font-size: var(--theme-caption-font-size);
color: var(--mat-sys-on-secondary-container);
font: var(--mat-sys-body-small);
}
&__warn {
color: var(--theme-warn-color-a700);
font-size: var(--theme-caption-font-size);
color: var(--mat-sys-error);
font-size: var(--mat-sys-body-small-size);
}
&__border-color {
@include mat.form-field-overrides(
(
outlined-outline-color: var(--theme-warn-color-a700)
outlined-outline-color: var(--mat-sys-warn)
)
);
}
@@ -77,7 +72,7 @@
}
&__separation-line {
border: 1px solid var(--theme-grey-background-color);
border: 1px solid var(--mat-sys-outline-variant);
margin: 8px -24px;
}
@@ -93,7 +88,7 @@
&__heading {
font-weight: 700;
font-size: var(--theme-subheading-2-font-size);
font-size: var(--mat-sys-title-small-size);
}
}
@@ -116,8 +111,6 @@
margin: 8px 0 0;
& > button {
color: var(--adf-theme-foreground-base-color);
background-color: var(--theme-grey-text-background-color);
margin-right: 12px;
}
}
@@ -6,14 +6,12 @@
}
&-content-type-dialog-title {
font-size: large;
font-weight: 200;
font: var(--mat-sys-title-large);
margin-top: 0;
}
&-content-type-dialog-description {
font-size: small;
line-height: normal;
font: var(--mat-sys-body-small);
}
&-content-type-table {
@@ -21,6 +19,6 @@
}
&-content-type-dialog-apply-button {
color: var(--theme-primary-color);
color: var(--mat-sys-primary);
}
}
@@ -19,7 +19,6 @@
<button
(click)="selectCategories()"
[disabled]="!categories.length"
color="primary"
data-automation-id="category-selector-dialog-select-button"
mat-button>
{{ 'NODE_SELECTOR.CHOOSE' | translate }}
@@ -1,6 +1,6 @@
<h1 matDialogTitle>{{ 'CORE.DIALOG.DOWNLOAD_ZIP.TITLE' | translate }}</h1>
<div mat-dialog-content class="adf-dialog-content">
<mat-progress-bar value="{{ percentageDone }}" color="primary" mode="determinate" />
<mat-progress-bar value="{{ percentageDone }}" mode="determinate" />
<div class="adf-dialog-content-progress-text">
<span class="adf-dialog-content-progress-text-percentage">
{{ percentageDone }}%
@@ -9,7 +9,7 @@
</div>
</div>
<mat-dialog-actions align="end">
<button class="adf-download-zip-dialog-button" mat-button color="primary" id="cancel-button" (click)="cancelDownload()">
<button class="adf-download-zip-dialog-button" mat-button id="cancel-button" (click)="cancelDownload()">
{{ 'CORE.DIALOG.DOWNLOAD_ZIP.ACTIONS.CANCEL' | translate }}
</button>
</mat-dialog-actions>
@@ -1,5 +1,3 @@
@use '../../mat-selectors.scss' as ms;
.adf-folder-dialog {
.adf-folder-dialog-content {
padding: 0;
@@ -27,15 +25,7 @@
text-transform: uppercase;
}
.adf-dialog-action-button:enabled {
color: var(--theme-primary-color);
}
.adf-dialog-action-button:disabled > span {
color: var(--adf-theme-foreground-text-color-064);
}
@media screen and (width <= 380px) {
@media screen and (width <=380px) {
.adf-folder-dialog-title {
margin: 0;
}
@@ -68,7 +68,6 @@
>
@for (option of visibilityOptions; track option.value) {
<mat-radio-button
color="primary"
class="adf-library-dialog-radio-group-button"
[disabled]="option.disabled"
[attr.data-automation-id]="option.value"
@@ -88,7 +87,6 @@
</button>
<button
color="primary"
class="adf-action-button"
mat-button
(click)="submit()"
@@ -3,7 +3,7 @@
.adf-document-list {
min-height: 0;
height: 100%;
background-color: var(--theme-background-color);
background-color: var(--mat-sys-surface);
}
.adf-sticky-document-list {
@@ -13,7 +13,7 @@
.adf-datatable-card {
.adf-datatable-selected > svg {
fill: var(--theme-accent-color);
fill: var(--mat-sys-primary);
width: 30px;
height: 30px;
position: absolute;
@@ -26,7 +26,7 @@
display: inline-table;
& > svg {
fill: var(--theme-accent-color);
fill: var(--mat-sys-primary);
width: 30px;
height: 30px;
}
@@ -55,37 +55,26 @@
}
&--text {
color: var(--adf-theme-foreground-text-color);
font-size: var(--theme-subheading-2-font-size);
color: var(--mat-sys-on-surface);
font-size: var(--mat-sys-title-small-size);
}
}
.adf-document-list__this-space-is-empty {
height: 32px;
opacity: 0.26;
font-size: var(--theme-headline-font-size);
line-height: 1.33;
letter-spacing: -1px;
color: var(--adf-theme-foreground-text-color);
font: var(--mat-sys-display-medium);
}
.adf-document-list__drag-drop {
height: 56px;
opacity: 0.54;
font-size: 56px;
line-height: 1;
letter-spacing: -2px;
color: var(--adf-theme-foreground-text-color);
font: var(--mat-sys-display-medium);
margin-top: 40px;
}
.adf-document-list__any-files-here-to-add {
height: 24px;
opacity: 0.54;
font-size: var(--theme-subheading-2-font-size);
line-height: 1.5;
letter-spacing: -0.4px;
color: var(--adf-theme-foreground-text-color);
font: var(--mat-sys-title-medium);
color: var(--mat-sys-on-surface);
margin-top: 17px;
}
@@ -109,15 +98,11 @@
.adf-empty-list-header {
height: 32px;
opacity: 0.26;
font-size: var(--theme-headline-font-size);
line-height: 1.33;
letter-spacing: -1px;
color: var(--adf-theme-foreground-text-color);
font: var(--mat-sys-display-medium);
}
.adf-documentlist-pagination {
color: var(--adf-theme-foreground-text-color);
color: var(--mat-sys-on-surface);
.adf-pagination__block {
border-right: none;
@@ -127,33 +112,24 @@
.adf-empty-folder {
&-this-space-is-empty {
height: 32px;
font-size: var(--theme-headline-font-size);
line-height: 1.33;
letter-spacing: -1px;
color: var(--adf-theme-foreground-text-color-064);
font: var(--mat-sys-display-medium);
}
&-drag-drop {
min-height: 56px;
font-size: 53px;
line-height: 1;
letter-spacing: -2px;
color: var(--adf-theme-foreground-text-color);
font: var(--mat-sys-display-medium);
margin-top: 40px;
word-break: break-all;
white-space: pre-line;
@include flex.layout-bp(lt-sm) {
font-size: 48px;
font: var(--mat-sys-display-small);
}
}
&-any-files-here-to-add {
min-height: 24px;
font-size: var(--theme-subheading-2-font-size);
line-height: 1.5;
letter-spacing: -0.4px;
color: var(--adf-theme-foreground-text-color);
font: var(--mat-sys-title-medium);
margin-top: 17px;
word-break: break-all;
white-space: pre-line;
@@ -16,7 +16,6 @@
mat-button
mat-dialog-close
id="downloadButton"
color="primary"
[attr.aria-label]="'ADF-DOCUMENT-LIST.FILE_AUTO_DOWNLOAD_DIALOG.ACTIONS.DOWNLOAD' | translate"
[adfNodeDownload]="node">
{{ 'ADF-DOCUMENT-LIST.FILE_AUTO_DOWNLOAD_DIALOG.ACTIONS.DOWNLOAD' | translate }}
@@ -30,6 +30,6 @@
</div>
</section>
<div class="adf-new-version-uploader-dialog-actions" mat-dialog-actions>
<button mat-button color="primary" [mat-dialog-close]="true">{{ 'ADF-NEW-VERSION-UPLOADER.DIALOG_LIST.CLOSE' | translate }}</button>
<button mat-button [mat-dialog-close]="true">{{ 'ADF-NEW-VERSION-UPLOADER.DIALOG_LIST.CLOSE' | translate }}</button>
</div>
</ng-container>
@@ -11,14 +11,8 @@
.adf-new-version-uploader-dialog-title {
flex: 0 0 auto;
font-size: 20px;
font-weight: 600;
font-style: normal;
font-stretch: normal;
line-height: 1.6;
font: var(--mat-sys-title-medium);
margin: 0;
letter-spacing: -0.5px;
color: var(--adf-theme-foreground-text-color-087);
}
section.adf-new-version-uploader-dialog-content {
@@ -34,12 +28,11 @@
padding: 8px 8px 24px 8px;
display: flex;
justify-content: flex-end;
color: var(--adf-theme-foreground-text-color-064);
color: var(--mat-sys-on-secondary-container);
-webkit-font-smoothing: antialiased;
button {
text-transform: uppercase;
font-weight: normal;
}
}
@@ -1,23 +1,10 @@
@use '../../../mat-selectors.scss' as ms;
#{ms.$mdc-dialog} {
#{ms.$mat-dialog-surface}:is(div) {
padding-bottom: 0;
}
}
.adf-add-permission-dialog {
.adf-add-permission-dialog-title {
margin-bottom: 28px;
margin-left: 20px;
margin-right: 20px;
font-size: var(--theme-title-font-size);
font-weight: 600;
font-style: normal;
font-stretch: normal;
line-height: 1.6;
letter-spacing: -0.5px;
color: var(--adf-theme-foreground-text-color-087);
font: var(--mat-sys-title-medium);
color: var(--mat-sys-on-surface);
}
.adf-add-permission-dialog-content {
@@ -30,17 +17,6 @@
&-search-user-button {
width: 100%;
justify-content: unset;
#{ms.$mat-button-label} {
padding-right: 0;
}
#{ms.$mat-icon} {
font-size: 24px;
width: 24px;
height: 24px;
margin-left: 0;
}
}
&-add-member-action {
@@ -59,23 +35,22 @@
.adf-add-permission-dialog-actions {
padding: 0 24px;
background-color: var(--theme-background-color);
background-color: var(--mat-sys-surface);
display: flex;
justify-content: flex-end;
color: var(--adf-theme-foreground-text-color);
color: var(--mat-sys-on-surface);
button {
text-transform: uppercase;
font-weight: normal;
}
.adf-choose-action {
&[disabled] {
color: var(--adf-theme-foreground-secondary-text-color);
color: var(--mat-sys-on-surface-variant);
}
&:enabled {
color: var(--theme-primary-color);
color: var(--mat-sys-primary);
}
}
}
@@ -1,5 +1,3 @@
@use '../../../mat-selectors.scss' as ms;
$search-result-height: calc(100% - 60px);
.adf {
@@ -7,11 +5,7 @@ $search-result-height: calc(100% - 60px);
display: flex;
height: $search-result-height;
overflow: auto;
border: 2px solid var(--adf-theme-foreground-text-color-007);
#{ms.$mat-list-item-end} {
display: none;
}
border: 2px solid var(--mat-sys-outline-variant);
&-elements {
width: 100%;
@@ -38,7 +32,7 @@ $search-result-height: calc(100% - 60px);
justify-content: space-around;
height: $search-result-height;
overflow: auto;
border: 2px solid var(--adf-theme-foreground-text-color-007);
border: 2px solid var(--mat-sys-outline-variant);
}
&-permission-no-result {
@@ -62,7 +56,7 @@ $search-result-height: calc(100% - 60px);
}
&:enabled {
color: var(--theme-primary-color);
color: var(--mat-sys-primary);
}
}
}
@@ -1,11 +0,0 @@
.adf {
&-permission-action {
&[disabled] {
opacity: 0.6;
}
&:enabled {
color: var(--theme-primary-color);
}
}
}
@@ -30,7 +30,6 @@ import { TranslatePipe } from '@ngx-translate/core';
selector: 'adf-add-permission',
imports: [CommonModule, AddPermissionPanelComponent, MatButtonModule, TranslatePipe],
templateUrl: './add-permission.component.html',
styleUrls: ['./add-permission.component.scss'],
encapsulation: ViewEncapsulation.None
})
/*
@@ -5,7 +5,7 @@
<ng-container *ngIf="permissionList.error$ | async">
<div class="adf-no-permission__template" id="adf-permission-manager-error">
<mat-icon color="warn" adf-icon="error" />
<mat-icon>error</mat-icon>
<p class="adf-no-permission__template--text">{{ 'PERMISSION_MANAGER.ERROR.NOT-FOUND'| translate }}</p>
</div>
</ng-container>
@@ -25,7 +25,6 @@
*ngIf="updatePermissionsAllowed"
class="adf-inherit-toggle"
title="{{'PERMISSION_MANAGER.LABELS.INHERITED_PERMISSION_TOGGLE' | translate }}"
color="primary"
aria-label="{{'PERMISSION_MANAGER.LABELS.INHERITED_PERMISSION_TOGGLE' | translate}}"
data-automation-id="adf-inherit-toggle-button"
[checked]="model.node.permissions.isInheritanceEnabled"
@@ -21,13 +21,10 @@
justify-content: space-between;
align-items: center;
padding: 10px 15px;
border: 1px solid var(--adf-theme-foreground-text-color-007);
border: 1px solid var(--mat-sys-outline-variant);
.adf-permission-visibility-toggle {
.adf-permission-visibility-toggle-icon {
font-size: 24px;
height: 24px;
width: 24px;
margin: 1px 0 0 4px;
}
}
@@ -108,6 +105,6 @@
.adf-pop-over-card {
width: 100%;
overflow: hidden;
box-shadow: 0 8px 9px -5px var(--adf-theme-foreground-divider-color), 0 15px 22px 2px var(--adf-theme-foreground-divider-color);
box-shadow: var(--mat-sys-level2);
}
}
@@ -1,27 +1,22 @@
.adf-cell-value {
.adf-people-initial {
background: var(--theme-primary-color);
background: var(--mat-sys-primary);
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
width: 40px;
height: 40px;
color: var(--theme-primary-color-default-contrast);
font-weight: bolder;
font-size: var(--theme-adf-picture-1-font-size);
color: var(--mat-sys-on-primary);
font: var(--mat-sys-body-small);
text-transform: uppercase;
}
.adf-group-icon {
height: 20px;
width: 20px;
background: var(--theme-primary-color);
background: var(--mat-sys-primary);
border-radius: 50%;
padding: 10px;
color: var(--theme-primary-color-default-contrast);
font-weight: bolder;
font-size: var(--theme-title-font-size);
color: var(--mat-sys-on-primary);
}
.adf-datatable-selected {
@@ -35,7 +30,7 @@
margin: 0;
svg {
fill: var(--theme-accent-color);
fill: var(--mat-sys-secondary);
width: 40px;
height: 40px;
}
@@ -1,13 +1,9 @@
.adf-user {
&-name-column {
font-weight: 600;
font-size: var(--theme-body-1-font-size);
font: var(--mat-sys-body-medium);
}
&-email-column {
font-size: var(--theme-body-1-font-size);
letter-spacing: -0.2px;
line-height: 1.43;
color: var(--adf-theme-foreground-text-color);
font: var(--mat-sys-body-medium);
}
}
@@ -14,7 +14,7 @@
</fieldset>
<div class="adf-facet-buttons" *ngIf="options.fitsPage && !settings?.hideDefaultAction">
<button mat-button color="primary" (click)="clear()">
<button mat-button (click)="clear()">
{{ 'SEARCH.FILTER.ACTIONS.CLEAR-ALL' | translate }}
</button>
</div>
@@ -10,26 +10,14 @@ adf-search-chip-autocomplete-input {
margin-top: 4px;
}
#{ms.$mat-form-text-field-infix} {
border: none;
}
.adf-chip-list#{ms.$mat-form-field} {
#{ms.$mat-form-field-infix} {
padding-top: 14px;
padding-bottom: 14px;
min-height: unset;
}
}
.adf-search-properties-file-input {
margin-left: 3px;
}
.adf-autocomplete-added-option-chips.adf-option-chips {
border: 1px solid var(--theme-text-color);
border: 1px solid var(--mat-sys-on-surface);
border-radius: 10px;
background-color: var(--theme-primary-color-default-contrast);
background-color: var(--mat-sys-on-primary);
height: auto;
word-break: break-word;
padding: 4px 0;
@@ -43,19 +31,19 @@ adf-search-chip-autocomplete-input {
}
.adf-option-chips-delete-button.adf-autocomplete-added-option-chips-delete-button {
font-size: 13px;
height: 13px;
width: 13px;
font: var(--mat-sys-body-small);
height: var(--mat-sys-body-small-size);
width: var(--mat-sys-body-small-size);
.adf-option-chips-delete-icon.adf-autocomplete-added-option-chips-delete-icon {
font-size: 13px;
height: 13px;
width: 13px;
font: var(--mat-sys-body-small);
height: var(--mat-sys-body-small-size);
width: var(--mat-sys-body-small-size);
}
}
}
.adf-search-chip-autocomplete-added-option.adf-autocomplete-added-option {
background: var(--adf-theme-mat-grey-color-a200);
color: var(--adf-theme-primary-300);
background: var(--mat-sys-surface-variant);
color: var(--mat-sys-primary);
}
@@ -2,7 +2,6 @@
<ng-container *ngIf="facetFiltersService.selectedBuckets.length">
<mat-chip-option *ngIf="clearAll && facetFiltersService.selectedBuckets.length > 1"
data-automation-id="reset-filter"
color="primary"
selected
class="adf-search-chip-list-item"
title="{{ 'SEARCH.FILTER.BUTTONS.CLEAR-ALL.TOOLTIP' | translate }}"
@@ -1,9 +1,9 @@
.adf-search-chip-list-item:focus {
color: var(--theme-accent-color-default-contrast);
background-color: var(--theme-accent-color);
color: var(--mat-sys-on-secondary);
background-color: var(--mat-sys-secondary);
.adf-search-chip-list-item-remove {
color: var(--theme-accent-color-default-contrast);
color: var(--mat-sys-on-secondary);
opacity: 1;
}
}
@@ -18,11 +18,10 @@ $mat-menu-overlay-max-width: 280px !default; // 56 * 5
max-height: 400px;
margin-left: 45px;
margin-top: -22px;
font-size: var(--theme-subheading-1-font-size);
font: var(--mat-sys-body-large);
z-index: 5;
color: var(--adf-theme-foreground-text-color);
background-color: var(--adf-theme-background-card-color);
border-radius: 2px;
color: var(--mat-sys-on-surface);
background-color: var(--mat-sys-surface);
@include flex.layout-bp(lt-md) {
white-space: nowrap;
@@ -33,7 +32,7 @@ $mat-menu-overlay-max-width: 280px !default; // 56 * 5
&-search-autocomplete-item {
&:hover {
background-color: var(--adf-theme-background-hover-color);
background-color: var(--mat-sys-surface-container);
opacity: 1;
}
}
@@ -10,7 +10,7 @@
(dateChange)="onChangedHandler($event, from)"
data-automation-id="datetime-range-from-input">
<mat-datetimepicker-toggle matSuffix [for]="fromDatetimePicker" data-automation-id="datetime-range-from-date-toggle" />
<mat-datetimepicker #fromDatetimePicker color="accent" type="datetime" />
<mat-datetimepicker #fromDatetimePicker type="datetime" />
<mat-error *ngIf="from.invalid" data-automation-id="datetime-range-from-error">
{{ getFromValidationMessage() | translate: { requiredFormat: datetimePickerFormat } }}
</mat-error>
@@ -28,7 +28,7 @@
(dateChange)="onChangedHandler($event, to)"
data-automation-id="datetime-range-to-input">
<mat-datetimepicker-toggle matSuffix [for]="toDatetimePicker" data-automation-id="datetime-range-to-date-toggle" />
<mat-datetimepicker #toDatetimePicker color="accent" type="datetime" />
<mat-datetimepicker #toDatetimePicker type="datetime" />
<mat-error *ngIf="to.invalid" data-automation-id="datetime-range-to-error">
{{ getToValidationMessage() | translate: { requiredFormat: datetimePickerFormat } }}
</mat-error>
@@ -39,7 +39,7 @@
</div>
<div class="adf-facet-buttons" *ngIf="field.buckets.fitsPage && !field.settings?.hideDefaultAction">
<button *ngIf="canResetSelectedBuckets(field)" mat-button color="primary" (click)="resetSelectedBuckets(field)">
<button *ngIf="canResetSelectedBuckets(field)" mat-button (click)="resetSelectedBuckets(field)">
{{ 'SEARCH.FILTER.ACTIONS.CLEAR-ALL' | translate }}
</button>
</div>
@@ -33,6 +33,6 @@
}
.adf-facet-label {
color: var(--adf-theme-foreground-text-color-064);
color: var(--mat-sys-on-secondary-container);
}
}
@@ -8,10 +8,10 @@
(optionsChanged)="onOptionsChange($event)" />
<div class="adf-facet-buttons" *ngIf="!settings?.hideDefaultAction">
<button mat-button color="primary" data-automation-id="adf-search-chip-autocomplete-btn-clear" (click)="reset()">
<button mat-button data-automation-id="adf-search-chip-autocomplete-btn-clear" (click)="reset()">
{{ 'SEARCH.FILTER.ACTIONS.CLEAR' | translate }}
</button>
<button mat-button color="primary" data-automation-id="adf-search-chip-autocomplete-btn-apply" (click)="submitValues()">
<button mat-button data-automation-id="adf-search-chip-autocomplete-btn-apply" (click)="submitValues()">
{{ 'SEARCH.FILTER.ACTIONS.APPLY' | translate }}
</button>
</div>
@@ -40,7 +40,7 @@
<button mat-button class="adf-search-action-button" (click)="onRemove()" id="cancel-filter-button">
{{ 'SEARCH.FILTER.BUTTONS.CLEAR' | translate }}
</button>
<button mat-flat-button class="adf-search-action-button" color="primary" (click)="onApply()" id="apply-filter-button">
<button mat-flat-button class="adf-search-action-button" (click)="onApply()" id="apply-filter-button">
{{ 'SEARCH.FILTER.BUTTONS.APPLY' | translate }}
</button>
</ng-container>
@@ -41,7 +41,7 @@
<button mat-button class="adf-search-action-button" (click)="onRemove()" id="cancel-filter-button">
{{ 'SEARCH.FILTER.BUTTONS.CLEAR' | translate }}
</button>
<button mat-flat-button class="adf-search-action-button" color="primary" (click)="onApply()" id="apply-filter-button">
<button mat-flat-button class="adf-search-action-button" (click)="onApply()" id="apply-filter-button">
{{ 'SEARCH.FILTER.BUTTONS.APPLY' | translate }}
</button>
</ng-container>
@@ -1,5 +1,4 @@
@use '@angular/material' as mat;
@use '../../../mat-selectors.scss' as ms;
.adf-search-filter-chip,
.adf-search-filter-chip-tabbed {
@@ -7,21 +6,22 @@
max-width: 320px;
text-overflow: ellipsis;
overflow: hidden;
background: var(--adf-theme-background-unselected-chip-color);
background: var(--mat-sys-surface-variant);
&.adf-search-toggle-chip {
background: var(--adf-theme-background-card-color);
border: 2px solid var(--theme-primary-color);
background: var(--mat-sys-surface);
border: 2px solid var(--mat-sys-primary);
}
.adf-search-filter-placeholder {
flex: 1 1 auto;
white-space: nowrap;
color: var(--adf-theme-foreground-disabled-text-color);
opacity: 0.38;
color: var(--mat-sys-on-surface);
}
&.adf-search-filter-facet-chip::after {
background: var(--adf-theme-background-unselected-chip-color);
background: var(--mat-sys-surface-variant);
color: unset;
}
@@ -29,11 +29,10 @@
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-weight: 300;
}
.adf-filter-value {
font-weight: 500;
font: var(--mat-sys-body-medium);
}
.adf-search-filter-chip-icon {
@@ -47,16 +46,3 @@
@include mat.elevation(2);
}
}
.adf-search-filter-chip#{ms.$mat-evolution-chip}#{ms.$mat-standard-chip} {
margin-top: 0;
margin-bottom: 0;
}
#{ms.$mat-standard-chip} {
-webkit-font-smoothing: unset;
}
#{ms.$mat-evolution-chip-set} {
margin-top: -4px;
}
@@ -1,21 +1,13 @@
.adf-search-filter-menu-card {
color: var(--adf-theme-foreground-text-color);
background: var(--adf-theme-background-card-color);
.adf-search-filter-title {
display: flex;
justify-content: space-between;
color: var(--adf-theme-foreground-text-color-064);
align-items: center;
padding: 16px 12px;
height: 32px;
font-size: var(--theme-body-1-font-size);
letter-spacing: 0.15px;
font-weight: bold;
font-style: inherit;
font: var(--mat-sys-body-medium);
&-action {
color: var(--adf-theme-foreground-text-color-087);
float: right;
}
}
@@ -66,7 +66,7 @@
<button mat-button class="adf-search-action-button" (click)="onRemove()" id="cancel-filter-button">
{{ 'SEARCH.FILTER.BUTTONS.CLEAR' | translate }}
</button>
<button mat-flat-button class="adf-search-action-button" color="primary" (click)="onApply()" id="apply-filter-button">
<button mat-flat-button class="adf-search-action-button" (click)="onApply()" id="apply-filter-button">
{{ 'SEARCH.FILTER.BUTTONS.APPLY' | translate }}
</button>
</ng-container>
@@ -51,7 +51,6 @@
</button>
<button
mat-button
color="primary"
id="apply-filter-button"
class="adf-filter-apply-button"
[attr.aria-label]="'SEARCH.SEARCH_HEADER.APPLY' | translate"
@@ -1,5 +1,4 @@
@use '@angular/material' as mat;
@use '../../../mat-selectors.scss' as ms;
.adf-filter {
&-button:has(.adf-filter-icon) {
@@ -7,11 +6,10 @@
}
&-icon {
opacity: 1;
color: var(--adf-theme-foreground-icon-color);
color: var(--mat-sys-on-surface);
&-active {
color: var(--theme-primary-color);
color: var(--mat-sys-primary);
}
}
@@ -25,8 +23,8 @@
&-container {
display: flex;
flex-direction: column;
padding: 0;
color: var(--adf-theme-foreground-text-color-087);
padding: 15.5px 15px 10px;
color: var(--mat-sys-on-surface);
.adf-facet-buttons {
display: none;
@@ -35,16 +33,11 @@
.adf-search-check-list {
padding: 5px 0;
}
input {
background: 2px solid var(--adf-theme-background-card-color);
}
}
&-title {
font-size: 1.1em;
font: var(--mat-sys-body-medium);
padding: 16px 0 0 16px;
color: var(--adf-theme-foreground-text-color-087);
-webkit-font-smoothing: subpixel-antialiased;
float: none;
width: 100%;
@@ -68,19 +61,13 @@
display: flex;
justify-content: flex-end;
padding: 15px;
background-color: var(--adf-theme-background-hover-color);
background-color: var(--mat-sys-surface-container);
> button {
font-size: 0.9em;
height: 36px;
width: auto;
padding-left: 16px;
padding-right: 16px;
-webkit-font-smoothing: subpixel-antialiased;
#{ms.$mat-button-label} {
font-weight: unset;
}
}
}
}
@@ -6,11 +6,7 @@ adf-search-filter-tabbed {
}
.adf-search-tab-label-active {
border-bottom: 1px solid var(--theme-primary-color);
#{ms.$mat-tab-label-text} {
color: var(--adf-theme-foreground-secondary-text-color);
}
border-bottom: 1px solid var(--mat-sys-primary);
}
// The important tag is used here as a workaround for a bug in angular material, when MatTabs are used in conjunction with MatMenu
@@ -10,7 +10,7 @@
<button mat-button class="adf-search-action-button" (click)="clear()" id="clear-filter-button">
{{ 'SEARCH.FILTER.BUTTONS.CLEAR' | translate }}
</button>
<button mat-flat-button class="adf-search-action-button" color="primary" (click)="apply()" id="apply-filter-button">
<button mat-flat-button class="adf-search-action-button" (click)="apply()" id="apply-filter-button">
{{ 'SEARCH.FILTER.BUTTONS.APPLY' | translate }}
</button>
</div>
@@ -2,7 +2,6 @@
<button *ngIf="displayResetButton && facetFiltersService.responseFacets"
mat-button
color="primary"
title="{{ 'SEARCH.FILTER.BUTTONS.RESET-ALL.TOOLTIP' | translate }}"
adf-reset-search>
{{ 'SEARCH.FILTER.BUTTONS.RESET-ALL.LABEL' | translate }}
@@ -1,10 +1,10 @@
.adf-search-filter {
.adf-search-filter-header-title {
font-size: var(--theme-body-1-font-size);
color: var(--adf-theme-foreground-text-color-087);
font: var(--mat-sys-body-medium);
color: var(--mat-sys-on-secondary-container);
}
.adf-search-check-list-label {
color: var(--adf-theme-foreground-text-color-064);
color: var(--mat-sys-on-secondary-container);
}
}
@@ -1,5 +1,4 @@
@use '@angular/material' as mat;
@use '../../../mat-selectors.scss' as ms;
.adf-search-form {
&.adf-search-form-button {
@@ -20,25 +19,21 @@
&-title {
max-width: 120px;
min-width: 120px;
font-size: var(--theme-body-1-font-size);
line-height: 24px;
font: var(--mat-sys-body-medium);
padding-right: 12px;
text-overflow: ellipsis;
overflow: hidden;
text-align: left;
}
.adf-search-form-icon#{ms.$mat-icon} {
font-size: 24px;
height: 24px;
width: 24px;
.adf-search-form-icon {
border: 2px solid transparent;
border-radius: 6px;
transition: border 500ms ease-out;
}
&-icon-selected {
border-color: var(--theme-accent-color);
border-color: var(--mat-sys-secondary);
}
}
@@ -7,15 +7,5 @@
&:last-child {
padding: 0;
}
input {
height: 25px;
border: 1px solid var(--adf-theme-mat-grey-color-a400);
border-radius: 5px;
margin-top: 5px;
padding: 5px;
font-size: 14px;
color: var(--adf-theme-foreground-text-color);
}
}
}
@@ -30,10 +30,10 @@
<div class="adf-facet-buttons" *ngIf="!settings?.hideDefaultAction">
<button mat-button color="primary" type="button" (click)="clear()" data-automation-id="number-range-btn-clear">
<button mat-button type="button" (click)="clear()" data-automation-id="number-range-btn-clear">
{{ 'SEARCH.FILTER.ACTIONS.CLEAR' | translate }}
</button>
<button mat-button color="primary" type="submit" [disabled]="!form.valid" data-automation-id="number-range-btn-apply">
<button mat-button type="submit" [disabled]="!form.valid" data-automation-id="number-range-btn-apply">
{{ 'SEARCH.FILTER.ACTIONS.APPLY' | translate }}
</button>
</div>
@@ -9,7 +9,7 @@
</mat-slider>
<div class="adf-facet-buttons" *ngIf="!settings?.hideDefaultAction">
<button mat-button color="primary" (click)="clear()" data-automation-id="slider-btn-clear">
<button mat-button (click)="clear()" data-automation-id="slider-btn-clear">
{{ 'SEARCH.FILTER.ACTIONS.CLEAR' | translate }}
</button>
</div>
@@ -29,7 +29,7 @@
</mat-form-field>
</td>
<td>
<button id="add-tag" class="adf-full-width" color="primary" (click)="addTag()" [disabled]="disableAddTag" mat-raised-button>
<button id="add-tag" class="adf-full-width" (click)="addTag()" [disabled]="disableAddTag" mat-raised-button>
{{ 'TAG.BUTTON.ADD' | translate }}
</button>
</td>
@@ -9,7 +9,7 @@
}
.adf-tag-actions-delete-text {
font-size: var(--theme-subheading-2-font-size);
font-size: var(--mat-sys-title-small-size);
float: left;
}
@@ -10,11 +10,11 @@
.adf-list-tag {
display: block;
font-size: var(--theme-subheading-2-font-size);
font-size: var(--mat-sys-title-small-size);
.adf-tag-list-chip {
color: var(--theme-primary-color-default-contrast);
background-color: var(--theme-primary-color);
color: var(--mat-sys-on-primary);
background-color: var(--mat-sys-primary);
}
}
}
@@ -1,5 +1,3 @@
@use '../../mat-selectors.scss' as ms;
adf-tags-creator {
display: block;
@@ -20,7 +18,7 @@ adf-tags-creator {
}
.adf-create-tag-label {
color: var(--theme-primary-color);
color: var(--mat-sys-primary);
cursor: pointer;
margin-top: -1px;
padding-left: 12px;
@@ -45,7 +43,7 @@ adf-tags-creator {
.adf-existing-tags-label {
font-size: 10px;
color: var(--theme-secondary-text-color);
color: var(--mat-sys-on-surface-variant);
padding-left: 12px;
margin-bottom: 2px;
}
@@ -66,11 +64,6 @@ adf-tags-creator {
background-color: inherit;
color: inherit;
&:not(#{ms.$mat-list-item-disabled}):hover {
cursor: pointer;
background: var(--adf-theme-mat-grey-color-a200);
}
& span {
padding: 0;
}
@@ -81,10 +74,6 @@ adf-tags-creator {
overflow: unset;
min-height: 62px;
}
#{ms.$mat-list-item-disabled} #{ms.$mat-list-item-primary-text} {
opacity: 1;
}
}
}
@@ -98,6 +87,7 @@ adf-tags-creator {
word-break: break-all;
}
}
/* stylelint-enable selector-class-pattern */
[hidden] {
@@ -1,11 +1,11 @@
.adf {
&-tree-view-icon {
color: #d9e022;
color: var(--mat-sys-primary);
}
&-tree-view-node.adf-tree-view {
min-height: 40px;
font-size: var(--theme-caption-font-size);
font-size: var(--mat-sys-body-small-size);
align-items: baseline;
}
@@ -19,8 +19,7 @@
<div class="adf-tree-expand-collapse-container">
<button class="adf-tree-load-more-button" mat-icon-button (click)="loadMoreSubnodes(node)">
<mat-progress-spinner
color="primary"
mode="indeterminate"
mode="indeterminate"
[diameter]="24"
*ngIf="node.isLoading; else loadMoreIcon"
/>
@@ -57,8 +56,7 @@
mat-icon-button
>
<mat-progress-spinner
color="primary"
mode="indeterminate"
mode="indeterminate"
[diameter]="24"
*ngIf="node.isLoading; else expandCollapseIcon"
/>
@@ -69,16 +67,14 @@
</div>
<ng-container *ngIf="selectableNodes">
<mat-checkbox *ngIf="node.hasChildren; else noChildrenNodeCheckbox"
color="primary"
[id]="node.id"
[id]="node.id"
[checked]="descendantsAllSelected(node)"
[indeterminate]="descendantsPartiallySelected(node)"
(change)="onNodeSelected(node)"
data-automation-id="has-children-node-checkbox" />
<ng-template #noChildrenNodeCheckbox>
<mat-checkbox
color="primary"
[id]="node.id"
[id]="node.id"
[checked]="treeNodesSelection.isSelected(node)"
(change)="onNodeSelected(node)"
data-automation-id="no-children-node-checkbox" />
@@ -128,7 +124,6 @@
<ng-template #loadingSpinner>
<div class="adf-tree-loading-spinner-container">
<mat-progress-spinner
color="primary"
mode="indeterminate" />
</div>
</ng-template>
@@ -24,7 +24,7 @@ $tree-header-font-size: 12px !default;
padding-left: 15px;
padding-right: 15px;
transition-property: background-color;
border-bottom: 1px solid var(--adf-theme-foreground-text-color-007);
border-bottom: 1px solid var(--mat-sys-outline-variant);
min-height: $tree-row-height;
user-select: none;
@@ -33,7 +33,7 @@ $tree-header-font-size: 12px !default;
}
&:hover {
background-color: var(--adf-theme-background-hover-color);
background-color: var(--mat-sys-surface-container);
.adf-tree-actions {
display: flex;
@@ -41,9 +41,9 @@ $tree-header-font-size: 12px !default;
}
&:focus {
background-color: var(--adf-theme-background-hover-color);
background-color: var(--mat-sys-surface-container);
outline-offset: -1px;
outline: 1px solid var(--theme-accent-color-a200);
outline: 1px solid var(--mat-sys-secondary);
}
.adf-tree-expand-collapse-button,
@@ -55,7 +55,7 @@ $tree-header-font-size: 12px !default;
}
.adf-tree-cell {
color: var(--adf-theme-foreground-text-color);
color: var(--mat-sys-on-surface);
width: 100%;
.adf-tree-cell-value {
@@ -82,13 +82,13 @@ $tree-header-font-size: 12px !default;
letter-spacing: 0;
min-height: $tree-row-height;
font-size: $tree-header-font-size;
color: var(--adf-theme-foreground-text-color);
color: var(--mat-sys-on-surface);
box-sizing: border-box;
padding-top: 12px;
&:focus {
outline-offset: -1px;
outline: 1px solid var(--theme-accent-color-a200);
outline: 1px solid var(--mat-sys-primary);
}
}
}
@@ -79,7 +79,6 @@
<button
id="adf-upload-dialog-cancel-all"
[attr.aria-label]="'ADF_FILE_UPLOAD.ARIA-LABEL.STOP_ALL' | translate"
color="primary"
mat-button
(click)="toggleConfirmation()"
>{{ 'ADF_FILE_UPLOAD.BUTTON.STOP_ALL' | translate }}</button>
@@ -89,7 +88,6 @@
id="adf-upload-dialog-close"
[attr.aria-label]="'ADF_FILE_UPLOAD.ARIA-LABEL.DIALOG_CLOSE' | translate"
mat-button
color="primary"
(click)="close()"
>{{ 'ADF_FILE_UPLOAD.BUTTON.CLOSE' | translate }}</button>
}
@@ -108,7 +106,6 @@
id="adf-upload-dialog-confirm"
[attr.aria-label]="'ADF_FILE_UPLOAD.ARIA-LABEL.CONFIRMATION.CONTINUE' | translate"
mat-button
color="primary"
(click)="toggleConfirmation()"
>{{ 'ADF_FILE_UPLOAD.CONFIRMATION.BUTTON.CONTINUE' | translate }}</button>
</footer>
@@ -1,7 +1,6 @@
/* stylelint-disable no-descending-specificity */
.adf-upload-dialog {
background: var(--adf-theme-background-dialog-color);
color: var(--adf-theme-foreground-text-color-064);
background: var(--mat-sys-surface-container-high);
position: fixed;
bottom: 20px;
width: 40%;
@@ -35,8 +34,6 @@
height: 24px;
width: 24px;
padding: 0;
line-height: 0;
color: var(--adf-theme-foreground-text-color-064);
}
}
@@ -52,8 +49,8 @@
&__content {
overflow: auto;
max-height: 194px;
border-top: 1px solid var(--adf-theme-foreground-text-color-014);
border-bottom: 1px solid var(--adf-theme-foreground-text-color-014);
border-top: 1px solid var(--mat-sys-outline-variant);
border-bottom: 1px solid var(--mat-sys-outline-variant);
}
&__confirmation {
@@ -61,10 +58,7 @@
}
&__confirmation--title {
font-size: var(--theme-subheading-2-font-size);
line-height: 1.5;
letter-spacing: -0.4px;
color: var(--adf-theme-foreground-text-color-087);
font: var(--mat-sys-title-small-size);
}
&__confirmation--text {
@@ -93,7 +87,7 @@
right: 25px;
}
@media screen and (width >= 380px) and (width <= 768px) {
@media screen and (width >=380px) and (width <=768px) {
.adf-upload-dialog {
width: 60%;
}
@@ -103,7 +97,7 @@
}
}
@media screen and (width <= 380px) {
@media screen and (width <=380px) {
.adf-upload-dialog {
width: 85%;
}
@@ -13,7 +13,7 @@
@if (isUploadVersion()) {
<span class="adf-file-uploading-row__version" tabindex="0" >
<mat-chip color="primary"
<mat-chip
[attr.aria-label]="'ADF_FILE_UPLOAD.ARIA-LABEL.VERSION' | translate: { version: versionNumber }"
[title]="'version' + versionNumber"
>{{ versionNumber }}</mat-chip>
@@ -1,8 +1,6 @@
$file-uploading-row-hover-color: #eee !default;
adf-file-uploading-list-row:not(:first-child) {
display: block;
border-top: 1px solid var(--adf-theme-foreground-text-color-014);
border-top: 1px solid var(--mat-sys-outline-variant);
}
.adf-file-uploading-row {
@@ -12,7 +10,7 @@ adf-file-uploading-list-row:not(:first-child) {
cursor: default;
&:hover {
background: $file-uploading-row-hover-color;
background: var(--mat-sys-surface);
}
&__name {
@@ -29,8 +27,7 @@ adf-file-uploading-list-row:not(:first-child) {
min-width: 100px;
display: flex;
justify-content: flex-end;
line-height: 40px;
height: 40px;
font: var(--mat-sys-body-large);
align-items: center;
padding: 0 12px;
}
@@ -39,24 +36,23 @@ adf-file-uploading-list-row:not(:first-child) {
cursor: pointer;
display: flex;
align-items: center;
height: 40px;
line-height: 40px;
font: var(--mat-sys-body-large);
}
&__status--done {
color: var(--theme-accent-color);
color: var(--mat-sys-secondary);
}
&__status--error {
color: var(--theme-warn-color);
color: var(--mat-sys-error);
padding: 0 12px;
}
&__action--cancel {
color: var(--theme-warn-color);
color: var(--mat-sys-error);
}
&__action--remove {
color: var(--theme-warn-color);
color: var(--mat-sys-error);
}
}
@@ -2,9 +2,6 @@
&-upload-button-file-container {
.adf-upload-button-icon {
margin: 0;
font-size: 24px;
width: 24px;
height: 24px;
}
input {
@@ -17,18 +14,7 @@
align-items: center;
cursor: pointer;
padding: 8px 16px;
box-shadow: 0 3px 1px -2px #0003, 0 2px 2px rgba(0, 0, 0, 0.14), 0 1px 5px rgba(0, 0, 0, 0.12);
box-shadow: var(--mat-sys-level2);
border-radius: 4px;
&:active {
box-shadow: 0 5px 5px -3px #0003, 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
}
}
&-upload-button-file-container-upload-single-file[disabled] + &-upload-button-label {
background-color: var(--adf-disabled-button-background);
color: var(--adf-theme-foreground-disabled-text-color);
box-shadow: none;
cursor: default;
}
}
@@ -17,7 +17,7 @@
}
.adf-version-arrow-icon {
font-size: var(--theme-display-4-font-size);
font-size: var(--mat-sys-display-large-size);
}
.adf-version-comparison-node-name,
@@ -1,5 +1,4 @@
<mat-progress-bar *ngIf="isLoading" data-automation-id="version-history-loading-bar" mode="indeterminate"
color="accent" />
<mat-progress-bar *ngIf="isLoading" data-automation-id="version-history-loading-bar" mode="indeterminate" />
<mat-list class="adf-version-list adf-version-list-element" [hidden]="isLoading">
<cdk-virtual-scroll-viewport #viewport itemSize="88" class="adf-version-list-viewport" [minBufferPx]="440" [maxBufferPx]="528">
<mat-list-item class="adf-version-list-item"
@@ -26,12 +26,12 @@
.adf-version-list-icon {
margin: 0 16px;
color: var(--theme-sidenav-user-menu-color);
color: var(--mat-sys-on-surface);
}
&.adf-version-list-element {
.adf-version-list-item {
border-bottom: 1px solid var(--adf-theme-foreground-divider-color);
border-bottom: 1px solid var(--mat-sys-outline-variant);
width: 100%;
height: 88px;
}
@@ -50,7 +50,7 @@
width: auto;
opacity: 0.5;
@media screen and (width <= 629px) {
@media screen and (width <=629px) {
width: 97%;
}
}
@@ -22,7 +22,7 @@
<button mat-raised-button
id="adf-show-version-upload-button"
class="adf-version-manager-upload-button"
(click)="toggleNewVersion()" color="primary"
(click)="toggleNewVersion()"
*ngIf="uploadState ==='close'">{{ 'ADF_VERSION_LIST.ACTIONS.UPLOAD.ADD' | translate }}
</button>
</div>
@@ -1 +0,0 @@
/* stylelint-disable-next-line no-empty-source */
@@ -64,7 +64,6 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
selector: 'adf-alfresco-viewer',
imports: [CommonModule, TranslatePipe, MatButtonModule, IconModule, ...VIEWER_DIRECTIVES, NodeDownloadDirective],
templateUrl: './alfresco-viewer.component.html',
styleUrls: ['./alfresco-viewer.component.scss'],
host: { class: 'adf-alfresco-viewer' },
encapsulation: ViewEncapsulation.None,
providers: [ViewUtilService]