discourse/app/assets/stylesheets/common/components/keyboard_shortcuts.scss
Sam a3e8c3cd7b FEATURE: Native theme support
This feature introduces the concept of themes. Themes are an evolution
of site customizations.

Themes introduce two very big conceptual changes:

- A theme may include other "child themes", children can include grand
children and so on.

- A theme may specify a color scheme

The change does away with the idea of "enabled" color schemes.

It also adds a bunch of big niceties like

- You can source a theme from a git repo

- History for themes is much improved

- You can only have a single enabled theme. Themes can be selected by
    users, if you opt for it.

On a technical level this change comes with a whole bunch of goodies

- All CSS is now compiled using a custom pipeline that uses libsass
    see /lib/stylesheet

- There is a single pipeline for css compilation (in the past we used
    one for customizations and another one for the rest of the app

- The stylesheet pipeline is now divorced of sprockets, there is no
   reliance on sprockets for CSS bundling

- CSS is generated with source maps everywhere (including themes) this
    makes debugging much easier

- Our "live reloader" is smarter and avoid a flash of unstyled content
   we run a file watcher in "puma" in dev so you no longer need to run
   rake autospec to watch for CSS changes
2017-04-12 10:53:49 -04:00

42 lines
924 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 {
.span6 {
width:32%;
}
ul {
list-style: none;
margin-left: 0;
li {
margin: 5px 0
}
b {
padding: 2px 6px;
border-radius: 4px;
box-shadow: 0 2px 0 rgba(0,0,0,0.2),0 0 0 1px dark-light-choose(#fff,#000) inset;
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;
}
}
}