discourse/app/assets/stylesheets/common/components/keyboard_shortcuts.scss

58 lines
1.1 KiB
SCSS
Raw Normal View History

.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,
2018-07-16 14:51:05 -04:00
.latest-topic-list-item.selected {
box-shadow: inset 3px 0 0 $danger; // needs to be inset for Edge
}
.featured-topic.selected,
.topic-post.selected {
2018-07-16 14:52:00 -04:00
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 {
2018-02-14 12:26:05 -05:00
div.row {
width: 100%;
div {
float: left;
width: 32%;
2018-02-14 12:26:05 -05:00
}
2014-08-14 05:54:53 -04:00
}
ul {
list-style: none;
2014-08-14 05:54:53 -04:00
margin-left: 0;
li {
margin: 5px 0;
}
b {
2014-04-13 17:51:24 -04:00
padding: 2px 6px;
border-radius: 4px;
box-shadow: shadow("kbd");
2015-08-19 00:42:41 -04:00
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);
2014-04-13 17:51:24 -04:00
white-space: nowrap;
display: inline-block;
}
}
}