first commit
This commit is contained in:
@@ -0,0 +1,144 @@
|
||||
:root {
|
||||
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||
color: #f7f8fc;
|
||||
--panel: rgba(9, 12, 18, .975);
|
||||
--panel-soft: rgba(16, 20, 29, .985);
|
||||
--line: rgba(255, 255, 255, .11);
|
||||
--muted: #939cab;
|
||||
--accent: #4d7cff;
|
||||
--accent-bright: #7b9cff;
|
||||
--danger: #d65464;
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
body { margin: 0; overflow: hidden; background: transparent; user-select: none; }
|
||||
button, input, select { font: inherit; }
|
||||
button { color: inherit; }
|
||||
.hidden { display: none !important; }
|
||||
|
||||
#app {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: linear-gradient(90deg, rgba(0, 2, 7, .45) 0, rgba(0, 2, 7, .08) 46%, transparent 72%);
|
||||
}
|
||||
|
||||
.selector-panel {
|
||||
width: min(455px, 36vw);
|
||||
min-width: 390px;
|
||||
height: 100vh;
|
||||
padding: 34px 30px 26px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: linear-gradient(180deg, rgba(13, 17, 25, .99), rgba(6, 8, 13, .985));
|
||||
border-right: 1px solid var(--line);
|
||||
box-shadow: 26px 0 70px rgba(0, 0, 0, .35);
|
||||
}
|
||||
|
||||
.brand { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
|
||||
.brand-mark {
|
||||
width: 46px; height: 46px; border-radius: 11px;
|
||||
display: grid; place-items: center;
|
||||
background: linear-gradient(145deg, var(--accent-bright), #345bd6);
|
||||
box-shadow: 0 10px 28px rgba(67, 108, 234, .3);
|
||||
font-weight: 900; letter-spacing: -.06em;
|
||||
}
|
||||
.brand p, .modal-header p { margin: 0 0 4px; color: var(--accent-bright); font-size: 9px; letter-spacing: .2em; font-weight: 850; }
|
||||
.brand h1 { margin: 0; font-size: 24px; line-height: 1.1; letter-spacing: -.025em; }
|
||||
|
||||
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
|
||||
.section-heading span { color: #c6cbd5; font-size: 9px; font-weight: 850; letter-spacing: .16em; }
|
||||
.section-heading small { color: var(--muted); font-size: 12px; }
|
||||
.characters { display: grid; gap: 8px; }
|
||||
.character-slot {
|
||||
width: 100%; min-height: 68px; padding: 0 14px;
|
||||
border: 1px solid var(--line); border-radius: 8px;
|
||||
display: grid; grid-template-columns: 36px 1fr 22px; align-items: center; gap: 11px;
|
||||
text-align: left; cursor: pointer;
|
||||
background: rgba(255, 255, 255, .034);
|
||||
transition: border-color .16s ease, background .16s ease, transform .16s ease;
|
||||
}
|
||||
.character-slot:hover { background: rgba(255, 255, 255, .064); transform: translateX(3px); }
|
||||
.character-slot.active {
|
||||
border-color: rgba(83, 126, 255, .82);
|
||||
background: linear-gradient(90deg, rgba(70, 111, 241, .22), rgba(255, 255, 255, .035));
|
||||
box-shadow: inset 3px 0 0 var(--accent);
|
||||
}
|
||||
.character-slot.vacant { border-style: dashed; opacity: .7; }
|
||||
.character-slot.vacant:hover { opacity: 1; }
|
||||
.slot-number { color: #697386; font-size: 12px; font-weight: 850; }
|
||||
.slot-content { display: grid; gap: 3px; }
|
||||
.slot-content strong { font-size: 14px; font-weight: 780; }
|
||||
.slot-content small { color: var(--muted); font-size: 10px; }
|
||||
.slot-arrow, .slot-plus { justify-self: end; color: var(--accent-bright); font-size: 24px; font-weight: 300; }
|
||||
|
||||
.details {
|
||||
margin-top: 20px; padding: 17px;
|
||||
border: 1px solid var(--line); border-radius: 9px;
|
||||
background: rgba(255, 255, 255, .027);
|
||||
}
|
||||
.details-kicker { margin: 0 0 7px; color: var(--muted); font-size: 8px; letter-spacing: .18em; font-weight: 850; }
|
||||
.details h2 { margin: 0 0 15px; font-size: 21px; }
|
||||
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
|
||||
.detail-grid div { display: grid; gap: 4px; }
|
||||
.detail-grid span { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
|
||||
.detail-grid strong { font-size: 11px; font-weight: 680; }
|
||||
|
||||
.main-actions { margin-top: auto; padding-top: 20px; display: grid; grid-template-columns: .72fr 1fr 1.18fr; gap: 8px; }
|
||||
button {
|
||||
border: 0; border-radius: 7px; padding: 12px 13px;
|
||||
font-weight: 780; cursor: pointer;
|
||||
transition: filter .15s ease, transform .15s ease, opacity .15s ease;
|
||||
}
|
||||
button:hover:not(:disabled) { filter: brightness(1.1); transform: translateY(-1px); }
|
||||
button:disabled { opacity: .36; cursor: not-allowed; }
|
||||
.primary { background: linear-gradient(135deg, var(--accent-bright), #3b65dd); }
|
||||
.secondary { background: rgba(255, 255, 255, .085); border: 1px solid var(--line); }
|
||||
.danger { background: rgba(198, 69, 85, .14); border: 1px solid rgba(214, 84, 100, .3); color: #ff9ca8; }
|
||||
|
||||
.preview-hint {
|
||||
position: absolute; right: 42px; bottom: 36px;
|
||||
display: grid; justify-items: end; gap: 5px;
|
||||
text-shadow: 0 3px 16px rgba(0,0,0,.9); pointer-events: none;
|
||||
}
|
||||
.preview-hint span { color: var(--accent-bright); font-size: 10px; letter-spacing: .28em; font-weight: 900; }
|
||||
.preview-hint strong { font-size: 16px; font-weight: 650; }
|
||||
|
||||
.message { margin: -10px 0 15px; padding: 10px 12px; border-radius: 7px; border: 1px solid rgba(214, 84, 100, .25); background: rgba(186, 52, 69, .13); color: #ffadb6; font-size: 11px; }
|
||||
.message[data-type="info"] { border-color: rgba(80, 126, 255, .3); background: rgba(67, 108, 234, .14); color: #b8c9ff; }
|
||||
.message[data-type="success"] { border-color: rgba(64, 181, 124, .3); background: rgba(51, 153, 104, .14); color: #a9ebc9; }
|
||||
|
||||
.modal-overlay { position: fixed; inset: 0; display: grid; place-items: center; background: rgba(3, 5, 9, .68); }
|
||||
.modal-card { width: min(610px, 88vw); padding: 27px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel-soft); box-shadow: 0 30px 100px rgba(0,0,0,.6); }
|
||||
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 23px; }
|
||||
.modal-header h2, .delete-card h2 { margin: 0; font-size: 26px; }
|
||||
.close-button { width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); background: rgba(255,255,255,.06); font-size: 23px; font-weight: 400; }
|
||||
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
|
||||
label { display: grid; gap: 7px; }
|
||||
label span { color: #b8bfcb; font-size: 10px; font-weight: 700; }
|
||||
input, select { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 7px; outline: none; background: rgba(0,0,0,.27); color: white; }
|
||||
input:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(77,124,255,.12); }
|
||||
option { color: black; }
|
||||
.form-note { color: var(--muted); font-size: 11px; line-height: 1.55; }
|
||||
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 21px; }
|
||||
|
||||
.delete-card { width: min(480px, 86vw); text-align: center; }
|
||||
.warning-icon { width: 48px; height: 48px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: rgba(214,84,100,.16); border: 1px solid rgba(214,84,100,.34); color: #ff9ca8; font-size: 24px; font-weight: 900; }
|
||||
.delete-card > p { color: var(--muted); line-height: 1.55; }
|
||||
.confirm-label { margin-top: 18px; text-align: left; }
|
||||
|
||||
.dialogue {
|
||||
position: fixed; left: 50%; bottom: 6.5vh; transform: translateX(-50%);
|
||||
width: min(940px, 84vw); text-align: center;
|
||||
pointer-events: none;
|
||||
text-shadow: 0 2px 4px #000, 0 0 14px rgba(0,0,0,.95);
|
||||
}
|
||||
.dialogue strong {
|
||||
display: block; margin-bottom: 6px;
|
||||
color: #79a0ff; font-size: 13px; letter-spacing: .09em; text-transform: uppercase;
|
||||
}
|
||||
.dialogue p { margin: 0; font-size: 20px; line-height: 1.38; font-weight: 650; }
|
||||
|
||||
@media (max-width: 1050px) {
|
||||
.selector-panel { width: 420px; min-width: 420px; }
|
||||
.preview-hint { display: none; }
|
||||
}
|
||||
Reference in New Issue
Block a user