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

Failed to ignore revisions in .git-blame-ignore-revs.

82 lines
1.5 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,
.latest-topic-list-item.selected,
.search-results .fps-result.selected {
2018-07-16 14:51:05 -04:00
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-modal .modal-inner-container {
max-width: 880px;
}
#keyboard-shortcuts-help {
display: flex;
.column {
width: 33.3%;
2014-08-14 05:54:53 -04:00
}
ul {
list-style: none;
margin-bottom: 2rem;
2014-08-14 05:54:53 -04:00
margin-left: 0;
li {
align-items: center;
display: flex;
flex-wrap: wrap;
margin-bottom: 6px;
}
span {
background: $primary-very-low;
border-radius: 3px;
display: inline-flex;
margin: 0 6px;
padding: 1px 0 5px;
}
span:first-child {
margin-left: 0;
}
kbd {
align-items: center;
box-sizing: border-box;
color: dark-light-choose(#333, #aaa);
display: inline-flex;
font-family: $base-font-family;
font-weight: bold;
height: 24px;
justify-content: center;
margin: 0 3px;
min-width: 24px;
padding: 0 6px;
vertical-align: bottom;
2014-04-13 17:51:24 -04:00
white-space: nowrap;
}
}
}