diff --git a/_src/_assets/styles/bigchain/_forms.scss b/_src/_assets/styles/bigchain/_forms.scss index 950b631..2d30ff3 100644 --- a/_src/_assets/styles/bigchain/_forms.scss +++ b/_src/_assets/styles/bigchain/_forms.scss @@ -54,12 +54,36 @@ cursor: disabled; } + // + // required indicator after the label + // + &:required, + &[required] { + + .form-label, + + .select-target + .form-label { + &:after { + content: "*"; + @extend .required; + } + } + } + .background--photo & { border-bottom-color: rgba(#fff, .5); } } +// +// required indicator +// +.required { + color: $brand-main-violet; + padding-left: .1rem; + padding-right: .1rem; +} + + // // Floating placeholder labels // diff --git a/_src/_assets/styles/bigchain/_select-theme-bigchaindb.scss b/_src/_assets/styles/bigchain/_select-theme-bigchaindb.scss index 4d5bebb..a2bd7e7 100644 --- a/_src/_assets/styles/bigchain/_select-theme-bigchaindb.scss +++ b/_src/_assets/styles/bigchain/_select-theme-bigchaindb.scss @@ -176,6 +176,7 @@ } + .form-label { - visibility: hidden; + //visibility: hidden; + pointer-events: none; } } diff --git a/_src/_includes/form-cla.html b/_src/_includes/form-cla.html index 00507e4..7055571 100644 --- a/_src/_includes/form-cla.html +++ b/_src/_includes/form-cla.html @@ -32,6 +32,9 @@
++ Fields marked with an * are required. +
Agreed and accepted: By clicking and accepting this Agreement, I represent and warrant that I have authority to bind the entity named above (if applicable) to the terms and conditions of this Agreement.
@@ -87,6 +90,9 @@ ++ Fields marked with an * are required. +
Agreed and accepted: By clicking and accepting this Agreement, I represent and warrant that I have authority to bind the entity named above (if applicable) to the terms and conditions of this Agreement.
diff --git a/_src/_includes/form-contact.html b/_src/_includes/form-contact.html index b366b25..ab645ba 100644 --- a/_src/_includes/form-contact.html +++ b/_src/_includes/form-contact.html @@ -12,6 +12,9 @@ ++ Fields marked with an * are required. +
diff --git a/_src/_includes/form-enterprise.html b/_src/_includes/form-enterprise.html index b2698f9..037e975 100644 --- a/_src/_includes/form-enterprise.html +++ b/_src/_includes/form-enterprise.html @@ -42,7 +42,7 @@