mirror of
https://github.com/pretix/pretix.git
synced 2026-05-18 17:24:03 +00:00
update dialog markup
This commit is contained in:
@@ -297,11 +297,11 @@ var waitingDialog = {
|
||||
$("#loadingmodal .progress").hide();
|
||||
$("#loadingmodal .steps").hide();
|
||||
$("body").addClass("loading");
|
||||
$("#loadingmodal").removeAttr("hidden");
|
||||
$("#loadingmodal").removeAttr("hidden has-modal-dialog");
|
||||
},
|
||||
hide: function () {
|
||||
"use strict";
|
||||
$("body").removeClass("loading");
|
||||
$("body").removeClass("loading has-modal-dialog");
|
||||
$("#loadingmodal").attr("hidden", true);
|
||||
}
|
||||
};
|
||||
@@ -312,10 +312,10 @@ var ajaxErrDialog = {
|
||||
$("#ajaxerr").html(c);
|
||||
$("#ajaxerr .links").html("<a class='btn btn-default ajaxerr-close'>"
|
||||
+ gettext("Close message") + "</a>");
|
||||
$("body").addClass("ajaxerr");
|
||||
$("body").addClass("ajaxerr has-modal-dialog");
|
||||
},
|
||||
hide: function () {
|
||||
"use strict";
|
||||
$("body").removeClass("ajaxerr");
|
||||
$("body").removeClass("ajaxerr has-modal-dialog");
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
body.has-modal-dialog .container, body.has-modal-dialog #wrapper {
|
||||
-webkit-filter: blur(2px);
|
||||
-moz-filter: blur(2px);
|
||||
@@ -14,10 +13,6 @@ body.has-modal-dialog .container, body.has-modal-dialog #wrapper {
|
||||
color: $brand-primary;
|
||||
}
|
||||
|
||||
dialog.modal-card::backdrop {
|
||||
background: rgba(255, 255, 255, .7);
|
||||
}
|
||||
|
||||
.modal-wrapper {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
|
||||
Reference in New Issue
Block a user