1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00
vault-frontend/src/components/main/Notifications/styles.scss
2019-11-13 16:29:03 +07:00

49 lines
573 B
SCSS

@keyframes ring {
0% {
transform: rotate(-10deg);
}
20% {
transform: rotate(10deg);
}
40% {
transform: rotate(-10deg);
}
100% {
transform: rotate(0);
}
}
.wrap {
fill: white;
position: relative;
outline: none;
color: white;
word-wrap: initial;
white-space: initial;
&.active {
.icon {
opacity: 1;
}
}
&.is_new {
.icon {
animation: ring 1s infinite alternate;
opacity: 1;
svg {
fill: $red;
}
}
}
}
.icon {
outline: none;
cursor: pointer;
opacity: 0.5;
}