First commit

This commit is contained in:
2026-10-27 12:42:57 +01:00
commit 7dd9f4b14d
74 changed files with 33018 additions and 0 deletions

View File

@@ -0,0 +1,411 @@
:root {
color-scheme: dark;
--bg: #0f1117;
--panel: #171a23;
--panel-2: #11151d;
--line: #2a2f3d;
--text: #e8e6e3;
--muted: #9aa2b1;
--accent: #7aa2f7;
--ok: #7dd3a0;
--warn: #e8c07d;
--bad: #e07a7a;
}
* {
box-sizing: border-box;
}
html,
body,
#__nuxt {
min-height: 100%;
}
body {
margin: 0;
background: var(--bg);
color: var(--text);
font-family: system-ui, sans-serif;
}
h1, h2, h3, p {
margin: 0;
}
h1 {
font-size: 1.35rem;
}
h2 {
font-size: 1.15rem;
}
h3 {
font-size: 1rem;
}
a {
color: var(--accent);
}
.app-nav {
height: 3rem;
display: flex;
align-items: center;
gap: 1rem;
padding: 0 1.25rem;
border-bottom: 1px solid var(--line);
background: #12151d;
}
.app-nav strong {
margin-right: 0.5rem;
}
.app-nav a {
color: var(--muted);
text-decoration: none;
font-size: 0.9rem;
padding: 0.25rem 0;
}
.app-nav a.router-link-active {
color: var(--text);
border-bottom: 2px solid var(--accent);
}
.nav-games {
display: flex;
gap: 1rem;
margin-left: auto;
min-width: 0;
overflow-x: auto;
}
.nav-games a {
white-space: nowrap;
}
.head-actions {
display: flex;
align-items: center;
gap: 0.75rem;
}
.tabs {
display: flex;
gap: 0.25rem;
}
.tabs button {
padding: 0.3rem 0.6rem;
background: transparent;
border-color: transparent;
color: var(--muted);
}
.tabs button.active {
color: var(--text);
border-color: var(--accent);
}
main.fill-page {
height: calc(100vh - 3rem);
display: flex;
flex-direction: column;
padding: 1rem 1.25rem;
gap: 1rem;
}
main.page {
max-width: 1200px;
margin: 0 auto;
padding: 1.25rem;
display: flex;
flex-direction: column;
gap: 1rem;
}
main > header {
display: flex;
align-items: start;
justify-content: space-between;
flex-wrap: wrap;
gap: 1rem;
}
.muted {
color: var(--muted);
font-size: 0.85rem;
}
.error {
color: var(--bad);
font-size: 0.85rem;
white-space: pre-wrap;
}
.ok {
color: var(--ok);
}
.warn {
color: var(--warn);
}
.layout {
display: grid;
grid-template-columns: minmax(18rem, 26rem) 1fr;
gap: 1rem;
min-height: 0;
flex: 1;
}
.list-panel,
.detail-panel,
.panel {
background: var(--panel);
border: 1px solid var(--line);
border-radius: 8px;
padding: 0.85rem;
min-height: 0;
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.search {
display: flex;
gap: 0.5rem;
}
.filters {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.filters select {
flex: 1 1 8rem;
min-width: 0;
}
input, select, textarea, button {
font: inherit;
color: var(--text);
background: var(--panel-2);
border: 1px solid var(--line);
border-radius: 6px;
padding: 0.45rem 0.6rem;
}
input {
flex: 1;
min-width: 0;
}
button {
cursor: pointer;
}
button:disabled {
opacity: 0.45;
cursor: default;
}
button:not(:disabled):hover {
border-color: var(--accent);
}
button.primary {
border-color: var(--accent);
}
button.danger {
border-color: var(--bad);
color: var(--bad);
}
.list {
list-style: none;
margin: 0;
padding: 0;
overflow-y: auto;
flex: 1;
display: flex;
flex-direction: column;
gap: 2px;
}
.card-list {
list-style: none;
margin: 0;
padding: 0;
overflow-y: auto;
flex: 1;
display: flex;
flex-direction: column;
gap: 2px;
}
.detail-head {
display: flex;
align-items: start;
justify-content: space-between;
gap: 1rem;
}
.card-row {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.5rem;
text-align: left;
background: transparent;
border-color: transparent;
padding: 0.45rem 0.5rem;
}
.card-row.selected {
background: #202636;
border-color: var(--accent);
}
.card-name {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.card-main {
display: flex;
align-items: center;
gap: 0.5rem;
min-width: 0;
}
.card-main .card-name {
min-width: 0;
}
.badges {
display: flex;
align-items: center;
gap: 0.3rem;
flex-shrink: 0;
}
.badge {
font-size: 0.7rem;
text-transform: uppercase;
letter-spacing: 0.03em;
border-radius: 99px;
padding: 0.1rem 0.45rem;
border: 1px solid currentColor;
color: var(--muted);
}
.badge.supported {
color: var(--ok);
}
.badge.partial {
color: var(--warn);
}
.badge.unsupported {
color: var(--bad);
}
.badge.manual {
color: var(--accent);
}
.pager {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.5rem;
}
.oracle {
display: flex;
flex-direction: column;
gap: 0.25rem;
border-left: 2px solid var(--line);
padding-left: 0.75rem;
font-size: 0.9rem;
white-space: pre-wrap;
}
textarea {
min-height: 12rem;
resize: vertical;
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 0.85rem;
line-height: 1.45;
}
.actions {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.6rem;
}
.saved-at {
margin-left: auto;
}
.row {
display: flex;
align-items: center;
gap: 0.5rem;
}
.wrap {
flex-wrap: wrap;
}
.grow {
flex: 1;
}
.tag {
font-size: 0.75rem;
border: 1px solid var(--line);
border-radius: 99px;
padding: 0.1rem 0.45rem;
color: var(--muted);
}
.tag.good {
color: var(--ok);
border-color: currentColor;
}
.tag.bad {
color: var(--bad);
border-color: currentColor;
}
@media (max-width: 800px) {
main.fill-page {
height: auto;
min-height: calc(100vh - 3rem);
}
.layout {
grid-template-columns: 1fr;
}
.list {
max-height: 40vh;
}
.detail-panel {
min-height: 60vh;
}
}