console.layui.less 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. bu.layui-form.layui-card {
  2. box-shadow: none
  3. }
  4. .layui-layer-content .layui-form.layui-card .layui-card-body {
  5. padding: 30px 40px 0 0
  6. }
  7. .layui-layer-dialog .layui-layer-content .layui-layer-ico {
  8. top: 50% !important;
  9. margin-top: -15px !important
  10. }
  11. .laydate-footer-btns span {
  12. line-height: 24px !important
  13. }
  14. /** Layui样式调整 */
  15. .layui-input, .layui-select {
  16. line-height: 38px
  17. }
  18. .layui-btn-primary {
  19. &.layui-btn-xs {
  20. line-height: 20px
  21. }
  22. &.layui-btn-sm {
  23. line-height: 28px
  24. }
  25. }
  26. .layui-table {
  27. td, th {
  28. font-size: 12px
  29. }
  30. .list-table-image {
  31. width: 22px;
  32. cursor: pointer
  33. }
  34. .list-table-sort-td {
  35. width: 10px !important;
  36. text-align: center !important;
  37. padding-left: 5px !important;
  38. padding-right: 5px !important;
  39. button {
  40. width: 56px;
  41. background: #009688
  42. }
  43. input {
  44. width: 50px;
  45. color: #666;
  46. padding: 2px;
  47. border: 1px solid #e6e6e6;
  48. text-align: center;
  49. font-size: 9pt;
  50. line-height: 18px
  51. }
  52. }
  53. .list-table-check-td {
  54. width: 10px !important;
  55. text-align: center;
  56. padding-left: 15px !important;
  57. padding-right: 15px !important;
  58. input {
  59. margin: 0 !important;
  60. vertical-align: middle
  61. }
  62. }
  63. td {
  64. .text-explode {
  65. color: #ccc !important;
  66. margin: 0 4px !important;
  67. &:first-child {
  68. display: none;
  69. opacity: 0
  70. }
  71. }
  72. .background-image {
  73. float: left;
  74. width: 40px;
  75. height: 40px;
  76. display: inline-block;
  77. margin-right: 5px;
  78. background: no-repeat center center;
  79. background-size: cover;
  80. vertical-align: middle
  81. }
  82. }
  83. }
  84. /** 手机盒子及微信菜单 */
  85. .mobile-preview {
  86. width: 317px;
  87. height: 580px;
  88. position: relative;
  89. background: url(../img/wechat/mobile_head.png) no-repeat 0 0;
  90. .mobile-header {
  91. color: #fff;
  92. width: auto;
  93. margin: 0 30px;
  94. overflow: hidden;
  95. font-size: 15px;
  96. padding-top: 30px;
  97. text-align: center;
  98. white-space: nowrap;
  99. text-overflow: ellipsis;
  100. word-wrap: normal;
  101. user-select: none;
  102. pointer-events: none;
  103. -moz-user-select: none;
  104. -webkit-user-select: none;
  105. -webkit-pointer-events: none
  106. }
  107. .mobile-body {
  108. top: 60px;
  109. left: 0;
  110. right: 0;
  111. bottom: 0;
  112. position: absolute;
  113. border: 1px solid #ccc;
  114. background: #f5f5f5;
  115. iframe {
  116. width: 100%;
  117. height: 100%
  118. }
  119. }
  120. .mobile-footer {
  121. left: 0;
  122. right: 0;
  123. bottom: 0;
  124. margin: 0;
  125. position: absolute;
  126. padding-left: 43px;
  127. border: 1px solid #ccc;
  128. list-style-type: none;
  129. background: url(../img/wechat/mobile_foot.png) no-repeat 0 0;
  130. li {
  131. float: left;
  132. width: 33.33%;
  133. position: relative;
  134. text-align: center;
  135. line-height: 50px;
  136. a {
  137. width: auto;
  138. display: block;
  139. overflow: hidden;
  140. border: 1px solid hsla(0, 0%, 100%, 0);
  141. border-left: 1px solid #e7e7eb;
  142. margin-top: -1px;
  143. margin-bottom: -1px;
  144. color: #616161;
  145. white-space: nowrap;
  146. text-decoration: none;
  147. text-overflow: ellipsis;
  148. word-wrap: normal;
  149. &:hover {
  150. background: rgba(0, 0, 0, .02)
  151. }
  152. &.active {
  153. border: 1px solid #44b549 !important;
  154. box-shadow: 0 0 1px #44b549
  155. }
  156. span:before {
  157. width: 1px;
  158. height: 1px;
  159. content: '';
  160. display: inline-block
  161. }
  162. }
  163. > .close {
  164. top: 1px;
  165. right: 1px;
  166. width: 18px;
  167. height: 18px;
  168. display: none;
  169. cursor: pointer;
  170. position: absolute;
  171. text-align: center;
  172. line-height: 18px
  173. }
  174. &:hover > .close {
  175. display: inline-block;
  176. &:hover {
  177. color: #fff !important;
  178. background: #999 !important
  179. }
  180. }
  181. }
  182. .icon-add {
  183. width: 14px;
  184. height: 14px;
  185. border-bottom: none !important;
  186. background: url(../img/wechat/index.png) 0 0 no-repeat
  187. }
  188. .icon-add, .icon-sub {
  189. display: inline-block;
  190. vertical-align: middle
  191. }
  192. .icon-sub {
  193. width: 7px;
  194. height: 7px;
  195. margin-right: 2px;
  196. background: url(../img/wechat/index.png) 0 -3pc no-repeat
  197. }
  198. .sub-menu {
  199. width: 100%;
  200. bottom: 60px;
  201. margin: -1px;
  202. display: block;
  203. position: absolute;
  204. border: 1px solid #d0d0d0;
  205. background-color: #fafafa;
  206. ul, ul li {
  207. float: none;
  208. padding: 0;
  209. z-index: 11;
  210. display: block;
  211. width: 100%
  212. }
  213. ul li {
  214. a {
  215. padding: 0 5px;
  216. border: 1px solid hsla(0, 0%, 100%, 0);
  217. &.bottom-border {
  218. margin: -1px -1px 0;
  219. border-bottom: 1px solid #e7e7eb
  220. }
  221. }
  222. &:last-child a.bottom-border {
  223. border-bottom-color: #fff
  224. }
  225. }
  226. }
  227. .arrow {
  228. left: 50%;
  229. position: absolute;
  230. margin-left: -6px
  231. }
  232. .arrow_in, .arrow_out {
  233. width: 0;
  234. height: 0;
  235. z-index: 10;
  236. display: inline-block;
  237. border: 6px dashed transparent;
  238. border-bottom-width: 0;
  239. border-top-style: solid
  240. }
  241. .arrow_in {
  242. z-index: 3;
  243. bottom: -5px;
  244. border-top-color: #fafafa
  245. }
  246. .arrow_out {
  247. z-index: 2;
  248. bottom: -6px;
  249. border-top-color: #d0d0d0
  250. }
  251. }
  252. }