sweetalert.css 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716
  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 button {
  160. background-color: #AEDEF4;
  161. color: white;
  162. border: none;
  163. box-shadow: none;
  164. font-size: 17px;
  165. font-weight: 500;
  166. -webkit-border-radius: 4px;
  167. border-radius: 5px;
  168. padding: 10px 32px;
  169. margin: 26px 5px 0 5px;
  170. cursor: pointer; }
  171. .sweet-alert button:focus {
  172. outline: none;
  173. box-shadow: 0 0 2px rgba(128, 179, 235, 0.5), inset 0 0 0 1px rgba(0, 0, 0, 0.05); }
  174. .sweet-alert button:hover {
  175. background-color: #a1d9f2; }
  176. .sweet-alert button:active {
  177. background-color: #81ccee; }
  178. .sweet-alert button.cancel {
  179. background-color: #D0D0D0; }
  180. .sweet-alert button.cancel:hover {
  181. background-color: #c8c8c8; }
  182. .sweet-alert button.cancel:active {
  183. background-color: #b6b6b6; }
  184. .sweet-alert button.cancel:focus {
  185. box-shadow: rgba(197, 205, 211, 0.8) 0px 0px 2px, rgba(0, 0, 0, 0.0470588) 0px 0px 0px 1px inset !important; }
  186. .sweet-alert button::-moz-focus-inner {
  187. border: 0; }
  188. .sweet-alert[data-has-cancel-button=false] button {
  189. box-shadow: none !important; }
  190. .sweet-alert[data-has-confirm-button=false][data-has-cancel-button=false] {
  191. padding-bottom: 40px; }
  192. .sweet-alert .sa-icon {
  193. width: 80px;
  194. height: 80px;
  195. border: 4px solid gray;
  196. -webkit-border-radius: 40px;
  197. border-radius: 40px;
  198. border-radius: 50%;
  199. margin: 20px auto;
  200. padding: 0;
  201. position: relative;
  202. box-sizing: content-box; }
  203. .sweet-alert .sa-icon.sa-error {
  204. border-color: #F27474; }
  205. .sweet-alert .sa-icon.sa-error .sa-x-mark {
  206. position: relative;
  207. display: block; }
  208. .sweet-alert .sa-icon.sa-error .sa-line {
  209. position: absolute;
  210. height: 5px;
  211. width: 47px;
  212. background-color: #F27474;
  213. display: block;
  214. top: 37px;
  215. border-radius: 2px; }
  216. .sweet-alert .sa-icon.sa-error .sa-line.sa-left {
  217. -webkit-transform: rotate(45deg);
  218. transform: rotate(45deg);
  219. left: 17px; }
  220. .sweet-alert .sa-icon.sa-error .sa-line.sa-right {
  221. -webkit-transform: rotate(-45deg);
  222. transform: rotate(-45deg);
  223. right: 16px; }
  224. .sweet-alert .sa-icon.sa-warning {
  225. border-color: #F8BB86; }
  226. .sweet-alert .sa-icon.sa-warning .sa-body {
  227. position: absolute;
  228. width: 5px;
  229. height: 47px;
  230. left: 50%;
  231. top: 10px;
  232. -webkit-border-radius: 2px;
  233. border-radius: 2px;
  234. margin-left: -2px;
  235. background-color: #F8BB86; }
  236. .sweet-alert .sa-icon.sa-warning .sa-dot {
  237. position: absolute;
  238. width: 7px;
  239. height: 7px;
  240. -webkit-border-radius: 50%;
  241. border-radius: 50%;
  242. margin-left: -3px;
  243. left: 50%;
  244. bottom: 10px;
  245. background-color: #F8BB86; }
  246. .sweet-alert .sa-icon.sa-info {
  247. border-color: #C9DAE1; }
  248. .sweet-alert .sa-icon.sa-info::before {
  249. content: "";
  250. position: absolute;
  251. width: 5px;
  252. height: 29px;
  253. left: 50%;
  254. bottom: 17px;
  255. border-radius: 2px;
  256. margin-left: -2px;
  257. background-color: #C9DAE1; }
  258. .sweet-alert .sa-icon.sa-info::after {
  259. content: "";
  260. position: absolute;
  261. width: 7px;
  262. height: 7px;
  263. border-radius: 50%;
  264. margin-left: -3px;
  265. top: 19px;
  266. background-color: #C9DAE1; }
  267. .sweet-alert .sa-icon.sa-success {
  268. border-color: #A5DC86; }
  269. .sweet-alert .sa-icon.sa-success::before, .sweet-alert .sa-icon.sa-success::after {
  270. content: '';
  271. -webkit-border-radius: 40px;
  272. border-radius: 40px;
  273. border-radius: 50%;
  274. position: absolute;
  275. width: 60px;
  276. height: 120px;
  277. background: white;
  278. -webkit-transform: rotate(45deg);
  279. transform: rotate(45deg); }
  280. .sweet-alert .sa-icon.sa-success::before {
  281. -webkit-border-radius: 120px 0 0 120px;
  282. border-radius: 120px 0 0 120px;
  283. top: -7px;
  284. left: -33px;
  285. -webkit-transform: rotate(-45deg);
  286. transform: rotate(-45deg);
  287. -webkit-transform-origin: 60px 60px;
  288. transform-origin: 60px 60px; }
  289. .sweet-alert .sa-icon.sa-success::after {
  290. -webkit-border-radius: 0 120px 120px 0;
  291. border-radius: 0 120px 120px 0;
  292. top: -11px;
  293. left: 30px;
  294. -webkit-transform: rotate(-45deg);
  295. transform: rotate(-45deg);
  296. -webkit-transform-origin: 0px 60px;
  297. transform-origin: 0px 60px; }
  298. .sweet-alert .sa-icon.sa-success .sa-placeholder {
  299. width: 80px;
  300. height: 80px;
  301. border: 4px solid rgba(165, 220, 134, 0.2);
  302. -webkit-border-radius: 40px;
  303. border-radius: 40px;
  304. border-radius: 50%;
  305. box-sizing: content-box;
  306. position: absolute;
  307. left: -4px;
  308. top: -4px;
  309. z-index: 2; }
  310. .sweet-alert .sa-icon.sa-success .sa-fix {
  311. width: 5px;
  312. height: 90px;
  313. background-color: white;
  314. position: absolute;
  315. left: 28px;
  316. top: 8px;
  317. z-index: 1;
  318. -webkit-transform: rotate(-45deg);
  319. transform: rotate(-45deg); }
  320. .sweet-alert .sa-icon.sa-success .sa-line {
  321. height: 5px;
  322. background-color: #A5DC86;
  323. display: block;
  324. border-radius: 2px;
  325. position: absolute;
  326. z-index: 2; }
  327. .sweet-alert .sa-icon.sa-success .sa-line.sa-tip {
  328. width: 25px;
  329. left: 14px;
  330. top: 46px;
  331. -webkit-transform: rotate(45deg);
  332. transform: rotate(45deg); }
  333. .sweet-alert .sa-icon.sa-success .sa-line.sa-long {
  334. width: 47px;
  335. right: 8px;
  336. top: 38px;
  337. -webkit-transform: rotate(-45deg);
  338. transform: rotate(-45deg); }
  339. .sweet-alert .sa-icon.sa-custom {
  340. background-size: contain;
  341. border-radius: 0;
  342. border: none;
  343. background-position: center center;
  344. background-repeat: no-repeat; }
  345. /*
  346. * Animations
  347. */
  348. @-webkit-keyframes showSweetAlert {
  349. 0% {
  350. transform: scale(0.7);
  351. -webkit-transform: scale(0.7); }
  352. 45% {
  353. transform: scale(1.05);
  354. -webkit-transform: scale(1.05); }
  355. 80% {
  356. transform: scale(0.95);
  357. -webkit-transform: scale(0.95); }
  358. 100% {
  359. transform: scale(1);
  360. -webkit-transform: scale(1); } }
  361. @keyframes showSweetAlert {
  362. 0% {
  363. transform: scale(0.7);
  364. -webkit-transform: scale(0.7); }
  365. 45% {
  366. transform: scale(1.05);
  367. -webkit-transform: scale(1.05); }
  368. 80% {
  369. transform: scale(0.95);
  370. -webkit-transform: scale(0.95); }
  371. 100% {
  372. transform: scale(1);
  373. -webkit-transform: scale(1); } }
  374. @-webkit-keyframes hideSweetAlert {
  375. 0% {
  376. transform: scale(1);
  377. -webkit-transform: scale(1); }
  378. 100% {
  379. transform: scale(0.5);
  380. -webkit-transform: scale(0.5); } }
  381. @keyframes hideSweetAlert {
  382. 0% {
  383. transform: scale(1);
  384. -webkit-transform: scale(1); }
  385. 100% {
  386. transform: scale(0.5);
  387. -webkit-transform: scale(0.5); } }
  388. @-webkit-keyframes slideFromTop {
  389. 0% {
  390. top: 0%; }
  391. 100% {
  392. top: 50%; } }
  393. @keyframes slideFromTop {
  394. 0% {
  395. top: 0%; }
  396. 100% {
  397. top: 50%; } }
  398. @-webkit-keyframes slideToTop {
  399. 0% {
  400. top: 50%; }
  401. 100% {
  402. top: 0%; } }
  403. @keyframes slideToTop {
  404. 0% {
  405. top: 50%; }
  406. 100% {
  407. top: 0%; } }
  408. @-webkit-keyframes slideFromBottom {
  409. 0% {
  410. top: 70%; }
  411. 100% {
  412. top: 50%; } }
  413. @keyframes slideFromBottom {
  414. 0% {
  415. top: 70%; }
  416. 100% {
  417. top: 50%; } }
  418. @-webkit-keyframes slideToBottom {
  419. 0% {
  420. top: 50%; }
  421. 100% {
  422. top: 70%; } }
  423. @keyframes slideToBottom {
  424. 0% {
  425. top: 50%; }
  426. 100% {
  427. top: 70%; } }
  428. .showSweetAlert[data-animation=pop] {
  429. -webkit-animation: showSweetAlert 0.3s;
  430. animation: showSweetAlert 0.3s; }
  431. .showSweetAlert[data-animation=none] {
  432. -webkit-animation: none;
  433. animation: none; }
  434. .showSweetAlert[data-animation=slide-from-top] {
  435. -webkit-animation: slideFromTop 0.3s;
  436. animation: slideFromTop 0.3s; }
  437. .showSweetAlert[data-animation=slide-from-bottom] {
  438. -webkit-animation: slideFromBottom 0.3s;
  439. animation: slideFromBottom 0.3s; }
  440. .hideSweetAlert[data-animation=pop] {
  441. -webkit-animation: hideSweetAlert 0.2s;
  442. animation: hideSweetAlert 0.2s; }
  443. .hideSweetAlert[data-animation=none] {
  444. -webkit-animation: none;
  445. animation: none; }
  446. .hideSweetAlert[data-animation=slide-from-top] {
  447. -webkit-animation: slideToTop 0.4s;
  448. animation: slideToTop 0.4s; }
  449. .hideSweetAlert[data-animation=slide-from-bottom] {
  450. -webkit-animation: slideToBottom 0.3s;
  451. animation: slideToBottom 0.3s; }
  452. @-webkit-keyframes animateSuccessTip {
  453. 0% {
  454. width: 0;
  455. left: 1px;
  456. top: 19px; }
  457. 54% {
  458. width: 0;
  459. left: 1px;
  460. top: 19px; }
  461. 70% {
  462. width: 50px;
  463. left: -8px;
  464. top: 37px; }
  465. 84% {
  466. width: 17px;
  467. left: 21px;
  468. top: 48px; }
  469. 100% {
  470. width: 25px;
  471. left: 14px;
  472. top: 45px; } }
  473. @keyframes animateSuccessTip {
  474. 0% {
  475. width: 0;
  476. left: 1px;
  477. top: 19px; }
  478. 54% {
  479. width: 0;
  480. left: 1px;
  481. top: 19px; }
  482. 70% {
  483. width: 50px;
  484. left: -8px;
  485. top: 37px; }
  486. 84% {
  487. width: 17px;
  488. left: 21px;
  489. top: 48px; }
  490. 100% {
  491. width: 25px;
  492. left: 14px;
  493. top: 45px; } }
  494. @-webkit-keyframes animateSuccessLong {
  495. 0% {
  496. width: 0;
  497. right: 46px;
  498. top: 54px; }
  499. 65% {
  500. width: 0;
  501. right: 46px;
  502. top: 54px; }
  503. 84% {
  504. width: 55px;
  505. right: 0px;
  506. top: 35px; }
  507. 100% {
  508. width: 47px;
  509. right: 8px;
  510. top: 38px; } }
  511. @keyframes animateSuccessLong {
  512. 0% {
  513. width: 0;
  514. right: 46px;
  515. top: 54px; }
  516. 65% {
  517. width: 0;
  518. right: 46px;
  519. top: 54px; }
  520. 84% {
  521. width: 55px;
  522. right: 0px;
  523. top: 35px; }
  524. 100% {
  525. width: 47px;
  526. right: 8px;
  527. top: 38px; } }
  528. @-webkit-keyframes rotatePlaceholder {
  529. 0% {
  530. transform: rotate(-45deg);
  531. -webkit-transform: rotate(-45deg); }
  532. 5% {
  533. transform: rotate(-45deg);
  534. -webkit-transform: rotate(-45deg); }
  535. 12% {
  536. transform: rotate(-405deg);
  537. -webkit-transform: rotate(-405deg); }
  538. 100% {
  539. transform: rotate(-405deg);
  540. -webkit-transform: rotate(-405deg); } }
  541. @keyframes rotatePlaceholder {
  542. 0% {
  543. transform: rotate(-45deg);
  544. -webkit-transform: rotate(-45deg); }
  545. 5% {
  546. transform: rotate(-45deg);
  547. -webkit-transform: rotate(-45deg); }
  548. 12% {
  549. transform: rotate(-405deg);
  550. -webkit-transform: rotate(-405deg); }
  551. 100% {
  552. transform: rotate(-405deg);
  553. -webkit-transform: rotate(-405deg); } }
  554. .animateSuccessTip {
  555. -webkit-animation: animateSuccessTip 0.75s;
  556. animation: animateSuccessTip 0.75s; }
  557. .animateSuccessLong {
  558. -webkit-animation: animateSuccessLong 0.75s;
  559. animation: animateSuccessLong 0.75s; }
  560. .sa-icon.sa-success.animate::after {
  561. -webkit-animation: rotatePlaceholder 4.25s ease-in;
  562. animation: rotatePlaceholder 4.25s ease-in; }
  563. @-webkit-keyframes animateErrorIcon {
  564. 0% {
  565. transform: rotateX(100deg);
  566. -webkit-transform: rotateX(100deg);
  567. opacity: 0; }
  568. 100% {
  569. transform: rotateX(0deg);
  570. -webkit-transform: rotateX(0deg);
  571. opacity: 1; } }
  572. @keyframes animateErrorIcon {
  573. 0% {
  574. transform: rotateX(100deg);
  575. -webkit-transform: rotateX(100deg);
  576. opacity: 0; }
  577. 100% {
  578. transform: rotateX(0deg);
  579. -webkit-transform: rotateX(0deg);
  580. opacity: 1; } }
  581. .animateErrorIcon {
  582. -webkit-animation: animateErrorIcon 0.5s;
  583. animation: animateErrorIcon 0.5s; }
  584. @-webkit-keyframes animateXMark {
  585. 0% {
  586. transform: scale(0.4);
  587. -webkit-transform: scale(0.4);
  588. margin-top: 26px;
  589. opacity: 0; }
  590. 50% {
  591. transform: scale(0.4);
  592. -webkit-transform: scale(0.4);
  593. margin-top: 26px;
  594. opacity: 0; }
  595. 80% {
  596. transform: scale(1.15);
  597. -webkit-transform: scale(1.15);
  598. margin-top: -6px; }
  599. 100% {
  600. transform: scale(1);
  601. -webkit-transform: scale(1);
  602. margin-top: 0;
  603. opacity: 1; } }
  604. @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. .animateXMark {
  625. -webkit-animation: animateXMark 0.5s;
  626. animation: animateXMark 0.5s; }
  627. @-webkit-keyframes pulseWarning {
  628. 0% {
  629. border-color: #F8D486; }
  630. 100% {
  631. border-color: #F8BB86; } }
  632. @keyframes pulseWarning {
  633. 0% {
  634. border-color: #F8D486; }
  635. 100% {
  636. border-color: #F8BB86; } }
  637. .pulseWarning {
  638. -webkit-animation: pulseWarning 0.75s infinite alternate;
  639. animation: pulseWarning 0.75s infinite alternate; }
  640. @-webkit-keyframes pulseWarningIns {
  641. 0% {
  642. background-color: #F8D486; }
  643. 100% {
  644. background-color: #F8BB86; } }
  645. @keyframes pulseWarningIns {
  646. 0% {
  647. background-color: #F8D486; }
  648. 100% {
  649. background-color: #F8BB86; } }
  650. .pulseWarningIns {
  651. -webkit-animation: pulseWarningIns 0.75s infinite alternate;
  652. animation: pulseWarningIns 0.75s infinite alternate; }
  653. /* Internet Explorer 9 has some special quirks that are fixed here */
  654. /* The icons are not animated. */
  655. /* This file is automatically merged into sweet-alert.min.js through Gulp */
  656. /* Error icon */
  657. .sweet-alert .sa-icon.sa-error .sa-line.sa-left {
  658. -ms-transform: rotate(45deg) \9; }
  659. .sweet-alert .sa-icon.sa-error .sa-line.sa-right {
  660. -ms-transform: rotate(-45deg) \9; }
  661. /* Success icon */
  662. .sweet-alert .sa-icon.sa-success {
  663. border-color: transparent\9; }
  664. .sweet-alert .sa-icon.sa-success .sa-line.sa-tip {
  665. -ms-transform: rotate(45deg) \9; }
  666. .sweet-alert .sa-icon.sa-success .sa-line.sa-long {
  667. -ms-transform: rotate(-45deg) \9; }