Merge pull request #20296 from woocommerce/fix/20295

Add greater specificity to required styling
This commit is contained in:
Mike Jolley 2018-05-29 18:39:31 +01:00 committed by GitHub
commit 3aef0a842e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 { .loader {
@include 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 { .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-message,
.woocommerce-error, .woocommerce-error,
.woocommerce-info { .woocommerce-info {

File diff suppressed because one or more lines are too long