mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user