Merge pull request #20296 from woocommerce/fix/20295
Add greater specificity to required styling
This commit is contained in:
commit
3aef0a842e
File diff suppressed because one or more lines are too long
|
@ -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
Loading…
Reference in New Issue