Files
CT/src/View/Components/splitModal.css
T

67 lines
1.0 KiB
CSS
Raw Normal View History

2026-04-09 15:45:19 +00:00
.modal > div:has(.split-modal[extended]) {
2026-04-08 21:14:37 +00:00
max-width: 64rem;
}
2026-04-08 21:03:36 +00:00
.split-modal {
2026-04-01 08:29:39 +00:00
width: 100%;
height: 100%;
2024-07-21 17:55:53 +02:00
2026-04-01 08:29:39 +00:00
display: flex;
2024-07-21 17:55:53 +02:00
2026-04-01 08:29:39 +00:00
overflow-x: scroll;
overflow-y: hidden;
scroll-behavior: smooth;
scroll-snap-type: x mandatory;
2024-07-21 17:55:53 +02:00
}
2026-04-08 21:03:36 +00:00
.split-modal > div {
2026-04-01 08:29:39 +00:00
display: flex;
flex-direction: column;
2024-07-21 18:56:56 +02:00
2026-04-01 08:29:39 +00:00
width: 100%;
min-width: 100%;
flex: 0;
2024-07-21 17:55:53 +02:00
2026-04-01 08:29:39 +00:00
scroll-snap-align: center;
2024-07-21 18:56:56 +02:00
}
2026-04-08 21:03:36 +00:00
.split-modal .scroll-area {
2026-04-01 08:29:39 +00:00
flex: 1;
width: 100%;
overflow-y: auto;
2024-07-21 18:56:56 +02:00
2026-04-01 08:29:39 +00:00
padding: var(--content-padding);
2024-07-21 18:56:56 +02:00
}
2026-04-08 21:03:36 +00:00
.split-modal .detail-button-wrapper {
2026-04-01 08:29:39 +00:00
display: flex;
justify-content: end;
2024-07-21 17:55:53 +02:00
2026-04-01 08:29:39 +00:00
border-top: 1px solid var(--border);
padding: var(--content-padding);
2024-07-21 18:56:56 +02:00
}
2024-07-21 17:55:53 +02:00
2026-04-08 21:03:36 +00:00
.split-modal .detail-button-wrapper button {
2026-04-01 08:29:39 +00:00
max-width: 100%;
2024-07-21 17:55:53 +02:00
}
2026-04-08 21:03:36 +00:00
.split-modal code {
2026-04-01 08:29:39 +00:00
width: 100%;
height: 100%;
2024-07-21 19:44:10 +02:00
2026-04-01 08:29:39 +00:00
font-size: 0.9rem;
2024-07-21 17:55:53 +02:00
}
@media (min-width: 640px) {
2026-04-08 21:03:36 +00:00
.split-modal > div {
2026-04-01 08:29:39 +00:00
width: 50%;
min-width: 50%;
2024-07-21 17:55:53 +02:00
2026-04-01 08:29:39 +00:00
flex: 1;
}
2024-07-21 18:56:56 +02:00
2026-04-08 21:03:36 +00:00
.split-modal .detail-button-wrapper {
2026-04-01 08:29:39 +00:00
display: none;
}
2024-07-21 17:55:53 +02:00
}