Summary Files Commits Branches @commit @diff @stats
path: root / src / _forms.scss
diff options
context:
space:
mode:
1 files changed, 9 insertions, 9 deletions
-rw-r--r--src/_forms.scss18
diff --git a/src/_forms.scss b/src/_forms.scss
index 3fa2c87..63dbd4f 100644
--- a/src/_forms.scss
+++ b/src/_forms.scss
@@ -18,6 +18,7 @@ legend {
// Form element: Label
.form-label {
display: block;
+ line-height: $line-height;
padding: $control-padding-y + $border-width 0;
&.label-sm {
@@ -249,14 +250,14 @@ textarea.form-input {
border-left-width: 0;
border-top-width: 0;
content: "";
- height: 10px;
+ height: 12px;
left: 50%;
- margin-left: -3px;
- margin-top: -6px;
+ margin-left: -4px;
+ margin-top: -8px;
position: absolute;
top: 50%;
transform: rotate(45deg);
- width: 6px;
+ width: 8px;
}
}
&:indeterminate + .form-icon {
@@ -278,21 +279,20 @@ textarea.form-input {
}
.form-radio {
.form-icon {
- border-radius: $control-icon-size / 2;
+ border-radius: 50%;
}
input {
&:checked + .form-icon {
&::before {
background: $bg-color-light;
- border-radius: $border-radius;
+ border-radius: 50%;
content: "";
height: 4px;
left: 50%;
- margin-left: -2px;
- margin-top: -2px;
position: absolute;
top: 50%;
+ transform: translate(-50%, -50%);
width: 4px;
}
}
@@ -314,7 +314,7 @@ textarea.form-input {
&::before {
@include control-transition();
background: $bg-color-light;
- border-radius: $unit-2;
+ border-radius: 50%;
content: "";
display: block;
height: $unit-4;