Actualiser css/admin.css
This commit is contained in:
+140
@@ -446,4 +446,144 @@ input[type="checkbox"]:checked::after {
|
|||||||
.admin-table th, .admin-table td {
|
.admin-table th, .admin-table td {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
/* ══════════════════════════════════════════════════════════════
|
||||||
|
AMÉLIORATIONS UI (Recherche, Pagination, Lignes)
|
||||||
|
═══════════════════════════════════════════════════════════════ */
|
||||||
|
|
||||||
|
/* Barre de recherche */
|
||||||
|
.admin-filters {
|
||||||
|
display: flex;
|
||||||
|
gap: 1rem;
|
||||||
|
margin-bottom: 1.5rem;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.search-box {
|
||||||
|
position: relative;
|
||||||
|
flex: 1;
|
||||||
|
max-width: 350px;
|
||||||
|
}
|
||||||
|
.search-box input {
|
||||||
|
width: 100%;
|
||||||
|
padding: 0.75rem 1rem 0.75rem 2.8rem;
|
||||||
|
background: var(--surface-card);
|
||||||
|
border: 1px solid var(--border);
|
||||||
|
border-radius: 10px;
|
||||||
|
color: var(--text);
|
||||||
|
font-family: inherit;
|
||||||
|
font-size: 0.95rem;
|
||||||
|
transition: all 0.2s;
|
||||||
|
}
|
||||||
|
.search-box input:focus {
|
||||||
|
outline: none;
|
||||||
|
border-color: var(--gold);
|
||||||
|
box-shadow: 0 0 0 3px var(--gold-dim);
|
||||||
|
}
|
||||||
|
.search-box i {
|
||||||
|
position: absolute;
|
||||||
|
left: 1rem;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
color: var(--muted);
|
||||||
|
font-size: 1.1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Pagination */
|
||||||
|
.pagination {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.4rem;
|
||||||
|
margin-top: 2rem;
|
||||||
|
padding: 1rem 0;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
.pagination button {
|
||||||
|
background: var(--surface-card);
|
||||||
|
border: 1px solid var(--border);
|
||||||
|
color: var(--text-secondary);
|
||||||
|
min-width: 38px;
|
||||||
|
height: 38px;
|
||||||
|
border-radius: 8px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all 0.2s;
|
||||||
|
font-weight: 500;
|
||||||
|
font-size: 0.9rem;
|
||||||
|
}
|
||||||
|
.pagination button:hover:not(:disabled):not(.active) {
|
||||||
|
border-color: var(--gold);
|
||||||
|
color: var(--gold);
|
||||||
|
background: var(--gold-dim);
|
||||||
|
}
|
||||||
|
.pagination button.active {
|
||||||
|
background: var(--gold);
|
||||||
|
color: var(--background);
|
||||||
|
border-color: var(--gold);
|
||||||
|
font-weight: 600;
|
||||||
|
box-shadow: 0 4px 10px var(--gold-glow);
|
||||||
|
}
|
||||||
|
.pagination button:disabled {
|
||||||
|
opacity: 0.3;
|
||||||
|
cursor: not-allowed;
|
||||||
|
}
|
||||||
|
.pagination-info {
|
||||||
|
color: var(--muted);
|
||||||
|
font-size: 0.9rem;
|
||||||
|
margin: 0 1rem;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Amélioration des lignes du tableau */
|
||||||
|
.admin-table tbody tr {
|
||||||
|
transition: all 0.2s ease;
|
||||||
|
}
|
||||||
|
.admin-table tbody tr:hover {
|
||||||
|
background: var(--surface-hover);
|
||||||
|
}
|
||||||
|
.film-title-cell {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 0.2rem;
|
||||||
|
}
|
||||||
|
.film-title-cell strong {
|
||||||
|
font-size: 1rem;
|
||||||
|
color: var(--text);
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
|
.film-title-cell span {
|
||||||
|
font-size: 0.85rem;
|
||||||
|
color: var(--muted);
|
||||||
|
}
|
||||||
|
.info-cell {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 0.4rem;
|
||||||
|
}
|
||||||
|
.streaming-badge {
|
||||||
|
font-size: 0.75rem;
|
||||||
|
color: var(--gold);
|
||||||
|
background: var(--gold-dim);
|
||||||
|
padding: 0.25rem 0.7rem;
|
||||||
|
border-radius: 20px;
|
||||||
|
display: inline-block;
|
||||||
|
width: fit-content;
|
||||||
|
border: 1px solid rgba(212, 175, 55, 0.2);
|
||||||
|
font-weight: 500;
|
||||||
|
max-width: 160px;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
.physical-badge {
|
||||||
|
font-size: 0.75rem;
|
||||||
|
color: var(--muted);
|
||||||
|
background: var(--surface);
|
||||||
|
padding: 0.25rem 0.7rem;
|
||||||
|
border-radius: 20px;
|
||||||
|
display: inline-block;
|
||||||
|
width: fit-content;
|
||||||
|
border: 1px solid var(--border);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user