design.css 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400
  1. @CHARSET "UTF-8";
  2. /*图文导航组件*/
  3. .graphic-navigation .preview-draggable .preview-box {
  4. padding: 8px 0;
  5. margin: 0 15px;
  6. border-radius: 5px;
  7. }
  8. .graphic-navigation .preview-draggable ul {
  9. overflow: hidden;
  10. list-style: none;
  11. }
  12. .graphic-navigation .preview-draggable ul.horizontal-scroll {
  13. overflow-x: scroll;
  14. white-space: nowrap;
  15. }
  16. .graphic-navigation .preview-draggable ul.horizontal-scroll::-webkit-scrollbar {
  17. display: none;
  18. }
  19. .graphic-navigation .preview-draggable li {
  20. width: 50%;
  21. text-align: center;
  22. display: inline-block;
  23. vertical-align: top;
  24. }
  25. .graphic-navigation .preview-draggable li img {
  26. width: auto;
  27. height: auto;
  28. max-width: 100%;
  29. max-height: 100%;
  30. }
  31. .graphic-navigation .preview-draggable li:last-child {
  32. border: 0;
  33. }
  34. .graphic-navigation .preview-draggable li span {
  35. white-space: nowrap;
  36. text-overflow: ellipsis;
  37. overflow: hidden;
  38. height: 20px;
  39. display: block;
  40. line-height: 20px;
  41. }
  42. /*.graphic-navigation .preview-draggable .graphic-nav{visibility: hidden;}*/
  43. .graphic-navigation .preview-draggable .graphic-nav>.wrap {
  44. /* overflow-x: hidden;white-space: nowrap; background: #ffffff; */
  45. display: flex;
  46. /* justify-content: space-around; */
  47. flex-wrap: wrap;
  48. padding: 0 5px;
  49. }
  50. .graphic-navigation .graphic-nav-list .template-list .template-item {
  51. float: left;
  52. text-align: center;
  53. border: 1px solid #e5e5e5;
  54. margin-right: 20px;
  55. padding: 5px;
  56. background: #ffffff;
  57. cursor: pointer;
  58. }
  59. .graphic-navigation .graphic-nav-list .template-list .template-item img {
  60. display: block;
  61. }
  62. .graphic-navigation .add-item {
  63. padding: 10px;
  64. border: 1px dashed #e5e5e5;
  65. margin: 16px 0 10px;
  66. cursor: pointer;
  67. text-align: center;
  68. }
  69. .graphic-navigation .add-item i {
  70. display: inline-block;
  71. height: 24px;
  72. line-height: 24px;
  73. font-size: 18px;
  74. margin-right: 10px;
  75. font-style: normal;
  76. }
  77. .graphic-navigation .add-item span {
  78. display: inline-block;
  79. height: 24px;
  80. line-height: 24px;
  81. }
  82. .graphic-navigation .error-msg {
  83. margin: 5px 0 0 53px;
  84. color: #f44;
  85. display: none;
  86. }
  87. /* 新的css */
  88. .graphic-navigation .graphic-nav{
  89. padding: 10px 5px;
  90. }
  91. /* 预览 */
  92. /* 固定显示 */
  93. .graphic-navigation .graphic-nav.fixed{
  94. display: flex;
  95. flex-wrap: wrap;
  96. }
  97. /* 单边滑动 */
  98. .graphic-navigation .graphic-nav.singleSlide{
  99. display: flex;
  100. overflow-x: auto;
  101. }
  102. .graphic-navigation .graphic-nav.singleSlide::-webkit-scrollbar {
  103. height: 5px;
  104. }
  105. .graphic-navigation .graphic-nav.singleSlide::-webkit-scrollbar-track {
  106. background-color: #e4e4e4;
  107. }
  108. .graphic-navigation .graphic-nav.singleSlide::-webkit-scrollbar-thumb {
  109. background-color: #999;
  110. }
  111. .graphic-navigation .graphic-nav.singleSlide .graphic-nav-item{
  112. flex-shrink: 0;
  113. }
  114. /* 分页 */
  115. .graphic-navigation .graphic-nav.pageSlide{
  116. position: relative;
  117. }
  118. .graphic-navigation .graphic-nav.pageSlide .graphic-nav-wrap{
  119. display: flex;
  120. flex-wrap: wrap;
  121. width: 100%;
  122. height: 100%;
  123. }
  124. .graphic-navigation .graphic-nav.pageSlide .carousel-btn{
  125. position: absolute;
  126. top: 0;
  127. bottom: 0;
  128. right: 0;
  129. left: 0;
  130. }
  131. .graphic-navigation .graphic-nav.pageSlide .carousel-btn .arrows{
  132. display: flex;
  133. justify-content: space-between;
  134. padding: 0 15px;
  135. position: relative;
  136. top: 50%;
  137. transform: translateY(-50%);
  138. }
  139. .graphic-navigation .graphic-nav.pageSlide .carousel-btn .arrows i{
  140. display: none;
  141. width: 36px;
  142. height: 36px;
  143. line-height: 36px;
  144. text-align: center;
  145. color: #fff;
  146. background-color: rgba(0, 0, 0, .35);
  147. border-radius: 50%;
  148. cursor: pointer;
  149. }
  150. .graphic-navigation .graphic-nav.pageSlide .carousel-btn .dot-wrap{
  151. text-align: center;
  152. position: absolute;
  153. bottom: 0;
  154. left: 50%;
  155. transform: translateX(-50%);
  156. }
  157. .graphic-navigation .graphic-nav.pageSlide .carousel-btn .dot-wrap.hide{
  158. display: none;
  159. }
  160. .graphic-navigation .graphic-nav.pageSlide .carousel-btn .dot-wrap.straightLine i{
  161. width: 12px;
  162. height: 4px;
  163. border-radius: 0;
  164. }
  165. .graphic-navigation .graphic-nav.pageSlide .carousel-btn .dot-wrap i{
  166. display: inline-block;
  167. width: 7px;
  168. height: 7px;
  169. border-radius: 50%;
  170. background-color: rgba(0, 0, 0, .1);
  171. margin-right: 5px;
  172. cursor: pointer;
  173. }
  174. .graphic-navigation .graphic-nav.pageSlide .carousel-btn .dot-wrap i.active{
  175. background-color: rgba(0, 0, 0, .5);
  176. }
  177. .graphic-navigation .graphic-nav.pageSlide .carousel-btn:hover .arrows i{
  178. display: block;
  179. }
  180. .graphic-navigation .graphic-nav .graphic-nav-item{
  181. display: flex;
  182. flex-direction: column;
  183. align-items: center;
  184. padding: 7px 0;
  185. box-sizing: border-box;
  186. }
  187. .graphic-navigation .graphic-nav .graphic-nav-item .graphic-text{
  188. padding-top: 6px;
  189. white-space: nowrap;
  190. text-overflow: ellipsis;
  191. overflow: hidden;
  192. width: 100%;
  193. text-align: center;
  194. }
  195. .graphic-navigation .graphic-nav .graphic-nav-item .graphic-img{
  196. position: relative;
  197. display: flex;
  198. align-items: center;
  199. justify-content: center;
  200. width: 50px;
  201. height: 50px;
  202. font-size: 40px;
  203. }
  204. .graphic-navigation .graphic-nav .graphic-nav-item .graphic-img .tag{
  205. position: absolute;
  206. top: -5px;
  207. right: -12px;
  208. color: #fff;
  209. background-color: red;
  210. border-radius: 12px;
  211. border-bottom-left-radius: 0;
  212. transform: scale(0.8);
  213. padding: 2px 6px;
  214. font-size: 12px;
  215. }
  216. .graphic-navigation .graphic-nav .graphic-nav-item .graphic-img img{
  217. max-width: 100%;
  218. max-height: 100%;
  219. }
  220. .graphic-navigation .graphic-nav .graphic-nav-item .graphic-img i{
  221. font-size: 25px;
  222. color: #666;
  223. }
  224. /* 图文导航项 */
  225. .graphic-navigation p.hint {
  226. padding-left: 15px;
  227. font-size: 12px;
  228. color: #909399;
  229. line-height: 20px;
  230. }
  231. .graphic-navigation .graphic-nav-list>ul {
  232. padding: 10px 0 10px 15px;
  233. }
  234. .graphic-navigation .graphic-nav-list>ul>li {
  235. padding: 10px 10px 10px 0px;
  236. background: #ffffff;
  237. border: 1px dashed #e5e5e5;
  238. position: relative;
  239. margin-top: 16px;
  240. }
  241. .graphic-navigation .graphic-nav-list>ul>li>.iconfont {
  242. position: absolute;
  243. top: calc(50% - 10px);
  244. left: 15px;
  245. cursor: move;
  246. font-size: 20px;
  247. }
  248. .graphic-navigation .graphic-nav-list>ul>li:first-child {
  249. margin-top: 0;
  250. }
  251. .graphic-navigation .graphic-nav-list>ul>li:hover .del {
  252. display: block;
  253. }
  254. .graphic-navigation .edit-attribute .attr-wrap .restore-wrap .img-block, .graphic-navigation .edit-attribute .attr-wrap .restore-wrap .img-block.has-choose-image > div{
  255. width: 50px;
  256. height: 50px;
  257. line-height: 50px;
  258. }
  259. .graphic-navigation .edit-attribute .attr-wrap .restore-wrap .img-block.has-choose-image img {
  260. width: 35px;
  261. height: 35px;
  262. }
  263. .graphic-navigation .edit-attribute .icon-box {
  264. width: 60px;
  265. height: 60px;
  266. font-size: 60px;
  267. border: 1px dashed #ddd;
  268. display: flex;
  269. align-items: center;
  270. justify-content: center;
  271. padding: 0!important;
  272. cursor: pointer;
  273. position: relative;
  274. }
  275. .graphic-navigation .edit-attribute .icon-box .select-icon {
  276. width: inherit;
  277. height: inherit;
  278. display: flex;
  279. flex-direction: column;
  280. align-items: center;
  281. justify-content: center;
  282. line-height: 1;
  283. }
  284. .graphic-navigation .edit-attribute .icon-box .select-icon .add {
  285. font-size: 26px;
  286. color: var(--base-color);
  287. }
  288. .graphic-navigation .edit-attribute .icon-box .operation {
  289. position: absolute;
  290. width: 100%;
  291. height: 100%;
  292. background: rgba(0,0,0,.6);
  293. flex-direction: column;
  294. display: none;
  295. }
  296. .graphic-navigation .edit-attribute .icon-box:hover .operation {
  297. display: flex;
  298. }
  299. .graphic-navigation .edit-attribute .icon-box .operation-warp {
  300. flex: 1;
  301. height: 0;
  302. display: flex;
  303. align-items: center;
  304. justify-content: center;
  305. color: #fff;
  306. }
  307. .graphic-navigation .edit-attribute .icon-box .iconfont {
  308. margin: 0 3px;
  309. font-size: 16px!important;
  310. }
  311. .graphic-navigation .edit-attribute .icon-box .operation .js-replace{
  312. line-height: 1;
  313. color: #fff;
  314. text-align: center;
  315. padding: 5px 0;
  316. background: rgba(0,0,0,.7);
  317. font-size: 12px;
  318. height: unset;
  319. }
  320. .graphic-navigation .edit-attribute .graphic-nav-list .icon-box .icon-wrap:hover .operation{
  321. display: block;
  322. }
  323. .graphic-navigation .edit-attribute .graphic-nav-list .img-upload .upload-img-box:hover .operation{
  324. display: block;
  325. }
  326. .graphic-navigation .edit-attribute .navigation-set-list .img-upload {
  327. display: flex;
  328. align-items: center;
  329. }
  330. .graphic-navigation .edit-attribute .navigation-set-list .img-upload img {
  331. width: 100%;
  332. height: 100%;
  333. }
  334. .graphic-navigation .edit-attribute .navigation-set-list .action-box {
  335. display: flex;
  336. }
  337. .graphic-navigation .edit-attribute .navigation-set-list .action {
  338. margin-right: 3px;
  339. width: 42px;
  340. height: 28px;
  341. line-height: 28px;
  342. text-align: center;
  343. border: 1px solid #EEEEEE;
  344. cursor: pointer;
  345. }
  346. .graphic-navigation .edit-attribute .navigation-set-list .action:hover {
  347. border-color: var(--base-color);
  348. color: var(--base-color);
  349. }
  350. .graphic-navigation .img-icon-box{
  351. display: flex;
  352. align-items: center;
  353. }