jukebox-vibe/web/src/styles.css

101 lines
3.6 KiB
CSS
Raw Normal View History

:root { color-scheme: dark; }
2025-08-07 23:24:56 +02:00
* { box-sizing: border-box; }
body {
margin: 0;
font-family: ui-sans-serif, system-ui, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
background:
radial-gradient(1200px 800px at 15% -10%, rgba(99,102,241,.25), transparent 60%),
radial-gradient(1200px 800px at 110% 10%, rgba(168,85,247,.22), transparent 60%),
linear-gradient(180deg, #0b1020 0%, #0f1530 100%);
min-height: 100vh;
color: #e7e7ee;
}
.container { max-width: 1200px; margin: 0 auto; padding: 28px; }
header { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
header h1 { margin: 0; font-weight: 800; letter-spacing: .3px; }
header p { opacity: .8; }
.badge { align-self: flex-start; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 6px 10px; border-radius: 999px; font-size: 13px; }
.controls { display: grid; grid-template-columns: 1fr minmax(240px, 300px) 220px; gap: 12px; align-items: center; margin-bottom: 18px; }
.controls.glass {
backdrop-filter: saturate(140%) blur(20px);
background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
border: 1px solid rgba(255,255,255,.28);
border-right-color: rgba(255,255,255,.18);
border-bottom-color: rgba(255,255,255,.18);
padding: 14px;
border-radius: 18px;
box-shadow: 0 20px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.25);
}
.control input, .control select {
width: 100%;
padding: 12px 14px;
border-radius: 14px;
border: 1px solid rgba(255,255,255,.25);
background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
color: #fff;
backdrop-filter: blur(18px);
box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}
.control select option { background-color: #0f1530; color: #e7e7ee; }
.control select optgroup { background-color: #0f1530; color: #c8c8d8; }
.control input::placeholder { color: #c8c8d8; }
.control.volume { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; }
.control.volume label { font-weight: 700; opacity: .9; }
.control.volume input[type="range"] { accent-color: #60a5fa; }
.error { background: rgba(255, 99, 99, .12); color: #ffd1d1; border: 1px solid rgba(255, 99, 99, .3); padding: 10px 12px; border-radius: 10px; margin-bottom: 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.sound-wrap { position: relative; }
.sound {
padding: 18px 16px;
border-radius: 14px;
border: 1px solid rgba(255,255,255,.18);
background: rgba(255,255,255,.08);
color: #fff;
cursor: pointer;
font-weight: 700;
letter-spacing: .2px;
box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.sound:hover { filter: brightness(1.06); background: rgba(255,255,255,.1); }
2025-08-07 23:24:56 +02:00
.sound:disabled { opacity: 0.6; cursor: not-allowed; }
.fav {
position: absolute;
top: 8px;
right: 10px;
background: rgba(0,0,0,.25);
color: #fff;
border: 1px solid rgba(255,255,255,.2);
border-radius: 999px;
width: 28px;
height: 28px;
display: grid;
place-items: center;
cursor: pointer;
}
.fav.active { background: #eab308; color: #111; border-color: transparent; }
2025-08-07 23:24:56 +02:00
.hint { opacity: .7; padding: 24px 0; }
/* footer-info entfernt */
.tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.tab {
padding: 8px 12px;
border-radius: 999px;
border: 1px solid rgba(255,255,255,.25);
background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
color: #e7e7ee;
}
.tab:hover { background: rgba(255,255,255,.12); }
.tab.active { background: linear-gradient(135deg, rgba(168,85,247,.55), rgba(59,130,246,.55)); color: #fff; border-color: transparent; }
2025-08-07 23:24:56 +02:00