From 55f0c5a68f5cbc3c8064b3bf71b11b63d6e2bfd8 Mon Sep 17 00:00:00 2001 From: mchouliara Date: Tue, 15 Oct 2024 16:08:27 +0300 Subject: [PATCH] UI fix button styles on listings, listing filters --- .../status-listing-filters.component.html | 12 +- .../listing/status-listing.component.html | 2 +- ...tion-status-listing-filters.component.html | 12 +- .../description-status-listing.component.html | 2 +- ...n-template-editor-field-set.component.html | 2 +- ...n-template-editor-field-set.component.scss | 13 +- ...description-template-editor.component.html | 14 +- ...escription-template-listing.component.html | 4 +- ...on-template-listing-filters.component.html | 10 +- ...iption-template-type-editor.component.html | 8 +- ...ption-template-type-listing.component.html | 2 +- ...mplate-type-listing-filters.component.html | 12 +- .../lock-listing-filters.component.html | 12 +- .../language-listing-filters.component.html | 10 +- .../listing/language-listing.component.html | 2 +- .../plan-blueprint-editor.component.html | 14 +- ...n-blueprint-listing-filters.component.html | 8 +- ...n-blueprint-listing-filters.component.scss | 1 - .../plan-blueprint-listing.component.html | 2 +- ...plan-status-listing-filters.component.html | 12 +- .../plan-status-listing.component.html | 2 +- .../prefilling-source-editor.component.html | 16 +- ...ling-source-listing-filters.component.html | 12 +- .../prefilling-source-listing.component.html | 2 +- .../reference-type-editor.component.html | 12 +- ...erence-type-listing-filters.component.html | 12 +- .../reference-type-listing.component.html | 2 +- .../editor/reference-editor.component.html | 8 +- .../reference-listing-filters.component.html | 12 +- .../listing/reference-listing.component.html | 2 +- .../tenant-listing-filters.component.html | 12 +- .../listing/tenant-listing.component.html | 2 +- .../editor/usage-limit-editor.component.html | 6 +- ...usage-limit-listing-filters.component.html | 12 +- .../usage-limit-listing.component.html | 2 +- .../user-listing-filters.component.html | 12 +- .../user/listing/user-listing.component.html | 2 +- .../field-set-title.component.scss | 4 +- .../plan-listing-item.component.scss | 4 +- .../plan/listing/plan-listing.component.scss | 4 +- .../start-new-plan-dialog.component.html | 20 +-- ...on-template-listing-filters.component.html | 12 +- ...tification-template-listing.component.html | 2 +- ...otification-listing-filters.component.html | 12 +- ...otification-listing-filters.component.html | 12 +- frontend/src/styles.scss | 170 +++++------------- 46 files changed, 219 insertions(+), 303 deletions(-) diff --git a/frontend/src/annotation-service/ui/admin/status/listing/filters/status-listing-filters.component.html b/frontend/src/annotation-service/ui/admin/status/listing/filters/status-listing-filters.component.html index 4f5235e7b..54d3b69a0 100644 --- a/frontend/src/annotation-service/ui/admin/status/listing/filters/status-listing-filters.component.html +++ b/frontend/src/annotation-service/ui/admin/status/listing/filters/status-listing-filters.component.html @@ -1,19 +1,19 @@ -
+
- -
+

{{'ANNOTATION-SERVICE.STATUS-LISTING.FILTER.TITLE' | translate}}

-
@@ -42,12 +42,12 @@
-
-
diff --git a/frontend/src/annotation-service/ui/admin/status/listing/status-listing.component.html b/frontend/src/annotation-service/ui/admin/status/listing/status-listing.component.html index abd88abae..69110b5e4 100644 --- a/frontend/src/annotation-service/ui/admin/status/listing/status-listing.component.html +++ b/frontend/src/annotation-service/ui/admin/status/listing/status-listing.component.html @@ -7,7 +7,7 @@
- -
+

{{'PLAN-BLUEPRINT-LISTING.FILTER.TITLE' | translate}}

