style.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639
  1. @CHARSET "UTF-8";
  2. /*魔方*/
  3. .draggable-element .rubik-cube .preview-draggable .preview-box {
  4. padding: 0;
  5. margin: 0 15px;
  6. }
  7. .rubik-cube .preview-draggable div.tip {
  8. background: #EBF8FD;
  9. color: #88c4dc;
  10. text-align: center;
  11. height: 136px;
  12. line-height: 136px;
  13. }
  14. .rubik-cube .preview-draggable ul {
  15. overflow: hidden;
  16. display: flex;
  17. flex-wrap: wrap;
  18. align-items: center;
  19. justify-content: space-between;
  20. }
  21. .rubik-cube .preview-draggable ul li {
  22. /* float: left; */
  23. text-align: center;
  24. }
  25. .rubik-cube .preview-draggable ul li img {
  26. width: auto;
  27. height: auto;
  28. max-width: 100%;
  29. max-height: 100%;
  30. }
  31. /*编辑值*/
  32. .rubik-cube .selected-template-list {
  33. padding-left: 15px;
  34. margin-bottom: 20px;
  35. }
  36. .rubik-cube .selected-template-list ul {
  37. overflow: hidden;
  38. display: flex;
  39. flex-wrap: wrap;
  40. }
  41. .rubik-cube .selected-template-list ul li {
  42. width: 46px;
  43. height: 32px;
  44. text-align: center;
  45. line-height: 29px;
  46. border: 1px solid #e5e5e5;
  47. cursor: pointer;
  48. background: #ffffff;
  49. box-sizing: border-box;
  50. border-right: 1px transparent solid;
  51. }
  52. .rubik-cube .selected-template-list ul li:last-child {
  53. border-right: 1px solid #e5e5e5;
  54. }
  55. .rubik-cube .selected-template-list ul li img {
  56. display: inline-block;
  57. }
  58. .rubik-cube .selected-template-list ul li div {
  59. font-size: 12px;
  60. }
  61. .selected-template-layout .layui-input-block {
  62. margin-left: 15px;
  63. }
  64. .rubik-cube .layout {
  65. /*clear:both;*/
  66. position: relative;
  67. }
  68. .rubik-cube .layout ul {
  69. overflow: hidden;
  70. }
  71. .rubik-cube .layout li {
  72. float: left;
  73. color: #909399;
  74. border: 1px solid #e5e5e5;
  75. cursor: pointer;
  76. font-size: 12px;
  77. position: relative;
  78. }
  79. .rubik-cube .layout li div.empty {
  80. left: 0;
  81. text-align: center;
  82. width: 100%;
  83. position: absolute;
  84. top: 50%;
  85. margin-top: -26px;
  86. }
  87. .rubik-cube .layout li div.empty p {
  88. margin: 0;
  89. line-height: 26px;
  90. }
  91. .rubik-cube .layui-form-item p {
  92. margin: 10px 0 10px 15px;
  93. color: #909399;
  94. font-size: 12px;
  95. }
  96. .rubik-cube .image-ad-list {
  97. /* margin-left: 10px;
  98. margin-bottom: 20px; */
  99. margin-top: 15px;
  100. }
  101. .rubik-cube .image-ad-list > ul > li {
  102. width: 100%;
  103. padding: 10px;
  104. background: #ffffff;
  105. border: 1px dashed #CCCCCC;
  106. position: relative;
  107. margin-top: 15px;
  108. box-sizing: border-box;
  109. }
  110. .rubik-cube .image-ad-list > ul > li:first-child {
  111. margin-top: 0;
  112. }
  113. .rubik-cube .image-ad-list > ul > li .content-block {
  114. display: inline-block;
  115. width: calc(100% - 74px);
  116. }
  117. .rubik-cube .image-ad-list > ul > li .content-block.textNavigation {
  118. width: 100%;
  119. }
  120. .rubik-cube .image-ad-list > ul > li .content-block .layui-form-item {
  121. margin: 0;
  122. }
  123. .rubik-cube .image-ad-list > ul > li .content-block .layui-form-label {
  124. /* width: 60px;
  125. padding: 9px 0;
  126. line-height: 1; */
  127. }
  128. .rubik-cube .image-ad-list > ul > li .content-block div {
  129. margin-top: 10px;
  130. }
  131. .rubik-cube .image-ad-list > ul > li .content-block div:last-child {
  132. margin-top: 0;
  133. }
  134. .rubik-cube .layout li div.have-preview-image {
  135. box-sizing: border-box;
  136. }
  137. .rubik-cube .layout li div.have-preview-image img {
  138. width: auto;
  139. height: auto;
  140. max-width: 100%;
  141. max-height: 100%;
  142. }
  143. /*1行2个*/
  144. /*预览*/
  145. .rubik-cube .preview-draggable ul li.row1-of2 {
  146. width: 50%;
  147. }
  148. .rubik-cube .preview-draggable ul li.row1-of2:nth-child(1) div {
  149. padding-left: 0 !important;
  150. padding-top: 0 !important;
  151. padding-bottom: 0 !important;
  152. }
  153. .rubik-cube .preview-draggable ul li.row1-of2:nth-child(2) div {
  154. padding-right: 0 !important;
  155. padding-top: 0 !important;
  156. padding-bottom: 0 !important;
  157. }
  158. /*编辑*/
  159. .rubik-cube .layout li.row1-of2 {
  160. width: 49.2%;
  161. height: 160px;
  162. border-right: 1px transparent solid;
  163. }
  164. .rubik-cube .layout li.row1-of2:last-child {
  165. border-right: 1px solid #e5e5e5;
  166. }
  167. .rubik-cube .layout li.row1-of2 div.empty {
  168. }
  169. .rubik-cube .layout li.row1-of2 div.have-preview-image {
  170. text-align: center;
  171. height: 100%;
  172. line-height: 160px;
  173. background: #ffffff;
  174. }
  175. /*1行3个*/
  176. /*预览*/
  177. .rubik-cube .preview-draggable ul li.row1-of3 {
  178. width: 33.33%;
  179. }
  180. .rubik-cube .preview-draggable ul li.row1-of3:nth-child(1) div {
  181. padding-left: 0 !important;
  182. padding-top: 0 !important;
  183. padding-bottom: 0 !important;
  184. }
  185. .rubik-cube .preview-draggable ul li.row1-of3:nth-child(2) div {
  186. padding-top: 0 !important;
  187. padding-bottom: 0 !important;
  188. }
  189. .rubik-cube .preview-draggable ul li.row1-of3:nth-child(3) div {
  190. padding-right: 0 !important;
  191. padding-top: 0 !important;
  192. padding-bottom: 0 !important;
  193. }
  194. /*编辑*/
  195. .rubik-cube .layout li.row1-of3 {
  196. width: 32.5%;
  197. height: 100px;
  198. border-right: 1px transparent solid;
  199. }
  200. .rubik-cube .layout li.row1-of3:last-child {
  201. border-right: 1px solid #bdf;
  202. }
  203. .rubik-cube .layout li.row1-of3 div.empty {
  204. }
  205. .rubik-cube .layout li.row1-of3 div.have-preview-image {
  206. text-align: center;
  207. height: 100%;
  208. line-height: 100px;
  209. background: #ffffff;
  210. }
  211. /*1行4个*/
  212. /*预览*/
  213. .rubik-cube .preview-draggable ul li.row1-of4 {
  214. width: 25%;
  215. }
  216. .rubik-cube .preview-draggable ul li.row1-of4:nth-child(1) div {
  217. padding-left: 0 !important;
  218. padding-top: 0 !important;
  219. padding-bottom: 0 !important;
  220. }
  221. .rubik-cube .preview-draggable ul li.row1-of4:nth-child(2) div {
  222. padding-top: 0 !important;
  223. padding-bottom: 0 !important;
  224. }
  225. .rubik-cube .preview-draggable ul li.row1-of4:nth-child(3) div {
  226. padding-top: 0 !important;
  227. padding-bottom: 0 !important;
  228. }
  229. .rubik-cube .preview-draggable ul li.row1-of4:nth-child(4) div {
  230. padding-right: 0 !important;
  231. padding-top: 0 !important;
  232. padding-bottom: 0 !important;
  233. }
  234. /*编辑*/
  235. .rubik-cube .layout li.row1-of4 {
  236. width: 24.2%;
  237. height: 80px;
  238. border-right: 1px transparent solid;
  239. }
  240. .rubik-cube .layout li.row1-of4:last-child {
  241. border-right: 1px solid #bdf;
  242. }
  243. .rubik-cube .layout li.row1-of4 div.empty {
  244. }
  245. .rubik-cube .layout li.row1-of4 div.have-preview-image {
  246. text-align: center;
  247. height: 100%;
  248. line-height: 80px;
  249. background: #ffffff;
  250. }
  251. /*2左2右*/
  252. /*预览*/
  253. .rubik-cube .preview-draggable ul li.row2-lt-of2-rt {
  254. width: 50%;
  255. display: inline-block;
  256. }
  257. .rubik-cube .preview-draggable ul li.row2-lt-of2-rt:nth-child(1) div {
  258. padding-top: 0 !important;
  259. padding-left: 0 !important;
  260. }
  261. .rubik-cube .preview-draggable ul li.row2-lt-of2-rt:nth-child(2) div {
  262. padding-top: 0 !important;
  263. padding-right: 0 !important;
  264. }
  265. .rubik-cube .preview-draggable ul li.row2-lt-of2-rt:nth-child(3) div {
  266. padding-bottom: 0 !important;
  267. padding-left: 0 !important;
  268. }
  269. .rubik-cube .preview-draggable ul li.row2-lt-of2-rt:nth-child(4) div {
  270. padding-bottom: 0 !important;
  271. padding-right: 0 !important;
  272. }
  273. /*编辑*/
  274. .rubik-cube .layout li.row2-lt-of2-rt {
  275. width: 49.2%;
  276. height: 160px;
  277. }
  278. .rubik-cube .layout li.row2-lt-of2-rt:nth-child(1) {
  279. border-right: 1px transparent solid;
  280. border-bottom: 1px transparent solid;
  281. }
  282. .rubik-cube .layout li.row2-lt-of2-rt:nth-child(2) {
  283. border-bottom: 1px transparent solid;
  284. }
  285. .rubik-cube .layout li.row2-lt-of2-rt:nth-child(3) {
  286. border-right: 1px transparent solid;
  287. clear: both;
  288. }
  289. .rubik-cube .layout li.row2-lt-of2-rt div.empty {
  290. }
  291. .rubik-cube .layout li.row2-lt-of2-rt div.have-preview-image {
  292. text-align: center;
  293. height: 100%;
  294. line-height: 160px;
  295. background: #ffffff;
  296. }
  297. /*1左2右*/
  298. /*预览*/
  299. .rubik-cube .preview-draggable ul .template-left, .rubik-cube .preview-draggable ul .template-right {
  300. width: 50%;
  301. box-sizing: border-box;
  302. }
  303. .rubik-cube .preview-draggable ul li.row1-lt-of2-rt {
  304. width: 100%;
  305. }
  306. .rubik-cube .preview-draggable ul .template-left li div {
  307. padding-left: 0 !important;
  308. padding-top: 0 !important;
  309. padding-bottom: 0 !important;
  310. }
  311. .rubik-cube .preview-draggable ul .template-right li.row1-lt-of2-rt:nth-child(1) div {
  312. padding-top: 0 !important;
  313. padding-right: 0 !important;
  314. }
  315. .rubik-cube .preview-draggable ul .template-right li.row1-lt-of2-rt:nth-child(2) div {
  316. padding-right: 0 !important;
  317. padding-bottom: 0 !important;
  318. }
  319. /*编辑*/
  320. .rubik-cube .layout li.row1-lt-of2-rt {
  321. width: 49.2%;
  322. font-size: 12px;
  323. }
  324. .rubik-cube .layout li.row1-lt-of2-rt:nth-child(1) {
  325. height: 322px;
  326. border-right: 1px transparent solid;
  327. }
  328. .rubik-cube .layout li.row1-lt-of2-rt:nth-child(2) {
  329. height: 160px;
  330. border-bottom: 1px transparent solid;
  331. }
  332. .rubik-cube .layout li.row1-lt-of2-rt:nth-child(3) {
  333. height: 160px;
  334. }
  335. .rubik-cube .layout li.row1-lt-of2-rt div.empty {
  336. }
  337. .rubik-cube .layout li.row1-lt-of2-rt:nth-child(1) div.have-preview-image {
  338. text-align: center;
  339. height: 100%;
  340. line-height: 322px;
  341. background: #ffffff;
  342. }
  343. .rubik-cube .layout li.row1-lt-of2-rt:nth-child(2) div.have-preview-image {
  344. text-align: center;
  345. height: 100%;
  346. line-height: 160px;
  347. background: #ffffff;
  348. }
  349. .rubik-cube .layout li.row1-lt-of2-rt:nth-child(3) div.have-preview-image {
  350. text-align: center;
  351. height: 100%;
  352. line-height: 160px;
  353. background: #ffffff;
  354. }
  355. /*1上2下*/
  356. /*预览*/
  357. /*.rubik-cube .preview-draggable ul li.row1-tp-of2-bm{height:130px;line-height: 130px;}*/
  358. .rubik-cube .preview-draggable ul li.row1-tp-of2-bm:nth-child(1) {
  359. width: 100%;
  360. }
  361. .rubik-cube .preview-draggable ul li.row1-tp-of2-bm:nth-child(2),
  362. .rubik-cube .preview-draggable ul li.row1-tp-of2-bm:nth-child(3) {
  363. width: 50%;
  364. }
  365. .rubik-cube .preview-draggable ul li.row1-tp-of2-bm:nth-child(1) div {
  366. padding-top: 0 !important;
  367. padding-left: 0 !important;
  368. padding-right: 0 !important;
  369. }
  370. .rubik-cube .preview-draggable ul li.row1-tp-of2-bm:nth-child(2) div {
  371. padding-left: 0 !important;
  372. padding-bottom: 0 !important;
  373. }
  374. .rubik-cube .preview-draggable ul li.row1-tp-of2-bm:nth-child(3) div {
  375. padding-right: 0 !important;
  376. padding-bottom: 0 !important;
  377. }
  378. /*编辑*/
  379. .rubik-cube .layout li.row1-tp-of2-bm {
  380. height: 160px;
  381. }
  382. .rubik-cube .layout li.row1-tp-of2-bm:nth-child(1) {
  383. width: 99.4%;
  384. border-bottom: 1px transparent solid;
  385. }
  386. .rubik-cube .layout li.row1-tp-of2-bm:nth-child(2) {
  387. width: 49.2%;
  388. border-right: 1px transparent solid;
  389. }
  390. .rubik-cube .layout li.row1-tp-of2-bm:nth-child(3) {
  391. width: 49.2%;
  392. }
  393. .rubik-cube .layout li.row1-tp-of2-bm div.empty {
  394. }
  395. .rubik-cube .layout li.row1-tp-of2-bm div.have-preview-image {
  396. text-align: center;
  397. height: 100%;
  398. line-height: 160px;
  399. background: #ffffff;
  400. }
  401. /*1左3右*/
  402. /*预览*/
  403. .rubik-cube .preview-draggable ul .template-left li.row1-lt-of1-tp-of2-bm {
  404. width: 100%;
  405. }
  406. .rubik-cube .preview-draggable ul .template-bottom {
  407. display: flex;
  408. justify-content: space-between;
  409. align-items: center;
  410. }
  411. .rubik-cube .preview-draggable ul .template-bottom li {
  412. width: 50%;
  413. box-sizing: border-box;
  414. }
  415. .rubik-cube .preview-draggable ul .template-bottom li.row1-lt-of1-tp-of2-bm:nth-child(1) {
  416. padding-left: 0 !important;
  417. }
  418. .rubik-cube .preview-draggable ul .template-bottom li.row1-lt-of1-tp-of2-bm:nth-child(2) {
  419. padding-right: 0 !important;
  420. }
  421. /*编辑*/
  422. .rubik-cube .layout li.row1-lt-of1-tp-of2-bm:nth-child(1) {
  423. height: 320px;
  424. width: 49.2%;
  425. border-right: 1px transparent solid;
  426. }
  427. .rubik-cube .layout li.row1-lt-of1-tp-of2-bm:nth-child(2) {
  428. height: 160px;
  429. width: 49.2%;
  430. border-bottom: 1px transparent solid;
  431. }
  432. .rubik-cube .layout li.row1-lt-of1-tp-of2-bm:nth-child(3) {
  433. height: 160px;
  434. width: 24.2%;
  435. border-right: 1px transparent solid;
  436. }
  437. .rubik-cube .layout li.row1-lt-of1-tp-of2-bm:nth-child(4) {
  438. height: 160px;
  439. width: 24.2%;
  440. }
  441. .rubik-cube .layout li.row1-lt-of1-tp-of2-bm div.empty {
  442. }
  443. .rubik-cube .layout li.row1-lt-of1-tp-of2-bm:nth-child(1) div.have-preview-image {
  444. text-align: center;
  445. height: 100%;
  446. line-height: 320px;
  447. background: #ffffff;
  448. }
  449. .rubik-cube .layout li.row1-lt-of1-tp-of2-bm:nth-child(2) div.have-preview-image {
  450. text-align: center;
  451. height: 100%;
  452. line-height: 160px;
  453. background: #ffffff;
  454. }
  455. .rubik-cube .layout li.row1-lt-of1-tp-of2-bm:nth-child(3) div.have-preview-image {
  456. text-align: center;
  457. height: 100%;
  458. line-height: 160px;
  459. background: #ffffff;
  460. }
  461. .rubik-cube .layout li.row1-lt-of1-tp-of2-bm:nth-child(4) div.have-preview-image {
  462. text-align: center;
  463. height: 100%;
  464. line-height: 160px;
  465. background: #ffffff;
  466. }
  467. /*自定义魔方*/
  468. .rubik-cube .layout li.custom-rubik-cube {
  469. width: 25%;
  470. height: 70px;
  471. border: 1px solid #e5e5e5;
  472. border-left: 1px transparent solid;
  473. border-bottom: 1px transparent solid;
  474. background: #f8f8f8;
  475. box-sizing: border-box;
  476. }
  477. .rubik-cube .layout li.custom-rubik-cube.border-left {
  478. border-left: 1px solid #e5e5e5;
  479. }
  480. .rubik-cube .layout li.custom-rubik-cube.border-bottom {
  481. border-bottom: 1px solid #e5e5e5;
  482. }
  483. .rubik-cube .layout ul.custom-rubik-cube:last-child li {
  484. border-bottom: 1px solid #e5e5e5;
  485. }
  486. .rubik-cube .layout li.custom-rubik-cube > div {
  487. font-size: 20px;
  488. color: #bbb;
  489. text-align: center;
  490. }
  491. .rubik-cube .layout div.selected-rubik-cube {
  492. position: absolute;
  493. border: 1px solid #bdf;
  494. background: #e8f7fd;
  495. text-align: center;
  496. color: #88c4dc;
  497. font-size: 12px;
  498. cursor: pointer;
  499. box-sizing: border-box;
  500. }
  501. .rubik-cube .layout div.selected-rubik-cube .image-url {
  502. width: 100%;
  503. height: 100%;
  504. overflow: hidden;
  505. }
  506. .rubik-cube .layout div.selected-rubik-cube .image-url img {
  507. width: auto;
  508. height: auto;
  509. max-width: 100%;
  510. max-height: 100%;
  511. }
  512. .rubik-cube .layout div.selected-rubik-cube.selected:hover i {
  513. display: block;
  514. }
  515. .rubik-cube .layout div.selected-rubik-cube.have-image {
  516. background: #ffffff;
  517. }
  518. .rubik-cube .layout div.selected-rubik-cube span {
  519. display: block;
  520. line-height: 20px;
  521. position: absolute;
  522. top: 50%;
  523. width: 100%;
  524. left: 0;
  525. margin-top: -10px;
  526. }