]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
tweak small forms, small inputs; trying to equalize their rendered dimensions
authorMark Otto <markdotto@gmail.com>
Mon, 22 Jun 2015 23:30:31 +0000 (16:30 -0700)
committerMark Otto <markdotto@gmail.com>
Mon, 22 Jun 2015 23:30:31 +0000 (16:30 -0700)
scss/_forms.scss
scss/_navbar.scss
scss/_variables.scss

index 7cdf541258ada9dd09bb2e8ead3bab01e22494d3..1426fe793841d39d0cdcd244d878ce2d90174cbf 100644 (file)
@@ -19,7 +19,7 @@
   background-color: $input-bg;
   // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214.
   background-image: none;
-  border: 1px solid $input-border;
+  border: $border-width solid $input-border;
    // Note: This has no effect on <select>s in some browsers, due to the limited stylability of `<select>`s in CSS.
   @include border-radius($input-border-radius);
   @include box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
 
   // Make inputs at least the height of their button counterpart (base line-height + padding + border).
   // Only apply the height to textual inputs and some selcts.
-  &:not(textarea),
-  &:not(select[size]),
-  &:not(select[multiple]) {
-    height: $input-height-base;
-  }
+  // &:not(textarea),
+  // &:not(select[size]),
+  // &:not(select[multiple]) {
+  //   height: $input-height-base;
+  // }
 
   // Unstyle the caret on `<select>`s in IE10+.
   &::-ms-expand {
index 342c8cc8c17c4725828b162f15d271ad2a2fbfb8..17836899a2a7634fa72b5b82135d0e2cb39db0fb 100644 (file)
 }
 
 
-// Condensed navbar
+// Small navbar
+//
+// Condensed dimensions for an aesthetic closer to v3's navbar.
 
-.navbar-condensed {
+.navbar-sm {
   padding-top: 0;
   padding-bottom: 0;
 
index 5b8b1c55ef120c8ab1b0c1861a9feae91ead0f15..7615d2f0c31d160a55987456275175103ba499e4 100644 (file)
@@ -102,7 +102,7 @@ $padding-base-horizontal:   .75rem !default;
 $padding-lg-vertical:    .75rem !default;
 $padding-lg-horizontal:  1.5rem !default;
 
-$padding-sm-vertical:    .3rem !default;
+$padding-sm-vertical:    .275rem !default;
 $padding-sm-horizontal:  .75rem !default;
 
 $padding-xs-vertical:       .2rem !default;