2013-09-05 15:37:07 -04:00
|
|
|
// base styles for every modal popup used in Discourse
|
|
|
|
|
2014-03-12 23:17:18 -04:00
|
|
|
.modal-open #main {overflow:hidden;}
|
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
.modal-middle-container {
|
2013-09-12 14:49:49 -04:00
|
|
|
margin-top: 10%;
|
2014-03-06 23:55:57 -05:00
|
|
|
max-width: 100%;
|
2014-03-25 14:48:23 -04:00
|
|
|
margin-bottom: 30px; // For iOS Safari issues
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// Hardcode to be the same as before for now. I would recommend not using bootbox, or finding a way so the html structure can be the same
|
|
|
|
.bootbox.modal {
|
|
|
|
position: fixed;
|
|
|
|
top: 10%;
|
2018-01-16 19:05:12 -05:00
|
|
|
z-index: z("modal","content");
|
2013-09-05 15:37:07 -04:00
|
|
|
overflow: auto;
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
2014-05-06 01:50:51 -04:00
|
|
|
background-color: $secondary;
|
2013-09-05 15:37:07 -04:00
|
|
|
border: 1px solid rgba(0, 0, 0, 0.3);
|
|
|
|
|
|
|
|
@include border-radius-all (6px);
|
2014-08-06 09:31:13 -04:00
|
|
|
box-shadow: 0 3px 7px rgba(0,0,0, 0.3);
|
2013-09-05 15:37:07 -04:00
|
|
|
background-clip: padding-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal.fade {
|
|
|
|
transition: opacity .3s linear, top .3s ease-out;
|
|
|
|
top: -25%;
|
|
|
|
}
|
|
|
|
.modal.fade.in {
|
|
|
|
top: 50%;
|
|
|
|
}
|
|
|
|
.modal-body {
|
|
|
|
overflow-y: auto;
|
|
|
|
max-height: 400px;
|
2017-05-18 16:11:46 -04:00
|
|
|
padding: 10px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2014-04-20 15:16:06 -04:00
|
|
|
|
2017-03-10 11:57:18 -05:00
|
|
|
// we need a little extra room on mobile for the
|
2016-12-02 18:29:17 -05:00
|
|
|
// stuff inside the footer to fit
|
|
|
|
.modal-footer {
|
2017-05-18 16:11:46 -04:00
|
|
|
padding-left: 7px;
|
|
|
|
padding-right: 7px;
|
2016-12-02 18:29:17 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.modal-footer .btn + .btn {
|
2017-05-24 11:56:30 -04:00
|
|
|
margin-left: 5px;
|
|
|
|
margin-bottom: 0;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2014-11-12 03:39:32 -05:00
|
|
|
|
2017-03-31 04:47:49 -04:00
|
|
|
.modal-close {
|
|
|
|
display: inline-block;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
.modal-header {
|
2018-01-25 09:53:36 -05:00
|
|
|
padding: 10px 0 10px 10px;
|
2017-03-31 04:47:49 -04:00
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
h3 {
|
2017-05-18 17:08:45 -04:00
|
|
|
display: inline;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-up-2;
|
2018-01-25 09:53:36 -05:00
|
|
|
margin: 0;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
}
|
2014-06-18 14:04:10 -04:00
|
|
|
.close {
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-up-4;
|
2014-09-23 02:23:29 -04:00
|
|
|
padding: 10px 15px 5px 5px;
|
2014-06-18 14:04:10 -04:00
|
|
|
color: $primary;
|
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
|
|
|
|
#move-selected {
|
|
|
|
p {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=radio] {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
margin-top: 10px;
|
|
|
|
display: block;
|
|
|
|
width: 300px;
|
|
|
|
}
|
|
|
|
|
|
|
|
form {
|
|
|
|
margin-top: 20px;
|
|
|
|
input[type=text] {
|
2015-09-15 04:39:52 -04:00
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.flag-modal {
|
|
|
|
max-height: 450px;
|
|
|
|
}
|
|
|
|
|
2017-09-14 15:18:55 -04:00
|
|
|
@media only screen and (max-device-width: 568px) {
|
|
|
|
.modal .flag-modal .flag-message {
|
|
|
|
height: 1.2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
.custom-message-length {
|
2017-05-19 16:08:06 -04:00
|
|
|
margin: -4px 0 10px 20px;
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($primary-high, $secondary-low);
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-down-1;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.flag-message {
|
|
|
|
margin-left: 20px;
|
|
|
|
width: 95% !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-category-modal {
|
|
|
|
.modal-body {
|
2017-12-04 12:00:34 -05:00
|
|
|
box-sizing: border-box;
|
2013-09-05 15:37:07 -04:00
|
|
|
position: relative;
|
|
|
|
height: 350px;
|
|
|
|
}
|
|
|
|
&.small .modal-body {
|
|
|
|
height: 310px;
|
|
|
|
}
|
|
|
|
.secure-category-options {
|
|
|
|
margin: 10px 0 0 16px;
|
|
|
|
.badge-list {
|
|
|
|
margin: 10px 0;
|
|
|
|
li {
|
|
|
|
margin: 0 4px 8px 0;
|
|
|
|
a {
|
|
|
|
color: #888;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-03-10 11:57:18 -05:00
|
|
|
|
|
|
|
.disable_info_wrap .cannot_delete_reason {
|
|
|
|
top: -114px;
|
|
|
|
right: 8px;
|
|
|
|
min-width: 200px;
|
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.tabbed-modal {
|
|
|
|
.modal-body {
|
|
|
|
position: relative;
|
|
|
|
height: 350px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.modal-tab {
|
|
|
|
position: absolute;
|
|
|
|
}
|
2014-06-29 06:19:09 -04:00
|
|
|
|
|
|
|
/* fixes for the new account confirm dialog on mobile */
|
|
|
|
|
|
|
|
.modal-inner-container {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert {
|
|
|
|
padding: 5px;
|
|
|
|
&.alert-success {
|
2017-10-10 16:07:46 -04:00
|
|
|
background-color: $success-low;
|
2014-06-29 06:19:09 -04:00
|
|
|
color: $success;
|
|
|
|
}
|
2014-08-08 06:07:53 -04:00
|
|
|
}
|
|
|
|
|
2014-10-31 15:07:09 -04:00
|
|
|
#search-help {
|
2015-09-15 17:22:28 -04:00
|
|
|
max-width: 98%;
|
2014-10-31 15:07:09 -04:00
|
|
|
}
|
|
|
|
|
2015-09-15 17:22:28 -04:00
|
|
|
// this makes the table behave like a flat list
|
|
|
|
#search-help td {
|
|
|
|
display: block;
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#search-help h3 {
|
|
|
|
display: none;
|
2014-10-31 15:07:09 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#search-help p {
|
2015-09-15 17:22:28 -04:00
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#search-help .btn-primary {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#google-search form {
|
|
|
|
padding-left: 10px;
|
2015-08-19 01:02:01 -04:00
|
|
|
}
|
2017-05-04 09:09:52 -04:00
|
|
|
|
|
|
|
.change-timestamp-footer .btn-primary {
|
|
|
|
float: right;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|