_main.scss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474
  1. @mixin selected-disabled {
  2. -webkit-user-select: none;
  3. -moz-user-select: none;
  4. -ms-user-select: none;
  5. user-select: none;
  6. }
  7. html, body {
  8. font-family: "Helvetica Neue", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  9. height: 100%;
  10. background-color: #1c1c20;
  11. color: #fff;
  12. }
  13. .qkhk-wrapper {
  14. height: 100%;
  15. display: flex;
  16. flex-direction: row;
  17. .nav1 {
  18. height: 100%;
  19. //width: 110px;
  20. ul {
  21. height: 100%;
  22. display: flex;
  23. flex-direction: column;
  24. justify-content: center;
  25. li {
  26. cursor: pointer;
  27. padding: 10px;
  28. font-weight: bolder;
  29. height: 200px;
  30. font-size: 32px;
  31. text-align: center;
  32. &.active {
  33. background-color: #242832;
  34. }
  35. }
  36. }
  37. }
  38. .nav2-hk, .nav2-qk {
  39. width: 120px;
  40. height: 100%;
  41. background-color: #242832;
  42. ul {
  43. height: 100%;
  44. display: flex;
  45. flex-direction: column;
  46. flex-wrap: wrap;
  47. justify-content: center;
  48. align-content: center;
  49. li {
  50. position: relative;
  51. text-overflow: ellipsis;
  52. white-space: nowrap;
  53. overflow: hidden;
  54. width: 100px;
  55. cursor: pointer;
  56. margin: 10px;
  57. font-size: 18px;
  58. text-align: center;
  59. span {
  60. border-radius: 100%;
  61. font-size: 14px;
  62. width: 18px;
  63. height: 18px;
  64. position: absolute;
  65. top: 5px;
  66. right: 7px;
  67. background-color: #ff236e;
  68. }
  69. }
  70. }
  71. }
  72. .nav3-hk {
  73. height: 100%;
  74. flex: 1;
  75. display: flex;
  76. flex-direction: column;
  77. .up {
  78. flex: 1;
  79. display: flex;
  80. flex-direction: column;
  81. .header {
  82. height: 54px;
  83. border-bottom: 2px solid #252932;
  84. display: flex;
  85. flex-direction: row;
  86. justify-content: space-between;
  87. align-items: center;
  88. .cell-name {
  89. margin: 5px 35px;
  90. font-weight: bolder;
  91. font-size: 32px;
  92. text-align: center;
  93. }
  94. .handles {
  95. display: flex;
  96. flex-direction: row;
  97. align-items: center;
  98. .pattern-sw {
  99. border-radius: 5px;
  100. padding: 5px 10px;
  101. border: 1px solid #e3e3e3;
  102. cursor: pointer;
  103. }
  104. .save {
  105. margin: 0 10px;
  106. padding: 1px 6px;
  107. cursor: pointer;
  108. font-size: 14px;
  109. border: 1px solid #e3e3e3;
  110. }
  111. }
  112. }
  113. .cont {
  114. flex: 1;
  115. display: flex;
  116. margin: 10px 30px 0 30px;
  117. .dw-pattern {
  118. flex: 1;
  119. display: flex;
  120. flex-direction: row;
  121. .left {
  122. flex: 1;
  123. display: flex;
  124. flex-direction: column;
  125. .dw-title {
  126. display: flex;
  127. flex-direction: row;
  128. justify-content: flex-start;
  129. li {
  130. @include selected-disabled;
  131. cursor: pointer;
  132. margin: 0 5px;
  133. font-weight: bolder;
  134. font-size: 24px;
  135. color: #3c4147;
  136. &.active {
  137. color: #ffffff;
  138. }
  139. }
  140. }
  141. .control-wrapper {
  142. margin-top: 20px;
  143. flex: 1;
  144. display: flex;
  145. flex-direction: column;
  146. .title {
  147. display: flex;
  148. flex-direction: row;
  149. justify-content: center;
  150. li {
  151. width: 200px;
  152. text-align: center;
  153. }
  154. }
  155. .fj-control {
  156. flex: 1;
  157. display: flex;
  158. flex-direction: column;
  159. justify-content: flex-start;
  160. li {
  161. display: flex;
  162. flex-direction: row;
  163. justify-content: center;
  164. padding: 10px 0;
  165. align-items: center;;
  166. .fj-name {
  167. width: 70px;
  168. padding: 0 10px;
  169. }
  170. input {
  171. margin: 0 20px;
  172. width: 160px;
  173. border-radius: 5px;
  174. background-color: #1c1c20;
  175. border: 1px solid #ffe;
  176. text-align: center;
  177. }
  178. .sw {
  179. width: 60px;
  180. padding: 0 10px;
  181. height: 25px;
  182. }
  183. &.disabled {
  184. color: #a4a4a4;
  185. input {
  186. border-color: #a4a4a4;
  187. }
  188. }
  189. }
  190. }
  191. }
  192. }
  193. .right {
  194. flex: 1;
  195. background: url("../img/background/bubble1.png") no-repeat;
  196. -webkit-background-size: cover;
  197. background-size: cover;
  198. display: flex;
  199. flex-direction: row;
  200. flex-wrap: wrap;
  201. .show {
  202. -webkit-background-size: contain;
  203. background-size: contain;
  204. background: url("../img/background/blue-arc.png") no-repeat 50% 50%;
  205. width: 100%;
  206. //height: 75%;
  207. display: flex;
  208. flex-direction: column;
  209. justify-content: center;
  210. .wd-cont {
  211. padding-top: 10%;
  212. padding-left: 10%;
  213. color: #fe236d;
  214. font-size: 90px;
  215. font-weight: bolder;
  216. }
  217. }
  218. .min-wrapper, .max-wrapper {
  219. display: flex;
  220. flex-direction: row;
  221. justify-content: center;
  222. align-items: center;
  223. width: 50%;
  224. //height: 25%;
  225. color: #fe236d;
  226. .btn-reduce, .btn-add {
  227. width: 36px;
  228. font-size: 36px;
  229. text-align: center;
  230. cursor: pointer;
  231. @include selected-disabled
  232. }
  233. .circle-wrapper {
  234. text-align: center;
  235. position: relative;
  236. font-size: 26px;
  237. line-height: 80px;
  238. width: 80px;
  239. height: 80px;
  240. border-radius: 100%;
  241. border: 1px solid #ffffff;
  242. .info {
  243. top: -54px;
  244. left: 20px;
  245. font-size: 14px;
  246. position: absolute;
  247. }
  248. .unit {
  249. position: absolute;
  250. top: -36px;
  251. left: 63px;
  252. font-size: 18px;
  253. }
  254. }
  255. }
  256. }
  257. }
  258. .auto-pattern {
  259. flex: 1;
  260. -webkit-background-size: contain;
  261. background-size: contain;
  262. background: url("../img/background/bubble2.png") no-repeat 50% 50%;
  263. display: flex;
  264. flex-direction: row;
  265. justify-content: center;
  266. .show {
  267. -webkit-background-size: contain;
  268. background-size: contain;
  269. background: url("../img/background/blue-arc.png") no-repeat 50% 50%;
  270. width: 50%;
  271. display: flex;
  272. flex-direction: column;
  273. justify-content: center;
  274. .wd-cont {
  275. padding-top: 10%;
  276. padding-left: 10%;
  277. color: #fe236d;
  278. font-size: 90px;
  279. font-weight: bolder;
  280. }
  281. }
  282. .min-wrapper, .max-wrapper {
  283. display: flex;
  284. flex-direction: row;
  285. justify-content: center;
  286. align-items: center;
  287. width: 15%;
  288. color: #fe236d;
  289. .btn-reduce, .btn-add {
  290. width: 36px;
  291. font-size: 36px;
  292. text-align: center;
  293. cursor: pointer;
  294. @include selected-disabled
  295. }
  296. .circle-wrapper {
  297. text-align: center;
  298. position: relative;
  299. font-size: 26px;
  300. line-height: 80px;
  301. width: 80px;
  302. height: 80px;
  303. border-radius: 100%;
  304. border: 1px solid #ffffff;
  305. .info {
  306. top: -54px;
  307. left: 20px;
  308. font-size: 14px;
  309. position: absolute;
  310. }
  311. .unit {
  312. position: absolute;
  313. top: -36px;
  314. left: 63px;
  315. font-size: 18px;
  316. }
  317. }
  318. }
  319. }
  320. }
  321. }
  322. .down {
  323. padding: 10px 30px;
  324. background-color: #202226;
  325. background: url("../img/background/bj-bg.png") no-repeat 80% 90%;
  326. div.down-wrapper {
  327. height: 100%;
  328. ul.title {
  329. font-size: 18px;
  330. font-weight: 600;
  331. padding: 10px 0;
  332. display: flex;
  333. flex-direction: row;
  334. justify-content: flex-start;
  335. li.degree {
  336. width: 70px;
  337. img {
  338. height: 22px;
  339. }
  340. }
  341. li.content {
  342. width: 120px;
  343. }
  344. li.act {
  345. }
  346. }
  347. ul.bj-list {
  348. display: flex;
  349. flex-direction: column;
  350. ul.bj-item {
  351. padding: 10px 0;
  352. display: flex;
  353. flex-direction: row;
  354. li.degree {
  355. width: 70px;
  356. }
  357. li.content {
  358. width: 120px;
  359. font-size: 16px;
  360. font-weight: 600;
  361. }
  362. ul.act-lists {
  363. display: flex;
  364. flex-direction: row;
  365. justify-content: space-between;
  366. width: 400px;
  367. li.active {
  368. color: #34bcc9;
  369. }
  370. }
  371. }
  372. }
  373. }
  374. }
  375. }
  376. .nav3-qk {
  377. height: 100%;
  378. flex: 1;
  379. display: flex;
  380. flex-direction: column;
  381. .header {
  382. margin: 0 10px;
  383. border-bottom: 2px solid #252932;
  384. height: 64px;
  385. display: flex;
  386. flex-direction: row;
  387. justify-content: flex-end;
  388. align-items: center;
  389. .save {
  390. padding: 5px 10px;
  391. cursor: pointer;
  392. font-size: 14px;
  393. border: 1px solid #e3e3e3;
  394. }
  395. }
  396. .content {
  397. flex: 1;
  398. overflow-x: hidden;
  399. overflow-y: scroll;
  400. section {
  401. margin: 30px 0;
  402. float: left;
  403. width: 500px;
  404. display: flex;
  405. flex-direction: column;
  406. ul {
  407. display: flex;
  408. flex-direction: row;
  409. justify-content: center;
  410. li {
  411. position: relative;
  412. padding: 5px 0;
  413. text-align: center;
  414. input {
  415. margin: 0 20px;
  416. width: 160px;
  417. border-radius: 5px;
  418. background-color: #1c1c20;
  419. border: 1px solid #ffe;
  420. text-align: center;
  421. }
  422. &.item1 {
  423. width: 100px;
  424. }
  425. &.item2 {
  426. width: 200px;
  427. }
  428. &.item3 {
  429. width: 200px;
  430. }
  431. &.sb-name:before {
  432. top: 8px;
  433. border: 8px solid transparent;
  434. border-left-color: #36c0cd;
  435. content: ' ';
  436. height: 0;
  437. left: 80%;
  438. position: absolute;
  439. width: 0;
  440. }
  441. }
  442. &.title {
  443. li.item2, li.item3 {
  444. font-size: 18px;
  445. }
  446. }
  447. }
  448. }
  449. }
  450. }
  451. }
  452. .nav2-qk ul {
  453. margin-top: -80%;
  454. }
  455. ::-webkit-scrollbar {
  456. width: 12px;
  457. }
  458. ::-webkit-scrollbar-track {
  459. box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  460. border-radius: 10px;
  461. background-color: rgba(50, 50, 51, 0.6);
  462. }
  463. ::-webkit-scrollbar-thumb {
  464. border-radius: 10px;
  465. background: rgba(141, 135, 135, 0.6);
  466. -webkit-box-shadow: inset 0 0 6px rgba(141, 135, 135, 0.6);
  467. }