|
@@ -8,6 +8,13 @@
|
|
|
font-style: $form-label-font-style;
|
|
font-style: $form-label-font-style;
|
|
|
font-weight: $form-label-font-weight;
|
|
font-weight: $form-label-font-weight;
|
|
|
color: $form-label-color;
|
|
color: $form-label-color;
|
|
|
|
|
+
|
|
|
|
|
+ &.required::after,
|
|
|
|
|
+ &[required]::after {
|
|
|
|
|
+ content: '*';
|
|
|
|
|
+ padding-left: 0.125rem;
|
|
|
|
|
+ color: $danger;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// For use with horizontal and inline forms, when you need the label (or legend)
|
|
// For use with horizontal and inline forms, when you need the label (or legend)
|