A platform for community discussion. Free, open, simple.
UX: Remove default focus styling from posts & topic list items
Kane Yorkbfc13018237c
diff --git a/app/assets/stylesheets/common/components/keyboard_shortcuts.scss b/app/assets/stylesheets/common/components/keyboard_shortcuts.scssindex 643c314463d..77016571a74 100644--- a/app/assets/stylesheets/common/components/keyboard_shortcuts.scss+++ b/app/assets/stylesheets/common/components/keyboard_shortcuts.scss@@ -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;}