From 4d1cf4f57b0a82b1e370d9a5bb2ce5a3bd3191f1 Mon Sep 17 00:00:00 2001 From: PCoder Date: Wed, 24 Oct 2018 09:39:51 +0200 Subject: [PATCH] Modify menu colors and other styles as per Sanghee --- .../static/ungleich_page/css/agency.css | 7 ++-- .../static/ungleich_page/css/ungleich.css | 33 ++++++++++++++----- .../static/ungleich_page/js/ungleich.js | 2 +- 3 files changed, 29 insertions(+), 13 deletions(-) diff --git a/ungleich_page/static/ungleich_page/css/agency.css b/ungleich_page/static/ungleich_page/css/agency.css index 2b40158a..249ff3a8 100755 --- a/ungleich_page/static/ungleich_page/css/agency.css +++ b/ungleich_page/static/ungleich_page/css/agency.css @@ -241,7 +241,8 @@ fieldset[disabled] .btn-xl.active { .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus { color: #fff; - background-color: #fec503; + background-color: transparent; + /*background-color: #fec503;*/ } .navbar-default .navbar-brand { @@ -814,7 +815,6 @@ footer { footer span.copyright { text-transform: uppercase; - text-transform: none; font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif; line-height: 40px; } @@ -822,7 +822,6 @@ footer span.copyright { footer ul.quicklinks { margin-bottom: 0; text-transform: uppercase; - text-transform: none; font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif; line-height: 40px; } @@ -956,7 +955,7 @@ section h3.section-comment { margin-bottom: 75px; text-transform: none; font-family: "Open Sans", "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif; - font-style:italic + font-style:italic; font-size: 18px; font-weight: 400; color: #494949; diff --git a/ungleich_page/static/ungleich_page/css/ungleich.css b/ungleich_page/static/ungleich_page/css/ungleich.css index 5252d409..9255a654 100644 --- a/ungleich_page/static/ungleich_page/css/ungleich.css +++ b/ungleich_page/static/ungleich_page/css/ungleich.css @@ -163,6 +163,12 @@ color: #fed136 !important; background-color: transparent; } + .navbar-default .nav li a { + padding: 10px 15px; + } + .dropdown-menu > li > a { + padding: 10px 25px !important; + } } @@ -262,6 +268,13 @@ ul.nav li:hover > ul.dropdown-menu{ display: block; } + .navbar-right .dropdown-menu { + right: auto; + left: 0; + } + .dropdown-menu > li > a { + padding: 10px 15px !important; + } } @media (min-width: 992px) { @@ -422,14 +435,14 @@ } ul.dropdown-menu{ background: transparent; - box-shadow: 0 6px 12px rgba(255,255,255,.175); + -webkit-box-shadow: 0px 2px 4px 0px rgba(255,255,255,1); + -moz-box-shadow: 0px 2px 4px 0px rgba(255,255,255,1); + box-shadow: 0px 2px 4px 0px rgba(255,255,255,1); border: 1px solid #fff; - border-radius: 4px; + border-radius: 1px; padding: 0; } -.dropdown-menu > li > a { - padding: 5px 20px; -} + .dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover { background-color: transparent; } @@ -444,9 +457,13 @@ ul.dropdown-menu{ background-color: transparent; } .navbar-default.navbar-shrink .dropdown-menu li a { - background: #000; + background: #333; color: #fff; } .navbar-default.navbar-shrink .dropdown-menu{ - border: 1px solid #000; - } \ No newline at end of file + border: 1px solid #333; + -webkit-box-shadow: 0px 2px 4px 0px rgba(0,0,0,1); + -moz-box-shadow: 0px 2px 4px 0px rgba(0,0,0,1); + box-shadow: 0px 2px 4px 0px rgba(0,0,0,1); + border-radius: 1px; + } diff --git a/ungleich_page/static/ungleich_page/js/ungleich.js b/ungleich_page/static/ungleich_page/js/ungleich.js index 9be1a787..fc2dcf9b 100644 --- a/ungleich_page/static/ungleich_page/js/ungleich.js +++ b/ungleich_page/static/ungleich_page/js/ungleich.js @@ -38,6 +38,6 @@ $('body').scrollspy({ target: '.navbar-fixed-top' }) // Closes the Responsive Menu on Menu Item Click - $('.navbar-collapse ul li .page-scroll, .navbar-collapse ul li.dropdown ul li a').click(function() { + $('.navbar-collapse ul li .no-submenu, .navbar-collapse ul li.dropdown ul li a').click(function() { $('.navbar-toggle:visible').click(); });