From d2630ff84eba322bec79ee25e33e075493744931 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 20 Feb 2012 19:14:26 -0800 Subject: [PATCH] introduce new mixin to do navbar vertical centering --- docs/assets/bootstrap.zip | Bin 53473 -> 53479 bytes docs/assets/css/bootstrap.css | 10 ++++++---- less/mixins.less | 14 +++++++++++--- less/navbar.less | 17 +++++++++-------- 4 files changed, 26 insertions(+), 15 deletions(-) diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index f4a9241da889be7fac77637ef2d5d5a123462979..acc5f3201e9c2b0533c965bed0547fc4fa915175 100644 GIT binary patch delta 6927 zcmZWuWl)^Uww(cj!$9!B;1EL4z~BUjAi*UNBniRY2{!l;2s*e12n2U`cXxMpcX{O8 zb8g*JuYc^SUVHc2y}$2A*Q&Lginy7Ih^Z)xh=dOKvzp?5#Agn}9Fbp&~qiv4VerR~W^!7-&xbd<#wF@3K->^Z*pxrZ`n$1U{t-k~aVV zmMjoJ3TGE5#n!j8Q&U9)ApYreg;9EpJ4^?4gpCdu=vel*@lG~%$l-&w-@GR=5%{1k z9JwyEu@?BE#dmy}Yx!;6LpKAmsBv<=a9TxMdnlSxVYP7L`ft2b5N15%VVht?`h6RW zuW-qwv0W2=I$Bb5B|%SaP>!wQHW%a}GU1+--Zi+c_kf&R!-+c|2`b#4TZiQsQXfHY zgnDjtx>rHu?oxCc8=E4dAbkk_k}|6&EENNXPI#vTUm)vt}7-`#)$ne^3qSfUYIOWrz(Cdt3h=% zs<2UV$DHrZxYu$UeWTri4;dM1*&TZlj{){L{MO`g1yT8#7Yt${pGWZfps#wD4 zq0$VnZM^O#5)Mb;$gN3p_lvM>J?^1eAXW#&X@ zTzeqW#y}C4*|iIe+dWBHw*L_8C-1!DPxX9xEb%4~vC9vuyHH>+2aZDXgE7er zTLFKzwcx}8gMYT#F%kL`jR(hcu@jHJKp1q%7Dz0dQyGhjPem79$T2!8stdG)>j^V+ zDD{5smKkh~Od24ha?CWe$s|;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a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -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; } diff --git a/less/mixins.less b/less/mixins.less index e05667fff2..d74ce73dfa 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -531,7 +531,7 @@ // COMPONENT MIXINS // -------------------------------------------------- -// NAV DIVIDER +// Horizontal dividers // ------------------------- // Dividers (basically an hr) within dropdowns and nav lists .nav-divider() { @@ -549,7 +549,7 @@ *margin: -5px 0 5px; } -// BUTTON BACKGROUNDS +// Button backgrounds // ------------------ .buttonBackground(@startColor, @endColor) { // gradientBar will set the background to a pleasing blend of these, to support IE<=9 @@ -568,7 +568,15 @@ } } -// POPOVER ARROWS +// Navbar vertical align +// ------------------------- +// Vertically center elements in the navbar. +// Example: an element has a height of 30px, so write out `.navbarVerticalAlign(30px);` to calculate the appropriate top margin. +.navbarVerticalAlign(@elementHeight) { + margin-top: (@navbarHeight - @elementHeight) / 2; +} + +// Popover arrows // ------------------------- // For tipsies and popovers #popoverArrow { diff --git a/less/navbar.less b/less/navbar.less index 62cde1bd17..87f260699e 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -74,7 +74,7 @@ // Buttons in navbar .btn, .btn-group { - margin-top: 5px; // make buttons vertically centered in navbar + .navbarVerticalAlign(30px); // Vertically center in navbar } .btn-group .btn { margin-top: 0; // then undo the margin here so we don't accidentally double it @@ -86,14 +86,15 @@ margin-bottom: 0; // remove default bottom margin .clearfix(); input, - select { - display: inline-block; - margin-top: 5px; - margin-bottom: 0; - } + select, .radio, .checkbox { - margin-top: 5px; + .navbarVerticalAlign(30px); // Vertically center in navbar + } + input, + select { + display: inline-block; + margin-bottom: 0; } input[type="image"], input[type="checkbox"], @@ -114,7 +115,7 @@ .navbar-search { position: relative; float: left; - margin-top: 6px; + .navbarVerticalAlign(28px); // Vertically center in navbar margin-bottom: 0; .search-query { padding: 4px 9px;