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 {
|
|
|
|
box-sizing: border-box;
|
|
|
|
flex: 0 1 auto;
|
|
|
|
margin: 0 auto;
|
|
|
|
max-width: 700px;
|
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;
|
2018-03-29 02:40:26 +08:00
|
|
|
padding: 10px 15px;
|
2020-08-04 10:57:10 +08:00
|
|
|
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;
|
2019-05-16 01:26:25 +08:00
|
|
|
padding-left: 2em;
|
|
|
|
.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
|
|
|
|
2015-03-26 02:14:34 +08:00
|
|
|
// slide in
|
|
|
|
@keyframes slidein {
|
2018-06-08 17:49:31 +08:00
|
|
|
from {
|
|
|
|
transform: translateY(-20%);
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
2015-03-26 02:14:34 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.create-account.in .modal-inner-container,
|
|
|
|
.login-modal.in .modal-inner-container {
|
2018-06-08 17:49:31 +08:00
|
|
|
animation: slidein 0.3s;
|
2015-03-26 02:14:34 +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 {
|
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);
|
2018-01-30 04:15:50 +08:00
|
|
|
.btn {
|
2018-06-08 17:49:31 +08:00
|
|
|
margin: 0 5px 5px 0;
|
2020-02-22 09:13:23 +08:00
|
|
|
&[href] {
|
|
|
|
min-height: unset;
|
|
|
|
}
|
2018-01-30 04:15:50 +08:00
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
2019-02-16 01:01:10 +08:00
|
|
|
|
2015-07-03 04:18:59 +08:00
|
|
|
.modal.edit-category-modal {
|
|
|
|
.modal-body {
|
|
|
|
textarea {
|
|
|
|
height: 10em;
|
|
|
|
}
|
|
|
|
}
|
2018-05-31 11:24:43 +08:00
|
|
|
@media screen and (min-width: 524px) {
|
|
|
|
.modal-inner-container {
|
2018-06-08 17:49:31 +08:00
|
|
|
min-width: 525px;
|
2018-05-31 11:24:43 +08:00
|
|
|
}
|
|
|
|
}
|
2015-07-03 04:18:59 +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 {
|
|
|
|
display: inline-block;
|
|
|
|
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;
|
2018-06-01 06:19:27 +08:00
|
|
|
max-width: 700px;
|
2018-06-01 06:11:24 +08:00
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.reply-where-modal {
|
|
|
|
.modal-footer {
|
2017-09-26 21:23:50 +08:00
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.d-modal-cancel {
|
2019-05-16 01:35:58 +08:00
|
|
|
margin: 1em 0 0.5em;
|
2017-09-26 21:23:50 +08:00
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
.btn {
|
|
|
|
text-align: left;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-2;
|
|
|
|
line-height: $line-height-medium;
|
2014-04-21 03:17:11 +08:00
|
|
|
margin-bottom: 10px;
|
2015-05-22 18:03:04 +08:00
|
|
|
font-weight: bold;
|
2014-04-21 03:17:11 +08:00
|
|
|
.topic-title {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-02-16 01:01:10 +08:00
|
|
|
|
2017-09-14 01:23:19 +08:00
|
|
|
.d-modal-cancel {
|
2018-01-17 06:49:04 +08:00
|
|
|
margin-left: 1em;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2019-02-01 02:59:49 +08:00
|
|
|
&:hover {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--danger);
|
2019-02-01 02:59:49 +08:00
|
|
|
}
|
2017-09-14 01:23:19 +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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-12-14 18:04:18 +08:00
|
|
|
.delete-posts-progress {
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-16 01:35:58 +08:00
|
|
|
.permission-list {
|
|
|
|
// Category security tab
|
2018-06-08 17:49:31 +08:00
|
|
|
list-style: none;
|
2014-04-21 03:17:11 +08:00
|
|
|
margin: 0 0 30px;
|
|
|
|
padding: 0;
|
|
|
|
.name {
|
|
|
|
margin-right: 20px;
|
|
|
|
display: inline-block;
|
|
|
|
min-width: 100px;
|
|
|
|
}
|
|
|
|
.permission {
|
|
|
|
margin-left: 20px;
|
|
|
|
}
|
2017-11-24 00:14:51 +08:00
|
|
|
.d-icon-times-circle {
|
2014-04-21 03:17:11 +08:00
|
|
|
margin-left: 5px;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--danger);
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
li {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
2017-03-02 01:03:12 +08:00
|
|
|
|
|
|
|
.edit-category-modal {
|
2018-11-21 04:16:17 +08:00
|
|
|
input:not([type="checkbox"]),
|
|
|
|
.controls {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 0.5em;
|
2017-03-02 01:03:12 +08:00
|
|
|
}
|
|
|
|
|
2017-03-11 00:57:18 +08:00
|
|
|
.disable_info_wrap {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
float: right;
|
|
|
|
|
|
|
|
.cannot_delete_reason {
|
|
|
|
position: absolute;
|
2020-08-04 10:57:10 +08:00
|
|
|
background: var(--primary);
|
|
|
|
color: var(--secondary);
|
2017-03-11 00:57:18 +08:00
|
|
|
text-align: center;
|
|
|
|
border-radius: 2px;
|
|
|
|
padding: 12px 8px;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
top: 100%;
|
|
|
|
left: 57%;
|
|
|
|
border: solid transparent;
|
|
|
|
content: " ";
|
|
|
|
position: absolute;
|
2020-08-04 10:57:10 +08:00
|
|
|
border-top-color: var(--primary);
|
2017-03-11 00:57:18 +08:00
|
|
|
border-width: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-03-29 02:40:26 +08:00
|
|
|
|
2019-02-16 01:01:10 +08:00
|
|
|
.permission-selector {
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
|
|
|
|
2019-07-30 02:53:31 +08:00
|
|
|
.pending-permission-change-alert {
|
|
|
|
margin-left: auto;
|
|
|
|
max-width: 250px;
|
2020-08-04 10:57:10 +08:00
|
|
|
background: var(--primary-very-high);
|
|
|
|
color: var(--secondary);
|
2019-07-30 02:53:31 +08:00
|
|
|
margin-top: 10px;
|
|
|
|
padding: 5px 10px;
|
2019-02-16 01:01:10 +08:00
|
|
|
position: relative;
|
2019-07-30 02:53:31 +08:00
|
|
|
.arrow-div {
|
|
|
|
border: solid transparent;
|
|
|
|
content: " ";
|
|
|
|
position: absolute;
|
2020-08-04 10:57:10 +08:00
|
|
|
border-bottom-color: var(--primary-very-high);
|
2019-07-30 02:53:31 +08:00
|
|
|
border-width: 7px;
|
|
|
|
top: -13px;
|
|
|
|
left: 200px;
|
|
|
|
}
|
2019-02-16 01:01:10 +08:00
|
|
|
}
|
|
|
|
|
2019-07-30 02:53:31 +08:00
|
|
|
.add-permission {
|
|
|
|
position: relative;
|
|
|
|
top: 0.1em;
|
2018-10-01 22:21:40 +08:00
|
|
|
}
|
2019-04-11 11:00:31 +08:00
|
|
|
|
|
|
|
.edit-category-tab-settings {
|
|
|
|
$category-settings-width: 280px; // Consistent width makes this all easier to read
|
|
|
|
> section {
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
}
|
|
|
|
input[type="number"],
|
|
|
|
input[type="text"],
|
|
|
|
.select-kit {
|
|
|
|
width: $category-settings-width;
|
|
|
|
}
|
|
|
|
label {
|
|
|
|
max-width: $category-settings-width;
|
|
|
|
}
|
2019-04-11 11:49:26 +08:00
|
|
|
.category-email-in-outlet {
|
|
|
|
label {
|
|
|
|
flex-wrap: wrap; // Todo: fix all multi-element labels
|
|
|
|
a {
|
|
|
|
margin-left: 1.3em;
|
|
|
|
}
|
|
|
|
}
|
2019-04-11 11:00:31 +08:00
|
|
|
}
|
|
|
|
}
|
2019-10-31 02:49:00 +08:00
|
|
|
#category-min-tags-from-group {
|
|
|
|
width: 100px;
|
|
|
|
}
|
2017-03-02 01:03:12 +08:00
|
|
|
}
|
|
|
|
|
2020-03-05 03:48:22 +08:00
|
|
|
.edit-category-tab-tags {
|
|
|
|
.select-kit {
|
|
|
|
&.tag-chooser {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.select-kit-filter,
|
|
|
|
.filter-input {
|
|
|
|
display: flex;
|
|
|
|
flex: 1 0 250px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-view & {
|
|
|
|
.no-content,
|
|
|
|
.is-loading,
|
|
|
|
&.select-kit.is-expanded .select-kit-collection {
|
|
|
|
width: 95%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#category-min-tags-from-group {
|
|
|
|
min-height: 36px;
|
|
|
|
}
|
|
|
|
|
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;
|
2018-06-08 17:49:31 +08:00
|
|
|
max-width: 700px;
|
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;
|
|
|
|
}
|
|
|
|
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 {
|
2019-05-16 01:26:25 +08:00
|
|
|
max-width: 420px;
|
2019-08-13 21:49:40 +08:00
|
|
|
}
|
2018-03-29 02:40:26 +08:00
|
|
|
|
2019-08-13 21:49:40 +08:00
|
|
|
.change-timestamp,
|
|
|
|
.poll-ui-builder {
|
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;
|
2018-07-19 22:00:13 +08:00
|
|
|
#post-jump,
|
|
|
|
.date-picker {
|
|
|
|
margin: 0;
|
|
|
|
width: 100px;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2019-05-16 01:26:25 +08:00
|
|
|
.jump-to-date-control .input-hint-text {
|
2019-05-16 01:35:58 +08:00
|
|
|
margin-left: 0;
|
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);
|
2020-04-25 07:32:02 +08:00
|
|
|
padding: 4px 0;
|
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%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|