From: Laury GvR Date: Thu, 14 Apr 2016 20:22:52 +0000 (-0400) Subject: Top-bar and off-canvas adjustments X-Git-Tag: v1.0.0^2~15 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=9e4afd2c5af4e9e5e9765ba40b5b1d2cde4bd25c;p=WP-Themes%2Fgaslightmedia.git Top-bar and off-canvas adjustments --- diff --git a/css/app.css b/css/app.css index 9a94b4f..f9960a0 100644 --- a/css/app.css +++ b/css/app.css @@ -6336,7 +6336,8 @@ header { header ul#second-nav { float: left; margin-top: 10px; - padding-right: 90px; + margin-left: 0; + padding-right: 30px; width: 90%; } header ul#second-nav li { display: inline; @@ -7799,27 +7800,37 @@ aside.left-off-canvas-menu ul.open { /* End Mobile Menu */ /* for the mobile menu */ aside.right-off-canvas-menu { - visibility: hidden; position: fixed; - opacity: 0; + transform: translate3d(100%, 0px, 0px); transition: all 500ms ease 0s; } aside.right-off-canvas-menu.glm-move-left { - transform: translate3d(0%, 0px, 0px); - visibility: visible; - opacity: 1; - transition: translate3d 500ms ease 0s; - transition: visibility 500ms, opacity 0.5s linear; } + transform: translate3d(0%, 0px, 0px) !important; + transition: translate3d 500ms ease 0s !important, visibility 500ms, opacity 0.5s ease; } .inner-wrap { transform: none !important; } -.move-left #stick-header div.top-right-items { - position: absolute; - right: 260px; } +@media (max-width: 1720px) { + .move-left #stick-header div.top-right-items { + position: absolute; + right: 260px; + transition: all 500ms ease 0s !important; } } + +@media only screen and (max-width: 40em) { + .move-left #stick-header div.top-left-items { + display: none; + transition: all 500ms ease 0s; } } .move-left .exit-off-canvas { - transform: translateX(-250px); } + box-shadow: -4px 0 4px rgba(0, 0, 0, 0.5), 4px 0 4px rgba(0, 0, 0, 0.5); + transform: translateX(-250px); + transition: all 500ms ease 0s !important; } + +.exit-off-canvas { + box-shadow: none; + transform: translateX(0px); + transition: all 500ms ease 0s !important; } aside.right-off-canvas-menu li.page_item { display: block; diff --git a/header.php b/header.php index 8e58746..c745668 100644 --- a/header.php +++ b/header.php @@ -14,10 +14,10 @@
-
+
-
+
  • Bill Pay
  • diff --git a/parts/top-bar.php b/parts/top-bar.php index 9988cee..8da6b69 100644 --- a/parts/top-bar.php +++ b/parts/top-bar.php @@ -4,8 +4,13 @@ Menu -