mvp-ai's picture
download
raw
7.66 kB
:root {
--bg: #0d0d0d;
--bg2: #161616;
--bg3: #1f1f1f;
--border: #2a2a2a;
--text: #e8e8e8;
--text2: #888;
--accent: #cc785c;
--accent2: #e8956d;
--green: #4caf76;
--red: #e05c5c;
--blue: #5c9be0;
--radius: 8px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background: var(--bg);
color: var(--text);
font-size: 14px;
line-height: 1.5;
min-height: 100vh;
}
/* ── Layout ── */
.app { display: flex; flex-direction: column; min-height: 100vh; }
header {
background: var(--bg2);
border-bottom: 1px solid var(--border);
padding: 0 24px;
display: flex;
align-items: center;
gap: 16px;
height: 56px;
position: sticky;
top: 0;
z-index: 10;
}
.logo { font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.logo-icon { font-size: 22px; }
.header-status {
margin-left: auto;
display: flex;
align-items: center;
gap: 12px;
}
nav {
background: var(--bg2);
border-bottom: 1px solid var(--border);
padding: 0 24px;
display: flex;
gap: 0;
}
.tab {
padding: 12px 18px;
cursor: pointer;
color: var(--text2);
border-bottom: 2px solid transparent;
transition: all .15s;
font-size: 13px;
font-weight: 500;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--accent2); border-bottom-color: var(--accent2); }
.content { flex: 1; padding: 24px; max-width: 900px; margin: 0 auto; width: 100%; }
/* ── Cards ── */
.card {
background: var(--bg2);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 20px;
margin-bottom: 16px;
}
.card-title {
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: .06em;
color: var(--text2);
margin-bottom: 16px;
}
/* ── Toggle ── */
.toggle {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 0;
}
.toggle + .toggle { border-top: 1px solid var(--border); }
.toggle-label { display: flex; flex-direction: column; gap: 2px; }
.toggle-desc { font-size: 12px; color: var(--text2); }
.switch {
position: relative;
width: 40px;
height: 22px;
flex-shrink: 0;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
position: absolute;
inset: 0;
background: var(--bg3);
border: 1px solid var(--border);
border-radius: 11px;
cursor: pointer;
transition: .2s;
}
.slider::before {
content: "";
position: absolute;
height: 16px;
width: 16px;
left: 2px;
top: 2px;
background: var(--text2);
border-radius: 50%;
transition: .2s;
}
input:checked + .slider { background: var(--accent); border-color: var(--accent); }
input:checked + .slider::before { transform: translateX(18px); background: #fff; }
/* ── Status badge ── */
.badge {
display: inline-flex;
align-items: center;
gap: 5px;
font-size: 12px;
padding: 3px 10px;
border-radius: 20px;
font-weight: 500;
}
.badge.on { background: #4caf7620; color: var(--green); }
.badge.off { background: #e05c5c20; color: var(--red); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
/* ── Theme grid ── */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.theme-card {
background: var(--bg3);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 16px;
cursor: pointer;
transition: border-color .15s;
position: relative;
}
.theme-card:hover { border-color: #444; }
.theme-card.active { border-color: var(--accent); }
.theme-card.active::after {
content: "✓";
position: absolute;
top: 10px;
right: 12px;
color: var(--accent);
font-weight: 700;
}
.theme-name { font-weight: 600; margin-bottom: 4px; }
.theme-meta { font-size: 12px; color: var(--text2); margin-bottom: 10px; }
.theme-actions { display: flex; gap: 8px; }
/* ── Buttons ── */
.btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 14px;
border-radius: 6px;
border: 1px solid var(--border);
background: var(--bg3);
color: var(--text);
cursor: pointer;
font-size: 13px;
font-weight: 500;
transition: all .15s;
text-decoration: none;
}
.btn:hover { background: #2a2a2a; border-color: #444; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent2); border-color: var(--accent2); }
.btn-danger { color: var(--red); border-color: #e05c5c40; }
.btn-danger:hover { background: #e05c5c15; }
.btn-sm { padding: 4px 10px; font-size: 12px; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
/* ── Store ── */
.store-item {
display: flex;
align-items: center;
gap: 16px;
padding: 14px 0;
}
.store-item + .store-item { border-top: 1px solid var(--border); }
.store-info { flex: 1; }
.store-name { font-weight: 600; margin-bottom: 2px; }
.store-desc { font-size: 12px; color: var(--text2); }
.store-author { font-size: 11px; color: var(--text2); margin-top: 4px; }
/* ── Upload zone ── */
.upload-zone {
border: 2px dashed var(--border);
border-radius: var(--radius);
padding: 32px;
text-align: center;
color: var(--text2);
cursor: pointer;
transition: all .15s;
margin-top: 16px;
}
.upload-zone:hover, .upload-zone.drag { border-color: var(--accent); color: var(--accent); }
.upload-zone input { display: none; }
.upload-icon { font-size: 28px; margin-bottom: 8px; }
/* ── Toast ── */
#toast {
position: fixed;
bottom: 24px;
right: 24px;
background: var(--bg3);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 12px 18px;
font-size: 13px;
opacity: 0;
transform: translateY(8px);
transition: all .2s;
pointer-events: none;
z-index: 100;
max-width: 320px;
}
#toast.show { opacity: 1; transform: translateY(0); }
#toast.success { border-color: var(--green); color: var(--green); }
#toast.error { border-color: var(--red); color: var(--red); }
/* ── Spinner ── */
.spin {
display: inline-block;
width: 14px; height: 14px;
border: 2px solid var(--border);
border-top-color: var(--accent);
border-radius: 50%;
animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
/* ── Section title ── */
.section-title {
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: .06em;
color: var(--text2);
margin: 24px 0 12px;
}
.section-title:first-child { margin-top: 0; }
/* ── Empty state ── */
.empty { text-align: center; padding: 40px 20px; color: var(--text2); }
.empty-icon { font-size: 32px; margin-bottom: 8px; }
/* ── Loading overlay ── */
.loading { display: flex; align-items: center; gap: 10px; color: var(--text2); padding: 20px 0; }
/* ── Project list ── */
.proj-item {
display: flex;
flex-direction: column;
gap: 2px;
padding: 8px 10px;
border-radius: 6px;
cursor: pointer;
transition: background .12s;
margin-bottom: 2px;
}
.proj-item:hover { background: var(--bg3); }
.proj-item.active { background: var(--accent); }
.proj-item.active .proj-name, .proj-item.active .proj-path { color: #fff; }
.proj-name { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.proj-path { font-size: 10px; color: var(--text2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.proj-item.active .proj-path { color: rgba(255,255,255,.7); }
.proj-badge { font-size: 10px; color: var(--accent); margin-top:1px; }
.proj-item.active .proj-badge { color: rgba(255,255,255,.8); }

Xet Storage Details

Size:
7.66 kB
·
Xet hash:
28d09d2204569140e77365c162065e98cb1c31affeb506d51912845d738a185a

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.