Show cross to active Locations continent and change buttons behaviours

Active filtered continent stays pink instead of using opacity on the other ones
This commit is contained in:
2022-07-11 21:40:25 +02:00
parent ae4ea7f4fa
commit 310f7e5a44
4 changed files with 74 additions and 19 deletions

View File

@@ -21,7 +21,6 @@
// Icon
:global(img), :global(svg) {
display: block;
margin-right: 12px;
color: $color-gray;
transition: color 0.3s;
}
@@ -135,4 +134,19 @@
background: darken($color-button, 2.5);
}
}
/*
** Icons variants
*/
&.has-icon-before {
:global(img), :global(svg) {
margin-right: 12px;
}
}
&.has-icon-after {
:global(img), :global(svg) {
margin-left: 12px;
}
}
}