2014-04-21 03:17:11 +08:00
|
|
|
.modal-open {
|
|
|
|
.dropdown-menu {
|
|
|
|
z-index: 2050;
|
|
|
|
}
|
|
|
|
.popover {
|
|
|
|
z-index: 2060;
|
|
|
|
}
|
|
|
|
.tooltip {
|
|
|
|
z-index: 2070;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-12-23 01:34:20 +08:00
|
|
|
.input-hint-text {
|
|
|
|
margin-left: 0.5em;
|
2017-06-12 10:20:14 +08:00
|
|
|
color: $secondary-medium;
|
2016-12-23 01:34:20 +08:00
|
|
|
}
|
|
|
|
|
2016-12-30 13:58:12 +08:00
|
|
|
.modal-header {
|
2017-06-12 10:20:14 +08:00
|
|
|
border-bottom: 1px solid $primary-low;
|
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;
|
|
|
|
z-index: 1040;
|
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 {
|
2015-01-12 23:29:38 +08:00
|
|
|
-webkit-animation: fade .3s;
|
2015-03-26 02:14:34 +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
|
|
|
|
|
|
|
@-webkit-keyframes fade {
|
2015-03-26 02:14:34 +08:00
|
|
|
from { opacity: 0 }
|
|
|
|
to { opacity: .9 }
|
|
|
|
}
|
|
|
|
|
|
|
|
// slide in
|
|
|
|
@keyframes slidein {
|
|
|
|
from { transform: translateY(-20%); }
|
|
|
|
to { transform: translateY(0); }
|
|
|
|
}
|
|
|
|
|
|
|
|
@-webkit-keyframes slidein {
|
2015-08-26 07:58:37 +08:00
|
|
|
from { -webkit-transform: translateY(-20%); }
|
|
|
|
to { -webkit-transform: translateY(0); }
|
2014-12-25 18:29:39 +08:00
|
|
|
}
|
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
.modal-outer-container {
|
|
|
|
display:table;
|
|
|
|
width:100%;
|
|
|
|
height:100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-inner-container {
|
|
|
|
max-width: 710px;
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2015-03-26 02:14:34 +08:00
|
|
|
.create-account.in .modal-inner-container,
|
|
|
|
.login-modal.in .modal-inner-container {
|
|
|
|
-webkit-animation: slidein .3s;
|
|
|
|
animation: slidein .3s;
|
|
|
|
}
|
|
|
|
|
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%;
|
|
|
|
z-index: 1050;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
.modal-form {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
.modal-footer {
|
2014-11-07 06:17:47 +08:00
|
|
|
padding: 14px 15px 15px;
|
2017-06-12 10:20:14 +08:00
|
|
|
border-top: 1px solid $primary-low;
|
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 {
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 1em;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
2017-06-12 10:20:14 +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 {
|
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%);
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 0.929em;
|
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 {
|
|
|
|
z-index: 1;
|
|
|
|
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%;
|
|
|
|
font-size: 36px;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 38px;
|
|
|
|
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;
|
|
|
|
font-size: 36px;
|
|
|
|
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 {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
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;
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 1.286em;
|
2014-04-21 03:17:11 +08:00
|
|
|
line-height: 20px;
|
|
|
|
width: 310px;
|
|
|
|
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 {
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 0.929em;
|
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 {
|
|
|
|
margin-left: 5px;
|
|
|
|
color: $primary-medium;
|
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
|
|
|
|
.delete-user-modal {
|
|
|
|
.modal-footer {
|
|
|
|
.btn {
|
|
|
|
font-weight: normal;
|
|
|
|
text-align: left;
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 1em;
|
2014-04-21 03:17:11 +08:00
|
|
|
line-height: 20px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.invite-modal {
|
|
|
|
overflow: visible;
|
|
|
|
.ember-text-field {
|
|
|
|
width: 550px;
|
|
|
|
}
|
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-07-28 03:03:41 +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;
|
|
|
|
background: dark-light-choose(scale-color($primary, $lightness: 10%), scale-color($secondary, $lightness: 10%));
|
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 100%), scale-color($secondary, $lightness: 0%));
|
|
|
|
text-align: center;
|
|
|
|
border-radius: 2px;
|
|
|
|
padding: 12px 8px;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
top: 100%;
|
|
|
|
left: 57%;
|
|
|
|
border: solid transparent;
|
|
|
|
content: " ";
|
|
|
|
position: absolute;
|
|
|
|
border-top-color: dark-light-choose(scale-color($primary, $lightness: 10%), scale-color($secondary, $lightness: 10%));
|
|
|
|
border-width: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-03-02 01:03:12 +08:00
|
|
|
}
|
|
|
|
|
2017-03-11 00:57:18 +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-06-12 10:20:14 +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-06-12 10:20:14 +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;
|
|
|
|
border-radius: 0px;
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|