From: Mark Otto Date: Tue, 6 Nov 2012 02:27:25 +0000 (-0800) Subject: Merge branch '2.2.2-wip' into exploratory X-Git-Tag: v3.0.0-rc1~888 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0bbe1692c72d046f7496a9dc90329cc1a51c54d;p=thirdparty%2Fbootstrap.git Merge branch '2.2.2-wip' into exploratory Conflicts: docs/assets/css/bootstrap.css less/navbar.less less/variables.less --- c0bbe1692c72d046f7496a9dc90329cc1a51c54d diff --cc docs/assets/css/bootstrap.css index 84715df6fd,70835bcc98..aa250e0c7c --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@@ -3755,10 -4240,16 +3755,9 @@@ input[type="button"].btn-block } .navbar { - *position: relative; - *z-index: 2; + padding: 0 20px; margin-bottom: 20px; overflow: visible; - color: #777777; -} - -.navbar-inner { - min-height: 40px; - padding-right: 20px; - padding-left: 20px; background-color: #fafafa; background-image: -moz-linear-gradient(top, #ffffff, #f2f2f2); background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f2f2f2)); @@@ -3810,7 -4305,8 +3809,8 @@@ .navbar-text { margin-bottom: 0; - line-height: 40px; + line-height: 44px; + color: #777777; } .navbar-link { @@@ -4125,11 -4651,12 +4125,10 @@@ left: auto; margin-right: -1px; margin-left: 0; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; + border-radius: 6px 0 6px 6px; } -.navbar-inverse .navbar-inner { +.navbar-inverse { - color: #999999; background-color: #1b1b1b; background-image: -moz-linear-gradient(top, #222222, #111111); background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#222222), to(#111111)); diff --cc less/navbar.less index c0d4b205f7,532c5926b8..433ebe024d --- a/less/navbar.less +++ b/less/navbar.less @@@ -9,12 -9,22 +9,11 @@@ // Base class and wrapper .navbar { overflow: visible; + padding: 0 20px; margin-bottom: @baseLineHeight; - color: @navbarText; - - // Fix for IE7's bad z-indexing so dropdowns don't appear below content that follows the navbar - *position: relative; - *z-index: 2; -} - -// Inner for background effects -// Gradient is applied to its own element because overflow visible is not honored by IE when filter is present -.navbar-inner { - min-height: @navbarHeight; - padding-left: 20px; - padding-right: 20px; #gradient > .vertical(@navbarBackgroundHighlight, @navbarBackground); border: 1px solid @navbarBorder; - .border-radius(@baseBorderRadius); + border-radius: @baseBorderRadius; .box-shadow(0 1px 4px rgba(0,0,0,.065)); // Prevent floats from breaking the navbar @@@ -356,9 -379,11 +356,8 @@@ // ------------------------- .navbar-inverse { - color: @navbarInverseText; - - .navbar-inner { - #gradient > .vertical(@navbarInverseBackgroundHighlight, @navbarInverseBackground); - border-color: @navbarInverseBorder; - } + #gradient > .vertical(@navbarInverseBackgroundHighlight, @navbarInverseBackground); + border-color: @navbarInverseBorder; .brand, .nav > li > a {