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 2e681f421..953b0aa1a 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 @@ -46,19 +46,4 @@ .attach-btn { top: -20px; -} - -.attach-file { - width: 156px; - height: 44px; - color: #ffffff; - background: var(--primary-color) 0% 0% no-repeat padding-box; - box-shadow: 0px 3px 6px #1e202029; - border-radius: 30px; -} - -.attach-file:hover { - background-color: #ffffff; - border: 1px solid var(--primary-color); - color: var(--primary-color); -} +} \ No newline at end of file diff --git a/frontend/src/app/ui/admin/plan-blueprint/listing/import-plan-blueprint/import-plan-blueprint.dialog.component.scss b/frontend/src/app/ui/admin/plan-blueprint/listing/import-plan-blueprint/import-plan-blueprint.dialog.component.scss index c79fa2851..0b4772fdb 100644 --- a/frontend/src/app/ui/admin/plan-blueprint/listing/import-plan-blueprint/import-plan-blueprint.dialog.component.scss +++ b/frontend/src/app/ui/admin/plan-blueprint/listing/import-plan-blueprint/import-plan-blueprint.dialog.component.scss @@ -82,20 +82,6 @@ min-width: 101px; top: -20px; } -.attach-file { - width: 156px; - height: 44px; - color: #ffffff; - background: var(--primary-color) 0% 0% no-repeat padding-box; - box-shadow: 0px 3px 6px #1e202029; - border-radius: 30px; -} - -.attach-file:hover { - background-color: #ffffff; - border: 1px solid var(--primary-color); - color: var(--primary-color); -} .close-btn:hover{ cursor: pointer; diff --git a/frontend/src/app/ui/admin/tenant-configuration/editor/logo/logo-editor.component.scss b/frontend/src/app/ui/admin/tenant-configuration/editor/logo/logo-editor.component.scss index 67a64bbdd..aac6fad40 100644 --- a/frontend/src/app/ui/admin/tenant-configuration/editor/logo/logo-editor.component.scss +++ b/frontend/src/app/ui/admin/tenant-configuration/editor/logo/logo-editor.component.scss @@ -2,18 +2,3 @@ .attach-btn { top: -20px; } - -.attach-file { - width: 156px; - height: 44px; - color: #ffffff; - background: var(--primary-color) 0% 0% no-repeat padding-box; - box-shadow: 0px 3px 6px #1e202029; - border-radius: 30px; -} - -.attach-file:hover { - background-color: #ffffff; - border: 1px solid var(--primary-color); - color: var(--primary-color); -} 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 e43e63e73..ed95af6ee 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 @@ -44,7 +44,7 @@
- +
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 aa2a0bc13..30ec96771 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 @@ -78,19 +78,6 @@ input[type="text"] { color: var(--primary-color) !important; } -.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; -} - .draft { color: #f16868; } diff --git a/frontend/src/app/ui/description/editor/description-form/components/form-field/form-field.component.html b/frontend/src/app/ui/description/editor/description-form/components/form-field/form-field.component.html index 1a5de3cf4..32013b6ef 100644 --- a/frontend/src/app/ui/description/editor/description-form/components/form-field/form-field.component.html +++ b/frontend/src/app/ui/description/editor/description-form/components/form-field/form-field.component.html @@ -140,12 +140,12 @@
- - diff --git a/frontend/src/app/ui/description/editor/description-form/components/form-field/form-field.component.scss b/frontend/src/app/ui/description/editor/description-form/components/form-field/form-field.component.scss index 0326f3911..daa2ebed0 100644 --- a/frontend/src/app/ui/description/editor/description-form/components/form-field/form-field.component.scss +++ b/frontend/src/app/ui/description/editor/description-form/components/form-field/form-field.component.scss @@ -34,27 +34,6 @@ top: -20px; } -.attach-file-btn { - min-width: 156px; - height: 44px; - color: #ffffff; - background: var(--primary-color) 0% 0% no-repeat padding-box; - box-shadow: 0px 3px 6px #1e202029; - border-radius: 30px; -} - -.attach-file-btn:hover { - background-color: #ffffff; - border: 1px solid var(--primary-color); - color: var(--primary-color); -} - -.attach-file-btn.mdc-button-disabled, .attach-file-btn.mdc-button-disabled:hover { - background-color: #ffffff; - border: 1px solid darkgray; - color: darkgrey !important; -} - .drop-file { background-color: #fafafa; border: 1px dashed #d1d1d1; 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 a5a8684ec..4864a2eb3 100644 --- a/frontend/src/app/ui/description/listing/description-listing.component.html +++ b/frontend/src/app/ui/description/listing/description-listing.component.html @@ -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 6957ce2a8..434916e35 100644 --- a/frontend/src/app/ui/description/listing/description-listing.component.scss +++ b/frontend/src/app/ui/description/listing/description-listing.component.scss @@ -101,19 +101,6 @@ 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/listing-item/description-listing-item.component.scss b/frontend/src/app/ui/description/listing/listing-item/description-listing-item.component.scss index 142a0a433..7b6720861 100644 --- a/frontend/src/app/ui/description/listing/listing-item/description-listing-item.component.scss +++ b/frontend/src/app/ui/description/listing/listing-item/description-listing-item.component.scss @@ -220,20 +220,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/plan/listing/listing-item/plan-listing-item.component.scss b/frontend/src/app/ui/plan/listing/listing-item/plan-listing-item.component.scss index 34b563de3..66974a038 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 @@ -240,20 +240,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/plan/listing/plan-listing.component.html b/frontend/src/app/ui/plan/listing/plan-listing.component.html index c2f058963..24eba51fe 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 23e2d3791..be7d785fa 100644 --- a/frontend/src/app/ui/plan/listing/plan-listing.component.scss +++ b/frontend/src/app/ui/plan/listing/plan-listing.component.scss @@ -134,18 +134,6 @@ padding: 0.4rem; } -.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; -} .info-text { text-align: left; 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 c1b18c3ad..ed11a7c07 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 @@ -25,7 +25,7 @@
- +
- +
diff --git a/frontend/src/app/ui/plan/new/upload-dialogue/plan-upload-dialog.component.scss b/frontend/src/app/ui/plan/new/upload-dialogue/plan-upload-dialog.component.scss index 880062b08..c3eb7e5d3 100644 --- a/frontend/src/app/ui/plan/new/upload-dialogue/plan-upload-dialog.component.scss +++ b/frontend/src/app/ui/plan/new/upload-dialogue/plan-upload-dialog.component.scss @@ -37,27 +37,7 @@ 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[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 { +.next-btn:hover { background-color: var(--primary-color); color: #ffffff; } @@ -66,21 +46,6 @@ min-width: 101px; top: -20px; } -.attach-file { - min-width: 156px; - height: 44px; - color: #ffffff; - background: var(--primary-color) 0% 0% no-repeat padding-box; - box-shadow: 0px 3px 6px #1e202029; - border-radius: 30px; -} - -.attach-file:hover { - background-color: #ffffff; - border: 1px solid var(--primary-color); - color: var(--primary-color); -} - .drop-file { background-color: #fafafa; border: 1px dashed #d1d1d1; diff --git a/frontend/src/styles.scss b/frontend/src/styles.scss index 0340b7e7d..7775478ed 100644 --- a/frontend/src/styles.scss +++ b/frontend/src/styles.scss @@ -402,7 +402,8 @@ $mat-dark-theme: mat.m2-define-dark-theme((color: (primary: $mat-dark-theme-prim @include mat.all-component-densities(-10); } -button,.mdc-button,.mat-mdc-button, .mdc-button:has(.material-icons,mat-icon,[matButtonIcon]), .md-button { +button, .mdc-button, .mat-mdc-button, .mdc-button:has(.material-icons,mat-icon,[matButtonIcon]), .md-button, .mat-mdc-button:not(:disabled) { + &.rounded-btn{ padding: 0.62rem 1.87rem; height: 40px; @@ -412,71 +413,104 @@ button,.mdc-button,.mat-mdc-button, .mdc-button:has(.material-icons,mat-icon,[ma // padding-left: 2em; // padding-right: 2em; box-shadow: 0px 3px 6px #1E202029; - - &.primary { - background: var(--primary-color) 0% 0% no-repeat padding-box; + } + &.primary { + background: var(--primary-color) 0% 0% no-repeat padding-box; + color: #ffffff; + border: none; + &:disabled, &.mat-mdc-button.mat-mdc-button-disabled{ + background: #CBCBCB; color: #ffffff; border: none; - &:disabled, &.mat-mdc-button.mat-mdc-button-disabled{ - background: #CBCBCB; - color: #ffffff; - border: none; - } - } - - &.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; } } + + &.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; + } + + + &.load-more { + border: 2px solid #212121; + min-width: 132px; + margin-top: 4.125rem; + + &:hover { + background-color: black; + color: white; + } + } + + &.attach-file { + min-width: 156px; + height: 44px; + color: #ffffff; + background: var(--primary-color) 0% 0% no-repeat padding-box; + box-shadow: 0px 3px 6px #1e202029; + border-radius: 30px; + &:hover { + background-color: #ffffff; + border: 1px solid var(--primary-color); + color: var(--primary-color); + } + + &.attach-file.mdc-button-disabled, &.attach-file.mdc-button-disabled:hover { + background-color: #ffffff; + border: 1px solid darkgray; + color: darkgrey !important; + } + } + + } .mdc-fab.mdc-fab--mini.mat-mdc-mini-fab { @@ -504,6 +538,7 @@ button,.mdc-button,.mat-mdc-button, .mdc-button:has(.material-icons,mat-icon,[ma color: #ffffff; } } + } .status-chip { @@ -529,6 +564,11 @@ button,.mdc-button,.mat-mdc-button, .mdc-button:has(.material-icons,mat-icon,[ma } } + +.pointer { + cursor: pointer; +} + .gap-1-rem{ gap: 1rem; }