97 lines
1.7 KiB
SCSS
97 lines
1.7 KiB
SCSS
@import "@Themes/constants.scss";
|
|
|
|
@keyframes slide-left {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(120%);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translate(0%);
|
|
}
|
|
}
|
|
|
|
@keyframes slide-right {
|
|
from {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
to {
|
|
opacity: 0;
|
|
transform: translate(120%);
|
|
}
|
|
}
|
|
|
|
.root {
|
|
pointer-events: all;
|
|
position: relative;
|
|
padding: 24px;
|
|
background: $orange-soft;
|
|
box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.11);
|
|
border-radius: 5px;
|
|
|
|
animation-name: slide-left;
|
|
animation-duration: 400ms;
|
|
animation-timing-function: $custom-easing;
|
|
animation-fill-mode: forwards;
|
|
|
|
&[data-will-close="true"] {
|
|
animation-duration: 200ms;
|
|
animation-name: slide-right;
|
|
animation-timing-function: $custom-easing;
|
|
animation-fill-mode: forwards;
|
|
}
|
|
|
|
.loadbar {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
height: 2px;
|
|
background: var(--color-neutral-500);
|
|
border-radius: 5px;
|
|
transform-origin: right;
|
|
transform: scaleX(0);
|
|
animation: loadbar-animation var(--data-duration) linear;
|
|
}
|
|
|
|
.header {
|
|
font-family: var(--font-primary);
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
color: var(--color-neutral-900);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
|
|
.cross {
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.text-icon_row {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
p {
|
|
padding-left: 14px;
|
|
width: 150%;
|
|
}
|
|
}
|
|
|
|
.text-container {
|
|
font-family: var(--font-primary);
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
color: var(--color-neutral-500);
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
}
|
|
}
|