2024-07-22 13:57:04 +00:00
|
|
|
.bottomSheet {
|
2024-09-25 11:30:05 +00:00
|
|
|
composes: surface from "./material.module.css";
|
|
|
|
composes: cardGutSkip from "./cards.module.css";
|
|
|
|
composes: cardNoPad from "./cards.module.css";
|
2024-07-22 13:57:04 +00:00
|
|
|
border: none;
|
2024-10-30 05:07:55 +00:00
|
|
|
position: fixed;
|
2024-07-22 13:57:04 +00:00
|
|
|
left: 50%;
|
|
|
|
top: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
padding: 0;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 560px;
|
|
|
|
border-radius: 2px;
|
2024-09-27 10:10:23 +00:00
|
|
|
overscroll-behavior: none;
|
2024-08-22 08:50:12 +00:00
|
|
|
max-height: 100vh;
|
|
|
|
max-height: 100dvh;
|
2024-10-30 05:07:55 +00:00
|
|
|
height: 95%;
|
|
|
|
contain: strict;
|
|
|
|
contain-intrinsic-size: 100% 95%;
|
2024-07-22 13:57:04 +00:00
|
|
|
|
2024-10-30 05:07:55 +00:00
|
|
|
|
2024-10-31 13:50:36 +00:00
|
|
|
&::backdrop {
|
|
|
|
background: none;
|
2024-08-12 13:55:26 +00:00
|
|
|
}
|
|
|
|
|
2024-07-22 13:57:04 +00:00
|
|
|
box-shadow: var(--tutu-shadow-e16);
|
|
|
|
|
2024-10-18 11:15:35 +00:00
|
|
|
:global(.MuiToolbar-root) {
|
|
|
|
> :global(.MuiButtonBase-root) {
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-left: -0.5em;
|
|
|
|
margin-right: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-right: -0.5em;
|
|
|
|
margin-left: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2024-07-22 13:57:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 560px) {
|
|
|
|
& {
|
|
|
|
left: 0;
|
2024-08-05 11:05:39 +00:00
|
|
|
top: 0;
|
2024-07-22 13:57:04 +00:00
|
|
|
transform: none;
|
|
|
|
bottom: 0;
|
|
|
|
height: 100vh;
|
|
|
|
height: 100dvh;
|
2024-10-30 05:07:55 +00:00
|
|
|
|
|
|
|
contain-intrinsic-size: 100% 100vh;
|
|
|
|
contain-intrinsic-size: 100% 100dvh;
|
2024-07-22 13:57:04 +00:00
|
|
|
}
|
|
|
|
}
|
2024-08-12 09:25:03 +00:00
|
|
|
|
|
|
|
&.animated {
|
|
|
|
position: absolute;
|
2024-09-27 10:04:09 +00:00
|
|
|
overflow: hidden;
|
|
|
|
will-change: width, height, top, left;
|
2024-08-22 08:50:12 +00:00
|
|
|
|
2024-09-27 10:04:09 +00:00
|
|
|
& * {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2024-08-12 09:25:03 +00:00
|
|
|
}
|
2024-09-25 11:30:05 +00:00
|
|
|
|
|
|
|
&.bottom {
|
|
|
|
top: unset;
|
|
|
|
transform: translateX(-50%);
|
|
|
|
bottom: 0;
|
2024-10-30 05:07:55 +00:00
|
|
|
content: content;
|
|
|
|
height: unset;
|
|
|
|
contain: content;
|
|
|
|
contain-intrinsic-size: unset;
|
2024-09-28 14:38:44 +00:00
|
|
|
|
|
|
|
@media (max-width: 560px) {
|
|
|
|
& {
|
|
|
|
transform: none;
|
|
|
|
height: unset;
|
|
|
|
}
|
|
|
|
}
|
2024-09-25 11:30:05 +00:00
|
|
|
}
|
2024-08-05 07:33:00 +00:00
|
|
|
}
|