sweetalert2.css 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368
  1. .swal2-popup.swal2-toast {
  2. flex-direction: row;
  3. align-items: center;
  4. width: auto;
  5. padding: 0.625em;
  6. overflow-y: hidden;
  7. background: #fff;
  8. box-shadow: 0 0 0.625em #d9d9d9;
  9. }
  10. .swal2-popup.swal2-toast .swal2-header {
  11. flex-direction: row;
  12. padding: 0;
  13. }
  14. .swal2-popup.swal2-toast .swal2-title {
  15. flex-grow: 1;
  16. justify-content: flex-start;
  17. margin: 0 0.6em;
  18. font-size: 1em;
  19. }
  20. .swal2-popup.swal2-toast .swal2-footer {
  21. margin: 0.5em 0 0;
  22. padding: 0.5em 0 0;
  23. font-size: 0.8em;
  24. }
  25. .swal2-popup.swal2-toast .swal2-close {
  26. position: static;
  27. width: 0.8em;
  28. height: 0.8em;
  29. line-height: 0.8;
  30. }
  31. .swal2-popup.swal2-toast .swal2-content {
  32. justify-content: flex-start;
  33. padding: 0;
  34. font-size: 1em;
  35. }
  36. .swal2-popup.swal2-toast .swal2-icon {
  37. width: 2em;
  38. min-width: 2em;
  39. height: 2em;
  40. margin: 0;
  41. }
  42. .swal2-popup.swal2-toast .swal2-icon .swal2-icon-content {
  43. display: flex;
  44. align-items: center;
  45. font-size: 1.8em;
  46. font-weight: bold;
  47. }
  48. @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  49. .swal2-popup.swal2-toast .swal2-icon .swal2-icon-content {
  50. font-size: 0.25em;
  51. }
  52. }
  53. .swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring {
  54. width: 2em;
  55. height: 2em;
  56. }
  57. .swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line] {
  58. top: 0.875em;
  59. width: 1.375em;
  60. }
  61. .swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left] {
  62. left: 0.3125em;
  63. }
  64. .swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right] {
  65. right: 0.3125em;
  66. }
  67. .swal2-popup.swal2-toast .swal2-actions {
  68. flex-basis: auto !important;
  69. width: auto;
  70. height: auto;
  71. margin: 0 0.3125em;
  72. padding: 0;
  73. }
  74. .swal2-popup.swal2-toast .swal2-styled {
  75. margin: 0.125em 0.3125em;
  76. padding: 0.3125em 0.625em;
  77. font-size: 1em;
  78. }
  79. .swal2-popup.swal2-toast .swal2-styled:focus {
  80. box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgba(100, 150, 200, 0.5);
  81. }
  82. .swal2-popup.swal2-toast .swal2-success {
  83. border-color: #a5dc86;
  84. }
  85. .swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line] {
  86. position: absolute;
  87. width: 1.6em;
  88. height: 3em;
  89. transform: rotate(45deg);
  90. border-radius: 50%;
  91. }
  92. .swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left] {
  93. top: -0.8em;
  94. left: -0.5em;
  95. transform: rotate(-45deg);
  96. transform-origin: 2em 2em;
  97. border-radius: 4em 0 0 4em;
  98. }
  99. .swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right] {
  100. top: -0.25em;
  101. left: 0.9375em;
  102. transform-origin: 0 1.5em;
  103. border-radius: 0 4em 4em 0;
  104. }
  105. .swal2-popup.swal2-toast .swal2-success .swal2-success-ring {
  106. width: 2em;
  107. height: 2em;
  108. }
  109. .swal2-popup.swal2-toast .swal2-success .swal2-success-fix {
  110. top: 0;
  111. left: 0.4375em;
  112. width: 0.4375em;
  113. height: 2.6875em;
  114. }
  115. .swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line] {
  116. height: 0.3125em;
  117. }
  118. .swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip] {
  119. top: 1.125em;
  120. left: 0.1875em;
  121. width: 0.75em;
  122. }
  123. .swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long] {
  124. top: 0.9375em;
  125. right: 0.1875em;
  126. width: 1.375em;
  127. }
  128. .swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip {
  129. -webkit-animation: swal2-toast-animate-success-line-tip 0.75s;
  130. animation: swal2-toast-animate-success-line-tip 0.75s;
  131. }
  132. .swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long {
  133. -webkit-animation: swal2-toast-animate-success-line-long 0.75s;
  134. animation: swal2-toast-animate-success-line-long 0.75s;
  135. }
  136. .swal2-popup.swal2-toast.swal2-show {
  137. -webkit-animation: swal2-toast-show 0.5s;
  138. animation: swal2-toast-show 0.5s;
  139. }
  140. .swal2-popup.swal2-toast.swal2-hide {
  141. -webkit-animation: swal2-toast-hide 0.1s forwards;
  142. animation: swal2-toast-hide 0.1s forwards;
  143. }
  144. .swal2-container {
  145. display: flex;
  146. position: fixed;
  147. z-index: 1060;
  148. top: 0;
  149. right: 0;
  150. bottom: 0;
  151. left: 0;
  152. flex-direction: row;
  153. align-items: center;
  154. justify-content: center;
  155. padding: 0.625em;
  156. overflow-x: hidden;
  157. transition: background-color 0.1s;
  158. -webkit-overflow-scrolling: touch;
  159. }
  160. .swal2-container.swal2-backdrop-show, .swal2-container.swal2-noanimation {
  161. background: rgba(0, 0, 0, 0.4);
  162. }
  163. .swal2-container.swal2-backdrop-hide {
  164. background: transparent !important;
  165. }
  166. .swal2-container.swal2-top {
  167. align-items: flex-start;
  168. }
  169. .swal2-container.swal2-top-start, .swal2-container.swal2-top-left {
  170. align-items: flex-start;
  171. justify-content: flex-start;
  172. }
  173. .swal2-container.swal2-top-end, .swal2-container.swal2-top-right {
  174. align-items: flex-start;
  175. justify-content: flex-end;
  176. }
  177. .swal2-container.swal2-center {
  178. align-items: center;
  179. }
  180. .swal2-container.swal2-center-start, .swal2-container.swal2-center-left {
  181. align-items: center;
  182. justify-content: flex-start;
  183. }
  184. .swal2-container.swal2-center-end, .swal2-container.swal2-center-right {
  185. align-items: center;
  186. justify-content: flex-end;
  187. }
  188. .swal2-container.swal2-bottom {
  189. align-items: flex-end;
  190. }
  191. .swal2-container.swal2-bottom-start, .swal2-container.swal2-bottom-left {
  192. align-items: flex-end;
  193. justify-content: flex-start;
  194. }
  195. .swal2-container.swal2-bottom-end, .swal2-container.swal2-bottom-right {
  196. align-items: flex-end;
  197. justify-content: flex-end;
  198. }
  199. .swal2-container.swal2-bottom > :first-child, .swal2-container.swal2-bottom-start > :first-child, .swal2-container.swal2-bottom-left > :first-child, .swal2-container.swal2-bottom-end > :first-child, .swal2-container.swal2-bottom-right > :first-child {
  200. margin-top: auto;
  201. }
  202. .swal2-container.swal2-grow-fullscreen > .swal2-modal {
  203. display: flex !important;
  204. flex: 1;
  205. align-self: stretch;
  206. justify-content: center;
  207. }
  208. .swal2-container.swal2-grow-row > .swal2-modal {
  209. display: flex !important;
  210. flex: 1;
  211. align-content: center;
  212. justify-content: center;
  213. }
  214. .swal2-container.swal2-grow-column {
  215. flex: 1;
  216. flex-direction: column;
  217. }
  218. .swal2-container.swal2-grow-column.swal2-top, .swal2-container.swal2-grow-column.swal2-center, .swal2-container.swal2-grow-column.swal2-bottom {
  219. align-items: center;
  220. }
  221. .swal2-container.swal2-grow-column.swal2-top-start, .swal2-container.swal2-grow-column.swal2-center-start, .swal2-container.swal2-grow-column.swal2-bottom-start, .swal2-container.swal2-grow-column.swal2-top-left, .swal2-container.swal2-grow-column.swal2-center-left, .swal2-container.swal2-grow-column.swal2-bottom-left {
  222. align-items: flex-start;
  223. }
  224. .swal2-container.swal2-grow-column.swal2-top-end, .swal2-container.swal2-grow-column.swal2-center-end, .swal2-container.swal2-grow-column.swal2-bottom-end, .swal2-container.swal2-grow-column.swal2-top-right, .swal2-container.swal2-grow-column.swal2-center-right, .swal2-container.swal2-grow-column.swal2-bottom-right {
  225. align-items: flex-end;
  226. }
  227. .swal2-container.swal2-grow-column > .swal2-modal {
  228. display: flex !important;
  229. flex: 1;
  230. align-content: center;
  231. justify-content: center;
  232. }
  233. .swal2-container.swal2-no-transition {
  234. transition: none !important;
  235. }
  236. .swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen) > .swal2-modal {
  237. margin: auto;
  238. }
  239. @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  240. .swal2-container .swal2-modal {
  241. margin: 0 !important;
  242. }
  243. }
  244. .swal2-popup {
  245. display: none;
  246. position: relative;
  247. box-sizing: border-box;
  248. flex-direction: column;
  249. justify-content: center;
  250. width: 32em;
  251. max-width: 100%;
  252. padding: 1.25em;
  253. border: none;
  254. border-radius: 5px;
  255. background: #fff;
  256. font-family: inherit;
  257. font-size: 1rem;
  258. }
  259. .swal2-popup:focus {
  260. outline: none;
  261. }
  262. .swal2-popup.swal2-loading {
  263. overflow-y: hidden;
  264. }
  265. .swal2-header {
  266. display: flex;
  267. flex-direction: column;
  268. align-items: center;
  269. padding: 0 1.8em;
  270. }
  271. .swal2-title {
  272. position: relative;
  273. max-width: 100%;
  274. margin: 0 0 0.4em;
  275. padding: 0;
  276. color: #595959;
  277. font-size: 1.875em;
  278. font-weight: 600;
  279. text-align: center;
  280. text-transform: none;
  281. word-wrap: break-word;
  282. }
  283. .swal2-actions {
  284. display: flex;
  285. z-index: 1;
  286. box-sizing: border-box;
  287. flex-wrap: wrap;
  288. align-items: center;
  289. justify-content: center;
  290. width: 100%;
  291. margin: 1.25em auto 0;
  292. padding: 0 1.6em;
  293. }
  294. .swal2-actions:not(.swal2-loading) .swal2-styled[disabled] {
  295. opacity: 0.4;
  296. }
  297. .swal2-actions:not(.swal2-loading) .swal2-styled:hover {
  298. background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
  299. }
  300. .swal2-actions:not(.swal2-loading) .swal2-styled:active {
  301. background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
  302. }
  303. .swal2-loader {
  304. display: none;
  305. align-items: center;
  306. justify-content: center;
  307. width: 2.2em;
  308. height: 2.2em;
  309. margin: 0 1.875em;
  310. -webkit-animation: swal2-rotate-loading 1.5s linear 0s infinite normal;
  311. animation: swal2-rotate-loading 1.5s linear 0s infinite normal;
  312. border-width: 0.25em;
  313. border-style: solid;
  314. border-radius: 100%;
  315. border-color: #2778c4 transparent #2778c4 transparent;
  316. }
  317. .swal2-styled {
  318. margin: 0.3125em;
  319. padding: 0.625em 1.1em;
  320. box-shadow: none;
  321. font-weight: 500;
  322. }
  323. .swal2-styled:not([disabled]) {
  324. cursor: pointer;
  325. }
  326. .swal2-styled.swal2-confirm {
  327. border: 0;
  328. border-radius: 0.25em;
  329. background: initial;
  330. background-color: #2778c4;
  331. color: #fff;
  332. font-size: 1.0625em;
  333. }
  334. .swal2-styled.swal2-deny {
  335. border: 0;
  336. border-radius: 0.25em;
  337. background: initial;
  338. background-color: #d14529;
  339. color: #fff;
  340. font-size: 1.0625em;
  341. }
  342. .swal2-styled.swal2-cancel {
  343. border: 0;
  344. border-radius: 0.25em;
  345. background: initial;
  346. background-color: #757575;
  347. color: #fff;
  348. font-size: 1.0625em;
  349. }
  350. .swal2-styled:focus {
  351. outline: none;
  352. box-shadow: 0 0 0 3px rgba(100, 150, 200, 0.5);
  353. }
  354. .swal2-styled::-moz-focus-inner {
  355. border: 0;
  356. }
  357. .swal2-footer {
  358. justify-content: center;
  359. margin: 1.25em 0 0;
  360. padding: 1em 0 0;
  361. border-top: 1px solid #eee;
  362. color: #545454;
  363. font-size: 1em;
  364. }
  365. .swal2-timer-progress-bar-container {
  366. position: absolute;
  367. right: 0;
  368. bottom: 0;
  369. left: 0;
  370. height: 0.25em;
  371. overflow: hidden;
  372. border-bottom-right-radius: 5px;
  373. border-bottom-left-radius: 5px;
  374. }
  375. .swal2-timer-progress-bar {
  376. width: 100%;
  377. height: 0.25em;
  378. background: rgba(0, 0, 0, 0.2);
  379. }
  380. .swal2-image {
  381. max-width: 100%;
  382. margin: 1.25em auto;
  383. }
  384. .swal2-close {
  385. position: absolute;
  386. z-index: 2;
  387. top: 0;
  388. right: 0;
  389. align-items: center;
  390. justify-content: center;
  391. width: 1.2em;
  392. height: 1.2em;
  393. padding: 0;
  394. overflow: hidden;
  395. transition: color 0.1s ease-out;
  396. border: none;
  397. border-radius: 5px;
  398. background: transparent;
  399. color: #cccccc;
  400. font-family: serif;
  401. font-size: 2.5em;
  402. line-height: 1.2;
  403. cursor: pointer;
  404. }
  405. .swal2-close:hover {
  406. transform: none;
  407. background: transparent;
  408. color: #f27474;
  409. }
  410. .swal2-close:focus {
  411. outline: none;
  412. box-shadow: inset 0 0 0 3px rgba(100, 150, 200, 0.5);
  413. }
  414. .swal2-close::-moz-focus-inner {
  415. border: 0;
  416. }
  417. .swal2-content {
  418. z-index: 1;
  419. justify-content: center;
  420. margin: 0;
  421. padding: 0 1.6em;
  422. color: #545454;
  423. font-size: 1.125em;
  424. font-weight: normal;
  425. line-height: normal;
  426. text-align: center;
  427. word-wrap: break-word;
  428. }
  429. .swal2-input,
  430. .swal2-file,
  431. .swal2-textarea,
  432. .swal2-select,
  433. .swal2-radio,
  434. .swal2-checkbox {
  435. margin: 1em auto;
  436. }
  437. .swal2-input,
  438. .swal2-file,
  439. .swal2-textarea {
  440. box-sizing: border-box;
  441. width: 100%;
  442. transition: border-color 0.3s, box-shadow 0.3s;
  443. border: 1px solid #d9d9d9;
  444. border-radius: 0.1875em;
  445. background: inherit;
  446. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06);
  447. color: inherit;
  448. font-size: 1.125em;
  449. }
  450. .swal2-input.swal2-inputerror,
  451. .swal2-file.swal2-inputerror,
  452. .swal2-textarea.swal2-inputerror {
  453. border-color: #f27474 !important;
  454. box-shadow: 0 0 2px #f27474 !important;
  455. }
  456. .swal2-input:focus,
  457. .swal2-file:focus,
  458. .swal2-textarea:focus {
  459. border: 1px solid #b4dbed;
  460. outline: none;
  461. box-shadow: 0 0 0 3px rgba(100, 150, 200, 0.5);
  462. }
  463. .swal2-input::-moz-placeholder, .swal2-file::-moz-placeholder, .swal2-textarea::-moz-placeholder {
  464. color: #cccccc;
  465. }
  466. .swal2-input:-ms-input-placeholder, .swal2-file:-ms-input-placeholder, .swal2-textarea:-ms-input-placeholder {
  467. color: #cccccc;
  468. }
  469. .swal2-input::placeholder,
  470. .swal2-file::placeholder,
  471. .swal2-textarea::placeholder {
  472. color: #cccccc;
  473. }
  474. .swal2-range {
  475. margin: 1em auto;
  476. background: #fff;
  477. }
  478. .swal2-range input {
  479. width: 80%;
  480. }
  481. .swal2-range output {
  482. width: 20%;
  483. color: inherit;
  484. font-weight: 600;
  485. text-align: center;
  486. }
  487. .swal2-range input,
  488. .swal2-range output {
  489. height: 2.625em;
  490. padding: 0;
  491. font-size: 1.125em;
  492. line-height: 2.625em;
  493. }
  494. .swal2-input {
  495. height: 2.625em;
  496. padding: 0 0.75em;
  497. }
  498. .swal2-input[type=number] {
  499. max-width: 10em;
  500. }
  501. .swal2-file {
  502. background: inherit;
  503. font-size: 1.125em;
  504. }
  505. .swal2-textarea {
  506. height: 6.75em;
  507. padding: 0.75em;
  508. }
  509. .swal2-select {
  510. min-width: 50%;
  511. max-width: 100%;
  512. padding: 0.375em 0.625em;
  513. background: inherit;
  514. color: inherit;
  515. font-size: 1.125em;
  516. }
  517. .swal2-radio,
  518. .swal2-checkbox {
  519. align-items: center;
  520. justify-content: center;
  521. background: #fff;
  522. color: inherit;
  523. }
  524. .swal2-radio label,
  525. .swal2-checkbox label {
  526. margin: 0 0.6em;
  527. font-size: 1.125em;
  528. }
  529. .swal2-radio input,
  530. .swal2-checkbox input {
  531. margin: 0 0.4em;
  532. }
  533. .swal2-input-label {
  534. display: flex;
  535. justify-content: center;
  536. margin: 1em auto;
  537. }
  538. .swal2-validation-message {
  539. align-items: center;
  540. justify-content: center;
  541. margin: 0 -2.7em;
  542. padding: 0.625em;
  543. overflow: hidden;
  544. background: #f0f0f0;
  545. color: #666666;
  546. font-size: 1em;
  547. font-weight: 300;
  548. }
  549. .swal2-validation-message::before {
  550. content: "!";
  551. display: inline-block;
  552. width: 1.5em;
  553. min-width: 1.5em;
  554. height: 1.5em;
  555. margin: 0 0.625em;
  556. border-radius: 50%;
  557. background-color: #f27474;
  558. color: #fff;
  559. font-weight: 600;
  560. line-height: 1.5em;
  561. text-align: center;
  562. }
  563. .swal2-icon {
  564. position: relative;
  565. box-sizing: content-box;
  566. justify-content: center;
  567. width: 5em;
  568. height: 5em;
  569. margin: 1.25em auto 1.875em;
  570. border: 0.25em solid transparent;
  571. border-radius: 50%;
  572. border-color: #000;
  573. font-family: inherit;
  574. line-height: 5em;
  575. cursor: default;
  576. -webkit-user-select: none;
  577. -moz-user-select: none;
  578. -ms-user-select: none;
  579. user-select: none;
  580. }
  581. .swal2-icon .swal2-icon-content {
  582. display: flex;
  583. align-items: center;
  584. font-size: 3.75em;
  585. }
  586. .swal2-icon.swal2-error {
  587. border-color: #f27474;
  588. color: #f27474;
  589. }
  590. .swal2-icon.swal2-error .swal2-x-mark {
  591. position: relative;
  592. flex-grow: 1;
  593. }
  594. .swal2-icon.swal2-error [class^=swal2-x-mark-line] {
  595. display: block;
  596. position: absolute;
  597. top: 2.3125em;
  598. width: 2.9375em;
  599. height: 0.3125em;
  600. border-radius: 0.125em;
  601. background-color: #f27474;
  602. }
  603. .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left] {
  604. left: 1.0625em;
  605. transform: rotate(45deg);
  606. }
  607. .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right] {
  608. right: 1em;
  609. transform: rotate(-45deg);
  610. }
  611. .swal2-icon.swal2-error.swal2-icon-show {
  612. -webkit-animation: swal2-animate-error-icon 0.5s;
  613. animation: swal2-animate-error-icon 0.5s;
  614. }
  615. .swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark {
  616. -webkit-animation: swal2-animate-error-x-mark 0.5s;
  617. animation: swal2-animate-error-x-mark 0.5s;
  618. }
  619. .swal2-icon.swal2-warning {
  620. border-color: #facea8;
  621. color: #f8bb86;
  622. }
  623. .swal2-icon.swal2-info {
  624. border-color: #9de0f6;
  625. color: #3fc3ee;
  626. }
  627. .swal2-icon.swal2-question {
  628. border-color: #c9dae1;
  629. color: #87adbd;
  630. }
  631. .swal2-icon.swal2-success {
  632. border-color: #a5dc86;
  633. color: #a5dc86;
  634. }
  635. .swal2-icon.swal2-success [class^=swal2-success-circular-line] {
  636. position: absolute;
  637. width: 3.75em;
  638. height: 7.5em;
  639. transform: rotate(45deg);
  640. border-radius: 50%;
  641. }
  642. .swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left] {
  643. top: -0.4375em;
  644. left: -2.0635em;
  645. transform: rotate(-45deg);
  646. transform-origin: 3.75em 3.75em;
  647. border-radius: 7.5em 0 0 7.5em;
  648. }
  649. .swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right] {
  650. top: -0.6875em;
  651. left: 1.875em;
  652. transform: rotate(-45deg);
  653. transform-origin: 0 3.75em;
  654. border-radius: 0 7.5em 7.5em 0;
  655. }
  656. .swal2-icon.swal2-success .swal2-success-ring {
  657. position: absolute;
  658. z-index: 2;
  659. top: -0.25em;
  660. left: -0.25em;
  661. box-sizing: content-box;
  662. width: 100%;
  663. height: 100%;
  664. border: 0.25em solid rgba(165, 220, 134, 0.3);
  665. border-radius: 50%;
  666. }
  667. .swal2-icon.swal2-success .swal2-success-fix {
  668. position: absolute;
  669. z-index: 1;
  670. top: 0.5em;
  671. left: 1.625em;
  672. width: 0.4375em;
  673. height: 5.625em;
  674. transform: rotate(-45deg);
  675. }
  676. .swal2-icon.swal2-success [class^=swal2-success-line] {
  677. display: block;
  678. position: absolute;
  679. z-index: 2;
  680. height: 0.3125em;
  681. border-radius: 0.125em;
  682. background-color: #a5dc86;
  683. }
  684. .swal2-icon.swal2-success [class^=swal2-success-line][class$=tip] {
  685. top: 2.875em;
  686. left: 0.8125em;
  687. width: 1.5625em;
  688. transform: rotate(45deg);
  689. }
  690. .swal2-icon.swal2-success [class^=swal2-success-line][class$=long] {
  691. top: 2.375em;
  692. right: 0.5em;
  693. width: 2.9375em;
  694. transform: rotate(-45deg);
  695. }
  696. .swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip {
  697. -webkit-animation: swal2-animate-success-line-tip 0.75s;
  698. animation: swal2-animate-success-line-tip 0.75s;
  699. }
  700. .swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long {
  701. -webkit-animation: swal2-animate-success-line-long 0.75s;
  702. animation: swal2-animate-success-line-long 0.75s;
  703. }
  704. .swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right {
  705. -webkit-animation: swal2-rotate-success-circular-line 4.25s ease-in;
  706. animation: swal2-rotate-success-circular-line 4.25s ease-in;
  707. }
  708. .swal2-progress-steps {
  709. flex-wrap: wrap;
  710. align-items: center;
  711. max-width: 100%;
  712. margin: 0 0 1.25em;
  713. padding: 0;
  714. background: inherit;
  715. font-weight: 600;
  716. }
  717. .swal2-progress-steps li {
  718. display: inline-block;
  719. position: relative;
  720. }
  721. .swal2-progress-steps .swal2-progress-step {
  722. z-index: 20;
  723. flex-shrink: 0;
  724. width: 2em;
  725. height: 2em;
  726. border-radius: 2em;
  727. background: #2778c4;
  728. color: #fff;
  729. line-height: 2em;
  730. text-align: center;
  731. }
  732. .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step {
  733. background: #2778c4;
  734. }
  735. .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step ~ .swal2-progress-step {
  736. background: #add8e6;
  737. color: #fff;
  738. }
  739. .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step ~ .swal2-progress-step-line {
  740. background: #add8e6;
  741. }
  742. .swal2-progress-steps .swal2-progress-step-line {
  743. z-index: 10;
  744. flex-shrink: 0;
  745. width: 2.5em;
  746. height: 0.4em;
  747. margin: 0 -1px;
  748. background: #2778c4;
  749. }
  750. [class^=swal2] {
  751. -webkit-tap-highlight-color: transparent;
  752. }
  753. .swal2-show {
  754. -webkit-animation: swal2-show 0.3s;
  755. animation: swal2-show 0.3s;
  756. }
  757. .swal2-hide {
  758. -webkit-animation: swal2-hide 0.15s forwards;
  759. animation: swal2-hide 0.15s forwards;
  760. }
  761. .swal2-noanimation {
  762. transition: none;
  763. }
  764. .swal2-scrollbar-measure {
  765. position: absolute;
  766. top: -9999px;
  767. width: 50px;
  768. height: 50px;
  769. overflow: scroll;
  770. }
  771. .swal2-rtl .swal2-close {
  772. right: auto;
  773. left: 0;
  774. }
  775. .swal2-rtl .swal2-timer-progress-bar {
  776. right: 0;
  777. left: auto;
  778. }
  779. @supports (-ms-accelerator: true) {
  780. .swal2-range input {
  781. width: 100% !important;
  782. }
  783. .swal2-range output {
  784. display: none;
  785. }
  786. }
  787. @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  788. .swal2-range input {
  789. width: 100% !important;
  790. }
  791. .swal2-range output {
  792. display: none;
  793. }
  794. }
  795. @-webkit-keyframes swal2-toast-show {
  796. 0% {
  797. transform: translateY(-0.625em) rotateZ(2deg);
  798. }
  799. 33% {
  800. transform: translateY(0) rotateZ(-2deg);
  801. }
  802. 66% {
  803. transform: translateY(0.3125em) rotateZ(2deg);
  804. }
  805. 100% {
  806. transform: translateY(0) rotateZ(0deg);
  807. }
  808. }
  809. @keyframes swal2-toast-show {
  810. 0% {
  811. transform: translateY(-0.625em) rotateZ(2deg);
  812. }
  813. 33% {
  814. transform: translateY(0) rotateZ(-2deg);
  815. }
  816. 66% {
  817. transform: translateY(0.3125em) rotateZ(2deg);
  818. }
  819. 100% {
  820. transform: translateY(0) rotateZ(0deg);
  821. }
  822. }
  823. @-webkit-keyframes swal2-toast-hide {
  824. 100% {
  825. transform: rotateZ(1deg);
  826. opacity: 0;
  827. }
  828. }
  829. @keyframes swal2-toast-hide {
  830. 100% {
  831. transform: rotateZ(1deg);
  832. opacity: 0;
  833. }
  834. }
  835. @-webkit-keyframes swal2-toast-animate-success-line-tip {
  836. 0% {
  837. top: 0.5625em;
  838. left: 0.0625em;
  839. width: 0;
  840. }
  841. 54% {
  842. top: 0.125em;
  843. left: 0.125em;
  844. width: 0;
  845. }
  846. 70% {
  847. top: 0.625em;
  848. left: -0.25em;
  849. width: 1.625em;
  850. }
  851. 84% {
  852. top: 1.0625em;
  853. left: 0.75em;
  854. width: 0.5em;
  855. }
  856. 100% {
  857. top: 1.125em;
  858. left: 0.1875em;
  859. width: 0.75em;
  860. }
  861. }
  862. @keyframes swal2-toast-animate-success-line-tip {
  863. 0% {
  864. top: 0.5625em;
  865. left: 0.0625em;
  866. width: 0;
  867. }
  868. 54% {
  869. top: 0.125em;
  870. left: 0.125em;
  871. width: 0;
  872. }
  873. 70% {
  874. top: 0.625em;
  875. left: -0.25em;
  876. width: 1.625em;
  877. }
  878. 84% {
  879. top: 1.0625em;
  880. left: 0.75em;
  881. width: 0.5em;
  882. }
  883. 100% {
  884. top: 1.125em;
  885. left: 0.1875em;
  886. width: 0.75em;
  887. }
  888. }
  889. @-webkit-keyframes swal2-toast-animate-success-line-long {
  890. 0% {
  891. top: 1.625em;
  892. right: 1.375em;
  893. width: 0;
  894. }
  895. 65% {
  896. top: 1.25em;
  897. right: 0.9375em;
  898. width: 0;
  899. }
  900. 84% {
  901. top: 0.9375em;
  902. right: 0;
  903. width: 1.125em;
  904. }
  905. 100% {
  906. top: 0.9375em;
  907. right: 0.1875em;
  908. width: 1.375em;
  909. }
  910. }
  911. @keyframes swal2-toast-animate-success-line-long {
  912. 0% {
  913. top: 1.625em;
  914. right: 1.375em;
  915. width: 0;
  916. }
  917. 65% {
  918. top: 1.25em;
  919. right: 0.9375em;
  920. width: 0;
  921. }
  922. 84% {
  923. top: 0.9375em;
  924. right: 0;
  925. width: 1.125em;
  926. }
  927. 100% {
  928. top: 0.9375em;
  929. right: 0.1875em;
  930. width: 1.375em;
  931. }
  932. }
  933. @-webkit-keyframes swal2-show {
  934. 0% {
  935. transform: scale(0.7);
  936. }
  937. 45% {
  938. transform: scale(1.05);
  939. }
  940. 80% {
  941. transform: scale(0.95);
  942. }
  943. 100% {
  944. transform: scale(1);
  945. }
  946. }
  947. @keyframes swal2-show {
  948. 0% {
  949. transform: scale(0.7);
  950. }
  951. 45% {
  952. transform: scale(1.05);
  953. }
  954. 80% {
  955. transform: scale(0.95);
  956. }
  957. 100% {
  958. transform: scale(1);
  959. }
  960. }
  961. @-webkit-keyframes swal2-hide {
  962. 0% {
  963. transform: scale(1);
  964. opacity: 1;
  965. }
  966. 100% {
  967. transform: scale(0.5);
  968. opacity: 0;
  969. }
  970. }
  971. @keyframes swal2-hide {
  972. 0% {
  973. transform: scale(1);
  974. opacity: 1;
  975. }
  976. 100% {
  977. transform: scale(0.5);
  978. opacity: 0;
  979. }
  980. }
  981. @-webkit-keyframes swal2-animate-success-line-tip {
  982. 0% {
  983. top: 1.1875em;
  984. left: 0.0625em;
  985. width: 0;
  986. }
  987. 54% {
  988. top: 1.0625em;
  989. left: 0.125em;
  990. width: 0;
  991. }
  992. 70% {
  993. top: 2.1875em;
  994. left: -0.375em;
  995. width: 3.125em;
  996. }
  997. 84% {
  998. top: 3em;
  999. left: 1.3125em;
  1000. width: 1.0625em;
  1001. }
  1002. 100% {
  1003. top: 2.8125em;
  1004. left: 0.8125em;
  1005. width: 1.5625em;
  1006. }
  1007. }
  1008. @keyframes swal2-animate-success-line-tip {
  1009. 0% {
  1010. top: 1.1875em;
  1011. left: 0.0625em;
  1012. width: 0;
  1013. }
  1014. 54% {
  1015. top: 1.0625em;
  1016. left: 0.125em;
  1017. width: 0;
  1018. }
  1019. 70% {
  1020. top: 2.1875em;
  1021. left: -0.375em;
  1022. width: 3.125em;
  1023. }
  1024. 84% {
  1025. top: 3em;
  1026. left: 1.3125em;
  1027. width: 1.0625em;
  1028. }
  1029. 100% {
  1030. top: 2.8125em;
  1031. left: 0.8125em;
  1032. width: 1.5625em;
  1033. }
  1034. }
  1035. @-webkit-keyframes swal2-animate-success-line-long {
  1036. 0% {
  1037. top: 3.375em;
  1038. right: 2.875em;
  1039. width: 0;
  1040. }
  1041. 65% {
  1042. top: 3.375em;
  1043. right: 2.875em;
  1044. width: 0;
  1045. }
  1046. 84% {
  1047. top: 2.1875em;
  1048. right: 0;
  1049. width: 3.4375em;
  1050. }
  1051. 100% {
  1052. top: 2.375em;
  1053. right: 0.5em;
  1054. width: 2.9375em;
  1055. }
  1056. }
  1057. @keyframes swal2-animate-success-line-long {
  1058. 0% {
  1059. top: 3.375em;
  1060. right: 2.875em;
  1061. width: 0;
  1062. }
  1063. 65% {
  1064. top: 3.375em;
  1065. right: 2.875em;
  1066. width: 0;
  1067. }
  1068. 84% {
  1069. top: 2.1875em;
  1070. right: 0;
  1071. width: 3.4375em;
  1072. }
  1073. 100% {
  1074. top: 2.375em;
  1075. right: 0.5em;
  1076. width: 2.9375em;
  1077. }
  1078. }
  1079. @-webkit-keyframes swal2-rotate-success-circular-line {
  1080. 0% {
  1081. transform: rotate(-45deg);
  1082. }
  1083. 5% {
  1084. transform: rotate(-45deg);
  1085. }
  1086. 12% {
  1087. transform: rotate(-405deg);
  1088. }
  1089. 100% {
  1090. transform: rotate(-405deg);
  1091. }
  1092. }
  1093. @keyframes swal2-rotate-success-circular-line {
  1094. 0% {
  1095. transform: rotate(-45deg);
  1096. }
  1097. 5% {
  1098. transform: rotate(-45deg);
  1099. }
  1100. 12% {
  1101. transform: rotate(-405deg);
  1102. }
  1103. 100% {
  1104. transform: rotate(-405deg);
  1105. }
  1106. }
  1107. @-webkit-keyframes swal2-animate-error-x-mark {
  1108. 0% {
  1109. margin-top: 1.625em;
  1110. transform: scale(0.4);
  1111. opacity: 0;
  1112. }
  1113. 50% {
  1114. margin-top: 1.625em;
  1115. transform: scale(0.4);
  1116. opacity: 0;
  1117. }
  1118. 80% {
  1119. margin-top: -0.375em;
  1120. transform: scale(1.15);
  1121. }
  1122. 100% {
  1123. margin-top: 0;
  1124. transform: scale(1);
  1125. opacity: 1;
  1126. }
  1127. }
  1128. @keyframes swal2-animate-error-x-mark {
  1129. 0% {
  1130. margin-top: 1.625em;
  1131. transform: scale(0.4);
  1132. opacity: 0;
  1133. }
  1134. 50% {
  1135. margin-top: 1.625em;
  1136. transform: scale(0.4);
  1137. opacity: 0;
  1138. }
  1139. 80% {
  1140. margin-top: -0.375em;
  1141. transform: scale(1.15);
  1142. }
  1143. 100% {
  1144. margin-top: 0;
  1145. transform: scale(1);
  1146. opacity: 1;
  1147. }
  1148. }
  1149. @-webkit-keyframes swal2-animate-error-icon {
  1150. 0% {
  1151. transform: rotateX(100deg);
  1152. opacity: 0;
  1153. }
  1154. 100% {
  1155. transform: rotateX(0deg);
  1156. opacity: 1;
  1157. }
  1158. }
  1159. @keyframes swal2-animate-error-icon {
  1160. 0% {
  1161. transform: rotateX(100deg);
  1162. opacity: 0;
  1163. }
  1164. 100% {
  1165. transform: rotateX(0deg);
  1166. opacity: 1;
  1167. }
  1168. }
  1169. @-webkit-keyframes swal2-rotate-loading {
  1170. 0% {
  1171. transform: rotate(0deg);
  1172. }
  1173. 100% {
  1174. transform: rotate(360deg);
  1175. }
  1176. }
  1177. @keyframes swal2-rotate-loading {
  1178. 0% {
  1179. transform: rotate(0deg);
  1180. }
  1181. 100% {
  1182. transform: rotate(360deg);
  1183. }
  1184. }
  1185. body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) {
  1186. overflow: hidden;
  1187. }
  1188. body.swal2-height-auto {
  1189. height: auto !important;
  1190. }
  1191. body.swal2-no-backdrop .swal2-container {
  1192. top: auto;
  1193. right: auto;
  1194. bottom: auto;
  1195. left: auto;
  1196. max-width: calc(100% - 0.625em * 2);
  1197. background-color: transparent !important;
  1198. }
  1199. body.swal2-no-backdrop .swal2-container > .swal2-modal {
  1200. box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  1201. }
  1202. body.swal2-no-backdrop .swal2-container.swal2-top {
  1203. top: 0;
  1204. left: 50%;
  1205. transform: translateX(-50%);
  1206. }
  1207. body.swal2-no-backdrop .swal2-container.swal2-top-start, body.swal2-no-backdrop .swal2-container.swal2-top-left {
  1208. top: 0;
  1209. left: 0;
  1210. }
  1211. body.swal2-no-backdrop .swal2-container.swal2-top-end, body.swal2-no-backdrop .swal2-container.swal2-top-right {
  1212. top: 0;
  1213. right: 0;
  1214. }
  1215. body.swal2-no-backdrop .swal2-container.swal2-center {
  1216. top: 50%;
  1217. left: 50%;
  1218. transform: translate(-50%, -50%);
  1219. }
  1220. body.swal2-no-backdrop .swal2-container.swal2-center-start, body.swal2-no-backdrop .swal2-container.swal2-center-left {
  1221. top: 50%;
  1222. left: 0;
  1223. transform: translateY(-50%);
  1224. }
  1225. body.swal2-no-backdrop .swal2-container.swal2-center-end, body.swal2-no-backdrop .swal2-container.swal2-center-right {
  1226. top: 50%;
  1227. right: 0;
  1228. transform: translateY(-50%);
  1229. }
  1230. body.swal2-no-backdrop .swal2-container.swal2-bottom {
  1231. bottom: 0;
  1232. left: 50%;
  1233. transform: translateX(-50%);
  1234. }
  1235. body.swal2-no-backdrop .swal2-container.swal2-bottom-start, body.swal2-no-backdrop .swal2-container.swal2-bottom-left {
  1236. bottom: 0;
  1237. left: 0;
  1238. }
  1239. body.swal2-no-backdrop .swal2-container.swal2-bottom-end, body.swal2-no-backdrop .swal2-container.swal2-bottom-right {
  1240. right: 0;
  1241. bottom: 0;
  1242. }
  1243. @media print {
  1244. body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) {
  1245. overflow-y: scroll !important;
  1246. }
  1247. body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) > [aria-hidden=true] {
  1248. display: none;
  1249. }
  1250. body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container {
  1251. position: static !important;
  1252. }
  1253. }
  1254. body.swal2-toast-shown .swal2-container {
  1255. background-color: transparent;
  1256. }
  1257. body.swal2-toast-shown .swal2-container.swal2-top {
  1258. top: 0;
  1259. right: auto;
  1260. bottom: auto;
  1261. left: 50%;
  1262. transform: translateX(-50%);
  1263. }
  1264. body.swal2-toast-shown .swal2-container.swal2-top-end, body.swal2-toast-shown .swal2-container.swal2-top-right {
  1265. top: 0;
  1266. right: 0;
  1267. bottom: auto;
  1268. left: auto;
  1269. }
  1270. body.swal2-toast-shown .swal2-container.swal2-top-start, body.swal2-toast-shown .swal2-container.swal2-top-left {
  1271. top: 0;
  1272. right: auto;
  1273. bottom: auto;
  1274. left: 0;
  1275. }
  1276. body.swal2-toast-shown .swal2-container.swal2-center-start, body.swal2-toast-shown .swal2-container.swal2-center-left {
  1277. top: 50%;
  1278. right: auto;
  1279. bottom: auto;
  1280. left: 0;
  1281. transform: translateY(-50%);
  1282. }
  1283. body.swal2-toast-shown .swal2-container.swal2-center {
  1284. top: 50%;
  1285. right: auto;
  1286. bottom: auto;
  1287. left: 50%;
  1288. transform: translate(-50%, -50%);
  1289. }
  1290. body.swal2-toast-shown .swal2-container.swal2-center-end, body.swal2-toast-shown .swal2-container.swal2-center-right {
  1291. top: 50%;
  1292. right: 0;
  1293. bottom: auto;
  1294. left: auto;
  1295. transform: translateY(-50%);
  1296. }
  1297. body.swal2-toast-shown .swal2-container.swal2-bottom-start, body.swal2-toast-shown .swal2-container.swal2-bottom-left {
  1298. top: auto;
  1299. right: auto;
  1300. bottom: 0;
  1301. left: 0;
  1302. }
  1303. body.swal2-toast-shown .swal2-container.swal2-bottom {
  1304. top: auto;
  1305. right: auto;
  1306. bottom: 0;
  1307. left: 50%;
  1308. transform: translateX(-50%);
  1309. }
  1310. body.swal2-toast-shown .swal2-container.swal2-bottom-end, body.swal2-toast-shown .swal2-container.swal2-bottom-right {
  1311. top: auto;
  1312. right: 0;
  1313. bottom: 0;
  1314. left: auto;
  1315. }
  1316. body.swal2-toast-column .swal2-toast {
  1317. flex-direction: column;
  1318. align-items: stretch;
  1319. }
  1320. body.swal2-toast-column .swal2-toast .swal2-actions {
  1321. flex: 1;
  1322. align-self: stretch;
  1323. height: 2.2em;
  1324. margin-top: 0.3125em;
  1325. }
  1326. body.swal2-toast-column .swal2-toast .swal2-loading {
  1327. justify-content: center;
  1328. }
  1329. body.swal2-toast-column .swal2-toast .swal2-input {
  1330. height: 2em;
  1331. margin: 0.3125em auto;
  1332. font-size: 1em;
  1333. }
  1334. body.swal2-toast-column .swal2-toast .swal2-validation-message {
  1335. font-size: 1em;
  1336. }