sweetalert2
Version:
A beautiful, responsive, customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes, supported fork of sweetalert
1,282 lines (1,239 loc) • 40.1 kB
CSS
@-webkit-keyframes swal2-show {
0% {
-webkit-transform: scale(0.7);
transform: scale(0.7); }
45% {
-webkit-transform: scale(1.05);
transform: scale(1.05); }
80% {
-webkit-transform: scale(0.95);
transform: scale(0.95); }
100% {
-webkit-transform: scale(1);
transform: scale(1); } }
@keyframes swal2-show {
0% {
-webkit-transform: scale(0.7);
transform: scale(0.7); }
45% {
-webkit-transform: scale(1.05);
transform: scale(1.05); }
80% {
-webkit-transform: scale(0.95);
transform: scale(0.95); }
100% {
-webkit-transform: scale(1);
transform: scale(1); } }
@-webkit-keyframes swal2-hide {
0% {
-webkit-transform: scale(1);
transform: scale(1);
opacity: 1; }
100% {
-webkit-transform: scale(0.5);
transform: scale(0.5);
opacity: 0; } }
@keyframes swal2-hide {
0% {
-webkit-transform: scale(1);
transform: scale(1);
opacity: 1; }
100% {
-webkit-transform: scale(0.5);
transform: scale(0.5);
opacity: 0; } }
@-webkit-keyframes swal2-animate-success-line-tip {
0% {
top: 19px;
left: 1px;
width: 0; }
54% {
top: 17px;
left: 2px;
width: 0; }
70% {
top: 35px;
left: -6px;
width: 50px; }
84% {
top: 48px;
left: 21px;
width: 17px; }
100% {
top: 45px;
left: 14px;
width: 25px; } }
@keyframes swal2-animate-success-line-tip {
0% {
top: 19px;
left: 1px;
width: 0; }
54% {
top: 17px;
left: 2px;
width: 0; }
70% {
top: 35px;
left: -6px;
width: 50px; }
84% {
top: 48px;
left: 21px;
width: 17px; }
100% {
top: 45px;
left: 14px;
width: 25px; } }
@-webkit-keyframes swal2-animate-success-line-long {
0% {
top: 54px;
right: 46px;
width: 0; }
65% {
top: 54px;
right: 46px;
width: 0; }
84% {
top: 35px;
right: 0;
width: 55px; }
100% {
top: 38px;
right: 8px;
width: 47px; } }
@keyframes swal2-animate-success-line-long {
0% {
top: 54px;
right: 46px;
width: 0; }
65% {
top: 54px;
right: 46px;
width: 0; }
84% {
top: 35px;
right: 0;
width: 55px; }
100% {
top: 38px;
right: 8px;
width: 47px; } }
@-webkit-keyframes swal2-rotate-success-circular-line {
0% {
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg); }
5% {
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg); }
12% {
-webkit-transform: rotate(-405deg);
transform: rotate(-405deg); }
100% {
-webkit-transform: rotate(-405deg);
transform: rotate(-405deg); } }
@keyframes swal2-rotate-success-circular-line {
0% {
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg); }
5% {
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg); }
12% {
-webkit-transform: rotate(-405deg);
transform: rotate(-405deg); }
100% {
-webkit-transform: rotate(-405deg);
transform: rotate(-405deg); } }
@-webkit-keyframes swal2-animate-error-x-mark {
0% {
margin-top: 26px;
-webkit-transform: scale(0.4);
transform: scale(0.4);
opacity: 0; }
50% {
margin-top: 26px;
-webkit-transform: scale(0.4);
transform: scale(0.4);
opacity: 0; }
80% {
margin-top: -6px;
-webkit-transform: scale(1.15);
transform: scale(1.15); }
100% {
margin-top: 0;
-webkit-transform: scale(1);
transform: scale(1);
opacity: 1; } }
@keyframes swal2-animate-error-x-mark {
0% {
margin-top: 26px;
-webkit-transform: scale(0.4);
transform: scale(0.4);
opacity: 0; }
50% {
margin-top: 26px;
-webkit-transform: scale(0.4);
transform: scale(0.4);
opacity: 0; }
80% {
margin-top: -6px;
-webkit-transform: scale(1.15);
transform: scale(1.15); }
100% {
margin-top: 0;
-webkit-transform: scale(1);
transform: scale(1);
opacity: 1; } }
@-webkit-keyframes swal2-animate-error-icon {
0% {
-webkit-transform: rotateX(100deg);
transform: rotateX(100deg);
opacity: 0; }
100% {
-webkit-transform: rotateX(0deg);
transform: rotateX(0deg);
opacity: 1; } }
@keyframes swal2-animate-error-icon {
0% {
-webkit-transform: rotateX(100deg);
transform: rotateX(100deg);
opacity: 0; }
100% {
-webkit-transform: rotateX(0deg);
transform: rotateX(0deg);
opacity: 1; } }
body.swal2-toast-shown.swal2-has-input > .swal2-container > .swal2-toast {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: stretch;
-ms-flex-align: stretch;
align-items: stretch; }
body.swal2-toast-shown.swal2-has-input > .swal2-container > .swal2-toast .swal2-actions {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
-ms-flex-item-align: stretch;
align-self: stretch;
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
height: 2.2em; }
body.swal2-toast-shown.swal2-has-input > .swal2-container > .swal2-toast .swal2-loading {
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center; }
body.swal2-toast-shown.swal2-has-input > .swal2-container > .swal2-toast .swal2-input {
height: 2em;
margin: .3125em auto;
font-size: 1em; }
body.swal2-toast-shown.swal2-has-input > .swal2-container > .swal2-toast .swal2-validationerror {
font-size: 1em; }
body.swal2-toast-shown > .swal2-container {
position: fixed;
background-color: transparent; }
body.swal2-toast-shown > .swal2-container.swal2-shown {
background-color: transparent; }
body.swal2-toast-shown > .swal2-container.swal2-top {
top: 0;
right: auto;
bottom: auto;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%); }
body.swal2-toast-shown > .swal2-container.swal2-top-end, body.swal2-toast-shown > .swal2-container.swal2-top-right {
top: 0;
right: 0;
bottom: auto;
left: auto; }
body.swal2-toast-shown > .swal2-container.swal2-top-start, body.swal2-toast-shown > .swal2-container.swal2-top-left {
top: 0;
right: auto;
bottom: auto;
left: 0; }
body.swal2-toast-shown > .swal2-container.swal2-center-start, body.swal2-toast-shown > .swal2-container.swal2-center-left {
top: 50%;
right: auto;
bottom: auto;
left: 0;
-webkit-transform: translateY(-50%);
transform: translateY(-50%); }
body.swal2-toast-shown > .swal2-container.swal2-center {
top: 50%;
right: auto;
bottom: auto;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%); }
body.swal2-toast-shown > .swal2-container.swal2-center-end, body.swal2-toast-shown > .swal2-container.swal2-center-right {
top: 50%;
right: 0;
bottom: auto;
left: auto;
-webkit-transform: translateY(-50%);
transform: translateY(-50%); }
body.swal2-toast-shown > .swal2-container.swal2-bottom-start, body.swal2-toast-shown > .swal2-container.swal2-bottom-left {
top: auto;
right: auto;
bottom: 0;
left: 0; }
body.swal2-toast-shown > .swal2-container.swal2-bottom {
top: auto;
right: auto;
bottom: 0;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%); }
body.swal2-toast-shown > .swal2-container.swal2-bottom-end, body.swal2-toast-shown > .swal2-container.swal2-bottom-right {
top: auto;
right: 0;
bottom: 0;
left: auto; }
.swal2-popup.swal2-toast {
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
width: auto;
padding: 0.625em;
-webkit-box-shadow: 0 0 10px #d9d9d9;
box-shadow: 0 0 10px #d9d9d9;
overflow-y: hidden; }
.swal2-popup.swal2-toast .swal2-header {
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row; }
.swal2-popup.swal2-toast .swal2-title {
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
margin: 0 .6em;
font-size: 1em; }
.swal2-popup.swal2-toast .swal2-close {
position: initial; }
.swal2-popup.swal2-toast .swal2-content {
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
font-size: 1em; }
.swal2-popup.swal2-toast .swal2-icon {
width: 32px;
min-width: 32px;
height: 32px;
margin: 0; }
.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring {
width: 32px;
height: 32px; }
.swal2-popup.swal2-toast .swal2-icon.swal2-info, .swal2-popup.swal2-toast .swal2-icon.swal2-warning, .swal2-popup.swal2-toast .swal2-icon.swal2-question {
font-size: 26px;
line-height: 32px; }
.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^='swal2-x-mark-line'] {
top: 14px;
width: 22px; }
.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^='swal2-x-mark-line'][class$='left'] {
left: 5px; }
.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^='swal2-x-mark-line'][class$='right'] {
right: 5px; }
.swal2-popup.swal2-toast .swal2-actions {
height: auto;
margin: 0 .3125em; }
.swal2-popup.swal2-toast .swal2-styled {
margin: 0 .3125em;
padding: .3125em .625em;
font-size: 1em; }
.swal2-popup.swal2-toast .swal2-styled:focus {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba(50, 100, 150, 0.4);
box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba(50, 100, 150, 0.4); }
.swal2-popup.swal2-toast .swal2-success {
border-color: #a5dc86; }
.swal2-popup.swal2-toast .swal2-success [class^='swal2-success-circular-line'] {
position: absolute;
width: 32px;
height: 45px;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
border-radius: 50%; }
.swal2-popup.swal2-toast .swal2-success [class^='swal2-success-circular-line'][class$='left'] {
top: -4px;
left: -15px;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
-webkit-transform-origin: 32px 32px;
transform-origin: 32px 32px;
border-radius: 64px 0 0 64px; }
.swal2-popup.swal2-toast .swal2-success [class^='swal2-success-circular-line'][class$='right'] {
top: -4px;
left: 15px;
-webkit-transform-origin: 0 32px;
transform-origin: 0 32px;
border-radius: 0 64px 64px 0; }
.swal2-popup.swal2-toast .swal2-success .swal2-success-ring {
width: 32px;
height: 32px; }
.swal2-popup.swal2-toast .swal2-success .swal2-success-fix {
top: 0;
left: 7px;
width: 7px;
height: 43px; }
.swal2-popup.swal2-toast .swal2-success [class^='swal2-success-line'] {
height: 5px; }
.swal2-popup.swal2-toast .swal2-success [class^='swal2-success-line'][class$='tip'] {
top: 18px;
left: 3px;
width: 12px; }
.swal2-popup.swal2-toast .swal2-success [class^='swal2-success-line'][class$='long'] {
top: 15px;
right: 3px;
width: 22px; }
.swal2-popup.swal2-toast.swal2-show {
-webkit-animation: showSweetToast .5s;
animation: showSweetToast .5s; }
.swal2-popup.swal2-toast.swal2-hide {
-webkit-animation: hideSweetToast .2s forwards;
animation: hideSweetToast .2s forwards; }
.swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-tip {
-webkit-animation: animate-toast-success-tip .75s;
animation: animate-toast-success-tip .75s; }
.swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-long {
-webkit-animation: animate-toast-success-long .75s;
animation: animate-toast-success-long .75s; }
@-webkit-keyframes showSweetToast {
0% {
-webkit-transform: translateY(-10px) rotateZ(2deg);
transform: translateY(-10px) rotateZ(2deg);
opacity: 0; }
33% {
-webkit-transform: translateY(0) rotateZ(-2deg);
transform: translateY(0) rotateZ(-2deg);
opacity: .5; }
66% {
-webkit-transform: translateY(5px) rotateZ(2deg);
transform: translateY(5px) rotateZ(2deg);
opacity: .7; }
100% {
-webkit-transform: translateY(0) rotateZ(0);
transform: translateY(0) rotateZ(0);
opacity: 1; } }
@keyframes showSweetToast {
0% {
-webkit-transform: translateY(-10px) rotateZ(2deg);
transform: translateY(-10px) rotateZ(2deg);
opacity: 0; }
33% {
-webkit-transform: translateY(0) rotateZ(-2deg);
transform: translateY(0) rotateZ(-2deg);
opacity: .5; }
66% {
-webkit-transform: translateY(5px) rotateZ(2deg);
transform: translateY(5px) rotateZ(2deg);
opacity: .7; }
100% {
-webkit-transform: translateY(0) rotateZ(0);
transform: translateY(0) rotateZ(0);
opacity: 1; } }
@-webkit-keyframes hideSweetToast {
0% {
opacity: 1; }
33% {
opacity: .5; }
100% {
-webkit-transform: rotateZ(1deg);
transform: rotateZ(1deg);
opacity: 0; } }
@keyframes hideSweetToast {
0% {
opacity: 1; }
33% {
opacity: .5; }
100% {
-webkit-transform: rotateZ(1deg);
transform: rotateZ(1deg);
opacity: 0; } }
@-webkit-keyframes animate-toast-success-tip {
0% {
top: 9px;
left: 1px;
width: 0; }
54% {
top: 2px;
left: 2px;
width: 0; }
70% {
top: 10px;
left: -4px;
width: 26px; }
84% {
top: 17px;
left: 12px;
width: 8px; }
100% {
top: 18px;
left: 3px;
width: 12px; } }
@keyframes animate-toast-success-tip {
0% {
top: 9px;
left: 1px;
width: 0; }
54% {
top: 2px;
left: 2px;
width: 0; }
70% {
top: 10px;
left: -4px;
width: 26px; }
84% {
top: 17px;
left: 12px;
width: 8px; }
100% {
top: 18px;
left: 3px;
width: 12px; } }
@-webkit-keyframes animate-toast-success-long {
0% {
top: 26px;
right: 22px;
width: 0; }
65% {
top: 20px;
right: 15px;
width: 0; }
84% {
top: 15px;
right: 0;
width: 18px; }
100% {
top: 15px;
right: 3px;
width: 22px; } }
@keyframes animate-toast-success-long {
0% {
top: 26px;
right: 22px;
width: 0; }
65% {
top: 20px;
right: 15px;
width: 0; }
84% {
top: 15px;
right: 0;
width: 18px; }
100% {
top: 15px;
right: 3px;
width: 22px; } }
html.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown),
body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) {
height: auto;
overflow-y: hidden; }
body.swal2-no-backdrop .swal2-shown {
top: auto;
right: auto;
bottom: auto;
left: auto;
background-color: transparent; }
body.swal2-no-backdrop .swal2-shown > .swal2-modal {
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.4); }
body.swal2-no-backdrop .swal2-shown.swal2-top {
top: 0;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%); }
body.swal2-no-backdrop .swal2-shown.swal2-top-start, body.swal2-no-backdrop .swal2-shown.swal2-top-left {
top: 0;
left: 0; }
body.swal2-no-backdrop .swal2-shown.swal2-top-end, body.swal2-no-backdrop .swal2-shown.swal2-top-right {
top: 0;
right: 0; }
body.swal2-no-backdrop .swal2-shown.swal2-center {
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%); }
body.swal2-no-backdrop .swal2-shown.swal2-center-start, body.swal2-no-backdrop .swal2-shown.swal2-center-left {
top: 50%;
left: 0;
-webkit-transform: translateY(-50%);
transform: translateY(-50%); }
body.swal2-no-backdrop .swal2-shown.swal2-center-end, body.swal2-no-backdrop .swal2-shown.swal2-center-right {
top: 50%;
right: 0;
-webkit-transform: translateY(-50%);
transform: translateY(-50%); }
body.swal2-no-backdrop .swal2-shown.swal2-bottom {
bottom: 0;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%); }
body.swal2-no-backdrop .swal2-shown.swal2-bottom-start, body.swal2-no-backdrop .swal2-shown.swal2-bottom-left {
bottom: 0;
left: 0; }
body.swal2-no-backdrop .swal2-shown.swal2-bottom-end, body.swal2-no-backdrop .swal2-shown.swal2-bottom-right {
right: 0;
bottom: 0; }
.swal2-container {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
padding: 10px;
background-color: transparent;
z-index: 1060;
overflow-x: hidden;
-webkit-overflow-scrolling: touch; }
.swal2-container.swal2-top {
-webkit-box-align: start;
-ms-flex-align: start;
align-items: flex-start; }
.swal2-container.swal2-top-start, .swal2-container.swal2-top-left {
-webkit-box-align: start;
-ms-flex-align: start;
align-items: flex-start;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start; }
.swal2-container.swal2-top-end, .swal2-container.swal2-top-right {
-webkit-box-align: start;
-ms-flex-align: start;
align-items: flex-start;
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end; }
.swal2-container.swal2-center {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center; }
.swal2-container.swal2-center-start, .swal2-container.swal2-center-left {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start; }
.swal2-container.swal2-center-end, .swal2-container.swal2-center-right {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end; }
.swal2-container.swal2-bottom {
-webkit-box-align: end;
-ms-flex-align: end;
align-items: flex-end; }
.swal2-container.swal2-bottom-start, .swal2-container.swal2-bottom-left {
-webkit-box-align: end;
-ms-flex-align: end;
align-items: flex-end;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start; }
.swal2-container.swal2-bottom-end, .swal2-container.swal2-bottom-right {
-webkit-box-align: end;
-ms-flex-align: end;
align-items: flex-end;
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end; }
.swal2-container.swal2-grow-fullscreen > .swal2-modal {
display: -webkit-box ;
display: -ms-flexbox ;
display: flex ;
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
-ms-flex-item-align: stretch;
align-self: stretch;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center; }
.swal2-container.swal2-grow-row > .swal2-modal {
display: -webkit-box ;
display: -ms-flexbox ;
display: flex ;
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
-ms-flex-line-pack: center;
align-content: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center; }
.swal2-container.swal2-grow-column {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column; }
.swal2-container.swal2-grow-column.swal2-top, .swal2-container.swal2-grow-column.swal2-center, .swal2-container.swal2-grow-column.swal2-bottom {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center; }
.swal2-container.swal2-grow-column.swal2-top-start, .swal2-container.swal2-grow-column.swal2-center-start, .swal2-container.swal2-grow-column.swal2-bottom-start, .swal2-container.swal2-grow-column.swal2-top-left, .swal2-container.swal2-grow-column.swal2-center-left, .swal2-container.swal2-grow-column.swal2-bottom-left {
-webkit-box-align: start;
-ms-flex-align: start;
align-items: flex-start; }
.swal2-container.swal2-grow-column.swal2-top-end, .swal2-container.swal2-grow-column.swal2-center-end, .swal2-container.swal2-grow-column.swal2-bottom-end, .swal2-container.swal2-grow-column.swal2-top-right, .swal2-container.swal2-grow-column.swal2-center-right, .swal2-container.swal2-grow-column.swal2-bottom-right {
-webkit-box-align: end;
-ms-flex-align: end;
align-items: flex-end; }
.swal2-container.swal2-grow-column > .swal2-modal {
display: -webkit-box ;
display: -ms-flexbox ;
display: flex ;
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
-ms-flex-line-pack: center;
align-content: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center; }
.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right) > .swal2-modal {
margin: auto; }
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
.swal2-container .swal2-modal {
margin: 0 ; } }
.swal2-container.swal2-fade {
-webkit-transition: background-color .1s;
transition: background-color .1s; }
.swal2-container.swal2-shown {
background-color: rgba(0, 0, 0, 0.4); }
.swal2-popup {
display: none;
position: relative;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
width: 32em;
max-width: 100%;
padding: 1.25em;
border-radius: 0.3125em;
background: #fff;
font-family: inherit;
font-size: 1rem;
-webkit-box-sizing: border-box;
box-sizing: border-box; }
.swal2-popup:focus {
outline: none; }
.swal2-popup.swal2-loading {
overflow-y: hidden; }
.swal2-popup .swal2-header {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center; }
.swal2-popup .swal2-title {
display: block;
position: relative;
max-width: 100%;
margin: 0 0 0.4em;
padding: 0;
color: #595959;
font-size: 1.875em;
font-weight: 600;
text-align: center;
text-transform: none;
word-wrap: break-word; }
.swal2-popup .swal2-actions {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
margin: 1.25em auto 0; }
.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled[disabled] {
opacity: .4; }
.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled:hover {
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.1)), to(rgba(0, 0, 0, 0.1)));
background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)); }
.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled:active {
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.2)), to(rgba(0, 0, 0, 0.2)));
background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)); }
.swal2-popup .swal2-actions.swal2-loading .swal2-styled.swal2-confirm {
width: 2.5em;
height: 2.5em;
margin: .46875em;
padding: 0;
border: .25em solid transparent;
border-radius: 100%;
border-color: transparent;
background-color: transparent ;
color: transparent;
cursor: default;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-webkit-animation: swal2-rotate-loading 1.5s linear 0s infinite normal;
animation: swal2-rotate-loading 1.5s linear 0s infinite normal;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
.swal2-popup .swal2-actions.swal2-loading .swal2-styled.swal2-cancel {
margin-right: 30px;
margin-left: 30px; }
.swal2-popup .swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm::after {
display: inline-block;
width: 15px;
height: 15px;
margin-left: 5px;
border: 3px solid #999999;
border-radius: 50%;
border-right-color: transparent;
-webkit-box-shadow: 1px 1px 1px #fff;
box-shadow: 1px 1px 1px #fff;
content: '';
-webkit-animation: swal2-rotate-loading 1.5s linear 0s infinite normal;
animation: swal2-rotate-loading 1.5s linear 0s infinite normal; }
.swal2-popup .swal2-styled {
margin: 0 .3125em;
padding: .625em 2em;
font-weight: 500;
-webkit-box-shadow: none;
box-shadow: none; }
.swal2-popup .swal2-styled:not([disabled]) {
cursor: pointer; }
.swal2-popup .swal2-styled.swal2-confirm {
border: 0;
border-radius: 0.25em;
background-color: #3085d6;
color: #fff;
font-size: 1.0625em; }
.swal2-popup .swal2-styled.swal2-cancel {
border: 0;
border-radius: 0.25em;
background-color: #aaa;
color: #fff;
font-size: 1.0625em; }
.swal2-popup .swal2-styled:focus {
outline: none;
-webkit-box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(50, 100, 150, 0.4);
box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(50, 100, 150, 0.4); }
.swal2-popup .swal2-styled::-moz-focus-inner {
border: 0; }
.swal2-popup .swal2-footer {
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
margin: 1.25em 0 0;
padding-top: 1em;
border-top: 1px solid #eee;
color: #545454;
font-size: 1em; }
.swal2-popup .swal2-image {
max-width: 100%;
margin: 1.25em auto; }
.swal2-popup .swal2-close {
position: absolute;
top: 0;
right: 0;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
width: 1.2em;
min-width: 1.2em;
height: 1.2em;
margin: 0;
padding: 0;
-webkit-transition: color 0.1s ease-out;
transition: color 0.1s ease-out;
border: none;
border-radius: 0;
background: transparent;
color: #cccccc;
font-family: serif;
font-size: calc(2.5em - 0.25em);
line-height: 1.2em;
cursor: pointer; }
.swal2-popup .swal2-close:hover {
-webkit-transform: none;
transform: none;
color: #f27474; }
.swal2-popup > .swal2-input,
.swal2-popup > .swal2-file,
.swal2-popup > .swal2-textarea,
.swal2-popup > .swal2-select,
.swal2-popup > .swal2-radio,
.swal2-popup > .swal2-checkbox {
display: none; }
.swal2-popup .swal2-content {
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
margin: 0;
padding: 0;
color: #545454;
font-size: 1.125em;
font-weight: 300;
line-height: normal;
word-wrap: break-word; }
.swal2-popup #swal2-content {
text-align: center; }
.swal2-popup .swal2-input,
.swal2-popup .swal2-file,
.swal2-popup .swal2-textarea,
.swal2-popup .swal2-select,
.swal2-popup .swal2-radio,
.swal2-popup .swal2-checkbox {
margin: 1em auto; }
.swal2-popup .swal2-input,
.swal2-popup .swal2-file,
.swal2-popup .swal2-textarea {
width: 100%;
-webkit-transition: border-color .3s, -webkit-box-shadow .3s;
transition: border-color .3s, -webkit-box-shadow .3s;
transition: border-color .3s, box-shadow .3s;
transition: border-color .3s, box-shadow .3s, -webkit-box-shadow .3s;
border: 1px solid #d9d9d9;
border-radius: 0.1875em;
font-size: 1.125em;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06);
-webkit-box-sizing: border-box;
box-sizing: border-box; }
.swal2-popup .swal2-input.swal2-inputerror,
.swal2-popup .swal2-file.swal2-inputerror,
.swal2-popup .swal2-textarea.swal2-inputerror {
border-color: #f27474 ;
-webkit-box-shadow: 0 0 2px #f27474 ;
box-shadow: 0 0 2px #f27474 ; }
.swal2-popup .swal2-input:focus,
.swal2-popup .swal2-file:focus,
.swal2-popup .swal2-textarea:focus {
border: 1px solid #b4dbed;
outline: none;
-webkit-box-shadow: 0 0 3px #c4e6f5;
box-shadow: 0 0 3px #c4e6f5; }
.swal2-popup .swal2-input::-webkit-input-placeholder,
.swal2-popup .swal2-file::-webkit-input-placeholder,
.swal2-popup .swal2-textarea::-webkit-input-placeholder {
color: #cccccc; }
.swal2-popup .swal2-input:-ms-input-placeholder,
.swal2-popup .swal2-file:-ms-input-placeholder,
.swal2-popup .swal2-textarea:-ms-input-placeholder {
color: #cccccc; }
.swal2-popup .swal2-input::-ms-input-placeholder,
.swal2-popup .swal2-file::-ms-input-placeholder,
.swal2-popup .swal2-textarea::-ms-input-placeholder {
color: #cccccc; }
.swal2-popup .swal2-input::placeholder,
.swal2-popup .swal2-file::placeholder,
.swal2-popup .swal2-textarea::placeholder {
color: #cccccc; }
.swal2-popup .swal2-range input {
width: 80%; }
.swal2-popup .swal2-range output {
width: 20%;
font-weight: 600;
text-align: center; }
.swal2-popup .swal2-range input,
.swal2-popup .swal2-range output {
height: 2.625em;
margin: 1em auto;
padding: 0;
font-size: 1.125em;
line-height: 2.625em; }
.swal2-popup .swal2-input {
height: 2.625em;
padding: 0.75em; }
.swal2-popup .swal2-input[type='number'] {
max-width: 10em; }
.swal2-popup .swal2-file {
font-size: 1.125em; }
.swal2-popup .swal2-textarea {
height: 6.75em;
padding: 0.75em; }
.swal2-popup .swal2-select {
min-width: 50%;
max-width: 100%;
padding: .375em .625em;
color: #545454;
font-size: 1.125em; }
.swal2-popup .swal2-radio,
.swal2-popup .swal2-checkbox {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center; }
.swal2-popup .swal2-radio label,
.swal2-popup .swal2-checkbox label {
margin: 0 .6em;
font-size: 1.125em; }
.swal2-popup .swal2-radio input,
.swal2-popup .swal2-checkbox input {
margin: 0 .4em; }
.swal2-popup .swal2-validationerror {
display: none;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
padding: 0.625em;
background: #f0f0f0;
color: #666666;
font-size: 1em;
font-weight: 300;
overflow: hidden; }
.swal2-popup .swal2-validationerror::before {
display: inline-block;
width: 1.5em;
height: 1.5em;
margin: 0 .625em;
border-radius: 50%;
background-color: #f27474;
color: #fff;
font-weight: 600;
line-height: 1.5em;
text-align: center;
content: '!';
zoom: normal; }
@supports (-ms-accelerator: true) {
.swal2-range input {
width: 100% ; }
.swal2-range output {
display: none; } }
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
.swal2-range input {
width: 100% ; }
.swal2-range output {
display: none; } }
.swal2-icon {
position: relative;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
width: 80px;
height: 80px;
margin: 1.25em auto 1.875em;
border: 4px solid transparent;
border-radius: 50%;
line-height: 80px;
cursor: default;
-webkit-box-sizing: content-box;
box-sizing: content-box;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
zoom: normal; }
.swal2-icon.swal2-error {
border-color: #f27474; }
.swal2-icon.swal2-error .swal2-x-mark {
position: relative;
-webkit-box-flex: 1;
-ms-flex-positive: 1;
flex-grow: 1; }
.swal2-icon.swal2-error [class^='swal2-x-mark-line'] {
display: block;
position: absolute;
top: 37px;
width: 47px;
height: 5px;
border-radius: 2px;
background-color: #f27474; }
.swal2-icon.swal2-error [class^='swal2-x-mark-line'][class$='left'] {
left: 17px;
-webkit-transform: rotate(45deg);
transform: rotate(45deg); }
.swal2-icon.swal2-error [class^='swal2-x-mark-line'][class$='right'] {
right: 16px;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg); }
.swal2-icon.swal2-warning, .swal2-icon.swal2-info, .swal2-icon.swal2-question {
margin: .333333em auto .5em;
font-family: inherit;
font-size: 3.75em; }
.swal2-icon.swal2-warning {
border-color: #facea8;
color: #f8bb86; }
.swal2-icon.swal2-info {
border-color: #9de0f6;
color: #3fc3ee; }
.swal2-icon.swal2-question {
border-color: #c9dae1;
color: #87adbd; }
.swal2-icon.swal2-success {
border-color: #a5dc86; }
.swal2-icon.swal2-success [class^='swal2-success-circular-line'] {
position: absolute;
width: 60px;
height: 120px;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
border-radius: 50%; }
.swal2-icon.swal2-success [class^='swal2-success-circular-line'][class$='left'] {
top: -7px;
left: -33px;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
-webkit-transform-origin: 60px 60px;
transform-origin: 60px 60px;
border-radius: 120px 0 0 120px; }
.swal2-icon.swal2-success [class^='swal2-success-circular-line'][class$='right'] {
top: -11px;
left: 30px;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
-webkit-transform-origin: 0 60px;
transform-origin: 0 60px;
border-radius: 0 120px 120px 0; }
.swal2-icon.swal2-success .swal2-success-ring {
position: absolute;
top: -4px;
left: -4px;
width: 80px;
height: 80px;
border: 4px solid rgba(165, 220, 134, 0.3);
border-radius: 50%;
z-index: 2;
-webkit-box-sizing: content-box;
box-sizing: content-box; }
.swal2-icon.swal2-success .swal2-success-fix {
position: absolute;
top: 8px;
left: 26px;
width: 7px;
height: 90px;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
z-index: 1; }
.swal2-icon.swal2-success [class^='swal2-success-line'] {
display: block;
position: absolute;
height: 5px;
border-radius: 2px;
background-color: #a5dc86;
z-index: 2; }
.swal2-icon.swal2-success [class^='swal2-success-line'][class$='tip'] {
top: 46px;
left: 14px;
width: 25px;
-webkit-transform: rotate(45deg);
transform: rotate(45deg); }
.swal2-icon.swal2-success [class^='swal2-success-line'][class$='long'] {
top: 38px;
right: 8px;
width: 47px;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg); }
.swal2-progresssteps {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
margin: 0 0 1.25em;
padding: 0;
font-weight: 600; }
.swal2-progresssteps li {
display: inline-block;
position: relative; }
.swal2-progresssteps .swal2-progresscircle {
width: 2em;
height: 2em;
border-radius: 2em;
background: #3085d6;
color: #fff;
line-height: 2em;
text-align: center;
z-index: 20; }
.swal2-progresssteps .swal2-progresscircle:first-child {
margin-left: 0; }
.swal2-progresssteps .swal2-progresscircle:last-child {
margin-right: 0; }
.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep {
background: #3085d6; }
.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep ~ .swal2-progresscircle {
background: #add8e6; }
.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep ~ .swal2-progressline {
background: #add8e6; }
.swal2-progresssteps .swal2-progressline {
width: 2.5em;
height: .4em;
margin: 0 -1px;
background: #3085d6;
z-index: 10; }
[class^='swal2'] {
-webkit-tap-highlight-color: transparent; }
.swal2-show {
-webkit-animation: swal2-show 0.3s;
animation: swal2-show 0.3s; }
.swal2-show.swal2-noanimation {
-webkit-animation: none;
animation: none; }
.swal2-hide {
-webkit-animation: swal2-hide 0.15s forwards;
animation: swal2-hide 0.15s forwards; }
.swal2-hide.swal2-noanimation {
-webkit-animation: none;
animation: none; }
[dir='rtl'] .swal2-close {
right: auto;
left: 0; }
.swal2-animate-success-icon .swal2-success-line-tip {
-webkit-animation: swal2-animate-success-line-tip 0.75s;
animation: swal2-animate-success-line-tip 0.75s; }
.swal2-animate-success-icon .swal2-success-line-long {
-webkit-animation: swal2-animate-success-line-long 0.75s;
animation: swal2-animate-success-line-long 0.75s; }
.swal2-animate-success-icon .swal2-success-circular-line-right {
-webkit-animation: swal2-rotate-success-circular-line 4.25s ease-in;
animation: swal2-rotate-success-circular-line 4.25s ease-in; }
.swal2-animate-error-icon {
-webkit-animation: swal2-animate-error-icon 0.5s;
animation: swal2-animate-error-icon 0.5s; }
.swal2-animate-error-icon .swal2-x-mark {
-webkit-animation: swal2-animate-error-x-mark 0.5s;
animation: swal2-animate-error-x-mark 0.5s; }
@-webkit-keyframes swal2-rotate-loading {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg); }
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg); } }
@keyframes swal2-rotate-loading {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg); }
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg); } }