Add greater specificity to required styling

This commit is contained in:
Mike Jolley 2018-05-29 16:47:40 +01:00
parent 5504f966a4
commit d5770f32eb
3 changed files with 18 additions and 16 deletions

File diff suppressed because one or more lines are too long

View File

@ -64,6 +64,22 @@
.loader {
@include loader();
}
form .form-row {
.required {
color: firebrick;
text-decoration: none;
visibility: hidden; // Only show optional by default.
&[title] {
border: 0 !important;
}
}
.optional {
visibility: visible;
}
}
}
.woocommerce-breadcrumb {
@ -137,20 +153,6 @@
}
}
.required {
color: firebrick;
text-decoration: none;
visibility: hidden; // Only show optional by default.
&[title] {
border: 0 !important;
}
}
.optional {
visibility: visible;
}
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {

File diff suppressed because one or more lines are too long