Damien Broqua
23c58459af
Issues : * [x] Pouvoir partager sa collection #1 * [x] Exporter sa collection #2 * [x] Pouvoir visualiser le détail d'un album #3 * [x] Pouvoir visualiser les médias d'un album #5 * [x] Avoir un titre distinct par page #29 * [x] Avoir des statistiques avec Matomo #30 * [x] Avoir un logo pour les pages d'erreurs #32 Co-authored-by: dbroqua <contact@darkou.fr> Reviewed-on: #26
92 lines
No EOL
1.8 KiB
SCSS
92 lines
No EOL
1.8 KiB
SCSS
#toastr {
|
|
visibility: hidden;
|
|
min-width: 250px;
|
|
max-width: 360px;
|
|
position: fixed;
|
|
z-index: 31;
|
|
right: 30px;
|
|
top: 30px;
|
|
font-size: 17px;
|
|
|
|
padding: 1.25rem 2.5rem 1.25rem 1.5rem;
|
|
background-color: $danger-color;
|
|
color: $button-alternate-color;
|
|
border-radius: 6px;
|
|
|
|
&.success {
|
|
background-color: $success-color;
|
|
color: $button-font-color;
|
|
}
|
|
|
|
&.show {
|
|
visibility: visible;
|
|
animation: toastrFadein 0.5s, toastrFadeout 0.5s 2.5s;
|
|
}
|
|
|
|
button {
|
|
width: 20px;
|
|
font-size: 0;
|
|
height: 20px;
|
|
max-height: 20px;
|
|
max-width: 20px;
|
|
min-height: 20px;
|
|
min-width: 20px;
|
|
outline: 0;
|
|
border: none;
|
|
border-radius: 9999px;
|
|
cursor: pointer;
|
|
pointer-events: auto;
|
|
display: inline-block;
|
|
user-select: none;
|
|
right: .5rem;
|
|
position: absolute;
|
|
top: .5rem;
|
|
background-color: rgba(10, 10, 10, 0.2);
|
|
|
|
&:hover {
|
|
background-color: rgba(10,10,10,.3);
|
|
}
|
|
|
|
&::before,
|
|
&::after {
|
|
background-color: var(--default-color);
|
|
content: "";
|
|
display: block;
|
|
left: 50%;
|
|
position: absolute;
|
|
top: 50%;
|
|
transform: translateX(-50%) translateY(-50%) rotate(45deg);
|
|
transform-origin: center center;
|
|
}
|
|
&::before {
|
|
height: 2px;
|
|
width: 50%;
|
|
}
|
|
&::after {
|
|
height: 50%;
|
|
width: 2px;
|
|
}
|
|
}
|
|
}
|
|
|
|
@keyframes toastrFadein {
|
|
from {
|
|
top: 0;
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
top: 30px;
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes toastrFadeout {
|
|
from {
|
|
top: 30px;
|
|
opacity: 1;
|
|
}
|
|
to {
|
|
top: 0;
|
|
opacity: 0;
|
|
}
|
|
} |