Skip to content

Instantly share code, notes, and snippets.

@hachichaud
Created April 9, 2020 12:07
Show Gist options
  • Save hachichaud/b51943071a884e10f530317fd3f5c7d1 to your computer and use it in GitHub Desktop.
Save hachichaud/b51943071a884e10f530317fd3f5c7d1 to your computer and use it in GitHub Desktop.
How to migrate the custom css of the tutorial
/*
Ce qui était avant:
*/
.tutorial-swiper__button-start {
color: #4E3A63; // main color
position: relative;
transition: all .5s;
&::after {
content: "I AGREE"; // le texte qui vient remplacer la valeur par défaut
color: white;
left: 28px;
position: absolute;
}
&:hover {
color: #60919f; // secondary color, au survol
}
.fa {
color: white;
}
}
/*
doit devenir:
*/
.small-app-tutorial__start-button {
background-color: #4E3A63; // main color
color: #4E3A63; // main color
position: relative;
transition: all .5s;
&::after {
content: "I AGREE";
color: white;
left: 28px;
position: absolute;
}
&:hover {
color: #60919f;
background-color: #60919f;
}
.fa {
color: white;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment