2014-04-21 03:17:11 +08:00
|
|
|
.modal-open {
|
|
|
|
.dropdown-menu {
|
2018-01-17 08:05:12 +08:00
|
|
|
z-index: z("modal","dropdown");
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
.popover {
|
2018-01-17 08:05:12 +08:00
|
|
|
z-index: z("modal","popover");
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
.tooltip {
|
2018-01-17 08:05:12 +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;
|
|
|
|
z-index: z("modal","content");
|
|
|
|
overflow: auto;
|
|
|
|
height: auto;
|
|
|
|
background-color: $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;
|
2017-10-11 04:07:46 +08:00
|
|
|
color: $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;
|
|
|
|
align-items: center;
|
|
|
|
padding: 10px 15px;
|
2017-10-20 03:51:08 +08:00
|
|
|
border-bottom: 1px solid $primary-low;
|
2018-02-24 02:14:32 +08:00
|
|
|
h3 {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
.modal-close {
|
|
|
|
order: 2;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
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-01-17 08:05:12 +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-02-21 01:18:20 +08:00
|
|
|
animation: fade .3s;
|
2015-01-12 23:29:38 +08:00
|
|
|
opacity: .9;
|
|
|
|
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 {
|
2015-03-26 02:14:34 +08:00
|
|
|
from { opacity: 0 }
|
|
|
|
to { opacity: .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 {
|
|
|
|
from { transform: translateY(-20%); }
|
|
|
|
to { transform: translateY(0); }
|
|
|
|
}
|
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
.modal-outer-container {
|
|
|
|
display:table;
|
2018-02-07 04:02:51 +08:00
|
|
|
table-layout: fixed;
|
2014-04-21 03:17:11 +08:00
|
|
|
width:100%;
|
|
|
|
height:100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-inner-container {
|
2018-02-10 04:45:34 +08:00
|
|
|
max-width: 700px;
|
2014-04-21 03:17:11 +08:00
|
|
|
margin: 0 auto;
|
2014-05-06 13:50:51 +08:00
|
|
|
background-color: $secondary;
|
2014-04-21 03:17:11 +08:00
|
|
|
background-clip: padding-box;
|
2018-02-21 01:18:20 +08:00
|
|
|
box-shadow: shadow("modal");
|
2017-10-20 03:51:08 +08:00
|
|
|
|
2017-11-21 18:53:09 +08:00
|
|
|
.select-kit {
|
2017-10-20 03:51:08 +08:00
|
|
|
width: 220px;
|
2018-02-26 18:42:57 +08:00
|
|
|
|
|
|
|
&.tag-chooser {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
|
2015-03-26 02:14:34 +08:00
|
|
|
.create-account.in .modal-inner-container,
|
|
|
|
.login-modal.in .modal-inner-container {
|
2018-02-21 01:18:20 +08:00
|
|
|
animation: slidein .3s;
|
2015-03-26 02:14:34 +08:00
|
|
|
}
|
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
|
2017-08-31 05:38:49 +08:00
|
|
|
.inline-modal {
|
|
|
|
.modal-inner-container {
|
|
|
|
border: 1px solid $secondary-medium;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fixed-modal {
|
2014-04-21 03:17:11 +08:00
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2018-01-17 08:05:12 +08:00
|
|
|
z-index: z("modal","content");
|
2014-04-21 03:17:11 +08:00
|
|
|
overflow: auto;
|
|
|
|
}
|
2018-02-24 10:41:40 +08:00
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
.modal-form {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
.modal-footer {
|
2018-01-30 04:15:50 +08:00
|
|
|
padding: 14px 15px 10px;
|
2017-10-20 03:51:08 +08:00
|
|
|
border-top: 1px solid $primary-low;
|
2018-01-30 04:15:50 +08:00
|
|
|
.btn {
|
|
|
|
margin: 0 5px 5px 0;
|
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
.modal-footer:before,
|
|
|
|
.modal-footer:after {
|
|
|
|
display: table;
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
.modal-footer:after {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2015-07-03 04:18:59 +08:00
|
|
|
.modal.edit-category-modal {
|
|
|
|
.modal-body {
|
|
|
|
textarea {
|
|
|
|
height: 10em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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;
|
2017-06-12 10:20:14 +08:00
|
|
|
background-color: $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
|
|
|
}
|
2017-10-20 03:51:08 +08:00
|
|
|
border-bottom: 1px solid $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-01-30 04:15:50 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
2018-02-24 10:41:40 +08:00
|
|
|
overflow-y: auto;
|
|
|
|
max-height: 400px;
|
2015-09-11 04:42:10 +08:00
|
|
|
&.full-height-modal {
|
|
|
|
max-height: calc(100vh - 150px);
|
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
textarea {
|
|
|
|
width: 99%;
|
|
|
|
height: 80px;
|
|
|
|
}
|
|
|
|
label {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
p {
|
2015-11-21 00:36:55 +08:00
|
|
|
color: darken($primary, 40%);
|
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 {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $danger !important;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
2015-05-17 10:56:19 +08:00
|
|
|
.json-uploader {
|
2015-05-17 12:04:57 +08:00
|
|
|
.jsfu-shade-container {
|
|
|
|
display: table-row;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.jsfu-shade {
|
2018-01-17 08:05:12 +08:00
|
|
|
z-index: z("base");
|
2015-05-17 12:04:57 +08:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
|
|
.text {
|
|
|
|
color: rgb(255,255,255);
|
|
|
|
position: absolute;
|
|
|
|
top: 40%;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-6;
|
2015-05-17 12:04:57 +08:00
|
|
|
text-align: center;
|
2018-01-13 06:27:38 +08:00
|
|
|
line-height: $line-height-medium;
|
2015-05-17 12:04:57 +08:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
}
|
2015-05-17 10:56:19 +08:00
|
|
|
.jsfu-file {
|
|
|
|
display: table-cell;
|
|
|
|
vertical-align: middle;
|
|
|
|
min-width: 120px;
|
|
|
|
}
|
|
|
|
.jsfu-separator {
|
|
|
|
vertical-align: middle;
|
|
|
|
display: table-cell;
|
2017-12-19 04:49:11 +08:00
|
|
|
font-size: 2.571em;
|
2015-05-17 10:56:19 +08:00
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
.jsfu-paste {
|
|
|
|
display: table-cell;
|
|
|
|
width: 100%;
|
|
|
|
textarea {
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
.password-confirmation {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
section.field {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
2014-12-20 22:07:29 +08:00
|
|
|
section.field .field-item {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
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
|
|
|
}
|
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 {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
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;
|
2017-12-01 15:25:32 +08:00
|
|
|
width: auto;
|
2014-04-21 03:17:11 +08:00
|
|
|
margin-bottom: 10px;
|
|
|
|
display: block;
|
2015-05-22 16:08:31 +08:00
|
|
|
margin-left: 0 !important; // override needed
|
2015-05-22 18:03:04 +08:00
|
|
|
font-weight: bold;
|
2014-04-21 03:17:11 +08:00
|
|
|
.topic-title {
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-0;
|
2014-04-21 03:17:11 +08:00
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
&.btn-reply-here {
|
2017-09-26 21:23:50 +08:00
|
|
|
background: $primary-low;
|
2014-04-21 03:17:11 +08:00
|
|
|
text-shadow: none;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-09-14 01:23:19 +08:00
|
|
|
.d-modal-cancel {
|
2018-01-17 06:49:04 +08:00
|
|
|
margin-left: 1em;
|
2017-09-14 01:23:19 +08:00
|
|
|
color: $primary-medium;
|
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
|
|
|
|
.delete-user-modal {
|
|
|
|
.modal-footer {
|
|
|
|
.btn {
|
|
|
|
font-weight: normal;
|
|
|
|
text-align: left;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-0;
|
|
|
|
line-height: $line-height-large;
|
2014-04-21 03:17:11 +08:00
|
|
|
margin-bottom: 10px;
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-22 15:37:27 +08:00
|
|
|
#invite-modal {
|
2014-04-21 03:17:11 +08:00
|
|
|
overflow: visible;
|
2018-02-22 15:37:27 +08:00
|
|
|
|
|
|
|
label {
|
|
|
|
margin-top: 7px;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
2018-02-22 15:37:27 +08:00
|
|
|
|
2016-06-07 16:04:58 +08:00
|
|
|
.optional {
|
|
|
|
color: #9e9ea6;
|
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.permission-list{
|
|
|
|
list-style:none;
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
2017-03-02 01:03:12 +08:00
|
|
|
|
|
|
|
.edit-category-modal {
|
2017-09-14 22:19:52 +08:00
|
|
|
.future-date-input, .num-featured-topics-fields, .position-fields {
|
2017-03-02 01:03:12 +08:00
|
|
|
input[type=text] {
|
|
|
|
width: 50px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-09 00:31:30 +08:00
|
|
|
.subcategory-list-style-field {
|
|
|
|
margin-left: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-category-tab-settings {
|
|
|
|
section.field {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
2017-03-11 00:57:18 +08:00
|
|
|
|
|
|
|
.disable_info_wrap {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
float: right;
|
|
|
|
|
|
|
|
.cannot_delete_reason {
|
|
|
|
position: absolute;
|
2017-11-14 06:09:20 +08:00
|
|
|
background: $primary;
|
|
|
|
color: $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;
|
2017-11-14 06:09:20 +08:00
|
|
|
border-top-color: $primary;
|
2017-03-11 00:57:18 +08:00
|
|
|
border-width: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-03-02 01:03:12 +08:00
|
|
|
}
|
|
|
|
|
2017-03-09 06:15:42 +08:00
|
|
|
.incoming-email-modal {
|
|
|
|
.btn {
|
|
|
|
transition: none;
|
|
|
|
background-color: transparent;
|
|
|
|
margin-right: 5px;
|
|
|
|
&:hover, &.active {
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
&.active {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
&:focus {
|
2017-10-20 03:51:08 +08:00
|
|
|
outline: 2px solid $primary-low;
|
2017-03-09 06:15:42 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.incoming-email-tabs {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
.incoming-email-content {
|
|
|
|
height: 300px;
|
|
|
|
textarea, .incoming-email-html-part {
|
|
|
|
height: 95%;
|
|
|
|
border: none;
|
2017-10-20 03:51:08 +08:00
|
|
|
border-top: 1px solid $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 {
|
|
|
|
padding: 10px 4px 4px 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-04-06 04:14:22 +08:00
|
|
|
|
|
|
|
.modal-button-bar {
|
|
|
|
margin-top: 1em;
|
|
|
|
|
|
|
|
button {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
2018-02-24 00:44:49 +08:00
|
|
|
|
|
|
|
.change-timestamp {
|
|
|
|
|
|
|
|
.date-picker {
|
|
|
|
width: 10em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#date-container {
|
|
|
|
.pika-single {
|
|
|
|
position: relative !important; // overriding another important
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=time] {
|
|
|
|
width: 6em;
|
|
|
|
}
|
|
|
|
|
|
|
|
form {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2018-02-24 10:41:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.flag-modal {
|
|
|
|
max-height: 450px;
|
|
|
|
.flag-action-type-details {
|
|
|
|
line-height: $line-height-large;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.flag-message {
|
|
|
|
width: 95% !important;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-message-length {
|
|
|
|
color: dark-light-choose($primary-low-mid, $secondary-high);
|
|
|
|
font-size: $font-down-1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-category-modal {
|
|
|
|
.secure-category-options {
|
|
|
|
margin: 10px 0 0 16px;
|
|
|
|
.badge-list {
|
|
|
|
margin: 10px 0;
|
|
|
|
li {
|
|
|
|
margin: 0 4px 8px 0;
|
|
|
|
a {
|
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
a:hover {
|
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-02-24 00:44:49 +08:00
|
|
|
}
|
2018-02-24 10:41:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.tabbed-modal {
|
|
|
|
.modal-body {
|
|
|
|
position: relative;
|
|
|
|
height: 350px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.modal-tab {
|
|
|
|
position: absolute;
|
|
|
|
width: 95%;
|
|
|
|
}
|
|
|
|
|
2018-02-24 00:44:49 +08:00
|
|
|
|