-
@@ -42,12 +42,12 @@
-
-
diff --git a/frontend/src/app/ui/admin/description-status/listing/description-status-listing/description-status-listing.component.html b/frontend/src/app/ui/admin/description-status/listing/description-status-listing/description-status-listing.component.html index 6c47cdbff..80db9bd10 100644 --- a/frontend/src/app/ui/admin/description-status/listing/description-status-listing/description-status-listing.component.html +++ b/frontend/src/app/ui/admin/description-status/listing/description-status-listing/description-status-listing.component.html @@ -7,7 +7,7 @@
- diff --git a/frontend/src/app/ui/admin/description-template/editor/components/field-set/description-template-editor-field-set.component.html b/frontend/src/app/ui/admin/description-template/editor/components/field-set/description-template-editor-field-set.component.html index 21c73b252..a4700c1a4 100644 --- a/frontend/src/app/ui/admin/description-template/editor/components/field-set/description-template-editor-field-set.component.html +++ b/frontend/src/app/ui/admin/description-template/editor/components/field-set/description-template-editor-field-set.component.html @@ -156,7 +156,7 @@
-
    +
    • diff --git a/frontend/src/app/ui/admin/description-template/editor/components/field-set/description-template-editor-field-set.component.scss b/frontend/src/app/ui/admin/description-template/editor/components/field-set/description-template-editor-field-set.component.scss index 854224961..927cb8a9c 100644 --- a/frontend/src/app/ui/admin/description-template/editor/components/field-set/description-template-editor-field-set.component.scss +++ b/frontend/src/app/ui/admin/description-template/editor/components/field-set/description-template-editor-field-set.component.scss @@ -17,12 +17,13 @@ //Palete -$blue-color : var(--sys-primary); -$blue-color-light: #5cf7f2; +.text-primary { + color: var(--sys-primary); +} .actions-list{ border-radius: 7px; - box-shadow: 0 1px 0.8em $blue-color; + box-shadow: 0 1px 0.8em var(--sys-primary); padding: 1em 0em; font-size: small; } @@ -39,13 +40,13 @@ $blue-color-light: #5cf7f2; box-shadow: 0px 1px 2px rgb(173, 173, 173) ; padding: 3em; border-radius: .3em; - border-left: 0.3em solid $blue-color; + border-left: 0.3em solid var(--sys-primary); padding-bottom: 2em; margin-bottom: 2em; } .field-id-container{ - background-color: $blue-color-light; + background-color: var(--md-sys-color-inverse-primary); position: absolute; right: 0; top: 0; @@ -85,7 +86,7 @@ $blue-color-light: #5cf7f2; transform: translateY(3px); } .mat-checkbox-frame{ - border: 1px solid $blue-color ; + border: 1px solid var(--sys-primary) ; } } diff --git a/frontend/src/app/ui/admin/description-template/editor/description-template-editor.component.html b/frontend/src/app/ui/admin/description-template/editor/description-template-editor.component.html index 254546570..90998a98b 100644 --- a/frontend/src/app/ui/admin/description-template/editor/description-template-editor.component.html +++ b/frontend/src/app/ui/admin/description-template/editor/description-template-editor.component.html @@ -117,7 +117,7 @@ {{usersMap.get(user?.get('userId')?.value)?.name}} {{enumUtils.toUserDescriptionTemplateRoleString(user?.get('role')?.value)}} - + @@ -198,7 +198,7 @@
@if(!viewOnly &&!selectedTocEntry?.subEntries?.length){
- +
{{'DESCRIPTION-TEMPLATE-EDITOR.STEPS.FORM.FIELD.ERROR-MESSAGES.FIELD-SELECT-AT-LEAST-ONE-REQUIRED' | translate}} } @@ -276,11 +276,11 @@
- - @@ -292,8 +292,8 @@
- - + -
diff --git a/frontend/src/app/ui/admin/description-template/listing/description-template-listing.component.html b/frontend/src/app/ui/admin/description-template/listing/description-template-listing.component.html index 5cdc64c78..ce909fefa 100644 --- a/frontend/src/app/ui/admin/description-template/listing/description-template-listing.component.html +++ b/frontend/src/app/ui/admin/description-template/listing/description-template-listing.component.html @@ -6,7 +6,7 @@
-
- diff --git a/frontend/src/app/ui/admin/description-template/listing/filters/description-template-listing-filters.component.html b/frontend/src/app/ui/admin/description-template/listing/filters/description-template-listing-filters.component.html index b16663353..36e8f9d60 100644 --- a/frontend/src/app/ui/admin/description-template/listing/filters/description-template-listing-filters.component.html +++ b/frontend/src/app/ui/admin/description-template/listing/filters/description-template-listing-filters.component.html @@ -1,19 +1,19 @@ -
+
- -
+

