2021-01-13 19:12:22 +01:00
|
|
|
.Modal {
|
|
|
|
position: absolute;
|
|
|
|
top: 25px;
|
2021-01-22 13:24:08 +01:00
|
|
|
left: -240px;
|
2021-01-13 19:12:22 +01:00
|
|
|
z-index: 10;
|
|
|
|
background-color: rgb(var(--main-bg));
|
|
|
|
padding: 10px;
|
2021-01-15 02:12:42 +01:00
|
|
|
border-radius: 3px;
|
2021-01-22 13:24:08 +01:00
|
|
|
box-shadow: var(--elevation-4);
|
2021-01-13 19:12:22 +01:00
|
|
|
|
|
|
|
@media screen and (max-width: 430px) {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
|
2021-01-14 01:56:01 +01:00
|
|
|
@media not screen and (max-width: 430px) {
|
|
|
|
&.top {
|
|
|
|
top: auto;
|
|
|
|
bottom: 25px;
|
|
|
|
left: 25px;
|
|
|
|
}
|
2021-01-21 19:52:44 +01:00
|
|
|
&.bottom-right {
|
|
|
|
left: 0;
|
|
|
|
}
|
2021-01-14 01:56:01 +01:00
|
|
|
}
|
|
|
|
|
2021-01-13 19:12:22 +01:00
|
|
|
.hideOnWidescreen {
|
|
|
|
/* Hide controls (e.g. close button) on larger screens */
|
|
|
|
@media not screen and (max-width: 430px) {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
> .toolbar {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
height: 30px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|