Created
April 9, 2020 12:07
-
-
Save hachichaud/b51943071a884e10f530317fd3f5c7d1 to your computer and use it in GitHub Desktop.
How to migrate the custom css of the tutorial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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