From 13140479ca674391488c1bdc715a83a14c4ad53a Mon Sep 17 00:00:00 2001 From: Zambom Date: Thu, 5 Jan 2017 20:34:49 -0200 Subject: [PATCH] Adjusting sidemenu --- amadeus/static/css/base/amadeus.css | 48 +++++++++++++++++++++++++++++++++++++++++++++--- amadeus/static/css/base/amadeus_responsive.css | 24 ++++++++++++++++++++++++ amadeus/templates/base.html | 33 +++++++++++++++++++++++++++++++-- 3 files changed, 100 insertions(+), 5 deletions(-) diff --git a/amadeus/static/css/base/amadeus.css b/amadeus/static/css/base/amadeus.css index 3ca1123..0c493c9 100755 --- a/amadeus/static/css/base/amadeus.css +++ b/amadeus/static/css/base/amadeus.css @@ -248,8 +248,6 @@ color: white; } - - .navbar-nav li.open { background: #00695C; } @@ -866,4 +864,48 @@ ul, li { font-size: 16px; border-bottom: 1px solid #D2D2D2; } -/* End Profile */ \ No newline at end of file +/* End Profile */ + +/* Bottom Menu */ +.clearfix { + height: 80px; +} + +.bottom-menu { + position: fixed; + bottom: 0px; + background: #F5F5F5; + width: 100%; + padding: 15px 30px; + z-index: 999; +} + +.mobile-menu { + -webkit-padding-start: 0px; +} + +.mobile-menu, .mobile-menu li { + display: inline-block; +} + +.mobile-menu .item { + color: #FFFFFF; + background: #26A69A; + margin-left: 10px; + margin-right: 10px; + padding-top: 3px; + text-align: center; +} + +.mobile-menu .item a{ + color: white; +} + +.mobile-menu > .subjects_menu_active { + background-color: #00695C; +} + +.mobile-menu > .item:hover{ + background-color: #00695C; +} +/* End Bottom Menu */ \ No newline at end of file diff --git a/amadeus/static/css/base/amadeus_responsive.css b/amadeus/static/css/base/amadeus_responsive.css index a65300c..9515374 100644 --- a/amadeus/static/css/base/amadeus_responsive.css +++ b/amadeus/static/css/base/amadeus_responsive.css @@ -72,4 +72,28 @@ padding-right:0px; padding-left: 0px; } +} + +@media(min-width: 541px) { + .mobile-menu .item { + font-size: 45px; + width: 70px; + height: 65px; + } + + .bottom-menu { + height: 90px; + } +} + +@media(max-width: 540px) { + .mobile-menu .item { + font-size: 35px; + width: 55px; + height: 50px; + } + + .bottom-menu { + height: 80px; + } } \ No newline at end of file diff --git a/amadeus/templates/base.html b/amadeus/templates/base.html index 98922cb..39b6924 100644 --- a/amadeus/templates/base.html +++ b/amadeus/templates/base.html @@ -149,7 +149,7 @@
@@ -185,6 +185,35 @@
+ {% block bottommenu %} +
+
+
+
+ +
+
+
+ {% endblock %} +