You've already forked wp-fedistream
1409 lines
31 KiB
CSS
1409 lines
31 KiB
CSS
|
|
/**
|
||
|
|
* WP FediStream - Frontend Styles
|
||
|
|
*
|
||
|
|
* @package WP_FediStream
|
||
|
|
*/
|
||
|
|
|
||
|
|
/* ==========================================================================
|
||
|
|
CSS Custom Properties
|
||
|
|
========================================================================== */
|
||
|
|
|
||
|
|
:root {
|
||
|
|
--fedistream-primary: #6366f1;
|
||
|
|
--fedistream-primary-hover: #4f46e5;
|
||
|
|
--fedistream-secondary: #64748b;
|
||
|
|
--fedistream-success: #22c55e;
|
||
|
|
--fedistream-warning: #f59e0b;
|
||
|
|
--fedistream-danger: #ef4444;
|
||
|
|
--fedistream-text: #1e293b;
|
||
|
|
--fedistream-text-muted: #64748b;
|
||
|
|
--fedistream-bg: #ffffff;
|
||
|
|
--fedistream-bg-alt: #f8fafc;
|
||
|
|
--fedistream-border: #e2e8f0;
|
||
|
|
--fedistream-radius: 8px;
|
||
|
|
--fedistream-radius-lg: 12px;
|
||
|
|
--fedistream-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
||
|
|
--fedistream-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
|
||
|
|
--fedistream-transition: 0.2s ease;
|
||
|
|
--fedistream-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ==========================================================================
|
||
|
|
Base Styles
|
||
|
|
========================================================================== */
|
||
|
|
|
||
|
|
.fedistream-main {
|
||
|
|
max-width: 1200px;
|
||
|
|
margin: 0 auto;
|
||
|
|
padding: 2rem 1rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ==========================================================================
|
||
|
|
Grid System
|
||
|
|
========================================================================== */
|
||
|
|
|
||
|
|
.fedistream-grid {
|
||
|
|
display: grid;
|
||
|
|
gap: 1.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-grid--artists,
|
||
|
|
.fedistream-grid--albums {
|
||
|
|
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-grid--tracks,
|
||
|
|
.fedistream-grid--playlists {
|
||
|
|
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-grid--mixed {
|
||
|
|
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-grid--small {
|
||
|
|
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
||
|
|
gap: 1rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
|
||
|
|
.fedistream-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
|
||
|
|
.fedistream-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
|
||
|
|
.fedistream-grid--cols-5 { grid-template-columns: repeat(5, 1fr); }
|
||
|
|
.fedistream-grid--cols-6 { grid-template-columns: repeat(6, 1fr); }
|
||
|
|
|
||
|
|
@media (max-width: 768px) {
|
||
|
|
.fedistream-grid--cols-3,
|
||
|
|
.fedistream-grid--cols-4,
|
||
|
|
.fedistream-grid--cols-5,
|
||
|
|
.fedistream-grid--cols-6 {
|
||
|
|
grid-template-columns: repeat(2, 1fr);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 480px) {
|
||
|
|
.fedistream-grid {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ==========================================================================
|
||
|
|
Cards
|
||
|
|
========================================================================== */
|
||
|
|
|
||
|
|
.fedistream-card {
|
||
|
|
background: var(--fedistream-bg);
|
||
|
|
border-radius: var(--fedistream-radius-lg);
|
||
|
|
overflow: hidden;
|
||
|
|
transition: transform var(--fedistream-transition), box-shadow var(--fedistream-transition);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-card:hover {
|
||
|
|
transform: translateY(-4px);
|
||
|
|
box-shadow: var(--fedistream-shadow-lg);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-card__link {
|
||
|
|
display: block;
|
||
|
|
text-decoration: none;
|
||
|
|
color: inherit;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-card__image {
|
||
|
|
position: relative;
|
||
|
|
aspect-ratio: 1;
|
||
|
|
overflow: hidden;
|
||
|
|
background: var(--fedistream-bg-alt);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-card__image img {
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
object-fit: cover;
|
||
|
|
transition: transform var(--fedistream-transition);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-card:hover .fedistream-card__image img {
|
||
|
|
transform: scale(1.05);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-card__image--circle img,
|
||
|
|
.fedistream-card__image--circle .fedistream-card__placeholder {
|
||
|
|
border-radius: 50%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-card__placeholder {
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
background: linear-gradient(135deg, var(--fedistream-bg-alt), var(--fedistream-border));
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-card__placeholder svg {
|
||
|
|
width: 40%;
|
||
|
|
height: 40%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-card__badge {
|
||
|
|
position: absolute;
|
||
|
|
top: 0.5rem;
|
||
|
|
right: 0.5rem;
|
||
|
|
padding: 0.25rem 0.5rem;
|
||
|
|
border-radius: 4px;
|
||
|
|
font-size: 0.75rem;
|
||
|
|
font-weight: 600;
|
||
|
|
background: rgba(0, 0, 0, 0.7);
|
||
|
|
color: #fff;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 0.25rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-card__badge--private {
|
||
|
|
background: var(--fedistream-secondary);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-card__badge--explicit {
|
||
|
|
background: var(--fedistream-danger);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-card__content {
|
||
|
|
padding: 1rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-card__title {
|
||
|
|
margin: 0 0 0.25rem;
|
||
|
|
font-size: 1rem;
|
||
|
|
font-weight: 600;
|
||
|
|
color: var(--fedistream-text);
|
||
|
|
white-space: nowrap;
|
||
|
|
overflow: hidden;
|
||
|
|
text-overflow: ellipsis;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-card__artist,
|
||
|
|
.fedistream-card__author {
|
||
|
|
margin: 0 0 0.5rem;
|
||
|
|
font-size: 0.875rem;
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
white-space: nowrap;
|
||
|
|
overflow: hidden;
|
||
|
|
text-overflow: ellipsis;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-card__type {
|
||
|
|
display: inline-block;
|
||
|
|
padding: 0.125rem 0.5rem;
|
||
|
|
margin-bottom: 0.5rem;
|
||
|
|
font-size: 0.75rem;
|
||
|
|
font-weight: 500;
|
||
|
|
text-transform: uppercase;
|
||
|
|
letter-spacing: 0.05em;
|
||
|
|
background: var(--fedistream-bg-alt);
|
||
|
|
border-radius: 4px;
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-card__meta {
|
||
|
|
display: flex;
|
||
|
|
gap: 0.75rem;
|
||
|
|
font-size: 0.75rem;
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-card__play-overlay {
|
||
|
|
position: absolute;
|
||
|
|
bottom: 0.5rem;
|
||
|
|
right: 0.5rem;
|
||
|
|
width: 48px;
|
||
|
|
height: 48px;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
background: var(--fedistream-primary);
|
||
|
|
border: none;
|
||
|
|
border-radius: 50%;
|
||
|
|
color: #fff;
|
||
|
|
cursor: pointer;
|
||
|
|
opacity: 0;
|
||
|
|
transform: translateY(8px);
|
||
|
|
transition: opacity var(--fedistream-transition), transform var(--fedistream-transition), background var(--fedistream-transition);
|
||
|
|
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-card:hover .fedistream-card__play-overlay {
|
||
|
|
opacity: 1;
|
||
|
|
transform: translateY(0);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-card__play-overlay:hover {
|
||
|
|
background: var(--fedistream-primary-hover);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-card__play-overlay svg {
|
||
|
|
width: 24px;
|
||
|
|
height: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ==========================================================================
|
||
|
|
Archive Pages
|
||
|
|
========================================================================== */
|
||
|
|
|
||
|
|
.fedistream-archive__header {
|
||
|
|
margin-bottom: 2rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-archive__title {
|
||
|
|
margin: 0 0 0.5rem;
|
||
|
|
font-size: 2rem;
|
||
|
|
font-weight: 700;
|
||
|
|
color: var(--fedistream-text);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-archive__description {
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
font-size: 1rem;
|
||
|
|
line-height: 1.6;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ==========================================================================
|
||
|
|
Single Pages
|
||
|
|
========================================================================== */
|
||
|
|
|
||
|
|
.fedistream-single__header {
|
||
|
|
display: grid;
|
||
|
|
gap: 2rem;
|
||
|
|
margin-bottom: 2rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-single__header--album,
|
||
|
|
.fedistream-single__header--track,
|
||
|
|
.fedistream-single__header--playlist {
|
||
|
|
grid-template-columns: 300px 1fr;
|
||
|
|
align-items: end;
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 768px) {
|
||
|
|
.fedistream-single__header--album,
|
||
|
|
.fedistream-single__header--track,
|
||
|
|
.fedistream-single__header--playlist {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-single__hero {
|
||
|
|
max-width: 300px;
|
||
|
|
margin: 0 auto 1rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-single__artwork {
|
||
|
|
position: relative;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-single__image {
|
||
|
|
width: 100%;
|
||
|
|
border-radius: var(--fedistream-radius-lg);
|
||
|
|
box-shadow: var(--fedistream-shadow-lg);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-single__image--artist {
|
||
|
|
border-radius: 50%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-single__placeholder {
|
||
|
|
width: 100%;
|
||
|
|
aspect-ratio: 1;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
background: linear-gradient(135deg, var(--fedistream-bg-alt), var(--fedistream-border));
|
||
|
|
border-radius: var(--fedistream-radius-lg);
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-single__placeholder--artist {
|
||
|
|
border-radius: 50%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-single__placeholder svg {
|
||
|
|
width: 40%;
|
||
|
|
height: 40%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-single__play-overlay {
|
||
|
|
position: absolute;
|
||
|
|
top: 50%;
|
||
|
|
left: 50%;
|
||
|
|
transform: translate(-50%, -50%);
|
||
|
|
width: 80px;
|
||
|
|
height: 80px;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
background: rgba(255, 255, 255, 0.9);
|
||
|
|
border: none;
|
||
|
|
border-radius: 50%;
|
||
|
|
color: var(--fedistream-primary);
|
||
|
|
cursor: pointer;
|
||
|
|
opacity: 0;
|
||
|
|
transition: opacity var(--fedistream-transition);
|
||
|
|
box-shadow: var(--fedistream-shadow-lg);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-single__artwork:hover .fedistream-single__play-overlay {
|
||
|
|
opacity: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-single__play-overlay svg {
|
||
|
|
width: 40px;
|
||
|
|
height: 40px;
|
||
|
|
margin-left: 4px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-single__badge {
|
||
|
|
position: absolute;
|
||
|
|
top: 1rem;
|
||
|
|
right: 1rem;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 0.25rem;
|
||
|
|
padding: 0.25rem 0.5rem;
|
||
|
|
background: rgba(0, 0, 0, 0.7);
|
||
|
|
border-radius: 4px;
|
||
|
|
color: #fff;
|
||
|
|
font-size: 0.75rem;
|
||
|
|
font-weight: 600;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-single__type-badge {
|
||
|
|
display: inline-block;
|
||
|
|
padding: 0.25rem 0.75rem;
|
||
|
|
margin-bottom: 0.5rem;
|
||
|
|
font-size: 0.75rem;
|
||
|
|
font-weight: 600;
|
||
|
|
text-transform: uppercase;
|
||
|
|
letter-spacing: 0.05em;
|
||
|
|
background: var(--fedistream-primary);
|
||
|
|
color: #fff;
|
||
|
|
border-radius: 4px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-single__title {
|
||
|
|
margin: 0 0 0.5rem;
|
||
|
|
font-size: 2rem;
|
||
|
|
font-weight: 700;
|
||
|
|
color: var(--fedistream-text);
|
||
|
|
line-height: 1.2;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-single__artist,
|
||
|
|
.fedistream-single__artists,
|
||
|
|
.fedistream-single__author {
|
||
|
|
margin: 0 0 0.5rem;
|
||
|
|
font-size: 1.125rem;
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-single__artist a,
|
||
|
|
.fedistream-single__artists a,
|
||
|
|
.fedistream-single__author a {
|
||
|
|
color: var(--fedistream-text);
|
||
|
|
text-decoration: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-single__artist a:hover,
|
||
|
|
.fedistream-single__artists a:hover,
|
||
|
|
.fedistream-single__author a:hover {
|
||
|
|
text-decoration: underline;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-single__album {
|
||
|
|
margin: 0 0 0.75rem;
|
||
|
|
font-size: 0.875rem;
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-single__album a {
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
text-decoration: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-single__album a:hover {
|
||
|
|
color: var(--fedistream-primary);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-single__type {
|
||
|
|
margin: 0 0 0.5rem;
|
||
|
|
font-size: 0.875rem;
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
text-transform: capitalize;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-single__meta {
|
||
|
|
display: flex;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
gap: 1rem;
|
||
|
|
margin-bottom: 1rem;
|
||
|
|
font-size: 0.875rem;
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-single__genres,
|
||
|
|
.fedistream-single__moods {
|
||
|
|
display: flex;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
gap: 0.5rem;
|
||
|
|
margin-bottom: 1rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-single__actions {
|
||
|
|
display: flex;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
gap: 0.75rem;
|
||
|
|
margin-top: 1.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-single__content,
|
||
|
|
.fedistream-single__credits,
|
||
|
|
.fedistream-single__lyrics,
|
||
|
|
.fedistream-single__license,
|
||
|
|
.fedistream-single__social,
|
||
|
|
.fedistream-single__albums,
|
||
|
|
.fedistream-single__tracks {
|
||
|
|
margin-bottom: 2rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-single__description {
|
||
|
|
line-height: 1.7;
|
||
|
|
color: var(--fedistream-text);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-section__title {
|
||
|
|
margin: 0 0 1rem;
|
||
|
|
font-size: 1.25rem;
|
||
|
|
font-weight: 600;
|
||
|
|
color: var(--fedistream-text);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ==========================================================================
|
||
|
|
Tracklist
|
||
|
|
========================================================================== */
|
||
|
|
|
||
|
|
.fedistream-tracklist {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-tracklist__item {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 1rem;
|
||
|
|
padding: 0.75rem 1rem;
|
||
|
|
border-radius: var(--fedistream-radius);
|
||
|
|
transition: background var(--fedistream-transition);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-tracklist__item:hover {
|
||
|
|
background: var(--fedistream-bg-alt);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-tracklist__item.is-playing {
|
||
|
|
background: var(--fedistream-primary);
|
||
|
|
color: #fff;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-tracklist__item.is-playing .fedistream-tracklist__duration,
|
||
|
|
.fedistream-tracklist__item.is-playing .fedistream-tracklist__number {
|
||
|
|
color: rgba(255, 255, 255, 0.8);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-tracklist__number,
|
||
|
|
.fedistream-tracklist__rank {
|
||
|
|
width: 2rem;
|
||
|
|
text-align: center;
|
||
|
|
font-size: 0.875rem;
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
font-variant-numeric: tabular-nums;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-tracklist__artwork {
|
||
|
|
width: 40px;
|
||
|
|
height: 40px;
|
||
|
|
border-radius: 4px;
|
||
|
|
object-fit: cover;
|
||
|
|
flex-shrink: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-tracklist__artwork--placeholder {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
background: var(--fedistream-bg-alt);
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-tracklist__artwork--placeholder svg {
|
||
|
|
width: 20px;
|
||
|
|
height: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-tracklist__info {
|
||
|
|
flex: 1;
|
||
|
|
min-width: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-tracklist__title {
|
||
|
|
display: block;
|
||
|
|
font-weight: 500;
|
||
|
|
color: var(--fedistream-text);
|
||
|
|
text-decoration: none;
|
||
|
|
white-space: nowrap;
|
||
|
|
overflow: hidden;
|
||
|
|
text-overflow: ellipsis;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-tracklist__title:hover {
|
||
|
|
text-decoration: underline;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-tracklist__artist,
|
||
|
|
.fedistream-tracklist__album,
|
||
|
|
.fedistream-tracklist__featuring {
|
||
|
|
display: block;
|
||
|
|
font-size: 0.8125rem;
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
white-space: nowrap;
|
||
|
|
overflow: hidden;
|
||
|
|
text-overflow: ellipsis;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-tracklist__artist a {
|
||
|
|
color: inherit;
|
||
|
|
text-decoration: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-tracklist__artist a:hover {
|
||
|
|
text-decoration: underline;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-tracklist__plays {
|
||
|
|
font-size: 0.8125rem;
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
font-variant-numeric: tabular-nums;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-tracklist__duration {
|
||
|
|
width: 4rem;
|
||
|
|
text-align: right;
|
||
|
|
font-size: 0.875rem;
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
font-variant-numeric: tabular-nums;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-tracklist__play {
|
||
|
|
width: 32px;
|
||
|
|
height: 32px;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
background: transparent;
|
||
|
|
border: none;
|
||
|
|
border-radius: 50%;
|
||
|
|
color: var(--fedistream-text);
|
||
|
|
cursor: pointer;
|
||
|
|
opacity: 0;
|
||
|
|
transition: opacity var(--fedistream-transition), background var(--fedistream-transition);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-tracklist__item:hover .fedistream-tracklist__play {
|
||
|
|
opacity: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-tracklist__play:hover {
|
||
|
|
background: var(--fedistream-primary);
|
||
|
|
color: #fff;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-tracklist__play svg {
|
||
|
|
width: 16px;
|
||
|
|
height: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ==========================================================================
|
||
|
|
Player
|
||
|
|
========================================================================== */
|
||
|
|
|
||
|
|
.fedistream-player {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 1rem;
|
||
|
|
padding: 1rem;
|
||
|
|
background: var(--fedistream-bg);
|
||
|
|
border-radius: var(--fedistream-radius-lg);
|
||
|
|
box-shadow: var(--fedistream-shadow);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-player--inline {
|
||
|
|
padding: 0.75rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-player__controls {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 0.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-player__btn {
|
||
|
|
width: 40px;
|
||
|
|
height: 40px;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
background: transparent;
|
||
|
|
border: none;
|
||
|
|
border-radius: 50%;
|
||
|
|
color: var(--fedistream-text);
|
||
|
|
cursor: pointer;
|
||
|
|
transition: background var(--fedistream-transition), color var(--fedistream-transition);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-player__btn:hover {
|
||
|
|
background: var(--fedistream-bg-alt);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-player__btn--play {
|
||
|
|
width: 48px;
|
||
|
|
height: 48px;
|
||
|
|
background: var(--fedistream-primary);
|
||
|
|
color: #fff;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-player__btn--play:hover {
|
||
|
|
background: var(--fedistream-primary-hover);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-player__btn svg {
|
||
|
|
width: 24px;
|
||
|
|
height: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-player__icon--pause {
|
||
|
|
display: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-player.is-playing .fedistream-player__icon--play {
|
||
|
|
display: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-player.is-playing .fedistream-player__icon--pause {
|
||
|
|
display: block;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-player__progress {
|
||
|
|
flex: 1;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 0.75rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-player__time {
|
||
|
|
font-size: 0.75rem;
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
font-variant-numeric: tabular-nums;
|
||
|
|
min-width: 3rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-player__time--current {
|
||
|
|
text-align: right;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-player__bar {
|
||
|
|
flex: 1;
|
||
|
|
position: relative;
|
||
|
|
height: 6px;
|
||
|
|
background: var(--fedistream-border);
|
||
|
|
border-radius: 3px;
|
||
|
|
cursor: pointer;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-player__bar-progress {
|
||
|
|
position: absolute;
|
||
|
|
top: 0;
|
||
|
|
left: 0;
|
||
|
|
height: 100%;
|
||
|
|
background: var(--fedistream-primary);
|
||
|
|
border-radius: 3px;
|
||
|
|
width: 0%;
|
||
|
|
transition: width 0.1s linear;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-player__seek {
|
||
|
|
position: absolute;
|
||
|
|
top: 0;
|
||
|
|
left: 0;
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
opacity: 0;
|
||
|
|
cursor: pointer;
|
||
|
|
-webkit-appearance: none;
|
||
|
|
appearance: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-player__volume {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 0.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-player__volume-slider {
|
||
|
|
width: 80px;
|
||
|
|
height: 4px;
|
||
|
|
-webkit-appearance: none;
|
||
|
|
appearance: none;
|
||
|
|
background: var(--fedistream-border);
|
||
|
|
border-radius: 2px;
|
||
|
|
cursor: pointer;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-player__volume-slider::-webkit-slider-thumb {
|
||
|
|
-webkit-appearance: none;
|
||
|
|
width: 12px;
|
||
|
|
height: 12px;
|
||
|
|
background: var(--fedistream-primary);
|
||
|
|
border-radius: 50%;
|
||
|
|
cursor: pointer;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ==========================================================================
|
||
|
|
Buttons
|
||
|
|
========================================================================== */
|
||
|
|
|
||
|
|
.fedistream-btn {
|
||
|
|
display: inline-flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
gap: 0.5rem;
|
||
|
|
padding: 0.75rem 1.5rem;
|
||
|
|
font-size: 0.875rem;
|
||
|
|
font-weight: 600;
|
||
|
|
text-decoration: none;
|
||
|
|
border: none;
|
||
|
|
border-radius: var(--fedistream-radius);
|
||
|
|
cursor: pointer;
|
||
|
|
transition: background var(--fedistream-transition), color var(--fedistream-transition), transform var(--fedistream-transition);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-btn:active {
|
||
|
|
transform: scale(0.98);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-btn--primary {
|
||
|
|
background: var(--fedistream-primary);
|
||
|
|
color: #fff;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-btn--primary:hover {
|
||
|
|
background: var(--fedistream-primary-hover);
|
||
|
|
color: #fff;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-btn--secondary {
|
||
|
|
background: var(--fedistream-bg-alt);
|
||
|
|
color: var(--fedistream-text);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-btn--secondary:hover {
|
||
|
|
background: var(--fedistream-border);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-btn svg {
|
||
|
|
width: 20px;
|
||
|
|
height: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ==========================================================================
|
||
|
|
Tags
|
||
|
|
========================================================================== */
|
||
|
|
|
||
|
|
.fedistream-tag {
|
||
|
|
display: inline-block;
|
||
|
|
padding: 0.25rem 0.75rem;
|
||
|
|
font-size: 0.75rem;
|
||
|
|
font-weight: 500;
|
||
|
|
text-decoration: none;
|
||
|
|
background: var(--fedistream-bg-alt);
|
||
|
|
color: var(--fedistream-text);
|
||
|
|
border-radius: 9999px;
|
||
|
|
transition: background var(--fedistream-transition), color var(--fedistream-transition);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-tag:hover {
|
||
|
|
background: var(--fedistream-primary);
|
||
|
|
color: #fff;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-tag--mood {
|
||
|
|
background: #fef3c7;
|
||
|
|
color: #92400e;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-tag--mood:hover {
|
||
|
|
background: var(--fedistream-warning);
|
||
|
|
color: #fff;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-tag--small {
|
||
|
|
padding: 0.125rem 0.5rem;
|
||
|
|
font-size: 0.6875rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ==========================================================================
|
||
|
|
Badge
|
||
|
|
========================================================================== */
|
||
|
|
|
||
|
|
.fedistream-badge {
|
||
|
|
display: inline-flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
min-width: 1.25rem;
|
||
|
|
height: 1.25rem;
|
||
|
|
padding: 0 0.375rem;
|
||
|
|
font-size: 0.6875rem;
|
||
|
|
font-weight: 700;
|
||
|
|
text-transform: uppercase;
|
||
|
|
background: var(--fedistream-secondary);
|
||
|
|
color: #fff;
|
||
|
|
border-radius: 4px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-badge--explicit {
|
||
|
|
background: var(--fedistream-danger);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ==========================================================================
|
||
|
|
Social Links
|
||
|
|
========================================================================== */
|
||
|
|
|
||
|
|
.fedistream-social-links {
|
||
|
|
display: flex;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
gap: 0.75rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-social-link {
|
||
|
|
display: inline-flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 0.5rem;
|
||
|
|
padding: 0.5rem 1rem;
|
||
|
|
font-size: 0.875rem;
|
||
|
|
font-weight: 500;
|
||
|
|
text-decoration: none;
|
||
|
|
background: var(--fedistream-bg-alt);
|
||
|
|
color: var(--fedistream-text);
|
||
|
|
border-radius: var(--fedistream-radius);
|
||
|
|
transition: background var(--fedistream-transition), color var(--fedistream-transition);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-social-link:hover {
|
||
|
|
background: var(--fedistream-text);
|
||
|
|
color: #fff;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ==========================================================================
|
||
|
|
Empty State
|
||
|
|
========================================================================== */
|
||
|
|
|
||
|
|
.fedistream-empty {
|
||
|
|
padding: 3rem;
|
||
|
|
text-align: center;
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ==========================================================================
|
||
|
|
Error State
|
||
|
|
========================================================================== */
|
||
|
|
|
||
|
|
.fedistream-error {
|
||
|
|
padding: 1rem;
|
||
|
|
background: #fef2f2;
|
||
|
|
border: 1px solid #fecaca;
|
||
|
|
border-radius: var(--fedistream-radius);
|
||
|
|
color: var(--fedistream-danger);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ==========================================================================
|
||
|
|
Pagination
|
||
|
|
========================================================================== */
|
||
|
|
|
||
|
|
.fedistream-pagination {
|
||
|
|
display: flex;
|
||
|
|
justify-content: center;
|
||
|
|
gap: 0.5rem;
|
||
|
|
margin-top: 2rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-pagination a,
|
||
|
|
.fedistream-pagination span {
|
||
|
|
display: inline-flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
min-width: 2.5rem;
|
||
|
|
height: 2.5rem;
|
||
|
|
padding: 0 0.75rem;
|
||
|
|
font-size: 0.875rem;
|
||
|
|
text-decoration: none;
|
||
|
|
background: var(--fedistream-bg);
|
||
|
|
color: var(--fedistream-text);
|
||
|
|
border: 1px solid var(--fedistream-border);
|
||
|
|
border-radius: var(--fedistream-radius);
|
||
|
|
transition: background var(--fedistream-transition), border-color var(--fedistream-transition);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-pagination a:hover {
|
||
|
|
background: var(--fedistream-bg-alt);
|
||
|
|
border-color: var(--fedistream-primary);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-pagination .current {
|
||
|
|
background: var(--fedistream-primary);
|
||
|
|
color: #fff;
|
||
|
|
border-color: var(--fedistream-primary);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ==========================================================================
|
||
|
|
Widgets
|
||
|
|
========================================================================== */
|
||
|
|
|
||
|
|
.fedistream-widget__list {
|
||
|
|
list-style: none;
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-widget__item {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 0.75rem;
|
||
|
|
padding: 0.5rem 0;
|
||
|
|
border-bottom: 1px solid var(--fedistream-border);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-widget__item:last-child {
|
||
|
|
border-bottom: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-widget__link {
|
||
|
|
flex: 1;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 0.75rem;
|
||
|
|
min-width: 0;
|
||
|
|
text-decoration: none;
|
||
|
|
color: inherit;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-widget__image {
|
||
|
|
width: 48px;
|
||
|
|
height: 48px;
|
||
|
|
border-radius: 4px;
|
||
|
|
object-fit: cover;
|
||
|
|
flex-shrink: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-widget__placeholder {
|
||
|
|
width: 48px;
|
||
|
|
height: 48px;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
background: var(--fedistream-bg-alt);
|
||
|
|
border-radius: 4px;
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
flex-shrink: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-widget__placeholder svg {
|
||
|
|
width: 24px;
|
||
|
|
height: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-widget__placeholder--large {
|
||
|
|
width: 100%;
|
||
|
|
height: auto;
|
||
|
|
aspect-ratio: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-widget__placeholder--large svg {
|
||
|
|
width: 40%;
|
||
|
|
height: 40%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-widget__info {
|
||
|
|
flex: 1;
|
||
|
|
min-width: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-widget__title {
|
||
|
|
display: block;
|
||
|
|
font-weight: 500;
|
||
|
|
color: var(--fedistream-text);
|
||
|
|
white-space: nowrap;
|
||
|
|
overflow: hidden;
|
||
|
|
text-overflow: ellipsis;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-widget__artist,
|
||
|
|
.fedistream-widget__date {
|
||
|
|
display: block;
|
||
|
|
font-size: 0.8125rem;
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-widget__plays {
|
||
|
|
font-size: 0.75rem;
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
font-variant-numeric: tabular-nums;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-widget__play {
|
||
|
|
width: 28px;
|
||
|
|
height: 28px;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
background: transparent;
|
||
|
|
border: none;
|
||
|
|
border-radius: 50%;
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
cursor: pointer;
|
||
|
|
transition: background var(--fedistream-transition), color var(--fedistream-transition);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-widget__play:hover {
|
||
|
|
background: var(--fedistream-primary);
|
||
|
|
color: #fff;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-widget__play svg {
|
||
|
|
width: 14px;
|
||
|
|
height: 14px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-widget__featured {
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-widget__featured-link {
|
||
|
|
display: block;
|
||
|
|
margin-bottom: 1rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-widget__featured-image {
|
||
|
|
width: 100%;
|
||
|
|
border-radius: var(--fedistream-radius-lg);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-widget__featured-name {
|
||
|
|
margin: 0 0 0.25rem;
|
||
|
|
font-size: 1.125rem;
|
||
|
|
font-weight: 600;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-widget__featured-name a {
|
||
|
|
color: var(--fedistream-text);
|
||
|
|
text-decoration: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-widget__featured-name a:hover {
|
||
|
|
text-decoration: underline;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-widget__featured-type {
|
||
|
|
display: block;
|
||
|
|
font-size: 0.875rem;
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
margin-bottom: 0.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-widget__featured-genres {
|
||
|
|
display: flex;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
justify-content: center;
|
||
|
|
gap: 0.25rem;
|
||
|
|
margin-bottom: 0.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-widget__featured-stats {
|
||
|
|
display: flex;
|
||
|
|
justify-content: center;
|
||
|
|
gap: 1rem;
|
||
|
|
font-size: 0.8125rem;
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-widget__empty {
|
||
|
|
padding: 1rem 0;
|
||
|
|
text-align: center;
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
font-size: 0.875rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ==========================================================================
|
||
|
|
Now Playing Widget
|
||
|
|
========================================================================== */
|
||
|
|
|
||
|
|
.fedistream-now-playing__idle {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: center;
|
||
|
|
gap: 0.75rem;
|
||
|
|
padding: 1rem;
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-now-playing__idle svg {
|
||
|
|
width: 48px;
|
||
|
|
height: 48px;
|
||
|
|
opacity: 0.5;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-now-playing__message {
|
||
|
|
font-size: 0.875rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-now-playing__track {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 0.75rem;
|
||
|
|
margin-bottom: 1rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-now-playing__artwork {
|
||
|
|
width: 64px;
|
||
|
|
height: 64px;
|
||
|
|
border-radius: var(--fedistream-radius);
|
||
|
|
object-fit: cover;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-now-playing__info {
|
||
|
|
flex: 1;
|
||
|
|
min-width: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-now-playing__title {
|
||
|
|
display: block;
|
||
|
|
font-weight: 600;
|
||
|
|
color: var(--fedistream-text);
|
||
|
|
white-space: nowrap;
|
||
|
|
overflow: hidden;
|
||
|
|
text-overflow: ellipsis;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-now-playing__artist {
|
||
|
|
display: block;
|
||
|
|
font-size: 0.875rem;
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-now-playing__controls {
|
||
|
|
display: flex;
|
||
|
|
justify-content: center;
|
||
|
|
gap: 0.5rem;
|
||
|
|
margin-bottom: 0.75rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-now-playing__btn {
|
||
|
|
width: 36px;
|
||
|
|
height: 36px;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
background: transparent;
|
||
|
|
border: none;
|
||
|
|
border-radius: 50%;
|
||
|
|
color: var(--fedistream-text);
|
||
|
|
cursor: pointer;
|
||
|
|
transition: background var(--fedistream-transition);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-now-playing__btn:hover {
|
||
|
|
background: var(--fedistream-bg-alt);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-now-playing__btn--play {
|
||
|
|
width: 44px;
|
||
|
|
height: 44px;
|
||
|
|
background: var(--fedistream-primary);
|
||
|
|
color: #fff;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-now-playing__btn--play:hover {
|
||
|
|
background: var(--fedistream-primary-hover);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-now-playing__btn svg {
|
||
|
|
width: 20px;
|
||
|
|
height: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-now-playing__icon--pause {
|
||
|
|
display: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-now-playing.is-playing .fedistream-now-playing__icon--play {
|
||
|
|
display: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-now-playing.is-playing .fedistream-now-playing__icon--pause {
|
||
|
|
display: block;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-now-playing__progress {
|
||
|
|
padding: 0 0.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-now-playing__bar {
|
||
|
|
height: 4px;
|
||
|
|
background: var(--fedistream-border);
|
||
|
|
border-radius: 2px;
|
||
|
|
margin-bottom: 0.25rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-now-playing__bar-progress {
|
||
|
|
height: 100%;
|
||
|
|
background: var(--fedistream-primary);
|
||
|
|
border-radius: 2px;
|
||
|
|
width: 0%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-now-playing__times {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
font-size: 0.6875rem;
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
font-variant-numeric: tabular-nums;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ==========================================================================
|
||
|
|
Shortcodes
|
||
|
|
========================================================================== */
|
||
|
|
|
||
|
|
.fedistream-shortcode {
|
||
|
|
margin: 1.5rem 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-shortcode__title {
|
||
|
|
margin: 0 0 1rem;
|
||
|
|
font-size: 1.25rem;
|
||
|
|
font-weight: 600;
|
||
|
|
color: var(--fedistream-text);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Compact layout adjustments */
|
||
|
|
.fedistream-shortcode--compact .fedistream-tracklist__item {
|
||
|
|
padding: 0.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-shortcode--compact .fedistream-tracklist__artwork {
|
||
|
|
width: 32px;
|
||
|
|
height: 32px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Player widget styles */
|
||
|
|
.fedistream-player-widget--compact .fedistream-player {
|
||
|
|
padding: 0.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-player-widget--mini .fedistream-player {
|
||
|
|
padding: 0.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-player-widget--mini .fedistream-player__volume {
|
||
|
|
display: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ==========================================================================
|
||
|
|
License Display
|
||
|
|
========================================================================== */
|
||
|
|
|
||
|
|
.fedistream-license {
|
||
|
|
font-size: 0.875rem;
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-license a {
|
||
|
|
color: var(--fedistream-primary);
|
||
|
|
text-decoration: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-license a:hover {
|
||
|
|
text-decoration: underline;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ==========================================================================
|
||
|
|
Lyrics
|
||
|
|
========================================================================== */
|
||
|
|
|
||
|
|
.fedistream-lyrics {
|
||
|
|
font-size: 1rem;
|
||
|
|
line-height: 1.8;
|
||
|
|
color: var(--fedistream-text);
|
||
|
|
white-space: pre-line;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ==========================================================================
|
||
|
|
Credits
|
||
|
|
========================================================================== */
|
||
|
|
|
||
|
|
.fedistream-credits {
|
||
|
|
font-size: 0.875rem;
|
||
|
|
line-height: 1.7;
|
||
|
|
color: var(--fedistream-text-muted);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ==========================================================================
|
||
|
|
Loading States
|
||
|
|
========================================================================== */
|
||
|
|
|
||
|
|
.fedistream-player.is-loading .fedistream-player__btn--play {
|
||
|
|
position: relative;
|
||
|
|
color: transparent;
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-player.is-loading .fedistream-player__btn--play::after {
|
||
|
|
content: '';
|
||
|
|
position: absolute;
|
||
|
|
top: 50%;
|
||
|
|
left: 50%;
|
||
|
|
width: 20px;
|
||
|
|
height: 20px;
|
||
|
|
margin: -10px 0 0 -10px;
|
||
|
|
border: 2px solid rgba(255, 255, 255, 0.3);
|
||
|
|
border-top-color: #fff;
|
||
|
|
border-radius: 50%;
|
||
|
|
animation: fedistream-spin 0.8s linear infinite;
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes fedistream-spin {
|
||
|
|
to {
|
||
|
|
transform: rotate(360deg);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Active button states */
|
||
|
|
.fedistream-player__btn--shuffle.is-active,
|
||
|
|
.fedistream-player__btn--repeat.is-active {
|
||
|
|
color: var(--fedistream-primary);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fedistream-player__btn--repeat.is-repeat-one::after {
|
||
|
|
content: '1';
|
||
|
|
position: absolute;
|
||
|
|
font-size: 0.5rem;
|
||
|
|
font-weight: 700;
|
||
|
|
}
|