2013-09-05 15:37:07 -04:00
|
|
|
// base styles for every modal popup used in Discourse
|
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.modal-open #main {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2014-03-12 23:17:18 -04:00
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
.modal-middle-container {
|
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 {
|
|
|
|
top: 10%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal.fade {
|
2018-06-08 05:49:31 -04:00
|
|
|
transition: opacity 0.3s linear, top 0.3s ease-out;
|
2013-09-05 15:37:07 -04:00
|
|
|
top: -25%;
|
|
|
|
}
|
|
|
|
.modal.fade.in {
|
|
|
|
top: 50%;
|
|
|
|
}
|
|
|
|
.modal-body {
|
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 {
|
2018-06-08 05:49:31 -04:00
|
|
|
padding: 10px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2014-11-12 03:39:32 -05:00
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
.modal-header {
|
2018-06-08 05:49:31 -04:00
|
|
|
padding: 10px;
|
2013-09-05 15:37:07 -04:00
|
|
|
h3 {
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-up-2;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
}
|
2018-02-23 13:14:32 -05:00
|
|
|
|
2014-06-18 14:04:10 -04:00
|
|
|
.close {
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-up-4;
|
2014-06-18 14:04:10 -04:00
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
|
|
|
|
#move-selected {
|
|
|
|
p {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
input[type="radio"] {
|
2013-09-05 15:37:07 -04:00
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
2018-07-06 12:21:32 -04:00
|
|
|
.category-chooser {
|
|
|
|
margin-bottom: 9px;
|
|
|
|
}
|
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
button {
|
|
|
|
margin-top: 10px;
|
|
|
|
display: block;
|
|
|
|
width: 300px;
|
|
|
|
}
|
|
|
|
|
|
|
|
form {
|
|
|
|
margin-top: 20px;
|
2019-03-06 05:29:45 -05:00
|
|
|
input:not(.filter-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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-14 15:18:55 -04:00
|
|
|
@media only screen and (max-device-width: 568px) {
|
|
|
|
.modal .flag-modal .flag-message {
|
2018-02-23 21:41:40 -05:00
|
|
|
height: 3em;
|
2017-09-14 15:18:55 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
.edit-category-modal {
|
|
|
|
.modal-body {
|
|
|
|
position: relative;
|
|
|
|
height: 350px;
|
|
|
|
}
|
|
|
|
&.small .modal-body {
|
|
|
|
height: 310px;
|
|
|
|
}
|
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
|
|
|
}
|
|
|
|
|
2014-06-29 06:19:09 -04:00
|
|
|
/* fixes for the new account confirm dialog on mobile */
|
|
|
|
|
|
|
|
.modal-inner-container {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
2019-06-24 12:23:51 -04:00
|
|
|
|
|
|
|
/* fix for tall modals */
|
|
|
|
|
|
|
|
.fixed-modal {
|
|
|
|
.modal-middle-container {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
.modal-inner-container {
|
|
|
|
max-height: 90vh;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
}
|