From 9e4afd2c5af4e9e5e9765ba40b5b1d2cde4bd25c Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Thu, 14 Apr 2016 16:22:52 -0400 Subject: [PATCH] Top-bar and off-canvas adjustments --- css/app.css | 35 +++++++++++++++++++++++------------ header.php | 4 ++-- parts/top-bar.php | 7 ++++++- scss/_page.header.scss | 3 ++- scss/_right-off-canvas.scss | 35 +++++++++++++++++++++++++---------- scss/_settings.scss | 33 ++++++++++++++++++++++++++++++++- 6 files changed, 90 insertions(+), 27 deletions(-) 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 -