2019-05-16 01:26:25 +08:00
|
|
|
// Modal wrappers
|
|
|
|
|
|
|
|
.modal-outer-container {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-middle-container {
|
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-inner-container {
|
2021-11-10 03:56:05 +08:00
|
|
|
--modal-max-width: 47em; // set in ems to scale with user font-size
|
2019-05-16 01:26:25 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
flex: 0 1 auto;
|
|
|
|
margin: 0 auto;
|
2021-11-10 03:56:05 +08:00
|
|
|
max-width: var(--modal-max-width);
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--secondary);
|
2019-05-16 01:26:25 +08:00
|
|
|
box-shadow: shadow("modal");
|
|
|
|
|
|
|
|
.select-kit {
|
|
|
|
width: 220px;
|
|
|
|
|
|
|
|
&.tag-chooser {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
.modal-open {
|
|
|
|
.popover {
|
2018-06-08 17:49:31 +08:00
|
|
|
z-index: z("modal", "popover");
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
.tooltip {
|
2018-06-08 17:49:31 +08:00
|
|
|
z-index: z("modal", "tooltip");
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-27 03:52:03 +08:00
|
|
|
.bootbox.modal {
|
|
|
|
position: fixed;
|
2018-06-08 17:49:31 +08:00
|
|
|
z-index: z("modal", "content");
|
2018-01-27 03:52:03 +08:00
|
|
|
overflow: auto;
|
|
|
|
height: auto;
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--secondary);
|
2018-02-21 01:18:20 +08:00
|
|
|
box-shadow: shadow("card");
|
2018-01-27 03:52:03 +08:00
|
|
|
background-clip: padding-box;
|
|
|
|
}
|
|
|
|
|
2016-12-23 01:34:20 +08:00
|
|
|
.input-hint-text {
|
|
|
|
margin-left: 0.5em;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--secondary-high);
|
2016-12-23 01:34:20 +08:00
|
|
|
}
|
|
|
|
|
2016-12-30 13:58:12 +08:00
|
|
|
.modal-header {
|
2018-02-24 02:14:32 +08:00
|
|
|
display: flex;
|
2021-03-27 01:07:19 +08:00
|
|
|
padding: 10px 15px;
|
|
|
|
border-bottom: 1px solid var(--primary-low);
|
2019-02-20 22:42:44 +08:00
|
|
|
align-items: center;
|
2018-05-30 23:14:00 +08:00
|
|
|
|
|
|
|
.title {
|
2020-07-13 18:43:06 +08:00
|
|
|
margin-right: 1em;
|
|
|
|
|
2018-05-30 23:14:00 +08:00
|
|
|
h3 {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2018-02-24 02:14:32 +08:00
|
|
|
}
|
2018-05-30 23:14:00 +08:00
|
|
|
|
2018-02-24 02:14:32 +08:00
|
|
|
.modal-close {
|
2018-03-29 02:40:26 +08:00
|
|
|
order: 2;
|
2018-02-24 02:14:32 +08:00
|
|
|
margin-left: auto;
|
2021-04-28 23:21:23 +08:00
|
|
|
|
2019-05-16 01:26:25 +08:00
|
|
|
.close {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-high);
|
2019-05-16 01:26:25 +08:00
|
|
|
}
|
2018-02-24 02:14:32 +08:00
|
|
|
}
|
2016-12-30 13:58:12 +08:00
|
|
|
}
|
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
.modal-backdrop {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
2018-06-08 17:49:31 +08:00
|
|
|
z-index: z("modal", "overlay");
|
2014-08-06 21:31:13 +08:00
|
|
|
background-color: #111;
|
2014-04-21 03:17:11 +08:00
|
|
|
&.fade {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-backdrop,
|
|
|
|
.modal-backdrop.fade.in {
|
2018-06-08 17:49:31 +08:00
|
|
|
animation: fade 0.3s;
|
|
|
|
opacity: 0.9;
|
2015-01-12 23:29:38 +08:00
|
|
|
filter: alpha(opacity=90);
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
|
2015-03-26 02:14:34 +08:00
|
|
|
// fade in
|
2014-12-25 17:14:20 +08:00
|
|
|
@keyframes fade {
|
2018-06-08 17:49:31 +08:00
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 0.9;
|
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
2014-12-25 18:29:39 +08:00
|
|
|
|
2017-08-31 05:38:49 +08:00
|
|
|
.inline-modal {
|
|
|
|
.modal-inner-container {
|
2020-08-04 10:57:10 +08:00
|
|
|
border: 1px solid var(--secondary-medium);
|
2017-08-31 05:38:49 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fixed-modal {
|
2014-04-21 03:17:11 +08:00
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2018-06-08 17:49:31 +08:00
|
|
|
z-index: z("modal", "content");
|
2014-04-21 03:17:11 +08:00
|
|
|
overflow: auto;
|
2019-05-23 16:04:53 +08:00
|
|
|
|
2020-05-15 00:48:28 +08:00
|
|
|
html.keyboard-visible body.ios-safari-composer-hacks & {
|
2020-05-07 11:05:47 +08:00
|
|
|
height: calc(var(--composer-vh, 1vh) * 100);
|
|
|
|
.modal-inner-container {
|
|
|
|
max-height: 100%;
|
2020-05-15 00:48:28 +08:00
|
|
|
margin-bottom: 0px;
|
2020-05-07 11:05:47 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-01 23:59:29 +08:00
|
|
|
&:not(.history-modal) {
|
2020-08-06 23:57:06 +08:00
|
|
|
.modal-body:not(.reorder-categories):not(.poll-ui-builder):not(.poll-breakdown) {
|
2019-10-04 01:16:28 +08:00
|
|
|
max-height: 80vh !important;
|
|
|
|
@media screen and (max-height: 500px) {
|
|
|
|
max-height: 65vh !important;
|
|
|
|
}
|
2018-06-01 23:59:29 +08:00
|
|
|
}
|
2018-05-16 23:33:55 +08:00
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
2018-02-24 10:41:40 +08:00
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
.modal-form {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2019-02-16 01:01:10 +08:00
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
.modal-footer {
|
2021-01-28 05:17:08 +08:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: center;
|
2018-01-30 04:15:50 +08:00
|
|
|
padding: 14px 15px 10px;
|
2020-08-04 10:57:10 +08:00
|
|
|
border-top: 1px solid var(--primary-low);
|
2021-02-05 04:20:07 +08:00
|
|
|
--btn-bottom-margin: 0.3em;
|
2018-01-30 04:15:50 +08:00
|
|
|
.btn {
|
2021-02-05 04:20:07 +08:00
|
|
|
margin: 0 0.75em var(--btn-bottom-margin) 0;
|
2020-02-22 09:13:23 +08:00
|
|
|
&[href] {
|
|
|
|
min-height: unset;
|
|
|
|
}
|
2018-01-30 04:15:50 +08:00
|
|
|
}
|
2021-01-28 05:17:08 +08:00
|
|
|
|
|
|
|
a {
|
2021-02-05 04:20:07 +08:00
|
|
|
margin-bottom: var(--btn-bottom-margin);
|
2021-01-28 05:17:08 +08:00
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
2019-02-16 01:01:10 +08:00
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
.modal {
|
2015-07-03 04:18:59 +08:00
|
|
|
.nav {
|
2014-07-12 04:28:44 +08:00
|
|
|
padding: 10px 30px 10px 15px;
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--secondary);
|
2014-04-21 03:17:11 +08:00
|
|
|
li > a {
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-0;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
2020-08-04 10:57:10 +08:00
|
|
|
border-bottom: 1px solid var(--primary-low);
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
|
2017-07-28 05:14:41 +08:00
|
|
|
&.hidden {
|
2014-04-21 03:17:11 +08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-body {
|
2018-11-09 22:35:29 +08:00
|
|
|
overflow-y: auto;
|
2018-02-24 10:41:40 +08:00
|
|
|
max-height: 400px;
|
2020-02-22 04:44:34 +08:00
|
|
|
padding: 1em;
|
2019-05-16 01:26:25 +08:00
|
|
|
|
2015-09-11 04:42:10 +08:00
|
|
|
&.full-height-modal {
|
|
|
|
max-height: calc(100vh - 150px);
|
|
|
|
}
|
2019-10-09 04:19:07 +08:00
|
|
|
|
|
|
|
&.insert-link {
|
2019-10-11 23:37:44 +08:00
|
|
|
overflow-y: visible;
|
2019-10-09 04:19:07 +08:00
|
|
|
input {
|
|
|
|
min-width: 300px;
|
|
|
|
}
|
2019-10-11 23:37:44 +08:00
|
|
|
|
|
|
|
.inputs {
|
|
|
|
position: relative;
|
|
|
|
.spinner {
|
|
|
|
position: absolute;
|
|
|
|
right: 8px;
|
|
|
|
top: -15px;
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
}
|
|
|
|
.internal-link-results {
|
|
|
|
position: absolute;
|
|
|
|
top: 70%;
|
|
|
|
padding: 5px 10px;
|
|
|
|
box-shadow: shadow("card");
|
|
|
|
z-index: 5;
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--secondary);
|
2019-10-11 23:37:44 +08:00
|
|
|
max-height: 150px;
|
|
|
|
width: 90%;
|
|
|
|
overflow-y: auto;
|
2019-10-16 22:17:27 +08:00
|
|
|
> .search-link {
|
2019-10-11 23:37:44 +08:00
|
|
|
padding: 6px;
|
2020-08-04 10:57:10 +08:00
|
|
|
border-bottom: 1px solid var(--primary-low);
|
2019-10-11 23:37:44 +08:00
|
|
|
cursor: pointer;
|
|
|
|
display: block;
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--highlight-medium);
|
2019-10-11 23:37:44 +08:00
|
|
|
}
|
2019-10-16 22:17:27 +08:00
|
|
|
.search-category {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.discourse-tags {
|
|
|
|
font-size: $font-down-1;
|
|
|
|
}
|
2019-10-11 23:37:44 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-10-09 04:19:07 +08:00
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
textarea {
|
2020-02-20 00:08:15 +08:00
|
|
|
width: 100%;
|
2014-04-21 03:17:11 +08:00
|
|
|
height: 80px;
|
2020-02-20 00:08:15 +08:00
|
|
|
box-sizing: border-box;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
p {
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-0;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
.archetype-option {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
.warning {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--danger) !important;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
}
|
2019-05-16 01:26:25 +08:00
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
.password-confirmation {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
section.field {
|
2018-11-21 04:16:17 +08:00
|
|
|
padding: 0.25em 0;
|
|
|
|
margin-bottom: 5px;
|
2019-10-31 02:49:00 +08:00
|
|
|
&.with-items {
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
.field-item {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2014-12-20 22:07:29 +08:00
|
|
|
}
|
2017-06-19 18:39:29 +08:00
|
|
|
|
|
|
|
// password reset modal
|
|
|
|
.modal-body.forgot-password-modal p {
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-0;
|
2017-06-19 18:39:29 +08:00
|
|
|
}
|
2018-06-01 06:11:24 +08:00
|
|
|
|
|
|
|
pre code {
|
|
|
|
white-space: pre-wrap;
|
2021-11-10 03:56:05 +08:00
|
|
|
max-width: var(--modal-max-width);
|
2018-06-01 06:11:24 +08:00
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
|
2022-08-20 17:19:38 +08:00
|
|
|
.bootbox.modal.reply-where-modal {
|
2021-02-05 11:37:02 +08:00
|
|
|
max-width: 400px;
|
2022-08-20 17:19:38 +08:00
|
|
|
margin-left: -200px;
|
2021-02-05 11:37:02 +08:00
|
|
|
|
|
|
|
h1 {
|
|
|
|
margin: 0;
|
2022-08-20 17:19:38 +08:00
|
|
|
font-size: var(--font-up-2);
|
2021-02-05 11:37:02 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
display: block;
|
|
|
|
text-align: left;
|
|
|
|
margin-bottom: 0.75em;
|
2022-08-20 17:19:38 +08:00
|
|
|
margin-right: 0;
|
2021-02-05 11:37:02 +08:00
|
|
|
overflow: hidden;
|
|
|
|
width: 100%;
|
2022-08-20 17:19:38 +08:00
|
|
|
|
2021-02-05 11:37:02 +08:00
|
|
|
&:first-of-type {
|
|
|
|
margin-top: 0.25em;
|
2017-09-26 21:23:50 +08:00
|
|
|
}
|
2022-08-20 17:19:38 +08:00
|
|
|
|
2022-08-17 09:39:28 +08:00
|
|
|
&.btn-reply-on-original,
|
|
|
|
&.btn-reply-here {
|
2022-08-20 17:19:38 +08:00
|
|
|
font-size: var(--font-up-1);
|
|
|
|
line-height: var(--line-height-medium);
|
2022-08-17 09:39:28 +08:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
2022-08-20 17:19:38 +08:00
|
|
|
|
2021-02-05 11:37:02 +08:00
|
|
|
.topic-title {
|
|
|
|
font-weight: normal;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-02-16 01:01:10 +08:00
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
.delete-user-modal {
|
|
|
|
.modal-footer {
|
|
|
|
.btn {
|
2019-05-16 01:26:25 +08:00
|
|
|
line-height: $line-height-medium;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-20 13:04:21 +08:00
|
|
|
.admin-delete-user-posts-progress-modal {
|
2018-12-14 18:04:18 +08:00
|
|
|
.progress-bar {
|
|
|
|
height: 15px;
|
|
|
|
position: relative;
|
2020-08-04 10:57:10 +08:00
|
|
|
background: var(--primary-low-mid);
|
2018-12-14 18:04:18 +08:00
|
|
|
border-radius: 25px;
|
|
|
|
overflow: hidden;
|
|
|
|
margin: 30px 0 20px;
|
|
|
|
span {
|
|
|
|
display: block;
|
|
|
|
width: 0%;
|
|
|
|
height: 100%;
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--tertiary);
|
2018-12-14 18:04:18 +08:00
|
|
|
position: relative;
|
|
|
|
transition: width 0.6s linear;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-09 06:15:42 +08:00
|
|
|
.incoming-email-modal {
|
|
|
|
.btn {
|
|
|
|
transition: none;
|
|
|
|
background-color: transparent;
|
|
|
|
margin-right: 5px;
|
2018-06-08 17:49:31 +08:00
|
|
|
&:hover,
|
|
|
|
&.active {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2017-03-09 06:15:42 +08:00
|
|
|
}
|
|
|
|
&.active {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
&:focus {
|
2020-08-04 10:57:10 +08:00
|
|
|
outline: 2px solid var(--primary-low);
|
2017-03-09 06:15:42 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.incoming-email-tabs {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
.incoming-email-content {
|
|
|
|
height: 300px;
|
2021-11-10 03:56:05 +08:00
|
|
|
max-width: 100%;
|
2018-05-31 03:28:29 +08:00
|
|
|
width: 90vw; // forcing textarea wider
|
2018-06-08 17:49:31 +08:00
|
|
|
textarea,
|
|
|
|
.incoming-email-html-part {
|
2017-03-09 06:15:42 +08:00
|
|
|
height: 95%;
|
|
|
|
border: none;
|
2020-08-04 10:57:10 +08:00
|
|
|
border-top: 1px solid var(--primary-low);
|
2017-03-09 06:15:42 +08:00
|
|
|
padding-top: 10px;
|
2021-11-10 03:56:05 +08:00
|
|
|
width: 100%;
|
2017-03-09 06:15:42 +08:00
|
|
|
}
|
|
|
|
textarea {
|
|
|
|
font-family: monospace;
|
|
|
|
resize: none;
|
2018-01-25 22:53:36 +08:00
|
|
|
border-radius: 0;
|
2017-03-09 06:15:42 +08:00
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
.incoming-email-html-part {
|
2020-02-28 01:47:15 +08:00
|
|
|
width: calc(100% - 36px);
|
2017-03-09 06:15:42 +08:00
|
|
|
padding: 10px 4px 4px 4px;
|
|
|
|
}
|
2020-02-28 01:47:15 +08:00
|
|
|
@media screen and (max-width: 760px) {
|
|
|
|
.incoming-email-html-part {
|
|
|
|
width: calc(100% - 10px);
|
|
|
|
}
|
|
|
|
}
|
2017-03-09 06:15:42 +08:00
|
|
|
}
|
|
|
|
}
|
2017-04-06 04:14:22 +08:00
|
|
|
|
2019-06-13 19:30:33 +08:00
|
|
|
.modal .modal-body.change-timestamp {
|
2019-06-24 16:24:54 +08:00
|
|
|
#date-container {
|
|
|
|
.pika-single {
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
}
|
2019-06-13 19:30:33 +08:00
|
|
|
|
|
|
|
form {
|
|
|
|
display: flex;
|
|
|
|
|
2019-06-24 16:24:54 +08:00
|
|
|
.date-picker-wrapper,
|
|
|
|
input[type="time"] {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.date-picker-wrapper {
|
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
.date-picker {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-13 19:30:33 +08:00
|
|
|
input.date-picker,
|
|
|
|
input[type="time"] {
|
2019-06-24 16:24:54 +08:00
|
|
|
text-align: left;
|
2019-06-13 19:30:33 +08:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-13 21:49:40 +08:00
|
|
|
.change-timestamp {
|
2021-11-10 03:56:05 +08:00
|
|
|
width: 28em; // scales with user font-size
|
|
|
|
max-width: 90vw; // prevents overflow due to extra large user font-size
|
2019-08-13 21:49:40 +08:00
|
|
|
}
|
2018-03-29 02:40:26 +08:00
|
|
|
|
2021-04-23 02:36:32 +08:00
|
|
|
.change-timestamp {
|
2018-06-08 17:49:31 +08:00
|
|
|
#date-container {
|
|
|
|
.pika-single {
|
|
|
|
position: relative !important; // overriding another important
|
|
|
|
display: inline-block;
|
2019-06-13 19:30:33 +08:00
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.date-picker-wrapper {
|
|
|
|
min-width: 130px;
|
|
|
|
margin-right: 0.5em;
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2018-03-29 02:40:26 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
input[type="time"] {
|
2019-06-13 19:30:33 +08:00
|
|
|
width: 130px;
|
2018-06-08 17:49:31 +08:00
|
|
|
}
|
2018-03-29 02:40:26 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
form {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2018-02-24 10:41:40 +08:00
|
|
|
}
|
|
|
|
|
2020-03-12 20:17:52 +08:00
|
|
|
.flag-modal-body {
|
2018-02-24 10:41:40 +08:00
|
|
|
max-height: 450px;
|
|
|
|
.flag-action-type-details {
|
2018-10-03 00:04:37 +08:00
|
|
|
width: 100%;
|
2019-05-16 01:26:25 +08:00
|
|
|
max-width: 500px;
|
2018-02-24 10:41:40 +08:00
|
|
|
line-height: $line-height-large;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.flag-message {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-message-length {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2018-02-24 10:41:40 +08:00
|
|
|
font-size: $font-down-1;
|
|
|
|
}
|
|
|
|
|
2018-07-19 22:00:13 +08:00
|
|
|
.jump-to-post-modal {
|
2019-05-16 01:26:25 +08:00
|
|
|
.modal-inner-container {
|
|
|
|
max-width: 350px;
|
|
|
|
}
|
2018-07-19 22:00:13 +08:00
|
|
|
.modal-body {
|
2019-05-16 01:26:25 +08:00
|
|
|
overflow-y: visible;
|
2021-06-19 04:37:17 +08:00
|
|
|
#post-jump {
|
2018-07-19 22:00:13 +08:00
|
|
|
margin: 0;
|
|
|
|
width: 100px;
|
|
|
|
}
|
|
|
|
|
2021-06-19 04:37:17 +08:00
|
|
|
.date-picker {
|
|
|
|
margin: 0;
|
|
|
|
width: 180px;
|
|
|
|
}
|
|
|
|
|
2019-05-16 01:26:25 +08:00
|
|
|
.input-hint-text {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2018-07-19 22:00:13 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.jump-to-post-control .index {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2018-07-19 22:00:13 +08:00
|
|
|
}
|
|
|
|
|
2021-06-19 04:37:17 +08:00
|
|
|
.jump-to-date-control {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
.input-hint-text {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
2019-05-16 01:26:25 +08:00
|
|
|
}
|
|
|
|
|
2018-07-19 22:00:13 +08:00
|
|
|
.separator {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2019-05-16 01:35:58 +08:00
|
|
|
margin: 0.5em auto;
|
2018-07-19 22:00:13 +08:00
|
|
|
|
2019-05-16 01:26:25 +08:00
|
|
|
hr {
|
2019-01-22 02:40:55 +08:00
|
|
|
flex: 1 0 0px;
|
2018-07-19 22:00:13 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.text {
|
2019-05-16 01:26:25 +08:00
|
|
|
margin: 0 0.5em 0 0;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2018-07-19 22:00:13 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-23 16:18:38 +08:00
|
|
|
// move-to topic modal
|
2020-01-16 05:20:12 +08:00
|
|
|
.choose-topic-modal {
|
2020-01-18 04:02:04 +08:00
|
|
|
#split-topic-name,
|
|
|
|
#choose-topic-title,
|
|
|
|
#choose-message-title {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.category-chooser {
|
|
|
|
margin-bottom: 9px;
|
|
|
|
width: 100% !important;
|
2020-08-04 05:44:11 +08:00
|
|
|
.category-row {
|
|
|
|
max-width: 485px;
|
|
|
|
}
|
2020-01-18 04:02:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.controls.existing-topic {
|
|
|
|
margin-bottom: 0.75em;
|
|
|
|
}
|
|
|
|
|
2018-11-19 13:12:42 +08:00
|
|
|
// move to existing topic
|
|
|
|
.existing-topic {
|
|
|
|
.radio {
|
|
|
|
flex-wrap: wrap;
|
2018-11-19 15:10:52 +08:00
|
|
|
}
|
|
|
|
.topic-title {
|
|
|
|
max-width: 90%;
|
2018-11-19 13:12:42 +08:00
|
|
|
}
|
|
|
|
.topic-categories {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-17 18:42:20 +08:00
|
|
|
.publish-page-modal {
|
|
|
|
.modal-body {
|
|
|
|
p.publish-description {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
input.publish-slug {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2020-04-09 00:52:36 +08:00
|
|
|
|
2020-06-17 18:42:20 +08:00
|
|
|
.publish-url {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
.example-url,
|
|
|
|
.invalid-slug {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.publish-slug:disabled {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
|
|
|
|
.controls {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
|
|
|
|
.description {
|
|
|
|
margin: 0;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2020-04-09 00:52:36 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-17 18:42:20 +08:00
|
|
|
.modal-footer {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.close-publish-page {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2020-04-09 00:52:36 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-19 01:26:25 +08:00
|
|
|
.ignore-duration-with-username-modal {
|
|
|
|
.future-date-input {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-20 22:42:44 +08:00
|
|
|
.modal:not(.has-tabs) {
|
|
|
|
.modal-tab {
|
|
|
|
position: absolute;
|
|
|
|
width: 95%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal {
|
|
|
|
&.has-tabs {
|
|
|
|
.modal-tabs {
|
|
|
|
display: inline-flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
flex: 1 0 auto;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
.modal-tab {
|
|
|
|
list-style: none;
|
2020-04-25 07:32:02 +08:00
|
|
|
padding: 4px 8px;
|
|
|
|
margin-right: 4px;
|
2019-02-20 22:42:44 +08:00
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&.is-active {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--secondary);
|
|
|
|
background: var(--danger);
|
2019-02-20 22:42:44 +08:00
|
|
|
|
|
|
|
&.single-tab {
|
2019-02-26 21:15:25 +08:00
|
|
|
background: none;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2021-07-21 01:58:38 +08:00
|
|
|
padding: 0;
|
|
|
|
font-size: var(--font-up-3);
|
|
|
|
font-weight: bold;
|
2019-02-20 22:42:44 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-02-24 10:41:40 +08:00
|
|
|
}
|
2020-07-21 12:04:07 +08:00
|
|
|
|
|
|
|
.topic-bulk-actions-modal {
|
|
|
|
p {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
&.full .modal-body {
|
|
|
|
height: 400px;
|
|
|
|
max-height: 400px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bulk-buttons {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin-right: -1%;
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
flex: 1 0 30%;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
margin-right: 1%;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
max-width: 33%;
|
|
|
|
|
|
|
|
@media screen and (max-width: 767px) {
|
|
|
|
flex: 1 0 48%;
|
|
|
|
max-width: 48%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint(mobile-extra-large) {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
min-width: 49%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-10-17 03:24:38 +08:00
|
|
|
|
2021-02-05 03:35:47 +08:00
|
|
|
.bulk-notification-list {
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notification-level-radio {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: baseline;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
.description {
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-17 03:24:38 +08:00
|
|
|
.modal.edit-slow-mode-modal {
|
|
|
|
.slow-mode-label {
|
|
|
|
display: inline-flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert.alert-info {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-small {
|
2020-10-20 17:52:03 +08:00
|
|
|
width: 10%;
|
2020-10-17 03:24:38 +08:00
|
|
|
}
|
|
|
|
}
|
2021-03-01 22:15:17 +08:00
|
|
|
|
2021-06-23 22:31:25 +08:00
|
|
|
.group-add-members-modal {
|
|
|
|
.input-group {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-chooser {
|
|
|
|
width: calc(100%);
|
|
|
|
}
|
|
|
|
}
|
2022-03-01 06:37:24 +08:00
|
|
|
|
|
|
|
.modal-body .codeblock-buttons {
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
button {
|
|
|
|
top: 21px;
|
|
|
|
}
|
|
|
|
}
|