0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

fix up inverse navbar form styles

This commit is contained in:
Mark Otto 2013-08-15 11:47:56 -07:00
parent 49e95f2bcf
commit 5a0ba42a7b
3 changed files with 14 additions and 5 deletions

View File

@ -3400,6 +3400,8 @@ button.close {
margin-left: -15px; margin-left: -15px;
border-top: 1px solid #e6e6e6; border-top: 1px solid #e6e6e6;
border-bottom: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
} }
@media (min-width: 768px) { @media (min-width: 768px) {
@ -3439,6 +3441,8 @@ button.close {
margin-right: 0; margin-right: 0;
margin-left: 0; margin-left: 0;
border: 0; border: 0;
-webkit-box-shadow: none;
box-shadow: none;
} }
} }
@ -3560,8 +3564,9 @@ button.close {
background-color: #ffffff; background-color: #ffffff;
} }
.navbar-inverse .navbar-collapse { .navbar-inverse .navbar-collapse,
border-top-color: #101010; .navbar-inverse .navbar-form {
border-color: #101010;
} }
.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a,

File diff suppressed because one or more lines are too long

View File

@ -306,6 +306,8 @@
padding: 10px @navbar-padding-horizontal; padding: 10px @navbar-padding-horizontal;
border-top: 1px solid darken(@navbar-bg, 7%); border-top: 1px solid darken(@navbar-bg, 7%);
border-bottom: 1px solid darken(@navbar-bg, 7%); border-bottom: 1px solid darken(@navbar-bg, 7%);
@shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);
.box-shadow(@shadow);
// Mixin behavior for optimum display // Mixin behavior for optimum display
.form-inline(); .form-inline();
@ -327,6 +329,7 @@
margin-right: 0; margin-right: 0;
padding-top: 0; padding-top: 0;
padding-bottom: 0; padding-bottom: 0;
.box-shadow(none);
} }
} }
@ -472,8 +475,9 @@
} }
} }
.navbar-collapse { .navbar-collapse,
border-top-color: darken(@navbar-inverse-bg, 7%); .navbar-form {
border-color: darken(@navbar-inverse-bg, 7%);
} }
// Dropdowns // Dropdowns