forked from phenom/healer-man
51 lines
4.2 KiB
CSS
51 lines
4.2 KiB
CSS
.keybinds-backdrop { padding: 0; }
|
|
.keybinds-panel { width: min(1000px, 96vw); height: min(900px, 94dvh); max-height: 94dvh; padding: 0; display: flex; flex-direction: column; overflow: hidden; position: relative; }
|
|
.keybinds-panel .game-panel__header { padding: 16px 20px 6px; flex-shrink: 0; }
|
|
.keybinds-panel button, .keybinds-panel select, .keybinds-panel input { min-height: 42px; }
|
|
.keybinds-toolbar, .keybinds-footer { flex-shrink: 0; padding: 12px 20px; }
|
|
.keybinds-toolbar p, .keybinds-footer p { margin: 6px 0; font-size: 13px; color: #b7c7b5; }
|
|
.keybinds-tabs, .keybinds-tools, .keybinds-footer > div, .keybinds-capture > div { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
|
|
.keybinds-tabs button { flex: 1; border: 1px solid #5a6846; padding: 8px 18px; background: #14231b; color: #dfe9d6; border-radius: 6px; }
|
|
.keybinds-tabs button[aria-selected="true"] { color: #ffe4a0; background: #344531; border-color: #d0ae65; }
|
|
.keybinds-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 10px 0; }
|
|
.keybinds-filters label, .keybinds-manual > label { display: grid; gap: 5px; font-size: 12px; color: #c6d0c0; }
|
|
.keybinds-panel select, .keybinds-panel input:not([type="checkbox"]) { width: 100%; min-width: 0; border: 1px solid #56674c; background: #0e1a14; color: #f0eada; border-radius: 5px; padding: 8px; }
|
|
.keybinds-list { flex: 1; min-height: 0; overflow-y: auto; padding: 0 20px 12px; overscroll-behavior: contain; }
|
|
.keybinds-list h3 { color: #dcc88e; padding: 12px 0 7px; margin: 0; font-size: 14px; }
|
|
.keybinds-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(90px, 210px) 90px; align-items: center; gap: 14px; border-top: 1px solid #344432; padding: 9px 0; }
|
|
.keybinds-row strong { font-size: 14px; }
|
|
.keybinds-row small { display: block; font-size: 11px; margin-top: 4px; color: #aabb9f; }
|
|
.keybinds-row kbd { white-space: normal; overflow-wrap: anywhere; text-align: center; padding: 5px 8px; color: #e6d8b5; background: #14221a; }
|
|
.keybinds-change { font-size: 13px; }
|
|
.keybinds-warning, .keybinds-row .keybinds-warning { color: #f0ba79; }
|
|
.keybinds-row.has-conflict { border-left: 3px solid #dc9d56; padding-left: 9px; }
|
|
.keybinds-note { font-size: 12px; line-height: 1.6; color: #aabb9f; }
|
|
.keybinds-footer { border-top: 1px solid #586041; background: #111e16; }
|
|
.keybinds-footer > div { justify-content: flex-end; margin-top: 10px; }
|
|
.keybinds-capture { position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(560px, 92%); max-height: 90%; overflow: auto; padding: 24px; border: 1px solid #d0ae65; border-radius: 12px; background: #14221b; box-shadow: 0 0 0 100vmax #0009; }
|
|
.keybinds-capture h3 { margin-top: 0; color: #ffe4a0; }
|
|
.keybinds-capture p { line-height: 1.5; }
|
|
.keybinds-capture button { padding: 8px 12px; border: 1px solid #6b7555; border-radius: 6px; background: #253826; color: #f0eada; cursor: pointer; }
|
|
.keybinds-capture .keybinds-manual { display: grid; gap: 10px; margin: 18px 0; border-top: 1px solid #5a6846; padding-top: 12px; }
|
|
.keybinds-modifiers { display: flex; flex-wrap: wrap; gap: 14px; }
|
|
.keybinds-modifiers label { display: flex; align-items: center; gap: 5px; }
|
|
.keybinds-panel :focus-visible { outline: 2px solid #ffe4a0; outline-offset: 2px; }
|
|
@media (max-width: 600px) {
|
|
.keybinds-panel { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
|
|
.keybinds-toolbar, .keybinds-footer, .keybinds-list { padding-left: 12px; padding-right: 12px; }
|
|
.keybinds-toolbar { padding-top: 6px; padding-bottom: 6px; }
|
|
.keybinds-row { grid-template-columns: minmax(0, 1fr) 105px 64px; gap: 8px; }
|
|
.keybinds-row strong { font-size: 12px; }
|
|
.keybinds-row kbd { font-size: 11px; }
|
|
.keybinds-filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
|
|
.keybinds-footer .button { padding: 8px; font-size: 11px; }
|
|
.keybinds-footer p { font-size: 11px; }
|
|
.keybinds-capture { padding: 16px; }
|
|
}
|
|
@media (max-height: 600px) {
|
|
.keybinds-panel { height: 100dvh; max-height: 100dvh; }
|
|
.keybinds-toolbar > p, .keybinds-footer > p:empty { display: none; }
|
|
.keybinds-toolbar, .keybinds-footer { padding-top: 5px; padding-bottom: 5px; }
|
|
.keybinds-panel .game-panel__header { padding-top: 8px; padding-bottom: 8px; }
|
|
}
|