1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-18 19:31:35 +02:00

remove double border effect: instead of inset shadow and border on fixed navbars, only border

This commit is contained in:
Mark Otto
2012-10-01 23:34:03 -07:00
parent 1b814458c9
commit 7c9597f4e7
2 changed files with 8 additions and 8 deletions

View File

@@ -4373,9 +4373,9 @@ input[type="submit"].btn.btn-mini {
.navbar-fixed-top .navbar-inner, .navbar-fixed-top .navbar-inner,
.navbar-static-top .navbar-inner { .navbar-static-top .navbar-inner {
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1), 0 1px 10px rgba(0, 0, 0, 0.1); -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
-moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1), 0 1px 10px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1), 0 1px 10px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
} }
.navbar-fixed-bottom { .navbar-fixed-bottom {
@@ -4383,9 +4383,9 @@ input[type="submit"].btn.btn-mini {
} }
.navbar-fixed-bottom .navbar-inner { .navbar-fixed-bottom .navbar-inner {
-webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1), 0 -1px 10px rgba(0, 0, 0, 0.1); -webkit-box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1);
-moz-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1), 0 -1px 10px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1);
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1), 0 -1px 10px rgba(0, 0, 0, 0.1); box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1);
} }
.navbar .nav { .navbar .nav {

View File

@@ -202,7 +202,7 @@
.navbar-fixed-top, .navbar-fixed-top,
.navbar-static-top { .navbar-static-top {
.navbar-inner { .navbar-inner {
.box-shadow(~"inset 0 -1px 0 rgba(0,0,0,.1), 0 1px 10px rgba(0,0,0,.1)"); .box-shadow(~"0 1px 10px rgba(0,0,0,.1)");
} }
} }
@@ -210,7 +210,7 @@
.navbar-fixed-bottom { .navbar-fixed-bottom {
bottom: 0; bottom: 0;
.navbar-inner { .navbar-inner {
.box-shadow(~"inset 0 1px 0 rgba(0,0,0,.1), 0 -1px 10px rgba(0,0,0,.1)"); .box-shadow(~"0 -1px 10px rgba(0,0,0,.1)");
} }
} }