From b9f5740ba8a2d899bf073eac6e64ff3eef153ac6 Mon Sep 17 00:00:00 2001 From: nsemets Date: Mon, 16 Jun 2025 20:08:23 +0300 Subject: [PATCH 1/6] fix(common-styles): updated icon buttons --- .../auth/pages/sign-up/sign-up.component.html | 12 +++- .../collection-moderators-list.component.html | 2 +- .../contributors-list.component.html | 8 ++- .../create-view-link-dialog.component.html | 2 +- .../contributors/contributors.component.html | 2 +- .../move-file-dialog.component.html | 7 +-- .../files/project-files.component.html | 7 ++- .../linked-projects.component.html | 9 ++- .../project/settings/settings.component.html | 3 +- .../cancel-deactivation.component.html | 2 +- .../deactivation-warning.component.html | 2 +- .../configure-two-factor.component.html | 2 +- .../verify-two-factor.component.html | 2 +- .../copy-button/copy-button.component.html | 10 ++- .../copy-button/copy-button.component.scss | 13 ++-- .../view-only-table.component.html | 7 ++- .../view-only-table.component.scss | 3 +- src/assets/styles/_common.scss | 9 --- src/assets/styles/overrides/button.scss | 62 ++++++------------- 19 files changed, 76 insertions(+), 88 deletions(-) diff --git a/src/app/features/auth/pages/sign-up/sign-up.component.html b/src/app/features/auth/pages/sign-up/sign-up.component.html index 8f44b82aa..e24464c60 100644 --- a/src/app/features/auth/pages/sign-up/sign-up.component.html +++ b/src/app/features/auth/pages/sign-up/sign-up.component.html @@ -4,11 +4,17 @@

{{ 'auth.signUp.title' | translate }}

- + Orchid icon - - + +
diff --git a/src/app/features/moderation/components/collection-moderators-list/collection-moderators-list.component.html b/src/app/features/moderation/components/collection-moderators-list/collection-moderators-list.component.html index 02cb0065f..591d85b4f 100644 --- a/src/app/features/moderation/components/collection-moderators-list/collection-moderators-list.component.html +++ b/src/app/features/moderation/components/collection-moderators-list/collection-moderators-list.component.html @@ -78,7 +78,7 @@ - + diff --git a/src/app/features/project/contributors/components/contributors-list/contributors-list.component.html b/src/app/features/project/contributors/components/contributors-list/contributors-list.component.html index 60fedef2d..6fa6aee18 100644 --- a/src/app/features/project/contributors/components/contributors-list/contributors-list.component.html +++ b/src/app/features/project/contributors/components/contributors-list/contributors-list.component.html @@ -148,7 +148,13 @@

{{ 'project.contributors.curatorInfo.heading' | translate }}

- + diff --git a/src/app/features/project/contributors/components/create-view-link-dialog/create-view-link-dialog.component.html b/src/app/features/project/contributors/components/create-view-link-dialog/create-view-link-dialog.component.html index dca09e02d..135c3e6b5 100644 --- a/src/app/features/project/contributors/components/create-view-link-dialog/create-view-link-dialog.component.html +++ b/src/app/features/project/contributors/components/create-view-link-dialog/create-view-link-dialog.component.html @@ -55,7 +55,7 @@ class="w-full" styleClass="w-full" (click)="dialogRef.close()" - [text]="true" + text severity="info" [label]="'project.contributors.addDialog.cancel' | translate" > diff --git a/src/app/features/project/contributors/contributors.component.html b/src/app/features/project/contributors/contributors.component.html index 130383454..581e756be 100644 --- a/src/app/features/project/contributors/contributors.component.html +++ b/src/app/features/project/contributors/contributors.component.html @@ -75,7 +75,7 @@

{{ 'navigation.project.contributors' | tra class="w-3" styleClass="w-full" (click)="cancel()" - [text]="true" + text severity="info" [label]="'common.buttons.cancel' | translate" > diff --git a/src/app/features/project/files/components/move-file-dialog/move-file-dialog.component.html b/src/app/features/project/files/components/move-file-dialog/move-file-dialog.component.html index 010b5a3b3..dd0674e0d 100644 --- a/src/app/features/project/files/components/move-file-dialog/move-file-dialog.component.html +++ b/src/app/features/project/files/components/move-file-dialog/move-file-dialog.component.html @@ -57,12 +57,7 @@

{{ 'project.files.emptyState' | transl }
- + @if (this.config.data.action === 'move') {
diff --git a/src/app/features/project/overview/components/linked-projects/linked-projects.component.html b/src/app/features/project/overview/components/linked-projects/linked-projects.component.html index 732d95773..89b51d278 100644 --- a/src/app/features/project/overview/components/linked-projects/linked-projects.component.html +++ b/src/app/features/project/overview/components/linked-projects/linked-projects.component.html @@ -16,8 +16,13 @@

{{ linkedProject.title }}

- - + diff --git a/src/app/features/project/settings/settings.component.html b/src/app/features/project/settings/settings.component.html index 6bda0ffe7..6209cad4a 100644 --- a/src/app/features/project/settings/settings.component.html +++ b/src/app/features/project/settings/settings.component.html @@ -78,8 +78,7 @@

{{ 'myProjects.settings.projectAffiliation' | translate

{{ affiliation }}

- - + } diff --git a/src/app/features/settings/account-settings/components/deactivate-account/components/cancel-deactivation/cancel-deactivation.component.html b/src/app/features/settings/account-settings/components/deactivate-account/components/cancel-deactivation/cancel-deactivation.component.html index 239af46f3..8a8bcea7b 100644 --- a/src/app/features/settings/account-settings/components/deactivate-account/components/cancel-deactivation/cancel-deactivation.component.html +++ b/src/app/features/settings/account-settings/components/deactivate-account/components/cancel-deactivation/cancel-deactivation.component.html @@ -13,7 +13,7 @@