gristlabs_grist-core/app/client/components/commands.css
Paul Fitzpatrick 1654a2681f (core) move client code to core
Summary:
This moves all client code to core, and makes minimal fix-ups to
get grist and grist-core to compile correctly.  The client works
in core, but I'm leaving clean-up around the build and bundles to
follow-up.

Test Plan: existing tests pass; server-dev bundle looks sane

Reviewers: dsagal

Reviewed By: dsagal

Differential Revision: https://phab.getgrist.com/D2627
2020-10-02 13:24:21 -04:00

54 lines
1.3 KiB
CSS

.shortcut_keys {
display: inline-block;
}
.context-menu-item .shortcut_keys {
font-size: 1.2rem;
}
.shortcut_key_image {
display: inline-block;
border-left: 2px solid #eee;
border-top: 2px solid #eee;
border-right: 2px solid #aaa;
border-bottom: 2px solid #aaa;
box-shadow: inset 0px 0px 0px 1px #fff, inset 3px 1px 0.5rem 2px #eee;
border-radius: 3px;
margin: 1px 0.2rem;
padding: 1px 6px;
font-size: 0.9em;
color: #666;
background-color: white;
}
.shortcut_key_image.pressed {
border-left: 2px solid #aba;
border-top: 2px solid #aba;
border-right: 2px solid #efe;
border-bottom: 2px solid #efe;
box-shadow: inset 0px 0px 0px 1px #efe, inset 3px 1px 0.5rem 2px #efe;
}
.shortcut_key_image.highlight {
border-left: 2px solid #cfc;
border-top: 2px solid #cfc;
border-right: 2px solid #8b8;
border-bottom: 2px solid #8b8;
box-shadow: inset 0px 0px 0px 1px #bfb, inset 3px 1px 0.5rem 2px #bfb;
}
.g-help .shortcut_key_image {
display: inline-block;
border-left: 2px solid #777;
border-top: 2px solid #777;
border-right: 2px solid #444;
border-bottom: 2px solid #444;
box-shadow: inset 0px 0px 0px 1px #555, inset -3px -1px 0.5rem 2px #777;
border-radius: 3px;
margin: 1px 0.2rem;
padding: 1px 6px;
font-size: 0.9em;
color: #cf0;
background-color: #555;
}