mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-02 01:42:36 +02:00
drop more -base, clean up var spacing
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
width: 100%;
|
||||
// // Make inputs at least the height of their button counterpart (base line-height + padding + border)
|
||||
// height: $input-height;
|
||||
padding: $padding-base-y $padding-base-x;
|
||||
padding: $padding-y $padding-x;
|
||||
font-size: $font-size-base;
|
||||
line-height: $line-height-base;
|
||||
color: $input-color;
|
||||
@@ -83,7 +83,7 @@
|
||||
// For use with horizontal and inline forms, when you need the label text to
|
||||
// align with the form controls.
|
||||
.form-control-label {
|
||||
padding: ($padding-base-y + $border-width) $padding-base-x;
|
||||
padding: ($padding-y + $border-width) $padding-x;
|
||||
margin-bottom: 0; // Override the `<label>` default
|
||||
}
|
||||
|
||||
@@ -127,8 +127,8 @@
|
||||
.form-control-static {
|
||||
min-height: $input-height;
|
||||
// Size it appropriately next to real form controls
|
||||
padding-top: ($padding-base-y + $border-width);
|
||||
padding-bottom: ($padding-base-y + $border-width);
|
||||
padding-top: ($padding-y + $border-width);
|
||||
padding-bottom: ($padding-y + $border-width);
|
||||
// Remove default margin from `p`
|
||||
margin-bottom: 0;
|
||||
|
||||
|
Reference in New Issue
Block a user