design.css 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. @CHARSET "UTF-8";
  2. .image-ads .layui-input-block span.sm span{
  3. max-width: 100px;
  4. }
  5. /*图片广告组件*/
  6. .image-ads .image-ads-warp {
  7. overflow: hidden;
  8. position: relative;
  9. }
  10. .image-ads .image-ads-warp .image-ads-item{
  11. background-position: center;
  12. background-size: cover;
  13. background-repeat: no-repeat;
  14. }
  15. /* 图片轮播点 */
  16. .image-ads .carousel-btn{
  17. position: absolute;
  18. top: 0;
  19. bottom: 0;
  20. right: 0;
  21. left: 0;
  22. }
  23. .image-ads .carousel-btn .arrows{
  24. display: flex;
  25. justify-content: space-between;
  26. padding: 0 15px;
  27. position: relative;
  28. top: 50%;
  29. transform: translateY(-50%);
  30. }
  31. .image-ads .carousel-btn .arrows i{
  32. display: none;
  33. width: 36px;
  34. height: 36px;
  35. line-height: 36px;
  36. text-align: center;
  37. color: #fff;
  38. background-color: rgba(0, 0, 0, .35);
  39. border-radius: 50%;
  40. cursor: pointer;
  41. }
  42. .image-ads .carousel-btn .dot-wrap{
  43. text-align: center;
  44. position: absolute;
  45. bottom: 10px;
  46. left: 50%;
  47. transform: translateX(-50%);
  48. }
  49. .image-ads .carousel-btn .dot-wrap.line i{
  50. width: 9px;
  51. height: 3px;
  52. border-radius: 2px;
  53. }
  54. .image-ads .carousel-btn .dot-wrap.line i:last-of-type{
  55. margin-right: 0;
  56. }
  57. .image-ads .carousel-btn .dot-wrap.left{
  58. left: 35px;
  59. }
  60. .image-ads .carousel-btn .dot-wrap.right{
  61. left: auto;
  62. right: 0;
  63. }
  64. .image-ads .carousel-btn .dot-wrap.hide{
  65. display: none;
  66. }
  67. .image-ads .carousel-btn .dot-wrap.straightLine i{
  68. width: 12px;
  69. height: 4px;
  70. border-radius: 0;
  71. }
  72. .image-ads .carousel-btn .dot-wrap i{
  73. display: inline-block;
  74. width: 7px;
  75. height: 7px;
  76. border-radius: 50%;
  77. background-color: #b2b2b2;
  78. margin-right: 5px;
  79. cursor: pointer;
  80. }
  81. .image-ads .carousel-btn .dot-wrap i.active{
  82. background-color: rgba(0, 0, 0, .6);
  83. }
  84. .image-ads .carousel-btn .dot-wrap.line i.active{
  85. width: 18px;
  86. }
  87. .image-ads .carousel-btn:hover .arrows i{
  88. display: block;
  89. }
  90. /* 图片广告 - 属性设置 */
  91. .image-ads .edit-attribute .attr-wrap .restore-wrap .img-block{
  92. margin-left: 40px;
  93. }
  94. .image-ads .edit-attribute .attr-wrap .restore-wrap .img-block + .content-block{
  95. width: calc(100% - 125px);
  96. }
  97. .edit-attribute .attr-wrap .restore-wrap .image-ad-list>ul>li:hover .img-block i.del {
  98. display:block;
  99. }
  100. .image-ads .image-ad-list {
  101. margin-left:20px;
  102. }
  103. .image-ads .image-ad-list .word-aux {
  104. margin: 10px 0 10px 0;
  105. color: #909399;
  106. font-size: 12px;
  107. }
  108. .image-ads .image-ad-list>ul>li {
  109. padding:10px;
  110. background: #ffffff;
  111. border:1px dashed #e5e5e5;
  112. position:relative;
  113. margin-top:16px;
  114. }
  115. .image-ads .image-ad-list>ul>li:first-child {
  116. margin-top:0;
  117. }
  118. .image-ads .image-ad-list>ul>li .content-block {
  119. display:inline-block;
  120. width:71%;
  121. min-height: 66px;
  122. }
  123. .image-ads .image-ad-list>ul>li .content-block.textNavigation {
  124. width:100%;
  125. }
  126. .image-ads .image-ad-list>ul>li .content-block .layui-form-item {
  127. margin:0;
  128. }
  129. .image-ads .image-ad-list>ul>li .content-block .layui-form-label {
  130. width:60px;
  131. padding:9px 0;
  132. line-height: 1;
  133. }
  134. .image-ads .image-ad-list>ul>li .content-block div {
  135. margin-top:10px;
  136. }
  137. .image-ads .image-ad-list>ul>li .content-block div:last-child {
  138. margin-top:0;
  139. }
  140. .image-ads .image-ad-list>ul>li:hover .del {
  141. display:block;
  142. }
  143. .image-ads .image-ad-list>ul>li>.iconfont {
  144. position: absolute;
  145. top: 50%;
  146. left: 15px;
  147. cursor: move;
  148. font-size: 20px;
  149. transform: translateY(-50%);
  150. }
  151. .image-ads .add-item {
  152. border:1px dashed #e5e5e5;
  153. text-align: center;
  154. cursor:pointer;
  155. background: #ffffff;
  156. padding:10px;
  157. margin:16px 0;
  158. }
  159. .image-ads .add-item p i {
  160. display: inline-block;
  161. height: 24px;
  162. line-height: 24px;
  163. font-size: 18px;
  164. font-style: normal;
  165. }
  166. .image-ads .add-item p span {
  167. display: inline-block;
  168. height: 24px;
  169. line-height: 24px;
  170. }
  171. .image-ads .add-item>span {
  172. vertical-align: middle;
  173. color:#999;
  174. font-size:12px;
  175. }
  176. .image-ads .navigation-set-list .error-msg{
  177. margin: 5px 0 0 40px;
  178. color: #f44;
  179. display: none;
  180. }