feat: pagination for videos and icon separating
This commit is contained in:
@@ -3702,6 +3702,53 @@ a.citation-count-badge:hover {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.video-preview-heading {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.video-preview-heading .section-badge { margin-bottom: 0.55rem; }
|
||||
.video-preview-heading h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
|
||||
.video-preview-heading > span { color: var(--text-muted); font-size: 0.76rem; font-weight: 700; }
|
||||
.video-preview-more { display: flex; justify-content: center; margin-top: 1.75rem; }
|
||||
|
||||
.video-library-hero .page-hero-content { max-width: none; }
|
||||
.page-hero-content--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
|
||||
.video-library-section { background: var(--bg-secondary); }
|
||||
.video-library-summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; color: var(--text-secondary); font-size: 0.8rem; }
|
||||
.video-library-summary strong { color: var(--text-primary); font-size: 1rem; }
|
||||
.video-library-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
|
||||
.video-library-card { min-width: 0; padding: 1.2rem; border: 1px solid var(--glass-border); border-radius: var(--radius-md); background: var(--glass-bg); box-shadow: var(--glass-shadow); }
|
||||
.video-library-card .video-panel--styled { height: 100%; padding: 1.25rem; }
|
||||
.video-library-card .video-panel-title,
|
||||
.video-library-card .section-title { font-size: 1.05rem; }
|
||||
.video-library-card .section-header { margin-bottom: 1rem; text-align: left; }
|
||||
.video-library-card .section-desc { margin-bottom: 1rem; font-size: 0.78rem; }
|
||||
.video-library-empty { grid-column: 1 / -1; }
|
||||
|
||||
.video-pagination { display: grid; grid-template-columns: minmax(110px, 1fr) auto minmax(110px, 1fr); align-items: center; gap: 1rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--glass-border); }
|
||||
.video-pagination__pages { display: flex; align-items: center; gap: 0.35rem; }
|
||||
.video-pagination__page,
|
||||
.video-pagination__ellipsis { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 0.4rem; border: 1px solid var(--glass-border); border-radius: var(--radius-sm); background: var(--glass-bg); color: var(--text-secondary); font-size: 0.76rem; font-weight: 700; }
|
||||
.video-pagination__page:hover { border-color: var(--accent-blue); color: var(--accent-blue-light); }
|
||||
.video-pagination__page.is-current { border-color: var(--accent-blue); background: var(--accent-blue); color: var(--text-primary); }
|
||||
.video-pagination__ellipsis { border-color: transparent; background: transparent; }
|
||||
.video-pagination__direction { color: var(--accent-blue-light); font-size: 0.78rem; font-weight: 700; }
|
||||
.video-pagination__direction:last-child { justify-self: end; }
|
||||
.video-pagination__direction.is-disabled { color: var(--text-muted); pointer-events: none; }
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.video-library-grid { grid-template-columns: 1fr; }
|
||||
.video-pagination { grid-template-columns: 1fr 1fr; }
|
||||
.video-pagination__pages { grid-column: 1 / -1; grid-row: 1; justify-content: center; flex-wrap: wrap; }
|
||||
.video-pagination__direction { grid-row: 2; }
|
||||
.video-preview-heading,
|
||||
.page-hero-content--row { align-items: flex-start; flex-direction: column; }
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.video-panel--styled {
|
||||
padding: 1.25rem 1rem 1rem;
|
||||
|
||||
Reference in New Issue
Block a user