initial commit for test
This commit is contained in:
commit
8d256d259d
56 files changed
+2355
No files matched your search
@@ -0,0 +1,468 @@
|
||||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
|
||||
:root {
|
||||
--bg: #0f0f12;
|
||||
--surface: #1a1a21;
|
||||
--surface-2: #23232c;
|
||||
--border: #2c2c36;
|
||||
--text: #ececf1;
|
||||
--muted: #9b9ba8;
|
||||
--accent: #ff5252;
|
||||
--accent-hover: #ff6a6a;
|
||||
--green: #4ade80;
|
||||
--header-bg: rgba(15, 15, 18, 0.92);
|
||||
--toast-bg: #23232c;
|
||||
--chip-active-bg: #ffffff;
|
||||
--chip-active-text: #111111;
|
||||
}
|
||||
|
||||
[data-theme="light"] {
|
||||
--bg: #f6f6fa;
|
||||
--surface: #ffffff;
|
||||
--surface-2: #ececf3;
|
||||
--border: #e0e0e9;
|
||||
--text: #1d1d24;
|
||||
--muted: #63636f;
|
||||
--accent: #e03131;
|
||||
--accent-hover: #c92a2a;
|
||||
--green: #16a34a;
|
||||
--header-bg: rgba(246, 246, 250, 0.92);
|
||||
--toast-bg: #ffffff;
|
||||
--chip-active-bg: #1d1d24;
|
||||
--chip-active-text: #ffffff;
|
||||
}
|
||||
|
||||
html, body { height: 100%; }
|
||||
body {
|
||||
background: var(--bg);
|
||||
color: var(--text);
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
header {
|
||||
position: sticky; top: 0; z-index: 50;
|
||||
display: flex; align-items: center; gap: 20px;
|
||||
padding: 12px 24px;
|
||||
background: var(--header-bg);
|
||||
backdrop-filter: blur(10px);
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.logo {
|
||||
display: flex; align-items: center; gap: 10px;
|
||||
font-size: 20px; font-weight: 800; letter-spacing: -0.5px;
|
||||
color: var(--text); text-decoration: none; white-space: nowrap;
|
||||
}
|
||||
.logo .mark {
|
||||
width: 34px; height: 34px; border-radius: 9px;
|
||||
background: linear-gradient(135deg, var(--accent), #b91c1c);
|
||||
display: grid; place-items: center;
|
||||
font-size: 17px; color: #fff;
|
||||
}
|
||||
|
||||
.search {
|
||||
flex: 1; max-width: 560px;
|
||||
position: relative;
|
||||
}
|
||||
.search input {
|
||||
width: 100%; padding: 9px 14px 9px 38px;
|
||||
background: var(--surface); border: 1px solid var(--border);
|
||||
border-radius: 999px; color: var(--text); font-size: 14px;
|
||||
outline: none; transition: border-color .15s;
|
||||
}
|
||||
.search input:focus { border-color: var(--accent); }
|
||||
.search input::placeholder { color: var(--muted); }
|
||||
.search .icon {
|
||||
position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
|
||||
color: var(--muted); pointer-events: none; font-size: 15px;
|
||||
}
|
||||
|
||||
nav { display: flex; align-items: center; gap: 6px; }
|
||||
nav a, .btn {
|
||||
color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600;
|
||||
padding: 8px 14px; border-radius: 999px; border: none; cursor: pointer;
|
||||
background: transparent; transition: background .15s;
|
||||
}
|
||||
nav a:hover, .btn:hover { background: var(--surface-2); }
|
||||
nav a.active { background: var(--surface-2); color: #fff; }
|
||||
.btn.icon-btn { padding: 8px 10px; font-size: 16px; }
|
||||
|
||||
main { max-width: 1440px; margin: 0 auto; padding: 24px; }
|
||||
|
||||
h2.section-title {
|
||||
font-size: 18px; font-weight: 700; margin: 8px 0 16px;
|
||||
display: flex; align-items: center; gap: 10px;
|
||||
}
|
||||
h2.section-title .count { color: var(--muted); font-size: 13px; font-weight: 500; }
|
||||
|
||||
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 14px; scrollbar-width: none; }
|
||||
.chips::-webkit-scrollbar { display: none; }
|
||||
.chip {
|
||||
white-space: nowrap; padding: 7px 16px; border-radius: 999px;
|
||||
background: var(--surface); border: 1px solid var(--border);
|
||||
color: var(--text); font-size: 13px; font-weight: 600; cursor: pointer;
|
||||
}
|
||||
.chip:hover { background: var(--surface-2); }
|
||||
.chip.active { background: var(--chip-active-bg); border-color: var(--chip-active-bg); color: var(--chip-active-text); }
|
||||
|
||||
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
|
||||
.toolbar .result-count { color: var(--muted); font-size: 13px; }
|
||||
select.sort {
|
||||
background: var(--surface); color: var(--text); border: 1px solid var(--border);
|
||||
border-radius: 8px; padding: 7px 10px; font-size: 13px; cursor: pointer; outline: none;
|
||||
}
|
||||
|
||||
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
|
||||
|
||||
.card { cursor: pointer; text-decoration: none; color: inherit; display: block; }
|
||||
.thumb {
|
||||
position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden;
|
||||
background: var(--surface-2); border: 1px solid var(--border);
|
||||
}
|
||||
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
|
||||
.thumb .placeholder {
|
||||
width: 100%; height: 100%;
|
||||
background: linear-gradient(135deg, #2a2a35, #1d1d26);
|
||||
display: grid; place-items: center; color: var(--muted); font-size: 34px;
|
||||
}
|
||||
.thumb .play-overlay {
|
||||
position: absolute; inset: 0; display: grid; place-items: center;
|
||||
background: rgba(0,0,0,0.35); opacity: 0; transition: opacity .15s;
|
||||
}
|
||||
.card:hover .play-overlay { opacity: 1; }
|
||||
.thumb .play-overlay .circle {
|
||||
width: 52px; height: 52px; border-radius: 50%; background: rgba(255,82,82,0.95);
|
||||
display: grid; place-items: center; color: #fff; font-size: 18px; padding-left: 3px;
|
||||
}
|
||||
.thumb .badge {
|
||||
position: absolute; top: 8px; right: 8px;
|
||||
background: rgba(0,0,0,0.75); color: #fff; font-size: 11px; font-weight: 700;
|
||||
padding: 2px 7px; border-radius: 6px;
|
||||
}
|
||||
.thumb .progress {
|
||||
position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(0,0,0,0.55);
|
||||
}
|
||||
.thumb .progress .fill { height: 100%; background: var(--accent); }
|
||||
.thumb .progress .fill.done { background: var(--green); }
|
||||
.fav-star {
|
||||
position: absolute; top: 8px; left: 8px; font-size: 18px; color: #ffd54a;
|
||||
filter: drop-shadow(0 1px 2px rgba(0,0,0,0.6)); pointer-events: none;
|
||||
}
|
||||
.card .title {
|
||||
margin-top: 9px; font-size: 14px; font-weight: 600; line-height: 1.35;
|
||||
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
|
||||
}
|
||||
.card .meta { margin-top: 3px; font-size: 12px; color: var(--muted); }
|
||||
|
||||
.continue-strip { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 16px; scrollbar-width: thin; margin-bottom: 8px; }
|
||||
.continue-card { min-width: 250px; max-width: 250px; cursor: pointer; }
|
||||
|
||||
.watch-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
|
||||
@media (max-width: 1100px) { .watch-layout { grid-template-columns: 1fr; } }
|
||||
|
||||
.player-wrap { border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--border); }
|
||||
.player-wrap video { width: 100%; display: block; max-height: 72vh; background: #000; }
|
||||
.player-error { padding: 48px 24px; text-align: center; color: var(--muted); }
|
||||
.watch-title { font-size: 22px; font-weight: 700; margin: 18px 0 6px; letter-spacing: -0.3px; }
|
||||
.watch-meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
|
||||
.watch-meta a { color: inherit; text-decoration: none; border-bottom: 1px dotted var(--muted); }
|
||||
.watch-meta a:hover { color: #fff; }
|
||||
.watch-actions { display: flex; gap: 10px; margin-top: 14px; }
|
||||
.btn.primary { background: var(--accent); color: #fff; padding: 9px 18px; }
|
||||
.btn.primary:hover { background: var(--accent-hover); }
|
||||
.btn.ghost { background: var(--surface); border: 1px solid var(--border); }
|
||||
|
||||
.related h3 { font-size: 15px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 12px; }
|
||||
.related-item { display: flex; gap: 10px; padding: 8px; border-radius: 10px; cursor: pointer; color: inherit; text-decoration: none; }
|
||||
.related-item:hover { background: var(--surface); }
|
||||
.related-item img, .related-item .ph {
|
||||
width: 96px; height: 54px; border-radius: 8px; object-fit: cover; flex-shrink: 0;
|
||||
background: linear-gradient(135deg, #2a2a35, #1d1d26); display: grid; place-items: center; color: var(--muted);
|
||||
}
|
||||
.related-item .t { font-size: 13px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
|
||||
.related-item .m { font-size: 11px; color: var(--muted); margin-top: 4px; }
|
||||
|
||||
.history-row { display: flex; gap: 16px; padding: 12px; border-radius: 12px; cursor: pointer; color: inherit; text-decoration: none; border: 1px solid transparent; align-items: center; }
|
||||
.history-row:hover { background: var(--surface); border-color: var(--border); }
|
||||
.history-row .thumb { width: 180px; flex-shrink: 0; aspect-ratio: 16/9; }
|
||||
.history-row .info { flex: 1; min-width: 0; }
|
||||
.history-row .title { font-size: 14px; font-weight: 600; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.history-row .meta { font-size: 12px; color: var(--muted); }
|
||||
.history-row .bar { height: 6px; background: var(--surface-2); border-radius: 999px; overflow: hidden; margin-top: 8px; }
|
||||
.history-row .bar .fill { height: 100%; background: var(--accent); }
|
||||
.history-row .bar .fill.done { background: var(--green); }
|
||||
.history-row .time { font-size: 12px; color: var(--muted); white-space: nowrap; }
|
||||
|
||||
.load-more { display: block; margin: 28px auto; padding: 11px 30px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; color: var(--text); font-size: 14px; font-weight: 600; cursor: pointer; }
|
||||
.load-more:hover { background: var(--surface-2); }
|
||||
|
||||
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
|
||||
.empty .big { font-size: 42px; margin-bottom: 12px; }
|
||||
.empty p { max-width: 420px; margin: 0 auto; }
|
||||
|
||||
.toast {
|
||||
position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
|
||||
background: var(--toast-bg); color: var(--text); border: 1px solid var(--border);
|
||||
padding: 10px 22px; border-radius: 999px; font-size: 13px; z-index: 100;
|
||||
box-shadow: 0 8px 24px rgba(0,0,0,0.4); opacity: 0; transition: opacity .25s; pointer-events: none;
|
||||
}
|
||||
.toast.show { opacity: 1; }
|
||||
|
||||
@media (max-width: 720px) {
|
||||
header { padding: 10px 12px; gap: 10px; flex-wrap: wrap; }
|
||||
main { padding: 14px; }
|
||||
.grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
|
||||
.history-row .thumb { width: 120px; }
|
||||
.continue-card { min-width: 190px; max-width: 190px; }
|
||||
}
|
||||
|
||||
body.logged-out header { display: none; }
|
||||
|
||||
#user-area { display: flex; align-items: center; gap: 8px; }
|
||||
#user-area .avatar {
|
||||
width: 32px; height: 32px; border-radius: 50%;
|
||||
background: linear-gradient(135deg, var(--accent), #b91c1c);
|
||||
display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff;
|
||||
}
|
||||
#user-area .uname { font-size: 13px; font-weight: 600; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
|
||||
.fav-btn {
|
||||
position: absolute; top: 8px; left: 8px; z-index: 2;
|
||||
width: 34px; height: 34px; border-radius: 50%;
|
||||
background: rgba(0,0,0,0.55); color: #ffd54a; font-size: 17px; line-height: 1;
|
||||
border: none; cursor: pointer; display: grid; place-items: center;
|
||||
transition: transform .12s, background .12s;
|
||||
}
|
||||
.fav-btn:hover { transform: scale(1.15); background: rgba(0,0,0,0.75); }
|
||||
.fav-btn.off { color: rgba(255,255,255,0.55); }
|
||||
|
||||
.login-screen { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(1200px 600px at 50% -10%, #1d1d26, var(--bg)); }
|
||||
.login-card {
|
||||
width: min(400px, 100%); background: var(--surface);
|
||||
border: 1px solid var(--border); border-radius: 18px; padding: 30px 28px;
|
||||
box-shadow: 0 24px 60px rgba(0,0,0,0.45);
|
||||
}
|
||||
.login-card .logo { justify-content: center; margin-bottom: 18px; font-size: 22px; }
|
||||
.login-card h1 { font-size: 20px; text-align: center; letter-spacing: -0.3px; }
|
||||
.login-sub { color: var(--muted); font-size: 13px; text-align: center; margin: 6px 0 18px; }
|
||||
.mode-toggle { display: flex; background: var(--surface-2); border-radius: 10px; padding: 4px; margin-bottom: 16px; }
|
||||
.mode-toggle button {
|
||||
flex: 1; padding: 8px; border: none; border-radius: 7px; cursor: pointer;
|
||||
background: transparent; color: var(--muted); font-size: 13px; font-weight: 700;
|
||||
}
|
||||
.mode-toggle button.active { background: var(--chip-active-bg); color: var(--chip-active-text); }
|
||||
.login-card input[type=text], .login-card input[type=password] {
|
||||
width: 100%; padding: 11px 14px; margin-bottom: 10px;
|
||||
background: var(--bg); border: 1px solid var(--border); border-radius: 9px;
|
||||
color: var(--text); font-size: 14px; outline: none; transition: border-color .15s;
|
||||
}
|
||||
.login-card input:focus { border-color: var(--accent); }
|
||||
.login-error { color: #ff7b7b; font-size: 13px; min-height: 18px; margin: 2px 0 8px; text-align: center; }
|
||||
.login-submit { width: 100%; padding: 12px; font-size: 15px; border-radius: 10px; background: var(--accent); color: #fff; border: none; cursor: pointer; font-weight: 700; }
|
||||
.login-submit:hover { background: var(--accent-hover); }
|
||||
.login-submit:disabled { opacity: .6; cursor: default; }
|
||||
|
||||
[data-theme="light"] .thumb .placeholder,
|
||||
[data-theme="light"] .related-item img,
|
||||
[data-theme="light"] .related-item .ph {
|
||||
background: linear-gradient(135deg, #e8e8f0, #d8d8e4);
|
||||
color: #9a9aa8;
|
||||
}
|
||||
[data-theme="light"] .login-screen {
|
||||
background: radial-gradient(1200px 600px at 50% -10%, #e3e3ee, var(--bg));
|
||||
}
|
||||
[data-theme="light"] .card:hover .play-overlay { background: rgba(0,0,0,0.25); }
|
||||
[data-theme="light"] .player-wrap video { background: #000; }
|
||||
|
||||
#theme-toggle { font-size: 16px; padding: 8px 10px; }
|
||||
|
||||
.seg { display: flex; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 3px; gap: 2px; }
|
||||
.seg button { border: none; background: transparent; color: var(--muted); font-size: 12px; font-weight: 600; padding: 6px 13px; border-radius: 999px; cursor: pointer; transition: all .15s; }
|
||||
.seg button.active { background: var(--chip-active-bg); color: var(--chip-active-text); }
|
||||
|
||||
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 22px; }
|
||||
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
|
||||
.stat-card .num { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; color: var(--text); }
|
||||
.stat-card .lbl { font-size: 12px; color: var(--muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.6px; }
|
||||
|
||||
.chart-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; margin-bottom: 22px; }
|
||||
.chart-wrap h3 { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.7px; margin-bottom: 14px; }
|
||||
.chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 130px; }
|
||||
.chart-bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 5px; min-width: 0; }
|
||||
.chart-bar .fill { width: 100%; max-width: 34px; background: linear-gradient(180deg, var(--accent), #b91c1c); border-radius: 6px 6px 3px 3px; min-height: 4px; }
|
||||
.chart-bar .day { font-size: 10px; color: var(--muted); white-space: nowrap; }
|
||||
|
||||
.stats-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
|
||||
.stats-list { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; }
|
||||
.stats-list h3 { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.7px; margin-bottom: 10px; }
|
||||
.stats-item { display: flex; align-items: center; gap: 12px; padding: 8px 4px; border-bottom: 1px solid var(--border); }
|
||||
.stats-item:last-child { border-bottom: none; }
|
||||
.stats-item .rank { width: 22px; color: var(--muted); font-weight: 700; font-size: 13px; text-align: center; flex-shrink: 0; }
|
||||
.stats-item .body { flex: 1; min-width: 0; }
|
||||
.stats-item .t { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.stats-item .m { font-size: 11px; color: var(--muted); margin-top: 2px; }
|
||||
.stats-item .bar { height: 5px; background: var(--surface-2); border-radius: 999px; overflow: hidden; margin-top: 6px; }
|
||||
.stats-item .bar .fill { height: 100%; background: var(--accent); border-radius: 999px; }
|
||||
.stats-item .secs { font-size: 12px; color: var(--muted); white-space: nowrap; flex-shrink: 0; }
|
||||
|
||||
.playlist-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; cursor: pointer; position: relative; transition: transform .12s, border-color .12s; }
|
||||
.playlist-card:hover { transform: translateY(-2px); border-color: var(--accent); }
|
||||
.playlist-card .name { font-size: 15px; font-weight: 700; word-break: break-word; padding-right: 28px; }
|
||||
.playlist-card .meta { font-size: 12px; color: var(--muted); margin-top: 6px; }
|
||||
.playlist-card .del-btn { position: absolute; top: 10px; right: 10px; border: none; background: transparent; color: var(--muted); cursor: pointer; font-size: 15px; padding: 4px 7px; border-radius: 7px; }
|
||||
.playlist-card .del-btn:hover { color: var(--accent); background: var(--surface-2); }
|
||||
|
||||
.pl-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 8px; }
|
||||
.pl-row .num { width: 24px; color: var(--muted); font-weight: 700; text-align: center; flex-shrink: 0; }
|
||||
.pl-row img, .pl-row .ph { width: 84px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: linear-gradient(135deg, #2a2a35, #1d1d26); display: grid; place-items: center; color: var(--muted); }
|
||||
.pl-row .body { flex: 1; min-width: 0; cursor: pointer; }
|
||||
.pl-row .t { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.pl-row .m { font-size: 11px; color: var(--muted); margin-top: 3px; }
|
||||
.pl-row .actions { display: flex; gap: 4px; flex-shrink: 0; }
|
||||
.pl-row .actions button { border: none; background: var(--surface-2); color: var(--muted); width: 28px; height: 28px; border-radius: 7px; cursor: pointer; font-size: 12px; }
|
||||
.pl-row .actions button:hover { color: var(--text); background: var(--border); }
|
||||
|
||||
.new-playlist-bar { display: flex; gap: 10px; margin-bottom: 18px; }
|
||||
.new-playlist-bar input { flex: 1; padding: 11px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-size: 14px; outline: none; }
|
||||
.new-playlist-bar input:focus { border-color: var(--accent); }
|
||||
|
||||
.channel-stats { display: flex; gap: 22px; flex-wrap: wrap; margin: 10px 0 18px; font-size: 13px; color: var(--muted); }
|
||||
.channel-stats .cs b { color: var(--text); font-weight: 700; }
|
||||
|
||||
.add-playlist-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px; margin-top: 12px; max-width: 420px; }
|
||||
.add-playlist-panel .pl-list { display: flex; flex-direction: column; gap: 6px; max-height: 220px; overflow-y: auto; margin-bottom: 10px; }
|
||||
.add-playlist-panel .pl-item { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; border-radius: 8px; cursor: pointer; background: var(--surface-2); font-size: 13px; }
|
||||
.add-playlist-panel .pl-item:hover { background: var(--border); }
|
||||
.add-playlist-panel .pl-item .check { color: var(--green); font-weight: 700; }
|
||||
.add-playlist-panel .new-pl { display: flex; gap: 8px; }
|
||||
.add-playlist-panel .new-pl input { flex: 1; padding: 9px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 13px; outline: none; }
|
||||
.add-playlist-panel .new-pl button { border: none; background: var(--accent); color: #fff; padding: 9px 16px; border-radius: 8px; font-weight: 700; cursor: pointer; font-size: 13px; }
|
||||
|
||||
[data-theme="classic"] {
|
||||
--bg: #c0c0c0;
|
||||
--surface: #d4d4d4;
|
||||
--surface-2: #ececec;
|
||||
--border: #808080;
|
||||
--text: #000000;
|
||||
--muted: #333333;
|
||||
--accent: #000080;
|
||||
--accent-hover: #0000aa;
|
||||
--green: #008000;
|
||||
--header-bg: linear-gradient(180deg, #000080 0%, #1084d0 100%);
|
||||
--toast-bg: #ffffe1;
|
||||
--chip-active-bg: #000080;
|
||||
--chip-active-text: #ffffff;
|
||||
}
|
||||
|
||||
[data-theme="classic"] body { font-family: Arial, Helvetica, sans-serif; background: var(--bg); color: var(--text); }
|
||||
|
||||
[data-theme="classic"] * { border-radius: 0 !important; }
|
||||
[data-theme="classic"] .play-overlay .circle,
|
||||
[data-theme="classic"] .fav-btn { border-radius: 50% !important; }
|
||||
|
||||
[data-theme="classic"] header {
|
||||
background: var(--header-bg);
|
||||
border-bottom: 2px solid #ffffff;
|
||||
box-shadow: none;
|
||||
padding: 8px 16px;
|
||||
}
|
||||
[data-theme="classic"] .logo { color: #ffffff; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }
|
||||
[data-theme="classic"] .logo .mark { background: #ffffff; color: #000080; border-radius: 0 !important; font-size: 16px; }
|
||||
[data-theme="classic"] .search input {
|
||||
background: #ffffff; color: #000000; border: 2px solid; border-color: #808080 #ffffff #ffffff #808080;
|
||||
padding-left: 36px; font-family: "Courier New", monospace;
|
||||
}
|
||||
[data-theme="classic"] .search input::placeholder { color: #666666; }
|
||||
[data-theme="classic"] .search .icon { color: #000080; font-size: 16px; }
|
||||
[data-theme="classic"] nav a, [data-theme="classic"] .btn {
|
||||
color: #ffffff; border: 2px solid; border-color: #ffffff #000080 #000080 #ffffff;
|
||||
background: #c0c0c0; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; font-size: 12px;
|
||||
}
|
||||
[data-theme="classic"] nav a { padding: 6px 14px; }
|
||||
[data-theme="classic"] nav a:hover, [data-theme="classic"] .btn:hover { background: #d4d4d4; color: #000080; }
|
||||
[data-theme="classic"] nav a.active { background: #ffffff; border-color: #808080 #ffffff #ffffff #808080; color: #000080; }
|
||||
[data-theme="classic"] .btn.icon-btn { padding: 6px 10px; font-size: 15px; }
|
||||
[data-theme="classic"] .btn.primary { background: #000080; border-color: #ffffff #000040 #000040 #ffffff; color: #ffffff; }
|
||||
[data-theme="classic"] .btn.primary:hover { background: #0000aa; }
|
||||
[data-theme="classic"] .btn.ghost { background: #c0c0c0; border-color: #ffffff #808080 #808080 #ffffff; color: #000000; }
|
||||
[data-theme="classic"] .btn:active { border-color: #808080 #ffffff #ffffff #808080; background: #b0b0b0; }
|
||||
|
||||
[data-theme="classic"] h2.section-title { color: #000080; text-transform: uppercase; letter-spacing: 1px; font-size: 17px; border-bottom: 2px solid #808080; padding-bottom: 6px; }
|
||||
[data-theme="classic"] h2.section-title .count { color: #333333; }
|
||||
|
||||
[data-theme="classic"] .chip {
|
||||
background: #c0c0c0; border: 2px solid; border-color: #ffffff #808080 #808080 #ffffff;
|
||||
color: #000000; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; font-size: 11px; padding: 6px 14px;
|
||||
}
|
||||
[data-theme="classic"] .chip:hover { background: #d4d4d4; }
|
||||
[data-theme="classic"] .chip.active { background: #000080; border-color: #808080 #ffffff #ffffff #808080; color: #ffffff; }
|
||||
|
||||
[data-theme="classic"] select.sort, [data-theme="classic"] .new-playlist-bar input,
|
||||
[data-theme="classic"] .add-playlist-panel .new-pl input {
|
||||
background: #ffffff; color: #000000; border: 2px solid; border-color: #808080 #ffffff #ffffff #808080; font-family: "Courier New", monospace;
|
||||
}
|
||||
[data-theme="classic"] .result-count { color: #000000; font-family: "Courier New", monospace; }
|
||||
|
||||
[data-theme="classic"] .card .title { color: #0000ee; text-decoration: underline; }
|
||||
[data-theme="classic"] .card .meta, [data-theme="classic"] .related-item .m,
|
||||
[data-theme="classic"] .history-row .meta, [data-theme="classic"] .stats-item .m { color: #333333; font-family: "Courier New", monospace; }
|
||||
[data-theme="classic"] .thumb { border: 2px solid #808080; background: #ffffff; }
|
||||
[data-theme="classic"] .thumb .placeholder { background: repeating-linear-gradient(45deg, #ececec 0 8px, #d4d4d4 8px 16px); color: #000080; }
|
||||
[data-theme="classic"] .thumb .badge { background: #000080; color: #ffffff; border-radius: 0 !important; border: 1px solid #ffffff; font-family: "Courier New", monospace; }
|
||||
[data-theme="classic"] .thumb .progress { height: 8px; background: #808080; border-top: 1px solid #000000; }
|
||||
[data-theme="classic"] .thumb .progress .fill { background: #000080; border-right: 2px solid #ffffff; }
|
||||
[data-theme="classic"] .thumb .progress .fill.done { background: #008000; }
|
||||
[data-theme="classic"] .play-overlay { background: rgba(0,0,0,0.35); }
|
||||
[data-theme="classic"] .play-overlay .circle { background: #000080; border: 2px solid #ffffff; }
|
||||
|
||||
[data-theme="classic"] .stat-card, [data-theme="classic"] .chart-wrap, [data-theme="classic"] .stats-list,
|
||||
[data-theme="classic"] .playlist-card, [data-theme="classic"] .pl-row, [data-theme="classic"] .history-row,
|
||||
[data-theme="classic"] .login-card, [data-theme="classic"] .add-playlist-panel, [data-theme="classic"] .watch-actions {
|
||||
background: #d4d4d4; border: 2px solid; border-color: #ffffff #808080 #808080 #ffffff; color: #000000; box-shadow: none;
|
||||
}
|
||||
[data-theme="classic"] .stat-card .num { color: #000080; }
|
||||
[data-theme="classic"] .stat-card .lbl, [data-theme="classic"] .chart-wrap h3, [data-theme="classic"] .stats-list h3 { color: #000080; text-transform: uppercase; letter-spacing: 0.8px; }
|
||||
[data-theme="classic"] .chart-bar .fill { background: repeating-linear-gradient(180deg, #000080 0 6px, #1084d0 6px 12px); border: 1px solid #000000; }
|
||||
[data-theme="classic"] .stats-item .bar { height: 8px; background: #ffffff; border: 1px solid #808080; }
|
||||
[data-theme="classic"] .stats-item .bar .fill { background: #000080; }
|
||||
|
||||
[data-theme="classic"] .playlist-card .name, [data-theme="classic"] .pl-row .t, [data-theme="classic"] .history-row .title { color: #0000ee; text-decoration: underline; }
|
||||
[data-theme="classic"] .playlist-card .meta, [data-theme="classic"] .pl-row .m, [data-theme="classic"] .history-row .time,
|
||||
[data-theme="classic"] .stats-item .secs, [data-theme="classic"] .channel-stats { color: #333333; font-family: "Courier New", monospace; }
|
||||
[data-theme="classic"] .pl-row .actions button, [data-theme="classic"] .playlist-card .del-btn { background: #c0c0c0; border: 2px solid; border-color: #ffffff #808080 #808080 #ffffff; color: #000000; }
|
||||
[data-theme="classic"] .pl-row .actions button:hover { background: #d4d4d4; }
|
||||
[data-theme="classic"] .new-playlist-bar input, [data-theme="classic"] .add-playlist-panel .new-pl input { color: #000000; }
|
||||
[data-theme="classic"] .login-card .logo { color: #000080; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }
|
||||
[data-theme="classic"] .login-card h1 { color: #000000; }
|
||||
[data-theme="classic"] .mode-toggle { background: #c0c0c0; border: 2px solid; border-color: #808080 #ffffff #ffffff #808080; padding: 4px; }
|
||||
[data-theme="classic"] .mode-toggle button.active { background: #000080; color: #ffffff; }
|
||||
[data-theme="classic"] .login-card input[type=text], [data-theme="classic"] .login-card input[type=password] {
|
||||
background: #ffffff; color: #000000; border: 2px solid; border-color: #808080 #ffffff #ffffff #808080; font-family: "Courier New", monospace;
|
||||
}
|
||||
[data-theme="classic"] .login-submit { background: #000080; color: #ffffff; border: 2px solid; border-color: #ffffff #000040 #000040 #ffffff; text-transform: uppercase; letter-spacing: 1px; }
|
||||
[data-theme="classic"] .login-submit:hover { background: #0000aa; }
|
||||
[data-theme="classic"] .login-error { color: #b00000; font-family: "Courier New", monospace; }
|
||||
|
||||
[data-theme="classic"] .history-row .bar, [data-theme="classic"] .pl-row .body { background: transparent; }
|
||||
[data-theme="classic"] .history-row .bar { height: 8px; background: #ffffff; border: 1px solid #808080; }
|
||||
[data-theme="classic"] .history-row .bar .fill { background: #000080; }
|
||||
[data-theme="classic"] .history-row .bar .fill.done { background: #008000; }
|
||||
[data-theme="classic"] .history-row:hover, [data-theme="classic"] .pl-row:hover, [data-theme="classic"] .related-item:hover { background: #ececec; border-color: #000080; }
|
||||
[data-theme="classic"] .continue-card .title { color: #0000ee; text-decoration: underline; }
|
||||
|
||||
[data-theme="classic"] .watch-meta a { color: #0000ee; text-decoration: underline; }
|
||||
[data-theme="classic"] .watch-title { color: #000080; font-weight: 900; text-transform: uppercase; letter-spacing: 0.5px; }
|
||||
[data-theme="classic"] .related h3 { color: #000080; }
|
||||
[data-theme="classic"] .seg { background: #c0c0c0; border: 2px solid; border-color: #808080 #ffffff #ffffff #808080; padding: 4px; }
|
||||
[data-theme="classic"] .seg button { color: #000000; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; font-size: 11px; }
|
||||
[data-theme="classic"] .seg button.active { background: #000080; color: #ffffff; }
|
||||
[data-theme="classic"] .channel-stats b { color: #000080; }
|
||||
[data-theme="classic"] #user-area .uname { color: #ffffff; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
|
||||
[data-theme="classic"] #user-area .avatar { background: #ffffff; color: #000080; border: 2px solid #ffffff; border-radius: 0 !important; }
|
||||
[data-theme="classic"] .toast { background: #ffffe1; color: #000000; border: 2px solid; border-color: #808080 #ffffff #ffffff #808080; font-family: "Courier New", monospace; }
|
||||
[data-theme="classic"] .load-more { background: #c0c0c0; border: 2px solid; border-color: #ffffff #808080 #808080 #ffffff; color: #000000; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
|
||||
[data-theme="classic"] .empty { color: #333333; }
|
||||
[data-theme="classic"] .empty .big { filter: none; }
|
||||
[data-theme="classic"] .player-wrap video { background: #000000; border: 3px solid #808080; }
|
||||
[data-theme="classic"] .watch-actions { gap: 10px; padding: 12px; }
|
||||
Reference in new issue
Block a user