508 lines
10 KiB
CSS
508 lines
10 KiB
CSS
.container {
|
|
max-width: 1600px;
|
|
margin: 0 auto;
|
|
padding: 3rem;
|
|
}
|
|
|
|
.header-section {
|
|
margin-bottom: 3rem;
|
|
margin-top: 3rem;
|
|
}
|
|
|
|
.page-title {
|
|
font-size: 3rem;
|
|
font-weight: 900;
|
|
margin-bottom: 2rem;
|
|
background: linear-gradient(135deg, var(--color-primary), #a78bfa);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.stats-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.stat-card {
|
|
background: var(--color-bg-elevated);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: var(--radius-lg);
|
|
padding: 1.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
transition:
|
|
transform 0.3s,
|
|
box-shadow 0.3s;
|
|
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.stat-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 15px 35px var(--color-primary-glow);
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 2.5rem;
|
|
font-weight: 900;
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 0.9rem;
|
|
color: var(--color-text-secondary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.filters-section {
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
margin-bottom: 2rem;
|
|
padding: 1.5rem;
|
|
background: var(--color-bg-elevated);
|
|
border-radius: var(--radius-md);
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
flex-wrap: wrap;
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.filter-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
flex: 1;
|
|
min-width: 150px;
|
|
}
|
|
|
|
.filter-group label {
|
|
font-size: 0.8rem;
|
|
font-weight: 700;
|
|
color: var(--color-text-secondary);
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.filter-select {
|
|
background: var(--color-bg-base);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
color: var(--color-text-primary);
|
|
padding: 0.7rem 1rem;
|
|
border-radius: 8px;
|
|
font-family: inherit;
|
|
cursor: pointer;
|
|
transition: 0.2s;
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23a1a1aa'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
|
|
background-repeat: no-repeat;
|
|
background-position: right 0.7rem center;
|
|
background-size: 1.2em;
|
|
padding-right: 2.5rem;
|
|
}
|
|
|
|
.filter-select:hover {
|
|
border-color: var(--color-primary);
|
|
}
|
|
|
|
.filter-select:focus {
|
|
outline: none;
|
|
border-color: var(--color-primary);
|
|
box-shadow: 0 0 10px var(--color-primary-glow);
|
|
}
|
|
|
|
.view-toggle {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.view-btn {
|
|
background: var(--color-bg-base);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
color: var(--color-text-secondary);
|
|
padding: 0.7rem;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
transition: 0.2s;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.view-btn:hover {
|
|
border-color: var(--color-primary);
|
|
color: white;
|
|
}
|
|
|
|
.view-btn.active {
|
|
background: var(--color-primary);
|
|
border-color: var(--color-primary);
|
|
color: white;
|
|
}
|
|
|
|
.loading-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 5rem 0;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.spinner {
|
|
width: 50px;
|
|
height: 50px;
|
|
border: 4px solid rgba(139, 92, 246, 0.1);
|
|
border-top-color: var(--color-primary);
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.empty-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 5rem 0;
|
|
gap: 1.5rem;
|
|
color: var(--color-text-secondary);
|
|
}
|
|
|
|
.empty-state svg {
|
|
opacity: 0.3;
|
|
}
|
|
|
|
.empty-state h2 {
|
|
font-size: 1.8rem;
|
|
color: var(--color-text-primary);
|
|
}
|
|
|
|
.list-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
|
|
gap: 2rem;
|
|
}
|
|
|
|
.list-grid.list-view {
|
|
grid-template-columns: 1fr;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.list-item {
|
|
background: var(--color-bg-elevated-hover);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: var(--radius-md);
|
|
overflow: hidden;
|
|
transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.list-item:hover {
|
|
transform: translateY(-8px);
|
|
border-color: var(--color-primary);
|
|
box-shadow: 0 15px 30px var(--color-primary-glow);
|
|
}
|
|
|
|
.list-grid.list-view .list-item {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
padding-right: 1rem;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.list-grid.list-view .list-item:hover {
|
|
transform: none;
|
|
box-shadow: 0 4px 20px var(--color-primary-glow);
|
|
}
|
|
|
|
.item-poster-link {
|
|
display: block;
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.item-poster {
|
|
width: 100%;
|
|
aspect-ratio: 2/3;
|
|
object-fit: cover;
|
|
background: #222;
|
|
}
|
|
|
|
.list-grid.list-view .item-poster {
|
|
width: 120px;
|
|
height: 180px;
|
|
aspect-ratio: auto;
|
|
border-radius: 8px;
|
|
margin: 1rem;
|
|
}
|
|
|
|
.item-content {
|
|
padding: 1rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-grow: 1;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.list-grid.list-view .item-content {
|
|
padding: 1rem 0;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
.list-grid.list-view .item-content > div:first-child {
|
|
flex-basis: 75%;
|
|
}
|
|
|
|
.item-title {
|
|
font-size: 1rem;
|
|
font-weight: 800;
|
|
margin-bottom: 0.5rem;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
color: white;
|
|
}
|
|
|
|
.list-grid.list-view .item-title {
|
|
font-size: 1.3rem;
|
|
white-space: normal;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
max-width: 400px;
|
|
}
|
|
|
|
.item-meta {
|
|
display: flex;
|
|
gap: 0.3rem;
|
|
margin-bottom: 0.5rem;
|
|
flex-wrap: wrap;
|
|
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.meta-pill {
|
|
font-size: 0.65rem;
|
|
padding: 0.15rem 0.4rem;
|
|
border-radius: 999px;
|
|
font-weight: 700;
|
|
white-space: nowrap;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.status-pill {
|
|
background: rgba(34, 197, 94, 0.2);
|
|
color: var(--color-success);
|
|
border: 1px solid rgba(34, 197, 94, 0.3);
|
|
}
|
|
|
|
.type-pill {
|
|
background: rgba(139, 92, 246, 0.15);
|
|
color: var(--color-primary);
|
|
border: 1px solid rgba(139, 92, 246, 0.3);
|
|
}
|
|
|
|
.source-pill {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: var(--color-text-primary);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.repeat-pill {
|
|
background: rgba(59, 130, 246, 0.15);
|
|
color: #3b82f6;
|
|
border: 1px solid rgba(59, 130, 246, 0.3);
|
|
text-transform: none;
|
|
}
|
|
.private-pill {
|
|
background: rgba(251, 191, 36, 0.15);
|
|
color: #facc15;
|
|
border: 1px solid rgba(251, 191, 36, 0.3);
|
|
text-transform: none;
|
|
}
|
|
|
|
.progress-bar-container {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-radius: 999px;
|
|
height: 10px;
|
|
overflow: hidden;
|
|
margin-bottom: 0.5rem;
|
|
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.progress-bar {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, var(--color-primary), #a78bfa);
|
|
border-radius: 999px;
|
|
transition: width 0.3s;
|
|
}
|
|
|
|
.progress-text {
|
|
font-size: 0.9rem;
|
|
color: var(--color-text-secondary);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.score-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.3rem;
|
|
font-weight: 700;
|
|
color: #facc15;
|
|
background: rgba(250, 204, 21, 0.1);
|
|
padding: 0.1rem 0.5rem;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.edit-icon-btn {
|
|
position: absolute;
|
|
top: 1rem;
|
|
right: 1rem;
|
|
z-index: 50;
|
|
background: rgba(18, 18, 21, 0.9);
|
|
backdrop-filter: blur(8px);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
color: white;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
transition:
|
|
opacity 0.3s,
|
|
transform 0.2s,
|
|
background 0.2s;
|
|
}
|
|
|
|
.list-item:hover .edit-icon-btn {
|
|
opacity: 1;
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.edit-icon-btn:hover {
|
|
background: var(--color-primary);
|
|
border-color: var(--color-primary);
|
|
}
|
|
|
|
.list-grid.list-view .edit-icon-btn {
|
|
position: relative;
|
|
top: auto;
|
|
right: auto;
|
|
margin-left: auto;
|
|
opacity: 1;
|
|
transform: none;
|
|
background: var(--color-bg-elevated);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
.list-grid.list-view .list-item:hover .edit-icon-btn {
|
|
opacity: 1;
|
|
background: var(--color-primary);
|
|
border-color: var(--color-primary);
|
|
transform: none;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.container {
|
|
padding: 1rem;
|
|
width: 100%;
|
|
}
|
|
|
|
.header-section {
|
|
margin-top: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.page-title {
|
|
font-size: 2rem;
|
|
text-align: center;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.stats-row {
|
|
grid-template-columns: 1fr;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.stat-card {
|
|
padding: 1rem;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 1.8rem;
|
|
order: 2;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 1rem;
|
|
order: 1;
|
|
}
|
|
|
|
.filters-section {
|
|
flex-direction: column;
|
|
padding: 1rem;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.filter-group {
|
|
min-width: 100%;
|
|
}
|
|
|
|
.filter-select {
|
|
width: 100%;
|
|
padding: 0.8rem;
|
|
}
|
|
|
|
.view-toggle {
|
|
width: 100%;
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
|
|
.view-btn {
|
|
justify-content: center;
|
|
}
|
|
|
|
.list-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
|
|
.item-title {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.item-meta {
|
|
gap: 0.2rem;
|
|
}
|
|
|
|
.meta-pill {
|
|
font-size: 0.6rem;
|
|
padding: 0.1rem 0.3rem;
|
|
}
|
|
|
|
.edit-icon-btn {
|
|
opacity: 1;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
width: 35px;
|
|
height: 35px;
|
|
}
|
|
}
|