From 9a255df076c9fc0fea3232b64f3279646a665cff Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Tue, 8 Dec 2015 10:41:11 -0500 Subject: [PATCH] adding sticky dropdown properties menu to mobile --- css/app.css | 9 +++++++++ header.php | 2 +- js/app.js | 22 ---------------------- js/custom/pageSetup.js | 22 ---------------------- parts/top-bar_main.php | 4 ++-- scss/_page.header.scss | 11 +++++++++++ 6 files changed, 23 insertions(+), 47 deletions(-) diff --git a/css/app.css b/css/app.css index 89350d2..e234e7b 100644 --- a/css/app.css +++ b/css/app.css @@ -6483,6 +6483,15 @@ header .searchform input[type="submit"]:hover { #input { display: none; } +#properties section.top-bar-section { + left: 0 !important; } + +@media only screen and (max-width: 40em) { + #headerLogo { + margin-top: 30px; } + #properties { + margin-left: 0px !important; } } + .contain-to-grid { box-shadow: 0 5px 10px -1px #999999; } .contain-to-grid .top-bar { diff --git a/header.php b/header.php index b8cfb9d..22c8b99 100644 --- a/header.php +++ b/header.php @@ -15,7 +15,7 @@
-
+
- +
- diff --git a/scss/_page.header.scss b/scss/_page.header.scss index 56dcd4f..8766728 100644 --- a/scss/_page.header.scss +++ b/scss/_page.header.scss @@ -270,3 +270,14 @@ header .searchform input[type="submit"]:hover{ #input{ display: none; } +#properties section.top-bar-section{ + left: 0 !important; +} +@media #{$small-only}{ + #headerLogo{ + margin-top: 30px; + } + #properties{ + margin-left: 0px !important; + } +} -- 2.17.1