diff --git a/public/css/main.css b/public/css/main.css new file mode 100644 index 0000000..378fa4d --- /dev/null +++ b/public/css/main.css @@ -0,0 +1,193 @@ +body { + color: #999; + background: #f5f5f5; + font-family: 'Roboto', sans-serif; +} + +.avatar { + color: #fff; + margin: 0 auto 30px; + text-align: center; + width: 100px; + height: 100px; + border-radius: 50%; + z-index: 9; + background: #2389cd; + padding: 15px; + box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1); +} + +.avatar i { + font-size: 62px; +} + +.form-control { + height: 41px; + background: #f2f2f2; + box-shadow: none !important; + border: none; +} + +.form-control:focus { + border-color: #2389cd; +} + +.login-form { + width: 400px; + margin: 30px auto; + padding: 30px 0; +} + +.login-form form { + color: #999; + border-radius: 3px; + margin-bottom: 15px; + background: #fff; + box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); + padding: 30px; +} + +.login-form h4 { + text-align: center; + font-size: 22px; + margin-bottom: 20px; +} + +.login-form .form-group { + margin-bottom: 20px; +} + +.login-form .form-control, +.login-form .btn { + min-height: 40px; + border-radius: 2px; + transition: all 0.5s; +} + +.login-form .close { + position: absolute; + top: 15px; + right: 15px; +} + +.login-form .btn, +.login-form .btn:active { + background: #2389cd !important; + border: none; + line-height: normal; +} + +.login-form .btn:hover, +.login-form .btn:focus { + background: #2389cd !important; +} + +.login-form .checkbox-inline { + float: left; +} + +.login-form input[type="checkbox"] { + position: relative; + top: 2px; +} + +.login-form .forgot-link { + float: right; +} + +.login-form .small { + font-size: 13px; +} + +.login-form a { + color: #2389cd; +} + +.form-control { + height: 41px; + background: #f2f2f2; + box-shadow: none !important; + border: none; +} + +.form-control:focus { + background: #e2e2e2; +} + +.form-control, +.btn { + border-radius: 3px; +} + +.signup-form { + width: 400px; + margin: 30px auto; + padding: 30px 0; +} + +.signup-form form { + color: #999; + border-radius: 3px; + margin-bottom: 15px; + background: #fff; + box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); + padding: 30px; +} + +.signup-form h2 { + font-size: 22px; + margin-bottom: 20px; + +} + +.signup-form hr { + margin: 0 -30px 20px; +} + +.signup-form .form-group { + margin-bottom: 20px; +} + +.signup-form input[type="checkbox"] { + margin-top: 3px; +} + +.signup-form .row div:first-child { + padding-right: 10px; +} + +.signup-form .row div:last-child { + padding-left: 10px; +} + +.signup-form .btn { + font-size: 16px; + font-weight: bold; + background: #3598dc; + border: none; + min-width: 140px; +} + +.signup-form .btn:hover, +.signup-form .btn:focus { + background: #2389cd !important; + outline: none; +} + +.signup-form a:hover { + text-decoration: none; +} + +.signup-form form a { + color: #3598dc; + text-decoration: none; +} + +.signup-form form a:hover { + text-decoration: underline; +} + +.signup-form .hint-text { + padding-bottom: 15px; + text-align: center; +} \ No newline at end of file diff --git a/public/css/signin.css b/public/css/signin.css deleted file mode 100644 index 4732d1f..0000000 --- a/public/css/signin.css +++ /dev/null @@ -1,39 +0,0 @@ -html, -body { - height: 100%; -} - -body { - display: flex; - align-items: center; - padding-top: 40px; - padding-bottom: 40px; - background-color: #f5f5f5; -} - -.form-signin { - width: 100%; - max-width: 330px; - padding: 15px; - margin: auto; -} - -.form-signin .checkbox { - font-weight: 400; -} - -.form-signin .form-floating:focus-within { - z-index: 2; -} - -.form-signin input[type="email"] { - margin-bottom: -1px; - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; -} - -.form-signin input[type="password"] { - margin-bottom: 10px; - border-top-left-radius: 0; - border-top-right-radius: 0; -} diff --git a/public/templates/authorize.html b/public/templates/authorize.html index 00d4536..e42a9cc 100644 --- a/public/templates/authorize.html +++ b/public/templates/authorize.html @@ -1,78 +1,45 @@ - - +{% extends "layout.html" %} +{% set title = "Authorize" %} -
- - - - - -