discourse/app/assets/stylesheets/common/components/keyboard_shortcuts.css.scss
Ryan Sullivan 5100c2bbd2 Add Global Keyboard Shortcuts
Not all of these have been fully implemented yet.

**Jump To**
* `g` then `h` - Home (Latest)
* `g` then `l` - Latest
* `g` then `n` - New
* `g` then `u` - Unread
* `g` then `f` - Favorited
* `g` then `c` - Categories List

**Navigation**
* `u` - Back to topic list
* `k` / `j` - Newer/Older conversation or post
* `o` or `Enter` - Open selected conversation
* <code>`</code> - Go to next section
* `~` - Go to previous section

**Application**
* `c` - Create a new topic
* `n` - Open notifications menu
* `/` - Search
* `?` - Open keyboard shortcut help

**Actions**
* `f` - Favorite topic
* `s` - Share topic
* `<Shift>` + `s` - Share selected post
* `r` - Reply to topic
* `<Shift>` + `r` - Reply to selected post
* `l` - Like selected post
* `!` - Flag selected post
* `b` - Bookmark selected post
* `e` - Edit selected post
* `d` - Delete selected post
* `m` then `m` - Mark topic as muted
* `m` then `r` - Mark topic as regular
* `m` then `t` - Mark topic as tracking
* `m` then `w` - Mark topic as watching
2013-12-22 12:16:42 -07:00

33 lines
630 B
SCSS

@import "../foundation/variables";
.topic-list-item td:first-child, .topic-post {
background-color: inherit;
border-left: 1px solid transparent;
}
.topic-list-item.selected td:first-child, .topic-post.selected {
border-left: 1px solid $topic-list-starred-color;
}
.topic-list-item.selected {
background-color: inherit;
}
#keyboard-shortcuts-help {
ul {
list-style: none;
padding-left: 0;
li {
margin: 5px 0px
}
b {
background-color: $nav-stacked-divider-color;
color: $nav-stacked-color;
display: inline-block;
margin: 0px 2px;
padding: 2px 4px;
}
}
}