CinePlex/css/history.css

127 lines
2.4 KiB
CSS
Raw Normal View History

2025-07-02 14:16:25 +02:00
#history-section .section-header {
align-items: center;
}
#history-section .btn-danger.btn-sm {
padding: 0.4rem 1rem;
font-size: 0.8rem;
font-weight: 500;
}
#history-list {
display: flex;
flex-direction: column;
gap: 1rem;
}
.history-item {
display: flex;
align-items: center;
gap: 1.5rem;
padding: 1rem;
background: var(--card-bg);
border: 1px solid var(--glass-border);
border-radius: var(--border-radius-md);
transition: var(--transition);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.history-item:hover {
background: rgba(0, 224, 255, 0.08);
transform: translateX(8px);
border-color: var(--accent);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.history-poster {
width: 60px;
height: 90px;
object-fit: cover;
border-radius: var(--border-radius-sm);
flex-shrink: 0;
cursor: pointer;
}
.history-info {
flex: 1;
min-width: 0;
cursor: pointer;
}
.history-title-wrapper {
display: flex;
align-items: center;
gap: 0.75rem;
margin-bottom: 0.3rem;
}
.history-title {
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: var(--text-primary);
flex-grow: 1;
}
.badge.local-badge-history {
background-color: var(--success);
color: var(--primary);
font-size: 0.7rem;
padding: 0.25rem 0.6rem;
border-radius: 20px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
flex-shrink: 0;
}
.history-meta {
font-size: 0.85rem;
color: var(--text-secondary);
}
.history-actions {
display: flex;
gap: 0.5rem;
align-items: center;
}
.history-actions .action-btn {
width: 36px;
height: 36px;
font-size: 0.9rem;
background: var(--glass);
border: 1px solid transparent;
}
.history-actions .action-btn:hover {
border-color: transparent;
}
.history-actions .delete-btn:hover {
background: var(--danger);
}
@media (max-width: 576px) {
.history-item {
flex-direction: column;
align-items: flex-start;
gap: 1rem;
}
.history-main-content {
display: flex;
gap: 1rem;
width: 100%;
}
.history-actions {
width: 100%;
justify-content: space-around;
padding-top: 1rem;
border-top: 1px solid var(--glass-border);
}
}