sweetalert.css 26 KB

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