@yuebai008/cli
Version:
Command line interface for rapid qg-minigame development
1 lines • 4.15 kB
JavaScript
const styles=new CSSStyleSheet;styles.replaceSync('/*\n * Copyright 2020 The Chromium Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\nheader {\n padding: 0 0 6px;\n border-bottom: 1px solid var(--color-details-hairline);\n flex: none;\n margin-bottom: 25px;\n}\n\nh1 {\n font-size: 18px;\n font-weight: normal;\n padding-bottom: 3px;\n margin: 0;\n}\n\n[role="list"],\n.widget.vbox {\n min-width: 300px;\n}\n\n.keybinds-key {\n padding: 0.1em 0.6em;\n border: 1px solid var(--color-details-hairline);\n font-size: 11px;\n background-color: var(--color-background-elevation-1);\n color: var(--color-text-primary);\n box-shadow: var(--box-shadow-outline-color);\n border-radius: 3px;\n display: inline-block;\n margin: 0 0.1em;\n text-shadow: 0 1px 0 var(--color-background);\n line-height: 1.5;\n white-space: nowrap;\n}\n\n.keybinds-list-item {\n min-height: 30px;\n display: grid;\n grid-template-rows: repeat(auto-fit, minmax(30px, auto));\n grid-template-columns: 1fr 30px 2fr 30px 30px;\n flex: auto 1 1;\n}\n\n.keybinds-list-item:focus-visible {\n background-color: var(--legacy-focus-bg-color);\n}\n\n.keybinds-list-item:not(.keybinds-category-header) {\n padding: 4px 0 4px 20px;\n border-radius: 7px;\n}\n\n.keybinds-list-item:not(.keybinds-category-header):last-child {\n margin-bottom: 5px;\n}\n\n.keybinds-list-item.keybinds-editing {\n background-color: var(--sys-color-neutral-container);\n}\n\n.keybinds-list-text.keybinds-action-name {\n padding-top: 7px;\n grid-row: 1 / 3;\n}\n\n.keybinds-shortcut,\n.keybinds-info {\n grid-row: auto;\n grid-column: 3 / span 1;\n}\n\n.keybinds-shortcut.devtools-link {\n align-items: center;\n margin-left: 3px;\n}\n\n.keybinds-info .devtools-link {\n padding-top: 6px;\n}\n\n.keybinds-error {\n color: var(--color-accent-red);\n}\n\n.keybinds-list-item.keybinds-editing .keybinds-shortcut {\n display: flex;\n}\n\n.keybinds-modified {\n grid-column: 2 / span 1;\n margin-top: 2px;\n}\n\n.keybinds-list-item button {\n border: none;\n padding: 0;\n background: transparent;\n}\n\n.keybinds-list-item button:hover .icon-mask {\n background-color: var(--color-text-primary);\n}\n\n.keybinds-list-item button:focus-visible {\n background-color: var(--legacy-focus-bg-color);\n}\n\n.keybinds-list-item button[disabled] {\n opacity: 40%;\n}\n\n.keybinds-confirm-button {\n grid-column: -2 / span 1;\n}\n\n.keybinds-cancel-button {\n grid-column: -1 / span 1;\n}\n\n.keybinds-edit-button {\n display: none;\n grid-row: 1 / span 1;\n grid-column: 4 / span 1;\n}\n\n.keybinds-list-item:not(.keybinds-editing):hover .keybinds-edit-button,\n.keybinds-list-item:not(.keybinds-editing):focus-within .keybinds-edit-button {\n display: inline-block;\n}\n\n.keybinds-list-text {\n padding: 3px 0;\n user-select: none;\n color: var(--color-text-primary);\n text-align: start;\n position: relative;\n margin-right: 0;\n}\n\n.keybinds-category-header {\n font-weight: bold;\n line-height: 30px;\n white-space: nowrap;\n}\n\n.keybinds-category-header:not(:nth-child(2)) {\n border-top: 1px solid var(--sys-color-divider);\n}\n\n.keybinds-list-item:not(.keybinds-category-header):hover,\n.keybinds-list-item:not(.keybinds-editing):focus-within {\n background: var(--sys-color-state-hover-on-subtle);\n}\n\n.keybinds-set-select {\n text-align: right;\n margin-bottom: 25px;\n}\n\n.keybinds-set-select label p {\n display: inline;\n color: var(--color-text-primary);\n}\n\n.keybinds-set-select select {\n margin-left: 6px;\n}\n\nbutton.text-button {\n width: fit-content;\n align-self: flex-end;\n}\n\n.keybinds-list-text input {\n margin: 0 2px;\n}\n\n.keybinds-list-text:has(.keybinds-delete-button) {\n grid-column: 3 / -1;\n}\n\n.docs-link.devtools-link {\n align-self: flex-start;\n min-height: 2em;\n line-height: 2em;\n}\n\n.keybinds-footer {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n min-height: fit-content;\n margin-top: 10px;\n}\n\n/*# sourceURL=keybindsSettingsTab.css */\n');export default styles;