From 1182b56a2e98cc5fbbbbe2bc30a0248f087ffd49 Mon Sep 17 00:00:00 2001 From: Lars Henrik Mai Date: Fri, 2 May 2014 14:39:26 +0200 Subject: fixes for mobile nav --- source/_navigation.html.erb | 50 +++++++++++++++++++++++++--------------- source/stylesheets/base.css.scss | 8 +++++++ 2 files changed, 39 insertions(+), 19 deletions(-) diff --git a/source/_navigation.html.erb b/source/_navigation.html.erb index bf5b556..c0e3148 100644 --- a/source/_navigation.html.erb +++ b/source/_navigation.html.erb @@ -33,28 +33,40 @@ } %> - + diff --git a/source/stylesheets/base.css.scss b/source/stylesheets/base.css.scss index a38b784..99db24d 100644 --- a/source/stylesheets/base.css.scss +++ b/source/stylesheets/base.css.scss @@ -10,12 +10,18 @@ body { nav { @extend .row; + @extend .navbar; + @extend .navbar-static; + @extend .navbar-inverse; } nav ul { @extend .nav; @extend .navbar-nav; @extend .navbar-justified; + + //@extend .collapse; + //@extend .navbar-collapse; } @media (min-width: 768px){ @@ -27,7 +33,9 @@ nav ul { } } +/* ul.nav li.dropdown:hover ul.dropdown-menu{ display: block; margin-top:0px } +*/ -- cgit v1.2.1