Fix destructive actions in dropdowns not using error color in light theme (#28484)

th-downstream
Cal Moody 11 months ago committed by GitHub
parent ba5f659bb3
commit 3599622b5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -300,10 +300,15 @@ html {
} }
&__item { &__item {
color: $darker-text-color;
&--dangerous {
color: $error-value-color;
}
a, a,
button { button {
background: $white; background: $white;
color: $darker-text-color;
} }
} }
} }
@ -315,9 +320,9 @@ html {
.privacy-dropdown__option.active .privacy-dropdown__option__content strong, .privacy-dropdown__option.active .privacy-dropdown__option__content strong,
.privacy-dropdown__option:hover .privacy-dropdown__option__content, .privacy-dropdown__option:hover .privacy-dropdown__option__content,
.privacy-dropdown__option:hover .privacy-dropdown__option__content strong, .privacy-dropdown__option:hover .privacy-dropdown__option__content strong,
.dropdown-menu__item a:active, .dropdown-menu__item:not(.dropdown-menu__item--dangerous) a:active,
.dropdown-menu__item a:focus, .dropdown-menu__item:not(.dropdown-menu__item--dangerous) a:focus,
.dropdown-menu__item a:hover, .dropdown-menu__item:not(.dropdown-menu__item--dangerous) a:hover,
.actions-modal ul li:not(:empty) a.active, .actions-modal ul li:not(:empty) a.active,
.actions-modal ul li:not(:empty) a.active button, .actions-modal ul li:not(:empty) a.active button,
.actions-modal ul li:not(:empty) a:active, .actions-modal ul li:not(:empty) a:active,

Loading…
Cancel
Save