layer.ext.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. /*!
  2. @Name: layer拓展样式
  3. @Date: 2012.12.13
  4. @Author: 贤心
  5. @blog: sentsin.com
  6. */
  7. .layui-layer-imgbar, .layui-layer-imgtit a, .layui-layer-tab .layui-layer-title span {
  8. text-overflow: ellipsis;
  9. white-space: nowrap
  10. }
  11. .layui-layer-iconext {
  12. background: url(default/icon-ext.png) no-repeat
  13. }
  14. html #layui_layer_skinlayerextcss {
  15. display: none;
  16. position: absolute;
  17. width: 1989px
  18. }
  19. .layui-layer-prompt .layui-layer-input {
  20. display: block;
  21. width: 220px;
  22. height: 30px;
  23. margin: 0 auto;
  24. line-height: 30px;
  25. padding: 0 5px;
  26. border: 1px solid #ccc;
  27. box-shadow: 1px 1px 5px rgba(0, 0, 0, .1) inset;
  28. color: #333;
  29. user-select: auto;
  30. }
  31. .layui-layer-prompt textarea.layui-layer-input {
  32. width: 300px;
  33. height: 100px;
  34. line-height: 20px;
  35. user-select: auto;
  36. }
  37. .layui-layer-tab {
  38. box-shadow: 1px 1px 50px rgba(0, 0, 0, .4)
  39. }
  40. .layui-layer-tab .layui-layer-title {
  41. padding-left: 0;
  42. border-bottom: 1px solid #ccc;
  43. background-color: #eee;
  44. overflow: visible
  45. }
  46. .layui-layer-tab .layui-layer-title span {
  47. position: relative;
  48. float: left;
  49. min-width: 80px;
  50. max-width: 260px;
  51. padding: 0 20px;
  52. text-align: center;
  53. cursor: default;
  54. overflow: hidden
  55. }
  56. .layui-layer-tab .layui-layer-title span.layui-layer-tabnow {
  57. height: 43px;
  58. border-left: 1px solid #ccc;
  59. border-right: 1px solid #ccc;
  60. background-color: #fff;
  61. z-index: 10
  62. }
  63. .layui-layer-tab .layui-layer-title span:first-child {
  64. border-left: none
  65. }
  66. .layui-layer-tabmain {
  67. line-height: 24px;
  68. clear: both
  69. }
  70. .layui-layer-tabmain .layui-layer-tabli {
  71. display: none
  72. }
  73. .layui-layer-tabmain .layui-layer-tabli.xubox_tab_layer {
  74. display: block
  75. }
  76. .xubox_tabclose {
  77. position: absolute;
  78. right: 10px;
  79. top: 5px;
  80. cursor: pointer
  81. }
  82. .layui-layer-photos {
  83. -webkit-animation-duration: 1s;
  84. animation-duration: 1s
  85. }
  86. .layui-layer-photos .layui-layer-content {
  87. overflow: hidden;
  88. text-align: center
  89. }
  90. .layui-layer-photos .layui-layer-phimg img {
  91. position: relative;
  92. width: 100%;
  93. display: inline-block;
  94. *display: inline;
  95. *zoom: 1;
  96. vertical-align: top
  97. }
  98. .layui-layer-imgbar, .layui-layer-imguide {
  99. display: none
  100. }
  101. .layui-layer-imgnext, .layui-layer-imgprev {
  102. position: absolute;
  103. top: 50%;
  104. width: 27px;
  105. _width: 44px;
  106. height: 44px;
  107. margin-top: -22px;
  108. outline: 0;
  109. blr: expression(this.onFocus=this.blur())
  110. }
  111. .layui-layer-imgprev {
  112. left: 10px;
  113. background-position: -5px -5px;
  114. _background-position: -70px -5px
  115. }
  116. .layui-layer-imgprev:hover {
  117. background-position: -33px -5px;
  118. _background-position: -120px -5px
  119. }
  120. .layui-layer-imgnext {
  121. right: 10px;
  122. _right: 8px;
  123. background-position: -5px -50px;
  124. _background-position: -70px -50px
  125. }
  126. .layui-layer-imgnext:hover {
  127. background-position: -33px -50px;
  128. _background-position: -120px -50px
  129. }
  130. .layui-layer-imgbar {
  131. position: absolute;
  132. left: 0;
  133. bottom: 0;
  134. width: 100%;
  135. height: 32px;
  136. line-height: 32px;
  137. background-color: rgba(0, 0, 0, .8);
  138. background-color: #000 \9;
  139. filter: Alpha(opacity=80);
  140. color: #fff;
  141. overflow: hidden;
  142. font-size: 0
  143. }
  144. .layui-layer-imgtit * {
  145. display: inline-block;
  146. *display: inline;
  147. *zoom: 1;
  148. vertical-align: top;
  149. font-size: 12px
  150. }
  151. .layui-layer-imgtit a {
  152. max-width: 65%;
  153. overflow: hidden;
  154. color: #fff
  155. }
  156. .layui-layer-imgtit a:hover {
  157. color: #fff;
  158. text-decoration: underline
  159. }
  160. .layui-layer-imgtit em {
  161. padding-left: 10px;
  162. font-style: normal
  163. }