UX: Adjust focus styles for topic post menu, composer cancel (#11977)

This commit is contained in:
Penar Musaraj 2021-02-04 10:28:35 -05:00 committed by GitHub
parent 414224ce07
commit eb29827e9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 5 deletions

View File

@ -328,7 +328,9 @@
line-height: normal;
color: var(--primary-high);
transition: color 250ms;
&:hover {
&:hover,
&:focus {
outline: none;
color: var(--danger);
}
}

View File

@ -166,13 +166,12 @@ nav.post-controls {
border: none;
margin-left: 3px;
&.d-hover,
&:focus {
&:focus,
&:active {
outline: none;
background: var(--primary-low);
color: var(--primary);
}
&:active {
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}
&.hidden {
display: none;
}