From 1ae194597c3d0a9608803f9edbd05bc50b4844af Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 17 Aug 2012 16:32:34 -0700 Subject: [PATCH] nuke subnav styles from responsive navbar --- docs/assets/css/bootstrap-responsive.css | 36 +--------------------- less/responsive-navbar.less | 39 +----------------------- 2 files changed, 2 insertions(+), 73 deletions(-) diff --git a/docs/assets/css/bootstrap-responsive.css b/docs/assets/css/bootstrap-responsive.css index 56951cfbe5..394a15b4a5 100644 --- a/docs/assets/css/bootstrap-responsive.css +++ b/docs/assets/css/bootstrap-responsive.css @@ -902,8 +902,7 @@ padding-top: 0; } .navbar-fixed-top, - .navbar-fixed-bottom, - .navbar-subnav-fixed { + .navbar-fixed-bottom { position: static; } .navbar-fixed-top { @@ -1028,39 +1027,6 @@ padding-right: 10px; padding-left: 10px; } - .navbar-subnav { - width: auto; - height: auto; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - } - .navbar-subnav .navbar-inner { - background-color: #fff; - background-image: none; - } - .navbar-subnav .nav { - float: none; - margin-right: 0; - } - .navbar-subnav .nav > li { - float: none; - } - .navbar-subnav .nav > li > a { - border: 0; - } - .navbar-subnav .nav > li > a:hover { - background-color: #f5f5f5; - } - .navbar-subnav .nav > li + li > a { - border-top: 1px solid #e5e5e5; - } - .navbar-subnav .nav > li:first-child > a, - .navbar-subnav .nav > li:first-child > a:hover { - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; - } } @media (min-width: 980px) { diff --git a/less/responsive-navbar.less b/less/responsive-navbar.less index 6d21a99a02..3498863c82 100644 --- a/less/responsive-navbar.less +++ b/less/responsive-navbar.less @@ -15,8 +15,7 @@ } // Unfix the navbars .navbar-fixed-top, - .navbar-fixed-bottom, - .navbar-subnav-fixed { + .navbar-fixed-bottom { position: static; } .navbar-fixed-top { @@ -149,42 +148,6 @@ padding-right: 10px; } - // STATIC SUBNAV - // ------------- - .navbar-subnav { - width: auto; - height: auto; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - } - .navbar-subnav .navbar-inner { - background-color: #fff; - background-image: none; // Remove gradient - } - .navbar-subnav .nav { - float: none; - margin-right: 0; - } - .navbar-subnav .nav > li { - float: none; - } - .navbar-subnav .nav > li > a { - border: 0; - } - .navbar-subnav .nav > li > a:hover { - background-color: #f5f5f5; - } - .navbar-subnav .nav > li + li > a { - border-top: 1px solid #e5e5e5; - } - .navbar-subnav .nav > li:first-child > a, - .navbar-subnav .nav > li:first-child > a:hover { - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; - } - }