You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
905 B
SCSS
50 lines
905 B
SCSS
4 years ago
|
@import "../css/variables.module";
|
||
4 years ago
|
|
||
|
.excalidraw {
|
||
|
.Toast {
|
||
3 years ago
|
$closeButtonSize: 1.2rem;
|
||
|
$closeButtonPadding: 0.4rem;
|
||
|
|
||
4 years ago
|
animation: fade-in 0.5s;
|
||
|
background-color: var(--button-gray-1);
|
||
|
border-radius: 4px;
|
||
|
bottom: 10px;
|
||
|
box-sizing: border-box;
|
||
|
cursor: default;
|
||
|
left: 50%;
|
||
|
margin-left: -150px;
|
||
|
padding: 4px 0;
|
||
4 years ago
|
position: absolute;
|
||
4 years ago
|
text-align: center;
|
||
|
width: 300px;
|
||
|
z-index: 999999;
|
||
|
|
||
3 years ago
|
.Toast__message {
|
||
|
padding: 0 $closeButtonSize + ($closeButtonPadding);
|
||
|
color: var(--popup-text-color);
|
||
|
white-space: pre-wrap;
|
||
|
}
|
||
|
|
||
|
.close {
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
right: 0;
|
||
|
padding: $closeButtonPadding;
|
||
|
|
||
|
.ToolIcon__icon {
|
||
|
width: $closeButtonSize;
|
||
|
height: $closeButtonSize;
|
||
|
}
|
||
|
}
|
||
4 years ago
|
}
|
||
|
|
||
|
@keyframes fade-in {
|
||
|
from {
|
||
|
opacity: 0;
|
||
|
}
|
||
|
to {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
}
|
||
|
}
|