style.css 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. @CHARSET "UTF-8";
  2. .graphic-navigation .edit-attribute .attr-wrap .restore-wrap .img-block.has-choose-image img {
  3. width: 35px;
  4. height: 35px;
  5. }
  6. /*图文导航组件*/
  7. .graphic-navigation .preview-draggable .preview-box {
  8. padding: 8px 0;
  9. margin: 0 15px;
  10. border-radius: 5px;
  11. }
  12. .graphic-navigation .preview-draggable ul {
  13. overflow: hidden;
  14. list-style: none;
  15. }
  16. .graphic-navigation .preview-draggable ul.horizontal-scroll {
  17. overflow-x: scroll;
  18. white-space: nowrap;
  19. }
  20. .graphic-navigation .preview-draggable ul.horizontal-scroll::-webkit-scrollbar {
  21. display: none;
  22. }
  23. .graphic-navigation .preview-draggable li {
  24. width: 50%;
  25. text-align: center;
  26. display: inline-block;
  27. vertical-align: top;
  28. }
  29. .graphic-navigation .preview-draggable li img {
  30. width: auto;
  31. height: auto;
  32. max-width: 100%;
  33. max-height: 100%;
  34. }
  35. .graphic-navigation .preview-draggable li:last-child {
  36. border: 0;
  37. }
  38. .graphic-navigation .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. /*.graphic-navigation .preview-draggable .graphic-nav{visibility: hidden;}*/
  47. .graphic-navigation .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. .graphic-navigation .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. .graphic-navigation .preview-draggable .graphic-nav .item a {
  62. display: block;
  63. }
  64. .graphic-navigation .preview-draggable .graphic-nav .item a img {
  65. width: auto;
  66. height: auto;
  67. max-width: 100%;
  68. max-height: 100%;
  69. }
  70. .graphic-navigation .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. .graphic-navigation .graphic-nav-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. .graphic-navigation .graphic-nav-list .template-list .template-item img {
  87. display: block;
  88. }
  89. .graphic-navigation .graphic-nav-list>.template-edit-wrap>ul {
  90. padding: 10px 0 10px 15px;
  91. padding-top: 10px;
  92. }
  93. .graphic-navigation .graphic-nav-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. .graphic-navigation .graphic-nav-list>.template-edit-wrap>ul>li:first-child {
  101. margin-top: 0;
  102. }
  103. .graphic-navigation .graphic-nav-list>.template-edit-wrap>ul>li .content-block {
  104. display: inline-block;
  105. width: 71%;
  106. }
  107. .graphic-navigation .graphic-nav-list>.template-edit-wrap>ul>li .content-block.textNavigation {
  108. width: 100%;
  109. }
  110. .graphic-navigation .graphic-nav-list>.template-edit-wrap>ul>li .content-block .layui-form-item {
  111. margin: 0;
  112. }
  113. .graphic-navigation .graphic-nav-list>.template-edit-wrap>ul>li .content-block .layui-form-label {
  114. width: 60px;
  115. padding: 9px 0;
  116. line-height: 1;
  117. }
  118. .graphic-navigation .graphic-nav-list>.template-edit-wrap>ul>li .content-block div {
  119. margin-top: 10px;
  120. }
  121. .graphic-navigation .graphic-nav-list>.template-edit-wrap>ul>li .content-block div:last-child {
  122. margin-top: 0;
  123. }
  124. .graphic-navigation .graphic-nav-list>.template-edit-wrap>ul>li:hover .del {
  125. display: block;
  126. }
  127. .graphic-navigation .add-item {
  128. padding: 10px;
  129. border: 1px dashed #e5e5e5;
  130. margin: 16px 0 10px;
  131. cursor: pointer;
  132. text-align: center;
  133. }
  134. .graphic-navigation .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. .graphic-navigation .add-item span {
  143. display: inline-block;
  144. height: 24px;
  145. line-height: 24px;
  146. }
  147. .graphic-navigation p.hint {
  148. font-size: 12px;
  149. color: #909399;
  150. line-height: 20px;
  151. }
  152. .graphic-navigation .error-msg {
  153. margin-top: 5px;
  154. color: #f44;
  155. display: none;
  156. }
  157. .navigation-indicator {
  158. text-align: center;
  159. margin: 5px 0 10px;
  160. }
  161. .navigation-indicator span {
  162. display: inline-block;
  163. width: 15px;
  164. height: 3px;
  165. background: #ccc;
  166. margin: 0 3px;
  167. }
  168. .navigation-indicator span:first-child {
  169. background: rgb(255, 84, 68);
  170. }