.is-active type media

This commit is contained in:
2025-05-28 23:42:11 +02:00
parent 3be94f76df
commit ca49778787
4 changed files with 99 additions and 8 deletions
@@ -158,6 +158,14 @@
padding-bottom: 1rem;
}
}
button.is-active {
background-color: $blue-dark;
color: white;
a {
color: white;
}
}
button{
background-color: transparent;
// border-radius: 30px;
@@ -170,6 +178,7 @@
background-color: $blue-dark;
color: white;
}
a {
color: $blue-dark;
display: inline-flex;
@@ -190,9 +199,11 @@
content:url("../images/pictos/videos.svg");
padding-right: 0.5rem;
}
&:hover::before{
&:hover::before,
.is-active &::before{
content:url("../images/pictos/videos-blanc.svg");
}
}
}
&.button-podcasts{
@@ -250,6 +261,55 @@
}
}
}
}
button.is-active{
&.button-videos{
margin-top: 1rem;
a {
&::before,
.is-active &::before{
content:url("../images/pictos/videos-blanc.svg");
}
}
}
&.button-podcasts{
a {
&::before{
content:url("../images/pictos/podcasts-blanc.svg");
}
}
}
&.button-reportage-photos{
a {
&::before{
content:url("../images/pictos/en-images-blanc.svg");
}
}
}
&.button-livres{
a {
&::before{
content:url("../images/pictos/ecrits-blanc.svg");
}
}
}
&.button-articles{
a {
&::before{
content:url("../images/pictos/ecrits-blanc.svg");
}
}
}
&.button-publications---rapports{
a {
&::before{
content:url("../images/pictos/ecrits-blanc.svg");
}
}
}
}
}
form{