diff options
| author | Mark Otto <[email protected]> | 2012-08-14 14:53:45 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-08-14 14:53:45 -0700 |
| commit | 50df524ba1b504e069e69e6f317184357f397cd0 (patch) | |
| tree | 41783f54ace14a5a5aba44e09c8361d5b17a3189 | |
| parent | dbcd87331d8a84fe5f65da0420409e859effebf1 (diff) | |
| download | bootstrap-50df524ba1b504e069e69e6f317184357f397cd0.tar.xz bootstrap-50df524ba1b504e069e69e6f317184357f397cd0.zip | |
remove borders entirely from fixed navbars
| -rw-r--r-- | docs/assets/css/bootstrap.css | 7 | ||||
| -rw-r--r-- | less/navbar.less | 6 |
2 files changed, 9 insertions, 4 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index d6cfbe099..fb69a19ba 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -4148,6 +4148,11 @@ input[type="submit"].btn.btn-mini { .navbar-fixed-top .navbar-inner, .navbar-fixed-bottom .navbar-inner { + border: 0; +} + +.navbar-fixed-top .navbar-inner, +.navbar-fixed-bottom .navbar-inner { padding-right: 0; padding-left: 0; -webkit-border-radius: 0; @@ -4165,7 +4170,6 @@ input[type="submit"].btn.btn-mini { } .navbar-fixed-top .navbar-inner { - border-width: 0 0 1px; -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1); @@ -4176,7 +4180,6 @@ input[type="submit"].btn.btn-mini { } .navbar-fixed-bottom .navbar-inner { - border-width: 1px 0 0; -webkit-box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1); box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1); diff --git a/less/navbar.less b/less/navbar.less index 435bf2f28..4439dcde3 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -153,6 +153,9 @@ left: 0; z-index: @zindexFixedNavbar; margin-bottom: 0; // remove 18px margin for static navbar + .navbar-inner { + border: 0; + } } .navbar-fixed-top .navbar-inner, .navbar-fixed-bottom .navbar-inner { @@ -161,6 +164,7 @@ .border-radius(0); } +// Reset container width .navbar-fixed-top .container, .navbar-fixed-bottom .container { #grid > .core > .span(@gridColumns); @@ -170,7 +174,6 @@ .navbar-fixed-top { top: 0; .navbar-inner { - border-width: 0 0 1px; .box-shadow(0 1px 10px rgba(0,0,0,.1)); } } @@ -179,7 +182,6 @@ .navbar-fixed-bottom { bottom: 0; .navbar-inner { - border-width: 1px 0 0; .box-shadow(0 -1px 10px rgba(0,0,0,.1)); } } |
