From a1191e14ac655aa6551e92a25ffef73a0aed97c0 Mon Sep 17 00:00:00 2001 From: ARvind Tiwari Date: Fri, 28 Jul 2017 18:27:38 +0530 Subject: [PATCH 1/2] signup page layout fix mobile, confirm-reset-page layout fix --- hosting/static/hosting/css/commons.css | 4 +++- hosting/static/hosting/css/landing-page.css | 19 +++++++++++++------ .../hosting/confirm_reset_password.html | 8 ++++++-- .../hosting/includes/_navbar_transparent.html | 2 +- 4 files changed, 23 insertions(+), 10 deletions(-) diff --git a/hosting/static/hosting/css/commons.css b/hosting/static/hosting/css/commons.css index 78bfd827..16977978 100644 --- a/hosting/static/hosting/css/commons.css +++ b/hosting/static/hosting/css/commons.css @@ -6,10 +6,12 @@ } .content-dashboard{ - min-height: 100vh; + min-height: calc(100vh - 120px); width: 80%; margin: 0 auto; max-width: 1120px; + display: flex; + align-items: center; } .container-table{ margin-top: 35px; diff --git a/hosting/static/hosting/css/landing-page.css b/hosting/static/hosting/css/landing-page.css index 63a2f54a..faf855e8 100644 --- a/hosting/static/hosting/css/landing-page.css +++ b/hosting/static/hosting/css/landing-page.css @@ -45,6 +45,11 @@ h6 { padding: 20px; } +.navbar-transparent.topnav { + z-index: 1005; + margin-bottom: 0; +} + .navbar-transparent .navbar-nav>li>a { color: #fff; cursor: pointer; @@ -61,6 +66,7 @@ h6 { .navbar-transparent #logoWhite{ display: block; width: 220px; + /* color: #fff; */ } .lead { @@ -220,8 +226,9 @@ h6 { /*------Auth section---------*/ .auth-container { - height: 100vh; + /* height: 100vh; */ position: relative; + flex-grow: 1; } .auth-bg { @@ -260,11 +267,11 @@ h6 { } .auth-container .auth-center { - position: absolute; - left: 50%; - top: 50%; - transform: translate(-50%, -50%); - width: 100%; + /* position: absolute; */ + /* left: 50%; */ + /* top: 50%; */ + /* transform: translate(-50%, -50%); */ + /* width: 100%; */ } .auth-container .auth-title { diff --git a/hosting/templates/hosting/confirm_reset_password.html b/hosting/templates/hosting/confirm_reset_password.html index c11ae931..01c64997 100644 --- a/hosting/templates/hosting/confirm_reset_password.html +++ b/hosting/templates/hosting/confirm_reset_password.html @@ -2,6 +2,10 @@ {% load staticfiles bootstrap3%} {% load i18n %} +{% block navbar %} + {% include 'hosting/includes/_navbar_transparent.html' %} +{% endblock navbar %} + {% block content %}
@@ -25,7 +29,7 @@ {% bootstrap_field field show_label=False %} {% endfor %} {% buttons %} - {% endbuttons %} @@ -40,7 +44,7 @@
- + {% endblock %} diff --git a/hosting/templates/hosting/includes/_navbar_transparent.html b/hosting/templates/hosting/includes/_navbar_transparent.html index 31bbe6bf..4efd5920 100644 --- a/hosting/templates/hosting/includes/_navbar_transparent.html +++ b/hosting/templates/hosting/includes/_navbar_transparent.html @@ -1,6 +1,6 @@ {% load static i18n %} -