2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-12 21:10:47 +08:00

Revert 'Accessibility: focus management in topics'

reverts:

- 3df0626aa5
- 3212cdda78
- 59b7760e2e
- bfc1301823
This commit is contained in:
Arpit Jalan 2018-02-22 10:30:39 +05:30
parent f74d6bb605
commit d170c8fccc
5 changed files with 10 additions and 43 deletions

View file

@ -6,20 +6,10 @@
box-shadow: -3px 0 0 $danger;
}

.mobile-view {
.topic-list tr.selected td:first-child, .topic-list-item.selected td:first-child, .topic-post.selected {
box-shadow: none;
}
}

.topic-list-item.selected {
background-color: inherit;
}

.topic-post article:focus, .topic-list tr:focus, .topic-list-item:focus {
outline: 0;
}

.keyboard-shortcuts-modal .modal-body {
max-height: 560px;
}

View file

@ -126,7 +126,7 @@ nav.post-controls {
border: none;
margin-left: 3px;

&.d-hover, &:focus {
&.d-hover {
background: $primary-low;
color: $primary;
}
@ -142,12 +142,12 @@ nav.post-controls {
position: relative;
}

&.delete.d-hover, &.delete:focus {
&.delete.d-hover {
background: $danger;
color: $secondary;
}

&.like.d-hover, &.like:focus {
&.like.d-hover {
color: $love;
background: $love-low;
}