diff --git a/frontend/src/annotation-service/ui/admin/status/editor/status-editor.component.html b/frontend/src/annotation-service/ui/admin/status/editor/status-editor.component.html index 88c2d4216..65efdd28d 100644 --- a/frontend/src/annotation-service/ui/admin/status/editor/status-editor.component.html +++ b/frontend/src/annotation-service/ui/admin/status/editor/status-editor.component.html @@ -8,16 +8,16 @@
- +
-
-
- diff --git a/frontend/src/annotation-service/ui/admin/status/editor/status-editor.component.scss b/frontend/src/annotation-service/ui/admin/status/editor/status-editor.component.scss index 2d5be1375..d05075cad 100644 --- a/frontend/src/annotation-service/ui/admin/status/editor/status-editor.component.scss +++ b/frontend/src/annotation-service/ui/admin/status/editor/status-editor.component.scss @@ -3,23 +3,4 @@ .editor-actions { margin-top: 30px; } -} - -.action-btn { - border-radius: 30px; - background-color: var(--secondary-color); - border: 1px solid transparent; - padding-left: 2em; - padding-right: 2em; - box-shadow: 0px 3px 6px #1E202029; - - transition-property: background-color, color; - transition-duration: 200ms; - transition-delay: 50ms; - transition-timing-function: ease-in-out; - &:disabled{ - background-color: #CBCBCB; - color: #FFF; - border: 0px; - } } \ No newline at end of file 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 1e2ea7169..6c79fbd36 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 @@ -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 b34d320d6..8b8d47ee9 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 @@
-
- +
-
- diff --git a/frontend/src/app/ui/admin/description-status/listing/description-status-listing-filters/description-status-listing-filters.component.html b/frontend/src/app/ui/admin/description-status/listing/description-status-listing-filters/description-status-listing-filters.component.html index 0336f9338..5e07a6636 100644 --- a/frontend/src/app/ui/admin/description-status/listing/description-status-listing-filters/description-status-listing-filters.component.html +++ b/frontend/src/app/ui/admin/description-status/listing/description-status-listing-filters/description-status-listing-filters.component.html @@ -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 657e2bbdf..2ce8f3b9a 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-status/listing/description-status-listing/description-status-listing.component.scss b/frontend/src/app/ui/admin/description-status/listing/description-status-listing/description-status-listing.component.scss index d243eaa7c..e69de29bb 100644 --- a/frontend/src/app/ui/admin/description-status/listing/description-status-listing/description-status-listing.component.scss +++ b/frontend/src/app/ui/admin/description-status/listing/description-status-listing/description-status-listing.component.scss @@ -1,34 +0,0 @@ -.create-btn { - border-radius: 30px; - background-color: var(--secondary-color); - padding-left: 2em; - padding-right: 2em; - - .button-text { - display: inline-block; - } -} - -.status-chip { - width: fit-content; - border-radius: 20px; - padding-left: 1em; - padding-right: 1em; - padding-top: 0.2em; - font-size: .8em; -} - -.status-chip-finalized { - color: #568b5a; - background: #9dd1a1 0% 0% no-repeat padding-box; -} - -.status-chip-draft { - color: #00c4ff; - background: #d3f5ff 0% 0% no-repeat padding-box; -} - -.status-chip-cancelled { - color: #cf1407; - background: #ffc8c5 0% 0% no-repeat padding-box; -} \ No newline at end of file diff --git a/frontend/src/app/ui/admin/description-template/description-template-preview/description-template-preview-dialog.component.html b/frontend/src/app/ui/admin/description-template/description-template-preview/description-template-preview-dialog.component.html index 29ee137a9..dd81987c5 100644 --- a/frontend/src/app/ui/admin/description-template/description-template-preview/description-template-preview-dialog.component.html +++ b/frontend/src/app/ui/admin/description-template/description-template-preview/description-template-preview-dialog.component.html @@ -11,7 +11,7 @@
- +
diff --git a/frontend/src/app/ui/admin/description-template/description-template-preview/description-template-preview-dialog.component.scss b/frontend/src/app/ui/admin/description-template/description-template-preview/description-template-preview-dialog.component.scss index f64cc489e..ce95fb746 100644 --- a/frontend/src/app/ui/admin/description-template/description-template-preview/description-template-preview-dialog.component.scss +++ b/frontend/src/app/ui/admin/description-template/description-template-preview/description-template-preview-dialog.component.scss @@ -32,15 +32,5 @@ padding: 0 24px; } - .start-btn { - background: var(--primary-color) 0% 0% no-repeat padding-box; - border: 1px solid var(--primary-color); - border-radius: 30px; - opacity: 1; - min-width: 101px; - height: 43px; - color: #ffffff; - font-weight: 500; - } } 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 20ff97545..58fba94b1 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 @@ -107,7 +107,7 @@ {{usersMap.get(user?.get('userId')?.value)?.name}} {{enumUtils.toUserDescriptionTemplateRoleString(user?.get('role')?.value)}} - + @@ -186,7 +186,7 @@
@if(!viewOnly &&!selectedTocEntry?.subEntries?.length){
- +
{{'DESCRIPTION-TEMPLATE-EDITOR.STEPS.FORM.FIELD.ERROR-MESSAGES.FIELD-SELECT-AT-LEAST-ONE-REQUIRED' | translate}} } @@ -264,13 +264,13 @@
- -
@@ -280,8 +280,8 @@
- - + -
diff --git a/frontend/src/app/ui/admin/description-template/editor/description-template-editor.component.scss b/frontend/src/app/ui/admin/description-template/editor/description-template-editor.component.scss index 380f99590..513cd1bb0 100644 --- a/frontend/src/app/ui/admin/description-template/editor/description-template-editor.component.scss +++ b/frontend/src/app/ui/admin/description-template/editor/description-template-editor.component.scss @@ -72,74 +72,11 @@ box-shadow: 1px 1px 6px #00000029;; } -.navigate-btn { - border-radius: 30px; - background-color: var(--secondary-color); - border: 1px solid transparent; - padding-left: 2em; - padding-right: 2em; - box-shadow: 0px 3px 6px #1E202029; - - transition-property: background-color, color; - transition-duration: 200ms; - transition-delay: 50ms; - transition-timing-function: ease-in-out; -} -.navigate-btn-disabled{ -background-color: #CBCBCB; -color: #FFF; -} - -.create-section-btn { - border-radius: 30px; - background-color: var(--secondary-color); - border: 1px solid transparent; - padding-left: 1em; - padding-right: 1em; - box-shadow: 0px 3px 6px #1E202029; - line-height: 1.7em; -} $blue-color : var(--primary-color); $blue-color-light: #5cf7f2; -.finalize-btn { - border-radius: 30px; - border: 1px solid var(--primary-color); - background: transparent; - padding-left: 2em; - padding-right: 2em; - box-shadow: 0px 3px 6px #1E202029; - color: var(--primary-color); -} -.template_action_btn{ - border-radius: 30px; - border: 1px solid var(--primary-color); - background: transparent; - height: 2.5em; - min-width: 110px; - width: auto; - box-shadow: 0px 3px 6px #1E202029; - color: var(--primary-color); - flex: 0 0 auto; - &.save-btn{ - background-color: var(--secondary-color); - border: 1px solid transparent; - box-shadow: 0px 3px 6px #1E202029; - color: #212121; - - transition-property: background-color, color; - transition-duration: 200ms; - transition-delay: 50ms; - transition-timing-function: ease-in-out; - } - &:disabled{ - background-color: #CBCBCB; - color: #FFF; - border: 0px; - } -} 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 56c1712b7..d2da35f1c 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/description-template-listing.component.scss b/frontend/src/app/ui/admin/description-template/listing/description-template-listing.component.scss index 758993308..8f8c1151b 100644 --- a/frontend/src/app/ui/admin/description-template/listing/description-template-listing.component.scss +++ b/frontend/src/app/ui/admin/description-template/listing/description-template-listing.component.scss @@ -36,42 +36,3 @@ background-color: #f6f6f6; align-items: center; } - -.create-btn { - border-radius: 30px; - background-color: var(--secondary-color); - padding-left: 2em; - padding-right: 2em; - - .button-text { - display: inline-block; - } -} - -.import-btn { - background: #ffffff 0% 0% no-repeat padding-box; - border-radius: 30px; - padding-left: 2em; - padding-right: 2em; - color: #000; - border: 1px solid #000; -} - -.status-chip { - - border-radius: 20px; - padding-left: 1em; - padding-right: 1em; - padding-top: 0.2em; - font-size: .8em; -} - -.status-chip-finalized { - color: #568b5a; - background: #9dd1a1 0% 0% no-repeat padding-box; -} - -.status-chip-draft { - color: #00c4ff; - background: #d3f5ff 0% 0% no-repeat padding-box; -} 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 a81fe8422..e4e3d74cd 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 @@ -42,12 +42,12 @@
-
-
diff --git a/frontend/src/app/ui/admin/description-template/listing/import-description-template/import-description-template.dialog.component.html b/frontend/src/app/ui/admin/description-template/listing/import-description-template/import-description-template.dialog.component.html index eb4cb7a0f..19f71e4e7 100644 --- a/frontend/src/app/ui/admin/description-template/listing/import-description-template/import-description-template.dialog.component.html +++ b/frontend/src/app/ui/admin/description-template/listing/import-description-template/import-description-template.dialog.component.html @@ -4,7 +4,9 @@

{{ data.message }}

- close +
@@ -32,11 +34,11 @@
- +
- +
diff --git a/frontend/src/app/ui/admin/description-template/listing/import-description-template/import-description-template.dialog.component.scss b/frontend/src/app/ui/admin/description-template/listing/import-description-template/import-description-template.dialog.component.scss index c79fa2851..2e681f421 100644 --- a/frontend/src/app/ui/admin/description-template/listing/import-description-template/import-description-template.dialog.component.scss +++ b/frontend/src/app/ui/admin/description-template/listing/import-description-template/import-description-template.dialog.component.scss @@ -3,40 +3,6 @@ } -.cancel-btn { - background: #ffffff 0% 0% no-repeat padding-box; - border: 1px solid #b5b5b5; - border-radius: 30px; -min-width: 101px; - height: 43px; - color: #212121; - font-weight: 500; -} - -.next-btn { - background: #ffffff 0% 0% no-repeat padding-box; - border: 1px solid var(--primary-color); - border-radius: 30px; - opacity: 1; -min-width: 101px; - height: 43px; - color: var(--primary-color); - font-weight: 500; -} - -.next-btn[disabled] { - width: 100px; - height: 43px; - background: #ffffff 0% 0% no-repeat padding-box; - border: 1px solid #b5b5b5; - border-radius: 30px; - opacity: 1; -} - -.next-btn:not([disabled]):hover { - background-color: var(--primary-color); - color: #ffffff; -} //ngx dropzone .drop-file { @@ -96,7 +62,3 @@ min-width: 101px; border: 1px solid var(--primary-color); color: var(--primary-color); } - -.close-btn:hover{ - cursor: pointer; -} 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 4c4da31ea..c9927441e 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 a634087b8..6d35ce31b 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 @@
-
-
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 6edc67cd1..514d5263e 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 @@ -42,12 +42,12 @@
-
-
diff --git a/frontend/src/app/ui/admin/language/editor/language-editor.component.html b/frontend/src/app/ui/admin/language/editor/language-editor.component.html index da542476c..1537c4b26 100644 --- a/frontend/src/app/ui/admin/language/editor/language-editor.component.html +++ b/frontend/src/app/ui/admin/language/editor/language-editor.component.html @@ -6,16 +6,16 @@
- +
-
- diff --git a/frontend/src/app/ui/admin/language/editor/language-editor.component.scss b/frontend/src/app/ui/admin/language/editor/language-editor.component.scss index c3f952406..44417366d 100644 --- a/frontend/src/app/ui/admin/language/editor/language-editor.component.scss +++ b/frontend/src/app/ui/admin/language/editor/language-editor.component.scss @@ -17,23 +17,4 @@ ::ng-deep .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background, .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background { background-color: #b0b0b0; -} - -.action-btn { - border-radius: 30px; - background-color: var(--secondary-color); - border: 1px solid transparent; - padding-left: 2em; - padding-right: 2em; - box-shadow: 0px 3px 6px #1E202029; - - transition-property: background-color, color; - transition-duration: 200ms; - transition-delay: 50ms; - transition-timing-function: ease-in-out; - &:disabled{ - background-color: #CBCBCB; - color: #FFF; - border: 0px; - } } \ No newline at end of file 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 0bc061945..2b6dc4ac8 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 @@ -31,12 +31,12 @@
-
-
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 7c805c560..a11a2f370 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 @@
-
-
- +
- +
@@ -39,7 +39,7 @@

{{'PLAN-BLUEPRINT-EDITOR.FIELDS.SECTIONS' | translate}} - {{'PLAN-BLUEPRINT-EDITOR.SYSTEM-FIELDS-REQUIRED' | translate}} + {{'PLAN-BLUEPRINT-EDITOR.SYSTEM-FIELDS-REQUIRED' | translate}}

@@ -78,7 +78,7 @@
- +
@@ -230,7 +230,7 @@ {{'GENERAL.VALIDATION.REQUIRED' | translate}}
- +
@@ -332,7 +332,7 @@
- + {{'PLAN-BLUEPRINT-EDITOR.SECTIONS-REQUIRED' | translate}} {{formGroup.get('definition').get('sections').getError('backendError').message}}
@@ -341,11 +341,11 @@
- +
-
diff --git a/frontend/src/app/ui/admin/plan-blueprint/editor/plan-blueprint-editor.component.scss b/frontend/src/app/ui/admin/plan-blueprint/editor/plan-blueprint-editor.component.scss index 944777da5..948baf217 100644 --- a/frontend/src/app/ui/admin/plan-blueprint/editor/plan-blueprint-editor.component.scss +++ b/frontend/src/app/ui/admin/plan-blueprint/editor/plan-blueprint-editor.component.scss @@ -48,25 +48,6 @@ } } -.action-btn { - border-radius: 30px; - background-color: var(--secondary-color); - border: 1px solid transparent; - padding-left: 2em; - padding-right: 2em; - box-shadow: 0px 3px 6px #1E202029; - - transition-property: background-color, color; - transition-duration: 200ms; - transition-delay: 50ms; - transition-timing-function: ease-in-out; - &:disabled{ - background-color: #CBCBCB; - color: #FFF; - border: 0px; - } -} - .dlt-section-btn { margin: 0; position: absolute; 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 bbf4b0bc1..5f680095c 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 @@ -41,12 +41,12 @@
-
-
diff --git a/frontend/src/app/ui/admin/plan-blueprint/listing/import-plan-blueprint/import-plan-blueprint.dialog.component.html b/frontend/src/app/ui/admin/plan-blueprint/listing/import-plan-blueprint/import-plan-blueprint.dialog.component.html index e60bba2c6..8cb7d434d 100644 --- a/frontend/src/app/ui/admin/plan-blueprint/listing/import-plan-blueprint/import-plan-blueprint.dialog.component.html +++ b/frontend/src/app/ui/admin/plan-blueprint/listing/import-plan-blueprint/import-plan-blueprint.dialog.component.html @@ -4,7 +4,9 @@

{{ data.message }}

- close +
@@ -32,11 +34,11 @@
- +
- +
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 d922c1082..46c2ae36d 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 @@ -6,7 +6,7 @@
-
- diff --git a/frontend/src/app/ui/admin/plan-blueprint/listing/plan-blueprint-listing.component.scss b/frontend/src/app/ui/admin/plan-blueprint/listing/plan-blueprint-listing.component.scss index 05df9e453..eaf23bf09 100644 --- a/frontend/src/app/ui/admin/plan-blueprint/listing/plan-blueprint-listing.component.scss +++ b/frontend/src/app/ui/admin/plan-blueprint/listing/plan-blueprint-listing.component.scss @@ -37,26 +37,6 @@ align-items: center; } -.create-btn { - border-radius: 30px; - background-color: var(--secondary-color); - padding-left: 2em; - padding-right: 2em; - - .button-text { - display: inline-block; - } -} - -.import-btn { - background: #ffffff 0% 0% no-repeat padding-box; - border-radius: 30px; - padding-left: 2em; - padding-right: 2em; - color: #000; - border: 1px solid #000; -} - .status-chip { border-radius: 20px; diff --git a/frontend/src/app/ui/admin/plan-status/editor/plan-status-editor/plan-status-editor.component.html b/frontend/src/app/ui/admin/plan-status/editor/plan-status-editor/plan-status-editor.component.html index 2c8591567..d0185d96e 100644 --- a/frontend/src/app/ui/admin/plan-status/editor/plan-status-editor/plan-status-editor.component.html +++ b/frontend/src/app/ui/admin/plan-status/editor/plan-status-editor/plan-status-editor.component.html @@ -6,16 +6,16 @@
- +
-
- 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 0b8fa785a..76e9e1f8b 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 @@ -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 1c2d649f0..0e709a45f 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/plan-status/listing/plan-status-listing/plan-status-listing.component.scss b/frontend/src/app/ui/admin/plan-status/listing/plan-status-listing/plan-status-listing.component.scss index 87aa7dd3a..e69de29bb 100644 --- a/frontend/src/app/ui/admin/plan-status/listing/plan-status-listing/plan-status-listing.component.scss +++ b/frontend/src/app/ui/admin/plan-status/listing/plan-status-listing/plan-status-listing.component.scss @@ -1,29 +0,0 @@ -.create-btn { - border-radius: 30px; - background-color: var(--secondary-color); - padding-left: 2em; - padding-right: 2em; - - .button-text { - display: inline-block; - } -} - -.status-chip { - width: fit-content; - border-radius: 20px; - padding-left: 1em; - padding-right: 1em; - padding-top: 0.2em; - font-size: .8em; -} - -.status-chip-finalized { - color: #568b5a; - background: #9dd1a1 0% 0% no-repeat padding-box; -} - -.status-chip-draft { - color: #00c4ff; - background: #d3f5ff 0% 0% no-repeat padding-box; -} \ No newline at end of file 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 58e6ca610..91845e2ff 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,16 +7,16 @@
- +
-
- 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 69446ed53..e07e3cae0 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 @@ -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 ec9889f2a..61dcac821 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 @@
-
-
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 ad1f9b416..37272c224 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 @@
-
-
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 3b7475fd6..0632a7c62 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 @@
-
-
-
diff --git a/frontend/src/app/ui/admin/tenant-configuration/editor/default-user-locale/default-user-locale-editor.component.html b/frontend/src/app/ui/admin/tenant-configuration/editor/default-user-locale/default-user-locale-editor.component.html index 158a86fab..b31be6673 100644 --- a/frontend/src/app/ui/admin/tenant-configuration/editor/default-user-locale/default-user-locale-editor.component.html +++ b/frontend/src/app/ui/admin/tenant-configuration/editor/default-user-locale/default-user-locale-editor.component.html @@ -36,11 +36,11 @@
-
-
diff --git a/frontend/src/app/ui/admin/tenant-configuration/editor/deposit/deposit-editor.component.html b/frontend/src/app/ui/admin/tenant-configuration/editor/deposit/deposit-editor.component.html index d6ca45174..97da22661 100644 --- a/frontend/src/app/ui/admin/tenant-configuration/editor/deposit/deposit-editor.component.html +++ b/frontend/src/app/ui/admin/tenant-configuration/editor/deposit/deposit-editor.component.html @@ -94,11 +94,11 @@
-
-
diff --git a/frontend/src/app/ui/admin/tenant-configuration/editor/description-workflow/description-workflow-editor/description-workflow-editor.component.html b/frontend/src/app/ui/admin/tenant-configuration/editor/description-workflow/description-workflow-editor/description-workflow-editor.component.html index d5e44e66e..ec6859346 100644 --- a/frontend/src/app/ui/admin/tenant-configuration/editor/description-workflow/description-workflow-editor/description-workflow-editor.component.html +++ b/frontend/src/app/ui/admin/tenant-configuration/editor/description-workflow/description-workflow-editor/description-workflow-editor.component.html @@ -67,14 +67,14 @@
@if(canDelete){
-
} @if(canSave){
-
diff --git a/frontend/src/app/ui/admin/tenant-configuration/editor/file-transformer/file-transformer-editor.component.html b/frontend/src/app/ui/admin/tenant-configuration/editor/file-transformer/file-transformer-editor.component.html index f8fc73602..7053d6024 100644 --- a/frontend/src/app/ui/admin/tenant-configuration/editor/file-transformer/file-transformer-editor.component.html +++ b/frontend/src/app/ui/admin/tenant-configuration/editor/file-transformer/file-transformer-editor.component.html @@ -78,11 +78,11 @@
-
-
diff --git a/frontend/src/app/ui/admin/tenant-configuration/editor/logo/logo-editor.component.html b/frontend/src/app/ui/admin/tenant-configuration/editor/logo/logo-editor.component.html index ccc3b3d45..cd2d05c54 100644 --- a/frontend/src/app/ui/admin/tenant-configuration/editor/logo/logo-editor.component.html +++ b/frontend/src/app/ui/admin/tenant-configuration/editor/logo/logo-editor.component.html @@ -21,11 +21,11 @@
-
-
diff --git a/frontend/src/app/ui/admin/tenant-configuration/editor/plan-workflow/plan-workflow-editor/plan-workflow-editor.component.html b/frontend/src/app/ui/admin/tenant-configuration/editor/plan-workflow/plan-workflow-editor/plan-workflow-editor.component.html index 95c97b2fa..33bdef30d 100644 --- a/frontend/src/app/ui/admin/tenant-configuration/editor/plan-workflow/plan-workflow-editor/plan-workflow-editor.component.html +++ b/frontend/src/app/ui/admin/tenant-configuration/editor/plan-workflow/plan-workflow-editor/plan-workflow-editor.component.html @@ -67,14 +67,14 @@
@if(canDelete){
-
} @if(canSave){
-
diff --git a/frontend/src/app/ui/admin/tenant/listing/filters/tenant-listing-filters.component.html b/frontend/src/app/ui/admin/tenant/listing/filters/tenant-listing-filters.component.html index 17884d24f..66020bab0 100644 --- a/frontend/src/app/ui/admin/tenant/listing/filters/tenant-listing-filters.component.html +++ b/frontend/src/app/ui/admin/tenant/listing/filters/tenant-listing-filters.component.html @@ -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 837938f56..71ca3b62f 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/usage-limit-listing.component.html b/frontend/src/app/ui/admin/usage-limit/listing/usage-limit-listing.component.html index f55a7a707..8d61f1301 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 @@
-
-
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 46928983e..1b36bebb2 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 @@ -7,12 +7,12 @@
-
- diff --git a/frontend/src/app/ui/admin/user/listing/user-listing.component.scss b/frontend/src/app/ui/admin/user/listing/user-listing.component.scss index b21f67b8d..8e292b457 100644 --- a/frontend/src/app/ui/admin/user/listing/user-listing.component.scss +++ b/frontend/src/app/ui/admin/user/listing/user-listing.component.scss @@ -21,20 +21,6 @@ z-index: 5; } } -.create-btn { - border-radius: 30px; - background-color: var(--secondary-color); - padding-left: 2em; - padding-right: 2em; - - .button-text{ - display: inline-block; - } -} - -.dlt-btn { - color: rgba(0, 0, 0, 0.54); -} .status-chip{ diff --git a/frontend/src/app/ui/annotations/annotation-dialog-component/annotation-dialog.component.html b/frontend/src/app/ui/annotations/annotation-dialog-component/annotation-dialog.component.html index 711bcce68..766ebd2c4 100644 --- a/frontend/src/app/ui/annotations/annotation-dialog-component/annotation-dialog.component.html +++ b/frontend/src/app/ui/annotations/annotation-dialog-component/annotation-dialog.component.html @@ -13,10 +13,10 @@ link
-
- +
@@ -41,10 +41,10 @@
- +
- +
diff --git a/frontend/src/app/ui/annotations/annotation-dialog-component/annotation-dialog.component.scss b/frontend/src/app/ui/annotations/annotation-dialog-component/annotation-dialog.component.scss index 00a854d71..f2242d7b4 100644 --- a/frontend/src/app/ui/annotations/annotation-dialog-component/annotation-dialog.component.scss +++ b/frontend/src/app/ui/annotations/annotation-dialog-component/annotation-dialog.component.scss @@ -17,18 +17,6 @@ $mat-card-header-size: 40px !default; width: 8.44rem; } -.close-icon { - cursor: pointer; - padding: .4rem; - width: auto !important; - height: auto !important; -} - -.close-icon:hover { - background-color: #ECECED !important; - border-radius: 50%; -} - .reply-btn { color: rgba(0, 0, 0, 0.6); } diff --git a/frontend/src/app/ui/auth/login/merge-email-confirmation/merge-email-confirmation.component.html b/frontend/src/app/ui/auth/login/merge-email-confirmation/merge-email-confirmation.component.html index b6f5f349f..444ad5c3b 100644 --- a/frontend/src/app/ui/auth/login/merge-email-confirmation/merge-email-confirmation.component.html +++ b/frontend/src/app/ui/auth/login/merge-email-confirmation/merge-email-confirmation.component.html @@ -14,7 +14,7 @@
- +
diff --git a/frontend/src/app/ui/auth/login/unlink-email-confirmation/unlink-email-confirmation.component.html b/frontend/src/app/ui/auth/login/unlink-email-confirmation/unlink-email-confirmation.component.html index abddd05ba..7f193c91d 100644 --- a/frontend/src/app/ui/auth/login/unlink-email-confirmation/unlink-email-confirmation.component.html +++ b/frontend/src/app/ui/auth/login/unlink-email-confirmation/unlink-email-confirmation.component.html @@ -15,7 +15,7 @@
- +
diff --git a/frontend/src/app/ui/contact/contact-dialog/contact-dialog.component.html b/frontend/src/app/ui/contact/contact-dialog/contact-dialog.component.html index 0bc464f10..46410c7a2 100644 --- a/frontend/src/app/ui/contact/contact-dialog/contact-dialog.component.html +++ b/frontend/src/app/ui/contact/contact-dialog/contact-dialog.component.html @@ -3,8 +3,10 @@
{{'CONTACT.SUPPORT.SUBTITLE' | translate}}
-
- close +
+
diff --git a/frontend/src/app/ui/contact/contact-dialog/contact-dialog.component.scss b/frontend/src/app/ui/contact/contact-dialog/contact-dialog.component.scss index f9b1e58ff..3cb2345a7 100644 --- a/frontend/src/app/ui/contact/contact-dialog/contact-dialog.component.scss +++ b/frontend/src/app/ui/contact/contact-dialog/contact-dialog.component.scss @@ -7,8 +7,4 @@ .full-width { width: 100%; -} - -.close-btn { - cursor: pointer; -} +} \ No newline at end of file diff --git a/frontend/src/app/ui/dashboard/dashboard.component.html b/frontend/src/app/ui/dashboard/dashboard.component.html index 4156c1481..df606aee7 100644 --- a/frontend/src/app/ui/dashboard/dashboard.component.html +++ b/frontend/src/app/ui/dashboard/dashboard.component.html @@ -41,12 +41,12 @@
- +
- +
@@ -57,13 +57,13 @@
{{'DASHBOARD.LATEST-ACTIVITY' | translate}}
- + - > + diff --git a/frontend/src/app/ui/dashboard/dashboard.component.scss b/frontend/src/app/ui/dashboard/dashboard.component.scss index ffd354d3a..48099a64f 100644 --- a/frontend/src/app/ui/dashboard/dashboard.component.scss +++ b/frontend/src/app/ui/dashboard/dashboard.component.scss @@ -253,21 +253,6 @@ input[type="text"] { color: var(--primary-color) !important; } -.btn-load-more { - border: 2px solid #212121; - border-radius: 30px; - opacity: 1; - min-width: 132px; - width: auto; - height: 40px; - margin-top: 4.125rem; -} - -.btn-load-more:hover { - background-color: black; - color: white; -} - .draft { color: #f16868; } diff --git a/frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.html b/frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.html index 877efe4d0..e43e63e73 100644 --- a/frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.html +++ b/frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.html @@ -33,18 +33,18 @@
-
+
{{'GENERAL.ACTIONS.NO-MORE-AVAILABLE' | translate}}
- +
- +
diff --git a/frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.scss b/frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.scss index 78c073734..aa2a0bc13 100644 --- a/frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.scss +++ b/frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.scss @@ -80,11 +80,9 @@ input[type="text"] { .btn-load-more { border: 2px solid #212121; - border-radius: 30px; opacity: 1; min-width: 132px; width: auto; - height: 40px; margin-top: 4.125rem; } @@ -134,23 +132,3 @@ input[type="text"] { opacity: 0.6; } - -.add-description { - margin-top: 2.5rem; - margin-bottom: 1.5rem; -} - -.yellow-btn { - min-width: 162px; - height: 40px; - cursor: pointer; - background: var(--secondary-color) 0% 0% no-repeat padding-box; - border-radius: 30px; - opacity: 1; - border: none; - color: #000000; - opacity: 1; - line-height: 1; - font-size: 0.87rem; - padding: 0.62rem 1.87rem; -} diff --git a/frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.ts b/frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.ts index e02e9e3f3..797e684c3 100644 --- a/frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.ts +++ b/frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.ts @@ -37,6 +37,8 @@ export class RecentEditedActivityComponent extends BaseComponent implements OnIn lookup: RecentActivityItemLookup = new RecentActivityItemLookup(); + loading = false; + currentPage: number = 0; pageSize: number = 5; listingItems: RecentActivityItem[]= []; @@ -198,35 +200,40 @@ export class RecentEditedActivityComponent extends BaseComponent implements OnIn return; } + this.loading = true; this.dashboardService .getMyRecentActivityItems(this.lookup) .pipe(takeUntil(this._destroyed)) - .subscribe(response => { - if (response == null) return; + .subscribe({ + next: (response) => { + if (response == null) return; - if (this.lookup.page.offset == 0) this.listingItems = []; + if (this.lookup.page.offset == 0) this.listingItems = []; + + response.forEach(item => { + if (item.plan){ + if (item.plan.descriptions) { + if (item.plan.status == PlanStatusEnum.Finalized) { + item.plan.descriptions = item.plan.descriptions.filter(x => x.isActive === IsActive.Active && x.status === DescriptionStatusEnum.Finalized); + } else { + item.plan.descriptions = item.plan.descriptions.filter(x => x.isActive === IsActive.Active && x.status != DescriptionStatusEnum.Canceled); + } + } + item.plan.planUsers = item.plan.planUsers.filter(x=> x.isActive === IsActive.Active); + this.listingItems.push(item); + } + if (item.description){ + if (item.description.status != DescriptionStatusEnum.Canceled) this.listingItems.push(item); + } + }) + + if (this.lookup.page.offset != 0 && response.length > 0 && this.listingItems.length >= this.currentPage*this.pageSize) this._setPage(this.currentPage+1); + else this._resetPagination(); - response.forEach(item => { - if (item.plan){ - if (item.plan.descriptions) { - if (item.plan.status == PlanStatusEnum.Finalized) { - item.plan.descriptions = item.plan.descriptions.filter(x => x.isActive === IsActive.Active && x.status === DescriptionStatusEnum.Finalized); - } else { - item.plan.descriptions = item.plan.descriptions.filter(x => x.isActive === IsActive.Active && x.status != DescriptionStatusEnum.Canceled); - } - } - item.plan.planUsers = item.plan.planUsers.filter(x=> x.isActive === IsActive.Active); - this.listingItems.push(item); - } - if (item.description){ - if (item.description.status != DescriptionStatusEnum.Canceled) this.listingItems.push(item); - } - }) - - if (this.lookup.page.offset != 0 && response.length > 0 && this.listingItems.length >= this.currentPage*this.pageSize) this._setPage(this.currentPage+1); - else this._resetPagination(); - }, - error => this.httpErrorHandlingService.handleBackedRequestError(error)); + this.loading = false; + }, + error: (error) => {this.loading = false; this.httpErrorHandlingService.handleBackedRequestError(error)} + }); } private _resetPagination(): void { diff --git a/frontend/src/app/ui/description/editor/description-editor.component.html b/frontend/src/app/ui/description/editor/description-editor.component.html index 1f4cf1124..37bda7373 100644 --- a/frontend/src/app/ui/description/editor/description-editor.component.html +++ b/frontend/src/app/ui/description/editor/description-editor.component.html @@ -30,7 +30,7 @@
- @@ -46,12 +46,12 @@
-
- - - - + + +
@@ -131,29 +131,26 @@
- -
- -
-
-
{{'DESCRIPTION-EDITOR.TOC.NEXT' | translate}}
- chevron_right -
-
-
-
-
{{'DESCRIPTION-EDITOR.TOC.NEXT' | translate}}
- chevron_right -
-
-
-
+
+ @if(reachedLast){ + @if(!isLocked && formGroup.get('descriptionTemplateId').value && !viewOnly) { + + } + }@else{ + + } +
+
diff --git a/frontend/src/app/ui/description/editor/description-editor.component.scss b/frontend/src/app/ui/description/editor/description-editor.component.scss index df3c5a945..54ecc8eee 100644 --- a/frontend/src/app/ui/description/editor/description-editor.component.scss +++ b/frontend/src/app/ui/description/editor/description-editor.component.scss @@ -58,7 +58,7 @@ text-transform: uppercase; } - .export-btn { + .stepper-btn { padding-right: 6px; } @@ -141,57 +141,16 @@ white-space: nowrap; } - .discard-btn { - background: transparent; - border: 1px solid #ffffff; - color: white; - border-radius: 30px; - opacity: 1; - width: 110px; - height: 40px; - display: flex; - justify-content: center; - align-items: center; - } - - .save-btn { - background: #ffffff 0% 0% no-repeat padding-box; - border-radius: 30px; - opacity: 1; - width: auto; - min-width: 110px; - height: 40px; - display: flex; - justify-content: center; - align-items: center; - font-weight: 700; - color: var(--primary-color); - } .description-discard-btn { border: 1px solid #212121; - border-radius: 30px; - opacity: 1; background-color: transparent; font-weight: 700; - width: 110px; - height: 40px; display: flex; justify-content: center; align-items: center; } - .description-save-btn, .description-export-btn { - background: #ffffff 0% 0% no-repeat padding-box; - border-radius: 30px; - opacity: 1; - width: auto; - min-width: 110px; - height: 40px; - display: flex; - justify-content: center; - align-items: center; - } .description-to-plan { display: flex; @@ -361,17 +320,6 @@ margin-bottom: 0.5rem; } - .stepper-btn { - border-radius: 30px; - opacity: 1; - width: 154px; - height: 40px; - display: flex; - justify-content: center; - align-items: center; - font-size: 14px; - } - .previous { color: #212121; background: #f5f5f5 0% 0% no-repeat padding-box; @@ -381,15 +329,6 @@ cursor: pointer; } - .add-description-btn { - background: var(--secondary-color) 0% 0% no-repeat padding-box; - box-shadow: 0px 3px 6px #1e202029; - font-weight: 500; - word-wrap: break-word; - white-space: normal; - line-height: normal; - } - .next { background: var(--primary-color) 0% 0% no-repeat padding-box; color: white; diff --git a/frontend/src/app/ui/description/editor/description-form/components/form-field-set/dialog-editor/form-fieldset-editor-dialog.component.html b/frontend/src/app/ui/description/editor/description-form/components/form-field-set/dialog-editor/form-fieldset-editor-dialog.component.html index 5ac1c3677..30e07a255 100644 --- a/frontend/src/app/ui/description/editor/description-form/components/form-field-set/dialog-editor/form-fieldset-editor-dialog.component.html +++ b/frontend/src/app/ui/description/editor/description-form/components/form-field-set/dialog-editor/form-fieldset-editor-dialog.component.html @@ -3,8 +3,10 @@
{{numberingText}} {{fieldSet.title}}
-
- close +
+
@@ -27,6 +29,6 @@
-
-
+
+
diff --git a/frontend/src/app/ui/description/editor/new-description/new-description.component.html b/frontend/src/app/ui/description/editor/new-description/new-description.component.html index 631038094..7e4478535 100644 --- a/frontend/src/app/ui/description/editor/new-description/new-description.component.html +++ b/frontend/src/app/ui/description/editor/new-description/new-description.component.html @@ -1,7 +1,11 @@
{{'NEW-DESCRIPTION-DIALOG.TITLE' | translate}} - close + + +
@@ -34,9 +38,9 @@
- +
{{'NEW-DESCRIPTION-DIALOG.OR' | translate}}
- +
@@ -62,13 +66,13 @@
- +
- +
diff --git a/frontend/src/app/ui/description/editor/new-description/new-description.component.scss b/frontend/src/app/ui/description/editor/new-description/new-description.component.scss index db6af9d12..f1065963f 100644 --- a/frontend/src/app/ui/description/editor/new-description/new-description.component.scss +++ b/frontend/src/app/ui/description/editor/new-description/new-description.component.scss @@ -16,42 +16,10 @@ text-overflow: ellipsis; } - .close-icon { - cursor: pointer; - margin-right: 20px; - } - - .close-icon:hover { - background-color: #fefefe6e !important; - border-radius: 50%; - } - .definition-content { display: block; margin: 0; padding: 25px; } - - .empty-btn, .prefill-btn { - background: var(--secondary-color) 0 0 no-repeat padding-box; - border: 1px solid var(--secondary-color); - border-radius: 30px; - opacity: 1; - min-width: 101px; - height: 43px; - color: #212121; - font-weight: 500; - } - - .prefill-btn:disabled { - background: #a1a1a1 0 0 no-repeat padding-box; - border: 1px solid #a1a1a1; - opacity: 0.5; - } - - .empty-btn { - background: #ffffff 0 0 no-repeat padding-box; - border: 1px solid #a1a1a1; - } } diff --git a/frontend/src/app/ui/description/listing/description-listing.component.html b/frontend/src/app/ui/description/listing/description-listing.component.html index e7ebbb14d..a5a8684ec 100644 --- a/frontend/src/app/ui/description/listing/description-listing.component.html +++ b/frontend/src/app/ui/description/listing/description-listing.component.html @@ -6,7 +6,7 @@

{{'DESCRIPTION-LISTING.TEXT-INFO' | translate}} {{'DESCRIPTION-LISTING.LINK-PUBLIC-DESCRIPTIONS' | translate}} {{'DESCRIPTION-LISTING.TEXT-INFO-REST' | translate}}

{{'DESCRIPTION-LISTING.TEXT-INFO-PAR' | translate}}

- @@ -18,7 +18,7 @@
-
@@ -82,7 +82,7 @@ >
- +
diff --git a/frontend/src/app/ui/description/listing/description-listing.component.scss b/frontend/src/app/ui/description/listing/description-listing.component.scss index 14aa43473..6957ce2a8 100644 --- a/frontend/src/app/ui/description/listing/description-listing.component.scss +++ b/frontend/src/app/ui/description/listing/description-listing.component.scss @@ -72,39 +72,6 @@ padding: 0.4rem; } -.normal-btn { - min-width: 162px; - max-width: 256px; - height: 40px; - cursor: pointer; - background: var(--primary-color) 0% 0% no-repeat padding-box; - box-shadow: 0px 3px 6px #1e202029; - border-radius: 30px; - border: none; - color: #ffffff; - opacity: 1; - line-height: 1; - font-size: 0.87rem; - padding: 0.62rem 1.87rem; - margin-left: 40px; -} - -.yellow-btn { - min-width: 162px; - max-width: 256px; - height: 40px; - cursor: pointer; - background: var(--secondary-color) 0% 0% no-repeat padding-box; - border-radius: 30px; - opacity: 1; - border: none; - color: #000000; - opacity: 1; - line-height: 1; - font-size: 0.87rem; - padding: 0.62rem 1.87rem; - font-weight: 700; -} .info-text { text-align: left; @@ -134,6 +101,19 @@ height: 45px; } +.btn-load-more { + border: 2px solid #212121; + opacity: 1; + min-width: 132px; + width: auto; + margin-top: 4.125rem; +} + +.btn-load-more:hover { + background-color: black; + color: white; +} + .center-content { font-size: 0.875rem; font-weight: 600; diff --git a/frontend/src/app/ui/description/listing/filtering/description-filter.component.html b/frontend/src/app/ui/description/listing/filtering/description-filter.component.html index abef5fa26..e493dbcca 100644 --- a/frontend/src/app/ui/description/listing/filtering/description-filter.component.html +++ b/frontend/src/app/ui/description/listing/filtering/description-filter.component.html @@ -127,11 +127,11 @@
- -
diff --git a/frontend/src/app/ui/description/start-new-description-dialog/start-new-description-dialog.component.html b/frontend/src/app/ui/description/start-new-description-dialog/start-new-description-dialog.component.html index ec8435336..4fe431f0c 100644 --- a/frontend/src/app/ui/description/start-new-description-dialog/start-new-description-dialog.component.html +++ b/frontend/src/app/ui/description/start-new-description-dialog/start-new-description-dialog.component.html @@ -25,8 +25,7 @@
- - +
diff --git a/frontend/src/app/ui/description/start-new-description-dialog/start-new-description-dialog.component.scss b/frontend/src/app/ui/description/start-new-description-dialog/start-new-description-dialog.component.scss index e74c24c89..06942d777 100644 --- a/frontend/src/app/ui/description/start-new-description-dialog/start-new-description-dialog.component.scss +++ b/frontend/src/app/ui/description/start-new-description-dialog/start-new-description-dialog.component.scss @@ -60,31 +60,20 @@ min-width: 101px; font-weight: 500; } -.next-btn { - background: #ffffff 0% 0% no-repeat padding-box; - border: 1px solid var(--primary-color); - border-radius: 30px; - opacity: 1; - min-width: 101px; - height: 43px; - color: var(--primary-color); - font-weight: 500; -} - .next-btn:hover { background-color: var(--primary-color); color: white; } -.disabled-btn { - border: 1px solid #b5b5b5; - border-radius: 30px; - opacity: 1; -min-width: 101px; - height: 43px; - color: #b5b5b5; - font-weight: 500; -} +// .disabled-btn { +// border: 1px solid #b5b5b5; +// border-radius: 30px; +// opacity: 1; +// min-width: 101px; +// height: 43px; +// color: #b5b5b5; +// font-weight: 500; +// } .actions { display: flex; diff --git a/frontend/src/app/ui/glossary/dialog/glossary-dialog.component.html b/frontend/src/app/ui/glossary/dialog/glossary-dialog.component.html index 674bc6d88..05640d396 100644 --- a/frontend/src/app/ui/glossary/dialog/glossary-dialog.component.html +++ b/frontend/src/app/ui/glossary/dialog/glossary-dialog.component.html @@ -3,8 +3,10 @@
{{'GLOSSARY.TITLE' | translate}}
-
- close +
+
diff --git a/frontend/src/app/ui/glossary/dialog/glossary-dialog.component.scss b/frontend/src/app/ui/glossary/dialog/glossary-dialog.component.scss index 541a908f9..452657901 100644 --- a/frontend/src/app/ui/glossary/dialog/glossary-dialog.component.scss +++ b/frontend/src/app/ui/glossary/dialog/glossary-dialog.component.scss @@ -7,11 +7,6 @@ .full-width { width: 100%; } - -.close-btn { - cursor: pointer; -} - .glossary { margin-bottom: 1.125rem; } diff --git a/frontend/src/app/ui/language/dialog/language-dialog.component.html b/frontend/src/app/ui/language/dialog/language-dialog.component.html index e4982c2a1..a3151ffa9 100644 --- a/frontend/src/app/ui/language/dialog/language-dialog.component.html +++ b/frontend/src/app/ui/language/dialog/language-dialog.component.html @@ -3,8 +3,10 @@
{{'LANGUAGE.TITLE' | translate}}
-
- close +
+
diff --git a/frontend/src/app/ui/navbar/navbar.component.html b/frontend/src/app/ui/navbar/navbar.component.html index 9a78b5328..5929882f0 100644 --- a/frontend/src/app/ui/navbar/navbar.component.html +++ b/frontend/src/app/ui/navbar/navbar.component.html @@ -18,13 +18,13 @@
diff --git a/frontend/src/app/ui/plan/listing/plan-listing.component.html b/frontend/src/app/ui/plan/listing/plan-listing.component.html index 2bc2b7660..c2f058963 100644 --- a/frontend/src/app/ui/plan/listing/plan-listing.component.html +++ b/frontend/src/app/ui/plan/listing/plan-listing.component.html @@ -67,7 +67,7 @@ >
- +
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 4332f4966..23e2d3791 100644 --- a/frontend/src/app/ui/plan/listing/plan-listing.component.scss +++ b/frontend/src/app/ui/plan/listing/plan-listing.component.scss @@ -134,38 +134,17 @@ padding: 0.4rem; } -.normal-btn { - min-width: 162px; - max-width: 256px; - height: 40px; - cursor: pointer; - background: var(--primary-color) 0% 0% no-repeat padding-box; - box-shadow: 0px 3px 6px #1e202029; - border-radius: 30px; - border: none; - color: #ffffff; - opacity: 1; - line-height: 1; - font-size: 0.87rem; - padding: 0.62rem 1.87rem; - margin-left: 40px; +.btn-load-more { + border: 2px solid #212121; + opacity: 1; + min-width: 132px; + width: auto; + margin-top: 4.125rem; } -.yellow-btn { - min-width: 162px; - max-width: 256px; - height: 40px; - cursor: pointer; - background: var(--secondary-color) 0% 0% no-repeat padding-box; - border-radius: 30px; - opacity: 1; - border: none; - color: #000000; - opacity: 1; - line-height: 1; - font-size: 0.87rem; - padding: 0.62rem 1.87rem; - margin-left: 40px; +.btn-load-more:hover { + background-color: black; + color: white; } .info-text { 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 d09ef4772..52a199e65 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 @@ -17,7 +17,7 @@
- @@ -28,7 +28,7 @@
- diff --git a/frontend/src/app/ui/plan/new/start-new-plan-dialogue/start-new-plan-dialog.component.scss b/frontend/src/app/ui/plan/new/start-new-plan-dialogue/start-new-plan-dialog.component.scss index 5f5056547..aa272281c 100644 --- a/frontend/src/app/ui/plan/new/start-new-plan-dialogue/start-new-plan-dialog.component.scss +++ b/frontend/src/app/ui/plan/new/start-new-plan-dialogue/start-new-plan-dialog.component.scss @@ -58,7 +58,6 @@ background-color: white; color: #212121; font-weight: bold; - box-shadow: 0px 3px 6px #1e202029; border: 2px solid #212121; } diff --git a/frontend/src/app/ui/plan/new/upload-dialogue/plan-upload-dialog.component.html b/frontend/src/app/ui/plan/new/upload-dialogue/plan-upload-dialog.component.html index 3fab18a32..c1b18c3ad 100644 --- a/frontend/src/app/ui/plan/new/upload-dialogue/plan-upload-dialog.component.html +++ b/frontend/src/app/ui/plan/new/upload-dialogue/plan-upload-dialog.component.html @@ -3,8 +3,10 @@

{{'PLAN-UPLOAD.TITLE' | translate}}

-
- close +
+
diff --git a/frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.html b/frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.html index 30a4c19a5..7f37d6c93 100644 --- a/frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.html +++ b/frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.html @@ -12,7 +12,7 @@
- @@ -26,16 +26,16 @@
-
- -
- +
- - + +
@@ -105,7 +105,9 @@
- +
@@ -113,7 +115,7 @@

{{'PLAN-EDITOR.ACTIONS.OR-CONTINUE-WITH' | translate}}

- +
@@ -170,16 +172,16 @@
- +
-
+
+ chevron_right +
diff --git a/frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.scss b/frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.scss index d7a1d0de9..3777d89e1 100644 --- a/frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.scss +++ b/frontend/src/app/ui/plan/plan-editor-blueprint/plan-editor.component.scss @@ -254,24 +254,6 @@ mat-icon.size-16 { height: calc(100vh - 250px); } -.action-btn { - border-radius: 30px; - background-color: var(--secondary-color); - border: 1px solid transparent; - padding-left: 2em; - padding-right: 2em; - box-shadow: 0px 3px 6px #1E202029; - - transition-property: background-color, color; - transition-duration: 200ms; - transition-delay: 50ms; - transition-timing-function: ease-in-out; - &:disabled{ - background-color: #CBCBCB; - color: #FFF; - border: 0px; - } -} .blueprint-section { text-align: left; @@ -291,10 +273,7 @@ mat-icon.size-16 { background: transparent; border: 1px solid #ffffff; color: white; - border-radius: 30px; - opacity: 1; width: 110px; - height: 40px; display: flex; justify-content: center; align-items: center; diff --git a/frontend/src/app/ui/plan/plan-finalize-dialog/plan-finalize-dialog.component.html b/frontend/src/app/ui/plan/plan-finalize-dialog/plan-finalize-dialog.component.html index f6058c171..606677774 100644 --- a/frontend/src/app/ui/plan/plan-finalize-dialog/plan-finalize-dialog.component.html +++ b/frontend/src/app/ui/plan/plan-finalize-dialog/plan-finalize-dialog.component.html @@ -1,12 +1,14 @@
{{ 'PLAN-FINALISE-DIALOG.TITLE' | translate }}
-
- close +
+
-
+
@@ -56,18 +58,16 @@
- - + @if(isPlanValid == false){ + {{ 'PLAN-FINALISE-DIALOG.VALIDATION.INVALID-PLAN' | translate }} - -
- - {{error}} - -
-
-
+ @for(error of planErrors; track error){ + + {{error | titlecase}} + + } + } {{'PLAN-FINALISE-DIALOG.VALIDATION.AT-LEAST-ONE-DESCRPIPTION-FINALISED' | translate}} @@ -87,10 +87,10 @@
- +
- +
diff --git a/frontend/src/app/ui/reference/reference-field/editor/reference-dialog-editor.component.html b/frontend/src/app/ui/reference/reference-field/editor/reference-dialog-editor.component.html index 1a2965162..a8dc5fc90 100644 --- a/frontend/src/app/ui/reference/reference-field/editor/reference-dialog-editor.component.html +++ b/frontend/src/app/ui/reference/reference-field/editor/reference-dialog-editor.component.html @@ -64,7 +64,7 @@ -
-
+
+
diff --git a/frontend/src/app/ui/sidebar/sidebar.component.ts b/frontend/src/app/ui/sidebar/sidebar.component.ts index ec1cb7dd8..00ce2f854 100644 --- a/frontend/src/app/ui/sidebar/sidebar.component.ts +++ b/frontend/src/app/ui/sidebar/sidebar.component.ts @@ -114,10 +114,8 @@ export class SidebarComponent implements OnInit { routes: [], } if (this.authentication.hasPermission(AppPermission.ViewPlanBlueprintPage)) this.adminItems.routes.push({ path: '/plan-blueprints', title: 'SIDE-BAR.PLAN-BLUEPRINTS', icon: 'library_books', routeType: RouteType.System }); - if (this.authentication.hasPermission(AppPermission.ViewPlanStatusPage)) this.adminItems.routes.push({ path: '/plan-statuses', title: 'SIDE-BAR.PLAN-STATUSES', icon: 'library_books', routeType: RouteType.System }); if (this.authentication.hasPermission(AppPermission.ViewDescriptionTemplatePage)) this.adminItems.routes.push({ path: '/description-templates', title: 'SIDE-BAR.DESCRIPTION-TEMPLATES', icon: 'description', routeType: RouteType.System }); if (this.authentication.hasPermission(AppPermission.ViewDescriptionTemplateTypePage)) this.adminItems.routes.push({ path: '/description-template-type', title: 'SIDE-BAR.DESCRIPTION-TEMPLATE-TYPES', icon: 'stack', routeType: RouteType.System }); - if (this.authentication.hasPermission(AppPermission.ViewDescriptionStatusPage)) this.adminItems.routes.push({ path: '/description-statuses', title: 'SIDE-BAR.DESCRIPTION-STATUSES', icon: 'description', routeType: RouteType.System }); if (this.authentication.hasPermission(AppPermission.ViewEntityLockPage)) this.adminItems.routes.push({ path: '/entity-locks', title: 'SIDE-BAR.ENTITY-LOCKS', icon: 'lock_person', routeType: RouteType.System }); if (this.authentication.hasPermission(AppPermission.ViewReferencePage)) this.adminItems.routes.push({ path: '/references', title: 'SIDE-BAR.REFERENCES', icon: 'dataset_linked', routeType: RouteType.System }); if (this.authentication.hasPermission(AppPermission.ViewReferenceTypePage)) this.adminItems.routes.push({ path: '/reference-type', title: 'SIDE-BAR.REFERENCE-TYPES', icon: 'add_link', routeType: RouteType.System }); @@ -133,6 +131,8 @@ export class SidebarComponent implements OnInit { if (this.authentication.hasPermission(AppPermission.ViewNotificationPage)) this.adminItems.routes.push({ path: '/notifications', title: 'SIDE-BAR.NOTIFICATIONS', icon: 'notifications', routeType: RouteType.System }); if (this.authentication.hasPermission(AppPermission.ViewStatusPage)) this.adminItems.routes.push({ path: '/annotation-statuses', title: 'SIDE-BAR.ANNOTATION-STATUSES', icon: 'notifications', routeType: RouteType.System }); if (this.authentication.hasPermission(AppPermission.ViewMaintenancePage)) this.adminItems.routes.push({ path: '/maintenance-tasks', title: 'SIDE-BAR.MAINTENANCE', icon: 'build', routeType: RouteType.System }); + if (this.authentication.hasPermission(AppPermission.ViewPlanStatusPage)) this.adminItems.routes.push({ path: '/plan-statuses', title: 'SIDE-BAR.PLAN-STATUSES', icon: 'library_books', routeType: RouteType.System }); + if (this.authentication.hasPermission(AppPermission.ViewDescriptionStatusPage)) this.adminItems.routes.push({ path: '/description-statuses', title: 'SIDE-BAR.DESCRIPTION-STATUSES', icon: 'description', routeType: RouteType.System }); this.groupMenuItems.push(this.adminItems); let infoItems: RouteInfo[] = this.configurationService?.sidebar?.infoItems.map(infoItem => { diff --git a/frontend/src/app/ui/user-guide/dialog/user-guide-dialog.component.html b/frontend/src/app/ui/user-guide/dialog/user-guide-dialog.component.html index cf81f4e8e..f51a186d2 100644 --- a/frontend/src/app/ui/user-guide/dialog/user-guide-dialog.component.html +++ b/frontend/src/app/ui/user-guide/dialog/user-guide-dialog.component.html @@ -3,8 +3,10 @@
{{'GUIDE.TITLE' | translate}}
-
- close +
+
diff --git a/frontend/src/app/ui/user-profile/add-account/add-account-dialog.component.html b/frontend/src/app/ui/user-profile/add-account/add-account-dialog.component.html index 7532280de..e90b8a9da 100644 --- a/frontend/src/app/ui/user-profile/add-account/add-account-dialog.component.html +++ b/frontend/src/app/ui/user-profile/add-account/add-account-dialog.component.html @@ -25,10 +25,10 @@
- +
- +
diff --git a/frontend/src/app/ui/user-profile/user-profile.component.html b/frontend/src/app/ui/user-profile/user-profile.component.html index ab903f00e..b412fa774 100644 --- a/frontend/src/app/ui/user-profile/user-profile.component.html +++ b/frontend/src/app/ui/user-profile/user-profile.component.html @@ -188,7 +188,7 @@
-
+
diff --git a/frontend/src/app/ui/user-profile/user-profile.component.scss b/frontend/src/app/ui/user-profile/user-profile.component.scss index 4e72983f6..2d74a8c58 100644 --- a/frontend/src/app/ui/user-profile/user-profile.component.scss +++ b/frontend/src/app/ui/user-profile/user-profile.component.scss @@ -103,49 +103,6 @@ border-radius: 30px; } -.save-btn { - background: var(--primary-color) 0% 0% no-repeat padding-box; - border-radius: 30px; - opacity: 1; - width: auto; - min-width: 110px; - height: 40px; - display: flex; - justify-content: center; - align-items: center; - font-weight: 700; - color: #ffffff; - cursor: pointer; -} - -.default-btn { - background: #ffffff 0% 0% no-repeat padding-box; - box-shadow: 0px 3px 6px #1e202029; - border: 1px solid #b5b5b5; - border-radius: 30px; - opacity: 1; - min-width: 162px; - max-width: 256px; - height: 40px; - color: #212121; - font-size: 0.87rem; - font-weight: 500; -} - -.accent-btn { - background: #ffffff 0% 0% no-repeat padding-box; - box-shadow: 0px 3px 6px #1e202029; - border: 1px solid #b5b5b5; - border-radius: 30px; - opacity: 1; - min-width: 162px; - max-width: 256px; - height: 40px; - color: var(--primary-color); - font-size: 0.87rem; - font-weight: 500; -} - .vertical-line { border-left: 2px solid var(--primary-color); } diff --git a/frontend/src/assets/css/demo.css b/frontend/src/assets/css/demo.css index c95ed71c0..a30564fd1 100644 --- a/frontend/src/assets/css/demo.css +++ b/frontend/src/assets/css/demo.css @@ -558,65 +558,6 @@ hr { z-index: 1; } -.normal-btn { - min-width: 162px; - max-width: 256px; - height: 40px; - cursor: pointer; - background: var(--primary-color) 0% 0% no-repeat padding-box; - box-shadow: 0px 3px 6px #1E202029; - border-radius: 30px; - border: none; - color: #FFFFFF; - opacity: 1; - font-size: 0.87rem; - padding: 0.62rem 1.87rem; -} - -.default-btn { - background: #ffffff 0% 0% no-repeat padding-box; - box-shadow: 0px 3px 6px #1E202029; - border: 1px solid #B5B5B5; - border-radius: 30px; - opacity: 1; - min-width: 162px; - max-width: 256px; - height: 40px; - color: #212121; - font-size: 0.87rem; - font-weight: 500; -} - -.normal-btn-sm { - min-width: 100px; - max-width: 256px; - height: 40px; - cursor: pointer; - background: var(--primary-color) 0% 0% no-repeat padding-box; - box-shadow: 0px 3px 6px #1E202029; - border-radius: 30px; - border: none; - color: #FFFFFF; - opacity: 1; - font-size: 0.87rem; - padding: 0.62rem 1.87rem; - font-weight: 400; -} - -.normal-btn-light-sm { - background: #ffffff 0% 0% no-repeat padding-box; - box-shadow: 0px 3px 6px #1E202029; - border: 1px solid var(--primary-color); - border-radius: 30px; - opacity: 1; - min-width: 100px; - max-width: 256px; - height: 40px; - color: var(--primary-color); - font-size: 0.87rem; - font-weight: 400; -} - .mirror { -webkit-transform: scaleX(-1); transform: scaleX(-1); diff --git a/frontend/src/assets/i18n/en.json b/frontend/src/assets/i18n/en.json index 26e5f8394..12cdce03f 100644 --- a/frontend/src/assets/i18n/en.json +++ b/frontend/src/assets/i18n/en.json @@ -206,7 +206,7 @@ "LIKE": "Search..." }, "START-NEW-PLAN-DIALOG": { - "UPLOAD-FILE": "Upoad File", + "UPLOAD-FILE": "Upload File", "REPLACE-FILE": "Replace File" } }, diff --git a/frontend/src/common/modules/multiple-choice-dialog/multiple-choice-dialog.component.html b/frontend/src/common/modules/multiple-choice-dialog/multiple-choice-dialog.component.html index 8daf2674f..4c2576b99 100644 --- a/frontend/src/common/modules/multiple-choice-dialog/multiple-choice-dialog.component.html +++ b/frontend/src/common/modules/multiple-choice-dialog/multiple-choice-dialog.component.html @@ -4,15 +4,19 @@ {{ data.icon }}
{{ data.warning }}
-
- close +
+
{{ data.message }}
-
- close +
+
@@ -30,7 +34,7 @@
- +
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 079c56a08..d903a2bfa 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 @@ -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 582bf465c..30bba868e 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 @@
-
-
diff --git a/frontend/src/notification-service/ui/admin/tenant-configuration/notifier-list/notifier-list-editor.component.html b/frontend/src/notification-service/ui/admin/tenant-configuration/notifier-list/notifier-list-editor.component.html index b6f75150b..77ea9e7be 100644 --- a/frontend/src/notification-service/ui/admin/tenant-configuration/notifier-list/notifier-list-editor.component.html +++ b/frontend/src/notification-service/ui/admin/tenant-configuration/notifier-list/notifier-list-editor.component.html @@ -19,11 +19,13 @@
-
-
diff --git a/frontend/src/notification-service/ui/inapp-notification/editor/inapp-notification-editor.component.html b/frontend/src/notification-service/ui/inapp-notification/editor/inapp-notification-editor.component.html index 263b94569..6143c57a2 100644 --- a/frontend/src/notification-service/ui/inapp-notification/editor/inapp-notification-editor.component.html +++ b/frontend/src/notification-service/ui/inapp-notification/editor/inapp-notification-editor.component.html @@ -12,8 +12,16 @@
-
-
+
+ +
+
+ +
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 1179ae876..29c00ed1a 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 @@ -42,12 +42,12 @@
-
-
diff --git a/frontend/src/notification-service/ui/inapp-notification/listing/mine-inapp-notification-listing.component.scss b/frontend/src/notification-service/ui/inapp-notification/listing/mine-inapp-notification-listing.component.scss index 951e433eb..61d228b5d 100644 --- a/frontend/src/notification-service/ui/inapp-notification/listing/mine-inapp-notification-listing.component.scss +++ b/frontend/src/notification-service/ui/inapp-notification/listing/mine-inapp-notification-listing.component.scss @@ -21,21 +21,7 @@ z-index: 5; } } - .create-btn { - border-radius: 30px; - background-color: var(--secondary-color); - padding-left: 2em; - padding-right: 2em; - - .button-text{ - display: inline-block; - } - } - - .dlt-btn { - color: rgba(0, 0, 0, 0.54); - } - + .status-chip{ border-radius: 20px; diff --git a/frontend/src/notification-service/ui/user-profile/notifier-list/user-profile-notifier-list-editor.component.html b/frontend/src/notification-service/ui/user-profile/notifier-list/user-profile-notifier-list-editor.component.html index 4b07cd778..84870091f 100644 --- a/frontend/src/notification-service/ui/user-profile/notifier-list/user-profile-notifier-list-editor.component.html +++ b/frontend/src/notification-service/ui/user-profile/notifier-list/user-profile-notifier-list-editor.component.html @@ -19,7 +19,7 @@
-
diff --git a/frontend/src/styles.scss b/frontend/src/styles.scss index 1b6da6617..0340b7e7d 100644 --- a/frontend/src/styles.scss +++ b/frontend/src/styles.scss @@ -8,6 +8,7 @@ --primary-color-2: #1E59B1; --primary-color-3: #246AD3; --secondary-color: #36900B; + --warning-color: #f44336; } // Define your theme with color palettes, typography and density @@ -66,7 +67,7 @@ $mat-typography: mat.m2-define-typography-config($font-family: 'Roboto, sans-ser $body-2: mat.m2-define-typography-level($font-size: 16px, $font-weight: 400, $font-family: 'Roboto, sans-serif;'), $body-1: mat.m2-define-typography-level($font-size: 18px, $font-weight: 400, $font-family: 'Roboto, sans-serif;'), // $caption: mat.m2-define-typography-level($font-size: 16px, $font-weight: Medium, $font-family: 'Roboto, sans-serif;'), - $button: mat.m2-define-typography-level($font-size: 16px, $font-weight: 500, $font-family: 'Roboto, sans-serif;'), + $button: mat.m2-define-typography-level($font-size: 0.87rem, $font-weight: 400, $font-family: 'Roboto, sans-serif;'), // Line-height must be unit-less fraction of the font-size. // $input: mat.m2-define-typography-level($font-size: inherit, $line-height: 1.125, $font-weight: 500, $font-family: 'Roboto, sans-serif;'), ); @@ -403,75 +404,78 @@ $mat-dark-theme: mat.m2-define-dark-theme((color: (primary: $mat-dark-theme-prim button,.mdc-button,.mat-mdc-button, .mdc-button:has(.material-icons,mat-icon,[matButtonIcon]), .md-button { &.rounded-btn{ - font-size: 0.87rem; padding: 0.62rem 1.87rem; height: 40px; - font-weight: 400; border-radius: 30px; - border: none; opacity: 1; // padding-left: 2em; // padding-right: 2em; box-shadow: 0px 3px 6px #1E202029; - &:hover { - box-shadow: var(--mdc-protected-button-hover-container-elevation-shadow); - } + &.primary { background: var(--primary-color) 0% 0% no-repeat padding-box; color: #ffffff; - } - &.secondary { - background: var(--secondary-color) 0% 0% no-repeat padding-box; - color: #000000; - } - - &.save-btn { - background: var(--secondary-color) 0% 0% no-repeat padding-box; - color: #000000; - padding-left: 2em; - padding-right: 2em; - &:disabled { - background-color: #CBCBCB; - color: #FFF; - border: 0px; - } - } - - &.cancel-btn { - background: #ffffff 0% 0% no-repeat padding-box; - border: 1px solid #b5b5b5; - padding-left: 2em; - padding-right: 2em; - &:disabled { - background-color: #CBCBCB; - color: #FFF; - border: 0px; - } - } - - // &.finalize-btn { - - // } - - &.delete-btn { - background: #ffffff; - color: #ba2c2c; - border: 1px solid #ba2c2c; - padding-left: 2em; - padding-right: 2em; - &:disabled { - background-color: #CBCBCB; - color: #FFF; - border: 0px; + border: none; + &:disabled, &.mat-mdc-button.mat-mdc-button-disabled{ + background: #CBCBCB; + color: #ffffff; + border: none; } } - &.mat-mdc-button.mat-mdc-button-disabled { - background-color: #CBCBCB; //!important - color: #FFF; //!important - border: 0px; //!important - } + &.secondary { + background: var(--secondary-color) 0% 0% no-repeat padding-box; + color: #000000; + border: none; + &:disabled, &.mat-mdc-button.mat-mdc-button-disabled{ + background: #CBCBCB; + color: #ffffff; + border: none; + } + } + + &.primary-inverted { + color: var(--primary-color); + border: 1px solid var(--primary-color); + background: #fafafafa; + &:disabled, &.mat-mdc-button.mat-mdc-button-disabled{ + border: 1px solid #CBCBCB; + color: #CBCBCB; + } + } + + + &.neutral{ + border: 1px solid #CBCBCB; + background: #fafafafa; + color: #000000; + &:disabled, &.mat-mdc-button.mat-mdc-button-disabled{ + color: #CBCBCB; + } + } + + &.delete { + background: var(--warning-color); + border: none; + color: #ffffff; + } + + &.delete-inverted { + background: #fafafafa; + border: 1px solid var(--warning-color); + color: var(--warning-color); + } + + &.import { + border: 1px solid #000000; + background: #fafafafa; + color: #000000; + } + + &.stepper { + width: 9rem; + } } } @@ -503,6 +507,7 @@ button,.mdc-button,.mat-mdc-button, .mdc-button:has(.material-icons,mat-icon,[ma } .status-chip { + width: fit-content; border-radius: 20px; padding-left: 1em; padding-right: 1em; @@ -519,7 +524,7 @@ button,.mdc-button,.mat-mdc-button, .mdc-button:has(.material-icons,mat-icon,[ma } &.status-chip-error { - color: #cf1407; + color: var(--warning-color); background: #ffe6e5 0% 0% no-repeat padding-box; } } @@ -536,3 +541,6 @@ button,.mdc-button,.mat-mdc-button, .mdc-button:has(.material-icons,mat-icon,[ma gap: 0.5rem; } +.gap-quarter-rem { + gap: 0.25rem; +} \ No newline at end of file