Création et implémentation d'une snackbar

This commit is contained in:
Alexel 2023-08-18 16:24:44 -04:00
parent 966dc49a9e
commit d63746fb4c
7 changed files with 71 additions and 1 deletions

View file

@ -15,6 +15,7 @@ img {
body {
margin: 0;
padding-top: 60px;
height: 100%;
}
ul {

42
public/css/snackbar.css Normal file
View file

@ -0,0 +1,42 @@
.snackbar {
position: fixed;
bottom: 0;
background-color: #FF563C;
color: #fff;
width: 100%;
padding: 5px 0;
}
.snackbar-is-closed {
display: none;
}
.snackbarWrapper {
display: flex;
flex-flow: row;
align-items: center;
justify-content: space-between;
line-height: 100%;
}
span {
margin: 10px 10px 10px 0;
font-size: 0.75rem;
/*12px*/
font-family: 'Poppins';
font-weight: 600;
/*semi-bold*/
}
@media screen and (min-width: 375px) {
span {
font-size: 1rem;
/*16px*/
}
}
.snackbarFermer {
height: 30px;
width: 30px;
cursor: pointer;
}