From 2efe8506ed082f645e9a2b67cead52c07122bcca Mon Sep 17 00:00:00 2001 From: romeonicholas Date: Mon, 30 Oct 2023 15:54:36 +0100 Subject: [PATCH] Remove hard-coded form stylings, consolidate into css form style --- .../create-project.component.html | 26 +++++------ .../create-model-base.component.html | 4 +- .../model-source/choose-source.component.html | 5 +-- .../manage-git-model.component.html | 2 +- .../manage-t4c-model.component.html | 2 +- frontend/src/styles.css | 45 +++++++++---------- 6 files changed, 40 insertions(+), 44 deletions(-) diff --git a/frontend/src/app/projects/create-project/create-project.component.html b/frontend/src/app/projects/create-project/create-project.component.html index 254c1fd5be..566d6c3509 100644 --- a/frontend/src/app/projects/create-project/create-project.component.html +++ b/frontend/src/app/projects/create-project/create-project.component.html @@ -11,7 +11,7 @@ >
- +

@@ -89,12 +89,11 @@

-
+
-
@@ -128,12 +127,13 @@ #model_creator >
-
+
-
-
-
- +
diff --git a/frontend/src/app/projects/models/create-model-base/create-model-base.component.html b/frontend/src/app/projects/models/create-model-base/create-model-base.component.html index 6d2de5a690..6e30907a3b 100644 --- a/frontend/src/app/projects/models/create-model-base/create-model-base.component.html +++ b/frontend/src/app/projects/models/create-model-base/create-model-base.component.html @@ -4,9 +4,9 @@ -->
- + -
+
Model name diff --git a/frontend/src/app/projects/models/model-source/choose-source.component.html b/frontend/src/app/projects/models/model-source/choose-source.component.html index 7963f4b6bf..54f8551012 100644 --- a/frontend/src/app/projects/models/model-source/choose-source.component.html +++ b/frontend/src/app/projects/models/model-source/choose-source.component.html @@ -5,10 +5,7 @@
- +
diff --git a/frontend/src/app/projects/models/model-source/git/manage-git-model/manage-git-model.component.html b/frontend/src/app/projects/models/model-source/git/manage-git-model/manage-git-model.component.html index 569147e990..849a650d2a 100644 --- a/frontend/src/app/projects/models/model-source/git/manage-git-model/manage-git-model.component.html +++ b/frontend/src/app/projects/models/model-source/git/manage-git-model/manage-git-model.component.html @@ -7,7 +7,7 @@ class="flex justify-center" *ngIf="(projectService.project$ | async) && (modelService.model$ | async)" > - +
diff --git a/frontend/src/app/projects/models/model-source/t4c/manage-t4c-model/manage-t4c-model.component.html b/frontend/src/app/projects/models/model-source/t4c/manage-t4c-model/manage-t4c-model.component.html index e51ce8b5d3..3247c1697f 100644 --- a/frontend/src/app/projects/models/model-source/t4c/manage-t4c-model/manage-t4c-model.component.html +++ b/frontend/src/app/projects/models/model-source/t4c/manage-t4c-model/manage-t4c-model.component.html @@ -7,7 +7,7 @@ *ngIf="(projectService.project$ | async) && (modelService.model$ | async)" class="wrapper flex justify-center" > - +
:not(.field-separator) { text-align: center; } -mat-card { +.mat-card-form { width: 420px; padding-bottom: 0px; margin-bottom: 0px; } +.link-container-beneath-form { + width: 420px; +} + +.outer-stepper { + width: 710px; +} + +.inner-stepper { + width: 680px; +} + +.nextline-stepper .mat-step-label.mat-step-label { + text-align: center; + text-overflow: inherit; + white-space: normal; +} + .margin.default { margin: 10px; } @@ -211,20 +225,6 @@ mat-card { margin: auto; } -.outer-stepper { - width: 710px; -} - -.inner-stepper { - width: 680px; -} - -.nextline-stepper .mat-step-label.mat-step-label { - text-align: center; - text-overflow: inherit; - white-space: normal; -} - /* Angular Material Card Styles */ @@ -237,9 +237,8 @@ Angular Material Card Styles margin-left: 50px; } -.sub-stepper-outside-button { - margin: -25px; - padding-bottom: 25px; +.sub-stepper-outside-link-container { + margin-top: -15px; } .mat-card-overview .content { @@ -294,7 +293,7 @@ Angular Material Card Styles } .form-field-default { - width: 405px; + width: 100%; max-width: 85vw; }