A11Y: fix topic admin menu button colors for WCAG colors (#27007)
* A11Y: fix topic admin menu button colors for WCAG colors * do not duplicate attr
This commit is contained in:
parent
094d2a7187
commit
9b70cbf4bb
|
@ -88,10 +88,9 @@ export default class TopicAdminMenu extends Component {
|
|||
<DMenu
|
||||
@identifier="topic-admin-menu"
|
||||
@onRegisterApi={{this.onRegisterApi}}
|
||||
@triggerClass="toggle-admin-menu"
|
||||
@modalForMobile={{true}}
|
||||
@autofocus={{true}}
|
||||
@class="btn-default btn-icon"
|
||||
@triggerClass="btn-default btn-icon toggle-admin-menu"
|
||||
>
|
||||
<:trigger>
|
||||
{{icon "wrench"}}
|
||||
|
|
|
@ -12,12 +12,9 @@
|
|||
}
|
||||
|
||||
html.discourse-no-touch {
|
||||
.btn-default:not(.btn-flat, .btn-danger, .btn-primary),
|
||||
.btn-icon:not(.btn-flat, .btn-danger, .btn-primary) {
|
||||
&.btn-default {
|
||||
.d-icon {
|
||||
color: var(--primary-medium);
|
||||
}
|
||||
.btn-default {
|
||||
.d-icon {
|
||||
color: var(--primary-medium);
|
||||
}
|
||||
&:hover,
|
||||
&.btn-hover,
|
||||
|
@ -32,7 +29,7 @@ html.discourse-no-touch {
|
|||
}
|
||||
.btn-icon.ok,
|
||||
.btn-icon.cancel,
|
||||
.btn-danger:not(.btn-flat) {
|
||||
.btn-danger:not(.btn-flat, .btn-transparent) {
|
||||
.d-icon {
|
||||
color: var(--secondary);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue