jquery-confirm.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519
  1. /*!
  2. * jquery-confirm v2.5.0 (http://craftpip.github.io/jquery-confirm/)
  3. * Author: boniface pereira
  4. * Website: www.craftpip.com
  5. * Contact: hey@craftpip.com
  6. *
  7. * Copyright 2013-2016 jquery-confirm
  8. * Licensed under MIT (https://github.com/craftpip/jquery-confirm/blob/master/LICENSE)
  9. */
  10. @-webkit-keyframes jconfirm-rotate {
  11. from {
  12. -webkit-transform: rotate(0deg);
  13. transform: rotate(0deg);
  14. }
  15. to {
  16. -webkit-transform: rotate(360deg);
  17. transform: rotate(360deg);
  18. }
  19. }
  20. @keyframes jconfirm-rotate {
  21. from {
  22. -webkit-transform: rotate(0deg);
  23. transform: rotate(0deg);
  24. }
  25. to {
  26. -webkit-transform: rotate(360deg);
  27. transform: rotate(360deg);
  28. }
  29. }
  30. body.jconfirm-noscroll {
  31. overflow: hidden !important;
  32. }
  33. .jconfirm {
  34. position: fixed;
  35. top: 0;
  36. left: 0;
  37. right: 0;
  38. bottom: 0;
  39. z-index: 99999999;
  40. font-family: inherit;
  41. overflow: hidden;
  42. }
  43. .jconfirm .jconfirm-bg {
  44. position: fixed;
  45. top: 0;
  46. left: 0;
  47. right: 0;
  48. bottom: 0;
  49. opacity: 0;
  50. -webkit-transition: all .4s;
  51. transition: all .4s;
  52. }
  53. .jconfirm .jconfirm-bg.seen {
  54. opacity: 1;
  55. }
  56. .jconfirm .jconfirm-scrollpane {
  57. position: fixed;
  58. top: 0;
  59. left: 0;
  60. right: 0;
  61. bottom: 0;
  62. overflow-y: auto;
  63. -webkit-perspective: 500px;
  64. perspective: 500px;
  65. -webkit-perspective-origin: center;
  66. perspective-origin: center;
  67. }
  68. .jconfirm .jconfirm-box {
  69. background: white;
  70. border-radius: 4px;
  71. position: relative;
  72. outline: none;
  73. padding: 15px 15px 0;
  74. }
  75. .jconfirm .jconfirm-box div.closeIcon {
  76. height: 20px;
  77. width: 20px;
  78. position: absolute;
  79. top: 5px;
  80. right: 5px;
  81. cursor: pointer;
  82. opacity: .6;
  83. text-align: center;
  84. -webkit-transition: opacity 0.1s ease-in;
  85. transition: opacity 0.1s ease-in;
  86. display: none;
  87. font-size: 27px;
  88. line-height: 14px;
  89. }
  90. .jconfirm .jconfirm-box div.closeIcon .fa {
  91. font-size: 16px;
  92. }
  93. .jconfirm .jconfirm-box div.closeIcon .glyphicon {
  94. font-size: 16px;
  95. }
  96. .jconfirm .jconfirm-box div.closeIcon .zmdi {
  97. font-size: 16px;
  98. }
  99. .jconfirm .jconfirm-box div.closeIcon:hover {
  100. opacity: 1;
  101. }
  102. .jconfirm .jconfirm-box div.title-c {
  103. display: block;
  104. font-size: 22px;
  105. line-height: 20px;
  106. }
  107. .jconfirm .jconfirm-box div.title-c .icon-c {
  108. font-size: inherit;
  109. padding-bottom: 15px;
  110. display: inline-block;
  111. margin-right: 8px;
  112. vertical-align: middle;
  113. }
  114. .jconfirm .jconfirm-box div.title-c .icon-c i {
  115. vertical-align: middle;
  116. }
  117. .jconfirm .jconfirm-box div.title-c .icon-c:empty {
  118. display: none;
  119. }
  120. .jconfirm .jconfirm-box div.title-c .title {
  121. font-size: inherit;
  122. font-family: inherit;
  123. display: inline-block;
  124. vertical-align: middle;
  125. padding-bottom: 15px;
  126. }
  127. .jconfirm .jconfirm-box div.title-c .title:empty {
  128. display: none;
  129. }
  130. .jconfirm .jconfirm-box div.content-pane {
  131. margin-bottom: 15px;
  132. height: auto;
  133. -webkit-transition: height 0.4s ease-in;
  134. transition: height 0.4s ease-in;
  135. display: inline-block;
  136. width: 100%;
  137. position: relative;
  138. }
  139. .jconfirm .jconfirm-box div.content-pane .content {
  140. position: absolute;
  141. top: 0;
  142. left: 0;
  143. -webkit-transition: all 0.2s ease-in;
  144. transition: all 0.2s ease-in;
  145. right: 0;
  146. }
  147. .jconfirm .jconfirm-box div.content-pane .content img {
  148. width: 100%;
  149. height: auto;
  150. }
  151. .jconfirm .jconfirm-box div.content-pane .content:empty {
  152. display: none;
  153. }
  154. .jconfirm .jconfirm-box div.content-pane .content:empty.loading {
  155. height: 40px;
  156. position: relative;
  157. opacity: 0.6;
  158. display: block;
  159. }
  160. .jconfirm .jconfirm-box div.content-pane .content:empty.loading:before {
  161. content: '';
  162. height: 20px;
  163. width: 20px;
  164. border: solid 2px transparent;
  165. position: absolute;
  166. left: 50%;
  167. margin-left: -10px;
  168. border-radius: 50%;
  169. -webkit-animation: jconfirm-rotate 1s infinite linear;
  170. animation: jconfirm-rotate 1s infinite linear;
  171. border-bottom-color: #aaa;
  172. top: 50%;
  173. margin-top: -10px;
  174. }
  175. .jconfirm .jconfirm-box div.content-pane .content:empty.loading:after {
  176. content: '';
  177. position: absolute;
  178. left: 50%;
  179. margin-left: -15px;
  180. }
  181. .jconfirm .jconfirm-box .buttons {
  182. padding-bottom: 15px;
  183. }
  184. .jconfirm .jconfirm-box .buttons button + button {
  185. margin-left: 5px;
  186. }
  187. .jconfirm .jquery-clear {
  188. clear: both;
  189. }
  190. .jconfirm.rtl {
  191. direction: rtl;
  192. }
  193. .jconfirm.rtl div.closeIcon {
  194. left: 12px;
  195. right: auto;
  196. }
  197. .jconfirm.jconfirm-white .jconfirm-bg {
  198. background-color: rgba(0, 0, 0, 0.2);
  199. }
  200. .jconfirm.jconfirm-white .jconfirm-box {
  201. box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  202. border-radius: 5px;
  203. }
  204. .jconfirm.jconfirm-white .jconfirm-box .buttons {
  205. float: right;
  206. }
  207. .jconfirm.jconfirm-white .jconfirm-box .buttons button {
  208. border: none;
  209. background-image: none;
  210. text-transform: uppercase;
  211. font-size: 14px;
  212. font-weight: bold;
  213. text-shadow: none;
  214. -webkit-transition: background .1s;
  215. transition: background .1s;
  216. color: white;
  217. }
  218. .jconfirm.jconfirm-white .jconfirm-box .buttons button.btn-default {
  219. box-shadow: none;
  220. color: #333;
  221. }
  222. .jconfirm.jconfirm-white .jconfirm-box .buttons button.btn-default:hover {
  223. background: #ddd;
  224. }
  225. .jconfirm.jconfirm-black .jconfirm-bg {
  226. background-color: rgba(0, 0, 0, 0.5);
  227. }
  228. .jconfirm.jconfirm-black .jconfirm-box {
  229. box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  230. background: #444;
  231. border-radius: 5px;
  232. color: white;
  233. }
  234. .jconfirm.jconfirm-black .jconfirm-box .buttons {
  235. float: right;
  236. }
  237. .jconfirm.jconfirm-black .jconfirm-box .buttons button {
  238. border: none;
  239. background-image: none;
  240. text-transform: uppercase;
  241. font-size: 14px;
  242. font-weight: bold;
  243. text-shadow: none;
  244. -webkit-transition: background .1s;
  245. transition: background .1s;
  246. color: white;
  247. }
  248. .jconfirm.jconfirm-black .jconfirm-box .buttons button.btn-default {
  249. box-shadow: none;
  250. color: #fff;
  251. background: none;
  252. }
  253. .jconfirm.jconfirm-black .jconfirm-box .buttons button.btn-default:hover {
  254. background: #666;
  255. }
  256. .jconfirm .jconfirm-box.hilight {
  257. -webkit-animation: hilight 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  258. animation: hilight 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  259. -webkit-transform: translate3d(0, 0, 0);
  260. transform: translate3d(0, 0, 0);
  261. }
  262. @-webkit-keyframes hilight {
  263. 10%,
  264. 90% {
  265. -webkit-transform: translate3d(-2px, 0, 0);
  266. transform: translate3d(-2px, 0, 0);
  267. }
  268. 20%,
  269. 80% {
  270. -webkit-transform: translate3d(4px, 0, 0);
  271. transform: translate3d(4px, 0, 0);
  272. }
  273. 30%,
  274. 50%,
  275. 70% {
  276. -webkit-transform: translate3d(-8px, 0, 0);
  277. transform: translate3d(-8px, 0, 0);
  278. }
  279. 40%,
  280. 60% {
  281. -webkit-transform: translate3d(8px, 0, 0);
  282. transform: translate3d(8px, 0, 0);
  283. }
  284. }
  285. @keyframes hilight {
  286. 10%,
  287. 90% {
  288. -webkit-transform: translate3d(-2px, 0, 0);
  289. transform: translate3d(-2px, 0, 0);
  290. }
  291. 20%,
  292. 80% {
  293. -webkit-transform: translate3d(4px, 0, 0);
  294. transform: translate3d(4px, 0, 0);
  295. }
  296. 30%,
  297. 50%,
  298. 70% {
  299. -webkit-transform: translate3d(-8px, 0, 0);
  300. transform: translate3d(-8px, 0, 0);
  301. }
  302. 40%,
  303. 60% {
  304. -webkit-transform: translate3d(8px, 0, 0);
  305. transform: translate3d(8px, 0, 0);
  306. }
  307. }
  308. /*Transition rules*/
  309. .jconfirm {
  310. -webkit-perspective: 400px;
  311. perspective: 400px;
  312. }
  313. .jconfirm .jconfirm-box {
  314. opacity: 1;
  315. -webkit-transition-property: -webkit-transform, opacity, box-shadow;
  316. transition-property: transform, opacity, box-shadow;
  317. }
  318. .jconfirm .jconfirm-box.anim-top,
  319. .jconfirm .jconfirm-box.anim-left,
  320. .jconfirm .jconfirm-box.anim-right,
  321. .jconfirm .jconfirm-box.anim-bottom,
  322. .jconfirm .jconfirm-box.anim-opacity,
  323. .jconfirm .jconfirm-box.anim-zoom,
  324. .jconfirm .jconfirm-box.anim-scale,
  325. .jconfirm .jconfirm-box.anim-none,
  326. .jconfirm .jconfirm-box.anim-rotate,
  327. .jconfirm .jconfirm-box.anim-rotatex,
  328. .jconfirm .jconfirm-box.anim-rotatey,
  329. .jconfirm .jconfirm-box.anim-scaley,
  330. .jconfirm .jconfirm-box.anim-scalex {
  331. opacity: 0;
  332. }
  333. .jconfirm .jconfirm-box.anim-rotate {
  334. -webkit-transform: rotate(90deg);
  335. -ms-transform: rotate(90deg);
  336. transform: rotate(90deg);
  337. }
  338. .jconfirm .jconfirm-box.anim-rotatex {
  339. -webkit-transform: rotateX(90deg);
  340. transform: rotateX(90deg);
  341. -webkit-transform-origin: center;
  342. -ms-transform-origin: center;
  343. transform-origin: center;
  344. }
  345. .jconfirm .jconfirm-box.anim-rotatexr {
  346. -webkit-transform: rotateX(-90deg);
  347. transform: rotateX(-90deg);
  348. -webkit-transform-origin: center;
  349. -ms-transform-origin: center;
  350. transform-origin: center;
  351. }
  352. .jconfirm .jconfirm-box.anim-rotatey {
  353. -webkit-transform: rotatey(90deg);
  354. -ms-transform: rotatey(90deg);
  355. transform: rotatey(90deg);
  356. -webkit-transform-origin: center;
  357. -ms-transform-origin: center;
  358. transform-origin: center;
  359. }
  360. .jconfirm .jconfirm-box.anim-rotateyr {
  361. -webkit-transform: rotatey(-90deg);
  362. -ms-transform: rotatey(-90deg);
  363. transform: rotatey(-90deg);
  364. -webkit-transform-origin: center;
  365. -ms-transform-origin: center;
  366. transform-origin: center;
  367. }
  368. .jconfirm .jconfirm-box.anim-scaley {
  369. -webkit-transform: scaley(1.5);
  370. -ms-transform: scaley(1.5);
  371. transform: scaley(1.5);
  372. -webkit-transform-origin: center;
  373. -ms-transform-origin: center;
  374. transform-origin: center;
  375. }
  376. .jconfirm .jconfirm-box.anim-scalex {
  377. -webkit-transform: scalex(1.5);
  378. -ms-transform: scalex(1.5);
  379. transform: scalex(1.5);
  380. -webkit-transform-origin: center;
  381. -ms-transform-origin: center;
  382. transform-origin: center;
  383. }
  384. .jconfirm .jconfirm-box.anim-top {
  385. -webkit-transform: translate(0px, -100px);
  386. -ms-transform: translate(0px, -100px);
  387. transform: translate(0px, -100px);
  388. }
  389. .jconfirm .jconfirm-box.anim-left {
  390. -webkit-transform: translate(-100px, 0px);
  391. -ms-transform: translate(-100px, 0px);
  392. transform: translate(-100px, 0px);
  393. }
  394. .jconfirm .jconfirm-box.anim-right {
  395. -webkit-transform: translate(100px, 0px);
  396. -ms-transform: translate(100px, 0px);
  397. transform: translate(100px, 0px);
  398. }
  399. .jconfirm .jconfirm-box.anim-bottom {
  400. -webkit-transform: translate(0px, 100px);
  401. -ms-transform: translate(0px, 100px);
  402. transform: translate(0px, 100px);
  403. }
  404. .jconfirm .jconfirm-box.anim-zoom {
  405. -webkit-transform: scale(1.2);
  406. -ms-transform: scale(1.2);
  407. transform: scale(1.2);
  408. }
  409. .jconfirm .jconfirm-box.anim-scale {
  410. -webkit-transform: scale(0.5);
  411. -ms-transform: scale(0.5);
  412. transform: scale(0.5);
  413. }
  414. .jconfirm .jconfirm-box.anim-none {
  415. display: none;
  416. }
  417. .jconfirm.jconfirm-supervan .jconfirm-bg {
  418. background-color: rgba(54, 70, 93, 0.95);
  419. }
  420. .jconfirm.jconfirm-supervan .jconfirm-box {
  421. background-color: transparent;
  422. }
  423. .jconfirm.jconfirm-supervan .jconfirm-box div.closeIcon {
  424. color: white;
  425. }
  426. .jconfirm.jconfirm-supervan .jconfirm-box div.title-c {
  427. text-align: center;
  428. color: white;
  429. font-size: 28px;
  430. font-weight: normal;
  431. }
  432. .jconfirm.jconfirm-supervan .jconfirm-box div.title-c > * {
  433. padding-bottom: 25px;
  434. }
  435. .jconfirm.jconfirm-supervan .jconfirm-box div.content-pane {
  436. margin-bottom: 25px;
  437. }
  438. .jconfirm.jconfirm-supervan .jconfirm-box div.content {
  439. text-align: center;
  440. color: white;
  441. }
  442. .jconfirm.jconfirm-supervan .jconfirm-box .buttons {
  443. text-align: center;
  444. }
  445. .jconfirm.jconfirm-supervan .jconfirm-box .buttons button {
  446. font-size: 16px;
  447. border-radius: 2px;
  448. background: #303f53;
  449. text-shadow: none;
  450. border: none;
  451. color: white;
  452. padding: 10px;
  453. min-width: 100px;
  454. }
  455. .jconfirm.jconfirm-material .jconfirm-bg {
  456. background-color: rgba(0, 0, 0, 0.67);
  457. }
  458. .jconfirm.jconfirm-material .jconfirm-box {
  459. background-color: white;
  460. box-shadow: 0 7px 8px -4px rgba(0, 0, 0, 0.2), 0 13px 19px 2px rgba(0, 0, 0, 0.14), 0 5px 24px 4px rgba(0, 0, 0, 0.12);
  461. padding: 30px 25px 10px 25px;
  462. }
  463. .jconfirm.jconfirm-material .jconfirm-box div.closeIcon {
  464. color: rgba(0, 0, 0, 0.87);
  465. }
  466. .jconfirm.jconfirm-material .jconfirm-box div.title-c {
  467. color: rgba(0, 0, 0, 0.87);
  468. font-size: 22px;
  469. font-weight: bold;
  470. }
  471. .jconfirm.jconfirm-material .jconfirm-box div.content {
  472. text-align: left;
  473. color: rgba(0, 0, 0, 0.87);
  474. }
  475. .jconfirm.jconfirm-material .jconfirm-box .buttons {
  476. text-align: right;
  477. }
  478. .jconfirm.jconfirm-material .jconfirm-box .buttons button {
  479. text-transform: uppercase;
  480. font-weight: 500;
  481. }
  482. .jconfirm.jconfirm-bootstrap .jconfirm-bg {
  483. background-color: rgba(0, 0, 0, 0.21);
  484. }
  485. .jconfirm.jconfirm-bootstrap .jconfirm-box {
  486. background-color: white;
  487. box-shadow: 0 3px 8px 0px rgba(0, 0, 0, 0.2);
  488. border: solid 1px rgba(0, 0, 0, 0.4);
  489. padding: 15px 0 0;
  490. }
  491. .jconfirm.jconfirm-bootstrap .jconfirm-box div.closeIcon {
  492. color: rgba(0, 0, 0, 0.87);
  493. }
  494. .jconfirm.jconfirm-bootstrap .jconfirm-box div.title-c {
  495. color: rgba(0, 0, 0, 0.87);
  496. font-size: 22px;
  497. font-weight: bold;
  498. padding-left: 15px;
  499. padding-right: 15px;
  500. }
  501. .jconfirm.jconfirm-bootstrap .jconfirm-box div.content {
  502. text-align: left;
  503. color: rgba(0, 0, 0, 0.87);
  504. padding: 0px 15px;
  505. }
  506. .jconfirm.jconfirm-bootstrap .jconfirm-box .buttons {
  507. text-align: right;
  508. padding: 0px 0 0px;
  509. margin: -5px 0 0px;
  510. border-top: solid 1px #ddd;
  511. overflow: hidden;
  512. border-radius: 0 0 4px 4px;
  513. }
  514. .jconfirm.jconfirm-bootstrap .jconfirm-box .buttons button {
  515. font-weight: 500;
  516. border-radius: 0px;
  517. margin: 0;
  518. border-left: solid 1px #ddd;
  519. }