discourse/app/assets/stylesheets/common/components/keyboard_shortcuts.scss
Osama Sayegh 0b5924d61e
Refactor keyboard shortcuts modal to fix RTL locales (#7545)
* Refactor keyboard shortcuts modal to fix RTL locales

* Feedback

* Remove lowercase modifier keys
2019-05-21 06:39:32 +03:00

56 lines
964 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,
.latest-topic-list-item.selected {
box-shadow: inset 3px 0 0 $danger; // needs to be inset for Edge
}
.featured-topic.selected,
.topic-post.selected {
box-shadow: -3px 0 0 $danger;
}
.latest .featured-topic {
padding-left: 4px;
}
.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;
}
kbd {
font-size: $base-font-size;
font-family: $base-font-family;
margin: 0;
color: dark-light-choose(#444, #aaa);
font-weight: bold;
padding: 2px 6px;
white-space: nowrap;
}
}
}