discourse/app/assets/stylesheets/common/components/keyboard_shortcuts.scss
Joffrey JAFFEUX 174d392e5a
DEV: adds prettier (#5956)
Run `prettier --write "app/assets/stylesheets/**/*.scss" "plugins/**/*.scss"` after making sure you installed it with `yarn`

It's recommended to configure your editor to run prettier on file save.
2018-06-08 11:49:31 +02:00

49 lines
926 B
SCSS

.topic-list-item td:first-child,
.topic-post {
border-left: 1px solid transparent;
}
.topic-list tr.selected td:first-child,
.topic-list-item.selected td:first-child,
.topic-post.selected {
box-shadow: -3px 0 0 $danger;
}
.topic-list-item.selected {
background-color: inherit;
}
.keyboard-shortcuts-modal .modal-body {
max-height: 560px;
}
#keyboard-shortcuts-help {
div.row {
width: 100%;
div {
float: left;
width: 32%;
}
}
ul {
list-style: none;
margin-left: 0;
li {
margin: 5px 0;
}
b {
padding: 2px 6px;
border-radius: 4px;
box-shadow: shadow("kbd");
background: dark-light-choose(#fafafa, #333);
border: 1px solid dark-light-choose(#ccc, #555);
border-bottom: medium none dark-light-choose(#fff, #000);
color: dark-light-choose(#444, #aaa);
white-space: nowrap;
display: inline-block;
}
}
}