style.css 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. @CHARSET "UTF-8";
  2. .slider .edit-attribute .attr-wrap .restore-wrap .img-block.has-choose-image img {
  3. width: 35px;
  4. height: 35px;
  5. }
  6. /*图文导航组件*/
  7. .slider .preview-draggable .preview-box {
  8. padding: 8px 0;
  9. margin: 0 15px;
  10. border-radius: 5px;
  11. }
  12. .slider .preview-draggable ul {
  13. overflow: hidden;
  14. list-style: none;
  15. }
  16. .slider .preview-draggable ul.horizontal-scroll {
  17. overflow-x: scroll;
  18. white-space: nowrap;
  19. }
  20. .slider .preview-draggable ul.horizontal-scroll::-webkit-scrollbar {
  21. display: none;
  22. }
  23. .slider .preview-draggable li {
  24. width: 50%;
  25. text-align: center;
  26. display: inline-block;
  27. vertical-align: top;
  28. }
  29. .slider .preview-draggable li img {
  30. width: auto;
  31. height: auto;
  32. max-width: 100%;
  33. max-height: 100%;
  34. }
  35. .slider .preview-draggable li:last-child {
  36. border: 0;
  37. }
  38. .slider .preview-draggable li span {
  39. white-space: nowrap;
  40. text-overflow: ellipsis;
  41. overflow: hidden;
  42. height: 20px;
  43. display: block;
  44. line-height: 20px;
  45. }
  46. /*.slider .preview-draggable .graphic-nav{visibility: hidden;}*/
  47. .slider .preview-draggable .graphic-nav>.wrap {
  48. /* overflow-x: hidden;white-space: nowrap; background: #ffffff; */
  49. display: flex;
  50. /* justify-content: space-around; */
  51. flex-wrap: wrap;
  52. padding: 0 5px;
  53. }
  54. .slider .preview-draggable .graphic-nav .item {
  55. text-align: center;
  56. float: none;
  57. display: inline-block;
  58. box-sizing: border-box;
  59. padding: 8px 5px;
  60. }
  61. .slider .preview-draggable .graphic-nav .item a {
  62. display: block;
  63. }
  64. .slider .preview-draggable .graphic-nav .item a img {
  65. width: auto;
  66. height: auto;
  67. max-width: 100%;
  68. max-height: 100%;
  69. }
  70. .slider .preview-draggable .graphic-nav .item a span {
  71. white-space: nowrap;
  72. text-overflow: ellipsis;
  73. overflow: hidden;
  74. display: block;
  75. font-size: 13px;
  76. }
  77. .slider .slider-list .template-list .template-item {
  78. float: left;
  79. text-align: center;
  80. border: 1px solid #e5e5e5;
  81. margin-right: 20px;
  82. padding: 5px;
  83. background: #ffffff;
  84. cursor: pointer;
  85. }
  86. .slider .slider-list .template-list .template-item img {
  87. display: block;
  88. }
  89. .slider .slider-list>.template-edit-wrap>ul {
  90. padding: 10px 0 10px 15px;
  91. padding-top: 10px;
  92. }
  93. .slider .slider-list>.template-edit-wrap>ul>li {
  94. padding: 10px;
  95. background: #ffffff;
  96. border: 1px dashed #e5e5e5;
  97. position: relative;
  98. margin-top: 16px;
  99. }
  100. .slider .slider-list>.template-edit-wrap>ul>li:first-child {
  101. margin-top: 0;
  102. }
  103. .slider .slider-list>.template-edit-wrap>ul>li .content-block {
  104. display: inline-block;
  105. width: 71%;
  106. }
  107. .slider .slider-list>.template-edit-wrap>ul>li .content-block.textNavigation {
  108. width: 100%;
  109. }
  110. .slider .slider-list>.template-edit-wrap>ul>li .content-block .layui-form-item {
  111. margin: 0;
  112. }
  113. .slider .slider-list>.template-edit-wrap>ul>li .content-block .layui-form-label {
  114. width: 60px;
  115. padding: 9px 0;
  116. line-height: 1;
  117. }
  118. .slider .slider-list>.template-edit-wrap>ul>li .content-block div {
  119. margin-top: 10px;
  120. }
  121. .slider .slider-list>.template-edit-wrap>ul>li .content-block div:last-child {
  122. margin-top: 0;
  123. }
  124. .slider .slider-list>.template-edit-wrap>ul>li:hover .del {
  125. display: block;
  126. }
  127. .slider .add-item {
  128. padding: 10px;
  129. border: 1px dashed #e5e5e5;
  130. margin: 16px 0 10px;
  131. cursor: pointer;
  132. text-align: center;
  133. }
  134. .slider .add-item i {
  135. display: inline-block;
  136. height: 24px;
  137. line-height: 24px;
  138. font-size: 18px;
  139. margin-right: 10px;
  140. font-style: normal;
  141. }
  142. .slider .add-item span {
  143. display: inline-block;
  144. height: 24px;
  145. line-height: 24px;
  146. }
  147. .slider p.hint {
  148. font-size: 12px;
  149. color: #909399;
  150. line-height: 20px;
  151. }
  152. .slider .error-msg {
  153. margin-top: 5px;
  154. color: #f44;
  155. display: none;
  156. }
  157. .carousel {
  158. position: relative;
  159. overflow: hidden;
  160. width: 343px;
  161. height: 160px;
  162. margin-left: auto;
  163. margin-right: auto;
  164. }
  165. .carousel-left,
  166. .carousel-right {
  167. position: absolute;
  168. top: 56%;
  169. display: inline-block;
  170. transform: translateY(-50%);
  171. color: #fff;
  172. border-radius: 50%;
  173. text-align: center;
  174. cursor: pointer;
  175. font-size: 60px;
  176. border-radius: 50%;
  177. transition: all .5s;
  178. }
  179. .carousel-left {
  180. left: 0;
  181. }
  182. .carousel-right {
  183. right: 0;
  184. }
  185. .carousel-left:hover,
  186. .carousel-right:hover {
  187. color: black;
  188. }
  189. .carousel-dots {
  190. position: absolute;
  191. bottom: 5px;
  192. text-align: center;
  193. left: 50%;
  194. transform: translateX(-50%);
  195. line-height: 1;
  196. }
  197. .carousel-dots button {
  198. width: 8px;
  199. height: 8px;
  200. background: rgba(127, 124, 124, 0.5);
  201. display: inline-block;
  202. margin: 0 5px;
  203. border-radius: 50%;
  204. color: #000;
  205. border: none;
  206. outline: none;
  207. transition: all .2s;
  208. cursor: pointer;
  209. font-size: 7px;
  210. }
  211. .carousel-item {
  212. width: 343px;
  213. height: 160px;
  214. position: absolute;
  215. top: 0;
  216. left: 0;
  217. }
  218. .carousel-item img {
  219. width: 100%;
  220. height: 160px;
  221. }
  222. .fillet.carousel {
  223. border-radius: 24px;
  224. overflow: hidden;
  225. }
  226. .slider-list ul li {
  227. margin-top: 15px;
  228. }