design.css 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  1. @CHARSET "UTF-8";
  2. /*快捷导航组件*/
  3. .quick-navigation .preview-draggable .preview-box {
  4. padding: 8px 0;
  5. margin: 0 15px;
  6. border-radius: 5px;
  7. }
  8. .quick-navigation .preview-draggable ul {
  9. overflow: hidden;
  10. list-style: none;
  11. }
  12. .quick-navigation .preview-draggable li {
  13. width: 50%;
  14. text-align: center;
  15. display: inline-block;
  16. vertical-align: top;
  17. }
  18. .quick-navigation .preview-draggable li img {
  19. width: auto;
  20. height: auto;
  21. max-width: 100%;
  22. max-height: 100%;
  23. }
  24. .quick-navigation .preview-draggable li:last-child {
  25. border: 0;
  26. }
  27. .quick-navigation .preview-draggable li span {
  28. white-space: nowrap;
  29. text-overflow: ellipsis;
  30. overflow: hidden;
  31. height: 20px;
  32. display: block;
  33. line-height: 20px;
  34. }
  35. /*.quick-navigation .preview-draggable .quick-nav{visibility: hidden;}*/
  36. .quick-navigation .preview-draggable .quick-nav > .wrap {
  37. /* overflow-x: hidden;white-space: nowrap; background: #ffffff; */
  38. display: flex;
  39. /* justify-content: space-around; */
  40. flex-wrap: wrap;
  41. padding: 0 5px;
  42. }
  43. .quick-navigation .quick-nav-list .template-list .template-item {
  44. float: left;
  45. text-align: center;
  46. border: 1px solid #e5e5e5;
  47. margin-right: 20px;
  48. padding: 5px;
  49. background: #ffffff;
  50. cursor: pointer;
  51. }
  52. .quick-navigation .quick-nav-list .template-list .template-item img {
  53. display: block;
  54. }
  55. .quick-navigation .add-item {
  56. padding: 10px;
  57. border: 1px dashed #e5e5e5;
  58. margin: 16px 0 10px;
  59. cursor: pointer;
  60. text-align: center;
  61. }
  62. .quick-navigation .add-item i {
  63. display: inline-block;
  64. height: 24px;
  65. line-height: 24px;
  66. font-size: 18px;
  67. margin-right: 10px;
  68. font-style: normal;
  69. }
  70. .quick-navigation .add-item span {
  71. display: inline-block;
  72. height: 24px;
  73. line-height: 24px;
  74. }
  75. .quick-navigation .quick-nav {
  76. display: flex;
  77. /*overflow-x: auto;*/
  78. overflow: hidden;
  79. padding:5px 0;
  80. }
  81. .quick-navigation .quick-nav::-webkit-scrollbar {
  82. height: 0;
  83. }
  84. .quick-navigation .quick-nav::-webkit-scrollbar-track {
  85. background-color: #e4e4e4;
  86. }
  87. .quick-navigation .quick-nav::-webkit-scrollbar-thumb {
  88. background-color: #999;
  89. }
  90. .quick-navigation .quick-nav .quick-nav-item {
  91. flex-shrink: 0;
  92. }
  93. .quick-navigation .quick-nav .quick-nav-item {
  94. display: flex;
  95. align-items: center;
  96. padding: 5px 10px;
  97. border-radius: 20px;
  98. box-sizing: border-box;
  99. margin-right: 10px;
  100. }
  101. .quick-navigation .quick-nav .quick-nav-item:last-child {
  102. margin-right: 0;
  103. }
  104. .quick-navigation .quick-nav .quick-nav-item .quick-img {
  105. margin-right: 5px;
  106. }
  107. .quick-navigation .quick-nav .quick-nav-item .quick-img img {
  108. height: 20px;
  109. }
  110. .quick-navigation .quick-nav .quick-nav-item .quick-img .icon-wrap {
  111. font-size: 30px;
  112. }
  113. .quick-navigation .quick-nav .quick-nav-item .quick-img i {
  114. font-size: 30px;
  115. color: #666;
  116. }
  117. .quick-navigation .quick-nav .quick-nav-item .quick-text {
  118. white-space: nowrap;
  119. text-overflow: ellipsis;
  120. overflow: hidden;
  121. width: 100%;
  122. height:20px;
  123. line-height: 20px;
  124. font-size:12px;
  125. }
  126. .quick-navigation .quick-nav-list > ul {
  127. }
  128. .quick-navigation .quick-nav-list > ul > li {
  129. padding: 10px 10px 10px 0px;
  130. background: #ffffff;
  131. border: 1px dashed #e5e5e5;
  132. position: relative;
  133. margin-top: 16px;
  134. }
  135. .quick-navigation .quick-nav-list > ul > li > .iconfont {
  136. position: absolute;
  137. top: 16px;
  138. left: 10px;
  139. cursor: move;
  140. font-size: 20px;
  141. }
  142. .quick-navigation .quick-nav-list > ul > li:first-child {
  143. margin-top: 0;
  144. }
  145. .quick-navigation .quick-nav-list > ul > li:hover .del {
  146. display: block;
  147. }
  148. .quick-navigation .edit-attribute .attr-wrap .restore-wrap .img-block, .quick-navigation .edit-attribute .attr-wrap .restore-wrap .img-block.has-choose-image > div {
  149. width: 50px;
  150. height: 50px;
  151. line-height: 50px;
  152. }
  153. .quick-navigation .edit-attribute .attr-wrap .restore-wrap .img-block.has-choose-image img {
  154. width: 35px;
  155. height: 35px;
  156. }
  157. .quick-navigation .edit-attribute .icon-box {
  158. width: 60px;
  159. height: 60px;
  160. font-size: 60px;
  161. border: 1px dashed #ddd;
  162. display: flex;
  163. align-items: center;
  164. justify-content: center;
  165. padding: 0 !important;
  166. cursor: pointer;
  167. position: relative;
  168. }
  169. .quick-navigation .edit-attribute .icon-box .select-icon {
  170. width: inherit;
  171. height: inherit;
  172. display: flex;
  173. flex-direction: column;
  174. align-items: center;
  175. justify-content: center;
  176. line-height: 1;
  177. }
  178. .quick-navigation .edit-attribute .icon-box .select-icon .add {
  179. font-size: 26px;
  180. color: var(--base-color);
  181. }
  182. .quick-navigation .edit-attribute .icon-box .operation {
  183. position: absolute;
  184. width: 100%;
  185. height: 100%;
  186. background: rgba(0, 0, 0, .6);
  187. flex-direction: column;
  188. display: none;
  189. }
  190. .quick-navigation .edit-attribute .icon-box:hover .operation {
  191. display: flex;
  192. }
  193. .quick-navigation .edit-attribute .icon-box .operation-warp {
  194. flex: 1;
  195. height: 0;
  196. display: flex;
  197. align-items: center;
  198. justify-content: center;
  199. color: #fff;
  200. }
  201. .quick-navigation .edit-attribute .icon-box .iconfont {
  202. margin: 0 3px;
  203. font-size: 16px !important;
  204. }
  205. .quick-navigation .edit-attribute .icon-box .operation .js-replace {
  206. line-height: 1;
  207. color: #fff;
  208. text-align: center;
  209. padding: 5px 0;
  210. background: rgba(0, 0, 0, .7);
  211. font-size: 12px;
  212. height: unset;
  213. }
  214. .quick-navigation .edit-attribute .quick-nav-list .icon-box .icon-wrap:hover .operation {
  215. display: block;
  216. }
  217. .quick-navigation .edit-attribute .quick-nav-list .img-upload .upload-img-box:hover .operation {
  218. display: block;
  219. }
  220. .quick-navigation .edit-attribute .navigation-set-list li {
  221. }
  222. .quick-navigation .edit-attribute .navigation-set-list li .layui-form-item:last-of-type {
  223. margin-bottom: 0;
  224. }
  225. .quick-navigation .edit-attribute .navigation-set-list li .layui-form-label.sm {
  226. width: 75px !important;
  227. }
  228. .quick-navigation .edit-attribute .navigation-set-list .img-upload {
  229. display: flex;
  230. align-items: center;
  231. }
  232. .quick-navigation .edit-attribute .navigation-set-list .img-upload img {
  233. width: 100%;
  234. }
  235. .quick-navigation .edit-attribute .navigation-set-list .action-box {
  236. display: flex;
  237. }
  238. .quick-navigation .edit-attribute .navigation-set-list .action {
  239. margin-right: 3px;
  240. width: 42px;
  241. height: 28px;
  242. line-height: 28px;
  243. text-align: center;
  244. border: 1px solid #EEEEEE;
  245. cursor: pointer;
  246. }
  247. .quick-navigation .edit-attribute .navigation-set-list .iconfont {
  248. font-size: 20px;
  249. }
  250. .quick-navigation .edit-attribute .navigation-set-list .action:hover {
  251. border-color: var(--base-color);
  252. color: var(--base-color);
  253. }
  254. .quick-navigation .img-icon-box {
  255. display: flex;
  256. align-items: center;
  257. }