favycon/components/favycon-error/index.module.scss
Rui Saraiva 785563a71c
feat: upgrade dependencies (#480)
* feat: upgrade dependencies

* chore: update linter and CI workflows

* chore: upgrade browserslist
2021-12-04 18:32:53 +00:00

53 lines
776 B
SCSS

@import '../../styles/variables.scss';
.error {
position: absolute;
top: 26px;
right: 72px;
z-index: 10;
display: flex;
align-items: center;
padding: 6px 13px 6px 16px;
background: $red;
border-radius: 8px;
box-shadow: 0 2px 4px rgba($black, 0.12);
@include breakpoint-md {
top: 13px;
right: 12px;
left: 12px;
justify-content: center;
max-width: 400px;
margin: auto;
}
.content {
@include breakpoint-md {
font-size: 14px;
}
}
svg {
margin-left: 13px;
}
}
.progress {
stroke-dasharray: 44 44;
stroke-dashoffset: 0;
stroke-width: 2px;
transform: rotate(-90deg);
transform-origin: center;
animation: progress 5s linear 0.3s forwards;
}
@keyframes progress {
0% {
stroke-dashoffset: 0;
}
100% {
stroke-dashoffset: 44;
}
}