Spaces:
Running
Running
Download 731aimd2/style.css from u11310019/interactive-multi-web: direct link, hf CLI and curl.
- Browser
- Download file 23.3 kB
-
https://huggingface.co/spaces/u11310019/interactive-multi-web/resolve/main/731aimd2/style.css
- Command line
-
hf download hf://spaces/u11310019/interactive-multi-web/731aimd2/style.css
-
curl -L -o style.css https://huggingface.co/spaces/u11310019/interactive-multi-web/resolve/main/731aimd2/style.css
23.3 kB
/* ==========================================
Spotify Design System Tokens & Base Styles
========================================== */
:root {
/* Primary Brand & Background Colors */
--spotify-green: #1ed760;
--spotify-green-hover: #1fdf64;
--spotify-green-border: #1db954;
--bg-near-black: #121212;
--bg-dark-surface: #181818;
--bg-mid-dark: #1f1f1f;
--bg-card-elevated: #252525;
--bg-card-alt: #272727;
/* Text Colors */
--text-base: #ffffff;
--text-silver: #b3b3b3;
--text-near-white: #cbcbcb;
--text-light: #fdfdfd;
/* Semantic Colors */
--text-negative: #f3727f;
--text-warning: #ffa42b;
--text-announcement: #539df5;
/* Borders & Surfaces */
--border-gray: #4d4d4d;
--border-light: #7c7c7c;
--border-separator: #b3b3b3;
--bg-light-surface: #eeeeee;
/* Elevation Shadows */
--shadow-heavy: rgba(0, 0, 0, 0.5) 0px 8px 24px;
--shadow-medium: rgba(0, 0, 0, 0.3) 0px 8px 8px;
--shadow-inset-input: rgb(18, 18, 18) 0px 1px 0px, rgb(124, 124, 124) 0px 0px 0px 1px inset;
/* Typography Stack */
--font-title: 'SpotifyMixUITitle', 'CircularSp-Arab', 'CircularSp-Hebr', 'CircularSp-Cyrl', 'CircularSp-Grek', 'CircularSp-Deva', 'Helvetica Neue', helvetica, arial, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, 'MS Gothic', sans-serif;
--font-ui: 'SpotifyMixUI', 'CircularSp-Arab', 'CircularSp-Hebr', 'CircularSp-Cyrl', 'CircularSp-Grek', 'CircularSp-Deva', 'Helvetica Neue', helvetica, arial, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, 'MS Gothic', sans-serif;
/* Radii Scale */
--radius-minimal: 2px;
--radius-subtle: 4px;
--radius-standard: 6px;
--radius-comfortable: 8px;
--radius-medium: 12px;
--radius-large: 100px;
--radius-pill: 500px;
--radius-full-pill: 9999px;
--radius-circle: 50%;
}
/* Reset & Box Sizing */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
background-color: var(--bg-near-black);
color: var(--text-base);
font-family: var(--font-ui);
font-size: 16px;
font-weight: 400;
line-height: normal;
overflow: hidden;
height: 100vh;
width: 100vw;
user-select: none;
}
/* Scrollbar Styling */
::-webkit-scrollbar {
width: 12px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.3);
border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.5);
}
/* Base Layout Structure */
#app {
display: grid;
grid-template-columns: 280px 1fr;
grid-template-rows: 1fr 90px;
grid-template-areas:
"sidebar main"
"player player";
height: 100vh;
width: 100vw;
background-color: #000000;
padding: 8px;
gap: 8px;
}
/* Typography Utility Classes */
.text-section-title {
font-family: var(--font-title);
font-size: 24px;
font-weight: 700;
line-height: normal;
letter-spacing: normal;
color: var(--text-base);
}
.text-feature-heading {
font-family: var(--font-ui);
font-size: 18px;
font-weight: 600;
line-height: 1.30;
letter-spacing: normal;
color: var(--text-base);
}
.text-body-bold {
font-family: var(--font-ui);
font-size: 16px;
font-weight: 700;
line-height: normal;
color: var(--text-base);
}
.text-body {
font-family: var(--font-ui);
font-size: 16px;
font-weight: 400;
line-height: normal;
color: var(--text-silver);
}
.text-button-uppercase {
font-family: var(--font-ui);
font-size: 14px;
font-weight: 700;
line-height: 1.00;
letter-spacing: 1.6px;
text-transform: uppercase;
}
.text-button {
font-family: var(--font-ui);
font-size: 14px;
font-weight: 700;
line-height: normal;
letter-spacing: 0.14px;
}
.text-caption-bold {
font-family: var(--font-ui);
font-size: 14px;
font-weight: 700;
line-height: 1.50;
color: var(--text-base);
}
.text-caption {
font-family: var(--font-ui);
font-size: 14px;
font-weight: 400;
line-height: normal;
color: var(--text-silver);
}
.text-small-bold {
font-family: var(--font-ui);
font-size: 12px;
font-weight: 700;
line-height: 1.50;
color: var(--text-base);
}
.text-small {
font-family: var(--font-ui);
font-size: 12px;
font-weight: 400;
line-height: normal;
color: var(--text-silver);
}
.text-badge {
font-family: var(--font-ui);
font-size: 10.5px;
font-weight: 600;
line-height: 1.33;
text-transform: capitalize;
border-radius: var(--radius-minimal);
}
.text-micro {
font-family: var(--font-ui);
font-size: 10px;
font-weight: 400;
line-height: normal;
color: var(--text-silver);
}
/* ==========================================
Buttons Component Specification
========================================== */
/* Dark Pill Button */
.btn-dark-pill {
background-color: var(--bg-mid-dark);
color: var(--text-base);
padding: 8px 16px;
border-radius: var(--radius-full-pill);
border: none;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 8px;
font-family: var(--font-ui);
font-size: 14px;
font-weight: 700;
transition: background-color 0.2s ease, transform 0.1s ease;
}
.btn-dark-pill:hover {
background-color: #2a2a2a;
transform: scale(1.03);
}
.btn-dark-pill.active {
background-color: var(--text-base);
color: #000000;
}
/* Dark Large Pill Button */
.btn-dark-large-pill {
background-color: var(--bg-dark-surface);
color: var(--text-base);
padding: 0px 43px;
height: 48px;
border-radius: var(--radius-pill);
border: none;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
font-family: var(--font-ui);
font-size: 14px;
font-weight: 700;
transition: transform 0.2s ease, background-color 0.2s ease;
}
.btn-dark-large-pill:hover {
background-color: #222222;
transform: scale(1.02);
}
/* Light Pill Button */
.btn-light-pill {
background-color: var(--bg-light-surface);
color: var(--bg-dark-surface);
padding: 8px 24px;
height: 48px;
border-radius: var(--radius-pill);
border: none;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
font-family: var(--font-ui);
font-size: 14px;
font-weight: 700;
transition: transform 0.2s ease, background-color 0.2s ease;
}
.btn-light-pill:hover {
background-color: #ffffff;
transform: scale(1.03);
}
/* Outlined Pill Button */
.btn-outlined-pill {
background-color: transparent;
color: var(--text-base);
border: 1px solid var(--border-light);
padding: 6px 18px;
border-radius: var(--radius-full-pill);
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 8px;
font-family: var(--font-ui);
font-size: 14px;
font-weight: 700;
transition: border-color 0.2s ease, transform 0.1s ease;
}
.btn-outlined-pill:hover {
border-color: var(--text-base);
transform: scale(1.03);
}
/* Circular Play Button */
.btn-circular-play {
background-color: var(--spotify-green);
color: #000000;
width: 48px;
height: 48px;
padding: 12px;
border-radius: var(--radius-circle);
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
box-shadow: var(--shadow-medium);
transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.btn-circular-play:hover {
background-color: var(--spotify-green-hover);
transform: scale(1.06);
}
.btn-circular-play svg {
fill: currentColor;
width: 22px;
height: 22px;
margin-left: 2px; /* Visual centering for play triangle */
}
/* Dynamic Small Circular Icon Button */
.btn-icon-circle {
background-color: transparent;
color: var(--text-silver);
width: 32px;
height: 32px;
border-radius: var(--radius-circle);
border: none;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
transition: color 0.2s ease, background-color 0.2s ease;
}
.btn-icon-circle:hover {
color: var(--text-base);
background-color: rgba(255, 255, 255, 0.1);
}
.btn-icon-circle.active {
color: var(--spotify-green);
}
/* Inputs */
.search-input-container {
position: relative;
display: flex;
align-items: center;
width: 360px;
}
.search-input-icon {
position: absolute;
left: 14px;
color: var(--text-silver);
pointer-events: none;
display: flex;
align-items: center;
}
.search-input {
width: 100%;
background-color: var(--bg-mid-dark);
color: var(--text-base);
border-radius: var(--radius-pill);
box-shadow: var(--shadow-inset-input);
border: 1px solid transparent;
padding: 12px 16px 12px 42px;
font-family: var(--font-ui);
font-size: 14px;
outline: none;
transition: border 0.2s ease, background-color 0.2s ease;
}
.search-input::placeholder {
color: var(--text-silver);
}
.search-input:focus {
border-color: var(--text-base);
background-color: #242424;
}
/* ==========================================
Sidebar Navigation Component
========================================== */
#sidebar {
grid-area: sidebar;
display: flex;
flex-direction: column;
gap: 8px;
height: 100%;
}
.sidebar-box {
background-color: var(--bg-near-black);
border-radius: var(--radius-comfortable);
padding: 16px 20px;
}
.sidebar-nav-box {
display: flex;
flex-direction: column;
gap: 20px;
}
.spotify-logo {
display: flex;
align-items: center;
gap: 8px;
color: var(--text-base);
font-weight: 700;
font-size: 18px;
text-decoration: none;
margin-bottom: 8px;
}
.spotify-logo svg {
fill: var(--spotify-green);
width: 32px;
height: 32px;
}
.nav-link {
display: flex;
align-items: center;
gap: 16px;
color: var(--text-silver);
text-decoration: none;
font-size: 14px;
font-weight: 400;
transition: color 0.2s ease;
}
.nav-link svg {
width: 24px;
height: 24px;
fill: currentColor;
}
.nav-link:hover {
color: var(--text-base);
}
.nav-link.active {
color: var(--text-base);
font-weight: 700;
}
/* Sidebar Library Box */
.sidebar-library-box {
flex: 1;
display: flex;
flex-direction: column;
background-color: var(--bg-near-black);
border-radius: var(--radius-comfortable);
padding: 12px 16px;
overflow: hidden;
}
.library-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 4px 8px 12px 8px;
}
.library-title {
display: flex;
align-items: center;
gap: 12px;
color: var(--text-silver);
font-size: 14px;
font-weight: 700;
cursor: pointer;
transition: color 0.2s ease;
}
.library-title:hover {
color: var(--text-base);
}
.library-title svg {
width: 24px;
height: 24px;
fill: currentColor;
}
.library-content {
flex: 1;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 8px;
padding-right: 4px;
}
.library-item {
display: flex;
align-items: center;
gap: 12px;
padding: 8px;
border-radius: var(--radius-standard);
cursor: pointer;
transition: background-color 0.2s ease;
}
.library-item:hover {
background-color: var(--bg-mid-dark);
}
.library-thumb {
width: 48px;
height: 48px;
border-radius: var(--radius-subtle);
object-fit: cover;
background-color: var(--bg-dark-surface);
}
.library-thumb-icon {
width: 48px;
height: 48px;
border-radius: var(--radius-subtle);
background: linear-gradient(135deg, #450af5, #c4efd9);
display: flex;
align-items: center;
justify-content: center;
color: var(--text-base);
}
.library-info {
display: flex;
flex-direction: column;
gap: 2px;
overflow: hidden;
}
.library-name {
font-size: 14px;
font-weight: 700;
color: var(--text-base);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.library-meta {
font-size: 12px;
color: var(--text-silver);
}
/* Mobile Bottom Navigation */
.mobile-bottom-nav {
display: none;
}
/* ==========================================
Main Content Area
========================================== */
#main-content {
grid-area: main;
background-color: var(--bg-near-black);
border-radius: var(--radius-comfortable);
display: flex;
flex-direction: column;
overflow: hidden;
position: relative;
}
/* Main Top Navbar Header */
.main-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 24px;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
position: sticky;
top: 0;
z-index: 100;
}
.header-nav-buttons {
display: flex;
align-items: center;
gap: 16px;
}
.nav-history-btn {
width: 32px;
height: 32px;
border-radius: var(--radius-circle);
background-color: rgba(0, 0, 0, 0.7);
border: none;
color: var(--text-base);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
.header-user-controls {
display: flex;
align-items: center;
gap: 16px;
}
.user-profile-btn {
background-color: rgba(0, 0, 0, 0.7);
border-radius: var(--radius-full-pill);
padding: 4px 12px 4px 4px;
display: flex;
align-items: center;
gap: 8px;
color: var(--text-base);
font-size: 14px;
font-weight: 700;
cursor: pointer;
border: none;
}
.user-avatar {
width: 28px;
height: 28px;
border-radius: var(--radius-circle);
background-color: #535353;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 12px;
}
/* Scrollable Main Area */
.main-scroll-area {
flex: 1;
overflow-y: auto;
padding: 0 24px 32px 24px;
display: flex;
flex-direction: column;
gap: 28px;
}
/* Dynamic Filter Tags / Pills Bar */
.filter-pills-bar {
display: flex;
align-items: center;
gap: 8px;
padding-bottom: 8px;
}
/* Hero / Welcome Quick Grid */
.quick-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 12px;
}
.quick-card {
background-color: rgba(255, 255, 255, 0.07);
border-radius: var(--radius-subtle);
display: flex;
align-items: center;
gap: 16px;
overflow: hidden;
cursor: pointer;
position: relative;
transition: background-color 0.2s ease;
}
.quick-card:hover {
background-color: rgba(255, 255, 255, 0.2);
}
.quick-card-img {
width: 64px;
height: 64px;
object-fit: cover;
flex-shrink: 0;
}
.quick-card-title {
font-size: 15px;
font-weight: 700;
color: var(--text-base);
flex: 1;
padding-right: 12px;
}
.quick-card-play {
position: absolute;
right: 16px;
opacity: 0;
transform: translateY(4px);
transition: opacity 0.2s ease, transform 0.2s ease;
}
.quick-card:hover .quick-card-play {
opacity: 1;
transform: translateY(0);
}
/* Standard Section & Card Grid */
.section-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 16px;
}
.section-title-link {
color: var(--text-base);
text-decoration: none;
font-family: var(--font-title);
font-size: 24px;
font-weight: 700;
}
.section-title-link:hover {
text-decoration: underline;
}
.see-all-link {
color: var(--text-silver);
font-size: 14px;
font-weight: 700;
text-decoration: none;
}
.see-all-link:hover {
text-decoration: underline;
color: var(--text-base);
}
.card-grid {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 18px;
}
/* Album / Playlist Card Specification */
.spotify-card {
background-color: var(--bg-dark-surface);
border-radius: var(--radius-comfortable);
padding: 16px;
display: flex;
flex-direction: column;
gap: 12px;
cursor: pointer;
position: relative;
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.spotify-card:hover {
background-color: var(--bg-mid-dark);
box-shadow: var(--shadow-medium);
}
.card-cover-wrapper {
position: relative;
width: 100%;
aspect-ratio: 1/1;
border-radius: var(--radius-standard);
overflow: hidden;
box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.card-cover {
width: 100%;
height: 100%;
object-fit: cover;
}
.artist-card .card-cover-wrapper,
.artist-card .card-cover {
border-radius: var(--radius-circle);
}
.card-play-btn {
position: absolute;
right: 12px;
bottom: 12px;
opacity: 0;
transform: translateY(8px);
transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
}
.spotify-card:hover .card-play-btn {
opacity: 1;
transform: translateY(0);
}
.card-info {
display: flex;
flex-direction: column;
gap: 4px;
}
.card-title {
font-size: 16px;
font-weight: 700;
color: var(--text-base);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.card-desc {
font-size: 14px;
color: var(--text-silver);
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
line-height: 1.3;
}
/* ==========================================
Now Playing Bar (Bottom Player)
========================================== */
#now-playing-bar {
grid-area: player;
background-color: #000000;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 16px;
height: 90px;
z-index: 200;
}
.player-track-info {
display: flex;
align-items: center;
gap: 14px;
min-width: 240px;
width: 30%;
}
.player-cover {
width: 56px;
height: 56px;
border-radius: var(--radius-subtle);
object-fit: cover;
background-color: var(--bg-dark-surface);
}
.player-track-details {
display: flex;
flex-direction: column;
gap: 2px;
overflow: hidden;
}
.player-track-title {
font-size: 14px;
font-weight: 700;
color: var(--text-base);
text-decoration: none;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.player-track-title:hover {
text-decoration: underline;
}
.player-artist-name {
font-size: 12px;
color: var(--text-silver);
text-decoration: none;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.player-artist-name:hover {
text-decoration: underline;
color: var(--text-base);
}
.player-like-btn {
background: none;
border: none;
color: var(--text-silver);
cursor: pointer;
padding: 4px;
display: flex;
align-items: center;
transition: color 0.2s ease, transform 0.1s ease;
}
.player-like-btn:hover {
color: var(--text-base);
}
.player-like-btn.liked {
color: var(--spotify-green);
}
/* Player Center Controls & Progress Bar */
.player-center {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
max-width: 722px;
width: 40%;
}
.player-controls {
display: flex;
align-items: center;
gap: 16px;
}
.control-btn {
background: none;
border: none;
color: var(--text-silver);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: color 0.2s ease;
}
.control-btn:hover {
color: var(--text-base);
}
.control-btn.active {
color: var(--spotify-green);
}
.control-btn-play {
background-color: var(--text-base);
color: #000000;
width: 32px;
height: 32px;
border-radius: var(--radius-circle);
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: transform 0.1s ease, background-color 0.2s ease;
}
.control-btn-play:hover {
transform: scale(1.06);
background-color: #ffffff;
}
.control-btn-play svg {
width: 16px;
height: 16px;
fill: currentColor;
}
.progress-container {
display: flex;
align-items: center;
gap: 8px;
width: 100%;
}
.time-stamp {
font-size: 11px;
color: var(--text-silver);
min-width: 35px;
text-align: center;
}
.progress-bar-wrapper {
flex: 1;
height: 12px;
display: flex;
align-items: center;
cursor: pointer;
position: relative;
}
.progress-bar-bg {
width: 100%;
height: 4px;
background-color: rgba(255, 255, 255, 0.3);
border-radius: 2px;
position: relative;
}
.progress-bar-fill {
height: 100%;
width: 0%;
background-color: var(--text-base);
border-radius: 2px;
transition: background-color 0.2s ease;
}
.progress-bar-wrapper:hover .progress-bar-fill {
background-color: var(--spotify-green);
}
.progress-thumb {
position: absolute;
width: 12px;
height: 12px;
border-radius: var(--radius-circle);
background-color: var(--text-base);
top: 50%;
transform: translate(-50%, -50%);
display: none;
box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.progress-bar-wrapper:hover .progress-thumb {
display: block;
}
/* Player Right Side Extra Controls */
.player-right {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 12px;
min-width: 180px;
width: 30%;
}
.volume-container {
display: flex;
align-items: center;
gap: 8px;
width: 120px;
}
/* ==========================================
Responsive Breakpoints Specification
========================================== */
/* Large Desktop (>1280px) */
@media (min-width: 1280px) {
.card-grid {
grid-template-columns: repeat(6, 1fr);
}
}
/* Desktop (1024px - 1280px) */
@media (max-width: 1280px) and (min-width: 1024px) {
.card-grid {
grid-template-columns: repeat(5, 1fr);
}
}
/* Desktop Small (896px - 1024px) */
@media (max-width: 1024px) and (min-width: 896px) {
.card-grid {
grid-template-columns: repeat(4, 1fr);
}
#app {
grid-template-columns: 240px 1fr;
}
}
/* Tablet Large (768px - 896px) */
@media (max-width: 896px) and (min-width: 768px) {
.card-grid {
grid-template-columns: repeat(3, 1fr);
}
#app {
grid-template-columns: 80px 1fr;
}
.spotify-logo span,
.nav-link span,
.library-title span,
.library-info {
display: none;
}
.sidebar-box {
padding: 16px 12px;
align-items: center;
}
.library-header {
justify-content: center;
padding: 8px 0;
}
}
/* Tablet (576px - 768px) */
@media (max-width: 768px) and (min-width: 576px) {
.card-grid {
grid-template-columns: repeat(2, 1fr);
}
#app {
grid-template-columns: 72px 1fr;
}
.spotify-logo span,
.nav-link span,
.library-title span,
.library-info {
display: none;
}
.search-input-container {
width: 220px;
}
}
/* Mobile & Mobile Small (<576px) */
@media (max-width: 576px) {
#app {
grid-template-columns: 1fr;
grid-template-rows: 1fr 64px 80px;
grid-template-areas:
"main"
"mobile-nav"
"player";
padding: 0;
gap: 0;
}
#sidebar {
display: none;
}
.mobile-bottom-nav {
grid-area: mobile-nav;
background-color: var(--bg-near-black);
border-top: 1px solid rgba(255, 255, 255, 0.1);
display: flex;
align-items: center;
justify-content: space-around;
z-index: 150;
}
.mobile-nav-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
color: var(--text-silver);
font-size: 10px;
text-decoration: none;
}
.mobile-nav-item.active {
color: var(--text-base);
}
.mobile-nav-item svg {
width: 22px;
height: 22px;
fill: currentColor;
}
.card-grid {
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}
.search-input-container {
width: 180px;
}
.main-scroll-area {
padding: 0 16px 24px 16px;
}
#now-playing-bar {
padding: 0 12px;
height: 80px;
}
.player-right {
display: none;
}
.player-track-info {
width: 60%;
min-width: 0;
}
.player-center {
width: 40%;
}
.progress-container {
display: none;
}
}
/* ==========================================
Spotify Design System Tokens & Base Styles
========================================== */
:root {
/* Primary Brand & Background Colors */
--spotify-green: #1ed760;
--spotify-green-hover: #1fdf64;
--spotify-green-border: #1db954;
--bg-near-black: #121212;
--bg-dark-surface: #181818;
--bg-mid-dark: #1f1f1f;
--bg-card-elevated: #252525;
--bg-card-alt: #272727;
/* Text Colors */
--text-base: #ffffff;
--text-silver: #b3b3b3;
--text-near-white: #cbcbcb;
--text-light: #fdfdfd;
/* Semantic Colors */
--text-negative: #f3727f;
--text-warning: #ffa42b;
--text-announcement: #539df5;
/* Borders & Surfaces */
--border-gray: #4d4d4d;
--border-light: #7c7c7c;
--border-separator: #b3b3b3;
--bg-light-surface: #eeeeee;
/* Elevation Shadows */
--shadow-heavy: rgba(0, 0, 0, 0.5) 0px 8px 24px;
--shadow-medium: rgba(0, 0, 0, 0.3) 0px 8px 8px;
--shadow-inset-input: rgb(18, 18, 18) 0px 1px 0px, rgb(124, 124, 124) 0px 0px 0px 1px inset;
/* Typography Stack */
--font-title: 'SpotifyMixUITitle', 'CircularSp-Arab', 'CircularSp-Hebr', 'CircularSp-Cyrl', 'CircularSp-Grek', 'CircularSp-Deva', 'Helvetica Neue', helvetica, arial, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, 'MS Gothic', sans-serif;
--font-ui: 'SpotifyMixUI', 'CircularSp-Arab', 'CircularSp-Hebr', 'CircularSp-Cyrl', 'CircularSp-Grek', 'CircularSp-Deva', 'Helvetica Neue', helvetica, arial, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, 'MS Gothic', sans-serif;
/* Radii Scale */
--radius-minimal: 2px;
--radius-subtle: 4px;
--radius-standard: 6px;
--radius-comfortable: 8px;
--radius-medium: 12px;
--radius-large: 100px;
--radius-pill: 500px;
--radius-full-pill: 9999px;
--radius-circle: 50%;
}
/* Reset & Box Sizing */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
background-color: var(--bg-near-black);
color: var(--text-base);
font-family: var(--font-ui);
font-size: 16px;
font-weight: 400;
line-height: normal;
overflow: hidden;
height: 100vh;
width: 100vw;
user-select: none;
}
/* Scrollbar Styling */
::-webkit-scrollbar {
width: 12px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.3);
border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.5);
}
/* Base Layout Structure */
#app {
display: grid;
grid-template-columns: 280px 1fr;
grid-template-rows: 1fr 90px;
grid-template-areas:
"sidebar main"
"player player";
height: 100vh;
width: 100vw;