You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

932 lines
22 KiB

4 years ago
  1. body.stop-scrolling {
  2. height: 100%;
  3. overflow: hidden; }
  4. .sweet-overlay {
  5. background-color: black;
  6. /* IE8 */
  7. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
  8. /* IE8 */
  9. background-color: rgba(0, 0, 0, 0.4);
  10. position: fixed;
  11. left: 0;
  12. right: 0;
  13. top: 0;
  14. bottom: 0;
  15. display: none;
  16. z-index: 10000; }
  17. .sweet-alert {
  18. background-color: white;
  19. font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  20. width: 478px;
  21. padding: 17px;
  22. border-radius: 5px;
  23. text-align: center;
  24. position: fixed;
  25. left: 50%;
  26. top: 50%;
  27. margin-left: -256px;
  28. margin-top: -200px;
  29. overflow: hidden;
  30. display: none;
  31. z-index: 99999; }
  32. @media all and (max-width: 540px) {
  33. .sweet-alert {
  34. width: auto;
  35. margin-left: 0;
  36. margin-right: 0;
  37. left: 15px;
  38. right: 15px; } }
  39. .sweet-alert h2 {
  40. color: #575757;
  41. font-size: 30px;
  42. text-align: center;
  43. font-weight: 600;
  44. text-transform: none;
  45. position: relative;
  46. margin: 25px 0;
  47. padding: 0;
  48. line-height: 40px;
  49. display: block; }
  50. .sweet-alert p {
  51. color: #797979;
  52. font-size: 16px;
  53. text-align: center;
  54. font-weight: 300;
  55. position: relative;
  56. text-align: inherit;
  57. float: none;
  58. margin: 0;
  59. padding: 0;
  60. line-height: normal; }
  61. .sweet-alert fieldset {
  62. border: none;
  63. position: relative; }
  64. .sweet-alert .sa-error-container {
  65. background-color: #f1f1f1;
  66. margin-left: -17px;
  67. margin-right: -17px;
  68. overflow: hidden;
  69. padding: 0 10px;
  70. max-height: 0;
  71. webkit-transition: padding 0.15s, max-height 0.15s;
  72. transition: padding 0.15s, max-height 0.15s; }
  73. .sweet-alert .sa-error-container.show {
  74. padding: 10px 0;
  75. max-height: 100px;
  76. webkit-transition: padding 0.2s, max-height 0.2s;
  77. transition: padding 0.25s, max-height 0.25s; }
  78. .sweet-alert .sa-error-container .icon {
  79. display: inline-block;
  80. width: 24px;
  81. height: 24px;
  82. border-radius: 50%;
  83. background-color: #ea7d7d;
  84. color: white;
  85. line-height: 24px;
  86. text-align: center;
  87. margin-right: 3px; }
  88. .sweet-alert .sa-error-container p {
  89. display: inline-block; }
  90. .sweet-alert .sa-input-error {
  91. position: absolute;
  92. top: 29px;
  93. right: 26px;
  94. width: 20px;
  95. height: 20px;
  96. opacity: 0;
  97. -webkit-transform: scale(0.5);
  98. transform: scale(0.5);
  99. -webkit-transform-origin: 50% 50%;
  100. transform-origin: 50% 50%;
  101. -webkit-transition: all 0.1s;
  102. transition: all 0.1s; }
  103. .sweet-alert .sa-input-error::before, .sweet-alert .sa-input-error::after {
  104. content: "";
  105. width: 20px;
  106. height: 6px;
  107. background-color: #f06e57;
  108. border-radius: 3px;
  109. position: absolute;
  110. top: 50%;
  111. margin-top: -4px;
  112. left: 50%;
  113. margin-left: -9px; }
  114. .sweet-alert .sa-input-error::before {
  115. -webkit-transform: rotate(-45deg);
  116. transform: rotate(-45deg); }
  117. .sweet-alert .sa-input-error::after {
  118. -webkit-transform: rotate(45deg);
  119. transform: rotate(45deg); }
  120. .sweet-alert .sa-input-error.show {
  121. opacity: 1;
  122. -webkit-transform: scale(1);
  123. transform: scale(1); }
  124. .sweet-alert input {
  125. width: 100%;
  126. box-sizing: border-box;
  127. border-radius: 3px;
  128. border: 1px solid #d7d7d7;
  129. height: 43px;
  130. margin-top: 10px;
  131. margin-bottom: 17px;
  132. font-size: 18px;
  133. box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.06);
  134. padding: 0 12px;
  135. display: none;
  136. -webkit-transition: all 0.3s;
  137. transition: all 0.3s; }
  138. .sweet-alert input:focus {
  139. outline: none;
  140. box-shadow: 0px 0px 3px #c4e6f5;
  141. border: 1px solid #b4dbed; }
  142. .sweet-alert input:focus::-moz-placeholder {
  143. transition: opacity 0.3s 0.03s ease;
  144. opacity: 0.5; }
  145. .sweet-alert input:focus:-ms-input-placeholder {
  146. transition: opacity 0.3s 0.03s ease;
  147. opacity: 0.5; }
  148. .sweet-alert input:focus::-webkit-input-placeholder {
  149. transition: opacity 0.3s 0.03s ease;
  150. opacity: 0.5; }
  151. .sweet-alert input::-moz-placeholder {
  152. color: #bdbdbd; }
  153. .sweet-alert input:-ms-input-placeholder {
  154. color: #bdbdbd; }
  155. .sweet-alert input::-webkit-input-placeholder {
  156. color: #bdbdbd; }
  157. .sweet-alert.show-input input {
  158. display: block; }
  159. .sweet-alert .sa-confirm-button-container {
  160. display: inline-block;
  161. position: relative; }
  162. .sweet-alert .la-ball-fall {
  163. position: absolute;
  164. left: 50%;
  165. top: 50%;
  166. margin-left: -27px;
  167. margin-top: 4px;
  168. opacity: 0;
  169. visibility: hidden; }
  170. .sweet-alert button {
  171. background-color: #8CD4F5;
  172. color: white;
  173. border: none;
  174. box-shadow: none;
  175. font-size: 17px;
  176. font-weight: 500;
  177. -webkit-border-radius: 4px;
  178. border-radius: 5px;
  179. padding: 10px 32px;
  180. margin: 26px 5px 0 5px;
  181. cursor: pointer; }
  182. .sweet-alert button:focus {
  183. outline: none;
  184. box-shadow: 0 0 2px rgba(128, 179, 235, 0.5), inset 0 0 0 1px rgba(0, 0, 0, 0.05); }
  185. .sweet-alert button:hover {
  186. background-color: #7ecff4; }
  187. .sweet-alert button:active {
  188. background-color: #5dc2f1; }
  189. .sweet-alert button.cancel {
  190. background-color: #C1C1C1; }
  191. .sweet-alert button.cancel:hover {
  192. background-color: #b9b9b9; }
  193. .sweet-alert button.cancel:active {
  194. background-color: #a8a8a8; }
  195. .sweet-alert button.cancel:focus {
  196. box-shadow: rgba(197, 205, 211, 0.8) 0px 0px 2px, rgba(0, 0, 0, 0.0470588) 0px 0px 0px 1px inset !important; }
  197. .sweet-alert button[disabled] {
  198. opacity: .6;
  199. cursor: default; }
  200. .sweet-alert button.confirm[disabled] {
  201. color: transparent; }
  202. .sweet-alert button.confirm[disabled] ~ .la-ball-fall {
  203. opacity: 1;
  204. visibility: visible;
  205. transition-delay: 0s; }
  206. .sweet-alert button::-moz-focus-inner {
  207. border: 0; }
  208. .sweet-alert[data-has-cancel-button=false] button {
  209. box-shadow: none !important; }
  210. .sweet-alert[data-has-confirm-button=false][data-has-cancel-button=false] {
  211. padding-bottom: 40px; }
  212. .sweet-alert .sa-icon {
  213. width: 80px;
  214. height: 80px;
  215. border: 4px solid gray;
  216. -webkit-border-radius: 40px;
  217. border-radius: 40px;
  218. border-radius: 50%;
  219. margin: 20px auto;
  220. padding: 0;
  221. position: relative;
  222. box-sizing: content-box; }
  223. .sweet-alert .sa-icon.sa-error {
  224. border-color: #F27474; }
  225. .sweet-alert .sa-icon.sa-error .sa-x-mark {
  226. position: relative;
  227. display: block; }
  228. .sweet-alert .sa-icon.sa-error .sa-line {
  229. position: absolute;
  230. height: 5px;
  231. width: 47px;
  232. background-color: #F27474;
  233. display: block;
  234. top: 37px;
  235. border-radius: 2px; }
  236. .sweet-alert .sa-icon.sa-error .sa-line.sa-left {
  237. -webkit-transform: rotate(45deg);
  238. transform: rotate(45deg);
  239. left: 17px; }
  240. .sweet-alert .sa-icon.sa-error .sa-line.sa-right {
  241. -webkit-transform: rotate(-45deg);
  242. transform: rotate(-45deg);
  243. right: 16px; }
  244. .sweet-alert .sa-icon.sa-warning {
  245. border-color: #F8BB86; }
  246. .sweet-alert .sa-icon.sa-warning .sa-body {
  247. position: absolute;
  248. width: 5px;
  249. height: 47px;
  250. left: 50%;
  251. top: 10px;
  252. -webkit-border-radius: 2px;
  253. border-radius: 2px;
  254. margin-left: -2px;
  255. background-color: #F8BB86; }
  256. .sweet-alert .sa-icon.sa-warning .sa-dot {
  257. position: absolute;
  258. width: 7px;
  259. height: 7px;
  260. -webkit-border-radius: 50%;
  261. border-radius: 50%;
  262. margin-left: -3px;
  263. left: 50%;
  264. bottom: 10px;
  265. background-color: #F8BB86; }
  266. .sweet-alert .sa-icon.sa-info {
  267. border-color: #C9DAE1; }
  268. .sweet-alert .sa-icon.sa-info::before {
  269. content: "";
  270. position: absolute;
  271. width: 5px;
  272. height: 29px;
  273. left: 50%;
  274. bottom: 17px;
  275. border-radius: 2px;
  276. margin-left: -2px;
  277. background-color: #C9DAE1; }
  278. .sweet-alert .sa-icon.sa-info::after {
  279. content: "";
  280. position: absolute;
  281. width: 7px;
  282. height: 7px;
  283. border-radius: 50%;
  284. margin-left: -3px;
  285. top: 19px;
  286. background-color: #C9DAE1; }
  287. .sweet-alert .sa-icon.sa-success {
  288. border-color: #A5DC86; }
  289. .sweet-alert .sa-icon.sa-success::before, .sweet-alert .sa-icon.sa-success::after {
  290. content: '';
  291. -webkit-border-radius: 40px;
  292. border-radius: 40px;
  293. border-radius: 50%;
  294. position: absolute;
  295. width: 60px;
  296. height: 120px;
  297. background: white;
  298. -webkit-transform: rotate(45deg);
  299. transform: rotate(45deg); }
  300. .sweet-alert .sa-icon.sa-success::before {
  301. -webkit-border-radius: 120px 0 0 120px;
  302. border-radius: 120px 0 0 120px;
  303. top: -7px;
  304. left: -33px;
  305. -webkit-transform: rotate(-45deg);
  306. transform: rotate(-45deg);
  307. -webkit-transform-origin: 60px 60px;
  308. transform-origin: 60px 60px; }
  309. .sweet-alert .sa-icon.sa-success::after {
  310. -webkit-border-radius: 0 120px 120px 0;
  311. border-radius: 0 120px 120px 0;
  312. top: -11px;
  313. left: 30px;
  314. -webkit-transform: rotate(-45deg);
  315. transform: rotate(-45deg);
  316. -webkit-transform-origin: 0px 60px;
  317. transform-origin: 0px 60px; }
  318. .sweet-alert .sa-icon.sa-success .sa-placeholder {
  319. width: 80px;
  320. height: 80px;
  321. border: 4px solid rgba(165, 220, 134, 0.2);
  322. -webkit-border-radius: 40px;
  323. border-radius: 40px;
  324. border-radius: 50%;
  325. box-sizing: content-box;
  326. position: absolute;
  327. left: -4px;
  328. top: -4px;
  329. z-index: 2; }
  330. .sweet-alert .sa-icon.sa-success .sa-fix {
  331. width: 5px;
  332. height: 90px;
  333. background-color: white;
  334. position: absolute;
  335. left: 28px;
  336. top: 8px;
  337. z-index: 1;
  338. -webkit-transform: rotate(-45deg);
  339. transform: rotate(-45deg); }
  340. .sweet-alert .sa-icon.sa-success .sa-line {
  341. height: 5px;
  342. background-color: #A5DC86;
  343. display: block;
  344. border-radius: 2px;
  345. position: absolute;
  346. z-index: 2; }
  347. .sweet-alert .sa-icon.sa-success .sa-line.sa-tip {
  348. width: 25px;
  349. left: 14px;
  350. top: 46px;
  351. -webkit-transform: rotate(45deg);
  352. transform: rotate(45deg); }
  353. .sweet-alert .sa-icon.sa-success .sa-line.sa-long {
  354. width: 47px;
  355. right: 8px;
  356. top: 38px;
  357. -webkit-transform: rotate(-45deg);
  358. transform: rotate(-45deg); }
  359. .sweet-alert .sa-icon.sa-custom {
  360. background-size: contain;
  361. border-radius: 0;
  362. border: none;
  363. background-position: center center;
  364. background-repeat: no-repeat; }
  365. /*
  366. * Animations
  367. */
  368. @-webkit-keyframes showSweetAlert {
  369. 0% {
  370. transform: scale(0.7);
  371. -webkit-transform: scale(0.7); }
  372. 45% {
  373. transform: scale(1.05);
  374. -webkit-transform: scale(1.05); }
  375. 80% {
  376. transform: scale(0.95);
  377. -webkit-transform: scale(0.95); }
  378. 100% {
  379. transform: scale(1);
  380. -webkit-transform: scale(1); } }
  381. @keyframes showSweetAlert {
  382. 0% {
  383. transform: scale(0.7);
  384. -webkit-transform: scale(0.7); }
  385. 45% {
  386. transform: scale(1.05);
  387. -webkit-transform: scale(1.05); }
  388. 80% {
  389. transform: scale(0.95);
  390. -webkit-transform: scale(0.95); }
  391. 100% {
  392. transform: scale(1);
  393. -webkit-transform: scale(1); } }
  394. @-webkit-keyframes hideSweetAlert {
  395. 0% {
  396. transform: scale(1);
  397. -webkit-transform: scale(1); }
  398. 100% {
  399. transform: scale(0.5);
  400. -webkit-transform: scale(0.5); } }
  401. @keyframes hideSweetAlert {
  402. 0% {
  403. transform: scale(1);
  404. -webkit-transform: scale(1); }
  405. 100% {
  406. transform: scale(0.5);
  407. -webkit-transform: scale(0.5); } }
  408. @-webkit-keyframes slideFromTop {
  409. 0% {
  410. top: 0%; }
  411. 100% {
  412. top: 50%; } }
  413. @keyframes slideFromTop {
  414. 0% {
  415. top: 0%; }
  416. 100% {
  417. top: 50%; } }
  418. @-webkit-keyframes slideToTop {
  419. 0% {
  420. top: 50%; }
  421. 100% {
  422. top: 0%; } }
  423. @keyframes slideToTop {
  424. 0% {
  425. top: 50%; }
  426. 100% {
  427. top: 0%; } }
  428. @-webkit-keyframes slideFromBottom {
  429. 0% {
  430. top: 70%; }
  431. 100% {
  432. top: 50%; } }
  433. @keyframes slideFromBottom {
  434. 0% {
  435. top: 70%; }
  436. 100% {
  437. top: 50%; } }
  438. @-webkit-keyframes slideToBottom {
  439. 0% {
  440. top: 50%; }
  441. 100% {
  442. top: 70%; } }
  443. @keyframes slideToBottom {
  444. 0% {
  445. top: 50%; }
  446. 100% {
  447. top: 70%; } }
  448. .showSweetAlert[data-animation=pop] {
  449. -webkit-animation: showSweetAlert 0.3s;
  450. animation: showSweetAlert 0.3s; }
  451. .showSweetAlert[data-animation=none] {
  452. -webkit-animation: none;
  453. animation: none; }
  454. .showSweetAlert[data-animation=slide-from-top] {
  455. -webkit-animation: slideFromTop 0.3s;
  456. animation: slideFromTop 0.3s; }
  457. .showSweetAlert[data-animation=slide-from-bottom] {
  458. -webkit-animation: slideFromBottom 0.3s;
  459. animation: slideFromBottom 0.3s; }
  460. .hideSweetAlert[data-animation=pop] {
  461. -webkit-animation: hideSweetAlert 0.2s;
  462. animation: hideSweetAlert 0.2s; }
  463. .hideSweetAlert[data-animation=none] {
  464. -webkit-animation: none;
  465. animation: none; }
  466. .hideSweetAlert[data-animation=slide-from-top] {
  467. -webkit-animation: slideToTop 0.4s;
  468. animation: slideToTop 0.4s; }
  469. .hideSweetAlert[data-animation=slide-from-bottom] {
  470. -webkit-animation: slideToBottom 0.3s;
  471. animation: slideToBottom 0.3s; }
  472. @-webkit-keyframes animateSuccessTip {
  473. 0% {
  474. width: 0;
  475. left: 1px;
  476. top: 19px; }
  477. 54% {
  478. width: 0;
  479. left: 1px;
  480. top: 19px; }
  481. 70% {
  482. width: 50px;
  483. left: -8px;
  484. top: 37px; }
  485. 84% {
  486. width: 17px;
  487. left: 21px;
  488. top: 48px; }
  489. 100% {
  490. width: 25px;
  491. left: 14px;
  492. top: 45px; } }
  493. @keyframes animateSuccessTip {
  494. 0% {
  495. width: 0;
  496. left: 1px;
  497. top: 19px; }
  498. 54% {
  499. width: 0;
  500. left: 1px;
  501. top: 19px; }
  502. 70% {
  503. width: 50px;
  504. left: -8px;
  505. top: 37px; }
  506. 84% {
  507. width: 17px;
  508. left: 21px;
  509. top: 48px; }
  510. 100% {
  511. width: 25px;
  512. left: 14px;
  513. top: 45px; } }
  514. @-webkit-keyframes animateSuccessLong {
  515. 0% {
  516. width: 0;
  517. right: 46px;
  518. top: 54px; }
  519. 65% {
  520. width: 0;
  521. right: 46px;
  522. top: 54px; }
  523. 84% {
  524. width: 55px;
  525. right: 0px;
  526. top: 35px; }
  527. 100% {
  528. width: 47px;
  529. right: 8px;
  530. top: 38px; } }
  531. @keyframes animateSuccessLong {
  532. 0% {
  533. width: 0;
  534. right: 46px;
  535. top: 54px; }
  536. 65% {
  537. width: 0;
  538. right: 46px;
  539. top: 54px; }
  540. 84% {
  541. width: 55px;
  542. right: 0px;
  543. top: 35px; }
  544. 100% {
  545. width: 47px;
  546. right: 8px;
  547. top: 38px; } }
  548. @-webkit-keyframes rotatePlaceholder {
  549. 0% {
  550. transform: rotate(-45deg);
  551. -webkit-transform: rotate(-45deg); }
  552. 5% {
  553. transform: rotate(-45deg);
  554. -webkit-transform: rotate(-45deg); }
  555. 12% {
  556. transform: rotate(-405deg);
  557. -webkit-transform: rotate(-405deg); }
  558. 100% {
  559. transform: rotate(-405deg);
  560. -webkit-transform: rotate(-405deg); } }
  561. @keyframes rotatePlaceholder {
  562. 0% {
  563. transform: rotate(-45deg);
  564. -webkit-transform: rotate(-45deg); }
  565. 5% {
  566. transform: rotate(-45deg);
  567. -webkit-transform: rotate(-45deg); }
  568. 12% {
  569. transform: rotate(-405deg);
  570. -webkit-transform: rotate(-405deg); }
  571. 100% {
  572. transform: rotate(-405deg);
  573. -webkit-transform: rotate(-405deg); } }
  574. .animateSuccessTip {
  575. -webkit-animation: animateSuccessTip 0.75s;
  576. animation: animateSuccessTip 0.75s; }
  577. .animateSuccessLong {
  578. -webkit-animation: animateSuccessLong 0.75s;
  579. animation: animateSuccessLong 0.75s; }
  580. .sa-icon.sa-success.animate::after {
  581. -webkit-animation: rotatePlaceholder 4.25s ease-in;
  582. animation: rotatePlaceholder 4.25s ease-in; }
  583. @-webkit-keyframes animateErrorIcon {
  584. 0% {
  585. transform: rotateX(100deg);
  586. -webkit-transform: rotateX(100deg);
  587. opacity: 0; }
  588. 100% {
  589. transform: rotateX(0deg);
  590. -webkit-transform: rotateX(0deg);
  591. opacity: 1; } }
  592. @keyframes animateErrorIcon {
  593. 0% {
  594. transform: rotateX(100deg);
  595. -webkit-transform: rotateX(100deg);
  596. opacity: 0; }
  597. 100% {
  598. transform: rotateX(0deg);
  599. -webkit-transform: rotateX(0deg);
  600. opacity: 1; } }
  601. .animateErrorIcon {
  602. -webkit-animation: animateErrorIcon 0.5s;
  603. animation: animateErrorIcon 0.5s; }
  604. @-webkit-keyframes animateXMark {
  605. 0% {
  606. transform: scale(0.4);
  607. -webkit-transform: scale(0.4);
  608. margin-top: 26px;
  609. opacity: 0; }
  610. 50% {
  611. transform: scale(0.4);
  612. -webkit-transform: scale(0.4);
  613. margin-top: 26px;
  614. opacity: 0; }
  615. 80% {
  616. transform: scale(1.15);
  617. -webkit-transform: scale(1.15);
  618. margin-top: -6px; }
  619. 100% {
  620. transform: scale(1);
  621. -webkit-transform: scale(1);
  622. margin-top: 0;
  623. opacity: 1; } }
  624. @keyframes animateXMark {
  625. 0% {
  626. transform: scale(0.4);
  627. -webkit-transform: scale(0.4);
  628. margin-top: 26px;
  629. opacity: 0; }
  630. 50% {
  631. transform: scale(0.4);
  632. -webkit-transform: scale(0.4);
  633. margin-top: 26px;
  634. opacity: 0; }
  635. 80% {
  636. transform: scale(1.15);
  637. -webkit-transform: scale(1.15);
  638. margin-top: -6px; }
  639. 100% {
  640. transform: scale(1);
  641. -webkit-transform: scale(1);
  642. margin-top: 0;
  643. opacity: 1; } }
  644. .animateXMark {
  645. -webkit-animation: animateXMark 0.5s;
  646. animation: animateXMark 0.5s; }
  647. @-webkit-keyframes pulseWarning {
  648. 0% {
  649. border-color: #F8D486; }
  650. 100% {
  651. border-color: #F8BB86; } }
  652. @keyframes pulseWarning {
  653. 0% {
  654. border-color: #F8D486; }
  655. 100% {
  656. border-color: #F8BB86; } }
  657. .pulseWarning {
  658. -webkit-animation: pulseWarning 0.75s infinite alternate;
  659. animation: pulseWarning 0.75s infinite alternate; }
  660. @-webkit-keyframes pulseWarningIns {
  661. 0% {
  662. background-color: #F8D486; }
  663. 100% {
  664. background-color: #F8BB86; } }
  665. @keyframes pulseWarningIns {
  666. 0% {
  667. background-color: #F8D486; }
  668. 100% {
  669. background-color: #F8BB86; } }
  670. .pulseWarningIns {
  671. -webkit-animation: pulseWarningIns 0.75s infinite alternate;
  672. animation: pulseWarningIns 0.75s infinite alternate; }
  673. @-webkit-keyframes rotate-loading {
  674. 0% {
  675. transform: rotate(0deg); }
  676. 100% {
  677. transform: rotate(360deg); } }
  678. @keyframes rotate-loading {
  679. 0% {
  680. transform: rotate(0deg); }
  681. 100% {
  682. transform: rotate(360deg); } }
  683. /* Internet Explorer 9 has some special quirks that are fixed here */
  684. /* The icons are not animated. */
  685. /* This file is automatically merged into sweet-alert.min.js through Gulp */
  686. /* Error icon */
  687. .sweet-alert .sa-icon.sa-error .sa-line.sa-left {
  688. -ms-transform: rotate(45deg) \9; }
  689. .sweet-alert .sa-icon.sa-error .sa-line.sa-right {
  690. -ms-transform: rotate(-45deg) \9; }
  691. /* Success icon */
  692. .sweet-alert .sa-icon.sa-success {
  693. border-color: transparent\9; }
  694. .sweet-alert .sa-icon.sa-success .sa-line.sa-tip {
  695. -ms-transform: rotate(45deg) \9; }
  696. .sweet-alert .sa-icon.sa-success .sa-line.sa-long {
  697. -ms-transform: rotate(-45deg) \9; }
  698. /*!
  699. * Load Awesome v1.1.0 (http://github.danielcardoso.net/load-awesome/)
  700. * Copyright 2015 Daniel Cardoso <@DanielCardoso>
  701. * Licensed under MIT
  702. */
  703. .la-ball-fall,
  704. .la-ball-fall > div {
  705. position: relative;
  706. -webkit-box-sizing: border-box;
  707. -moz-box-sizing: border-box;
  708. box-sizing: border-box; }
  709. .la-ball-fall {
  710. display: block;
  711. font-size: 0;
  712. color: #fff; }
  713. .la-ball-fall.la-dark {
  714. color: #333; }
  715. .la-ball-fall > div {
  716. display: inline-block;
  717. float: none;
  718. background-color: currentColor;
  719. border: 0 solid currentColor; }
  720. .la-ball-fall {
  721. width: 54px;
  722. height: 18px; }
  723. .la-ball-fall > div {
  724. width: 10px;
  725. height: 10px;
  726. margin: 4px;
  727. border-radius: 100%;
  728. opacity: 0;
  729. -webkit-animation: ball-fall 1s ease-in-out infinite;
  730. -moz-animation: ball-fall 1s ease-in-out infinite;
  731. -o-animation: ball-fall 1s ease-in-out infinite;
  732. animation: ball-fall 1s ease-in-out infinite; }
  733. .la-ball-fall > div:nth-child(1) {
  734. -webkit-animation-delay: -200ms;
  735. -moz-animation-delay: -200ms;
  736. -o-animation-delay: -200ms;
  737. animation-delay: -200ms; }
  738. .la-ball-fall > div:nth-child(2) {
  739. -webkit-animation-delay: -100ms;
  740. -moz-animation-delay: -100ms;
  741. -o-animation-delay: -100ms;
  742. animation-delay: -100ms; }
  743. .la-ball-fall > div:nth-child(3) {
  744. -webkit-animation-delay: 0ms;
  745. -moz-animation-delay: 0ms;
  746. -o-animation-delay: 0ms;
  747. animation-delay: 0ms; }
  748. .la-ball-fall.la-sm {
  749. width: 26px;
  750. height: 8px; }
  751. .la-ball-fall.la-sm > div {
  752. width: 4px;
  753. height: 4px;
  754. margin: 2px; }
  755. .la-ball-fall.la-2x {
  756. width: 108px;
  757. height: 36px; }
  758. .la-ball-fall.la-2x > div {
  759. width: 20px;
  760. height: 20px;
  761. margin: 8px; }
  762. .la-ball-fall.la-3x {
  763. width: 162px;
  764. height: 54px; }
  765. .la-ball-fall.la-3x > div {
  766. width: 30px;
  767. height: 30px;
  768. margin: 12px; }
  769. /*
  770. * Animation
  771. */
  772. @-webkit-keyframes ball-fall {
  773. 0% {
  774. opacity: 0;
  775. -webkit-transform: translateY(-145%);
  776. transform: translateY(-145%); }
  777. 10% {
  778. opacity: .5; }
  779. 20% {
  780. opacity: 1;
  781. -webkit-transform: translateY(0);
  782. transform: translateY(0); }
  783. 80% {
  784. opacity: 1;
  785. -webkit-transform: translateY(0);
  786. transform: translateY(0); }
  787. 90% {
  788. opacity: .5; }
  789. 100% {
  790. opacity: 0;
  791. -webkit-transform: translateY(145%);
  792. transform: translateY(145%); } }
  793. @-moz-keyframes ball-fall {
  794. 0% {
  795. opacity: 0;
  796. -moz-transform: translateY(-145%);
  797. transform: translateY(-145%); }
  798. 10% {
  799. opacity: .5; }
  800. 20% {
  801. opacity: 1;
  802. -moz-transform: translateY(0);
  803. transform: translateY(0); }
  804. 80% {
  805. opacity: 1;
  806. -moz-transform: translateY(0);
  807. transform: translateY(0); }
  808. 90% {
  809. opacity: .5; }
  810. 100% {
  811. opacity: 0;
  812. -moz-transform: translateY(145%);
  813. transform: translateY(145%); } }
  814. @-o-keyframes ball-fall {
  815. 0% {
  816. opacity: 0;
  817. -o-transform: translateY(-145%);
  818. transform: translateY(-145%); }
  819. 10% {
  820. opacity: .5; }
  821. 20% {
  822. opacity: 1;
  823. -o-transform: translateY(0);
  824. transform: translateY(0); }
  825. 80% {
  826. opacity: 1;
  827. -o-transform: translateY(0);
  828. transform: translateY(0); }
  829. 90% {
  830. opacity: .5; }
  831. 100% {
  832. opacity: 0;
  833. -o-transform: translateY(145%);
  834. transform: translateY(145%); } }
  835. @keyframes ball-fall {
  836. 0% {
  837. opacity: 0;
  838. -webkit-transform: translateY(-145%);
  839. -moz-transform: translateY(-145%);
  840. -o-transform: translateY(-145%);
  841. transform: translateY(-145%); }
  842. 10% {
  843. opacity: .5; }
  844. 20% {
  845. opacity: 1;
  846. -webkit-transform: translateY(0);
  847. -moz-transform: translateY(0);
  848. -o-transform: translateY(0);
  849. transform: translateY(0); }
  850. 80% {
  851. opacity: 1;
  852. -webkit-transform: translateY(0);
  853. -moz-transform: translateY(0);
  854. -o-transform: translateY(0);
  855. transform: translateY(0); }
  856. 90% {
  857. opacity: .5; }
  858. 100% {
  859. opacity: 0;
  860. -webkit-transform: translateY(145%);
  861. -moz-transform: translateY(145%);
  862. -o-transform: translateY(145%);
  863. transform: translateY(145%); } }