{{'DESCRIPTION-TEMPLATE-LISTING.FILTER.TITLE' | translate}}

-
@@ -47,7 +47,7 @@
-
diff --git a/frontend/src/app/ui/admin/description-types/editor/description-template-type-editor.component.html b/frontend/src/app/ui/admin/description-types/editor/description-template-type-editor.component.html index 2237d2fe0..80b6786ac 100644 --- a/frontend/src/app/ui/admin/description-types/editor/description-template-type-editor.component.html +++ b/frontend/src/app/ui/admin/description-types/editor/description-template-type-editor.component.html @@ -8,22 +8,22 @@
- +
-
-
- diff --git a/frontend/src/app/ui/admin/description-types/listing/description-template-type-listing.component.html b/frontend/src/app/ui/admin/description-types/listing/description-template-type-listing.component.html index 8805c8917..0925d106b 100644 --- a/frontend/src/app/ui/admin/description-types/listing/description-template-type-listing.component.html +++ b/frontend/src/app/ui/admin/description-types/listing/description-template-type-listing.component.html @@ -6,7 +6,7 @@
- -
+

{{'DESCRIPTION-TEMPLATE-TYPE-LISTING.FILTER.TITLE' | translate}}

-
@@ -42,12 +42,12 @@
-
-
diff --git a/frontend/src/app/ui/admin/entity-locks/filters/lock-listing-filters.component.html b/frontend/src/app/ui/admin/entity-locks/filters/lock-listing-filters.component.html index 4d2db3c64..92eb04bd2 100644 --- a/frontend/src/app/ui/admin/entity-locks/filters/lock-listing-filters.component.html +++ b/frontend/src/app/ui/admin/entity-locks/filters/lock-listing-filters.component.html @@ -1,19 +1,19 @@ -
+
- -
+

{{'LOCK-LISTING.FILTER.TITLE' | translate}}

-
@@ -42,12 +42,12 @@
-
-
diff --git a/frontend/src/app/ui/admin/language/listing/filters/language-listing-filters.component.html b/frontend/src/app/ui/admin/language/listing/filters/language-listing-filters.component.html index 773259626..c9e2da094 100644 --- a/frontend/src/app/ui/admin/language/listing/filters/language-listing-filters.component.html +++ b/frontend/src/app/ui/admin/language/listing/filters/language-listing-filters.component.html @@ -1,19 +1,19 @@ -
+
- -
+

{{'LANGUAGE-LISTING.FILTER.TITLE' | translate}}

