2024-12-02 22:08:43 +08:00
|
|
|
html.modal-open {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2023-11-15 18:14:47 +08:00
|
|
|
.d-modal {
|
|
|
|
--modal-max-width: 600px;
|
|
|
|
--modal-width: 30em; // set in ems to scale with user font-size
|
|
|
|
--modal-min-width: 400px;
|
|
|
|
&__container {
|
|
|
|
max-width: var(--modal-max-width);
|
|
|
|
min-width: var(--modal-min-width);
|
2024-10-22 09:09:29 +08:00
|
|
|
min-height: var(--modal-min-height); // unset, optional theme utility
|
2023-11-15 18:14:47 +08:00
|
|
|
.d-modal.-large & {
|
|
|
|
max-width: 800px;
|
|
|
|
}
|
|
|
|
.d-modal.-max & {
|
|
|
|
max-width: 90vw;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-07-17 02:32:35 +08:00
|
|
|
|
2014-03-21 04:33:03 +08:00
|
|
|
.modal.in {
|
2018-06-08 17:49:31 +08:00
|
|
|
animation: fade 0.25s;
|
2023-09-15 05:31:43 +08:00
|
|
|
@media (prefers-reduced-motion) {
|
|
|
|
animation-duration: 0s;
|
|
|
|
}
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2014-03-21 04:33:03 +08:00
|
|
|
|
2019-01-11 10:50:00 +08:00
|
|
|
.close {
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-up-3);
|
2014-06-19 02:04:10 +08:00
|
|
|
text-decoration: none;
|
2019-01-11 10:50:00 +08:00
|
|
|
&:visited {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-high);
|
2019-01-11 10:50:00 +08:00
|
|
|
}
|
2014-06-19 02:04:10 +08:00
|
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal {
|
2017-10-20 03:51:08 +08:00
|
|
|
.category-chooser {
|
|
|
|
width: 50%;
|
2017-08-30 23:04:17 +08:00
|
|
|
}
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
|
2020-01-16 05:20:12 +08:00
|
|
|
.choose-topic-modal {
|
|
|
|
#choosing-topic {
|
2019-05-16 01:26:25 +08:00
|
|
|
// prevents content from moving when user selects different move options 525px
|
2019-01-23 16:18:38 +08:00
|
|
|
// is the same width we set on category edit modal
|
|
|
|
width: 525px;
|
2018-12-31 19:47:22 +08:00
|
|
|
|
2013-10-30 03:30:06 +08:00
|
|
|
p {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2018-12-31 19:47:22 +08:00
|
|
|
.radios {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
.radio-label {
|
|
|
|
display: inline-block;
|
|
|
|
padding-right: 15px;
|
|
|
|
}
|
2013-10-30 03:30:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
margin-top: 10px;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
form {
|
2018-09-21 04:12:08 +08:00
|
|
|
width: 95%;
|
2013-10-30 03:30:06 +08:00
|
|
|
margin-top: 20px;
|
2018-12-31 19:47:22 +08:00
|
|
|
|
|
|
|
.participant-selector {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.ac-wrap {
|
2018-09-21 04:12:08 +08:00
|
|
|
width: 100%;
|
2018-12-31 19:47:22 +08:00
|
|
|
margin-bottom: 9px;
|
2013-10-30 03:30:06 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-11-11 20:49:53 +08:00
|
|
|
|
2021-03-03 17:45:29 +08:00
|
|
|
.create-invite-modal,
|
2021-04-24 00:18:23 +08:00
|
|
|
.create-invite-bulk-modal,
|
|
|
|
.share-topic-modal {
|
2022-04-27 21:36:08 +08:00
|
|
|
.title {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.subtitle {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
2021-03-03 17:45:29 +08:00
|
|
|
}
|