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

615 lines
11 KiB

  1. .ax-masking {
  2. -webkit-filter: blur(3px);
  3. -webkit-transform: scale(0.96);
  4. -moz-transform: scale(0.96);
  5. -ms-transform: scale(0.96);
  6. -o-transform: scale(0.96);
  7. transform: scale(0.96);
  8. -webkit-transform: translateZ(0);
  9. -moz-transform: translateZ(0);
  10. -ms-transform: translateZ(0);
  11. -o-transform: translateZ(0);
  12. transform: translateZ(0)
  13. }
  14. .ax-mask {
  15. box-sizing: border-box;
  16. z-index: 1000;
  17. position: fixed;
  18. left: 0px;
  19. top: 0px;
  20. width: 100%;
  21. height: 100%;
  22. .ax-mask-bg {
  23. z-index: 1;
  24. position: absolute;
  25. left: 0px;
  26. top: 0px;
  27. width: 100%;
  28. height: 100%;
  29. background: #000;
  30. opacity: .6;
  31. }
  32. .ax-mask-content {
  33. z-index: 2;
  34. position: absolute;
  35. left: 0px;
  36. top: 0px;
  37. width: 100%;
  38. height: 100%;
  39. display: table;
  40. vertical-align: middle;
  41. text-align: center;
  42. color: #fff;
  43. text-shadow: 0px 1px 0px #000;
  44. * {
  45. color:inherit;
  46. }
  47. > div {
  48. display: table-cell;
  49. vertical-align: middle;
  50. text-align: center
  51. }
  52. }
  53. &.fade-out {
  54. -webkit-animation: ax-mask-fade-out .25s;
  55. -o-animation: ax-mask-fade-out .25s;
  56. animation: ax-mask-fade-out .25s;
  57. opacity: 0.0
  58. }
  59. }
  60. .ax5modal {
  61. -webkit-animation: ax-modal .3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  62. -o-animation: ax-modal .3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  63. animation: ax-modal .3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  64. -webkit-transform: translateZ(0px);
  65. -moz-transform: translateZ(0px);
  66. -ms-transform: translateZ(0px);
  67. -o-transform: translateZ(0px);
  68. transform: translateZ(0px);
  69. box-sizing: border-box;
  70. background-color: #3f4245;
  71. border: 1px solid rgba(0,0,0,0.4);
  72. border-radius: 4px;
  73. -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.6);
  74. box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.6);
  75. z-index: 2000;
  76. position: fixed;
  77. left: 0px;
  78. top: 0px;
  79. box-sizing: content-box;
  80. .ax-modal-header {
  81. user-select: none;
  82. padding: 10px 15px;
  83. border-top-left-radius: 4px;
  84. border-top-right-radius: 4px;
  85. font-size:13px;
  86. cursor: move;
  87. color: #fff;
  88. background:rgba(0,0,0,.15);
  89. font-weight:400;
  90. border:0px;
  91. .ax-modal-header-addon {
  92. position: absolute;
  93. right: 0px;
  94. top: 0px;
  95. padding: 10px 10px;
  96. a {
  97. color: #333;
  98. outline: 0
  99. }
  100. [data-modal-header-btn] {
  101. border: 0;
  102. padding: 0px 2px;
  103. background: transparent;
  104. display: inline-block;
  105. text-align: center;
  106. cursor: pointer;
  107. outline: 0
  108. }
  109. }
  110. }
  111. .ax-modal-body {
  112. border-bottom-left-radius: 4px;
  113. border-bottom-right-radius: 4px;
  114. padding: 0px;
  115. text-align: center;
  116. -webkit-box-flex: 1;
  117. -moz-box-flex: 1;
  118. box-flex: 1;
  119. -webkit-flex: 1;
  120. -moz-flex: 1;
  121. -ms-flex: 1;
  122. flex: 1;
  123. position: relative;
  124. overflow: hidden;
  125. iframe {
  126. border: 0 none
  127. }
  128. .fadeIn {
  129. -webkit-animation: ax-modal-fade-in .3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  130. -o-animation: ax-modal-fade-in .3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  131. animation: ax-modal-fade-in .3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards
  132. }
  133. .fadeOut {
  134. -webkit-animation: ax-modal-fade-out .3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  135. -o-animation: ax-modal-fade-out .3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  136. animation: ax-modal-fade-out .3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards
  137. }
  138. }
  139. &.destroy {
  140. -webkit-animation: ax-modal-destroy .3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  141. -o-animation: ax-modal-destroy .3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  142. animation: ax-modal-destroy .3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards
  143. }
  144. &.fullscreen {
  145. border: 0px none;
  146. border-radius: 0px;
  147. -webkit-box-shadow: none;
  148. box-shadow: none;
  149. -webkit-animation: ax-modal-fullscreen .3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  150. -o-animation: ax-modal-fullscreen .3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  151. animation: ax-modal-fullscreen .3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards
  152. }
  153. &.fullscreen.destroy {
  154. -webkit-animation: ax-modal-fullscreen-destroy .3s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  155. -o-animation: ax-modal-fullscreen-destroy .3s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  156. animation: ax-modal-fullscreen-destroy .3s cubic-bezier(0.19, 1, 0.22, 1) forwards
  157. }
  158. &.draged .ax-modal-header {
  159. opacity: 0.5
  160. }
  161. &.draged .ax-modal-body {
  162. opacity: 0.5
  163. }
  164. [data-ax5modal-resizer] {
  165. position: absolute;
  166. display: block;
  167. &:before {
  168. position: absolute;
  169. content: ' ';
  170. display: block;
  171. width: auto;
  172. height: auto;
  173. left: auto;
  174. top: auto;
  175. right: auto;
  176. bottom: auto
  177. }
  178. &[data-ax5modal-resizer="top"] {
  179. left: 0;
  180. top: 0;
  181. width: 100%;
  182. height: 0;
  183. &:before {
  184. width: 100%;
  185. height: 8px;
  186. left: 0;
  187. top: -4px;
  188. cursor: row-resize
  189. }
  190. }
  191. &[data-ax5modal-resizer="bottom"] {
  192. left: 0;
  193. bottom: 0;
  194. width: 100%;
  195. height: 0;
  196. &:before {
  197. width: 100%;
  198. height: 8px;
  199. left: 0;
  200. top: -4px;
  201. cursor: row-resize;
  202. }
  203. }
  204. &[data-ax5modal-resizer="left"] {
  205. left: 0;
  206. top: 0;
  207. width: 0;
  208. height: 100%;
  209. &:before {
  210. width: 8px;
  211. height: 100%;
  212. left: -4px;
  213. top: 0;
  214. cursor: col-resize
  215. }
  216. }
  217. &[data-ax5modal-resizer="right"] {
  218. right: 0;
  219. top: 0;
  220. width: 0;
  221. height: 100%;
  222. &:before {
  223. width: 8px;
  224. height: 100%;
  225. left: -4px;
  226. top: 0;
  227. cursor: col-resize
  228. }
  229. }
  230. &[data-ax5modal-resizer="top-left"] {
  231. left: 0;
  232. top: 0;
  233. width: 0;
  234. height: 0;
  235. &:before {
  236. width: 8px;
  237. height: 8px;
  238. left: -4px;
  239. top: -4px;
  240. cursor: nwse-resize
  241. }
  242. }
  243. &[data-ax5modal-resizer="top-right"] {
  244. right: 0;
  245. top: 0;
  246. width: 0;
  247. height: 0;
  248. &:before {
  249. width: 8px;
  250. height: 8px;
  251. left: -4px;
  252. top: -4px;
  253. cursor: nesw-resize
  254. }
  255. }
  256. &[data-ax5modal-resizer="bottom-left"] {
  257. left: 0;
  258. bottom: 0;
  259. width: 0;
  260. height: 0;
  261. &:before {
  262. width: 8px;
  263. height: 8px;
  264. left: -4px;
  265. top: -4px;
  266. cursor: nesw-resize
  267. }
  268. }
  269. &[data-ax5modal-resizer="bottom-right"] {
  270. right: 0;
  271. bottom: 0;
  272. width: 0;
  273. height: 0;
  274. &:before {
  275. width: 8px;
  276. height: 8px;
  277. left: -4px;
  278. top: -4px;
  279. cursor: nwse-resize
  280. }
  281. }
  282. }
  283. }
  284. .ax5modal-resizer-background {
  285. position: fixed;
  286. left: 0px;
  287. top: 0px;
  288. width: 100%;
  289. height: 100%;
  290. background: transparent;
  291. z-index: 2000;
  292. cursor: move
  293. }
  294. .ax5modal-resizer {
  295. position: absolute;
  296. left: 0px;
  297. top: 0px;
  298. z-index: 2001;
  299. cursor: move;
  300. box-sizing: border-box;
  301. background-color: #ccc;
  302. border: 1px solid red;
  303. opacity: .3;
  304. border-radius: 4px;
  305. -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.6);
  306. box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.6)
  307. }
  308. @-webkit-keyframes ax-mask {
  309. from {
  310. opacity: 0.0
  311. }
  312. to {
  313. opacity: .6
  314. }
  315. }
  316. @-moz-keyframes ax-mask {
  317. from {
  318. opacity: 0.0
  319. }
  320. to {
  321. opacity: .6
  322. }
  323. }
  324. @keyframes ax-mask {
  325. from {
  326. opacity: 0.0
  327. }
  328. to {
  329. opacity: .6
  330. }
  331. }
  332. @-webkit-keyframes ax-mask-fade-out {
  333. from {
  334. opacity: .6
  335. }
  336. to {
  337. opacity: 0.0
  338. }
  339. }
  340. @-moz-keyframes ax-mask-fade-out {
  341. from {
  342. opacity: .6
  343. }
  344. to {
  345. opacity: 0.0
  346. }
  347. }
  348. @keyframes ax-mask-fade-out {
  349. from {
  350. opacity: .6
  351. }
  352. to {
  353. opacity: 0.0
  354. }
  355. }
  356. @-webkit-keyframes ax-modal {
  357. 0% {
  358. opacity: 0.0;
  359. -webkit-transform: scale(0.8)
  360. }
  361. 100% {
  362. opacity: 1.0;
  363. -webkit-transform: scale(1)
  364. }
  365. }
  366. @-moz-keyframes ax-modal {
  367. 0% {
  368. opacity: 0.0;
  369. -moz-transform: scale(0.8)
  370. }
  371. 100% {
  372. opacity: 1.0;
  373. -moz-transform: scale(1)
  374. }
  375. }
  376. @keyframes ax-modal {
  377. 0% {
  378. opacity: 0.0;
  379. -webkit-transform: scale(0.8);
  380. -moz-transform: scale(0.8);
  381. -ms-transform: scale(0.8);
  382. -o-transform: scale(0.8);
  383. transform: scale(0.8)
  384. }
  385. 100% {
  386. opacity: 1.0;
  387. -webkit-transform: scale(1);
  388. -moz-transform: scale(1);
  389. -ms-transform: scale(1);
  390. -o-transform: scale(1);
  391. transform: scale(1)
  392. }
  393. }
  394. @-webkit-keyframes ax-modal-destroy {
  395. 100% {
  396. opacity: 0.0;
  397. -webkit-transform: translateY(20%)
  398. }
  399. 0% {
  400. opacity: 1.0;
  401. -webkit-transform: translateY(0)
  402. }
  403. }
  404. @-moz-keyframes ax-modal-destroy {
  405. 100% {
  406. opacity: 0.0;
  407. -moz-transform: translateY(20%)
  408. }
  409. 0% {
  410. opacity: 1.0;
  411. -moz-transform: translateY(0)
  412. }
  413. }
  414. @keyframes ax-modal-destroy {
  415. 100% {
  416. opacity: 0.0;
  417. -webkit-transform: translateY(20%);
  418. -moz-transform: translateY(20%);
  419. -ms-transform: translateY(20%);
  420. -o-transform: translateY(20%);
  421. transform: translateY(20%)
  422. }
  423. 0% {
  424. opacity: 1.0;
  425. -webkit-transform: translateY(0);
  426. -moz-transform: translateY(0);
  427. -ms-transform: translateY(0);
  428. -o-transform: translateY(0);
  429. transform: translateY(0)
  430. }
  431. }
  432. @-webkit-keyframes ax-modal-fullscreen {
  433. 0% {
  434. -webkit-transform: translateY(20%)
  435. }
  436. 100% {
  437. -webkit-transform: translateY(0)
  438. }
  439. }
  440. @-moz-keyframes ax-modal-fullscreen {
  441. 0% {
  442. -moz-transform: translateY(20%)
  443. }
  444. 100% {
  445. -moz-transform: translateY(0)
  446. }
  447. }
  448. @keyframes ax-modal-fullscreen {
  449. 0% {
  450. -webkit-transform: translateY(20%);
  451. -moz-transform: translateY(20%);
  452. -ms-transform: translateY(20%);
  453. -o-transform: translateY(20%);
  454. transform: translateY(20%)
  455. }
  456. 100% {
  457. -webkit-transform: translateY(0);
  458. -moz-transform: translateY(0);
  459. -ms-transform: translateY(0);
  460. -o-transform: translateY(0);
  461. transform: translateY(0)
  462. }
  463. }
  464. @-webkit-keyframes ax-modal-fullscreen-destroy {
  465. 0% {
  466. -webkit-transform: translateY(0)
  467. }
  468. 100% {
  469. -webkit-transform: translateY(100%)
  470. }
  471. }
  472. @-moz-keyframes ax-modal-fullscreen-destroy {
  473. 0% {
  474. -moz-transform: translateY(0)
  475. }
  476. 100% {
  477. -moz-transform: translateY(100%)
  478. }
  479. }
  480. @keyframes ax-modal-fullscreen-destroy {
  481. 0% {
  482. -webkit-transform: translateY(0);
  483. -moz-transform: translateY(0);
  484. -ms-transform: translateY(0);
  485. -o-transform: translateY(0);
  486. transform: translateY(0)
  487. }
  488. 100% {
  489. -webkit-transform: translateY(100%);
  490. -moz-transform: translateY(100%);
  491. -ms-transform: translateY(100%);
  492. -o-transform: translateY(100%);
  493. transform: translateY(100%)
  494. }
  495. }
  496. @-webkit-keyframes ax-modal-fade-in {
  497. 0% {
  498. opacity: 0.0
  499. }
  500. 100% {
  501. opacity: 1.0
  502. }
  503. }
  504. @-moz-keyframes ax-modal-fade-in {
  505. 0% {
  506. opacity: 0.0
  507. }
  508. 100% {
  509. opacity: 1.0
  510. }
  511. }
  512. @keyframes ax-modal-fade-in {
  513. 0% {
  514. opacity: 0.0
  515. }
  516. 100% {
  517. opacity: 1.0
  518. }
  519. }
  520. @-webkit-keyframes ax-modal-fade-out {
  521. 0% {
  522. opacity: 1.0
  523. }
  524. 100% {
  525. opacity: 0.0
  526. }
  527. }
  528. @-moz-keyframes ax-modal-fade-out {
  529. 0% {
  530. opacity: 1.0
  531. }
  532. 100% {
  533. opacity: 0.0
  534. }
  535. }
  536. @keyframes ax-modal-fade-out {
  537. 0% {
  538. opacity: 1.0
  539. }
  540. 100% {
  541. opacity: 0.0
  542. }
  543. }