1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-01 01:21:49 +02:00

introduce new mixin to do navbar vertical centering

This commit is contained in:
Mark Otto
2012-02-20 19:14:26 -08:00
parent 143b3db2c9
commit d2630ff84e
4 changed files with 26 additions and 15 deletions

Binary file not shown.

View File

@@ -2559,14 +2559,16 @@ button.btn.btn-small, input[type="submit"].btn.btn-small {
.navbar-form:after {
clear: both;
}
.navbar-form input,
.navbar-form select,
.navbar-form .radio,
.navbar-form .checkbox {
margin-top: 5px;
}
.navbar-form input, .navbar-form select {
display: inline-block;
margin-top: 5px;
margin-bottom: 0;
}
.navbar-form .radio, .navbar-form .checkbox {
margin-top: 5px;
}
.navbar-form input[type="image"], .navbar-form input[type="checkbox"], .navbar-form input[type="radio"] {
margin-top: 3px;
}