mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-23 18:40:03 +00:00
Fixes #13872 more: add overrides for lg and sm input modifiers
This commit is contained in:
parent
34248437c3
commit
e98fc373e3
15
dist/css/bootstrap.css
vendored
15
dist/css/bootstrap.css
vendored
@ -2480,6 +2480,16 @@ fieldset[disabled] .radio label,
|
|||||||
fieldset[disabled] .checkbox label {
|
fieldset[disabled] .checkbox label {
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
}
|
}
|
||||||
|
.form-control-static {
|
||||||
|
padding-top: 7px;
|
||||||
|
padding-bottom: 7px;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
.form-control-static.input-lg,
|
||||||
|
.form-control-static.input-sm {
|
||||||
|
padding-right: 0;
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
.input-sm,
|
.input-sm,
|
||||||
.form-horizontal .form-group-sm .form-control {
|
.form-horizontal .form-group-sm .form-control {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
@ -2620,11 +2630,6 @@ select[multiple].input-lg {
|
|||||||
.has-feedback label.sr-only ~ .form-control-feedback {
|
.has-feedback label.sr-only ~ .form-control-feedback {
|
||||||
top: 0;
|
top: 0;
|
||||||
}
|
}
|
||||||
.form-control-static {
|
|
||||||
padding-top: 7px;
|
|
||||||
padding-bottom: 7px;
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
.help-block {
|
.help-block {
|
||||||
display: block;
|
display: block;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
|
2
dist/css/bootstrap.css.map
vendored
2
dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
2
docs/dist/css/bootstrap.css.map
vendored
2
docs/dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
2
docs/dist/css/bootstrap.min.css
vendored
2
docs/dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@ -281,6 +281,26 @@ input[type="checkbox"] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Static form control text
|
||||||
|
//
|
||||||
|
// Apply class to a `p` element to make any string of text align with labels in
|
||||||
|
// a horizontal form layout.
|
||||||
|
|
||||||
|
.form-control-static {
|
||||||
|
// Size it appropriately next to real form controls
|
||||||
|
padding-top: (@padding-base-vertical + 1);
|
||||||
|
padding-bottom: (@padding-base-vertical + 1);
|
||||||
|
// Remove default margin from `p`
|
||||||
|
margin-bottom: 0;
|
||||||
|
|
||||||
|
&.input-lg,
|
||||||
|
&.input-sm {
|
||||||
|
padding-left: 0;
|
||||||
|
padding-right: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Form control sizing
|
// Form control sizing
|
||||||
//
|
//
|
||||||
// Build on `.form-control` with modifier classes to decrease or increase the
|
// Build on `.form-control` with modifier classes to decrease or increase the
|
||||||
@ -349,20 +369,6 @@ input[type="checkbox"] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Static form control text
|
|
||||||
//
|
|
||||||
// Apply class to a `p` element to make any string of text align with labels in
|
|
||||||
// a horizontal form layout.
|
|
||||||
|
|
||||||
.form-control-static {
|
|
||||||
// Size it appropriately next to real form controls
|
|
||||||
padding-top: (@padding-base-vertical + 1);
|
|
||||||
padding-bottom: (@padding-base-vertical + 1);
|
|
||||||
// Remove default margin from `p`
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Help text
|
// Help text
|
||||||
//
|
//
|
||||||
// Apply to any element you wish to create light text for placement immediately
|
// Apply to any element you wish to create light text for placement immediately
|
||||||
|
Loading…
x
Reference in New Issue
Block a user