Dropdown axe thématique : surbrillance de l'axe réellement actif + hover
Le premier item du popover était grisé en dur (`:first-of-type`), donc affiché comme actif quel que soit l'axe courant. La classe `is-active` est désormais posée en Twig sur l'axe actif (ou sur « Tous les axes » hors mode taxonomie), et le style suit cette classe. Ajout d'un hover en `background-image` (calque translucide) plutôt qu'en `background-color`, pour un assombrissement identique sur les lignes blanches et grises du zébrage. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WQLwtNFa1LNaN7QTAbYkZx
This commit is contained in:
+4
-1
@@ -248,9 +248,12 @@
|
||||
&:nth-of-type(odd) {
|
||||
background-color: white;
|
||||
}
|
||||
&:first-of-type {
|
||||
&.is-active {
|
||||
background-color: $less-light-gray;
|
||||
}
|
||||
&:hover {
|
||||
background-image: linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05));
|
||||
}
|
||||
&.dd-axe-group-label {
|
||||
font-size: 0.72rem;
|
||||
font-weight: 600;
|
||||
|
||||
Reference in New Issue
Block a user