-
@@ -31,7 +31,7 @@
-
diff --git a/frontend/src/app/ui/admin/language/listing/language-listing.component.html b/frontend/src/app/ui/admin/language/listing/language-listing.component.html index 7dacce28b..dab77fe7d 100644 --- a/frontend/src/app/ui/admin/language/listing/language-listing.component.html +++ b/frontend/src/app/ui/admin/language/listing/language-listing.component.html @@ -6,7 +6,7 @@
-
-
- +
- +
@@ -78,7 +78,7 @@
- +
@@ -337,7 +337,7 @@
- + {{'PLAN-BLUEPRINT-EDITOR.SECTIONS-REQUIRED' | translate}} {{formGroup.get('definition').get('sections').getError('backendError').message}}
@@ -346,11 +346,11 @@
- +
-
diff --git a/frontend/src/app/ui/admin/plan-blueprint/listing/filters/plan-blueprint-listing-filters.component.html b/frontend/src/app/ui/admin/plan-blueprint/listing/filters/plan-blueprint-listing-filters.component.html index de65b53c0..d8a95dc61 100644 --- a/frontend/src/app/ui/admin/plan-blueprint/listing/filters/plan-blueprint-listing-filters.component.html +++ b/frontend/src/app/ui/admin/plan-blueprint/listing/filters/plan-blueprint-listing-filters.component.html @@ -1,4 +1,4 @@ -
+
-
diff --git a/frontend/src/app/ui/admin/plan-blueprint/listing/filters/plan-blueprint-listing-filters.component.scss b/frontend/src/app/ui/admin/plan-blueprint/listing/filters/plan-blueprint-listing-filters.component.scss index ec3501cdd..92f62796d 100644 --- a/frontend/src/app/ui/admin/plan-blueprint/listing/filters/plan-blueprint-listing-filters.component.scss +++ b/frontend/src/app/ui/admin/plan-blueprint/listing/filters/plan-blueprint-listing-filters.component.scss @@ -15,7 +15,6 @@ .filter-button{ padding-top: .6rem; padding-bottom: .6rem; - color: #000000; } ::ng-deep .mdc-form-field { diff --git a/frontend/src/app/ui/admin/plan-blueprint/listing/plan-blueprint-listing.component.html b/frontend/src/app/ui/admin/plan-blueprint/listing/plan-blueprint-listing.component.html index 576b1f429..b062cc5ec 100644 --- a/frontend/src/app/ui/admin/plan-blueprint/listing/plan-blueprint-listing.component.html +++ b/frontend/src/app/ui/admin/plan-blueprint/listing/plan-blueprint-listing.component.html @@ -14,7 +14,7 @@
- diff --git a/frontend/src/app/ui/admin/plan-status/listing/plan-status-listing/plan-status-listing-filters/plan-status-listing-filters.component.html b/frontend/src/app/ui/admin/plan-status/listing/plan-status-listing/plan-status-listing-filters/plan-status-listing-filters.component.html index 22d21b3a7..527da8168 100644 --- a/frontend/src/app/ui/admin/plan-status/listing/plan-status-listing/plan-status-listing-filters/plan-status-listing-filters.component.html +++ b/frontend/src/app/ui/admin/plan-status/listing/plan-status-listing/plan-status-listing-filters/plan-status-listing-filters.component.html @@ -1,19 +1,19 @@ -
+
- -
+

{{'PLAN-BLUEPRINT-LISTING.FILTER.TITLE' | translate}}

-
@@ -41,12 +41,12 @@
-
-
diff --git a/frontend/src/app/ui/admin/plan-status/listing/plan-status-listing/plan-status-listing.component.html b/frontend/src/app/ui/admin/plan-status/listing/plan-status-listing/plan-status-listing.component.html index 772c159f4..fa4bd0deb 100644 --- a/frontend/src/app/ui/admin/plan-status/listing/plan-status-listing/plan-status-listing.component.html +++ b/frontend/src/app/ui/admin/plan-status/listing/plan-status-listing/plan-status-listing.component.html @@ -7,7 +7,7 @@
- diff --git a/frontend/src/app/ui/admin/prefilling-source/editor/prefilling-source-editor.component.html b/frontend/src/app/ui/admin/prefilling-source/editor/prefilling-source-editor.component.html index 4f2a18ce4..7f2d65b62 100644 --- a/frontend/src/app/ui/admin/prefilling-source/editor/prefilling-source-editor.component.html +++ b/frontend/src/app/ui/admin/prefilling-source/editor/prefilling-source-editor.component.html @@ -7,23 +7,23 @@
- +
-
-
- +
@@ -90,7 +90,7 @@
- +
@@ -132,9 +132,9 @@
-
- - +
+ +
diff --git a/frontend/src/app/ui/admin/prefilling-source/listing/filters/prefilling-source-listing-filters.component.html b/frontend/src/app/ui/admin/prefilling-source/listing/filters/prefilling-source-listing-filters.component.html index 867896af0..ef1d97ddd 100644 --- a/frontend/src/app/ui/admin/prefilling-source/listing/filters/prefilling-source-listing-filters.component.html +++ b/frontend/src/app/ui/admin/prefilling-source/listing/filters/prefilling-source-listing-filters.component.html @@ -1,19 +1,19 @@ -
+
- -
+

{{'PREFILLING-SOURCE-LISTING.FILTER.TITLE' | translate}}

-
@@ -31,12 +31,12 @@
-
-
diff --git a/frontend/src/app/ui/admin/prefilling-source/listing/prefilling-source-listing.component.html b/frontend/src/app/ui/admin/prefilling-source/listing/prefilling-source-listing.component.html index 592be3af4..12ecd68ef 100644 --- a/frontend/src/app/ui/admin/prefilling-source/listing/prefilling-source-listing.component.html +++ b/frontend/src/app/ui/admin/prefilling-source/listing/prefilling-source-listing.component.html @@ -7,7 +7,7 @@
-
- +
-
- @@ -60,7 +60,7 @@

{{'REFERENCE-TYPE-EDITOR.FIELDS.FIELDS' | translate}}

- +
@@ -124,7 +124,7 @@
- +
@@ -132,7 +132,7 @@

{{'REFERENCE-TYPE-EDITOR.FIELDS.SOURCES' | translate}}

- +
diff --git a/frontend/src/app/ui/admin/reference-type/listing/filters/reference-type-listing-filters.component.html b/frontend/src/app/ui/admin/reference-type/listing/filters/reference-type-listing-filters.component.html index af91fb9b1..7dd6faf17 100644 --- a/frontend/src/app/ui/admin/reference-type/listing/filters/reference-type-listing-filters.component.html +++ b/frontend/src/app/ui/admin/reference-type/listing/filters/reference-type-listing-filters.component.html @@ -1,19 +1,19 @@ -
+
- -
+

{{'REFERENCE-TYPE-LISTING.FILTER.TITLE' | translate}}

-
@@ -31,12 +31,12 @@
-
-
diff --git a/frontend/src/app/ui/admin/reference-type/listing/reference-type-listing.component.html b/frontend/src/app/ui/admin/reference-type/listing/reference-type-listing.component.html index f58a3283f..6ff5ab441 100644 --- a/frontend/src/app/ui/admin/reference-type/listing/reference-type-listing.component.html +++ b/frontend/src/app/ui/admin/reference-type/listing/reference-type-listing.component.html @@ -7,7 +7,7 @@
-
- +
-
- @@ -92,7 +92,7 @@

{{'REFERENCE-EDITOR.FIELDS.FIELDS' | translate}} - +

diff --git a/frontend/src/app/ui/admin/reference/listing/filters/reference-listing-filters.component.html b/frontend/src/app/ui/admin/reference/listing/filters/reference-listing-filters.component.html index 84397e9a4..a85810970 100644 --- a/frontend/src/app/ui/admin/reference/listing/filters/reference-listing-filters.component.html +++ b/frontend/src/app/ui/admin/reference/listing/filters/reference-listing-filters.component.html @@ -1,20 +1,20 @@ -
+
- -
+

{{'REFERENCE-LISTING.FILTER.TITLE' | translate}}

-
@@ -53,12 +53,12 @@
-
-
diff --git a/frontend/src/app/ui/admin/reference/listing/reference-listing.component.html b/frontend/src/app/ui/admin/reference/listing/reference-listing.component.html index 6e21405a5..ed1de194d 100644 --- a/frontend/src/app/ui/admin/reference/listing/reference-listing.component.html +++ b/frontend/src/app/ui/admin/reference/listing/reference-listing.component.html @@ -7,7 +7,7 @@
- -
+

{{'TENANT-LISTING.FILTER.TITLE' | translate}}

-
@@ -31,12 +31,12 @@
-
-
diff --git a/frontend/src/app/ui/admin/tenant/listing/tenant-listing.component.html b/frontend/src/app/ui/admin/tenant/listing/tenant-listing.component.html index 64f170e88..59d3293f7 100644 --- a/frontend/src/app/ui/admin/tenant/listing/tenant-listing.component.html +++ b/frontend/src/app/ui/admin/tenant/listing/tenant-listing.component.html @@ -8,7 +8,7 @@
-
- +
-
- diff --git a/frontend/src/app/ui/admin/usage-limit/listing/filters/usage-limit-listing-filters.component.html b/frontend/src/app/ui/admin/usage-limit/listing/filters/usage-limit-listing-filters.component.html index ac80a1629..c17148516 100644 --- a/frontend/src/app/ui/admin/usage-limit/listing/filters/usage-limit-listing-filters.component.html +++ b/frontend/src/app/ui/admin/usage-limit/listing/filters/usage-limit-listing-filters.component.html @@ -1,19 +1,19 @@ -
+
- -
+

{{'USAGE-LIMIT-LISTING.FILTER.TITLE' | translate}}

-
@@ -42,12 +42,12 @@
-
-
diff --git a/frontend/src/app/ui/admin/usage-limit/listing/usage-limit-listing.component.html b/frontend/src/app/ui/admin/usage-limit/listing/usage-limit-listing.component.html index ebcc19c21..eeb3f7fdf 100644 --- a/frontend/src/app/ui/admin/usage-limit/listing/usage-limit-listing.component.html +++ b/frontend/src/app/ui/admin/usage-limit/listing/usage-limit-listing.component.html @@ -8,7 +8,7 @@
- -
+

{{'USER-LISTING.FILTER.TITLE' | translate}}

-
@@ -47,12 +47,12 @@
-
-
diff --git a/frontend/src/app/ui/admin/user/listing/user-listing.component.html b/frontend/src/app/ui/admin/user/listing/user-listing.component.html index 79d8c0508..0e55db5ab 100644 --- a/frontend/src/app/ui/admin/user/listing/user-listing.component.html +++ b/frontend/src/app/ui/admin/user/listing/user-listing.component.html @@ -12,7 +12,7 @@
- diff --git a/frontend/src/app/ui/description/editor/description-form/components/form-field-set/field-set-title/field-set-title.component.scss b/frontend/src/app/ui/description/editor/description-form/components/form-field-set/field-set-title/field-set-title.component.scss index 68f73391f..18a079abe 100644 --- a/frontend/src/app/ui/description/editor/description-form/components/form-field-set/field-set-title/field-set-title.component.scss +++ b/frontend/src/app/ui/description/editor/description-form/components/form-field-set/field-set-title/field-set-title.component.scss @@ -21,9 +21,9 @@ h6 { font-weight: 400; } -.more { //TODO mchouliara link +.more { text-decoration: underline; - color: var(--sys-tertiary); + color: var(--link-color); cursor: pointer; font-size: 1rem; font-weight: 400; diff --git a/frontend/src/app/ui/plan/listing/listing-item/plan-listing-item.component.scss b/frontend/src/app/ui/plan/listing/listing-item/plan-listing-item.component.scss index 418686526..61d14db64 100644 --- a/frontend/src/app/ui/plan/listing/listing-item/plan-listing-item.component.scss +++ b/frontend/src/app/ui/plan/listing/listing-item/plan-listing-item.component.scss @@ -43,9 +43,9 @@ p { color: #0d7489; } -.more-horiz { //TODO mchouliara link +.more-horiz { font-size: 28px; - color: var(--gray); + color: var(--link-color); } .published-icon { diff --git a/frontend/src/app/ui/plan/listing/plan-listing.component.scss b/frontend/src/app/ui/plan/listing/plan-listing.component.scss index 9e4bfd3d7..760ffd94b 100644 --- a/frontend/src/app/ui/plan/listing/plan-listing.component.scss +++ b/frontend/src/app/ui/plan/listing/plan-listing.component.scss @@ -51,9 +51,9 @@ padding: 0px; } -.more-horiz { //TODO mchouliara link +.more-horiz { font-size: 28px; - color: var(--gray); + color: var(--link-color); } .more-icon :hover { diff --git a/frontend/src/app/ui/plan/new/start-new-plan-dialogue/start-new-plan-dialog.component.html b/frontend/src/app/ui/plan/new/start-new-plan-dialogue/start-new-plan-dialog.component.html index 338eee967..e07444dc8 100644 --- a/frontend/src/app/ui/plan/new/start-new-plan-dialogue/start-new-plan-dialog.component.html +++ b/frontend/src/app/ui/plan/new/start-new-plan-dialogue/start-new-plan-dialog.component.html @@ -15,21 +15,17 @@
-
- -
+
{{ 'START-NEW-PLAN-DIALOG.OR' | translate }}
-
- -
+
diff --git a/frontend/src/notification-service/ui/admin/notification-template/listing/filters/notification-template-listing-filters.component.html b/frontend/src/notification-service/ui/admin/notification-template/listing/filters/notification-template-listing-filters.component.html index a89839a74..d9ce02d73 100644 --- a/frontend/src/notification-service/ui/admin/notification-template/listing/filters/notification-template-listing-filters.component.html +++ b/frontend/src/notification-service/ui/admin/notification-template/listing/filters/notification-template-listing-filters.component.html @@ -1,19 +1,19 @@ -
+
- -
+

{{'NOTIFICATION-SERVICE.NOTIFICATION-TEMPLATE-LISTING.FILTER.TITLE' | translate}}

-
@@ -64,12 +64,12 @@
-
-
diff --git a/frontend/src/notification-service/ui/admin/notification-template/listing/notification-template-listing.component.html b/frontend/src/notification-service/ui/admin/notification-template/listing/notification-template-listing.component.html index 1495e11c7..3702bc4d9 100644 --- a/frontend/src/notification-service/ui/admin/notification-template/listing/notification-template-listing.component.html +++ b/frontend/src/notification-service/ui/admin/notification-template/listing/notification-template-listing.component.html @@ -7,7 +7,7 @@
- -
+

{{'NOTIFICATION-SERVICE.NOTIFICATION-LISTING.FILTER.TITLE' | translate}}

-
@@ -96,12 +96,12 @@
-
-
diff --git a/frontend/src/notification-service/ui/inapp-notification/listing/filters/mine-inapp-notification-listing-filters.component.html b/frontend/src/notification-service/ui/inapp-notification/listing/filters/mine-inapp-notification-listing-filters.component.html index 80afc04f6..5baee5f82 100644 --- a/frontend/src/notification-service/ui/inapp-notification/listing/filters/mine-inapp-notification-listing-filters.component.html +++ b/frontend/src/notification-service/ui/inapp-notification/listing/filters/mine-inapp-notification-listing-filters.component.html @@ -1,19 +1,19 @@ -
+
- -
+

{{'NOTIFICATION-SERVICE.INAPP-NOTIFICATION-LISTING.FILTER.TITLE' | translate}}

-
@@ -42,12 +42,12 @@
-
-
diff --git a/frontend/src/styles.scss b/frontend/src/styles.scss index 313f5c86a..7d26a7c13 100644 --- a/frontend/src/styles.scss +++ b/frontend/src/styles.scss @@ -110,10 +110,10 @@ @import './material-theme.scss'; +// .mat-mdc-menu-panel{ background-color: #ffffff !important; } -//m3 styles overwrites .mat-mdc-mini-fab { border-radius: 50% !important; } @@ -127,9 +127,19 @@ border-left-color: var(--mat-standard-button-toggle-selected-state-background-color); } } +.mdc-icon-button { + line-height: 1 !important; +} .mat-primary.mat-mdc-outlined-button:not(:disabled){ border-color: var(--sys-primary); } +.mat-warn.mat-mdc-outlined-button:not(:disabled){ + border-color: var(--sys-error); +} +.mat-unthemed.mat-mdc-outlined-button:not(:disabled) { + color: var(--sys-on-surface); + border-color: var(--sys-outline); +} .mat-divider.mat-divider-vertical{ border-right-color: rgba(0, 0, 0, .12) !important; } @@ -146,14 +156,31 @@ } } } -// $mat-accessibility-theme: mat.m2-define-light-theme((color: (primary: $mat-theme-primary, -// accent: $mat-theme-accent, -// warn: $mat-theme-warn), -// typography: $mat-accessibility-typography, -// density: $mat-density)); +.mat-mdc-slide-toggle .mdc-switch { + transform: scale(0.75); +} -// @include mat.all-component-themes($mat-core-theme); +a { + color: var(--link-color); + &:hover { + color: var(--sys-primary); + text-decoration: none; + } + &.color-unset { + color: #000000; + } + & .material-icons { //_misc.scss + vertical-align: middle; + } +} +.card { + border: 0; +} + +// + +// .accessibility-theme { // change individual classes set in components' scss @@ -177,25 +204,9 @@ font-size: 1.255rem !important; } } +// -a { - color: var(--link-color); - &:hover { - color: var(--sys-primary); - text-decoration: none; - } - &.color-unset { - color: #000000; - } - & .material-icons { //_misc.scss - vertical-align: middle; - } -} - -.card { - border: 0; -} //TODO: angular update @import '../node_modules/dragula/dist/dragula.css'; /* in-flight clone */ @@ -256,93 +267,6 @@ a { .text-danger{ color: var(--sys-error) } -// .listing-item { -// margin-top: 0.5em; -// padding: 0.5em; -// cursor: pointer; -// border: 3px solid #f2f2f2; - -// .title { -// color: black; -// } - -// .grant-title { -// color: rgb(93, 125, 173); -// } - -// .gray-icon { -// color: rgb(191, 191, 191); -// } - -// .chip { -// padding: 0.1em 1em; -// border-radius: 10em; -// background-color: #0d7489; -// color: #fff; -// text-transform: uppercase; -// font-weight: 500; -// max-width: 160px; -// white-space: nowrap; -// overflow: hidden; -// text-overflow: ellipsis; -// } - -// .bordered-chip { -// padding: 0.1em 1em; -// border: 0.1em solid rgb(218, 227, 243); -// border-radius: 10em; -// background-color: rgb(236, 241, 249); -// color: var(--sys-primary); -// text-transform: uppercase; -// font-weight: 500; -// max-width: 160px; -// white-space: nowrap; -// overflow: hidden; -// text-overflow: ellipsis; -// } - -// .squared-chip { -// padding: 0.1em 1em; -// border: 0.1em solid rgb(236, 241, 249); -// border-radius: 0.5em; -// background-color: rgb(246, 246, 246); -// color: rgb(127, 127, 127); -// max-width: 160px; -// white-space: nowrap; -// overflow: hidden; -// text-overflow: ellipsis; -// } - -// mat-icon { -// width: auto; -// height: auto; -// } - -// .mr-5 { -// margin-right: 2rem !important; -// } - -// .info { -// background-color: #f6f6f6; -// padding: 8px 15px; -// margin-bottom: 15px; -// } - -// .info p { -// margin-bottom: 0px; -// color: rgb(37, 35, 140); -// font-weight: 600; -// } - -// .chip p { -// margin-bottom: 0px; -// } - -// h4 span { -// color: #089dbb; -// font-weight: 600; -// } -// } .listing { .mat-card { @@ -412,11 +336,6 @@ a { } -.text-primary-blue { - color: var(--sys-primary); -} - - .translateY-3 { transform: translateY(3px); } @@ -501,6 +420,15 @@ a { @include mat.all-component-densities(-10); } +.listing-filters { + .mat-mdc-button.filter-button { + color: var(--sys-color-on-surface); + } +} +.filter-container { + padding: 0.5rem 1rem; +} + button, .mdc-button, .mat-mdc-button, .mdc-button:has(.material-icons,mat-icon,[matButtonIcon]), .md-button, .mat-mdc-button:not(:disabled) { &.inverted-stroked-btn{ border: 1px solid var(--sys-on-primary); @@ -742,12 +670,4 @@ ul.unstyled-list { .container-fluid:first-child { padding: 0 !important; } -} - - -// .mat-checkbox-checked.mat-accent .mat-checkbox-background, .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background { -// background-color: var(--sys-primary-3); -// } -// .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background, .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background { -// background-color: #b0b0b0; -// } //make them work \ No newline at end of file +} \ No newline at end of file