Actualiser css/public.css

This commit is contained in:
2026-06-21 13:40:50 +02:00
parent 26b4d0cea3
commit b4ec3d0802
+13 -14
View File
@@ -272,7 +272,8 @@ body {
} }
.rating-filter-btn:not(.active):hover .rf-star:not(.filled) { .rating-filter-btn:not(.active):hover .rf-star:not(.filled) {
color: rgba(255, 215, 0, 0.35); color: rgba(255, 215, 0, 0.6);
text-shadow: 0 0 8px rgba(255, 215, 0, 0.15);
} }
.rating-filter-btn.active .rf-star.filled { .rating-filter-btn.active .rf-star.filled {
@@ -281,7 +282,7 @@ body {
} }
.rating-filter-btn.active .rf-star:not(.filled) { .rating-filter-btn.active .rf-star:not(.filled) {
color: #555560; color: #7a7a88;
text-shadow: none; text-shadow: none;
} }
@@ -953,6 +954,12 @@ footer {
} }
.rf-star { .rf-star {
font-size: 0.85rem; font-size: 0.85rem;
/* Gris argenté lumineux pour bien contraster avec le fond sombre */
color: #9ca3af;
transition: color 0.2s ease, text-shadow 0.2s ease;
line-height: 1;
/* Très léger halo pour un effet "pellicule" et une meilleure lisibilité */
text-shadow: 0 0 4px rgba(255, 255, 255, 0.08);
} }
.rating-filter-btn { .rating-filter-btn {
padding: 0.45rem 0.7rem; padding: 0.45rem 0.7rem;
@@ -1132,7 +1139,7 @@ footer {
} }
} }
card-video-footer { .card-video-footer {
flex-direction: column; flex-direction: column;
align-items: flex-start; align-items: flex-start;
gap: 0.3rem; gap: 0.3rem;
@@ -1157,14 +1164,12 @@ card-video-footer {
margin-bottom: 2.5rem; margin-bottom: 2.5rem;
flex-wrap: wrap; flex-wrap: wrap;
} }
.pub-search-box { .pub-search-box {
position: relative; position: relative;
flex: 1; flex: 1;
max-width: 480px; max-width: 480px;
min-width: 250px; min-width: 250px;
} }
.pub-search-box input { .pub-search-box input {
width: 100%; width: 100%;
padding: 0.85rem 1.2rem 0.85rem 3rem; padding: 0.85rem 1.2rem 0.85rem 3rem;
@@ -1176,18 +1181,15 @@ card-video-footer {
font-size: 0.95rem; font-size: 0.95rem;
transition: all 0.25s; transition: all 0.25s;
} }
.pub-search-box input:focus { .pub-search-box input:focus {
outline: none; outline: none;
border-color: var(--gold); border-color: var(--gold);
box-shadow: 0 0 0 3px var(--gold-dim); box-shadow: 0 0 0 3px var(--gold-dim);
background: var(--surface-card); background: var(--surface-card);
} }
.pub-search-box input::placeholder { .pub-search-box input::placeholder {
color: var(--muted); color: var(--muted);
} }
.pub-search-box i { .pub-search-box i {
position: absolute; position: absolute;
left: 1.2rem; left: 1.2rem;
@@ -1195,7 +1197,7 @@ card-video-footer {
transform: translateY(-50%); transform: translateY(-50%);
color: var(--muted); color: var(--muted);
font-size: 1.2rem; font-size: 1.2rem;
pointer-events: none; /* Empêche l'icône de bloquer le clic */ pointer-events: none;
} }
/* Menu déroulant Streaming */ /* Menu déroulant Streaming */
@@ -1209,28 +1211,25 @@ card-video-footer {
font-size: 0.95rem; font-size: 0.95rem;
cursor: pointer; cursor: pointer;
transition: all 0.25s; transition: all 0.25s;
appearance: none; /* Supprime le style par défaut du navigateur */ appearance: none;
-webkit-appearance: none; -webkit-appearance: none;
/* Flèche personnalisée dorée */
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C9A84C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C9A84C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: right 1rem center; background-position: right 1rem center;
min-width: 220px; min-width: 220px;
} }
.pub-streaming-select:focus { .pub-streaming-select:focus {
outline: none; outline: none;
border-color: var(--gold); border-color: var(--gold);
box-shadow: 0 0 0 3px var(--gold-dim); box-shadow: 0 0 0 3px var(--gold-dim);
} }
/* Style des options dans le menu déroulant (thème sombre) */
.pub-streaming-select option { .pub-streaming-select option {
background: var(--surface-card); background: var(--surface-card);
color: var(--text); color: var(--text);
padding: 0.5rem; padding: 0.5rem;
} }
/* ═════════════════════════════════════════════════════════════ /* ═════════════════════════════════════════════════════════════
RESPONSIVE MOBILE RESPONSIVE MOBILE
═══════════════════════════════════════════════════════════════ */ ═══════════════════════════════════════════════════════════════ */