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

UX: Remove default focus styling from posts & topic list items

The styling is superseded by the .selected management
This commit is contained in:
Kane York 2018-01-15 18:21:09 -08:00 committed by Guo Xiang Tan
parent 59b7760e2e
commit bfc1301823

View file

@ -6,10 +6,20 @@
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;
}