From db39ca0d216230a778a5c1ca00aa6ba45fcc488f Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Wed, 20 Jul 2022 15:17:49 +0200 Subject: [PATCH] Setup Screen: Initial styling and layout adjustments --- web/app/src/assets/base.css | 55 ------ web/app/src/views/FirstTimeWizardView.vue | 194 +++++++++++++++++++++- 2 files changed, 187 insertions(+), 62 deletions(-) diff --git a/web/app/src/assets/base.css b/web/app/src/assets/base.css index c9528131..188e1acf 100644 --- a/web/app/src/assets/base.css +++ b/web/app/src/assets/base.css @@ -578,58 +578,3 @@ span.state-transition-arrow.lazy { max-height: 100%; max-width: 100%; } - -/* ------------ First Time Wizard ------------ */ - -.first-time-wizard { - --color-check-failed: var(--color-status-failed); - --color-check-ok: var(--color-status-completed); - - /* TODO: this is not always the best layout, as the content will get shifted - * to the right on narrow media. It's probably better to just not use the - * 3-column layout for the first-time wizard, and use a width-limited centered - * div instead. */ - grid-column: col-2; - text-align: left; -} -.first-time-wizard h1 { - border-bottom: thin solid var(--color-accent); -} -.first-time-wizard section { - font-size: larger; - text-align: left; -} -.first-time-wizard p.hint { - color: var(--color-text-hint); - font-size: smaller; -} -.first-time-wizard .check-ok { - color: var(--color-check-ok); -} -.first-time-wizard .check-failed { - color: var(--color-check-failed); -} -.first-time-wizard .check-ok::before { - content: "✔ "; -} -.first-time-wizard .check-failed::before { - content: "❌ "; -} - -.first-time-wizard .blender-selector { - padding: 0.5em; - outline: thin solid var(--color-border); - border-radius: var(--border-radius); -} - -.first-time-wizard .blender-selector.selected-blender { - color: var(--color-accent-text); - background-color: var(--color-accent-background); - outline-width: var(--border-width); -} -.first-time-wizard .blender-selector button { - display: block; - margin-left: auto; -} - -/* ------------ /First Time Wizard ------------ */ diff --git a/web/app/src/views/FirstTimeWizardView.vue b/web/app/src/views/FirstTimeWizardView.vue index 3a54e475..04e5a419 100644 --- a/web/app/src/views/FirstTimeWizardView.vue +++ b/web/app/src/views/FirstTimeWizardView.vue @@ -1,14 +1,32 @@