mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 03:32:45 +08:00
UX: fix btn-flat
focus style (#24156)
This commit is contained in:
parent
fbf8528814
commit
923fe3d082
|
@ -306,11 +306,19 @@
|
|||
color: var(--primary-low-mid);
|
||||
transition: color 0.25s;
|
||||
}
|
||||
@include hover {
|
||||
background: transparent;
|
||||
color: var(--primary);
|
||||
.d-icon {
|
||||
.discourse-no-touch & {
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: var(--primary);
|
||||
.d-icon {
|
||||
color: var(--primary);
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
background: transparent;
|
||||
}
|
||||
&:focus {
|
||||
background: var(--primary-low);
|
||||
}
|
||||
}
|
||||
&.close {
|
||||
|
@ -320,10 +328,13 @@
|
|||
.d-icon {
|
||||
color: var(--primary-high);
|
||||
}
|
||||
@include hover {
|
||||
background: transparent;
|
||||
.d-icon {
|
||||
color: var(--primary);
|
||||
.discourse-no-touch & {
|
||||
&:hover,
|
||||
&:focus {
|
||||
background: transparent;
|
||||
.d-icon {
|
||||
color: var(--primary);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user