Commit f495a8d0 authored by Mark Otto's avatar Mark Otto
Browse files

fixes #3210: add .btn to .navbar-form to remove bottom margin, improve...

fixes #3210: add .btn to .navbar-form to remove bottom margin, improve vertical align of contents of .navbar-form
parent 413c05a0
Showing with 10 additions and 8 deletions
+10 -8
...@@ -3851,7 +3851,7 @@ input[type="submit"].btn.btn-mini { ...@@ -3851,7 +3851,7 @@ input[type="submit"].btn.btn-mini {
.navbar .btn, .navbar .btn,
.navbar .btn-group { .navbar .btn-group {
margin-top: 5px; margin-top: 6px;
} }
.navbar .btn-group .btn { .navbar .btn-group .btn {
...@@ -3878,11 +3878,12 @@ input[type="submit"].btn.btn-mini { ...@@ -3878,11 +3878,12 @@ input[type="submit"].btn.btn-mini {
.navbar-form select, .navbar-form select,
.navbar-form .radio, .navbar-form .radio,
.navbar-form .checkbox { .navbar-form .checkbox {
margin-top: 5px; margin-top: 6px;
} }
.navbar-form input, .navbar-form input,
.navbar-form select { .navbar-form select,
.navbar-form .btn {
display: inline-block; display: inline-block;
margin-bottom: 0; margin-bottom: 0;
} }
......
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
// Buttons in navbar // Buttons in navbar
.btn, .btn,
.btn-group { .btn-group {
.navbarVerticalAlign(30px); // Vertically center in navbar .navbarVerticalAlign(28px); // Vertically center in navbar
} }
.btn-group .btn { .btn-group .btn {
margin: 0; // then undo the margin here so we don't accidentally double it margin: 0; // then undo the margin here so we don't accidentally double it
...@@ -87,10 +87,11 @@ ...@@ -87,10 +87,11 @@
select, select,
.radio, .radio,
.checkbox { .checkbox {
.navbarVerticalAlign(30px); // Vertically center in navbar .navbarVerticalAlign(28px); // Vertically center in navbar
} }
input, input,
select { select,
.btn {
display: inline-block; display: inline-block;
margin-bottom: 0; margin-bottom: 0;
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// Body reset // Body reset
// ---------- // -------------------------
body { body {
margin: 0; margin: 0;
...@@ -17,7 +17,7 @@ body { ...@@ -17,7 +17,7 @@ body {
// Links // Links
// ----- // -------------------------
a { a {
color: @linkColor; color: @linkColor;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment