From 24584882c0d5453e3ce2240403345d527cba0241 Mon Sep 17 00:00:00 2001 From: pantsel Date: Sat, 29 Sep 2018 15:45:59 +0300 Subject: [PATCH] Redesign first run page --- assets/styles/_bootstrap_over.scss | 4 + assets/styles/_login.scss | 98 +-------------- views/welcomepage.ejs | 187 ++++++++++++++++------------- 3 files changed, 107 insertions(+), 182 deletions(-) diff --git a/assets/styles/_bootstrap_over.scss b/assets/styles/_bootstrap_over.scss index e3d6eeae5..902a60f1c 100644 --- a/assets/styles/_bootstrap_over.scss +++ b/assets/styles/_bootstrap_over.scss @@ -9,6 +9,10 @@ font-size: 20px; } } + + &.btn-round { + border-radius: 25px; + } } .material-icons{ diff --git a/assets/styles/_login.scss b/assets/styles/_login.scss index 45390e547..f8594d38f 100644 --- a/assets/styles/_login.scss +++ b/assets/styles/_login.scss @@ -1,4 +1,4 @@ -.page-login{ +.page-login, .page-register{ //position: fixed; //background-color: $brand-primary; //top:50px; @@ -18,39 +18,6 @@ max-width: 98%; transition: all 0.5s; - .panel{ - .panel-heading{ - background-color: $brand-royal; - padding-top: 15px; - padding-bottom: 0; - padding-left: 0; - padding-right: 0; - - - img{ - width: 50%; - margin: auto; - - } - .nav-tabs > li > a { - font-weight: bold; - color: #fff; - } - - .nav-tabs > li:hover > a{ - -webkit-box-shadow: inset 0 -2px 0 #fff; - box-shadow: inset 0 -2px 0 #fff; - } - - .nav-tabs > li.active > a, .nav-tabs > li.active > a:focus{ - border: none; - -webkit-box-shadow: inset 0 -4px 0 #fff; - box-shadow: inset 0 -4px 0 #fff; - color: #fff; - } - } - } - img { margin: auto; } @@ -88,67 +55,4 @@ } } } -} - - -.page-register{ - - .top-part { - height: 230px; - position: absolute; - top: 0; - width: 100%; - left: 0; - background-color: $brand-royal; - } - - .register-form-container{ - margin-top: 100px; - margin-left: auto; - margin-right: auto; - width: 420px; - max-width: 95%; - transition: all 0.5s; - - .panel{ - .panel-heading{ - background-color: $brand-royal; - padding-top: 15px; - padding-bottom: 0; - padding-left: 0; - padding-right: 0; - - - img{ - width: 50%; - margin: auto; - - } - .nav-tabs > li > a { - font-weight: bold; - color: #fff; - } - - .nav-tabs > li:hover > a{ - -webkit-box-shadow: inset 0 -2px 0 #fff; - box-shadow: inset 0 -2px 0 #fff; - } - - .nav-tabs > li.active > a, .nav-tabs > li.active > a:focus{ - border: none; - -webkit-box-shadow: inset 0 -4px 0 #fff; - box-shadow: inset 0 -4px 0 #fff; - color: #fff; - } - } - } - - - .form-group{ - &.has-error{ - background-color: transparent !important; - padding: 0 !important; - } - } - } } \ No newline at end of file diff --git a/views/welcomepage.ejs b/views/welcomepage.ejs index cddf6efeb..0b8640ff6 100644 --- a/views/welcomepage.ejs +++ b/views/welcomepage.ejs @@ -1,102 +1,119 @@ - -
-
+
-
-
-
-

Welcome to Konga!

-

Create an admin user

-
+ + +
+
+ +
+

KONGA v<%= konga_version %>

+ +
- \ No newline at end of file