layer.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. .layui-layer-imgbar,
  2. .layui-layer-imgtit a,
  3. .layui-layer-tab .layui-layer-title span,
  4. .layui-layer-title { text-overflow: ellipsis; white-space: nowrap }
  5. html #layuicss-layer { display: none; position: absolute; width: 1989px }
  6. .layui-layer,
  7. .layui-layer-shade { position: fixed; _position: absolute; pointer-events: auto }
  8. .layui-layer-shade { top: 0; left: 0; width: 100%; height: 100%; _height: expression(document.body.offsetHeight+"px") }
  9. .layui-layer { -webkit-overflow-scrolling: touch; top: 150px; left: 0; margin: 0; padding: 0; background-color: #fff; -webkit-background-clip: content; border-radius: 2px; box-shadow: 1px 1px 50px rgba(0, 0, 0, .3) }
  10. .layui-layer-close { position: absolute }
  11. .layui-layer-content { position: relative }
  12. .layui-layer-border { border: 1px solid #B2B2B2; border: 1px solid rgba(0, 0, 0, .1); box-shadow: 1px 1px 5px rgba(0, 0, 0, .2) }
  13. .layui-layer-load { background: url(loading-1.gif) center center no-repeat #eee }
  14. .layui-layer-ico { background: url(icon.png) no-repeat }
  15. .layui-layer-btn a,
  16. .layui-layer-dialog .layui-layer-ico,
  17. .layui-layer-setwin a { display: inline-block; *display: inline; *zoom: 1; vertical-align: top }
  18. .layui-layer-move { display: none; position: fixed; *position: absolute; left: 0; top: 0; width: 100%; height: 100%; cursor: move; opacity: 0; filter: alpha(opacity=0); background-color: #fff; z-index: 2147483647 }
  19. .layui-layer-resize { position: absolute; width: 15px; height: 15px; right: 0; bottom: 0; cursor: se-resize }
  20. .layer-anim { -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-duration: .3s; animation-duration: .3s }
  21. @-webkit-keyframes layer-bounceIn {
  22. 0% { opacity: 0; -webkit-transform: scale(.5); transform: scale(.5) }
  23. 100% { opacity: 1; -webkit-transform: scale(1); transform: scale(1) }
  24. }
  25. @keyframes layer-bounceIn {
  26. 0% { opacity: 0; -webkit-transform: scale(.5); -ms-transform: scale(.5); transform: scale(.5) }
  27. 100% { opacity: 1; -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1) }
  28. }
  29. .layer-anim-00 { -webkit-animation-name: layer-bounceIn; animation-name: layer-bounceIn }
  30. @-webkit-keyframes layer-zoomInDown {
  31. 0% { opacity: 0; -webkit-transform: scale(.1) translateY(-2000px); transform: scale(.1) translateY(-2000px); -webkit-animation-timing-function: ease-in-out; animation-timing-function: ease-in-out }
  32. 60% { opacity: 1; -webkit-transform: scale(.475) translateY(60px); transform: scale(.475) translateY(60px); -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out }
  33. }
  34. @keyframes layer-zoomInDown {
  35. 0% { opacity: 0; -webkit-transform: scale(.1) translateY(-2000px); -ms-transform: scale(.1) translateY(-2000px); transform: scale(.1) translateY(-2000px); -webkit-animation-timing-function: ease-in-out; animation-timing-function: ease-in-out }
  36. 60% { opacity: 1; -webkit-transform: scale(.475) translateY(60px); -ms-transform: scale(.475) translateY(60px); transform: scale(.475) translateY(60px); -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out }
  37. }
  38. .layer-anim-01 { -webkit-animation-name: layer-zoomInDown; animation-name: layer-zoomInDown }
  39. @-webkit-keyframes layer-fadeInUpBig {
  40. 0% { opacity: 0; -webkit-transform: translateY(2000px); transform: translateY(2000px) }
  41. 100% { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0) }
  42. }
  43. @keyframes layer-fadeInUpBig {
  44. 0% { opacity: 0; -webkit-transform: translateY(2000px); -ms-transform: translateY(2000px); transform: translateY(2000px) }
  45. 100% { opacity: 1; -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0) }
  46. }
  47. .layer-anim-02 { -webkit-animation-name: layer-fadeInUpBig; animation-name: layer-fadeInUpBig }
  48. @-webkit-keyframes layer-zoomInLeft {
  49. 0% { opacity: 0; -webkit-transform: scale(.1) translateX(-2000px); transform: scale(.1) translateX(-2000px); -webkit-animation-timing-function: ease-in-out; animation-timing-function: ease-in-out }
  50. 60% { opacity: 1; -webkit-transform: scale(.475) translateX(48px); transform: scale(.475) translateX(48px); -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out }
  51. }
  52. @keyframes layer-zoomInLeft {
  53. 0% { opacity: 0; -webkit-transform: scale(.1) translateX(-2000px); -ms-transform: scale(.1) translateX(-2000px); transform: scale(.1) translateX(-2000px); -webkit-animation-timing-function: ease-in-out; animation-timing-function: ease-in-out }
  54. 60% { opacity: 1; -webkit-transform: scale(.475) translateX(48px); -ms-transform: scale(.475) translateX(48px); transform: scale(.475) translateX(48px); -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out }
  55. }
  56. .layer-anim-03 { -webkit-animation-name: layer-zoomInLeft; animation-name: layer-zoomInLeft }
  57. @-webkit-keyframes layer-rollIn {
  58. 0% { opacity: 0; -webkit-transform: translateX(-100%) rotate(-120deg); transform: translateX(-100%) rotate(-120deg) }
  59. 100% { opacity: 1; -webkit-transform: translateX(0) rotate(0); transform: translateX(0) rotate(0) }
  60. }
  61. @keyframes layer-rollIn {
  62. 0% { opacity: 0; -webkit-transform: translateX(-100%) rotate(-120deg); -ms-transform: translateX(-100%) rotate(-120deg); transform: translateX(-100%) rotate(-120deg) }
  63. 100% { opacity: 1; -webkit-transform: translateX(0) rotate(0); -ms-transform: translateX(0) rotate(0); transform: translateX(0) rotate(0) }
  64. }
  65. .layer-anim-04 { -webkit-animation-name: layer-rollIn; animation-name: layer-rollIn }
  66. @keyframes layer-fadeIn {
  67. 0% { opacity: 0 }
  68. 100% { opacity: 1 }
  69. }
  70. .layer-anim-05 { -webkit-animation-name: layer-fadeIn; animation-name: layer-fadeIn }
  71. @-webkit-keyframes layer-shake {
  72. 0%,
  73. 100% { -webkit-transform: translateX(0); transform: translateX(0) }
  74. 10%,
  75. 30%,
  76. 50%,
  77. 70%,
  78. 90% { -webkit-transform: translateX(-10px); transform: translateX(-10px) }
  79. 20%,
  80. 40%,
  81. 60%,
  82. 80% { -webkit-transform: translateX(10px); transform: translateX(10px) }
  83. }
  84. @keyframes layer-shake {
  85. 0%,
  86. 100% { -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0) }
  87. 10%,
  88. 30%,
  89. 50%,
  90. 70%,
  91. 90% { -webkit-transform: translateX(-10px); -ms-transform: translateX(-10px); transform: translateX(-10px) }
  92. 20%,
  93. 40%,
  94. 60%,
  95. 80% { -webkit-transform: translateX(10px); -ms-transform: translateX(10px); transform: translateX(10px) }
  96. }
  97. .layer-anim-06 { -webkit-animation-name: layer-shake; animation-name: layer-shake }
  98. @-webkit-keyframes fadeIn {
  99. 0% { opacity: 0 }
  100. 100% { opacity: 1 }
  101. }
  102. .layui-layer-title { padding: 0 80px 0 20px; height: 42px; line-height: 42px; border-bottom: 1px solid #eee; font-size: 14px; color: #333; overflow: hidden; background-color: #F8F8F8; border-radius: 2px 2px 0 0 }
  103. .layui-layer-setwin { position: absolute; right: 15px; *right: 0; top: 15px; font-size: 0; line-height: initial }
  104. .layui-layer-setwin a { position: relative; width: 16px; height: 16px; margin-left: 10px; font-size: 12px; _overflow: hidden }
  105. .layui-layer-setwin .layui-layer-min cite { position: absolute; width: 14px; height: 2px; left: 0; top: 50%; margin-top: -1px; background-color: #2E2D3C; cursor: pointer; _overflow: hidden }
  106. .layui-layer-setwin .layui-layer-min:hover cite { background-color: #2D93CA }
  107. .layui-layer-setwin .layui-layer-max { background-position: -32px -40px }
  108. .layui-layer-setwin .layui-layer-max:hover { background-position: -16px -40px }
  109. .layui-layer-setwin .layui-layer-maxmin { background-position: -65px -40px }
  110. .layui-layer-setwin .layui-layer-maxmin:hover { background-position: -49px -40px }
  111. .layui-layer-setwin .layui-layer-close1 { background-position: 1px -40px; cursor: pointer }
  112. .layui-layer-setwin .layui-layer-close1:hover { opacity: .7 }
  113. .layui-layer-setwin .layui-layer-close2 { position: absolute; right: -28px; top: -28px; width: 30px; height: 30px; margin-left: 0; background-position: -149px -31px; *right: -18px; _display: none }
  114. .layui-layer-setwin .layui-layer-close2:hover { background-position: -180px -31px }
  115. .layui-layer-btn { text-align: right; padding: 0 15px 12px; pointer-events: auto; user-select: none; -webkit-user-select: none }
  116. .layui-layer-btn a { font-size: 1.4rem; height: 28px; line-height: 28px; margin: 5px 5px 0; padding: 0 15px; border: 1px solid #dedede; background-color: #fff; color: #333; border-radius: 2px; font-weight: 400; cursor: pointer; text-decoration: none }
  117. .layui-layer-btn a:hover { opacity: .9; text-decoration: none }
  118. .layui-layer-btn a:active { opacity: .8 }
  119. .layui-layer-btn .layui-layer-btn0 { border-color: #1E9FFF; background-color: #1E9FFF; color: #fff; font-size: 1.4rem; }
  120. .layui-layer-btn-l { text-align: left }
  121. .layui-layer-btn-c { text-align: center }
  122. .layui-layer-dialog { min-width: 260px }
  123. .layui-layer-dialog .layui-layer-content { position: relative; padding: 20px; line-height: 24px; word-break: break-all; overflow: hidden; font-size: 14px; overflow-x: hidden; overflow-y: auto }
  124. .layui-layer-dialog .layui-layer-content .layui-layer-ico { position: absolute; top: 16px; left: 15px; _left: -40px; width: 30px; height: 30px }
  125. .layui-layer-ico1 { background-position: -30px 0 }
  126. .layui-layer-ico2 { background-position: -60px 0 }
  127. .layui-layer-ico3 { background-position: -90px 0 }
  128. .layui-layer-ico4 { background-position: -120px 0 }
  129. .layui-layer-ico5 { background-position: -150px 0 }
  130. .layui-layer-ico6 { background-position: -180px 0 }
  131. .layui-layer-rim { border: 6px solid rgba(0, 0, 0, .3); border-radius: 5px; box-shadow: none }
  132. .layui-layer-msg { min-width: 180px; border: none; box-shadow: 0 0 15px 0 rgba(140, 140, 140, 0.2); }
  133. .layui-layer-hui { min-width: 100px; background-color: #000; filter: alpha(opacity=60); background-color: rgba(0, 0, 0, .6); color: #fff; border: none }
  134. .layui-layer-hui .layui-layer-content { padding: 12px 25px; text-align: center }
  135. .layui-layer-dialog .layui-layer-padding { padding: 20px 20px 20px 55px; text-align: left }
  136. .layui-layer-page .layui-layer-content { position: relative; overflow: auto }
  137. .layui-layer-iframe .layui-layer-btn,
  138. .layui-layer-page .layui-layer-btn { padding-top: 10px }
  139. .layui-layer-nobg { background: 0 0 }
  140. .layui-layer-iframe iframe { display: block; width: 100% }
  141. .layui-layer-loading { border-radius: 100%; background: 0 0; box-shadow: none; border: none }
  142. .layui-layer-loading .layui-layer-content { width: 60px; height: 24px; background: url(loading-0.gif) no-repeat }
  143. .layui-layer-loading .layui-layer-loading1 { width: 37px; height: 37px; background: url(loading-1.gif) no-repeat }
  144. .layui-layer-ico16,
  145. .layui-layer-loading .layui-layer-loading2 { width: 32px; height: 32px; background: url(loading-2.gif) no-repeat }
  146. .layui-layer-tips { background: 0 0; box-shadow: none; border: none }
  147. .layui-layer-tips .layui-layer-content { position: relative; line-height: 22px; min-width: 12px; padding: 8px 15px; font-size: 12px; _float: left; border-radius: 2px; box-shadow: 1px 1px 3px rgba(0, 0, 0, .2); background-color: #000; color: #fff }
  148. .layui-layer-tips .layui-layer-close { right: -2px; top: -1px }
  149. .layui-layer-tips i.layui-layer-TipsG { position: absolute; width: 0; height: 0; border-width: 8px; border-color: transparent; border-style: dashed; *overflow: hidden }
  150. .layui-layer-tips i.layui-layer-TipsB,
  151. .layui-layer-tips i.layui-layer-TipsT { left: 5px; border-right-style: solid; border-right-color: #000 }
  152. .layui-layer-tips i.layui-layer-TipsT { bottom: -8px }
  153. .layui-layer-tips i.layui-layer-TipsB { top: -8px }
  154. .layui-layer-tips i.layui-layer-TipsL,
  155. .layui-layer-tips i.layui-layer-TipsR { top: 5px; border-bottom-style: solid; border-bottom-color: #000 }
  156. .layui-layer-tips i.layui-layer-TipsR { left: -8px }
  157. .layui-layer-tips i.layui-layer-TipsL { right: -8px }
  158. .layui-layer-lan[type=dialog] { min-width: 280px }
  159. .layui-layer-lan .layui-layer-title { background: #4476A7; color: #fff; border: none }
  160. .layui-layer-lan .layui-layer-btn { padding: 5px 10px 10px; text-align: right; border-top: 1px solid #E9E7E7 }
  161. .layui-layer-lan .layui-layer-btn a { background: #fff; border-color: #E9E7E7; color: #333 }
  162. .layui-layer-lan .layui-layer-btn .layui-layer-btn1 { background: #C9C5C5 }
  163. .layui-layer-molv .layui-layer-title { background: #009f95; color: #fff; border: none }
  164. .layui-layer-molv .layui-layer-btn a { background: #009f95; border-color: #009f95 }
  165. .layui-layer-molv .layui-layer-btn .layui-layer-btn1 { background: #92B8B1 }
  166. .layui-layer-iconext { background: url(icon-ext.png) no-repeat }
  167. .layui-layer-prompt .layui-layer-input { display: block; width: 230px; height: 36px; margin: 0 auto; line-height: 30px; padding-left: 10px; border: 1px solid #e6e6e6; color: #333; outline: none; font-size: 1.3rem; }
  168. .layui-layer-prompt textarea.layui-layer-input { width: 300px; height: 100px; line-height: 20px; padding: 6px 10px }
  169. .layui-layer-prompt .layui-layer-content { padding: 20px }
  170. .layui-layer-prompt .layui-layer-btn { padding-top: 0 }
  171. .layui-layer-tab { box-shadow: 1px 1px 50px rgba(0, 0, 0, .4) }
  172. .layui-layer-tab .layui-layer-title { padding-left: 0; overflow: visible }
  173. .layui-layer-tab .layui-layer-title span { position: relative; float: left; min-width: 80px; max-width: 260px; padding: 0 20px; text-align: center; overflow: hidden; cursor: pointer }
  174. .layui-layer-tab .layui-layer-title span.layui-this { height: 43px; border-left: 1px solid #eee; border-right: 1px solid #eee; background-color: #fff; z-index: 10 }
  175. .layui-layer-tab .layui-layer-title span:first-child { border-left: none }
  176. .layui-layer-tabmain { line-height: 24px; clear: both }
  177. .layui-layer-tabmain .layui-layer-tabli { display: none }
  178. .layui-layer-tabmain .layui-layer-tabli.layui-this { display: block }
  179. .layui-layer-photos { -webkit-animation-duration: .8s; animation-duration: .8s }
  180. .layui-layer-photos .layui-layer-content { overflow: hidden; text-align: center }
  181. .layui-layer-photos .layui-layer-phimg img { position: relative; width: 100%; display: inline-block; *display: inline; *zoom: 1; vertical-align: top }
  182. .layui-layer-imgbar,
  183. .layui-layer-imguide { display: none }
  184. .layui-layer-imgnext,
  185. .layui-layer-imgprev { position: absolute; top: 50%; width: 27px; _width: 44px; height: 44px; margin-top: -22px; outline: 0; blr: expression(this.onFocus=this.blur()) }
  186. .layui-layer-imgprev { left: 10px; background-position: -5px -5px; _background-position: -70px -5px }
  187. .layui-layer-imgprev:hover { background-position: -33px -5px; _background-position: -120px -5px }
  188. .layui-layer-imgnext { right: 10px; _right: 8px; background-position: -5px -50px; _background-position: -70px -50px }
  189. .layui-layer-imgnext:hover { background-position: -33px -50px; _background-position: -120px -50px }
  190. .layui-layer-imgbar { position: absolute; left: 0; bottom: 0; width: 100%; height: 32px; line-height: 32px; background-color: rgba(0, 0, 0, .8); background-color: #000 \9; filter: Alpha(opacity=80); color: #fff; overflow: hidden; font-size: 0 }
  191. .layui-layer-imgtit * { display: inline-block; *display: inline; *zoom: 1; vertical-align: top; font-size: 12px }
  192. .layui-layer-imgtit a { max-width: 65%; overflow: hidden; color: #fff }
  193. .layui-layer-imgtit a:hover { color: #fff; text-decoration: underline }
  194. .layui-layer-imgtit em { padding-left: 10px; font-style: normal }
  195. @-webkit-keyframes layer-bounceOut {
  196. 100% { opacity: 0; -webkit-transform: scale(.7); transform: scale(.7) }
  197. 30% { -webkit-transform: scale(1.05); transform: scale(1.05) }
  198. 0% { -webkit-transform: scale(1); transform: scale(1) }
  199. }
  200. @keyframes layer-bounceOut {
  201. 100% { opacity: 0; -webkit-transform: scale(.7); -ms-transform: scale(.7); transform: scale(.7) }
  202. 30% { -webkit-transform: scale(1.05); -ms-transform: scale(1.05); transform: scale(1.05) }
  203. 0% { -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1) }
  204. }
  205. .layer-anim-close { -webkit-animation-name: layer-bounceOut; animation-name: layer-bounceOut; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-duration: .2s; animation-duration: .2s }
  206. @media screen and (max-width:1100px) {
  207. .layui-layer-iframe { overflow-y: auto; -webkit-overflow-scrolling: touch }
  208. }