diff --git a/frontend/src/app/app.component.scss b/frontend/src/app/app.component.scss index 4ee2f9252..c68b0caad 100644 --- a/frontend/src/app/app.component.scss +++ b/frontend/src/app/app.component.scss @@ -23,6 +23,12 @@ opacity: 1; } +@media (max-width: 500px) { + .sidenav { + width: 100% !important; + } +} + .sidenav-content { background-color: whitesmoke; } diff --git a/frontend/src/app/ui/dashboard/dashboard.component.html b/frontend/src/app/ui/dashboard/dashboard.component.html index 8c332c4b9..d6057ade9 100644 --- a/frontend/src/app/ui/dashboard/dashboard.component.html +++ b/frontend/src/app/ui/dashboard/dashboard.component.html @@ -54,7 +54,7 @@ - {{('ALT-TEXT.DASHBOARD-POPUP-IMAGE' | translate) ?? 'dashboard popup image' }} + {{('ALT-TEXT.DASHBOARD-POPUP-IMAGE' | translate) ?? 'dashboard popup image' }} diff --git a/frontend/src/app/ui/dashboard/dashboard.component.scss b/frontend/src/app/ui/dashboard/dashboard.component.scss index db898c1dc..4b28f6550 100644 --- a/frontend/src/app/ui/dashboard/dashboard.component.scss +++ b/frontend/src/app/ui/dashboard/dashboard.component.scss @@ -121,7 +121,7 @@ .plan-card, .description-card { - min-width: 712px; + min-width: min(100%, 712px); background: #ffffff 0% 0% no-repeat padding-box; box-shadow: 0px 3px 6px #0000001a; border-radius: 4px; diff --git a/frontend/src/app/ui/dashboard/dashboard.component.ts b/frontend/src/app/ui/dashboard/dashboard.component.ts index 3cba5ff49..099a8482c 100644 --- a/frontend/src/app/ui/dashboard/dashboard.component.ts +++ b/frontend/src/app/ui/dashboard/dashboard.component.ts @@ -112,7 +112,8 @@ export class DashboardComponent extends BaseComponent implements OnInit { disableClose: false, data: { isDialog: true - } + }, + maxWidth: '600px' }); } } @@ -140,7 +141,8 @@ export class DashboardComponent extends BaseComponent implements OnInit { data: { startNewPlan: false, formGroup: formGroup - } + }, + maxWidth: '600px' }); dialogRef.afterClosed().pipe(takeUntil(this._destroyed)).subscribe(result => { if (result) { 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 3faa82b3b..92caaa812 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 @@ -21,7 +21,7 @@
- + search {{formGroup.get('like').getError('backendError').message}} 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 3dd67d09e..1ce734102 100644 --- a/frontend/src/app/ui/description/editor/description-editor.component.html +++ b/frontend/src/app/ui/description/editor/description-editor.component.html @@ -6,7 +6,7 @@
-
+
@if(!viewOnly){
{{'DESCRIPTION-EDITOR.TITLE-ADD-DESCRIPTION' | translate}}
{{'DESCRIPTION-EDITOR.TITLE-EDIT-DESCRIPTION' | translate}}
@@ -16,7 +16,7 @@ }@else {
{{'DESCRIPTION-EDITOR.TITLE-PREVIEW-DESCRIPTION' | translate}}
} -
+
{{'DESCRIPTION-EDITOR.TO-PLAN' | translate}}
: {{ item?.plan?.label }}
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 b87ffc01e..71d388d94 100644 --- a/frontend/src/app/ui/description/editor/description-editor.component.scss +++ b/frontend/src/app/ui/description/editor/description-editor.component.scss @@ -93,7 +93,7 @@ .description-editor-header { height: 113px; - background: var(--unnamed-color-var(--primary-color)) 0% 0% no-repeat padding-box; + min-height: fit-content; background: var(--secondary-color) 0% 0% no-repeat padding-box; box-shadow: 0px 3px 6px #00000029; padding: 0.6rem; @@ -106,6 +106,7 @@ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; + min-width: min(100%, 13rem); } } @@ -376,4 +377,13 @@ mat-icon.size-18 { ::ng-deep label { margin: 0; -} \ No newline at end of file +} + +@media screen and (max-width: 430px){ + form{ + margin-top: 9rem; + } + .description-editor-form { + height: fit-content; + } +} diff --git a/frontend/src/app/ui/description/listing/description-listing.component.ts b/frontend/src/app/ui/description/listing/description-listing.component.ts index 4547ba18a..6c483cbe2 100644 --- a/frontend/src/app/ui/description/listing/description-listing.component.ts +++ b/frontend/src/app/ui/description/listing/description-listing.component.ts @@ -329,7 +329,8 @@ export class DescriptionListingComponent extends BaseListingComponent { if (result) { diff --git a/frontend/src/app/ui/description/listing/listing-item/description-listing-item.component.html b/frontend/src/app/ui/description/listing/listing-item/description-listing-item.component.html index a778d0289..faff4d4d6 100644 --- a/frontend/src/app/ui/description/listing/listing-item/description-listing-item.component.html +++ b/frontend/src/app/ui/description/listing/listing-item/description-listing-item.component.html @@ -1,6 +1,6 @@
-
+
{{'DESCRIPTION-LISTING.DESCRIPTION' | translate}}
@@ -25,7 +25,7 @@ . {{'DESCRIPTION-LISTING.GRANT' | translate}}: {{referenceService.getReferencesForTypesFirstSafe(description?.plan?.planReferences, [this.referenceTypeService.getGrantReferenceType()])?.reference?.label}}
-
+
{{'DESCRIPTION-LISTING.PART-OF' | translate}}
{{'DESCRIPTION-LISTING.PLAN' | translate}}
@@ -34,7 +34,7 @@
@@ -42,23 +42,26 @@ {{'DESCRIPTION-LISTING.ACTIONS.EXPORT' | translate}}
- group_add{{'DESCRIPTION-LISTING.ACTIONS.INVITE-SHORT' | translate}}
+ group_add{{'DESCRIPTION-LISTING.ACTIONS.INVITE-SHORT' | translate}} +
- file_copy{{'DESCRIPTION-LISTING.ACTIONS.COPY-DESCRIPTION' | translate}}
+ file_copy{{'DESCRIPTION-LISTING.ACTIONS.COPY-DESCRIPTION' | translate}} +
- delete{{ 'DESCRIPTION-LISTING.ACTIONS.DELETE' | translate }}
+ delete{{ 'DESCRIPTION-LISTING.ACTIONS.DELETE' | translate }} +
-
+
+
+
-
-

{{ 'START-NEW-PLAN-DIALOG.OR' | translate }}

+
+ {{ 'START-NEW-PLAN-DIALOG.OR' | translate }}
-
-
- -
+
+
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 c01e124ec..21bb812c0 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 @@ -4,14 +4,14 @@ } .start-new-plan-dialog-wrapper { - width: 33.0rem; + width: min(100%, 33rem); min-height: 14rem; padding: 0.28rem 0.34rem 0.875rem 0.625rem; } .form-container { - width: 33rem; - min-height: 14rem; + width: min(100%, 33rem); + min-height: min(100%, 14rem); padding: 0.28rem 0.34rem 0.875rem 0.625rem; } @@ -50,7 +50,7 @@ } .actions { - width: 26.667rem; + width: min(100%, 26.667rem); display: flex; flex-direction: row; justify-content: space-between; diff --git a/frontend/src/app/ui/plan/new/start-new-plan-dialogue/start-new-plan-dialog.component.ts b/frontend/src/app/ui/plan/new/start-new-plan-dialogue/start-new-plan-dialog.component.ts index 2954e0d57..2a8dcebe9 100644 --- a/frontend/src/app/ui/plan/new/start-new-plan-dialogue/start-new-plan-dialog.component.ts +++ b/frontend/src/app/ui/plan/new/start-new-plan-dialogue/start-new-plan-dialog.component.ts @@ -64,7 +64,7 @@ export class StartNewPlanDialogComponent extends BaseComponent { uploadFile(event) { const dialogRef = this.dialog.open(PlanUploadDialogComponent, { - width: '528px', + maxWidth: '528px', data: { fileList: FileList, success: Boolean, diff --git a/frontend/src/app/ui/plan/overview/plan-overview.component.html b/frontend/src/app/ui/plan/overview/plan-overview.component.html index c81fada05..4a95d432b 100644 --- a/frontend/src/app/ui/plan/overview/plan-overview.component.html +++ b/frontend/src/app/ui/plan/overview/plan-overview.component.html @@ -1,4 +1,4 @@ -
+
diff --git a/frontend/src/app/ui/plan/overview/plan-overview.component.scss b/frontend/src/app/ui/plan/overview/plan-overview.component.scss index 3377e4a48..89f209133 100644 --- a/frontend/src/app/ui/plan/overview/plan-overview.component.scss +++ b/frontend/src/app/ui/plan/overview/plan-overview.component.scss @@ -301,5 +301,15 @@ } .deleted-item { - color: #cf1407; + color: var(--warning-color); +} + +.plan-overview { + padding: 0 3rem; +} + +@media (max-width: 500px) { + .plan-overview{ + padding: 0; + } } \ No newline at end of file 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 1959fe5de..43440c71a 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 @@ -9,7 +9,7 @@
{{(canEdit ? 'PLAN-EDITOR.TITLE-EDIT' : 'PLAN-EDITOR.TITLE-PREVIEW') | translate}}
{{ formGroup.get('label').value }} ({{'PLAN-EDITOR.UNSAVED-CHANGES' | translate}})
-
+
-
+
@@ -18,8 +18,8 @@
-
-
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 20ccf925e..408d44a16 100644 --- a/frontend/src/app/ui/user-profile/user-profile.component.scss +++ b/frontend/src/app/ui/user-profile/user-profile.component.scss @@ -207,6 +207,10 @@ } } +.tenant-selection { + margin-right: 3rem; +} + ::ng-deep .name-form .mat-form-field-appearance-outline .mat-form-field-outline { background: #fafafa !important; } @@ -260,3 +264,17 @@ font-size: 1rem; padding: 0.6em 0 1em 0 !important; } + +@media screen and (max-width: 430px){ + .user-profile-title { + padding-left: 0 !important; + } + .profile-content { + margin-left: 0 !important; + margin-right: 0 !important; + } + + .tenant-selection{ + margin-right: 0 !important; + } +} \ No newline at end of file diff --git a/frontend/src/assets/i18n/baq.json b/frontend/src/assets/i18n/baq.json index 9ea852331..f3008be3c 100644 --- a/frontend/src/assets/i18n/baq.json +++ b/frontend/src/assets/i18n/baq.json @@ -2506,7 +2506,8 @@ "UNLINK-ACCOUNT": "Deslotu", "UNLINK-ACCOUNT-DISABLED": "Ezin duzu e-maila zure kontu nagusitik bereizi", "ADD": "Gehitu", - "CANCEL": "Ezeztatu" + "CANCEL": "Ezeztatu", + "REFRESH-TENANT": "Refresh tenant" } }, "PLAN-FINALISE-DIALOG": { diff --git a/frontend/src/assets/i18n/de.json b/frontend/src/assets/i18n/de.json index c383effd6..c74dae397 100644 --- a/frontend/src/assets/i18n/de.json +++ b/frontend/src/assets/i18n/de.json @@ -2509,7 +2509,8 @@ "UNLINK-ACCOUNT": "Unlink", "UNLINK-ACCOUNT-DISABLED": "You can't unlink your main profile's email", "ADD": "Add", - "CANCEL": "Cancel" + "CANCEL": "Cancel", + "REFRESH-TENANT": "Refresh tenant" } }, "PLAN-FINALISE-DIALOG": { diff --git a/frontend/src/assets/i18n/en.json b/frontend/src/assets/i18n/en.json index a0bc190e3..2e6f3feb0 100644 --- a/frontend/src/assets/i18n/en.json +++ b/frontend/src/assets/i18n/en.json @@ -2509,7 +2509,8 @@ "UNLINK-ACCOUNT": "Unlink", "UNLINK-ACCOUNT-DISABLED": "You can't unlink your main profile's email", "ADD": "Add", - "CANCEL": "Cancel" + "CANCEL": "Cancel", + "REFRESH-TENANT": "Refresh tenant" } }, "PLAN-FINALISE-DIALOG": { diff --git a/frontend/src/assets/i18n/es.json b/frontend/src/assets/i18n/es.json index 6a9823cf4..96cea1064 100644 --- a/frontend/src/assets/i18n/es.json +++ b/frontend/src/assets/i18n/es.json @@ -2509,7 +2509,8 @@ "UNLINK-ACCOUNT": "Unlink", "UNLINK-ACCOUNT-DISABLED": "You can't unlink your main profile's email", "ADD": "Añadir", - "CANCEL": "Cancelar" + "CANCEL": "Cancelar", + "REFRESH-TENANT": "Refresh tenant" } }, "PLAN-FINALISE-DIALOG": { diff --git a/frontend/src/assets/i18n/gr.json b/frontend/src/assets/i18n/gr.json index fdcc87f4e..4b752d612 100644 --- a/frontend/src/assets/i18n/gr.json +++ b/frontend/src/assets/i18n/gr.json @@ -2509,7 +2509,8 @@ "UNLINK-ACCOUNT": "Unlink", "UNLINK-ACCOUNT-DISABLED": "You can't unlink your main profile's email", "ADD": "Add", - "CANCEL": "Cancel" + "CANCEL": "Cancel", + "REFRESH-TENANT": "Refresh tenant" } }, "PLAN-FINALISE-DIALOG": { diff --git a/frontend/src/assets/i18n/hr.json b/frontend/src/assets/i18n/hr.json index d92cda4e9..b126f908e 100644 --- a/frontend/src/assets/i18n/hr.json +++ b/frontend/src/assets/i18n/hr.json @@ -2508,7 +2508,8 @@ "UNLINK-ACCOUNT": "Unlink", "UNLINK-ACCOUNT-DISABLED": "You can't unlink your main profile's email", "ADD": "Unesi", - "CANCEL": "Poništi" + "CANCEL": "Poništi", + "REFRESH-TENANT": "Refresh tenant" } }, "PLAN-FINALISE-DIALOG": { diff --git a/frontend/src/assets/i18n/pl.json b/frontend/src/assets/i18n/pl.json index c221f1e22..7bb60d205 100644 --- a/frontend/src/assets/i18n/pl.json +++ b/frontend/src/assets/i18n/pl.json @@ -2509,7 +2509,8 @@ "UNLINK-ACCOUNT": "Unlink", "UNLINK-ACCOUNT-DISABLED": "You can't unlink your main profile's email", "ADD": "Dodaj", - "CANCEL": "Anuluj" + "CANCEL": "Anuluj", + "REFRESH-TENANT": "Refresh tenant" } }, "PLAN-FINALISE-DIALOG": { diff --git a/frontend/src/assets/i18n/pt.json b/frontend/src/assets/i18n/pt.json index 4a22b4335..7d6ca22b3 100644 --- a/frontend/src/assets/i18n/pt.json +++ b/frontend/src/assets/i18n/pt.json @@ -2508,7 +2508,8 @@ "UNLINK-ACCOUNT": "Unlink", "UNLINK-ACCOUNT-DISABLED": "You can't unlink your main profile's email", "ADD": "Adicionar", - "CANCEL": "Cancelar" + "CANCEL": "Cancelar", + "REFRESH-TENANT": "Refresh tenant" } }, "PLAN-FINALISE-DIALOG": { diff --git a/frontend/src/assets/i18n/sk.json b/frontend/src/assets/i18n/sk.json index df9d0b494..5438d215c 100644 --- a/frontend/src/assets/i18n/sk.json +++ b/frontend/src/assets/i18n/sk.json @@ -2509,7 +2509,8 @@ "UNLINK-ACCOUNT": "Unlink", "UNLINK-ACCOUNT-DISABLED": "You can't unlink your main profile's email", "ADD": "Add", - "CANCEL": "Cancel" + "CANCEL": "Cancel", + "REFRESH-TENANT": "Refresh tenant" } }, "PLAN-FINALISE-DIALOG": { diff --git a/frontend/src/assets/i18n/sr.json b/frontend/src/assets/i18n/sr.json index 56234507f..1ba52a041 100644 --- a/frontend/src/assets/i18n/sr.json +++ b/frontend/src/assets/i18n/sr.json @@ -2509,7 +2509,8 @@ "UNLINK-ACCOUNT": "Unlink", "UNLINK-ACCOUNT-DISABLED": "You can't unlink your main profile's email", "ADD": "Add", - "CANCEL": "Cancel" + "CANCEL": "Cancel", + "REFRESH-TENANT": "Refresh tenant" } }, "PLAN-FINALISE-DIALOG": { diff --git a/frontend/src/assets/i18n/tr.json b/frontend/src/assets/i18n/tr.json index 2dccc3305..1ebc5466d 100644 --- a/frontend/src/assets/i18n/tr.json +++ b/frontend/src/assets/i18n/tr.json @@ -2509,7 +2509,8 @@ "UNLINK-ACCOUNT": "Unlink", "UNLINK-ACCOUNT-DISABLED": "You can't unlink your main profile's email", "ADD": "Ekle", - "CANCEL": "İptal" + "CANCEL": "İptal", + "REFRESH-TENANT": "Refresh tenant" } }, "PLAN-FINALISE-DIALOG": { diff --git a/frontend/src/styles.scss b/frontend/src/styles.scss index 80fb338de..66d4168f1 100644 --- a/frontend/src/styles.scss +++ b/frontend/src/styles.scss @@ -223,7 +223,7 @@ a { } .snackbar-error { - background-color: #cf1407; + background-color:var(--warning-color); color: #111010; } @@ -705,6 +705,9 @@ ul.unstyled-list { border: none; } +.laptop-img { + max-width: 100%; +} // .mat-checkbox-checked.mat-accent .mat-checkbox-background, .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background {