index.scss 40 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147
  1. @use 'mobile';
  2. $primary-color: #409EFF;
  3. $primary-background-color: #ecf5ff;
  4. *, :after, :before {
  5. -webkit-box-sizing: border-box;
  6. -moz-box-sizing: border-box;
  7. box-sizing: border-box;
  8. }
  9. .fa-icon{
  10. width: auto;
  11. height: 1em; /* 或任意其它字体大小相对值 */
  12. /* 要在 Safari 中正常工作,需要再引入如下两行代码 */
  13. max-width: 100%;
  14. max-height: 100%;
  15. vertical-align: middle;
  16. }
  17. .FormMaking{
  18. background: #fff;
  19. height: 100%;
  20. border: 1px solid #e0e0e0;
  21. min-width: 1000px;
  22. &.is-fullscreen{
  23. position: fixed;
  24. top: 0;
  25. bottom: 0;
  26. left: 0;
  27. right: 0;
  28. height: 100% !important;
  29. width: 100% !important;
  30. }
  31. &.fm-form{
  32. padding: 0;
  33. }
  34. .el-container{
  35. height: 100% !important;
  36. }
  37. &>.el-container{
  38. background: #fff;
  39. }
  40. .FormMaking-main{
  41. position: relative;
  42. overflow: hidden;
  43. &>.el-container{
  44. position: absolute;
  45. top: 0;
  46. bottom: 0;
  47. left: 0;
  48. right: 0;
  49. }
  50. }
  51. main{
  52. padding: 0;
  53. }
  54. footer{
  55. height: 30px;
  56. line-height: 30px;
  57. border-top: 1px solid #e0e0e0;
  58. font-size: 12px;
  59. text-align: right;
  60. color: $primary-color;
  61. background: #fafafa;
  62. a{
  63. color: $primary-color;
  64. }
  65. }
  66. .left-tabs{
  67. height: 100%;
  68. .el-tabs__header{
  69. height: 45px;
  70. // border-bottom: solid 2px #e4e7ed;
  71. margin: 0;
  72. .fm-iconfont{
  73. font-size: 20px;
  74. }
  75. }
  76. .el-tabs__content{
  77. height: calc(100% - 45px);
  78. .el-tab-pane{
  79. height: 100%;
  80. }
  81. }
  82. >.el-tabs__header .el-tabs__nav{
  83. border: 0;
  84. }
  85. >.el-tabs__header .el-tabs__item{
  86. border: 0;
  87. height: 45px;
  88. line-height: 45px;
  89. padding: 0 0 0 12px;
  90. .el-tooltip__trigger{
  91. height: 30px;
  92. line-height: 30px;
  93. display: inline-block;
  94. vertical-align: middle;
  95. }
  96. }
  97. }
  98. }
  99. .fm-report-table__wrapper{
  100. overflow: auto;
  101. .form-table{
  102. margin: -5px;
  103. }
  104. .antd-form-table{
  105. margin: -5px;
  106. }
  107. .form-subform{
  108. margin: -6px;
  109. }
  110. .form-subform-item{
  111. padding: 0;
  112. +.form-subform-item{
  113. margin-top: -1px;
  114. }
  115. }
  116. .fm-report-table__wrapper{
  117. margin: -6px;
  118. }
  119. +.fm-report-table__wrapper{
  120. margin-top: -1px;
  121. }
  122. }
  123. .fm-report-table__table{
  124. border-top-style: solid;
  125. border-left-style: solid;
  126. // width: 100%;
  127. table-layout: fixed;
  128. border-collapse: collapse;
  129. // margin-bottom: 18px;
  130. .fm-report-table__td {
  131. border-bottom-style: solid;
  132. border-right-style: solid;
  133. padding: 5px;
  134. .el-form-item:not(.is-error){
  135. margin-bottom: 0;
  136. }
  137. .ant-form-item{
  138. margin-bottom: 0;
  139. }
  140. .form-table{
  141. .el-form-item:not(.is-error){
  142. margin-bottom: 18px;
  143. }
  144. .el-form-item--medium{
  145. &.el-form-item:not(.is-error){
  146. margin-bottom: 22px;
  147. }
  148. }
  149. }
  150. }
  151. }
  152. .center-container{
  153. border-left: 1px solid #e0e0e0;
  154. border-right: 1px solid #e0e0e0;
  155. .btn-bar{
  156. height: 45px;
  157. line-height: 45px;
  158. font-size: 18px;
  159. border-bottom: solid 2px #e4e7ed;
  160. text-align: right;
  161. &.el-header{
  162. padding: 0 10px;
  163. }
  164. .btn-diviler{
  165. height: 25px;
  166. float: left;
  167. width: 1px;
  168. background: #eee;
  169. margin: 10px;
  170. }
  171. .btn-bar-action{
  172. height: 45px;
  173. line-height: 45px;
  174. font-size: 24px;
  175. float: left;
  176. a{
  177. width: 30px;
  178. height: 30px;
  179. color: #666;
  180. display: inline-block;
  181. text-align: center;
  182. // vertical-align: middle;
  183. line-height: 30px;
  184. border-radius: 3px;
  185. margin-right: 5px;
  186. &.disabled{
  187. color: #ccc;
  188. cursor: not-allowed;
  189. &:hover{
  190. color: #ccc;
  191. }
  192. }
  193. &:hover{
  194. color: black;
  195. }
  196. .fm-iconfont{
  197. font-size: 20px;
  198. }
  199. }
  200. }
  201. .btn-bar-plat{
  202. height: 45px;
  203. line-height: 45px;
  204. font-size: 24px;
  205. float: left;
  206. a{
  207. width: 30px;
  208. height: 30px;
  209. color: #666;
  210. display: inline-block;
  211. text-align: center;
  212. // vertical-align: middle;
  213. line-height: 30px;
  214. border-radius: 3px;
  215. margin-right: 5px;
  216. &.active{
  217. background: #e4e7ed;
  218. color: $primary-color;
  219. }
  220. .fm-iconfont{
  221. font-size: 20px;
  222. }
  223. }
  224. }
  225. }
  226. .el-main{
  227. padding: 0;
  228. position: relative;
  229. background: #fafafa;
  230. }
  231. }
  232. .components-list{
  233. padding: 0;
  234. margin: -1px 0;
  235. width: 100%;
  236. height: calc(100% + 2px);
  237. overflow-y: auto;
  238. .widget-cate{
  239. padding: 8px 12px;
  240. font-size: 13px;
  241. }
  242. .el-collapse-item__header{
  243. padding: 8px 12px;
  244. }
  245. .el-collapse-item__content{
  246. padding-bottom: 0;
  247. }
  248. ul{
  249. position: relative;
  250. overflow: hidden;
  251. padding: 0 10px 10px;
  252. margin: 0;
  253. }
  254. .form-edit-widget-label{
  255. font-size: 12px;
  256. display: block;
  257. width: 46%;
  258. line-height: 26px;
  259. position: relative;
  260. float: left;
  261. left: 0;
  262. overflow: hidden;
  263. text-overflow: ellipsis;
  264. white-space: nowrap;
  265. margin: 2%;
  266. color: #333;
  267. border: 1px solid #ebeef5;
  268. a{
  269. color: #333;
  270. }
  271. &:hover{
  272. color: $primary-color;
  273. border: 1px dashed $primary-color;
  274. a{
  275. color: $primary-color;
  276. }
  277. }
  278. &>a{
  279. display: block;
  280. cursor: move;
  281. background: #F4F6FC;
  282. border: 1px solid #F4F6FC;
  283. .icon{
  284. margin-right: 6px;
  285. margin-left: 6px;
  286. font-size: 14px;
  287. display: inline-block;
  288. vertical-align: middle;
  289. &.custom > span {
  290. width: 14px;
  291. height: 14px;
  292. margin-top: -2px;
  293. vertical-align: middle;
  294. > * {
  295. vertical-align: top;
  296. width: 100%;
  297. height: 100%;
  298. }
  299. }
  300. }
  301. span{
  302. display: inline-block;
  303. vertical-align: middle;
  304. }
  305. }
  306. }
  307. }
  308. .fm-form{
  309. padding: 10px;
  310. }
  311. .fm-generate-preview-container{
  312. .fm-form{
  313. margin: 0 auto;
  314. }
  315. .el-dialog{
  316. display: flex;
  317. flex-direction: column;
  318. .el-dialog__body{
  319. height: calc(100% - 130px);
  320. }
  321. }
  322. }
  323. .fm-generate-preview{
  324. box-shadow: #ebedf0 0 4px 12px;
  325. height: 100%;
  326. overflow: auto;
  327. &.pc{
  328. border-radius: 0px;
  329. }
  330. &.mobile{
  331. width: 375px;
  332. margin: auto;
  333. border-radius: 12px;
  334. @include mobile.mobileRender;
  335. }
  336. &.pad{
  337. width: 770px;
  338. margin: auto;
  339. border-radius: 5px;
  340. }
  341. }
  342. .widget-form-container{
  343. position: absolute;
  344. overflow-x: auto;
  345. &.pc{
  346. border: 0;
  347. background: #fafafa;
  348. border-radius: 0px;
  349. box-shadow: #ebedf0 0 4px 12px;
  350. top: 10px;
  351. left: 16px;
  352. right: 16px;
  353. bottom: 10px;
  354. }
  355. &.mobile{
  356. width: 375px;
  357. margin: auto;
  358. border: 0;
  359. background: #fafafa;
  360. border-radius: 12px;
  361. box-shadow: #ebedf0 0 4px 12px;
  362. top: 10px;
  363. left: 16px;
  364. right: 16px;
  365. bottom: 10px;
  366. @include mobile.mobileRender;
  367. }
  368. &.pad{
  369. width: 770px;
  370. margin: auto;
  371. border: 0;
  372. background: #fafafa;
  373. border-radius: 5px;
  374. box-shadow: #ebedf0 0 4px 12px;
  375. top: 10px;
  376. left: 16px;
  377. right: 16px;
  378. bottom: 10px;
  379. }
  380. .form-empty{
  381. position: absolute;
  382. text-align: center;
  383. width: 300px;
  384. height: 30px !important;
  385. min-height: 30px !important;
  386. font-size: 20px;
  387. top: 50%;
  388. width: 100%;
  389. margin-top: -10px;
  390. color: #ccc;
  391. }
  392. .widget-form-wrapper{
  393. >div{
  394. height: 100%;
  395. }
  396. }
  397. form{
  398. min-height: 100%;
  399. height: 100%;
  400. background: #fff;
  401. // border: 2px inset rgba(0,0,0,0.1);
  402. position: relative;
  403. >div{
  404. min-height: 100%;
  405. height: 100%;
  406. overflow: auto;
  407. }
  408. }
  409. .widget-form-draggable{
  410. min-height: 100%;
  411. height: 100%;
  412. }
  413. .widget-form-list{
  414. min-height: 100%;
  415. padding-bottom: 50px;
  416. .widget-empty{
  417. position: absolute;
  418. text-align: center;
  419. width: 300px;
  420. height: 20px;
  421. font-size: 16px;
  422. top: 15px;
  423. left: 50%;
  424. margin-left: -150px;
  425. color: rgba(0,0,0,0.15);
  426. }
  427. .widget-view-model{
  428. position: absolute;
  429. // top: -8px;
  430. top: 2px;
  431. right: 3px;
  432. font-size: 12px;
  433. color: #67C23A;
  434. opacity: 0;
  435. z-index: 8;
  436. font-weight: 500;
  437. line-height: 22px;
  438. }
  439. .widget-view-type{
  440. position: absolute;
  441. left: 0;
  442. top: 0;
  443. padding: 2px 5px;
  444. line-height: 22px;
  445. background: $primary-color;
  446. z-index: 10;
  447. opacity: 0;
  448. display: none;
  449. color: #fff;
  450. }
  451. .is-hover > .widget-view-type{
  452. opacity: 0.6;
  453. display: inline-block;
  454. }
  455. .is-hover > .widget-view-model{
  456. opacity: 0.6;
  457. display: inline-block;
  458. }
  459. .active > .widget-view-model{
  460. opacity: 0.8;
  461. }
  462. .active >.widget-view-type{
  463. display: none;
  464. }
  465. .widget-col-list{
  466. min-height: 50px;
  467. min-width: 50px;
  468. border: 2px inset rgba(0,0,0,0.1);
  469. background: #fff;
  470. }
  471. .widget-inline-list{
  472. min-height: 50px;
  473. min-width: 50px;
  474. > div{
  475. display: inline-block;
  476. vertical-align: top;
  477. }
  478. > li{
  479. display: inline-block;
  480. vertical-align: top;
  481. }
  482. .ghost{
  483. background: #F56C6C;
  484. border: 2px solid #F56C6C;
  485. position: relative;
  486. content: '';
  487. min-height: 50px;
  488. width: 5px !important;
  489. list-style: none;
  490. font-size: 0;
  491. overflow: hidden;
  492. outline: none;
  493. margin: 2px;
  494. display: inline-block;
  495. &::after{
  496. background: #F56C6C;
  497. position: absolute;
  498. top: 0;
  499. left: 0;
  500. bottom: 0;
  501. right: 0;
  502. z-index: 9999;
  503. content: '';
  504. outline: none;
  505. }
  506. }
  507. }
  508. .widget-view{
  509. // padding-bottom: 18px;
  510. position: relative;
  511. border: 1px dashed rgba(170,170,170,0.5);
  512. // border: 1px dashed transparent;
  513. background-color: rgba(236, 245, 255, .3);
  514. margin: 2px;
  515. overflow: hidden;
  516. min-height: 50px;
  517. min-width: 50px;
  518. .fm-item-tooltip{
  519. font-size: 12px;
  520. color: #909399;
  521. }
  522. .fm-label-wrap{
  523. display: block;
  524. > .el-form-item__content{
  525. margin-left: 0 !important;
  526. }
  527. }
  528. .el-form-item__content{
  529. position: static;
  530. // line-height: 1;
  531. }
  532. &.is_req{
  533. .el-form-item__label::before{
  534. content: '*';
  535. color: #f56c6c;
  536. margin-right: 4px;
  537. }
  538. }
  539. &.is_hidden{
  540. background: #fef0f0;
  541. }
  542. .widget-view-description{
  543. height: 15px;
  544. line-height: 15px;
  545. font-size:13px;
  546. margin-top: 6px;
  547. color:#909399;
  548. }
  549. .widget-view-action{
  550. position: absolute;
  551. right: 0;
  552. bottom: 0;
  553. height: 28px;
  554. line-height: 28px;
  555. background: $primary-color;
  556. z-index: 10;
  557. opacity: 0.6;
  558. &:hover{
  559. opacity: 1;
  560. }
  561. i{
  562. font-size: 14px;
  563. color: #fff;
  564. margin: 0 5px;
  565. cursor: pointer;
  566. }
  567. }
  568. .widget-view-drag{
  569. position: absolute;
  570. left: -2px;
  571. top: -2px;
  572. bottom: -18px;
  573. height: 28px;
  574. line-height: 28px;
  575. background: $primary-color;
  576. z-index: 10;
  577. opacity: 0.6;
  578. &:hover{
  579. opacity: 1;
  580. }
  581. i{
  582. font-size: 14px;
  583. color: #fff;
  584. margin: 0 5px;
  585. cursor: move;
  586. }
  587. }
  588. &::after{
  589. position: absolute;
  590. left: 0;
  591. right: 0;
  592. top: 0;
  593. bottom: 0;
  594. display: block;
  595. z-index: 8;
  596. content: '';
  597. }
  598. &.is-hover{
  599. background: $primary-background-color;
  600. outline: 1px solid $primary-color;
  601. outline-offset: 0px;
  602. &.active{
  603. outline: 2px solid $primary-color;
  604. border: 1px solid $primary-color;
  605. outline-offset: 0;
  606. }
  607. .widget-view-drag{
  608. display: block;
  609. }
  610. }
  611. &.active{
  612. outline: 2px solid $primary-color;
  613. border: 1px solid $primary-color;
  614. }
  615. &.ghost{
  616. background: #F56C6C;
  617. border: 2px solid #F56C6C;
  618. outline-width: 0;
  619. height: 3px;
  620. box-sizing: border-box;
  621. font-size: 0;
  622. content: '';
  623. overflow: hidden;
  624. padding: 0;
  625. margin: 2px;
  626. }
  627. }
  628. .widget-subform{
  629. padding: 5px;
  630. background-color: rgba(253,246,236, .3);
  631. box-sizing: border-box;
  632. .widget-subform-wrapper{
  633. min-height: 50px;
  634. width:100%;
  635. // border: 2px inset rgba(0,0,0,0.1);
  636. // outline: 1px dashed #ccc;
  637. background: #fff;
  638. margin: 0;
  639. overflow: auto;
  640. position: relative;
  641. .subform-empty{
  642. position: absolute;
  643. text-align: center;
  644. width: 300px;
  645. height: 0;
  646. font-size: 16px;
  647. top: 10px;
  648. left: 50%;
  649. margin-left: -150px;
  650. color: rgba(0,0,0,0.15);
  651. z-index: 2;
  652. }
  653. }
  654. &.active{
  655. outline: 2px solid #e6a23c;
  656. border: 1px solid #e6a23c;
  657. }
  658. &.is-hover{
  659. background: #fdf6ec;
  660. outline: 1px solid #e6a23c;
  661. outline-offset: 0px;
  662. &.active{
  663. outline: 2px solid #e6a23c;
  664. border: 1px solid #e6a23c;
  665. outline-offset: 0;
  666. }
  667. >.widget-view-type{
  668. background: #e6a23c;
  669. }
  670. }
  671. .widget-view-action.widget-subform-action{
  672. background: #e6a23c;
  673. }
  674. .widget-view-drag.widget-subform-drag{
  675. background: #e6a23c;
  676. }
  677. &::after{
  678. display: none;
  679. }
  680. &.ghost{
  681. background: #F56C6C;
  682. outline-width: 0;
  683. height: 5px;
  684. min-height: 0px;
  685. box-sizing: border-box;
  686. font-size: 0;
  687. content: '';
  688. overflow: hidden;
  689. padding: 0;
  690. position: relative;
  691. outline: none;
  692. border: 0;
  693. margin: 2px;
  694. &::after{
  695. background: #F56C6C;
  696. position: absolute;
  697. top:0;
  698. left: 0;
  699. right: 0;
  700. bottom: 0;
  701. content: '';
  702. display: block;
  703. z-index: 999;
  704. }
  705. }
  706. }
  707. .widget-dialog{
  708. padding: 5px;
  709. background-color: rgba(253,246,236, .3);
  710. box-sizing: border-box;
  711. .el-dialog{
  712. margin: 0;
  713. }
  714. &.active{
  715. outline: 2px solid #e6a23c;
  716. border: 1px solid #e6a23c;
  717. }
  718. &.is-hover{
  719. background: #fdf6ec;
  720. outline: 1px solid #e6a23c;
  721. outline-offset: 0px;
  722. &.active{
  723. outline: 2px solid #e6a23c;
  724. border: 1px solid #e6a23c;
  725. outline-offset: 0;
  726. }
  727. >.widget-view-type{
  728. background: #e6a23c;
  729. }
  730. }
  731. .widget-view-action.widget-subform-action{
  732. background: #e6a23c;
  733. }
  734. .widget-view-drag.widget-subform-drag{
  735. background: #e6a23c;
  736. }
  737. &::after{
  738. display: none;
  739. }
  740. &.ghost{
  741. background: #F56C6C;
  742. outline-width: 0;
  743. height: 5px;
  744. min-height: 0px;
  745. box-sizing: border-box;
  746. font-size: 0;
  747. content: '';
  748. overflow: hidden;
  749. padding: 0;
  750. position: relative;
  751. outline: none;
  752. border: 0;
  753. margin: 2px;
  754. &::after{
  755. background: #F56C6C;
  756. position: absolute;
  757. top:0;
  758. left: 0;
  759. right: 0;
  760. bottom: 0;
  761. content: '';
  762. display: block;
  763. z-index: 999;
  764. }
  765. }
  766. }
  767. .widget-card{
  768. padding: 5px;
  769. background-color: rgba(253,246,236, .3);
  770. box-sizing: border-box;
  771. &.active{
  772. outline: 2px solid #e6a23c;
  773. border: 1px solid #e6a23c;
  774. }
  775. &.is-hover{
  776. background: #fdf6ec;
  777. outline: 1px solid #e6a23c;
  778. outline-offset: 0px;
  779. &.active{
  780. outline: 2px solid #e6a23c;
  781. border: 1px solid #e6a23c;
  782. outline-offset: 0;
  783. }
  784. >.widget-view-type{
  785. background: #e6a23c;
  786. }
  787. }
  788. .widget-view-action.widget-subform-action{
  789. background: #e6a23c;
  790. }
  791. .widget-view-drag.widget-subform-drag{
  792. background: #e6a23c;
  793. }
  794. &::after{
  795. display: none;
  796. }
  797. &.ghost{
  798. background: #F56C6C;
  799. outline-width: 0;
  800. height: 5px;
  801. min-height: 0px;
  802. box-sizing: border-box;
  803. font-size: 0;
  804. content: '';
  805. overflow: hidden;
  806. padding: 0;
  807. position: relative;
  808. outline: none;
  809. border: 0;
  810. margin: 2px;
  811. &::after{
  812. background: #F56C6C;
  813. position: absolute;
  814. top:0;
  815. left: 0;
  816. right: 0;
  817. bottom: 0;
  818. content: '';
  819. display: block;
  820. z-index: 999;
  821. }
  822. }
  823. }
  824. .widget-group{
  825. padding: 5px;
  826. background-color: rgba(253,246,236, .3);
  827. box-sizing: border-box;
  828. &.active{
  829. outline: 2px solid #e6a23c;
  830. border: 1px solid #e6a23c;
  831. }
  832. &.is-hover{
  833. background: #fdf6ec;
  834. outline: 1px solid #e6a23c;
  835. outline-offset: 0px;
  836. &.active{
  837. outline: 2px solid #e6a23c;
  838. border: 1px solid #e6a23c;
  839. outline-offset: 0;
  840. }
  841. >.widget-view-type{
  842. background: #e6a23c;
  843. }
  844. }
  845. .widget-view-action.widget-subform-action{
  846. background: #e6a23c;
  847. }
  848. .widget-view-drag.widget-subform-drag{
  849. background: #e6a23c;
  850. }
  851. &::after{
  852. display: none;
  853. }
  854. &.ghost{
  855. background: #F56C6C;
  856. outline-width: 0;
  857. height: 5px;
  858. min-height: 0px;
  859. box-sizing: border-box;
  860. font-size: 0;
  861. content: '';
  862. overflow: hidden;
  863. padding: 0;
  864. position: relative;
  865. outline: none;
  866. border: 0;
  867. margin: 2px;
  868. &::after{
  869. background: #F56C6C;
  870. position: absolute;
  871. top:0;
  872. left: 0;
  873. right: 0;
  874. bottom: 0;
  875. content: '';
  876. display: block;
  877. z-index: 999;
  878. }
  879. }
  880. }
  881. .widget-inline{
  882. padding: 5px;
  883. background-color: rgba(253,246,236, .3);
  884. .widget-inline-content{
  885. min-height: 50px;
  886. width:100%;
  887. border: 2px inset rgba(0,0,0,0.1);
  888. // outline: 1px dashed #ccc;
  889. background: #fff;
  890. flex:1;
  891. margin: 0;
  892. overflow: auto;
  893. position: relative;
  894. .table-empty{
  895. position: absolute;
  896. text-align: center;
  897. width: 300px;
  898. height: 0;
  899. font-size: 16px;
  900. top: 10px;
  901. left: 50%;
  902. margin-left: -150px;
  903. color: rgba(0,0,0,0.15);
  904. z-index: 2;
  905. }
  906. }
  907. &.active{
  908. outline: 2px solid #e6a23c;
  909. border: 1px solid #e6a23c;
  910. }
  911. &.is-hover{
  912. background: #fdf6ec;
  913. outline: 1px solid #e6a23c;
  914. outline-offset: 0px;
  915. &.active{
  916. outline: 2px solid #e6a23c;
  917. border: 1px solid #e6a23c;
  918. outline-offset: 0;
  919. }
  920. >.widget-view-type{
  921. background: #e6a23c;
  922. }
  923. }
  924. .widget-view-action.widget-inline-action{
  925. background: #e6a23c;
  926. }
  927. .widget-view-drag.widget-inline-drag{
  928. background: #e6a23c;
  929. }
  930. &::after{
  931. display: none;
  932. }
  933. &.ghost{
  934. background: #F56C6C;
  935. outline-width: 0;
  936. height: 5px;
  937. min-height: 0px;
  938. box-sizing: border-box;
  939. font-size: 0;
  940. content: '';
  941. overflow: hidden;
  942. padding: 0;
  943. position: relative;
  944. outline: none;
  945. border: 0;
  946. margin: 2px;
  947. &::after{
  948. background: #F56C6C;
  949. position: absolute;
  950. top:0;
  951. left: 0;
  952. right: 0;
  953. bottom: 0;
  954. content: '';
  955. display: block;
  956. z-index: 999;
  957. }
  958. }
  959. }
  960. .widget-table{
  961. padding-bottom: 0;
  962. padding: 5px;
  963. background-color: rgba(253,246,236, .3);
  964. .widget-table-wrapper{
  965. min-height: 50px;
  966. background: #fff;
  967. display: flex;
  968. justify-content: flex-start;
  969. &.mobile{
  970. display: block;
  971. border: 1px solid #EBEEF5;
  972. background: #f5f7fa;
  973. .widget-table-top{
  974. height: 36px;
  975. line-height: 36px;
  976. padding: 0 10px;
  977. background: #f5f7fa;
  978. border-bottom: 1px solid #EBEEF5;
  979. font-weight: 500;
  980. }
  981. }
  982. .widget-table-row{
  983. td{
  984. border-bottom: 0;
  985. }
  986. }
  987. .widget-table-left{
  988. width: 51px;
  989. border-left: 1px solid #EBEEF5;
  990. border-right: 1px solid #EBEEF5;
  991. border-top: 1px solid #EBEEF5;
  992. flex: none;
  993. overflow: hidden;
  994. .el-table__body-wrapper{
  995. overflow: hidden;
  996. }
  997. .el-table__fixed{
  998. min-height: 88px !important;
  999. }
  1000. }
  1001. .widget-table-view{
  1002. border: 1px solid #EBEEF5;
  1003. width: 200px;
  1004. height: 100%;
  1005. position: relative;
  1006. display: block;
  1007. .el-table{
  1008. height: 100%;
  1009. }
  1010. .el-table th.required>div::before{
  1011. content: '*';
  1012. color: #f56c6c;
  1013. margin-right: 4px;
  1014. background: transparent;
  1015. vertical-align: top;
  1016. }
  1017. &.is_req{
  1018. .el-form-item__label::before{
  1019. content: '*';
  1020. color: #f56c6c;
  1021. margin-right: 4px;
  1022. }
  1023. }
  1024. &.is_hidden{
  1025. th,td{
  1026. background: #fef0f0;
  1027. }
  1028. }
  1029. .widget-view-description{
  1030. height: 15px;
  1031. line-height: 15px;
  1032. font-size:13px;
  1033. margin-top: 6px;
  1034. color:#909399;
  1035. }
  1036. .widget-view-action{
  1037. position: absolute;
  1038. right: 0;
  1039. bottom: 0;
  1040. height: 28px;
  1041. line-height: 28px;
  1042. background: $primary-color;
  1043. z-index: 10;
  1044. opacity: 0.6;
  1045. &:hover{
  1046. opacity: 1;
  1047. }
  1048. i{
  1049. font-size: 14px;
  1050. color: #fff;
  1051. margin: 0 5px;
  1052. cursor: pointer;
  1053. }
  1054. }
  1055. .widget-view-drag{
  1056. position: absolute;
  1057. left: -2px;
  1058. top: -2px;
  1059. bottom: -18px;
  1060. height: 28px;
  1061. line-height: 28px;
  1062. background: $primary-color;
  1063. z-index: 9;
  1064. // display: none;
  1065. i{
  1066. font-size: 14px;
  1067. color: #fff;
  1068. margin: 0 5px;
  1069. cursor: move;
  1070. }
  1071. }
  1072. &::after{
  1073. position: absolute;
  1074. left: 0;
  1075. right: 0;
  1076. top: 0;
  1077. bottom: 0;
  1078. display: block;
  1079. content: '';
  1080. }
  1081. &::before{
  1082. display: none;
  1083. }
  1084. &.is-hover{
  1085. background: $primary-background-color;
  1086. outline: 1px solid $primary-color;
  1087. outline-offset: -1px;
  1088. &.active{
  1089. // outline: 1px solid $primary-color;
  1090. border: 1px solid $primary-color;
  1091. outline: 1px solid $primary-color;
  1092. outline-offset: -1px;
  1093. }
  1094. .widget-view-drag{
  1095. display: block;
  1096. }
  1097. > .widget-view-type{
  1098. opacity: 0.6;
  1099. display: inline-block;
  1100. }
  1101. }
  1102. &.active{
  1103. outline: 1px solid $primary-color;
  1104. border: 1px solid $primary-color;
  1105. outline-offset: -1px;
  1106. > .widget-view-type{
  1107. display: none;
  1108. }
  1109. }
  1110. &.mobile{
  1111. border: 1px dashed rgba(170,170,170,0.5);
  1112. width: calc(100% - 4px);
  1113. float: unset;
  1114. height: auto;
  1115. position: relative;
  1116. display: block;
  1117. margin: 2px;
  1118. &.is_hidden{
  1119. background: #fef0f0;
  1120. }
  1121. }
  1122. }
  1123. .widget-table-content{
  1124. width:100%;
  1125. border: 2px inset rgba(0,0,0,0.1);
  1126. // outline: 1px dashed #ccc;
  1127. background: #fff;
  1128. flex:1;
  1129. margin: 0;
  1130. overflow: auto;
  1131. position: relative;
  1132. .table-empty{
  1133. position: absolute;
  1134. text-align: center;
  1135. width: 300px;
  1136. height: 20px;
  1137. font-size: 16px;
  1138. top: 30px;
  1139. left: 50%;
  1140. margin-left: -150px;
  1141. color: rgba(0,0,0,0.15);
  1142. }
  1143. &>div{
  1144. height: 100%;
  1145. }
  1146. .widget-table-col{
  1147. height: 100%;
  1148. display: flex;
  1149. .ghost{
  1150. background: #F56C6C;
  1151. border: 2px solid #F56C6C;
  1152. position: relative;
  1153. content: '';
  1154. float: left;
  1155. height: calc(100% - 4px);
  1156. width: 5px !important;
  1157. list-style: none;
  1158. font-size: 0;
  1159. overflow: hidden;
  1160. outline: none;
  1161. margin: 2px;
  1162. &::after{
  1163. background: #F56C6C;
  1164. position: absolute;
  1165. top: 0;
  1166. left: 0;
  1167. bottom: 0;
  1168. right: 0;
  1169. z-index: 9999;
  1170. content: '';
  1171. outline: none;
  1172. }
  1173. }
  1174. }
  1175. &.mobile{
  1176. min-height: 100px;
  1177. .widget-table-col{
  1178. display: block;
  1179. .ghost{
  1180. background: #F56C6C;
  1181. border: 2px solid #F56C6C;
  1182. position: relative;
  1183. content: '';
  1184. height: 5px;
  1185. width: calc(100% - 4px) !important;
  1186. list-style: none;
  1187. font-size: 0;
  1188. overflow: hidden;
  1189. outline: none;
  1190. margin: 2px;
  1191. float: unset;
  1192. &::after{
  1193. background: #F56C6C;
  1194. position: absolute;
  1195. top: 0;
  1196. left: 0;
  1197. bottom: 0;
  1198. right: 0;
  1199. z-index: 9999;
  1200. content: '';
  1201. outline: none;
  1202. }
  1203. }
  1204. }
  1205. }
  1206. }
  1207. }
  1208. &.active{
  1209. outline: 2px solid #e6a23c;
  1210. border: 1px solid #e6a23c;
  1211. }
  1212. &.is-hover{
  1213. background: #fdf6ec;
  1214. outline: 1px solid #e6a23c;
  1215. outline-offset: 0px;
  1216. &.active{
  1217. outline: 2px solid #e6a23c;
  1218. border: 1px solid #e6a23c;
  1219. outline-offset: 0;
  1220. }
  1221. >.widget-view-type{
  1222. background: #e6a23c;
  1223. }
  1224. }
  1225. .widget-view-action.widget-col-action{
  1226. background: #e6a23c;
  1227. }
  1228. .widget-view-drag.widget-col-drag{
  1229. background: #e6a23c;
  1230. }
  1231. &::after{
  1232. display: none;
  1233. }
  1234. &.ghost{
  1235. background: #F56C6C;
  1236. outline-width: 0;
  1237. height: 5px;
  1238. min-height: 0;
  1239. box-sizing: border-box;
  1240. font-size: 0;
  1241. content: '';
  1242. overflow: hidden;
  1243. padding: 0;
  1244. position: relative;
  1245. outline: none;
  1246. border: 0;
  1247. margin: 2px;
  1248. &::after{
  1249. background: #F56C6C;
  1250. position: absolute;
  1251. top:0;
  1252. left: 0;
  1253. right: 0;
  1254. bottom: 0;
  1255. content: '';
  1256. display: block;
  1257. z-index: 999;
  1258. }
  1259. }
  1260. }
  1261. .widget-report-item{
  1262. padding: 5px;
  1263. background-color: rgba(253,246,236, .3);
  1264. min-height: 50px;
  1265. min-width: 50px;
  1266. position: relative;
  1267. box-sizing: border-box;
  1268. &.active{
  1269. outline: 2px solid #e6a23c;
  1270. border: 1px solid #e6a23c;
  1271. outline-offset: -1px;
  1272. }
  1273. &.is-hover{
  1274. background: #fdf6ec;
  1275. outline: 1px solid #e6a23c;
  1276. border: 1px solid #e6a23c;
  1277. outline-offset: 0;
  1278. &.active{
  1279. outline: 2px solid #e6a23c;
  1280. border: 1px solid #e6a23c;
  1281. outline-offset: -1px;
  1282. }
  1283. >.widget-view-type{
  1284. background: #e6a23c;
  1285. }
  1286. }
  1287. &.selected {
  1288. background: #e6a23c;
  1289. opacity: 0.6;
  1290. }
  1291. &::after{
  1292. display: none;
  1293. }
  1294. }
  1295. .widget-report-header{
  1296. border-bottom-style: solid;
  1297. border-right-style: solid;
  1298. padding: 0;
  1299. background-color: #e6a23c;
  1300. border: 1px solid #e6a23c;
  1301. opacity: 0.6;
  1302. cursor: pointer;
  1303. &.active{
  1304. opacity: 1;
  1305. outline: 0 solid #e6a23c;
  1306. border: 1px solid #e6a23c;
  1307. outline-offset: 0px;
  1308. }
  1309. &.is-hover{
  1310. opacity: 1;
  1311. outline: 0 solid #e6a23c;
  1312. background-color: #e6a23c;
  1313. outline-offset: 0px;
  1314. }
  1315. }
  1316. .widget-report{
  1317. padding: 5px;
  1318. // padding-bottom: 5;
  1319. background-color: rgba(253,246,236, .3);
  1320. box-sizing: border-box;
  1321. &>div{
  1322. overflow: auto;
  1323. padding: 1px;
  1324. }
  1325. &.active{
  1326. outline: 2px solid #e6a23c;
  1327. border: 1px solid #e6a23c;
  1328. }
  1329. &.is-hover{
  1330. background: #fdf6ec;
  1331. outline: 1px solid #e6a23c;
  1332. outline-offset: 0px;
  1333. &.active{
  1334. outline: 2px solid #e6a23c;
  1335. border: 1px solid #e6a23c;
  1336. outline-offset: 0;
  1337. }
  1338. >.widget-view-type{
  1339. background: #e6a23c;
  1340. }
  1341. }
  1342. &.ghost{
  1343. background: #F56C6C;
  1344. border: 2px solid #F56C6C;
  1345. outline-width: 0;
  1346. height: 3px;
  1347. min-height: 3px;
  1348. box-sizing: border-box;
  1349. font-size: 0;
  1350. content: '';
  1351. overflow: hidden;
  1352. padding: 0;
  1353. margin: 2px;
  1354. }
  1355. .widget-view-action.widget-col-action{
  1356. background: #e6a23c;
  1357. overflow: hidden;
  1358. .el-dropdown-link::selection{
  1359. background: #e6a23c !important;
  1360. }
  1361. }
  1362. .widget-view-drag.widget-col-drag{
  1363. background: #e6a23c;
  1364. overflow: hidden;
  1365. }
  1366. &::after{
  1367. display: none;
  1368. }
  1369. }
  1370. .widget-tab{
  1371. padding: 5px;
  1372. background-color: rgba(253,246,236, .3);
  1373. &.active{
  1374. outline: 2px solid #e6a23c;
  1375. border: 1px solid #e6a23c;
  1376. }
  1377. &.is-hover{
  1378. background: #fdf6ec;
  1379. outline: 1px solid #e6a23c;
  1380. outline-offset: 0px;
  1381. &.active{
  1382. outline: 2px solid #e6a23c;
  1383. border: 1px solid #e6a23c;
  1384. outline-offset: 0;
  1385. }
  1386. >.widget-view-type{
  1387. background: #e6a23c;
  1388. }
  1389. }
  1390. &.ghost{
  1391. background: #F56C6C;
  1392. border: 2px solid #F56C6C;
  1393. outline-width: 0;
  1394. height: 3px;
  1395. min-height: 3px;
  1396. box-sizing: border-box;
  1397. font-size: 0;
  1398. content: '';
  1399. overflow: hidden;
  1400. padding: 0;
  1401. margin: 2px;
  1402. }
  1403. .widget-view-action.widget-col-action{
  1404. background: #e6a23c;
  1405. }
  1406. .widget-view-drag.widget-col-drag{
  1407. background: #e6a23c;
  1408. }
  1409. &::after{
  1410. display: none;
  1411. }
  1412. }
  1413. .widget-collapse{
  1414. padding: 5px;
  1415. background-color: rgba(253,246,236, .3);
  1416. &.active{
  1417. outline: 2px solid #e6a23c;
  1418. border: 1px solid #e6a23c;
  1419. }
  1420. &.is-hover{
  1421. background: #fdf6ec;
  1422. outline: 1px solid #e6a23c;
  1423. outline-offset: 0px;
  1424. &.active{
  1425. outline: 2px solid #e6a23c;
  1426. border: 1px solid #e6a23c;
  1427. outline-offset: 0;
  1428. }
  1429. >.widget-view-type{
  1430. background: #e6a23c;
  1431. }
  1432. }
  1433. &.ghost{
  1434. background: #F56C6C;
  1435. border: 2px solid #F56C6C;
  1436. outline-width: 0;
  1437. height: 3px;
  1438. min-height: 3px;
  1439. box-sizing: border-box;
  1440. font-size: 0;
  1441. content: '';
  1442. overflow: hidden;
  1443. padding: 0;
  1444. margin: 2px;
  1445. }
  1446. .widget-view-action.widget-col-action{
  1447. background: #e6a23c;
  1448. }
  1449. .widget-view-drag.widget-col-drag{
  1450. background: #e6a23c;
  1451. }
  1452. &::after{
  1453. display: none;
  1454. }
  1455. }
  1456. .widget-col{
  1457. padding-bottom: 0;
  1458. padding: 5px;
  1459. // margin-left: 2px !important;
  1460. // margin-right: 2px !important;
  1461. background-color: rgba(253,246,236, .3);
  1462. position: relative;
  1463. &.active{
  1464. outline: 2px solid #e6a23c;
  1465. border: 1px solid #e6a23c;
  1466. }
  1467. &.is-hover{
  1468. background: #fdf6ec;
  1469. outline: 1px solid #e6a23c;
  1470. outline-offset: 0px;
  1471. &.active{
  1472. outline: 2px solid #e6a23c;
  1473. border: 1px solid #e6a23c;
  1474. outline-offset: 0;
  1475. }
  1476. >.widget-view-type{
  1477. background: #e6a23c;
  1478. }
  1479. }
  1480. .el-col{
  1481. min-height: 50px;
  1482. }
  1483. &.ghost{
  1484. background: #F56C6C;
  1485. border: 2px solid #F56C6C;
  1486. outline-width: 0;
  1487. height: 3px;
  1488. min-height: 3px;
  1489. box-sizing: border-box;
  1490. font-size: 0;
  1491. content: '';
  1492. overflow: hidden;
  1493. padding: 0;
  1494. margin: 2px;
  1495. display: block;
  1496. }
  1497. .widget-view-action.widget-col-action{
  1498. background: #e6a23c;
  1499. }
  1500. .widget-view-drag.widget-col-drag{
  1501. background: #e6a23c;
  1502. }
  1503. &::after{
  1504. display: none;
  1505. }
  1506. }
  1507. .widget-col-item{
  1508. padding: 5px;
  1509. position: relative;
  1510. box-sizing: border-box;
  1511. border: 1px dashed rgba(170,170,170,0.5);
  1512. // margin: 1px;
  1513. &.active{
  1514. outline: 2px solid #e6a23c;
  1515. border: 1px solid #e6a23c;
  1516. outline-offset: -1px;
  1517. }
  1518. &.is-hover{
  1519. background: #fdf6ec;
  1520. outline: 1px solid #e6a23c;
  1521. // border: 1px solid #e6a23c;
  1522. outline-offset: 0;
  1523. &.active{
  1524. outline: 2px solid #e6a23c;
  1525. border: 1px solid #e6a23c;
  1526. outline-offset: -1px;
  1527. }
  1528. >.widget-view-type{
  1529. background: #e6a23c;
  1530. }
  1531. }
  1532. &::after{
  1533. display: none;
  1534. }
  1535. }
  1536. .ghost{
  1537. background: #F56C6C;
  1538. border: 2px solid #F56C6C;
  1539. outline-width: 0;
  1540. height: 3px;
  1541. box-sizing: border-box;
  1542. font-size: 0;
  1543. content: '';
  1544. overflow: hidden;
  1545. padding: 0;
  1546. margin: 2px;
  1547. }
  1548. }
  1549. .ghost{
  1550. background: #F56C6C;
  1551. border: 2px solid #F56C6C;
  1552. position: relative;
  1553. margin: 2px;
  1554. &::after{
  1555. background: #F56C6C;
  1556. }
  1557. }
  1558. li.ghost{
  1559. height: 5px;
  1560. list-style: none;
  1561. font-size: 0;
  1562. overflow: hidden;
  1563. margin: 2px;
  1564. }
  1565. .widget-grid{
  1566. background: #F4F6FC;
  1567. position: relative;
  1568. border-left: 5px solid transparent;
  1569. padding: 5px;
  1570. margin: 0 !important;
  1571. &.active{
  1572. border-left: 5px solid $primary-color;
  1573. background: #b3d8ff;
  1574. }
  1575. }
  1576. .widget-grid-container{
  1577. &.ghost{
  1578. background: #F56C6C;
  1579. border: 2px solid #F56C6C;
  1580. outline-width: 0;
  1581. height: 3px;
  1582. box-sizing: border-box;
  1583. font-size: 0;
  1584. content: '';
  1585. overflow: hidden;
  1586. padding: 0;
  1587. margin: 2px;
  1588. }
  1589. }
  1590. .ghost{
  1591. background: #F56C6C;
  1592. border: 2px solid #F56C6C;
  1593. position: relative;
  1594. margin: 2px;
  1595. &::after{
  1596. background: #F56C6C;
  1597. }
  1598. }
  1599. li.ghost{
  1600. height: 5px;
  1601. list-style: none;
  1602. font-size: 0;
  1603. overflow: hidden;
  1604. margin: 2px;
  1605. }
  1606. }
  1607. .widget-left-panel{
  1608. position: relative;
  1609. overflow: unset;
  1610. &.hide-status{
  1611. width: 0 !important;
  1612. .container-left-arrow{
  1613. &::after{
  1614. transform: translate(-50%,-50%) rotate(180deg);
  1615. left: 60%;
  1616. }
  1617. }
  1618. }
  1619. .container-left-arrow{
  1620. position: absolute;
  1621. width: 16px;
  1622. height: 50px;
  1623. top: 50%;
  1624. right: -15px;
  1625. transform: translateY(-50%);
  1626. background-color: transparent;
  1627. box-sizing: border-box;
  1628. z-index: 10;
  1629. cursor: pointer;
  1630. display: flex;
  1631. flex-direction: column;
  1632. align-items: center;
  1633. justify-content: center;
  1634. &::before{
  1635. content: "";
  1636. position: absolute;
  1637. border-radius: 0 10px 10px 0;
  1638. box-sizing: border-box;
  1639. border-left: 0;
  1640. border-color: #e0e0e0;
  1641. border-style: solid;
  1642. top: 0;
  1643. right: 0;
  1644. bottom: 0;
  1645. left: 0;
  1646. background: #fff;
  1647. z-index: -1;
  1648. transform: perspective(50px) rotateY(30deg);
  1649. transition: all .15s;
  1650. }
  1651. &::after{
  1652. content: "";
  1653. display: block;
  1654. position: absolute;
  1655. width: 0px;
  1656. height: 0px;
  1657. border-width: 5px;
  1658. border-color: transparent;
  1659. border-right-color: #a1a6b3;
  1660. border-style: solid;
  1661. left: 20%;
  1662. top: 50%;
  1663. -webkit-mask-size: 100% 100%;
  1664. mask-size: 100% 100%;
  1665. -webkit-mask-repeat: no-repeat;
  1666. mask-repeat: no-repeat;
  1667. transform: translate(-50%,-50%) rotate(0deg);
  1668. }
  1669. }
  1670. }
  1671. .widget-config-container{
  1672. position: relative;
  1673. overflow: unset;
  1674. &.hide-status{
  1675. width: 0 !important;
  1676. .container-right-arrow{
  1677. &::after{
  1678. transform: translate(-50%,-50%) rotate(0deg);
  1679. left: 45%;
  1680. }
  1681. }
  1682. }
  1683. .container-right-arrow{
  1684. position: absolute;
  1685. width: 16px;
  1686. height: 50px;
  1687. top: 50%;
  1688. left: -15px;
  1689. transform: translateY(-50%);
  1690. background-color: transparent;
  1691. box-sizing: border-box;
  1692. z-index: 10;
  1693. cursor: pointer;
  1694. display: flex;
  1695. flex-direction: column;
  1696. align-items: center;
  1697. justify-content: center;
  1698. &::before{
  1699. content: "";
  1700. position: absolute;
  1701. border-radius: 10px 0 0 10px;
  1702. box-sizing: border-box;
  1703. border-right: 0;
  1704. border-color: #e0e0e0;
  1705. border-style: solid;
  1706. top: 0;
  1707. right: 0;
  1708. bottom: 0;
  1709. left: 0;
  1710. background: #fff;
  1711. z-index: -1;
  1712. transform: perspective(50px) rotateY(-30deg);
  1713. transition: all .15s;
  1714. }
  1715. &::after{
  1716. content: "";
  1717. display: block;
  1718. position: absolute;
  1719. width: 0px;
  1720. height: 0px;
  1721. border-width: 5px;
  1722. border-color: transparent;
  1723. border-right-color: #a1a6b3;
  1724. border-style: solid;
  1725. left: 75%;
  1726. top: 50%;
  1727. -webkit-mask-size: 100% 100%;
  1728. mask-size: 100% 100%;
  1729. -webkit-mask-repeat: no-repeat;
  1730. mask-repeat: no-repeat;
  1731. transform: translate(-50%,-50%) rotate(180deg);
  1732. }
  1733. }
  1734. .el-header{
  1735. border-bottom: solid 2px #e4e7ed;
  1736. padding: 0 5px;
  1737. }
  1738. .config-tab{
  1739. height: 45px;
  1740. line-height: 45px;
  1741. display: inline-block;
  1742. width: 145px;
  1743. text-align: center;
  1744. font-size: 14px;
  1745. font-weight: 500;
  1746. position: relative;
  1747. cursor: pointer;
  1748. &.active{
  1749. border-bottom: solid 2px $primary-color;
  1750. }
  1751. }
  1752. .config-content{
  1753. position: relative;
  1754. .empty{
  1755. position: absolute;
  1756. text-align: center;
  1757. width: 100px;
  1758. height: 20px;
  1759. font-size: 20px;
  1760. top: 50%;
  1761. width: 90%;
  1762. margin-top: -10px;
  1763. color: #ccc;
  1764. }
  1765. .el-form-item__label{
  1766. padding: 0;
  1767. font-weight: 500;
  1768. }
  1769. .el-form-item {
  1770. border-bottom: solid 1px #e1e1e1;
  1771. padding-bottom: 10px;
  1772. margin-left: 10px;
  1773. margin-right: 10px;
  1774. }
  1775. .validate-block{
  1776. +.validate-block{
  1777. margin-top: 10px;
  1778. }
  1779. .message-input{
  1780. margin-left: 24px;
  1781. width: 239px;
  1782. }
  1783. }
  1784. }
  1785. .ghost{
  1786. background: #fff;
  1787. border: 1px dashed $primary-color;
  1788. margin: 2px;
  1789. &::after{
  1790. background: #fff;
  1791. display: block;
  1792. content: '';
  1793. position: absolute;
  1794. top: 0;
  1795. left: 0;
  1796. right: 0;
  1797. bottom: 0;
  1798. }
  1799. }
  1800. ul{
  1801. margin: 0;
  1802. padding: 0;
  1803. }
  1804. li.ghost{
  1805. list-style: none;
  1806. font-size: 0;
  1807. display: block;
  1808. position: relative;
  1809. margin: 2px;
  1810. }
  1811. }
  1812. .viewer-container{
  1813. z-index: 99999 !important;
  1814. }
  1815. @media screen and (max-width: 768px){
  1816. @include mobile.mobileRender;
  1817. .fm-generate-dialog{
  1818. width: 100% !important;
  1819. }
  1820. .fm-generate-ant-dialog{
  1821. .ant-modal{
  1822. width: 100% !important;
  1823. }
  1824. }
  1825. }