layer.css 14 KB

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