Upload files to "CSS"

This commit is contained in:
2026-11-25 20:29:47 -06:00
parent 18bf39439b
commit f897a6b57b
5 changed files with 2150 additions and 0 deletions
+293
View File
@@ -0,0 +1,293 @@
.library-tabs {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 0 0 18px;
padding-bottom: 10px;
border-bottom: 1px solid rgba(255,255,255,0.08);
}
.library-tab {
padding: 9px 14px;
}
.library-tab.active {
border-color: rgba(255,255,255,0.22);
background: rgba(255,255,255,0.10);
font-weight: 700;
}
.youtube-library-page {
min-width: 0;
}
.youtube-page-header,
.youtube-section-heading {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
}
.youtube-page-header h2,
.youtube-section h3 {
margin-top: 0;
}
.youtube-cache-status {
flex: 0 0 auto;
padding: 7px 10px;
border: 1px solid rgba(255,255,255,0.10);
border-radius: 6px;
background: rgba(255,255,255,0.04);
font-size: 12px;
opacity: 0.85;
}
.youtube-search-form {
display: flex;
gap: 10px;
margin: 18px 0 24px;
}
.youtube-search-form input {
flex: 1 1 auto;
min-width: 0;
}
.youtube-section {
margin: 24px 0 30px;
}
.youtube-card-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 16px;
}
.youtube-card {
min-width: 0;
overflow: hidden;
border: 1px solid rgba(255,255,255,0.08);
border-radius: 9px;
background: rgba(255,255,255,0.035);
}
.youtube-thumb-button {
position: relative;
display: block;
width: 100%;
aspect-ratio: 16 / 9;
padding: 0;
overflow: hidden;
border: 0;
border-radius: 0;
background: #111;
cursor: pointer;
}
.youtube-thumb-button img,
.youtube-thumb-placeholder {
width: 100%;
height: 100%;
object-fit: cover;
}
.youtube-thumb-placeholder {
display: grid;
place-items: center;
font-size: 42px;
}
.youtube-play-badge {
position: absolute;
inset: 50% auto auto 50%;
display: grid;
place-items: center;
width: 52px;
height: 52px;
border-radius: 50%;
transform: translate(-50%, -50%);
background: rgba(0,0,0,0.72);
color: #fff;
font-size: 21px;
opacity: 0;
transition: opacity 120ms ease;
}
.youtube-thumb-button:hover .youtube-play-badge {
opacity: 1;
}
.youtube-duration {
position: absolute;
right: 7px;
bottom: 7px;
padding: 3px 5px;
border-radius: 4px;
background: rgba(0,0,0,0.82);
color: #fff;
font-size: 11px;
font-weight: 700;
}
.youtube-card-progress {
position: absolute;
right: 0;
bottom: 0;
left: 0;
height: 4px;
background: rgba(255,255,255,0.18);
}
.youtube-card-progress > span {
display: block;
height: 100%;
background: currentColor;
}
.youtube-card-body {
padding: 12px;
}
.youtube-card-title {
min-height: 2.7em;
overflow: hidden;
font-weight: 700;
line-height: 1.35;
}
.youtube-card-channel {
margin-top: 5px;
overflow: hidden;
opacity: 0.72;
font-size: 12px;
text-overflow: ellipsis;
white-space: nowrap;
}
.youtube-card-meta {
display: flex;
flex-wrap: wrap;
align-items: center;
min-height: 28px;
margin: 7px 0 9px;
gap: 6px;
font-size: 11px;
opacity: 0.78;
}
.youtube-cache-badge {
display: inline-flex;
padding: 2px 6px;
border: 1px solid rgba(255,255,255,0.13);
border-radius: 999px;
background: rgba(255,255,255,0.06);
font-weight: 700;
}
.youtube-watch-button {
width: 100%;
}
.youtube-player-overlay {
position: fixed;
z-index: 5000;
inset: 0;
display: none;
align-items: center;
justify-content: center;
padding: 20px;
background: rgba(0,0,0,0.90);
}
.youtube-player-overlay.active {
display: flex;
}
.youtube-player-window {
display: flex;
flex-direction: column;
width: min(1280px, 96vw);
max-height: 95vh;
overflow: hidden;
border: 1px solid rgba(255,255,255,0.12);
border-radius: 10px;
background: #080808;
box-shadow: 0 20px 70px rgba(0,0,0,0.55);
}
.youtube-player-header {
display: flex;
flex: 0 0 auto;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 10px 12px;
background: #151515;
border-bottom: 1px solid rgba(255,255,255,0.08);
}
.youtube-player-title {
min-width: 0;
overflow: hidden;
font-weight: 700;
text-overflow: ellipsis;
white-space: nowrap;
}
.youtube-player-actions {
display: flex;
flex: 0 0 auto;
gap: 8px;
}
#youtubeVideoElement {
display: block;
width: 100%;
max-height: calc(95vh - 55px);
background: #000;
}
@media (max-width: 720px) {
.youtube-page-header,
.youtube-section-heading {
flex-direction: column;
}
.youtube-cache-status {
align-self: flex-start;
}
.youtube-search-form {
flex-direction: column;
}
.youtube-card-grid {
grid-template-columns: 1fr;
}
.youtube-player-overlay {
padding: 0;
}
.youtube-player-window {
width: 100vw;
max-height: 100dvh;
border: 0;
border-radius: 0;
}
}
.media-account-nav {
display: inline-flex;
align-items: center;
gap: 8px;
margin-left: 8px;
}
.media-account-name {
color: rgba(255,255,255,0.70);
font-size: 12px;
padding: 0 4px;
}