$form-label-pointer: pointer;
$form-label-font-size: rem-calc(14);
$form-label-font-weight: 500;
+$form-label-line-height: 1.5;
$form-label-font-color: scale-color(#000, $lightness: 30%);
+$form-label-small-transform: capitalize;
$form-label-bottom-margin: rem-calc(3);
$input-font-family: inherit;
$input-font-color: rgba(0,0,0,0.75);
$form-label-font-weight: 500;
$form-label-line-height: 1.5;
$form-label-font-color: scale-color(#000, $lightness: 30%);
+$form-label-small-transform: capitalize;
$form-label-bottom-margin: 0;
$input-font-family: inherit;
$input-font-color: rgba(0,0,0,0.75);
// $form-label-font-weight: normal;
// $form-label-line-height: 1.5;
// $form-label-font-color: scale-color(#000, $lightness: 30%);
+// $form-label-small-transform: capitalize;
// $form-label-bottom-margin: 0;
// $input-font-family: inherit;
// $input-font-color: rgba(0,0,0,0.75);
$form-label-font-weight: normal !default;
$form-label-line-height: 1.5 !default;
$form-label-font-color: scale-color(#000, $lightness: 30%) !default;
+$form-label-small-transform: capitalize !default;
$form-label-bottom-margin: 0 !default;
$input-font-family: inherit !default;
$input-font-color: rgba(0,0,0,0.75) !default;
&.inline { @include form-label(inline,false); }
/* Styles for required inputs */
small {
- text-transform: capitalize;
+ text-transform: $form-label-small-transform;
color: scale-color($form-label-font-color, $lightness: 15%);
}
}
@include radius($input-border-radius);
}
}
-
+
/* Respect enforced amount of rows for textarea */
textarea[rows] {
height: auto;
color: scale-color($form-label-font-color, $lightness: 15%);
background: transparent;
padding: 0;
- text-transform: capitalize;
+ text-transform: $form-label-small-transform;
font-style: normal;
font-size: 60%;
margin: 0;