From 5d9a07cdb279810731a60b367a1be2d5548fb507 Mon Sep 17 00:00:00 2001 From: Peter McAtominey Date: Wed, 31 Jul 2013 08:17:05 +0100 Subject: [PATCH] Built own responsive menu solution to replace bootstraps --- css/daux-blue.css | 11 +++++++++-- css/daux-green.css | 11 +++++++++-- css/daux-navy.css | 11 +++++++++-- css/daux-red.css | 11 +++++++++-- index.php | 4 ++-- js/custom.js | 21 ++++++++++----------- less/import/daux-base.less | 7 +++++-- 7 files changed, 53 insertions(+), 23 deletions(-) diff --git a/css/daux-blue.css b/css/daux-blue.css index 3b4f6fb..0cb6335 100644 --- a/css/daux-blue.css +++ b/css/daux-blue.css @@ -6508,8 +6508,15 @@ body { display: block; } } -@media (max-width: 480px) { - +@media (max-width: 768px) { + .sub-nav-collapse { + display: none; + } +} +@media (min-width: 768px) { + .sub-nav-collapse { + display: block; + } } @media only screen and (max-width: 800px) { /* Force table to not be like tables anymore */ diff --git a/css/daux-green.css b/css/daux-green.css index 2f61116..3e2b565 100644 --- a/css/daux-green.css +++ b/css/daux-green.css @@ -6508,8 +6508,15 @@ body { display: block; } } -@media (max-width: 480px) { - +@media (max-width: 768px) { + .sub-nav-collapse { + display: none; + } +} +@media (min-width: 768px) { + .sub-nav-collapse { + display: block; + } } @media only screen and (max-width: 800px) { /* Force table to not be like tables anymore */ diff --git a/css/daux-navy.css b/css/daux-navy.css index c95a02a..092a138 100644 --- a/css/daux-navy.css +++ b/css/daux-navy.css @@ -6508,8 +6508,15 @@ body { display: block; } } -@media (max-width: 480px) { - +@media (max-width: 768px) { + .sub-nav-collapse { + display: none; + } +} +@media (min-width: 768px) { + .sub-nav-collapse { + display: block; + } } @media only screen and (max-width: 800px) { /* Force table to not be like tables anymore */ diff --git a/css/daux-red.css b/css/daux-red.css index 6049831..84a0c78 100644 --- a/css/daux-red.css +++ b/css/daux-red.css @@ -6508,8 +6508,15 @@ body { display: block; } } -@media (max-width: 480px) { - +@media (max-width: 768px) { + .sub-nav-collapse { + display: none; + } +} +@media (min-width: 768px) { + .sub-nav-collapse { + display: block; + } } @media only screen and (max-width: 800px) { /* Force table to not be like tables anymore */ diff --git a/index.php b/index.php index 8ba688a..2263702 100644 --- a/index.php +++ b/index.php @@ -238,13 +238,13 @@ if ($homepage && $homepage_url !== '/') {
-
-