nuage de tags sur la liste, suppression dropdown navbar, rôles/droits sur le profil

This commit is contained in:
Cedric Abonnel
2026-05-12 20:07:33 +02:00
parent 1d2e3d9a24
commit 6e438835f8
3470 changed files with 97124 additions and 109 deletions
+124 -51
View File
@@ -75,26 +75,33 @@ body {
/* ─── Navbar ────────────────────────────── */
.navbar {
background-color: var(--vl-surface) !important;
border-bottom: 1px solid var(--vl-border);
box-shadow: var(--vl-shadow-sm);
padding: 0.75rem 1rem;
background: linear-gradient(135deg, #312e81 0%, #4f46e5 55%, #7c3aed 100%) !important;
border-bottom: none;
box-shadow: 0 2px 24px rgba(79,70,229,.35);
padding: 0.65rem 1.5rem;
}
.navbar-brand {
font-weight: 700;
font-size: 1.15rem;
color: var(--vl-text) !important;
letter-spacing: -0.3px;
transition: color 0.15s;
font-weight: 800;
font-size: 1.25rem;
color: #fff !important;
letter-spacing: -0.5px;
transition: opacity 0.15s;
text-decoration: none !important;
}
.navbar-brand:hover {
color: var(--vl-accent) !important;
opacity: 0.85;
}
/* Caret du dropdown sur fond coloré */
.navbar-brand.dropdown-toggle::after {
border-top-color: rgba(255,255,255,.7);
vertical-align: .2em;
}
.nav-link {
color: var(--vl-muted) !important;
color: rgba(255,255,255,.85) !important;
font-weight: 500;
font-size: 0.9rem;
padding: 0.4rem 0.75rem !important;
@@ -102,35 +109,49 @@ body {
transition: color 0.15s, background 0.15s;
}
.nav-link:hover {
color: var(--vl-accent) !important;
background-color: var(--vl-accent-soft);
.nav-link:hover,
.nav-link:focus {
color: #fff !important;
background-color: rgba(255,255,255,.15);
}
.navbar-toggler {
border-color: var(--vl-border);
border-color: rgba(255,255,255,.35);
}
.navbar-toggler-icon {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2830%2C41%2C59%2C0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C255%2C255%2C0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* Dropdown catégories */
.navbar .dropdown-menu {
border: none;
border-radius: 0.75rem;
box-shadow: 0 8px 32px rgba(0,0,0,.18);
padding: 0.5rem;
min-width: 180px;
}
.navbar .dropdown-item {
border-radius: 0.5rem;
font-size: 0.9rem;
font-weight: 500;
color: var(--vl-text);
padding: 0.4rem 0.75rem;
transition: background 0.12s, color 0.12s;
}
.navbar .dropdown-item:hover {
background-color: var(--vl-accent-soft);
color: var(--vl-accent);
}
.navbar .dropdown-item.active {
background-color: var(--vl-accent);
color: #fff;
}
/* ─── Category nav in navbar ─────────────── */
.navbar-cats {
gap: 0.15rem;
}
.nav-cat {
font-size: 0.8rem !important;
padding: 0.25rem 0.6rem !important;
border-radius: 2rem !important;
white-space: nowrap;
}
.nav-cat.active {
background-color: var(--vl-accent) !important;
color: #fff !important;
}
/* ─── Main ───────────────────────────────── */
main.container,
@@ -840,10 +861,9 @@ footer {
.navbar-tagline {
font-size: 0.68rem;
font-weight: 400;
color: var(--vl-muted);
color: rgba(255,255,255,.6);
letter-spacing: 0;
margin-top: 2px;
opacity: 0.85;
}
/* ─── Liste éditoriale ───────────────────── */
@@ -966,12 +986,17 @@ footer {
font-size: 0.875rem;
}
/* ─── Footer 2 colonnes ──────────────────── */
/* ─── Footer ──────────────────────────────── */
footer {
border-top: 1px solid var(--vl-border);
background-color: var(--vl-surface);
background: linear-gradient(135deg, #312e81 0%, #4f46e5 55%, #7c3aed 100%);
border-top: none;
box-shadow: 0 -2px 24px rgba(79,70,229,.25);
color: rgba(255,255,255,.85);
}
footer.py-5 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
footer.mt-5 { margin-top: 0 !important; }
.footer-inner {
display: flex;
justify-content: space-between;
@@ -980,9 +1005,9 @@ footer {
}
.footer-about strong {
font-size: 0.9rem;
font-weight: 700;
color: var(--vl-text);
font-size: 1rem;
font-weight: 800;
color: #fff;
display: block;
margin-bottom: 0.4rem;
letter-spacing: -0.2px;
@@ -990,25 +1015,25 @@ footer {
.footer-about p {
font-size: 0.82rem;
color: var(--vl-muted);
color: rgba(255,255,255,.75);
margin: 0 0 0.5rem;
line-height: 1.55;
}
.footer-about small {
font-size: 0.78rem;
color: var(--vl-muted);
color: rgba(255,255,255,.6);
}
.footer-about small a {
color: var(--vl-muted);
color: rgba(255,255,255,.7);
text-decoration: underline;
text-decoration-color: var(--vl-border);
text-decoration-color: rgba(255,255,255,.3);
transition: color 0.15s;
}
.footer-about small a:hover {
color: var(--vl-accent);
color: #fff;
}
.footer-nav {
@@ -1021,13 +1046,13 @@ footer {
.footer-nav a {
font-size: 0.85rem;
color: var(--vl-muted);
color: rgba(255,255,255,.75);
text-decoration: none;
transition: color 0.15s;
}
.footer-nav a:hover {
color: var(--vl-accent);
color: #fff;
}
@media (max-width: 576px) {
@@ -1083,15 +1108,23 @@ footer {
.search-input {
width: 160px;
transition: width .2s;
background: var(--vl-surface);
border-color: var(--vl-border);
color: var(--vl-text);
transition: width .2s, background .15s;
background: rgba(255,255,255,.15);
border-color: rgba(255,255,255,.25);
border-radius: 0.5rem;
color: #fff;
}
.search-input::placeholder {
color: rgba(255,255,255,.5);
}
.search-input:focus {
width: 220px;
box-shadow: 0 0 0 2px rgba(var(--vl-accent-rgb, 59,130,246), .25);
background: rgba(255,255,255,.22);
border-color: rgba(255,255,255,.5);
box-shadow: 0 0 0 2px rgba(255,255,255,.15);
color: #fff;
}
@media (max-width: 991px) {
@@ -1157,3 +1190,43 @@ footer {
border-radius: 2px;
padding: 0 2px;
}
/* ── Tag cloud ────────────────────────────────────────────────── */
.tag-cloud {
display: flex;
flex-wrap: wrap;
gap: .4rem .7rem;
align-items: baseline;
padding: 1rem 0;
border-top: 1px solid var(--vl-border, #e5e7eb);
}
.tag-cloud-item {
color: var(--vl-muted);
text-decoration: none;
transition: color .15s;
white-space: nowrap;
}
.tag-cloud-item:hover,
.tag-cloud-item.active {
color: var(--vl-accent);
}
.tag-cloud-item.active {
font-weight: 600;
}
.tag-count {
font-size: .65em;
opacity: .6;
}
.tag-cloud-reset {
margin-left: auto;
font-size: .85em;
color: var(--vl-muted);
text-decoration: none;
}
.tag-cloud-reset:hover { color: var(--vl-accent); }