sweetalert2.css
717 lines
| 1 | body.swal2-shown { |
| 2 | overflow-y: hidden; } |
| 3 | |
| 4 | body.swal2-iosfix { |
| 5 | position: fixed; |
| 6 | left: 0; |
| 7 | right: 0; } |
| 8 | |
| 9 | .swal2-container { |
| 10 | display: -webkit-box; |
| 11 | display: -ms-flexbox; |
| 12 | display: flex; |
| 13 | -webkit-box-align: center; |
| 14 | -ms-flex-align: center; |
| 15 | align-items: center; |
| 16 | position: fixed; |
| 17 | top: 0; |
| 18 | left: 0; |
| 19 | bottom: 0; |
| 20 | right: 0; |
| 21 | padding: 10px; |
| 22 | background-color: transparent; |
| 23 | z-index: 1060; } |
| 24 | .swal2-container.swal2-fade { |
| 25 | -webkit-transition: background-color .1s; |
| 26 | transition: background-color .1s; } |
| 27 | .swal2-container.swal2-shown { |
| 28 | background-color: rgba(0, 0, 0, 0.4); } |
| 29 | |
| 30 | .swal2-modal { |
| 31 | background-color: #fff; |
| 32 | font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; |
| 33 | border-radius: 5px; |
| 34 | -webkit-box-sizing: border-box; |
| 35 | box-sizing: border-box; |
| 36 | text-align: center; |
| 37 | margin: auto; |
| 38 | overflow-x: hidden; |
| 39 | overflow-y: auto; |
| 40 | display: none; |
| 41 | position: relative; |
| 42 | max-width: 100%; } |
| 43 | .swal2-modal:focus { |
| 44 | outline: none; } |
| 45 | .swal2-modal.swal2-loading { |
| 46 | overflow-y: hidden; } |
| 47 | .swal2-modal .swal2-title { |
| 48 | color: #595959; |
| 49 | font-size: 30px; |
| 50 | text-align: center; |
| 51 | font-weight: 600; |
| 52 | text-transform: none; |
| 53 | position: relative; |
| 54 | margin: 0 0 .4em; |
| 55 | padding: 0; |
| 56 | display: block; |
| 57 | word-wrap: break-word; } |
| 58 | .swal2-modal .swal2-buttonswrapper { |
| 59 | margin-top: 15px; } |
| 60 | .swal2-modal .swal2-buttonswrapper:not(.swal2-loading) .swal2-styled[disabled] { |
| 61 | opacity: .4; |
| 62 | cursor: no-drop; } |
| 63 | .swal2-modal .swal2-buttonswrapper.swal2-loading .swal2-styled.swal2-confirm { |
| 64 | -webkit-box-sizing: border-box; |
| 65 | box-sizing: border-box; |
| 66 | border: 4px solid transparent; |
| 67 | border-color: transparent; |
| 68 | width: 40px; |
| 69 | height: 40px; |
| 70 | padding: 0; |
| 71 | margin: 7.5px; |
| 72 | vertical-align: top; |
| 73 | background-color: transparent !important; |
| 74 | color: transparent; |
| 75 | cursor: default; |
| 76 | border-radius: 100%; |
| 77 | -webkit-animation: rotate-loading 1.5s linear 0s infinite normal; |
| 78 | animation: rotate-loading 1.5s linear 0s infinite normal; |
| 79 | -webkit-user-select: none; |
| 80 | -moz-user-select: none; |
| 81 | -ms-user-select: none; |
| 82 | user-select: none; } |
| 83 | .swal2-modal .swal2-buttonswrapper.swal2-loading .swal2-styled.swal2-cancel { |
| 84 | margin-left: 30px; |
| 85 | margin-right: 30px; } |
| 86 | .swal2-modal .swal2-buttonswrapper.swal2-loading :not(.swal2-styled).swal2-confirm::after { |
| 87 | display: inline-block; |
| 88 | content: ''; |
| 89 | margin-left: 5px 0 15px; |
| 90 | vertical-align: -1px; |
| 91 | height: 15px; |
| 92 | width: 15px; |
| 93 | border: 3px solid #999999; |
| 94 | -webkit-box-shadow: 1px 1px 1px #fff; |
| 95 | box-shadow: 1px 1px 1px #fff; |
| 96 | border-right-color: transparent; |
| 97 | border-radius: 50%; |
| 98 | -webkit-animation: rotate-loading 1.5s linear 0s infinite normal; |
| 99 | animation: rotate-loading 1.5s linear 0s infinite normal; } |
| 100 | .swal2-modal .swal2-styled { |
| 101 | border: 0; |
| 102 | border-radius: 3px; |
| 103 | -webkit-box-shadow: none; |
| 104 | box-shadow: none; |
| 105 | color: #fff; |
| 106 | cursor: pointer; |
| 107 | font-size: 17px; |
| 108 | font-weight: 500; |
| 109 | margin: 15px 5px 0; |
| 110 | padding: 10px 32px; } |
| 111 | .swal2-modal .swal2-image { |
| 112 | margin: 20px auto; |
| 113 | max-width: 100%; } |
| 114 | .swal2-modal .swal2-close { |
| 115 | background: transparent; |
| 116 | border: 0; |
| 117 | margin: 0; |
| 118 | padding: 0; |
| 119 | width: 38px; |
| 120 | height: 40px; |
| 121 | font-size: 36px; |
| 122 | line-height: 40px; |
| 123 | font-family: serif; |
| 124 | position: absolute; |
| 125 | top: 5px; |
| 126 | right: 8px; |
| 127 | cursor: pointer; |
| 128 | color: #cccccc; |
| 129 | -webkit-transition: color .1s ease; |
| 130 | transition: color .1s ease; } |
| 131 | .swal2-modal .swal2-close:hover { |
| 132 | color: #d55; } |
| 133 | .swal2-modal > .swal2-input, |
| 134 | .swal2-modal > .swal2-file, |
| 135 | .swal2-modal > .swal2-textarea, |
| 136 | .swal2-modal > .swal2-select, |
| 137 | .swal2-modal > .swal2-radio, |
| 138 | .swal2-modal > .swal2-checkbox { |
| 139 | display: none; } |
| 140 | .swal2-modal .swal2-content { |
| 141 | font-size: 18px; |
| 142 | text-align: center; |
| 143 | font-weight: 300; |
| 144 | position: relative; |
| 145 | float: none; |
| 146 | margin: 0; |
| 147 | padding: 0; |
| 148 | line-height: normal; |
| 149 | color: #545454; |
| 150 | word-wrap: break-word; } |
| 151 | .swal2-modal .swal2-input, |
| 152 | .swal2-modal .swal2-file, |
| 153 | .swal2-modal .swal2-textarea, |
| 154 | .swal2-modal .swal2-select, |
| 155 | .swal2-modal .swal2-radio, |
| 156 | .swal2-modal .swal2-checkbox { |
| 157 | margin: 20px auto; } |
| 158 | .swal2-modal .swal2-input, |
| 159 | .swal2-modal .swal2-file, |
| 160 | .swal2-modal .swal2-textarea { |
| 161 | width: 100%; |
| 162 | -webkit-box-sizing: border-box; |
| 163 | box-sizing: border-box; |
| 164 | font-size: 18px; |
| 165 | border-radius: 3px; |
| 166 | border: 1px solid #d9d9d9; |
| 167 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06); |
| 168 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06); |
| 169 | -webkit-transition: border-color box-shadow .3s; |
| 170 | transition: border-color box-shadow .3s; } |
| 171 | .swal2-modal .swal2-input.swal2-inputerror, |
| 172 | .swal2-modal .swal2-file.swal2-inputerror, |
| 173 | .swal2-modal .swal2-textarea.swal2-inputerror { |
| 174 | border-color: #f27474 !important; |
| 175 | -webkit-box-shadow: 0 0 2px #f27474 !important; |
| 176 | box-shadow: 0 0 2px #f27474 !important; } |
| 177 | .swal2-modal .swal2-input:focus, |
| 178 | .swal2-modal .swal2-file:focus, |
| 179 | .swal2-modal .swal2-textarea:focus { |
| 180 | outline: none; |
| 181 | border: 1px solid #b4dbed; |
| 182 | -webkit-box-shadow: 0 0 3px #c4e6f5; |
| 183 | box-shadow: 0 0 3px #c4e6f5; } |
| 184 | .swal2-modal .swal2-input:focus::-webkit-input-placeholder, |
| 185 | .swal2-modal .swal2-file:focus::-webkit-input-placeholder, |
| 186 | .swal2-modal .swal2-textarea:focus::-webkit-input-placeholder { |
| 187 | -webkit-transition: opacity .3s .03s ease; |
| 188 | transition: opacity .3s .03s ease; |
| 189 | opacity: .8; } |
| 190 | .swal2-modal .swal2-input:focus:-ms-input-placeholder, |
| 191 | .swal2-modal .swal2-file:focus:-ms-input-placeholder, |
| 192 | .swal2-modal .swal2-textarea:focus:-ms-input-placeholder { |
| 193 | -webkit-transition: opacity .3s .03s ease; |
| 194 | transition: opacity .3s .03s ease; |
| 195 | opacity: .8; } |
| 196 | .swal2-modal .swal2-input:focus::placeholder, |
| 197 | .swal2-modal .swal2-file:focus::placeholder, |
| 198 | .swal2-modal .swal2-textarea:focus::placeholder { |
| 199 | -webkit-transition: opacity .3s .03s ease; |
| 200 | transition: opacity .3s .03s ease; |
| 201 | opacity: .8; } |
| 202 | .swal2-modal .swal2-input::-webkit-input-placeholder, |
| 203 | .swal2-modal .swal2-file::-webkit-input-placeholder, |
| 204 | .swal2-modal .swal2-textarea::-webkit-input-placeholder { |
| 205 | color: #e6e6e6; } |
| 206 | .swal2-modal .swal2-input:-ms-input-placeholder, |
| 207 | .swal2-modal .swal2-file:-ms-input-placeholder, |
| 208 | .swal2-modal .swal2-textarea:-ms-input-placeholder { |
| 209 | color: #e6e6e6; } |
| 210 | .swal2-modal .swal2-input::placeholder, |
| 211 | .swal2-modal .swal2-file::placeholder, |
| 212 | .swal2-modal .swal2-textarea::placeholder { |
| 213 | color: #e6e6e6; } |
| 214 | .swal2-modal .swal2-range input { |
| 215 | float: left; |
| 216 | width: 80%; } |
| 217 | .swal2-modal .swal2-range output { |
| 218 | float: right; |
| 219 | width: 20%; |
| 220 | font-size: 20px; |
| 221 | font-weight: 600; |
| 222 | text-align: center; } |
| 223 | .swal2-modal .swal2-range input, |
| 224 | .swal2-modal .swal2-range output { |
| 225 | height: 43px; |
| 226 | line-height: 43px; |
| 227 | vertical-align: middle; |
| 228 | margin: 20px auto; |
| 229 | padding: 0; } |
| 230 | .swal2-modal .swal2-input { |
| 231 | height: 43px; |
| 232 | padding: 0 12px; } |
| 233 | .swal2-modal .swal2-input[type='number'] { |
| 234 | max-width: 150px; } |
| 235 | .swal2-modal .swal2-file { |
| 236 | font-size: 20px; } |
| 237 | .swal2-modal .swal2-textarea { |
| 238 | height: 108px; |
| 239 | padding: 12px; } |
| 240 | .swal2-modal .swal2-select { |
| 241 | color: #545454; |
| 242 | font-size: inherit; |
| 243 | padding: 5px 10px; |
| 244 | min-width: 40%; |
| 245 | max-width: 100%; } |
| 246 | .swal2-modal .swal2-radio { |
| 247 | border: 0; } |
| 248 | .swal2-modal .swal2-radio label:not(:first-child) { |
| 249 | margin-left: 20px; } |
| 250 | .swal2-modal .swal2-radio input, |
| 251 | .swal2-modal .swal2-radio span { |
| 252 | vertical-align: middle; } |
| 253 | .swal2-modal .swal2-radio input { |
| 254 | margin: 0 3px 0 0; } |
| 255 | .swal2-modal .swal2-checkbox { |
| 256 | color: #545454; } |
| 257 | .swal2-modal .swal2-checkbox input, |
| 258 | .swal2-modal .swal2-checkbox span { |
| 259 | vertical-align: middle; } |
| 260 | .swal2-modal .swal2-validationerror { |
| 261 | background-color: #f0f0f0; |
| 262 | margin: 0 -20px; |
| 263 | overflow: hidden; |
| 264 | padding: 10px; |
| 265 | color: gray; |
| 266 | font-size: 16px; |
| 267 | font-weight: 300; |
| 268 | display: none; } |
| 269 | .swal2-modal .swal2-validationerror::before { |
| 270 | content: '!'; |
| 271 | display: inline-block; |
| 272 | width: 24px; |
| 273 | height: 24px; |
| 274 | border-radius: 50%; |
| 275 | background-color: #ea7d7d; |
| 276 | color: #fff; |
| 277 | line-height: 24px; |
| 278 | text-align: center; |
| 279 | margin-right: 10px; } |
| 280 | |
| 281 | @supports (-ms-accelerator: true) { |
| 282 | .swal2-range input { |
| 283 | width: 100% !important; } |
| 284 | .swal2-range output { |
| 285 | display: none; } } |
| 286 | |
| 287 | @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { |
| 288 | .swal2-range input { |
| 289 | width: 100% !important; } |
| 290 | .swal2-range output { |
| 291 | display: none; } } |
| 292 | |
| 293 | .swal2-icon { |
| 294 | width: 80px; |
| 295 | height: 80px; |
| 296 | border: 4px solid transparent; |
| 297 | border-radius: 50%; |
| 298 | margin: 20px auto 30px; |
| 299 | padding: 0; |
| 300 | position: relative; |
| 301 | -webkit-box-sizing: content-box; |
| 302 | box-sizing: content-box; |
| 303 | cursor: default; |
| 304 | -webkit-user-select: none; |
| 305 | -moz-user-select: none; |
| 306 | -ms-user-select: none; |
| 307 | user-select: none; } |
| 308 | .swal2-icon.swal2-error { |
| 309 | border-color: #f27474; } |
| 310 | .swal2-icon.swal2-error .swal2-x-mark { |
| 311 | position: relative; |
| 312 | display: block; } |
| 313 | .swal2-icon.swal2-error [class^='swal2-x-mark-line'] { |
| 314 | position: absolute; |
| 315 | height: 5px; |
| 316 | width: 47px; |
| 317 | background-color: #f27474; |
| 318 | display: block; |
| 319 | top: 37px; |
| 320 | border-radius: 2px; } |
| 321 | .swal2-icon.swal2-error [class^='swal2-x-mark-line'][class$='left'] { |
| 322 | -webkit-transform: rotate(45deg); |
| 323 | transform: rotate(45deg); |
| 324 | left: 17px; } |
| 325 | .swal2-icon.swal2-error [class^='swal2-x-mark-line'][class$='right'] { |
| 326 | -webkit-transform: rotate(-45deg); |
| 327 | transform: rotate(-45deg); |
| 328 | right: 16px; } |
| 329 | .swal2-icon.swal2-warning { |
| 330 | font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; |
| 331 | color: #f8bb86; |
| 332 | border-color: #facea8; |
| 333 | font-size: 60px; |
| 334 | line-height: 80px; |
| 335 | text-align: center; } |
| 336 | .swal2-icon.swal2-info { |
| 337 | font-family: 'Open Sans', sans-serif; |
| 338 | color: #3fc3ee; |
| 339 | border-color: #9de0f6; |
| 340 | font-size: 60px; |
| 341 | line-height: 80px; |
| 342 | text-align: center; } |
| 343 | .swal2-icon.swal2-question { |
| 344 | font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; |
| 345 | color: #87adbd; |
| 346 | border-color: #c9dae1; |
| 347 | font-size: 60px; |
| 348 | line-height: 80px; |
| 349 | text-align: center; } |
| 350 | .swal2-icon.swal2-success { |
| 351 | border-color: #a5dc86; } |
| 352 | .swal2-icon.swal2-success [class^='swal2-success-circular-line'] { |
| 353 | border-radius: 50%; |
| 354 | position: absolute; |
| 355 | width: 60px; |
| 356 | height: 120px; |
| 357 | -webkit-transform: rotate(45deg); |
| 358 | transform: rotate(45deg); } |
| 359 | .swal2-icon.swal2-success [class^='swal2-success-circular-line'][class$='left'] { |
| 360 | border-radius: 120px 0 0 120px; |
| 361 | top: -7px; |
| 362 | left: -33px; |
| 363 | -webkit-transform: rotate(-45deg); |
| 364 | transform: rotate(-45deg); |
| 365 | -webkit-transform-origin: 60px 60px; |
| 366 | transform-origin: 60px 60px; } |
| 367 | .swal2-icon.swal2-success [class^='swal2-success-circular-line'][class$='right'] { |
| 368 | border-radius: 0 120px 120px 0; |
| 369 | top: -11px; |
| 370 | left: 30px; |
| 371 | -webkit-transform: rotate(-45deg); |
| 372 | transform: rotate(-45deg); |
| 373 | -webkit-transform-origin: 0 60px; |
| 374 | transform-origin: 0 60px; } |
| 375 | .swal2-icon.swal2-success .swal2-success-ring { |
| 376 | width: 80px; |
| 377 | height: 80px; |
| 378 | border: 4px solid rgba(165, 220, 134, 0.2); |
| 379 | border-radius: 50%; |
| 380 | -webkit-box-sizing: content-box; |
| 381 | box-sizing: content-box; |
| 382 | position: absolute; |
| 383 | left: -4px; |
| 384 | top: -4px; |
| 385 | z-index: 2; } |
| 386 | .swal2-icon.swal2-success .swal2-success-fix { |
| 387 | width: 7px; |
| 388 | height: 90px; |
| 389 | position: absolute; |
| 390 | left: 28px; |
| 391 | top: 8px; |
| 392 | z-index: 1; |
| 393 | -webkit-transform: rotate(-45deg); |
| 394 | transform: rotate(-45deg); } |
| 395 | .swal2-icon.swal2-success [class^='swal2-success-line'] { |
| 396 | height: 5px; |
| 397 | background-color: #a5dc86; |
| 398 | display: block; |
| 399 | border-radius: 2px; |
| 400 | position: absolute; |
| 401 | z-index: 2; } |
| 402 | .swal2-icon.swal2-success [class^='swal2-success-line'][class$='tip'] { |
| 403 | width: 25px; |
| 404 | left: 14px; |
| 405 | top: 46px; |
| 406 | -webkit-transform: rotate(45deg); |
| 407 | transform: rotate(45deg); } |
| 408 | .swal2-icon.swal2-success [class^='swal2-success-line'][class$='long'] { |
| 409 | width: 47px; |
| 410 | right: 8px; |
| 411 | top: 38px; |
| 412 | -webkit-transform: rotate(-45deg); |
| 413 | transform: rotate(-45deg); } |
| 414 | |
| 415 | .swal2-progresssteps { |
| 416 | font-weight: 600; |
| 417 | margin: 0 0 20px; |
| 418 | padding: 0; } |
| 419 | .swal2-progresssteps li { |
| 420 | display: inline-block; |
| 421 | position: relative; } |
| 422 | .swal2-progresssteps .swal2-progresscircle { |
| 423 | background: #3085d6; |
| 424 | border-radius: 2em; |
| 425 | color: #fff; |
| 426 | height: 2em; |
| 427 | line-height: 2em; |
| 428 | text-align: center; |
| 429 | width: 2em; |
| 430 | z-index: 20; } |
| 431 | .swal2-progresssteps .swal2-progresscircle:first-child { |
| 432 | margin-left: 0; } |
| 433 | .swal2-progresssteps .swal2-progresscircle:last-child { |
| 434 | margin-right: 0; } |
| 435 | .swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep { |
| 436 | background: #3085d6; } |
| 437 | .swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep ~ .swal2-progresscircle { |
| 438 | background: #add8e6; } |
| 439 | .swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep ~ .swal2-progressline { |
| 440 | background: #add8e6; } |
| 441 | .swal2-progresssteps .swal2-progressline { |
| 442 | background: #3085d6; |
| 443 | height: .4em; |
| 444 | margin: 0 -1px; |
| 445 | z-index: 10; } |
| 446 | |
| 447 | [class^='swal2'] { |
| 448 | -webkit-tap-highlight-color: transparent; } |
| 449 | |
| 450 | @-webkit-keyframes showSweetAlert { |
| 451 | 0% { |
| 452 | -webkit-transform: scale(0.7); |
| 453 | transform: scale(0.7); } |
| 454 | 45% { |
| 455 | -webkit-transform: scale(1.05); |
| 456 | transform: scale(1.05); } |
| 457 | 80% { |
| 458 | -webkit-transform: scale(0.95); |
| 459 | transform: scale(0.95); } |
| 460 | 100% { |
| 461 | -webkit-transform: scale(1); |
| 462 | transform: scale(1); } } |
| 463 | |
| 464 | @keyframes showSweetAlert { |
| 465 | 0% { |
| 466 | -webkit-transform: scale(0.7); |
| 467 | transform: scale(0.7); } |
| 468 | 45% { |
| 469 | -webkit-transform: scale(1.05); |
| 470 | transform: scale(1.05); } |
| 471 | 80% { |
| 472 | -webkit-transform: scale(0.95); |
| 473 | transform: scale(0.95); } |
| 474 | 100% { |
| 475 | -webkit-transform: scale(1); |
| 476 | transform: scale(1); } } |
| 477 | |
| 478 | @-webkit-keyframes hideSweetAlert { |
| 479 | 0% { |
| 480 | -webkit-transform: scale(1); |
| 481 | transform: scale(1); |
| 482 | opacity: 1; } |
| 483 | 100% { |
| 484 | -webkit-transform: scale(0.5); |
| 485 | transform: scale(0.5); |
| 486 | opacity: 0; } } |
| 487 | |
| 488 | @keyframes hideSweetAlert { |
| 489 | 0% { |
| 490 | -webkit-transform: scale(1); |
| 491 | transform: scale(1); |
| 492 | opacity: 1; } |
| 493 | 100% { |
| 494 | -webkit-transform: scale(0.5); |
| 495 | transform: scale(0.5); |
| 496 | opacity: 0; } } |
| 497 | |
| 498 | .swal2-show { |
| 499 | -webkit-animation: showSweetAlert 0.3s; |
| 500 | animation: showSweetAlert 0.3s; } |
| 501 | .swal2-show.swal2-noanimation { |
| 502 | -webkit-animation: none; |
| 503 | animation: none; } |
| 504 | |
| 505 | .swal2-hide { |
| 506 | -webkit-animation: hideSweetAlert 0.15s forwards; |
| 507 | animation: hideSweetAlert 0.15s forwards; } |
| 508 | .swal2-hide.swal2-noanimation { |
| 509 | -webkit-animation: none; |
| 510 | animation: none; } |
| 511 | |
| 512 | @-webkit-keyframes animate-success-tip { |
| 513 | 0% { |
| 514 | width: 0; |
| 515 | left: 1px; |
| 516 | top: 19px; } |
| 517 | 54% { |
| 518 | width: 0; |
| 519 | left: 1px; |
| 520 | top: 19px; } |
| 521 | 70% { |
| 522 | width: 50px; |
| 523 | left: -8px; |
| 524 | top: 37px; } |
| 525 | 84% { |
| 526 | width: 17px; |
| 527 | left: 21px; |
| 528 | top: 48px; } |
| 529 | 100% { |
| 530 | width: 25px; |
| 531 | left: 14px; |
| 532 | top: 45px; } } |
| 533 | |
| 534 | @keyframes animate-success-tip { |
| 535 | 0% { |
| 536 | width: 0; |
| 537 | left: 1px; |
| 538 | top: 19px; } |
| 539 | 54% { |
| 540 | width: 0; |
| 541 | left: 1px; |
| 542 | top: 19px; } |
| 543 | 70% { |
| 544 | width: 50px; |
| 545 | left: -8px; |
| 546 | top: 37px; } |
| 547 | 84% { |
| 548 | width: 17px; |
| 549 | left: 21px; |
| 550 | top: 48px; } |
| 551 | 100% { |
| 552 | width: 25px; |
| 553 | left: 14px; |
| 554 | top: 45px; } } |
| 555 | |
| 556 | @-webkit-keyframes animate-success-long { |
| 557 | 0% { |
| 558 | width: 0; |
| 559 | right: 46px; |
| 560 | top: 54px; } |
| 561 | 65% { |
| 562 | width: 0; |
| 563 | right: 46px; |
| 564 | top: 54px; } |
| 565 | 84% { |
| 566 | width: 55px; |
| 567 | right: 0; |
| 568 | top: 35px; } |
| 569 | 100% { |
| 570 | width: 47px; |
| 571 | right: 8px; |
| 572 | top: 38px; } } |
| 573 | |
| 574 | @keyframes animate-success-long { |
| 575 | 0% { |
| 576 | width: 0; |
| 577 | right: 46px; |
| 578 | top: 54px; } |
| 579 | 65% { |
| 580 | width: 0; |
| 581 | right: 46px; |
| 582 | top: 54px; } |
| 583 | 84% { |
| 584 | width: 55px; |
| 585 | right: 0; |
| 586 | top: 35px; } |
| 587 | 100% { |
| 588 | width: 47px; |
| 589 | right: 8px; |
| 590 | top: 38px; } } |
| 591 | |
| 592 | @-webkit-keyframes rotatePlaceholder { |
| 593 | 0% { |
| 594 | -webkit-transform: rotate(-45deg); |
| 595 | transform: rotate(-45deg); } |
| 596 | 5% { |
| 597 | -webkit-transform: rotate(-45deg); |
| 598 | transform: rotate(-45deg); } |
| 599 | 12% { |
| 600 | -webkit-transform: rotate(-405deg); |
| 601 | transform: rotate(-405deg); } |
| 602 | 100% { |
| 603 | -webkit-transform: rotate(-405deg); |
| 604 | transform: rotate(-405deg); } } |
| 605 | |
| 606 | @keyframes rotatePlaceholder { |
| 607 | 0% { |
| 608 | -webkit-transform: rotate(-45deg); |
| 609 | transform: rotate(-45deg); } |
| 610 | 5% { |
| 611 | -webkit-transform: rotate(-45deg); |
| 612 | transform: rotate(-45deg); } |
| 613 | 12% { |
| 614 | -webkit-transform: rotate(-405deg); |
| 615 | transform: rotate(-405deg); } |
| 616 | 100% { |
| 617 | -webkit-transform: rotate(-405deg); |
| 618 | transform: rotate(-405deg); } } |
| 619 | |
| 620 | .swal2-animate-success-line-tip { |
| 621 | -webkit-animation: animate-success-tip 0.75s; |
| 622 | animation: animate-success-tip 0.75s; } |
| 623 | |
| 624 | .swal2-animate-success-line-long { |
| 625 | -webkit-animation: animate-success-long 0.75s; |
| 626 | animation: animate-success-long 0.75s; } |
| 627 | |
| 628 | .swal2-success.swal2-animate-success-icon .swal2-success-circular-line-right { |
| 629 | -webkit-animation: rotatePlaceholder 4.25s ease-in; |
| 630 | animation: rotatePlaceholder 4.25s ease-in; } |
| 631 | |
| 632 | @-webkit-keyframes animate-error-icon { |
| 633 | 0% { |
| 634 | -webkit-transform: rotateX(100deg); |
| 635 | transform: rotateX(100deg); |
| 636 | opacity: 0; } |
| 637 | 100% { |
| 638 | -webkit-transform: rotateX(0deg); |
| 639 | transform: rotateX(0deg); |
| 640 | opacity: 1; } } |
| 641 | |
| 642 | @keyframes animate-error-icon { |
| 643 | 0% { |
| 644 | -webkit-transform: rotateX(100deg); |
| 645 | transform: rotateX(100deg); |
| 646 | opacity: 0; } |
| 647 | 100% { |
| 648 | -webkit-transform: rotateX(0deg); |
| 649 | transform: rotateX(0deg); |
| 650 | opacity: 1; } } |
| 651 | |
| 652 | .swal2-animate-error-icon { |
| 653 | -webkit-animation: animate-error-icon 0.5s; |
| 654 | animation: animate-error-icon 0.5s; } |
| 655 | |
| 656 | @-webkit-keyframes animate-x-mark { |
| 657 | 0% { |
| 658 | -webkit-transform: scale(0.4); |
| 659 | transform: scale(0.4); |
| 660 | margin-top: 26px; |
| 661 | opacity: 0; } |
| 662 | 50% { |
| 663 | -webkit-transform: scale(0.4); |
| 664 | transform: scale(0.4); |
| 665 | margin-top: 26px; |
| 666 | opacity: 0; } |
| 667 | 80% { |
| 668 | -webkit-transform: scale(1.15); |
| 669 | transform: scale(1.15); |
| 670 | margin-top: -6px; } |
| 671 | 100% { |
| 672 | -webkit-transform: scale(1); |
| 673 | transform: scale(1); |
| 674 | margin-top: 0; |
| 675 | opacity: 1; } } |
| 676 | |
| 677 | @keyframes animate-x-mark { |
| 678 | 0% { |
| 679 | -webkit-transform: scale(0.4); |
| 680 | transform: scale(0.4); |
| 681 | margin-top: 26px; |
| 682 | opacity: 0; } |
| 683 | 50% { |
| 684 | -webkit-transform: scale(0.4); |
| 685 | transform: scale(0.4); |
| 686 | margin-top: 26px; |
| 687 | opacity: 0; } |
| 688 | 80% { |
| 689 | -webkit-transform: scale(1.15); |
| 690 | transform: scale(1.15); |
| 691 | margin-top: -6px; } |
| 692 | 100% { |
| 693 | -webkit-transform: scale(1); |
| 694 | transform: scale(1); |
| 695 | margin-top: 0; |
| 696 | opacity: 1; } } |
| 697 | |
| 698 | .swal2-animate-x-mark { |
| 699 | -webkit-animation: animate-x-mark 0.5s; |
| 700 | animation: animate-x-mark 0.5s; } |
| 701 | |
| 702 | @-webkit-keyframes rotate-loading { |
| 703 | 0% { |
| 704 | -webkit-transform: rotate(0deg); |
| 705 | transform: rotate(0deg); } |
| 706 | 100% { |
| 707 | -webkit-transform: rotate(360deg); |
| 708 | transform: rotate(360deg); } } |
| 709 | |
| 710 | @keyframes rotate-loading { |
| 711 | 0% { |
| 712 | -webkit-transform: rotate(0deg); |
| 713 | transform: rotate(0deg); } |
| 714 | 100% { |
| 715 | -webkit-transform: rotate(360deg); |
| 716 | transform: rotate(360deg); } } |
| 717 |