From 2db3d4f3815997bad821291b2d278f80fde7c74d Mon Sep 17 00:00:00 2001 From: AleksanderSklorz <115619721+AleksanderSklorz@users.noreply.github.com> Date: Mon, 20 May 2024 09:26:41 +0200 Subject: [PATCH] [ACS-7768] unify inputs and selects across the app - revert (#9699) * Revert "[ACS-7768] unify inputs and selects across the app (#9687)" This reverts commit 7cfb5ea64a0bd3b9d462b4bd18c57abd0251d9df. * ACS-7768 Little correction --- .../categories-management.component.html | 6 +- .../categories-management.component.scss | 12 ++ .../content-metadata.component.scss | 25 +++ ...content-node-selector-panel.component.html | 1 + .../content-node-share.dialog.html | 8 +- .../content-node-share.dialog.scss | 46 +++--- .../src/lib/dialogs/folder.dialog.html | 10 +- .../lib/dialogs/library/library.dialog.html | 6 +- lib/content-services/src/lib/i18n/en.json | 5 +- .../add-permission-panel.component.html | 4 +- .../permission-container.component.scss | 4 - .../user-role-column.component.ts | 5 + ...rch-chip-autocomplete-input.component.html | 4 +- ...rch-chip-autocomplete-input.component.scss | 22 ++- .../search-date-range.component.html | 17 +- .../search-date-range.component.scss | 21 ++- .../search-input/search-input.component.html | 2 +- .../search-logical-filter.component.html | 10 +- .../search-logical-filter.component.scss | 10 ++ .../search-properties.component.html | 25 ++- .../search-properties.component.scss | 111 ++++++++++++- .../search-text/search-text.component.html | 2 +- .../search-text/search-text.component.scss | 30 +++- .../sites-dropdown.component.html | 2 +- .../tags-creator/tags-creator.component.html | 6 +- .../tags-creator/tags-creator.component.scss | 8 +- .../card-view-dateitem.component.html | 57 +++---- .../card-view-dateitem.component.scss | 49 +++--- .../card-view-selectitem.component.html | 63 +++---- .../card-view-selectitem.component.scss | 23 +-- .../card-view-textitem.component.html | 1 + .../card-view-textitem.component.scss | 13 +- .../card-view/card-view.component.scss | 70 ++++++++ .../src/lib/comments/comments.component.scss | 1 - .../components/login/login.component.scss | 29 +++- .../src/lib/styles/_components-variables.scss | 7 - lib/core/src/lib/styles/_mat-selectors.scss | 11 -- .../src/lib/styles/_reference-variables.scss | 6 - lib/core/src/lib/styles/material.theme.scss | 155 ------------------ 39 files changed, 487 insertions(+), 400 deletions(-) diff --git a/lib/content-services/src/lib/category/categories-management/categories-management.component.html b/lib/content-services/src/lib/category/categories-management/categories-management.component.html index 42351c7b430..1f67b7bccc8 100644 --- a/lib/content-services/src/lib/category/categories-management/categories-management.component.html +++ b/lib/content-services/src/lib/category/categories-management/categories-management.component.html @@ -1,15 +1,15 @@
- - {{ 'CATEGORIES_MANAGEMENT.CATEGORIES_SEARCH_PLACEHOLDER' | translate }} +
{{ categoryNameErrorMessageKey | translate }} - +
diff --git a/lib/content-services/src/lib/content-node-share/content-node-share.dialog.html b/lib/content-services/src/lib/content-node-share/content-node-share.dialog.html index f9373d276b0..35775a2787f 100644 --- a/lib/content-services/src/lib/content-node-share/content-node-share.dialog.html +++ b/lib/content-services/src/lib/content-node-share/content-node-share.dialog.html @@ -31,13 +31,13 @@ [style.display]="isExpiryDateToggleChecked ? 'block' : 'none'" data-automation-id="adf-slide-toggle-checked" class="adf-share-link__date-time-container"> - + {{ 'SHARE.EXPIRATION-PLACEHOLDER' | translate }} + class="adf-share-link__icon adf-share-link__calender-icon"> - {{ 'SHARE.PUBLIC-LINK' | translate }} diff --git a/lib/content-services/src/lib/content-node-share/content-node-share.dialog.scss b/lib/content-services/src/lib/content-node-share/content-node-share.dialog.scss index 1b98fe43886..1e755c46a65 100644 --- a/lib/content-services/src/lib/content-node-share/content-node-share.dialog.scss +++ b/lib/content-services/src/lib/content-node-share/content-node-share.dialog.scss @@ -34,6 +34,15 @@ &__form { padding-top: 8px; + + #{$mat-form-field-infix}:has(.adf-share-link__input) { + border-top: 0.9375em solid transparent; + height: 16px; + } + + &--field { + padding-bottom: 16px; + } } &__public-content { @@ -55,12 +64,12 @@ margin: 8px 0; &-sharable { - margin-bottom: 14px; + margin-bottom: 0; } } &--sharable-container { - margin-bottom: 14px; + margin-bottom: 0; } &--header { @@ -107,30 +116,23 @@ font-size: 22px; } + &__calender-icon { + top: 12px; + position: relative; + right: -6px; + + svg { + height: 18px; + width: 18px; + } + } + &__date-time-container { - padding-bottom: 2px; + padding-bottom: 20px; } &__border-color { - &.adf-full-width { - &#{$mat-form-field} { - &#{$mat-form-field-label-always-float} { - &#{$mat-form-field-appearance-outline} { - #{$mat-text-field-outlined}, #{$mat-text-field-outlined}:hover { - #{$mat-notched-outline-leading}, #{$mat-notched-outline-trailing}, #{$mat-notched-outline-notch} { - border-color: var(--theme-warn-color-a700); - border-width: 2px; - } - - #{$mat-notched-outline-notch} { - border-left: none; - border-left-width: 0; - } - } - } - } - } - } + border: 1px solid var(--theme-warn-color-a700); } } diff --git a/lib/content-services/src/lib/dialogs/folder.dialog.html b/lib/content-services/src/lib/dialogs/folder.dialog.html index 7a8d44cb3ae..943cf924af5 100644 --- a/lib/content-services/src/lib/dialogs/folder.dialog.html +++ b/lib/content-services/src/lib/dialogs/folder.dialog.html @@ -4,7 +4,7 @@

- + {{ 'CORE.FOLDER_DIALOG.FOLDER_NAME.LABEL' | translate }} - + {{ 'CORE.FOLDER_DIALOG.FOLDER_NAME.ERRORS.REQUIRED' | translate }} @@ -23,10 +23,10 @@

{{ form.controls['name'].errors?.message | translate }} - + - + {{ 'CORE.FOLDER_DIALOG.FOLDER_TITLE.LABEL' | translate }} - + {{ 'CORE.FOLDER_DIALOG.FOLDER_DESCRIPTION.LABEL' | translate }}