layer.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863
  1. *html
  2. {
  3. background-image: url(about:blank);
  4. background-attachment: fixed;
  5. }
  6. html #layui_layer_skinlayercss
  7. {
  8. display: none;
  9. position: absolute;
  10. width: 1989px;
  11. }
  12. .layui-layer,.layui-layer-shade
  13. {
  14. position: fixed;
  15. _position: absolute;
  16. pointer-events: auto;
  17. }
  18. .layui-layer-shade
  19. {
  20. top: 0;
  21. left: 0;
  22. width: 100%;
  23. height: 100%;
  24. _height: expression(document.body.offsetHeight+"px");
  25. }
  26. .layui-layer
  27. {
  28. top: 150px;
  29. left: 50%;
  30. margin: 0;
  31. padding: 0;
  32. background-color: #fff;
  33. -webkit-background-clip: content;
  34. box-shadow: 1px 1px 50px rgba(0,0,0,.3);
  35. border-radius: 2px;
  36. -webkit-animation-fill-mode: both;
  37. animation-fill-mode: both;
  38. -webkit-animation-duration: .3s;
  39. animation-duration: .3s;
  40. }
  41. .layui-layer-close
  42. {
  43. position: absolute;
  44. }
  45. .layui-layer-content
  46. {
  47. position: relative;
  48. }
  49. .layui-layer-border
  50. {
  51. border: 1px solid #B2B2B2;
  52. border: 1px solid rgba(0,0,0,.3);
  53. box-shadow: 1px 1px 5px rgba(0,0,0,.2);
  54. }
  55. .layui-layer-moves
  56. {
  57. position: absolute;
  58. border: 3px solid #666;
  59. border: 3px solid rgba(0,0,0,.5);
  60. cursor: move;
  61. background-color: #fff;
  62. background-color: rgba(255,255,255,.3);
  63. filter: alpha(opacity=50);
  64. }
  65. .layui-layer-load
  66. {
  67. background: url(default/loading-0.gif) center center no-repeat #fff;
  68. }
  69. .layui-layer-ico
  70. {
  71. background: url(default/icon.png) no-repeat;
  72. }
  73. .layui-layer-btn a,.layui-layer-dialog .layui-layer-ico,.layui-layer-setwin a
  74. {
  75. display: inline-block;
  76. *display: inline;
  77. *zoom: 1;
  78. vertical-align: top;
  79. }
  80. @-webkit-keyframes bounceIn
  81. {
  82. 0%
  83. {
  84. opacity: 0;
  85. -webkit-transform: scale(.5);
  86. transform: scale(.5);
  87. }
  88. 100%
  89. {
  90. opacity: 1;
  91. -webkit-transform: scale(1);
  92. transform: scale(1);
  93. }
  94. }
  95. @keyframes bounceIn
  96. {
  97. 0%
  98. {
  99. opacity: 0;
  100. -webkit-transform: scale(.5);
  101. -ms-transform: scale(.5);
  102. transform: scale(.5);
  103. }
  104. 100%
  105. {
  106. opacity: 1;
  107. -webkit-transform: scale(1);
  108. -ms-transform: scale(1);
  109. transform: scale(1);
  110. }
  111. }
  112. .layui-anim
  113. {
  114. -webkit-animation-name: bounceIn;
  115. animation-name: bounceIn;
  116. }
  117. @-webkit-keyframes bounceOut
  118. {
  119. 100%
  120. {
  121. opacity: 0;
  122. -webkit-transform: scale(.7);
  123. transform: scale(.7);
  124. }
  125. 30%
  126. {
  127. -webkit-transform: scale(1.03);
  128. transform: scale(1.03);
  129. }
  130. 0%
  131. {
  132. -webkit-transform: scale(1);
  133. transform: scale(1);
  134. }
  135. }
  136. @keyframes bounceOut
  137. {
  138. 100%
  139. {
  140. opacity: 0;
  141. -webkit-transform: scale(.7);
  142. -ms-transform: scale(.7);
  143. transform: scale(.7);
  144. }
  145. 30%
  146. {
  147. -webkit-transform: scale(1.03);
  148. -ms-transform: scale(1.03);
  149. transform: scale(1.03);
  150. }
  151. 0%
  152. {
  153. -webkit-transform: scale(1);
  154. -ms-transform: scale(1);
  155. transform: scale(1);
  156. }
  157. }
  158. .layui-anim-close
  159. {
  160. -webkit-animation-name: bounceOut;
  161. animation-name: bounceOut;
  162. -webkit-animation-duration: .2s;
  163. animation-duration: .2s;
  164. }
  165. @-webkit-keyframes zoomInDown
  166. {
  167. 0%
  168. {
  169. opacity: 0;
  170. -webkit-transform: scale(.1) translateY(-2000px);
  171. transform: scale(.1) translateY(-2000px);
  172. -webkit-animation-timing-function: ease-in-out;
  173. animation-timing-function: ease-in-out;
  174. }
  175. 60%
  176. {
  177. opacity: 1;
  178. -webkit-transform: scale(.475) translateY(60px);
  179. transform: scale(.475) translateY(60px);
  180. -webkit-animation-timing-function: ease-out;
  181. animation-timing-function: ease-out;
  182. }
  183. }
  184. @keyframes zoomInDown
  185. {
  186. 0%
  187. {
  188. opacity: 0;
  189. -webkit-transform: scale(.1) translateY(-2000px);
  190. -ms-transform: scale(.1) translateY(-2000px);
  191. transform: scale(.1) translateY(-2000px);
  192. -webkit-animation-timing-function: ease-in-out;
  193. animation-timing-function: ease-in-out;
  194. }
  195. 60%
  196. {
  197. opacity: 1;
  198. -webkit-transform: scale(.475) translateY(60px);
  199. -ms-transform: scale(.475) translateY(60px);
  200. transform: scale(.475) translateY(60px);
  201. -webkit-animation-timing-function: ease-out;
  202. animation-timing-function: ease-out;
  203. }
  204. }
  205. .layui-anim-01
  206. {
  207. -webkit-animation-name: zoomInDown;
  208. animation-name: zoomInDown;
  209. }
  210. @-webkit-keyframes fadeInUpBig
  211. {
  212. 0%
  213. {
  214. opacity: 0;
  215. -webkit-transform: translateY(2000px);
  216. transform: translateY(2000px);
  217. }
  218. 100%
  219. {
  220. opacity: 1;
  221. -webkit-transform: translateY(0);
  222. transform: translateY(0);
  223. }
  224. }
  225. @keyframes fadeInUpBig
  226. {
  227. 0%
  228. {
  229. opacity: 0;
  230. -webkit-transform: translateY(2000px);
  231. -ms-transform: translateY(2000px);
  232. transform: translateY(2000px);
  233. }
  234. 100%
  235. {
  236. opacity: 1;
  237. -webkit-transform: translateY(0);
  238. -ms-transform: translateY(0);
  239. transform: translateY(0);
  240. }
  241. }
  242. .layui-anim-02
  243. {
  244. -webkit-animation-name: fadeInUpBig;
  245. animation-name: fadeInUpBig;
  246. }
  247. @-webkit-keyframes zoomInLeft
  248. {
  249. 0%
  250. {
  251. opacity: 0;
  252. -webkit-transform: scale(.1) translateX(-2000px);
  253. transform: scale(.1) translateX(-2000px);
  254. -webkit-animation-timing-function: ease-in-out;
  255. animation-timing-function: ease-in-out;
  256. }
  257. 60%
  258. {
  259. opacity: 1;
  260. -webkit-transform: scale(.475) translateX(48px);
  261. transform: scale(.475) translateX(48px);
  262. -webkit-animation-timing-function: ease-out;
  263. animation-timing-function: ease-out;
  264. }
  265. }
  266. @keyframes zoomInLeft
  267. {
  268. 0%
  269. {
  270. opacity: 0;
  271. -webkit-transform: scale(.1) translateX(-2000px);
  272. -ms-transform: scale(.1) translateX(-2000px);
  273. transform: scale(.1) translateX(-2000px);
  274. -webkit-animation-timing-function: ease-in-out;
  275. animation-timing-function: ease-in-out;
  276. }
  277. 60%
  278. {
  279. opacity: 1;
  280. -webkit-transform: scale(.475) translateX(48px);
  281. -ms-transform: scale(.475) translateX(48px);
  282. transform: scale(.475) translateX(48px);
  283. -webkit-animation-timing-function: ease-out;
  284. animation-timing-function: ease-out;
  285. }
  286. }
  287. .layui-anim-03
  288. {
  289. -webkit-animation-name: zoomInLeft;
  290. animation-name: zoomInLeft;
  291. }
  292. @-webkit-keyframes rollIn
  293. {
  294. 0%
  295. {
  296. opacity: 0;
  297. -webkit-transform: translateX(-100%) rotate(-120deg);
  298. transform: translateX(-100%) rotate(-120deg);
  299. }
  300. 100%
  301. {
  302. opacity: 1;
  303. -webkit-transform: translateX(0) rotate(0);
  304. transform: translateX(0) rotate(0);
  305. }
  306. }
  307. @keyframes rollIn
  308. {
  309. 0%
  310. {
  311. opacity: 0;
  312. -webkit-transform: translateX(-100%) rotate(-120deg);
  313. -ms-transform: translateX(-100%) rotate(-120deg);
  314. transform: translateX(-100%) rotate(-120deg);
  315. }
  316. 100%
  317. {
  318. opacity: 1;
  319. -webkit-transform: translateX(0) rotate(0);
  320. -ms-transform: translateX(0) rotate(0);
  321. transform: translateX(0) rotate(0);
  322. }
  323. }
  324. .layui-anim-04
  325. {
  326. -webkit-animation-name: rollIn;
  327. animation-name: rollIn;
  328. }
  329. @keyframes fadeIn
  330. {
  331. 0%
  332. {
  333. opacity: 0;
  334. }
  335. 100%
  336. {
  337. opacity: 1;
  338. }
  339. }
  340. .layui-anim-05
  341. {
  342. -webkit-animation-name: fadeIn;
  343. animation-name: fadeIn;
  344. }
  345. @-webkit-keyframes shake
  346. {
  347. 0%,100%
  348. {
  349. -webkit-transform: translateX(0);
  350. transform: translateX(0);
  351. }
  352. 10%,30%,50%,70%,90%
  353. {
  354. -webkit-transform: translateX(-10px);
  355. transform: translateX(-10px);
  356. }
  357. 20%,40%,60%,80%
  358. {
  359. -webkit-transform: translateX(10px);
  360. transform: translateX(10px);
  361. }
  362. }
  363. @keyframes shake
  364. {
  365. 0%,100%
  366. {
  367. -webkit-transform: translateX(0);
  368. -ms-transform: translateX(0);
  369. transform: translateX(0);
  370. }
  371. 10%,30%,50%,70%,90%
  372. {
  373. -webkit-transform: translateX(-10px);
  374. -ms-transform: translateX(-10px);
  375. transform: translateX(-10px);
  376. }
  377. 20%,40%,60%,80%
  378. {
  379. -webkit-transform: translateX(10px);
  380. -ms-transform: translateX(10px);
  381. transform: translateX(10px);
  382. }
  383. }
  384. .layui-anim-06
  385. {
  386. -webkit-animation-name: shake;
  387. animation-name: shake;
  388. }
  389. @-webkit-keyframes fadeIn
  390. {
  391. 0%
  392. {
  393. opacity: 0;
  394. }
  395. 100%
  396. {
  397. opacity: 1;
  398. }
  399. }
  400. .layui-layer-title
  401. {
  402. padding: 0 80px 0 20px;
  403. height: 42px;
  404. line-height: 42px;
  405. border-bottom: 1px solid #eee;
  406. font-size: 14px;
  407. color: #333;
  408. overflow: hidden;
  409. text-overflow: ellipsis;
  410. white-space: nowrap;
  411. background-color: #F8F8F8;
  412. border-radius: 2px 2px 0 0;
  413. }
  414. .layui-layer-setwin
  415. {
  416. position: absolute;
  417. right: 15px;
  418. *right: 0;
  419. top: 15px;
  420. font-size: 0;
  421. line-height: initial;
  422. }
  423. .layui-layer-setwin a
  424. {
  425. position: relative;
  426. width: 16px;
  427. height: 16px;
  428. margin-left: 10px;
  429. font-size: 12px;
  430. _overflow: hidden;
  431. }
  432. .layui-layer-setwin .layui-layer-min cite
  433. {
  434. position: absolute;
  435. width: 14px;
  436. height: 2px;
  437. left: 0;
  438. top: 50%;
  439. margin-top: -1px;
  440. background-color: #2E2D3C;
  441. cursor: pointer;
  442. _overflow: hidden;
  443. }
  444. .layui-layer-setwin .layui-layer-min:hover cite
  445. {
  446. background-color: #2D93CA;
  447. }
  448. .layui-layer-setwin .layui-layer-max
  449. {
  450. background-position: -32px -40px;
  451. }
  452. .layui-layer-setwin .layui-layer-max:hover
  453. {
  454. background-position: -16px -40px;
  455. }
  456. .layui-layer-setwin .layui-layer-maxmin
  457. {
  458. background-position: -65px -40px;
  459. }
  460. .layui-layer-setwin .layui-layer-maxmin:hover
  461. {
  462. background-position: -49px -40px;
  463. }
  464. .layui-layer-setwin .layui-layer-close1
  465. {
  466. background-position: 0 -40px;
  467. cursor: pointer;
  468. }
  469. .layui-layer-setwin .layui-layer-close1:hover
  470. {
  471. opacity: .7;
  472. }
  473. .layui-layer-setwin .layui-layer-close2
  474. {
  475. position: absolute;
  476. right: -28px;
  477. top: -28px;
  478. width: 30px;
  479. height: 30px;
  480. margin-left: 0;
  481. background-position: -149px -31px;
  482. *right: -18px;
  483. _display: none;
  484. }
  485. .layui-layer-setwin .layui-layer-close2:hover
  486. {
  487. background-position: -180px -31px;
  488. }
  489. .layui-layer-btn
  490. {
  491. text-align: center;
  492. padding: 0 10px 12px;
  493. pointer-events: auto;
  494. }
  495. .layui-layer-btn a
  496. {
  497. height: 36px;
  498. line-height: 36px;
  499. margin: 0 6px;
  500. padding: 0 15px;
  501. border: 1px solid #dedede;
  502. background-color: #f1f1f1;
  503. color: #333;
  504. border-radius: 2px;
  505. font-weight: 400;
  506. cursor: pointer;
  507. text-decoration: none;
  508. }
  509. .layui-layer-btn a:hover
  510. {
  511. opacity: .9;
  512. text-decoration: none;
  513. }
  514. .layui-layer-btn a:active
  515. {
  516. opacity: .7;
  517. }
  518. .layui-layer-btn .layui-layer-btn0
  519. {
  520. border-color: #4898d5;
  521. background-color: #2e8ded;
  522. color: #fff;
  523. }
  524. .layui-layer-dialog
  525. {
  526. min-width: 260px;
  527. }
  528. .layui-layer-dialog .layui-layer-content
  529. {
  530. position: relative;
  531. padding: 20px;
  532. line-height: 24px;
  533. word-break: break-all;
  534. font-size: 14px;
  535. overflow: auto;
  536. }
  537. .layui-layer-dialog .layui-layer-content .layui-layer-ico
  538. {
  539. position: absolute;
  540. top: 16px;
  541. left: 15px;
  542. _left: -40px;
  543. width: 30px;
  544. height: 30px;
  545. }
  546. .layui-layer-ico1
  547. {
  548. background-position: -30px 0;
  549. }
  550. .layui-layer-ico2
  551. {
  552. background-position: -60px 0;
  553. }
  554. .layui-layer-ico3
  555. {
  556. background-position: -90px 0;
  557. }
  558. .layui-layer-ico4
  559. {
  560. background-position: -120px 0;
  561. }
  562. .layui-layer-ico5
  563. {
  564. background-position: -150px 0;
  565. }
  566. .layui-layer-ico6
  567. {
  568. background-position: -180px 0;
  569. }
  570. .layui-layer-rim
  571. {
  572. border: 6px solid #8D8D8D;
  573. border: 6px solid rgba(0,0,0,.3);
  574. border-radius: 5px;
  575. box-shadow: none;
  576. }
  577. .layui-layer-msg
  578. {
  579. min-width: 180px;
  580. border: 1px solid #D3D4D3;
  581. box-shadow: none;
  582. }
  583. .layui-layer-hui
  584. {
  585. min-width: 100px;
  586. background-color: #000;
  587. filter: alpha(opacity=60);
  588. background-color: rgba(0,0,0,.6);
  589. color: #fff;
  590. border: none;
  591. }
  592. .layui-layer-hui .layui-layer-content
  593. {
  594. padding: 12px 25px;
  595. text-align: center;
  596. }
  597. .layui-layer-dialog .layui-layer-padding
  598. {
  599. padding: 20px 20px 20px 55px;
  600. text-align: left;
  601. }
  602. .layui-layer-page .layui-layer-content
  603. {
  604. position: relative;
  605. overflow: auto;
  606. }
  607. .layui-layer-iframe .layui-layer-btn,.layui-layer-page .layui-layer-btn
  608. {
  609. padding-top: 10px;
  610. }
  611. .layui-layer-nobg
  612. {
  613. background: 0 0;
  614. }
  615. .layui-layer-iframe .layui-layer-content
  616. {
  617. overflow: hidden;
  618. }
  619. .layui-layer-iframe iframe
  620. {
  621. display: block;
  622. width: 100%;
  623. }
  624. .layui-layer-loading
  625. {
  626. border-radius: 100%;
  627. background: 0 0;
  628. box-shadow: none;
  629. border: none;
  630. }
  631. .layui-layer-loading .layui-layer-content
  632. {
  633. width: 60px;
  634. height: 24px;
  635. background: url(default/loading-0.gif) no-repeat;
  636. }
  637. .layui-layer-loading .layui-layer-loading1
  638. {
  639. width: 37px;
  640. height: 37px;
  641. background: url(default/loading-1.gif) no-repeat;
  642. }
  643. .layui-layer-ico16,.layui-layer-loading .layui-layer-loading2
  644. {
  645. width: 32px;
  646. height: 32px;
  647. background: url(default/loading-2.gif) no-repeat;
  648. }
  649. .layui-layer-tips
  650. {
  651. background: 0 0;
  652. box-shadow: none;
  653. border: none;
  654. }
  655. .layui-layer-tips .layui-layer-content
  656. {
  657. position: relative;
  658. line-height: 22px;
  659. min-width: 12px;
  660. padding: 5px 10px;
  661. font-size: 12px;
  662. _float: left;
  663. border-radius: 3px;
  664. box-shadow: 1px 1px 3px rgba(0,0,0,.3);
  665. background-color: #F90;
  666. color: #fff;
  667. }
  668. .layui-layer-tips .layui-layer-close
  669. {
  670. right: -2px;
  671. top: -1px;
  672. }
  673. .layui-layer-tips i.layui-layer-TipsG
  674. {
  675. position: absolute;
  676. width: 0;
  677. height: 0;
  678. border-width: 8px;
  679. border-color: transparent;
  680. border-style: dashed;
  681. *overflow: hidden;
  682. }
  683. .layui-layer-tips i.layui-layer-TipsB,.layui-layer-tips i.layui-layer-TipsT
  684. {
  685. left: 5px;
  686. border-right-style: solid;
  687. border-right-color: #F90;
  688. }
  689. .layui-layer-tips i.layui-layer-TipsT
  690. {
  691. bottom: -8px;
  692. }
  693. .layui-layer-tips i.layui-layer-TipsB
  694. {
  695. top: -8px;
  696. }
  697. .layui-layer-tips i.layui-layer-TipsL,.layui-layer-tips i.layui-layer-TipsR
  698. {
  699. top: 1px;
  700. border-bottom-style: solid;
  701. border-bottom-color: #F90;
  702. }
  703. .layui-layer-tips i.layui-layer-TipsR
  704. {
  705. left: -8px;
  706. }
  707. .layui-layer-tips i.layui-layer-TipsL
  708. {
  709. right: -8px;
  710. }
  711. .layui-layer-lan[type=dialog]
  712. {
  713. min-width: 280px;
  714. }
  715. .layui-layer-lan .layui-layer-title
  716. {
  717. background: #4476A7;
  718. color: #fff;
  719. border: none;
  720. }
  721. .layui-layer-lan .layui-layer-btn
  722. {
  723. padding: 10px;
  724. text-align: right;
  725. border-top: 1px solid #E9E7E7;
  726. }
  727. .layui-layer-lan .layui-layer-btn a
  728. {
  729. background: #BBB5B5;
  730. border: none;
  731. }
  732. .layui-layer-lan .layui-layer-btn .layui-layer-btn1
  733. {
  734. background: #C9C5C5;
  735. }
  736. .layui-layer-molv .layui-layer-title
  737. {
  738. background: #009f95;
  739. color: #fff;
  740. border: none;
  741. }
  742. .layui-layer-molv .layui-layer-btn a
  743. {
  744. background: #009f95;
  745. }
  746. .layui-layer-molv .layui-layer-btn .layui-layer-btn1
  747. {
  748. background: #92B8B1;
  749. }