dark.scss 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839
  1. $primary-dark-color: #409EFF;
  2. $primary-dark-background-color: #18222c;
  3. html.dark{
  4. .FormMaking{
  5. background: #141414;
  6. border: 1px solid #414243;
  7. color: #E5EAF3;
  8. &>.el-container{
  9. background: #141414;
  10. }
  11. footer{
  12. border-top: 1px solid #414243;
  13. background: #0A0A0A;
  14. a{
  15. color: $primary-dark-color;
  16. }
  17. }
  18. }
  19. .center-container{
  20. border-left: 1px solid #414243;
  21. border-right: 1px solid #414243;
  22. .btn-bar{
  23. border-bottom: solid 2px #414243;
  24. .btn-diviler{
  25. background: #363637;
  26. }
  27. .btn-bar-action{
  28. a{
  29. color: #CFD3DC;
  30. &.disabled{
  31. color: #6C6E72;
  32. &:hover{
  33. color: #6C6E72;
  34. }
  35. }
  36. &:hover{
  37. color: #E5EAF3;
  38. }
  39. }
  40. }
  41. .btn-bar-plat{
  42. a{
  43. color: #CFD3DC;
  44. &.active{
  45. background: #424243;
  46. color: $primary-dark-color;
  47. }
  48. }
  49. }
  50. }
  51. .el-main{
  52. background: #0a0a0a;
  53. }
  54. }
  55. .components-list{
  56. .form-edit-widget-label{
  57. color: #E5EAF3;
  58. border: 1px solid #2b2b2c;
  59. a{
  60. color: #E5EAF3;
  61. }
  62. &:hover{
  63. color: $primary-dark-color;
  64. border: 1px dashed $primary-dark-color;
  65. a{
  66. color: $primary-dark-color;
  67. }
  68. }
  69. &>a{
  70. background: #262727;
  71. border: 1px solid #262727;
  72. }
  73. }
  74. }
  75. .fm-generate-preview{
  76. box-shadow: #0a0a0a 0 4px 12px;
  77. height: 100%;
  78. overflow: auto;
  79. }
  80. .widget-form-container{
  81. &.pc{
  82. background: #0a0a0a;
  83. box-shadow: #0a0a0a 0 4px 12px;
  84. }
  85. &.mobile{
  86. background: #0a0a0a;
  87. box-shadow: #0a0a0a 0 4px 12px;
  88. }
  89. &.pad{
  90. background: #0a0a0a;
  91. box-shadow: #0a0a0a 0 4px 12px;
  92. }
  93. .form-empty{
  94. color: #6C6E72;
  95. }
  96. form{
  97. background: #141414;
  98. >div{
  99. min-height: 100%;
  100. height: 100%;
  101. }
  102. }
  103. .widget-form-list{
  104. .widget-empty{
  105. color: rgba(255,255,255,0.15);
  106. }
  107. .widget-col-list{
  108. border: 2px inset rgba(255,255,255,0.1);
  109. background: #141414;
  110. }
  111. .widget-inline-list{
  112. .ghost{
  113. background: #F56C6C;
  114. border: 2px solid #F56C6C;
  115. &::after{
  116. background: #F56C6C;
  117. }
  118. }
  119. }
  120. .widget-view{
  121. border: 1px dashed rgba(85,85,85,0.5);
  122. // border: 1px dashed transparent;
  123. background-color: rgba(19, 10, 0, .3);
  124. &.is_req{
  125. .el-form-item__label::before{
  126. color: #f56c6c;
  127. }
  128. }
  129. &.is_hidden{
  130. background: #2b1d1d;
  131. }
  132. .widget-view-description{
  133. color:#A3A6AD;
  134. }
  135. .widget-view-action{
  136. i{
  137. color: #1D1D1D;
  138. font-weight: 500;
  139. }
  140. }
  141. .widget-view-drag{
  142. background: $primary-dark-color;
  143. i{
  144. color: #1D1D1D;
  145. font-weight: 500;
  146. }
  147. }
  148. &.is-hover{
  149. background: $primary-dark-background-color;
  150. outline: 1px solid $primary-dark-color;
  151. &.active{
  152. outline: 2px solid $primary-dark-color;
  153. border: 1px solid $primary-dark-color;
  154. }
  155. }
  156. &.active{
  157. outline: 2px solid $primary-dark-color;
  158. border: 1px solid $primary-dark-color;
  159. }
  160. &.ghost{
  161. background: #F56C6C;
  162. border: 2px solid #F56C6C;
  163. }
  164. }
  165. .widget-subform{
  166. background-color: rgba(2,9,19, .3);
  167. box-sizing: border-box;
  168. .widget-subform-wrapper{
  169. background: #141414;
  170. .subform-empty{
  171. color: rgba(255,255,255,0.15);
  172. }
  173. }
  174. &.active{
  175. outline: 2px solid #e6a23c;
  176. border: 1px solid #e6a23c;
  177. }
  178. &.is-hover{
  179. background: #292218;
  180. outline: 1px solid #e6a23c;
  181. &.active{
  182. outline: 2px solid #e6a23c;
  183. border: 1px solid #e6a23c;
  184. }
  185. }
  186. .widget-view-action.widget-subform-action{
  187. background: #e6a23c;
  188. }
  189. .widget-view-drag.widget-subform-drag{
  190. background: #e6a23c;
  191. }
  192. &.ghost{
  193. background: #F56C6C;
  194. &::after{
  195. background: #F56C6C;
  196. }
  197. }
  198. }
  199. .widget-inline{
  200. background-color: rgba(2,9,19, .3);
  201. .widget-inline-content{
  202. border: 2px inset rgba(255,255,255,0.1);
  203. background: #141414;
  204. .table-empty{
  205. color: rgba(255,255,255,0.15);
  206. }
  207. }
  208. &.active{
  209. outline: 2px solid #e6a23c;
  210. border: 1px solid #e6a23c;
  211. }
  212. &.is-hover{
  213. background: #292218;
  214. outline: 1px solid #e6a23c;
  215. &.active{
  216. outline: 2px solid #e6a23c;
  217. border: 1px solid #e6a23c;
  218. }
  219. }
  220. .widget-view-action.widget-inline-action{
  221. background: #e6a23c;
  222. }
  223. .widget-view-drag.widget-inline-drag{
  224. background: #e6a23c;
  225. }
  226. &.ghost{
  227. background: #F56C6C;
  228. &::after{
  229. background: #F56C6C;
  230. }
  231. }
  232. }
  233. .widget-table{
  234. background-color: rgba(2,9,19, .3);
  235. .widget-table-wrapper{
  236. background: #141414;
  237. &.mobile{
  238. border: 1px solid #262727;
  239. background: #262727;
  240. .widget-table-top{
  241. background: #262727;
  242. border-bottom: 1px solid #262727;
  243. }
  244. }
  245. .widget-table-left{
  246. border-left: 1px solid #363637;
  247. border-right: 1px solid #363637;
  248. border-top: 1px solid #363637;
  249. .widget-table-left__top{
  250. border-bottom: 1px solid #363637;
  251. }
  252. .widget-table-left__body{
  253. border-bottom: 1px solid #363637;
  254. }
  255. }
  256. .widget-table-view{
  257. border: 1px solid #363637;
  258. .el-table th.required>div::before{
  259. color: #f56c6c;
  260. }
  261. &.is_req{
  262. .el-form-item__label::before{
  263. color: #f56c6c;
  264. }
  265. }
  266. &.is_hidden{
  267. th,td{
  268. background: #2b1d1d;
  269. }
  270. }
  271. .widget-view-description{
  272. color:#A3A6AD;
  273. }
  274. .widget-view-action{
  275. background: $primary-dark-color;
  276. i{
  277. color: #1D1D1D;
  278. font-weight: 500;
  279. }
  280. }
  281. .widget-view-drag{
  282. background: $primary-dark-color;
  283. i{
  284. color: #1D1D1D;
  285. font-weight: 500;
  286. }
  287. }
  288. &.is-hover{
  289. background: $primary-dark-background-color;
  290. outline: 1px solid $primary-dark-color;
  291. &.active{
  292. border: 1px solid $primary-dark-color;
  293. outline: 1px solid $primary-dark-color;
  294. }
  295. }
  296. &.active{
  297. outline: 1px solid $primary-dark-color;
  298. border: 1px solid $primary-dark-color;
  299. }
  300. &.mobile{
  301. border: 1px dashed rgba(85,85,85,0.5);
  302. &.is_hidden{
  303. background: #2b1d1d;
  304. }
  305. }
  306. }
  307. .widget-table-content{
  308. border: 2px inset rgba(255,255,255,0.1);
  309. background: #141414;
  310. .table-empty{
  311. color: rgba(255,255,255,0.15);
  312. }
  313. .widget-table-col{
  314. .ghost{
  315. background: #F56C6C;
  316. border: 2px solid #F56C6C;
  317. &::after{
  318. background: #F56C6C;
  319. }
  320. }
  321. }
  322. &.mobile{
  323. .widget-table-col{
  324. .ghost{
  325. background: #F56C6C;
  326. border: 2px solid #F56C6C;
  327. &::after{
  328. background: #F56C6C;
  329. }
  330. }
  331. }
  332. }
  333. }
  334. }
  335. &.active{
  336. outline: 2px solid #e6a23c;
  337. border: 1px solid #e6a23c;
  338. }
  339. &.is-hover{
  340. background: #292218;
  341. outline: 1px solid #e6a23c;
  342. &.active{
  343. outline: 2px solid #e6a23c;
  344. border: 1px solid #e6a23c;
  345. }
  346. }
  347. .widget-view-action.widget-col-action{
  348. background: #e6a23c;
  349. }
  350. .widget-view-drag.widget-col-drag{
  351. background: #e6a23c;
  352. }
  353. &.ghost{
  354. background: #F56C6C;
  355. &::after{
  356. background: #F56C6C;
  357. }
  358. }
  359. }
  360. .widget-report-item{
  361. background-color: rgba(2,9,19, .3);
  362. &.active{
  363. outline: 2px solid #e6a23c;
  364. border: 1px solid #e6a23c;
  365. }
  366. &.is-hover{
  367. background: #292218;
  368. outline: 1px solid #e6a23c;
  369. border: 1px solid #e6a23c;
  370. &.active{
  371. outline: 2px solid #e6a23c;
  372. border: 1px solid #e6a23c;
  373. }
  374. }
  375. }
  376. .widget-report{
  377. background-color: rgba(2,9,19, .3);
  378. &.active{
  379. outline: 2px solid #e6a23c;
  380. border: 1px solid #e6a23c;
  381. }
  382. &.is-hover{
  383. background: #292218;
  384. outline: 1px solid #e6a23c;
  385. &.active{
  386. outline: 2px solid #e6a23c;
  387. border: 1px solid #e6a23c;
  388. }
  389. }
  390. &.ghost{
  391. background: #F56C6C;
  392. border: 2px solid #F56C6C;
  393. }
  394. .widget-view-action.widget-col-action{
  395. background: #e6a23c;
  396. .el-dropdown-link::selection{
  397. background: #e6a23c !important;
  398. }
  399. }
  400. .widget-view-drag.widget-col-drag{
  401. background: #e6a23c;
  402. }
  403. }
  404. .widget-tab{
  405. background-color: rgba(2,9,19, .3);
  406. &.active{
  407. outline: 2px solid #e6a23c;
  408. border: 1px solid #e6a23c;
  409. }
  410. &.is-hover{
  411. background: #292218;
  412. outline: 1px solid #e6a23c;
  413. &.active{
  414. outline: 2px solid #e6a23c;
  415. border: 1px solid #e6a23c;
  416. }
  417. }
  418. &.ghost{
  419. background: #F56C6C;
  420. border: 2px solid #F56C6C;
  421. }
  422. .widget-view-action.widget-col-action{
  423. background: #e6a23c;
  424. }
  425. .widget-view-drag.widget-col-drag{
  426. background: #e6a23c;
  427. }
  428. }
  429. .widget-collapse{
  430. background-color: rgba(2,9,19, .3);
  431. &.active{
  432. outline: 2px solid #e6a23c;
  433. border: 1px solid #e6a23c;
  434. }
  435. &.is-hover{
  436. background: #292218;
  437. outline: 1px solid #e6a23c;
  438. &.active{
  439. outline: 2px solid #e6a23c;
  440. border: 1px solid #e6a23c;
  441. }
  442. }
  443. &.ghost{
  444. background: #F56C6C;
  445. border: 2px solid #F56C6C;
  446. }
  447. .widget-view-action.widget-col-action{
  448. background: #e6a23c;
  449. }
  450. .widget-view-drag.widget-col-drag{
  451. background: #e6a23c;
  452. }
  453. }
  454. .widget-dialog{
  455. background-color: rgba(2,9,19, .3);
  456. &.active{
  457. outline: 2px solid #e6a23c;
  458. border: 1px solid #e6a23c;
  459. }
  460. &.is-hover{
  461. background: #292218;
  462. outline: 1px solid #e6a23c;
  463. &.active{
  464. outline: 2px solid #e6a23c;
  465. border: 1px solid #e6a23c;
  466. }
  467. }
  468. &.ghost{
  469. background: #F56C6C;
  470. border: 2px solid #F56C6C;
  471. }
  472. .widget-view-action.widget-col-action{
  473. background: #e6a23c;
  474. }
  475. .widget-view-drag.widget-subform-drag{
  476. background: #e6a23c;
  477. }
  478. }
  479. .widget-card{
  480. background-color: rgba(2,9,19, .3);
  481. &.active{
  482. outline: 2px solid #e6a23c;
  483. border: 1px solid #e6a23c;
  484. }
  485. &.is-hover{
  486. background: #292218;
  487. outline: 1px solid #e6a23c;
  488. &.active{
  489. outline: 2px solid #e6a23c;
  490. border: 1px solid #e6a23c;
  491. }
  492. }
  493. &.ghost{
  494. background: #F56C6C;
  495. border: 2px solid #F56C6C;
  496. }
  497. .widget-view-action.widget-col-action{
  498. background: #e6a23c;
  499. }
  500. .widget-view-drag.widget-subform-drag{
  501. background: #e6a23c;
  502. }
  503. }
  504. .widget-group{
  505. background-color: rgba(2,9,19, .3);
  506. &.active{
  507. outline: 2px solid #e6a23c;
  508. border: 1px solid #e6a23c;
  509. }
  510. &.is-hover{
  511. background: #292218;
  512. outline: 1px solid #e6a23c;
  513. &.active{
  514. outline: 2px solid #e6a23c;
  515. border: 1px solid #e6a23c;
  516. }
  517. }
  518. &.ghost{
  519. background: #F56C6C;
  520. border: 2px solid #F56C6C;
  521. }
  522. .widget-view-action.widget-col-action{
  523. background: #e6a23c;
  524. }
  525. .widget-view-drag.widget-subform-drag{
  526. background: #e6a23c;
  527. }
  528. }
  529. .widget-col{
  530. background-color: rgba(2,9,19, .3);
  531. &.active{
  532. outline: 2px solid #e6a23c;
  533. border: 1px solid #e6a23c;
  534. }
  535. &.is-hover{
  536. background: #292218;
  537. outline: 1px solid #e6a23c;
  538. &.active{
  539. outline: 2px solid #e6a23c;
  540. border: 1px solid #e6a23c;
  541. }
  542. }
  543. &.ghost{
  544. background: #F56C6C;
  545. border: 2px solid #F56C6C;
  546. }
  547. .widget-view-action.widget-col-action{
  548. background: #e6a23c;
  549. }
  550. .widget-view-drag.widget-col-drag{
  551. background: #e6a23c;
  552. }
  553. }
  554. .widget-col-item{
  555. border: 1px dashed rgba(85,85,85,0.5);
  556. &.active{
  557. outline: 2px solid #e6a23c;
  558. border: 1px solid #e6a23c;
  559. }
  560. &.is-hover{
  561. background: #292218;
  562. outline: 1px solid #e6a23c;
  563. &.active{
  564. outline: 2px solid #e6a23c;
  565. border: 1px solid #e6a23c;
  566. }
  567. }
  568. }
  569. .ghost{
  570. background: #F56C6C;
  571. border: 2px solid #F56C6C;
  572. }
  573. }
  574. .ghost{
  575. background: #F56C6C;
  576. border: 2px solid #F56C6C;
  577. &::after{
  578. background: #F56C6C;
  579. }
  580. }
  581. .widget-grid{
  582. background: #2b2b2c;
  583. &.active{
  584. border-left: 5px solid $primary-dark-color;
  585. background: #b3d8ff;
  586. }
  587. }
  588. .widget-grid-container{
  589. &.ghost{
  590. background: #F56C6C;
  591. border: 2px solid #F56C6C;
  592. }
  593. }
  594. .ghost{
  595. background: #F56C6C;
  596. border: 2px solid #F56C6C;
  597. &::after{
  598. background: #F56C6C;
  599. }
  600. }
  601. }
  602. .widget-left-panel{
  603. .container-left-arrow{
  604. &::before{
  605. border-color: #414243;
  606. background: #141414;
  607. }
  608. &::after{
  609. border-right-color: #a1a6b3;
  610. }
  611. }
  612. }
  613. .widget-config-container{
  614. .container-right-arrow{
  615. &::before{
  616. border-color: #414243;
  617. background: #141414;
  618. }
  619. &::after{
  620. border-right-color: #a1a6b3;
  621. }
  622. }
  623. .el-header{
  624. border-bottom: solid 2px #414243;
  625. }
  626. .config-tab{
  627. &.active{
  628. border-bottom: solid 2px $primary-dark-color;
  629. }
  630. }
  631. .config-content{
  632. .empty{
  633. color: #6C6E72;
  634. }
  635. .el-form-item {
  636. border-bottom: solid 1px #414243;
  637. }
  638. .drag-item-bk{
  639. background: #262727;
  640. }
  641. }
  642. .ghost{
  643. background: #141414;
  644. border: 1px dashed $primary-dark-color;
  645. &::after{
  646. background: #141414;
  647. }
  648. }
  649. }
  650. }