diff --git a/css/firstrunwizard.scss b/css/firstrunwizard.scss index 8a70b32b5..7a9ae8603 100644 --- a/css/firstrunwizard.scss +++ b/css/firstrunwizard.scss @@ -2,6 +2,7 @@ #cboxLoadedContent { border-radius: 3px; + overflow: hidden !important; } #firstrunwizard .firstrunwizard-header { @@ -24,10 +25,6 @@ margin: 0 auto; } -#firstrunwizard .firstrunwizard-content { - margin: 12px; -} - #firstrunwizard h1 { font-size: 40px; font-weight: 300; @@ -56,7 +53,7 @@ } #firstrunwizard .page { - margin-bottom: 60px; + margin-bottom: 46px; display: flex; flex-direction: row; flex-wrap: wrap; @@ -112,6 +109,22 @@ } } #firstrunwizard { + + .page { + margin: 12px; + margin-bottom: 60px; + } + .page.intro { + margin: 0; + margin-bottom: -50px; + .content { + padding: 0; + background-image: url('../img/intro.png'); + background-position: center; + background-size: cover; + height: 50vh; + } + } .content-clients { width: 100%; text-align: center; @@ -133,7 +146,8 @@ .wizard-navigation { display: flex; position: absolute; - bottom: 10px; + bottom: 0; + padding: 12px; width: calc(100% - 24px); .prev, .next { flex-grow: 1; @@ -251,3 +265,15 @@ } } } + +@media only screen and (max-width: 768px) { + + .position-indicator { + display: none; + } + + #firstrunwizard .page #wizard-values li { + margin: 0; + } + +} \ No newline at end of file diff --git a/img/intro.png b/img/intro.png new file mode 100644 index 000000000..ebdc79e24 Binary files /dev/null and b/img/intro.png differ diff --git a/templates/page.intro.php b/templates/page.intro.php new file mode 100644 index 000000000..6b199da95 --- /dev/null +++ b/templates/page.intro.php @@ -0,0 +1,35 @@ + + * + * @author Julius Härtl + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ + +/** + * @var array $_ + * @var \OCP\IL10N $l + * @var \OCP\Defaults $theme + */ +?> + +
+
+ +
+
diff --git a/templates/wizard.php b/templates/wizard.php index 1af6e38bb..602b2254d 100644 --- a/templates/wizard.php +++ b/templates/wizard.php @@ -26,6 +26,7 @@
inc('page.intro')); print_unescaped($this->inc('page.values')); print_unescaped($this->inc('page.clients'));