@sweetalert2/theme-bootstrap-4
Version:
Bootstrap 4 theme for SweetAlert2
1,537 lines (1,512 loc) • 39.6 kB
CSS
/*
* @sweetalert2/themes v5.0.27
* Released under the MIT License.
*/
@keyframes fadeInDown {
from {
transform: translate3d(0, -100%, 0);
opacity: 0;
}
to {
transform: translate3d(0, 0, 0);
opacity: 1;
}
}
@keyframes fadeOutUp {
from {
opacity: 1;
}
to {
transform: translate3d(0, -100%, 0);
opacity: 0;
}
}
body.swal2-shown:not(.swal2-no-backdrop, .swal2-toast-shown) {
overflow: hidden;
}
body.swal2-height-auto {
height: auto ;
}
body.swal2-no-backdrop .swal2-container {
background-color: transparent ;
pointer-events: none;
}
body.swal2-no-backdrop .swal2-container .swal2-popup {
pointer-events: all;
}
body.swal2-no-backdrop .swal2-container .swal2-modal {
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
body.swal2-toast-shown .swal2-container {
box-sizing: border-box;
width: 360px;
max-width: 100%;
background-color: transparent;
pointer-events: none;
}
body.swal2-toast-shown .swal2-container.swal2-top {
inset: 0 auto auto 50%;
transform: translateX(-50%);
}
body.swal2-toast-shown .swal2-container.swal2-top-end, body.swal2-toast-shown .swal2-container.swal2-top-right {
inset: 0 0 auto auto;
}
body.swal2-toast-shown .swal2-container.swal2-top-start, body.swal2-toast-shown .swal2-container.swal2-top-left {
inset: 0 auto auto 0;
}
body.swal2-toast-shown .swal2-container.swal2-center-start, body.swal2-toast-shown .swal2-container.swal2-center-left {
inset: 50% auto auto 0;
transform: translateY(-50%);
}
body.swal2-toast-shown .swal2-container.swal2-center {
inset: 50% auto auto 50%;
transform: translate(-50%, -50%);
}
body.swal2-toast-shown .swal2-container.swal2-center-end, body.swal2-toast-shown .swal2-container.swal2-center-right {
inset: 50% 0 auto auto;
transform: translateY(-50%);
}
body.swal2-toast-shown .swal2-container.swal2-bottom-start, body.swal2-toast-shown .swal2-container.swal2-bottom-left {
inset: auto auto 0 0;
}
body.swal2-toast-shown .swal2-container.swal2-bottom {
inset: auto auto 0 50%;
transform: translateX(-50%);
}
body.swal2-toast-shown .swal2-container.swal2-bottom-end, body.swal2-toast-shown .swal2-container.swal2-bottom-right {
inset: auto 0 0 auto;
}
@media print {
body.swal2-shown:not(.swal2-no-backdrop, .swal2-toast-shown) {
overflow-y: scroll ;
}
body.swal2-shown:not(.swal2-no-backdrop, .swal2-toast-shown) > [aria-hidden=true] {
display: none;
}
body.swal2-shown:not(.swal2-no-backdrop, .swal2-toast-shown) .swal2-container {
position: static ;
}
}
div:where(.swal2-container) {
display: grid;
position: fixed;
z-index: 1060;
inset: 0;
box-sizing: border-box;
grid-template-areas: "top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";
grid-template-rows: minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);
height: 100%;
padding: 0.625em;
overflow-x: hidden;
transition: background-color 0.5s;
-webkit-overflow-scrolling: touch;
}
div:where(.swal2-container).swal2-backdrop-show, div:where(.swal2-container).swal2-noanimation {
background: rgba(0, 0, 0, 0.5);
}
div:where(.swal2-container).swal2-backdrop-hide {
background: transparent ;
}
div:where(.swal2-container).swal2-top-start, div:where(.swal2-container).swal2-center-start, div:where(.swal2-container).swal2-bottom-start {
grid-template-columns: minmax(0, 1fr) auto auto;
}
div:where(.swal2-container).swal2-top, div:where(.swal2-container).swal2-center, div:where(.swal2-container).swal2-bottom {
grid-template-columns: auto minmax(0, 1fr) auto;
}
div:where(.swal2-container).swal2-top-end, div:where(.swal2-container).swal2-center-end, div:where(.swal2-container).swal2-bottom-end {
grid-template-columns: auto auto minmax(0, 1fr);
}
div:where(.swal2-container).swal2-top-start > .swal2-popup {
align-self: start;
}
div:where(.swal2-container).swal2-top > .swal2-popup {
grid-column: 2;
place-self: start center;
}
div:where(.swal2-container).swal2-top-end > .swal2-popup, div:where(.swal2-container).swal2-top-right > .swal2-popup {
grid-column: 3;
place-self: start end;
}
div:where(.swal2-container).swal2-center-start > .swal2-popup, div:where(.swal2-container).swal2-center-left > .swal2-popup {
grid-row: 2;
align-self: center;
}
div:where(.swal2-container).swal2-center > .swal2-popup {
grid-column: 2;
grid-row: 2;
place-self: center center;
}
div:where(.swal2-container).swal2-center-end > .swal2-popup, div:where(.swal2-container).swal2-center-right > .swal2-popup {
grid-column: 3;
grid-row: 2;
place-self: center end;
}
div:where(.swal2-container).swal2-bottom-start > .swal2-popup, div:where(.swal2-container).swal2-bottom-left > .swal2-popup {
grid-column: 1;
grid-row: 3;
align-self: end;
}
div:where(.swal2-container).swal2-bottom > .swal2-popup {
grid-column: 2;
grid-row: 3;
place-self: end center;
}
div:where(.swal2-container).swal2-bottom-end > .swal2-popup, div:where(.swal2-container).swal2-bottom-right > .swal2-popup {
grid-column: 3;
grid-row: 3;
place-self: end end;
}
div:where(.swal2-container).swal2-grow-row > .swal2-popup, div:where(.swal2-container).swal2-grow-fullscreen > .swal2-popup {
grid-column: 1/4;
width: 100%;
}
div:where(.swal2-container).swal2-grow-column > .swal2-popup, div:where(.swal2-container).swal2-grow-fullscreen > .swal2-popup {
grid-row: 1/4;
align-self: stretch;
}
div:where(.swal2-container).swal2-no-transition {
transition: none ;
}
div:where(.swal2-container) div:where(.swal2-popup) {
display: none;
position: relative;
box-sizing: border-box;
grid-template-columns: minmax(0, 100%);
width: 32em;
max-width: 100%;
padding: 1rem;
border: none;
border-radius: 0.3rem;
background: #fff;
color: rgb(84.15, 84.15, 84.15);
font-family: inherit;
font-size: 1rem;
}
div:where(.swal2-container) div:where(.swal2-popup):focus {
outline: none;
}
div:where(.swal2-container) div:where(.swal2-popup).swal2-loading {
overflow-y: hidden;
}
div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable {
cursor: grab;
}
div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable div:where(.swal2-icon) {
cursor: grab;
}
div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging {
cursor: grabbing;
}
div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging div:where(.swal2-icon) {
cursor: grabbing;
}
div:where(.swal2-container) h2:where(.swal2-title) {
position: relative;
max-width: 100%;
margin: 0;
padding: 0.8em 1em 0;
color: inherit;
font-size: 1.875em;
font-weight: 600;
text-align: center;
text-transform: none;
word-wrap: break-word;
cursor: initial;
}
div:where(.swal2-container) div:where(.swal2-actions) {
display: flex;
z-index: 1;
box-sizing: border-box;
flex-wrap: wrap;
align-items: center;
justify-content: center;
width: auto;
margin: 1.25em auto 0;
padding: 0;
}
div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled[disabled] {
opacity: 0.4;
}
div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:hover {
background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
}
div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:active {
background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
}
div:where(.swal2-container) div:where(.swal2-loader) {
display: none;
align-items: center;
justify-content: center;
width: 2.2em;
height: 2.2em;
margin: 0 1.875em;
animation: swal2-rotate-loading 1.5s linear 0s infinite normal;
border-width: 0.25em;
border-style: solid;
border-radius: 100%;
border-color: #2778c4 transparent #2778c4 transparent;
}
div:where(.swal2-container) button:where(.swal2-styled) {
margin: 0.3125em;
padding: 0.625em 1.1em;
transition: box-shadow 0.1s;
box-shadow: 0 0 0 3px transparent;
font-weight: 500;
}
div:where(.swal2-container) button:where(.swal2-styled):not([disabled]) {
cursor: pointer;
}
div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
border: 0;
border-radius: 0.25em;
background: initial;
background-color: #007bff;
color: #fff;
font-size: 1em;
}
div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):focus-visible {
box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5);
}
div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny) {
border: 0;
border-radius: 0.25em;
background: initial;
background-color: #dc3741;
color: #fff;
font-size: 1em;
}
div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):focus-visible {
box-shadow: 0 0 0 3px rgba(220, 55, 65, 0.5);
}
div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel) {
border: 0;
border-radius: 0.25em;
background: initial;
background-color: #6c757d;
color: #fff;
font-size: 1em;
}
div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):focus-visible {
box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.5);
}
div:where(.swal2-container) button:where(.swal2-styled).swal2-default-outline:focus-visible {
box-shadow: 0 0 0 3px rgba(100, 150, 200, 0.5);
}
div:where(.swal2-container) button:where(.swal2-styled):focus-visible {
outline: none;
}
div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner {
border: 0;
}
div:where(.swal2-container) div:where(.swal2-footer) {
margin: 1em 0 0;
padding: 1em 1em 0;
border-top: 1px solid #eee;
color: inherit;
font-size: 1em;
text-align: center;
cursor: initial;
}
div:where(.swal2-container) .swal2-timer-progress-bar-container {
position: absolute;
right: 0;
bottom: 0;
left: 0;
grid-column: auto ;
overflow: hidden;
border-bottom-right-radius: 0.3rem;
border-bottom-left-radius: 0.3rem;
}
div:where(.swal2-container) div:where(.swal2-timer-progress-bar) {
width: 100%;
height: 0.25em;
background: rgba(0, 0, 0, 0.2);
}
div:where(.swal2-container) img:where(.swal2-image) {
max-width: 100%;
margin: 2em auto 1em;
cursor: initial;
}
div:where(.swal2-container) button:where(.swal2-close) {
z-index: 2;
align-items: center;
justify-content: center;
width: 2em;
height: 2em;
margin-top: 0;
margin-right: 0;
margin-bottom: -2em;
padding: 0;
overflow: hidden;
transition: color 0.1s, box-shadow 0.1s;
border: none;
border-radius: 0.3rem;
background: transparent;
color: rgba(0, 0, 0, 0.5);
font-family: monospace;
font-size: 1.5rem;
cursor: pointer;
justify-self: end;
}
div:where(.swal2-container) button:where(.swal2-close):hover {
transform: none;
background: transparent;
color: #000;
}
div:where(.swal2-container) button:where(.swal2-close):focus-visible {
outline: none;
box-shadow: inset 0 0 0 3px rgba(100, 150, 200, 0.5);
}
div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner {
border: 0;
}
div:where(.swal2-container) div:where(.swal2-html-container) {
z-index: 1;
justify-content: center;
margin: 0;
padding: 1em 1.6em 0.3em;
overflow: auto;
color: inherit;
font-size: 1.125em;
font-weight: normal;
line-height: normal;
text-align: center;
word-wrap: break-word;
word-break: break-word;
cursor: initial;
}
div:where(.swal2-container) input:where(.swal2-input),
div:where(.swal2-container) input:where(.swal2-file),
div:where(.swal2-container) textarea:where(.swal2-textarea),
div:where(.swal2-container) select:where(.swal2-select),
div:where(.swal2-container) div:where(.swal2-radio),
div:where(.swal2-container) label:where(.swal2-checkbox) {
margin: 1em 2em 3px;
}
div:where(.swal2-container) input:where(.swal2-input),
div:where(.swal2-container) input:where(.swal2-file),
div:where(.swal2-container) textarea:where(.swal2-textarea) {
box-sizing: border-box;
width: auto;
transition: border-color 0.1s, box-shadow 0.1s;
border: 1px solid #dee2e6;
border-radius: 0.25rem;
background: transparent;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;
color: inherit;
font-size: 1rem;
}
div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,
div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,
div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror {
border-color: #dc3545 ;
box-shadow: 0 0 2px #dc3545 ;
}
div:where(.swal2-container) input:where(.swal2-input):focus,
div:where(.swal2-container) input:where(.swal2-file):focus,
div:where(.swal2-container) textarea:where(.swal2-textarea):focus {
border: 1px solid #b4dbed;
outline: none;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px rgba(100, 150, 200, 0.5);
}
div:where(.swal2-container) input:where(.swal2-input)::placeholder,
div:where(.swal2-container) input:where(.swal2-file)::placeholder,
div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder {
color: #ccc;
}
div:where(.swal2-container) .swal2-range {
margin: 1em 2em 3px;
background: #fff;
}
div:where(.swal2-container) .swal2-range input {
width: 80%;
}
div:where(.swal2-container) .swal2-range output {
width: 20%;
color: inherit;
font-weight: 600;
text-align: center;
}
div:where(.swal2-container) .swal2-range input,
div:where(.swal2-container) .swal2-range output {
height: 2.625em;
padding: 0;
font-size: 1rem;
line-height: 2.625em;
}
div:where(.swal2-container) .swal2-input {
height: 2.625em;
padding: 0.375rem 0.75rem;
}
div:where(.swal2-container) .swal2-file {
width: 75%;
margin-right: auto;
margin-left: auto;
background: transparent;
font-size: 1rem;
}
div:where(.swal2-container) .swal2-textarea {
height: 6.75em;
padding: 0.75em;
}
div:where(.swal2-container) .swal2-select {
min-width: 50%;
max-width: 100%;
padding: 0.375em 0.625em;
background: transparent;
color: inherit;
font-size: 1rem;
}
div:where(.swal2-container) .swal2-radio,
div:where(.swal2-container) .swal2-checkbox {
align-items: center;
justify-content: center;
background: #fff;
color: inherit;
}
div:where(.swal2-container) .swal2-radio label,
div:where(.swal2-container) .swal2-checkbox label {
margin: 0 0.6em;
font-size: 1rem;
}
div:where(.swal2-container) .swal2-radio input,
div:where(.swal2-container) .swal2-checkbox input {
flex-shrink: 0;
margin: 0 0.4em;
}
div:where(.swal2-container) label:where(.swal2-input-label) {
display: flex;
justify-content: center;
margin: 1em auto 0;
}
div:where(.swal2-container) div:where(.swal2-validation-message) {
align-items: center;
justify-content: center;
margin: 1em 0 0;
padding: 0.625em;
overflow: hidden;
background: rgb(239.7, 239.7, 239.7);
color: #666666;
font-size: 1em;
font-weight: 300;
}
div:where(.swal2-container) div:where(.swal2-validation-message)::before {
content: "!";
display: inline-block;
width: 1.5em;
min-width: 1.5em;
height: 1.5em;
margin: 0 0.625em;
border-radius: 50%;
background-color: #dc3545;
color: #fff;
font-weight: 600;
line-height: 1.5em;
text-align: center;
}
div:where(.swal2-container) .swal2-progress-steps {
flex-wrap: wrap;
align-items: center;
max-width: 100%;
margin: 1.25em auto;
padding: 0;
background: transparent;
font-weight: 600;
}
div:where(.swal2-container) .swal2-progress-steps li {
display: inline-block;
position: relative;
}
div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step {
z-index: 20;
flex-shrink: 0;
width: 2em;
height: 2em;
border-radius: 2em;
background: #2778c4;
color: #fff;
line-height: 2em;
text-align: center;
}
div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step {
background: #2778c4;
}
div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step ~ .swal2-progress-step {
background: #add8e6;
color: #fff;
}
div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step ~ .swal2-progress-step-line {
background: #add8e6;
}
div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line {
z-index: 10;
flex-shrink: 0;
width: 2.5em;
height: 0.4em;
margin: 0 -1px;
background: #2778c4;
}
div:where(.swal2-icon) {
position: relative;
box-sizing: content-box;
justify-content: center;
width: 5em;
height: 5em;
margin: 2.5em auto 0.6em;
border: 0.25em solid transparent;
border-radius: 50%;
border-color: #000;
font-family: inherit;
line-height: 5em;
cursor: default;
user-select: none;
}
div:where(.swal2-icon) .swal2-icon-content {
display: flex;
align-items: center;
font-size: 3.75em;
}
div:where(.swal2-icon).swal2-error {
border-color: #dc3545;
color: #dc3545;
}
div:where(.swal2-icon).swal2-error .swal2-x-mark {
position: relative;
flex-grow: 1;
}
div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line] {
display: block;
position: absolute;
top: 2.3125em;
width: 2.9375em;
height: 0.3125em;
border-radius: 0.125em;
background-color: #dc3545;
}
div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left] {
left: 1.0625em;
transform: rotate(45deg);
}
div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right] {
right: 1em;
transform: rotate(-45deg);
}
div:where(.swal2-icon).swal2-error.swal2-icon-show {
animation: swal2-animate-error-icon 0.5s;
}
div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark {
animation: swal2-animate-error-x-mark 0.5s;
}
div:where(.swal2-icon).swal2-warning {
border-color: rgb(255, 201.925, 42.7);
color: #ffc107;
}
div:where(.swal2-icon).swal2-warning.swal2-icon-show {
animation: swal2-animate-error-icon 0.5s;
}
div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content {
animation: swal2-animate-i-mark 0.5s;
}
div:where(.swal2-icon).swal2-info {
border-color: rgb(76.3333333333, 211.3043478261, 232.6666666667);
color: #17a2b8;
}
div:where(.swal2-icon).swal2-info.swal2-icon-show {
animation: swal2-animate-error-icon 0.5s;
}
div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content {
animation: swal2-animate-i-mark 0.8s;
}
div:where(.swal2-icon).swal2-question {
border-color: rgb(161.1158798283, 167.8755364807, 173.8841201717);
color: #6c757d;
}
div:where(.swal2-icon).swal2-question.swal2-icon-show {
animation: swal2-animate-error-icon 0.5s;
}
div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content {
animation: swal2-animate-question-mark 0.8s;
}
div:where(.swal2-icon).swal2-success {
border-color: #28a745;
color: #28a745;
}
div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line] {
position: absolute;
width: 3.75em;
height: 7.5em;
border-radius: 50%;
}
div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left] {
top: -0.4375em;
left: -2.0635em;
transform: rotate(-45deg);
transform-origin: 3.75em 3.75em;
border-radius: 7.5em 0 0 7.5em;
}
div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right] {
top: -0.6875em;
left: 1.875em;
transform: rotate(-45deg);
transform-origin: 0 3.75em;
border-radius: 0 7.5em 7.5em 0;
}
div:where(.swal2-icon).swal2-success .swal2-success-ring {
position: absolute;
z-index: 2;
top: -0.25em;
left: -0.25em;
box-sizing: content-box;
width: 100%;
height: 100%;
border: 0.25em solid rgba(40, 167, 69, 0.3);
border-radius: 50%;
}
div:where(.swal2-icon).swal2-success .swal2-success-fix {
position: absolute;
z-index: 1;
top: 0.5em;
left: 1.625em;
width: 0.4375em;
height: 5.625em;
transform: rotate(-45deg);
}
div:where(.swal2-icon).swal2-success [class^=swal2-success-line] {
display: block;
position: absolute;
z-index: 2;
height: 0.3125em;
border-radius: 0.125em;
background-color: #28a745;
}
div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip] {
top: 2.875em;
left: 0.8125em;
width: 1.5625em;
transform: rotate(45deg);
}
div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long] {
top: 2.375em;
right: 0.5em;
width: 2.9375em;
transform: rotate(-45deg);
}
div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip {
animation: swal2-animate-success-line-tip 0.75s;
}
div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long {
animation: swal2-animate-success-line-long 0.75s;
}
div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right {
animation: swal2-rotate-success-circular-line 4.25s ease-in;
}
[class^=swal2] {
-webkit-tap-highlight-color: transparent;
}
.swal2-show {
animation: fadeInDown 0.5s;
}
.swal2-hide {
animation: fadeOutUp 0.5s;
}
.swal2-noanimation {
transition: none;
}
.swal2-scrollbar-measure {
position: absolute;
top: -9999px;
width: 50px;
height: 50px;
overflow: scroll;
}
.swal2-rtl .swal2-close {
margin-right: initial;
margin-left: 0;
}
.swal2-rtl .swal2-timer-progress-bar {
right: 0;
left: auto;
}
.swal2-toast {
box-sizing: border-box;
grid-column: 1/4 ;
grid-row: 1/4 ;
grid-template-columns: min-content auto min-content;
padding: 0.75rem 0.25rem;
overflow-y: hidden;
background: #fff;
box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
pointer-events: all;
}
.swal2-toast > * {
grid-column: 2;
}
.swal2-toast h2:where(.swal2-title) {
margin: 0.5em 1em;
padding: 0;
font-size: 0.875rem;
text-align: initial;
}
.swal2-toast .swal2-loading {
justify-content: center;
}
.swal2-toast input:where(.swal2-input) {
height: 2em;
margin: 0.5em;
font-size: 0.875rem;
}
.swal2-toast .swal2-validation-message {
font-size: 0.875rem;
}
.swal2-toast div:where(.swal2-footer) {
margin: 0.5em 0 0;
padding: 0.5em 0 0;
font-size: 0.8em;
}
.swal2-toast button:where(.swal2-close) {
grid-column: 3/3;
grid-row: 1/99;
align-self: center;
width: 0.8em;
height: 0.8em;
margin: 0;
font-size: 2em;
}
.swal2-toast div:where(.swal2-html-container) {
margin: 0.5em 1em;
padding: 0;
overflow: initial;
font-size: 0.875rem;
text-align: initial;
}
.swal2-toast div:where(.swal2-html-container):empty {
padding: 0;
}
.swal2-toast .swal2-loader {
grid-column: 1;
grid-row: 1/99;
align-self: center;
width: 2em;
height: 2em;
margin: 0.25em;
}
.swal2-toast .swal2-icon {
grid-column: 1;
grid-row: 1/99;
align-self: center;
width: 2em;
min-width: 2em;
height: 2em;
margin: 0 0.5em 0 0;
}
.swal2-toast .swal2-icon .swal2-icon-content {
display: flex;
align-items: center;
font-size: 1.8em;
font-weight: bold;
}
.swal2-toast .swal2-icon.swal2-success .swal2-success-ring {
width: 2em;
height: 2em;
}
.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line] {
top: 0.875em;
width: 1.375em;
}
.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left] {
left: 0.3125em;
}
.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right] {
right: 0.3125em;
}
.swal2-toast div:where(.swal2-actions) {
justify-content: flex-start;
height: auto;
margin: 0;
margin-top: 0.5em;
padding: 0 0.5em;
}
.swal2-toast button:where(.swal2-styled) {
margin: 0.25em 0.5em;
padding: 0.4em 0.6em;
font-size: 0.875rem;
}
.swal2-toast .swal2-success {
border-color: #28a745;
}
.swal2-toast .swal2-success [class^=swal2-success-circular-line] {
position: absolute;
width: 1.6em;
height: 3em;
border-radius: 50%;
}
.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left] {
top: -0.8em;
left: -0.5em;
transform: rotate(-45deg);
transform-origin: 2em 2em;
border-radius: 4em 0 0 4em;
}
.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right] {
top: -0.25em;
left: 0.9375em;
transform-origin: 0 1.5em;
border-radius: 0 4em 4em 0;
}
.swal2-toast .swal2-success .swal2-success-ring {
width: 2em;
height: 2em;
}
.swal2-toast .swal2-success .swal2-success-fix {
top: 0;
left: 0.4375em;
width: 0.4375em;
height: 2.6875em;
}
.swal2-toast .swal2-success [class^=swal2-success-line] {
height: 0.3125em;
}
.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip] {
top: 1.125em;
left: 0.1875em;
width: 0.75em;
}
.swal2-toast .swal2-success [class^=swal2-success-line][class$=long] {
top: 0.9375em;
right: 0.1875em;
width: 1.375em;
}
.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip {
animation: swal2-toast-animate-success-line-tip 0.75s;
}
.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long {
animation: swal2-toast-animate-success-line-long 0.75s;
}
.swal2-toast.swal2-show {
animation: swal2-toast-show 0.5s;
}
.swal2-toast.swal2-hide {
animation: swal2-toast-hide 0.1s forwards;
}
@keyframes swal2-show {
0% {
transform: scale(0.7);
}
45% {
transform: scale(1.05);
}
80% {
transform: scale(0.95);
}
100% {
transform: scale(1);
}
}
@keyframes swal2-hide {
0% {
transform: scale(1);
opacity: 1;
}
100% {
transform: scale(0.5);
opacity: 0;
}
}
@keyframes swal2-animate-success-line-tip {
0% {
top: 1.1875em;
left: 0.0625em;
width: 0;
}
54% {
top: 1.0625em;
left: 0.125em;
width: 0;
}
70% {
top: 2.1875em;
left: -0.375em;
width: 3.125em;
}
84% {
top: 3em;
left: 1.3125em;
width: 1.0625em;
}
100% {
top: 2.8125em;
left: 0.8125em;
width: 1.5625em;
}
}
@keyframes swal2-animate-success-line-long {
0% {
top: 3.375em;
right: 2.875em;
width: 0;
}
65% {
top: 3.375em;
right: 2.875em;
width: 0;
}
84% {
top: 2.1875em;
right: 0;
width: 3.4375em;
}
100% {
top: 2.375em;
right: 0.5em;
width: 2.9375em;
}
}
@keyframes swal2-rotate-success-circular-line {
0% {
transform: rotate(-45deg);
}
5% {
transform: rotate(-45deg);
}
12% {
transform: rotate(-405deg);
}
100% {
transform: rotate(-405deg);
}
}
@keyframes swal2-animate-error-x-mark {
0% {
margin-top: 1.625em;
transform: scale(0.4);
opacity: 0;
}
50% {
margin-top: 1.625em;
transform: scale(0.4);
opacity: 0;
}
80% {
margin-top: -0.375em;
transform: scale(1.15);
}
100% {
margin-top: 0;
transform: scale(1);
opacity: 1;
}
}
@keyframes swal2-animate-error-icon {
0% {
transform: rotateX(100deg);
opacity: 0;
}
100% {
transform: rotateX(0deg);
opacity: 1;
}
}
@keyframes swal2-rotate-loading {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
@keyframes swal2-animate-question-mark {
0% {
transform: rotateY(-360deg);
}
100% {
transform: rotateY(0);
}
}
@keyframes swal2-animate-i-mark {
0% {
transform: rotateZ(45deg);
opacity: 0;
}
25% {
transform: rotateZ(-25deg);
opacity: 0.4;
}
50% {
transform: rotateZ(15deg);
opacity: 0.8;
}
75% {
transform: rotateZ(-5deg);
opacity: 1;
}
100% {
transform: rotateX(0);
opacity: 1;
}
}
@keyframes swal2-toast-show {
0% {
transform: translateY(-0.625em) rotateZ(2deg);
}
33% {
transform: translateY(0) rotateZ(-2deg);
}
66% {
transform: translateY(0.3125em) rotateZ(2deg);
}
100% {
transform: translateY(0) rotateZ(0deg);
}
}
@keyframes swal2-toast-hide {
100% {
transform: rotateZ(1deg);
opacity: 0;
}
}
@keyframes swal2-toast-animate-success-line-tip {
0% {
top: 0.5625em;
left: 0.0625em;
width: 0;
}
54% {
top: 0.125em;
left: 0.125em;
width: 0;
}
70% {
top: 0.625em;
left: -0.25em;
width: 1.625em;
}
84% {
top: 1.0625em;
left: 0.75em;
width: 0.5em;
}
100% {
top: 1.125em;
left: 0.1875em;
width: 0.75em;
}
}
@keyframes swal2-toast-animate-success-line-long {
0% {
top: 1.625em;
right: 1.375em;
width: 0;
}
65% {
top: 1.25em;
right: 0.9375em;
width: 0;
}
84% {
top: 0.9375em;
right: 0;
width: 1.125em;
}
100% {
top: 0.9375em;
right: 0.1875em;
width: 1.375em;
}
}
.swal2-confirm,
.swal2-deny,
.swal2-cancel {
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.swal2-popup {
border: 1px solid rgba(0, 0, 0, 0.2);
}
.swal2-popup.swal2-toast {
padding: 0.25rem 0.75rem;
font-size: 0.875rem;
}
.swal2-popup.swal2-toast .swal2-title {
margin: 0;
color: #6c757d;
}
.swal2-popup.swal2-toast .swal2-actions {
flex-basis: 0 ;
margin: 0;
padding: 0;
}
.swal2-popup.swal2-toast .swal2-styled {
margin: 0;
}
.swal2-title {
margin: 0;
font-size: 1.25rem;
}
.swal2-actions {
border-radius: 0.25rem;
}
.swal2-footer {
padding: 1rem;
border-top: 1px solid #dee2e6;
}
.swal2-close {
height: auto;
padding: 1rem 1.2rem 1rem 1rem;
font-weight: 700;
}
.swal2-input,
.swal2-textarea {
height: inherit;
padding: 0.375rem 0.75rem;
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
line-height: 1.5;
}
.swal2-input:focus,
.swal2-textarea:focus {
border: 1px solid rgb(127.5, 189, 255);
outline: 0;
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
color: #495057;
}
.swal2-input.swal2-inputerror,
.swal2-textarea.swal2-inputerror {
box-shadow: none ;
}
.swal2-input.swal2-inputerror:focus,
.swal2-textarea.swal2-inputerror:focus {
border-color: #dc3545;
box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) ;
}
.swal2-styled.swal2-confirm {
padding: 0.375rem 0.75rem;
font-size: 1rem;
}
.swal2-styled.swal2-confirm:hover {
border-color: rgb(0, 98.4, 204);
background-color: rgb(0, 104.55, 216.75);
}
.swal2-styled.swal2-confirm:focus {
outline: 0;
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.swal2-styled.swal2-confirm:active {
border-color: rgb(0, 92.25, 191.25);
background-color: rgb(0, 98.4, 204);
}
.swal2-styled.swal2-confirm:active:focus {
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.swal2-styled.swal2-deny {
padding: 0.375rem 0.75rem;
font-size: 1rem;
}
.swal2-styled.swal2-cancel {
padding: 0.375rem 0.75rem;
font-size: 1rem;
}
.swal2-styled.swal2-cancel:hover {
border-color: rgb(84.3605150215, 91.3905579399, 97.6394849785);
background-color: rgb(90.2703862661, 97.7929184549, 104.4796137339);
}
.swal2-styled.swal2-cancel:focus {
outline: 0;
box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.25);
}
.swal2-styled.swal2-cancel:active {
border-color: rgb(78.4506437768, 84.9881974249, 90.7993562232);
background-color: rgb(84.3605150215, 91.3905579399, 97.6394849785);
}
.swal2-styled.swal2-cancel:active:focus {
box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.25);
}
.swal2-select {
display: inline-block;
height: calc(1.5em + 0.75rem + 2px);
padding: 0.375rem 1.75rem 0.375rem 0.75rem;
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
border: 1px solid #dee2e6;
border-radius: 0.25rem;
background: url('data:image/svg+xml,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"%3e%3cpath fill="%23343a40" d="M2 0L0 2h4zm0 5L0 3h4z"/%3e%3c/svg%3e') no-repeat right 0.75rem center/8px 10px;
background-color: #fff;
color: #495057;
vertical-align: middle;
appearance: none;
}
.swal2-select:focus {
border: 1px solid rgb(127.5, 189, 255);
outline: 0;
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.swal2-select:focus::-ms-value {
background-color: #fff;
color: #495057;
}
.swal2-select[multiple], .swal2-select[size]:not([size="1"]) {
height: auto;
padding-right: 0.75rem;
background-image: none;
}
.swal2-select:disabled {
background-color: #e9ecef;
color: #fff;
}
.swal2-select::-ms-expand {
display: none;
}
.swal2-radio label {
position: relative;
margin-right: 1rem;
margin-left: 1.5rem;
}
.swal2-radio label input {
position: absolute;
z-index: -1;
opacity: 0;
}
.swal2-radio label input:checked ~ .swal2-label::before {
border-color: #007bff;
background: #007bff;
color: #fff;
}
.swal2-radio label input:focus ~ .swal2-label::before {
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.swal2-radio label input:focus:not(:checked) ~ .swal2-label::before {
border-color: rgb(127.5, 189, 255);
}
.swal2-radio label input:not(:disabled):active ~ .swal2-label::before {
border-color: rgb(178.5, 215.4, 255);
background-color: rgb(178.5, 215.4, 255);
color: #fff;
}
.swal2-radio label input:checked ~ .swal2-label::after {
background-image: url('data:image/svg+xml,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="-4 -4 8 8"%3e%3ccircle r="3" fill="%23fff"/%3e%3c/svg%3e');
}
.swal2-radio label input:disabled:checked ~ .swal2-label::before {
background-color: rgba(0, 123, 255, 0.5);
}
.swal2-radio .swal2-label::before {
content: "";
display: block;
position: absolute;
top: 0.0833333333rem; /* stylelint-disable-line */
left: -1.5rem;
width: 1rem;
height: 1rem;
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
border: #adb5bd solid 1px;
border-radius: 50%;
background-color: #fff;
pointer-events: none;
}
.swal2-radio .swal2-label::after {
content: "";
display: block;
position: absolute;
top: 0.0833333333rem; /* stylelint-disable-line */
left: -1.5rem;
width: 1rem;
height: 1rem;
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
border: transparent solid 1px;
background: no-repeat 50%/50% 50%;
}
.swal2-checkbox {
margin-right: 1rem;
padding-left: 1.5rem;
}
.swal2-checkbox input {
z-index: -1;
opacity: 0;
}
.swal2-checkbox input:checked ~ .swal2-label::before {
border-color: #007bff;
background: #007bff;
color: #fff;
}
.swal2-checkbox input:focus ~ .swal2-label::before {
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.swal2-checkbox input:focus:not(:checked) ~ .swal2-label::before {
border-color: rgb(127.5, 189, 255);
}
.swal2-checkbox input:not(:disabled):active ~ .swal2-label::before {
border-color: rgb(178.5, 215.4, 255);
background-color: rgb(178.5, 215.4, 255);
color: #fff;
}
.swal2-checkbox input:checked ~ .swal2-label::after {
background-image: url('data:image/svg+xml,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 8"%3e%3cpath fill="%23fff" d="M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z"/%3e%3c/svg%3e');
}
.swal2-checkbox input:disabled:checked ~ .swal2-label::before {
background-color: rgba(0, 123, 255, 0.5);
}
.swal2-checkbox .swal2-label {
position: relative;
}
.swal2-checkbox .swal2-label::before {
content: "";
display: block;
position: absolute;
top: 0.25rem; /* stylelint-disable-line */
left: -1.5rem;
width: 1rem;
height: 1rem;
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
border: #adb5bd solid 1px;
background-color: #fff;
pointer-events: none;
}
.swal2-checkbox .swal2-label::after {
content: "";
display: block;
position: absolute;
top: 0.25rem; /* stylelint-disable-line */
left: -1.5rem;
width: 1rem;
height: 1rem;
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
border: transparent solid 1px;
background: no-repeat 50%/50% 50%;
}
.swal2-range {
align-items: center;
}
.swal2-range input {
width: 100%;
height: calc(1rem + 0.6rem);
padding: 0;
background-color: transparent;
appearance: none;
}
.swal2-range input:focus {
outline: none;
}
.swal2-range input:focus::-webkit-slider-thumb {
box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.swal2-range input:focus::-moz-range-thumb {
box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.swal2-range input:focus::-ms-thumb {
box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.swal2-range input::-moz-focus-outer {
border: 0;
}
.swal2-range input::-webkit-slider-thumb {
width: 1rem;
height: 1rem;
margin-top: -0.25rem; /* stylelint-disable-line */
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
border: 0;
border-radius: 1rem;
background: #007bff;
box-shadow: 0 0.1rem 0.25rem rgba(0, 0, 0, 0.1);
appearance: none;
}
.swal2-range input::-webkit-slider-thumb:active {
background: rgb(178.5, 215.4, 255);
}
.swal2-range input::-webkit-slider-runnable-track {
width: 100%;
height: 0.5rem;
border-radius: 1rem;
border-color: transparent;
background-color: #dee2e6;
box-shadow: inset 0 0.25rem 0.25rem rgba(0, 0, 0, 0.1);
color: transparent;
cursor: pointer;
}
.swal2-range input::-moz-range-thumb {
width: 1rem;
height: 1rem;
margin-top: 1rem;
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
border: 0;
border-radius: 1rem;
background: #007bff;
box-shadow: 0 0.1rem 0.25rem rgba(0, 0, 0, 0.1);
appearance: none;
}
.swal2-range input::-moz-range-thumb:active {
background: rgb(178.5, 215.4, 255);
}
.swal2-range input::-moz-range-track {
width: 100%;
height: 0.5rem;
border-radius: 1rem;
border-color: transparent;
background-color: #dee2e6;
box-shadow: inset 0 0.25rem 0.25rem rgba(0, 0, 0, 0.1);
color: transparent;
cursor: pointer;
}
.swal2-range input::-ms-thumb {
width: 1rem;
height: 1rem;
margin-top: 0;
margin-right: 0.2rem;
margin-left: 0.2rem;
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
border: 0;
border-radius: 1rem;
background: #007bff;
box-shadow: 0 0.1rem 0.25rem rgba(0, 0, 0, 0.1);
appearance: none;
}
.swal2-range input::-ms-thumb:active {
background: rgb(178.5, 215.4, 255);
}
.swal2-range input::-ms-track {
width: 100%;
height: 0.5rem;
border-width: 0.5rem; /* stylelint-disable-line */
border-color: transparent;
background-color: transparent;
box-shadow: inset 0 0.25rem 0.25rem rgba(0, 0, 0, 0.1);
color: transparent;
cursor: pointer;
}
.swal2-range input::-ms-fill-lower {
border-radius: 1rem;
background-color: #dee2e6;
}
.swal2-range input::-ms-fill-upper {
margin-right: 15px;
border-radius: 1rem;
background-color: #dee2e6;
}
.swal2-range input:disabled::-webkit-slider-thumb {
background-color: #adb5bd;
}
.swal2-range input:disabled::-webkit-slider-runnable-track {
cursor: default;
}
.swal2-range input:disabled::-moz-range-thumb {
background-color: #adb5bd;
}
.swal2-range input:disabled::-moz-range-track {
cursor: default;
}
.swal2-range input:disabled::-ms-thumb {
background-color: #adb5bd;
}
.swal2-validation-message {
position: relative;
margin-bottom: 1rem;
padding: 0.75rem 1.25rem;
border: 1px solid transparent;
border-radius: 0.25rem;
border-color: rgb(213.84, 216.36, 218.6);
background: rgb(225.6, 227.4, 229);
color: rgb(56.16, 60.84, 65);
font-size: 1rem;
}
.swal2-validation-message::before {
background-color: rgb(227.5316455696, 96.4683544304, 109.0253164557);
}
.swal2-toast {
max-width: 350px;
border-radius: 0.25rem;
background-color: rgba(255, 255, 255, 0.85);
}