mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-30 08:39:56 +02:00
Restore .form-text
(#30565)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
@import "forms/labels";
|
||||
@import "forms/form-text";
|
||||
@import "forms/form-control";
|
||||
@import "forms/form-select";
|
||||
@import "forms/form-check";
|
||||
|
@@ -565,6 +565,11 @@ $btn-transition: color .15s ease-in-out, background-color .15s ease
|
||||
|
||||
// Forms
|
||||
|
||||
$form-text-margin-top: .25rem !default;
|
||||
$form-text-font-size: null !default;
|
||||
$form-text-font-style: null !default;
|
||||
$form-text-color: $text-muted !default;
|
||||
|
||||
$form-label-margin-bottom: .5rem !default;
|
||||
$form-label-font-size: null !default;
|
||||
$form-label-font-style: null !default;
|
||||
@@ -669,8 +674,6 @@ $form-switch-checked-color: $component-active-color !default;
|
||||
$form-switch-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-checked-color}'/></svg>") !default;
|
||||
$form-switch-checked-bg-position: right center !default;
|
||||
|
||||
$form-text-margin-top: .25rem !default;
|
||||
|
||||
$form-check-inline-margin-right: 1rem !default;
|
||||
|
||||
$input-group-addon-color: $input-color !default;
|
||||
|
11
scss/forms/_form-text.scss
Normal file
11
scss/forms/_form-text.scss
Normal file
@@ -0,0 +1,11 @@
|
||||
//
|
||||
// Form text
|
||||
//
|
||||
|
||||
.form-text {
|
||||
display: block;
|
||||
margin-top: $form-text-margin-top;
|
||||
@include font-size($form-text-font-size);
|
||||
font-style: $form-text-font-style;
|
||||
color: $form-text-color;
|
||||
}
|
Reference in New Issue
Block a user