| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147 |
- @use 'mobile';
- $primary-color: #409EFF;
- $primary-background-color: #ecf5ff;
- *, :after, :before {
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- }
- .fa-icon{
- width: auto;
- height: 1em; /* 或任意其它字体大小相对值 */
- /* 要在 Safari 中正常工作,需要再引入如下两行代码 */
- max-width: 100%;
- max-height: 100%;
- vertical-align: middle;
- }
- .FormMaking{
- background: #fff;
- height: 100%;
- border: 1px solid #e0e0e0;
- min-width: 1000px;
- &.is-fullscreen{
- position: fixed;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- height: 100% !important;
- width: 100% !important;
- }
- &.fm-form{
- padding: 0;
- }
- .el-container{
- height: 100% !important;
- }
- &>.el-container{
- background: #fff;
- }
- .FormMaking-main{
- position: relative;
- overflow: hidden;
- &>.el-container{
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- }
- }
- main{
- padding: 0;
- }
- footer{
- height: 30px;
- line-height: 30px;
- border-top: 1px solid #e0e0e0;
- font-size: 12px;
- text-align: right;
- color: $primary-color;
- background: #fafafa;
- a{
- color: $primary-color;
- }
- }
- .left-tabs{
- height: 100%;
- .el-tabs__header{
- height: 45px;
- // border-bottom: solid 2px #e4e7ed;
- margin: 0;
- .fm-iconfont{
- font-size: 20px;
- }
- }
- .el-tabs__content{
- height: calc(100% - 45px);
- .el-tab-pane{
- height: 100%;
- }
- }
- >.el-tabs__header .el-tabs__nav{
- border: 0;
- }
- >.el-tabs__header .el-tabs__item{
- border: 0;
- height: 45px;
- line-height: 45px;
- padding: 0 0 0 12px;
- .el-tooltip__trigger{
- height: 30px;
- line-height: 30px;
- display: inline-block;
- vertical-align: middle;
- }
- }
- }
- }
- .fm-report-table__wrapper{
- overflow: auto;
- .form-table{
- margin: -5px;
- }
- .antd-form-table{
- margin: -5px;
- }
- .form-subform{
- margin: -6px;
- }
- .form-subform-item{
- padding: 0;
- +.form-subform-item{
- margin-top: -1px;
- }
- }
- .fm-report-table__wrapper{
- margin: -6px;
- }
- +.fm-report-table__wrapper{
- margin-top: -1px;
- }
- }
- .fm-report-table__table{
- border-top-style: solid;
- border-left-style: solid;
- // width: 100%;
- table-layout: fixed;
- border-collapse: collapse;
- // margin-bottom: 18px;
- .fm-report-table__td {
- border-bottom-style: solid;
- border-right-style: solid;
- padding: 5px;
- .el-form-item:not(.is-error){
- margin-bottom: 0;
- }
- .ant-form-item{
- margin-bottom: 0;
- }
- .form-table{
- .el-form-item:not(.is-error){
- margin-bottom: 18px;
- }
- .el-form-item--medium{
- &.el-form-item:not(.is-error){
- margin-bottom: 22px;
- }
- }
- }
- }
- }
- .center-container{
- border-left: 1px solid #e0e0e0;
- border-right: 1px solid #e0e0e0;
- .btn-bar{
- height: 45px;
- line-height: 45px;
- font-size: 18px;
- border-bottom: solid 2px #e4e7ed;
- text-align: right;
- &.el-header{
- padding: 0 10px;
- }
- .btn-diviler{
- height: 25px;
- float: left;
- width: 1px;
- background: #eee;
- margin: 10px;
- }
- .btn-bar-action{
- height: 45px;
- line-height: 45px;
- font-size: 24px;
- float: left;
- a{
- width: 30px;
- height: 30px;
- color: #666;
- display: inline-block;
- text-align: center;
- // vertical-align: middle;
- line-height: 30px;
- border-radius: 3px;
- margin-right: 5px;
- &.disabled{
- color: #ccc;
- cursor: not-allowed;
- &:hover{
- color: #ccc;
- }
- }
- &:hover{
- color: black;
- }
- .fm-iconfont{
- font-size: 20px;
- }
- }
- }
- .btn-bar-plat{
- height: 45px;
- line-height: 45px;
- font-size: 24px;
- float: left;
- a{
- width: 30px;
- height: 30px;
- color: #666;
- display: inline-block;
- text-align: center;
- // vertical-align: middle;
- line-height: 30px;
- border-radius: 3px;
- margin-right: 5px;
- &.active{
- background: #e4e7ed;
- color: $primary-color;
- }
- .fm-iconfont{
- font-size: 20px;
- }
- }
- }
- }
- .el-main{
- padding: 0;
- position: relative;
- background: #fafafa;
- }
- }
- .components-list{
- padding: 0;
- margin: -1px 0;
- width: 100%;
- height: calc(100% + 2px);
- overflow-y: auto;
- .widget-cate{
- padding: 8px 12px;
- font-size: 13px;
- }
- .el-collapse-item__header{
- padding: 8px 12px;
- }
- .el-collapse-item__content{
- padding-bottom: 0;
- }
- ul{
- position: relative;
- overflow: hidden;
- padding: 0 10px 10px;
- margin: 0;
- }
- .form-edit-widget-label{
- font-size: 12px;
- display: block;
- width: 46%;
- line-height: 26px;
- position: relative;
- float: left;
- left: 0;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- margin: 2%;
- color: #333;
- border: 1px solid #ebeef5;
- a{
- color: #333;
- }
- &:hover{
- color: $primary-color;
- border: 1px dashed $primary-color;
- a{
- color: $primary-color;
- }
- }
- &>a{
- display: block;
- cursor: move;
- background: #F4F6FC;
- border: 1px solid #F4F6FC;
- .icon{
- margin-right: 6px;
- margin-left: 6px;
- font-size: 14px;
- display: inline-block;
- vertical-align: middle;
- &.custom > span {
- width: 14px;
- height: 14px;
- margin-top: -2px;
- vertical-align: middle;
- > * {
- vertical-align: top;
- width: 100%;
- height: 100%;
- }
- }
- }
- span{
- display: inline-block;
- vertical-align: middle;
- }
- }
- }
- }
- .fm-form{
- padding: 10px;
- }
- .fm-generate-preview-container{
- .fm-form{
- margin: 0 auto;
- }
- .el-dialog{
- display: flex;
- flex-direction: column;
- .el-dialog__body{
- height: calc(100% - 130px);
- }
- }
- }
- .fm-generate-preview{
- box-shadow: #ebedf0 0 4px 12px;
- height: 100%;
- overflow: auto;
- &.pc{
- border-radius: 0px;
- }
- &.mobile{
- width: 375px;
- margin: auto;
- border-radius: 12px;
- @include mobile.mobileRender;
- }
- &.pad{
- width: 770px;
- margin: auto;
- border-radius: 5px;
- }
- }
- .widget-form-container{
- position: absolute;
- overflow-x: auto;
- &.pc{
- border: 0;
- background: #fafafa;
- border-radius: 0px;
- box-shadow: #ebedf0 0 4px 12px;
- top: 10px;
- left: 16px;
- right: 16px;
- bottom: 10px;
- }
- &.mobile{
- width: 375px;
- margin: auto;
- border: 0;
- background: #fafafa;
- border-radius: 12px;
- box-shadow: #ebedf0 0 4px 12px;
- top: 10px;
- left: 16px;
- right: 16px;
- bottom: 10px;
- @include mobile.mobileRender;
- }
- &.pad{
- width: 770px;
- margin: auto;
- border: 0;
- background: #fafafa;
- border-radius: 5px;
- box-shadow: #ebedf0 0 4px 12px;
- top: 10px;
- left: 16px;
- right: 16px;
- bottom: 10px;
- }
- .form-empty{
- position: absolute;
- text-align: center;
- width: 300px;
- height: 30px !important;
- min-height: 30px !important;
- font-size: 20px;
- top: 50%;
- width: 100%;
- margin-top: -10px;
- color: #ccc;
- }
- .widget-form-wrapper{
- >div{
- height: 100%;
- }
- }
- form{
- min-height: 100%;
- height: 100%;
- background: #fff;
- // border: 2px inset rgba(0,0,0,0.1);
- position: relative;
- >div{
- min-height: 100%;
- height: 100%;
- overflow: auto;
- }
- }
- .widget-form-draggable{
- min-height: 100%;
- height: 100%;
- }
-
- .widget-form-list{
-
- min-height: 100%;
- padding-bottom: 50px;
- .widget-empty{
- position: absolute;
- text-align: center;
- width: 300px;
- height: 20px;
- font-size: 16px;
- top: 15px;
- left: 50%;
- margin-left: -150px;
- color: rgba(0,0,0,0.15);
- }
- .widget-view-model{
- position: absolute;
- // top: -8px;
- top: 2px;
- right: 3px;
- font-size: 12px;
- color: #67C23A;
- opacity: 0;
- z-index: 8;
- font-weight: 500;
- line-height: 22px;
- }
- .widget-view-type{
- position: absolute;
- left: 0;
- top: 0;
- padding: 2px 5px;
- line-height: 22px;
- background: $primary-color;
- z-index: 10;
- opacity: 0;
- display: none;
- color: #fff;
- }
- .is-hover > .widget-view-type{
- opacity: 0.6;
- display: inline-block;
- }
- .is-hover > .widget-view-model{
- opacity: 0.6;
- display: inline-block;
- }
- .active > .widget-view-model{
- opacity: 0.8;
- }
- .active >.widget-view-type{
- display: none;
- }
- .widget-col-list{
- min-height: 50px;
- min-width: 50px;
- border: 2px inset rgba(0,0,0,0.1);
- background: #fff;
- }
- .widget-inline-list{
- min-height: 50px;
- min-width: 50px;
- > div{
- display: inline-block;
- vertical-align: top;
- }
- > li{
- display: inline-block;
- vertical-align: top;
- }
- .ghost{
- background: #F56C6C;
- border: 2px solid #F56C6C;
- position: relative;
- content: '';
- min-height: 50px;
- width: 5px !important;
- list-style: none;
- font-size: 0;
- overflow: hidden;
- outline: none;
- margin: 2px;
- display: inline-block;
-
- &::after{
- background: #F56C6C;
- position: absolute;
- top: 0;
- left: 0;
- bottom: 0;
- right: 0;
- z-index: 9999;
- content: '';
- outline: none;
- }
- }
- }
- .widget-view{
- // padding-bottom: 18px;
- position: relative;
- border: 1px dashed rgba(170,170,170,0.5);
- // border: 1px dashed transparent;
- background-color: rgba(236, 245, 255, .3);
- margin: 2px;
- overflow: hidden;
- min-height: 50px;
- min-width: 50px;
- .fm-item-tooltip{
- font-size: 12px;
- color: #909399;
- }
- .fm-label-wrap{
- display: block;
- > .el-form-item__content{
- margin-left: 0 !important;
- }
- }
- .el-form-item__content{
- position: static;
- // line-height: 1;
- }
- &.is_req{
- .el-form-item__label::before{
- content: '*';
- color: #f56c6c;
- margin-right: 4px;
- }
- }
- &.is_hidden{
- background: #fef0f0;
- }
- .widget-view-description{
- height: 15px;
- line-height: 15px;
- font-size:13px;
- margin-top: 6px;
- color:#909399;
- }
- .widget-view-action{
- position: absolute;
- right: 0;
- bottom: 0;
- height: 28px;
- line-height: 28px;
- background: $primary-color;
- z-index: 10;
- opacity: 0.6;
- &:hover{
- opacity: 1;
- }
- i{
- font-size: 14px;
- color: #fff;
- margin: 0 5px;
- cursor: pointer;
-
- }
- }
- .widget-view-drag{
- position: absolute;
- left: -2px;
- top: -2px;
- bottom: -18px;
- height: 28px;
- line-height: 28px;
- background: $primary-color;
- z-index: 10;
- opacity: 0.6;
- &:hover{
- opacity: 1;
- }
- i{
- font-size: 14px;
- color: #fff;
- margin: 0 5px;
- cursor: move;
- }
- }
- &::after{
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- display: block;
- z-index: 8;
- content: '';
- }
- &.is-hover{
- background: $primary-background-color;
- outline: 1px solid $primary-color;
- outline-offset: 0px;
- &.active{
- outline: 2px solid $primary-color;
- border: 1px solid $primary-color;
- outline-offset: 0;
- }
- .widget-view-drag{
- display: block;
- }
- }
- &.active{
- outline: 2px solid $primary-color;
- border: 1px solid $primary-color;
- }
- &.ghost{
- background: #F56C6C;
- border: 2px solid #F56C6C;
- outline-width: 0;
- height: 3px;
- box-sizing: border-box;
- font-size: 0;
- content: '';
- overflow: hidden;
- padding: 0;
- margin: 2px;
- }
- }
- .widget-subform{
- padding: 5px;
- background-color: rgba(253,246,236, .3);
- box-sizing: border-box;
- .widget-subform-wrapper{
- min-height: 50px;
- width:100%;
- // border: 2px inset rgba(0,0,0,0.1);
- // outline: 1px dashed #ccc;
- background: #fff;
- margin: 0;
- overflow: auto;
- position: relative;
- .subform-empty{
- position: absolute;
- text-align: center;
- width: 300px;
- height: 0;
- font-size: 16px;
- top: 10px;
- left: 50%;
- margin-left: -150px;
- color: rgba(0,0,0,0.15);
- z-index: 2;
- }
- }
- &.active{
- outline: 2px solid #e6a23c;
- border: 1px solid #e6a23c;
- }
- &.is-hover{
- background: #fdf6ec;
- outline: 1px solid #e6a23c;
- outline-offset: 0px;
- &.active{
- outline: 2px solid #e6a23c;
- border: 1px solid #e6a23c;
- outline-offset: 0;
- }
- >.widget-view-type{
- background: #e6a23c;
- }
- }
- .widget-view-action.widget-subform-action{
- background: #e6a23c;
- }
- .widget-view-drag.widget-subform-drag{
- background: #e6a23c;
- }
- &::after{
- display: none;
- }
- &.ghost{
- background: #F56C6C;
- outline-width: 0;
- height: 5px;
- min-height: 0px;
- box-sizing: border-box;
- font-size: 0;
- content: '';
- overflow: hidden;
- padding: 0;
- position: relative;
- outline: none;
- border: 0;
- margin: 2px;
- &::after{
- background: #F56C6C;
- position: absolute;
- top:0;
- left: 0;
- right: 0;
- bottom: 0;
- content: '';
- display: block;
- z-index: 999;
- }
- }
- }
- .widget-dialog{
- padding: 5px;
- background-color: rgba(253,246,236, .3);
- box-sizing: border-box;
- .el-dialog{
- margin: 0;
- }
- &.active{
- outline: 2px solid #e6a23c;
- border: 1px solid #e6a23c;
- }
- &.is-hover{
- background: #fdf6ec;
- outline: 1px solid #e6a23c;
- outline-offset: 0px;
- &.active{
- outline: 2px solid #e6a23c;
- border: 1px solid #e6a23c;
- outline-offset: 0;
- }
- >.widget-view-type{
- background: #e6a23c;
- }
- }
- .widget-view-action.widget-subform-action{
- background: #e6a23c;
- }
- .widget-view-drag.widget-subform-drag{
- background: #e6a23c;
- }
- &::after{
- display: none;
- }
- &.ghost{
- background: #F56C6C;
- outline-width: 0;
- height: 5px;
- min-height: 0px;
- box-sizing: border-box;
- font-size: 0;
- content: '';
- overflow: hidden;
- padding: 0;
- position: relative;
- outline: none;
- border: 0;
- margin: 2px;
- &::after{
- background: #F56C6C;
- position: absolute;
- top:0;
- left: 0;
- right: 0;
- bottom: 0;
- content: '';
- display: block;
- z-index: 999;
- }
- }
- }
- .widget-card{
- padding: 5px;
- background-color: rgba(253,246,236, .3);
- box-sizing: border-box;
- &.active{
- outline: 2px solid #e6a23c;
- border: 1px solid #e6a23c;
- }
- &.is-hover{
- background: #fdf6ec;
- outline: 1px solid #e6a23c;
- outline-offset: 0px;
- &.active{
- outline: 2px solid #e6a23c;
- border: 1px solid #e6a23c;
- outline-offset: 0;
- }
- >.widget-view-type{
- background: #e6a23c;
- }
- }
- .widget-view-action.widget-subform-action{
- background: #e6a23c;
- }
- .widget-view-drag.widget-subform-drag{
- background: #e6a23c;
- }
- &::after{
- display: none;
- }
- &.ghost{
- background: #F56C6C;
- outline-width: 0;
- height: 5px;
- min-height: 0px;
- box-sizing: border-box;
- font-size: 0;
- content: '';
- overflow: hidden;
- padding: 0;
- position: relative;
- outline: none;
- border: 0;
- margin: 2px;
- &::after{
- background: #F56C6C;
- position: absolute;
- top:0;
- left: 0;
- right: 0;
- bottom: 0;
- content: '';
- display: block;
- z-index: 999;
- }
- }
- }
- .widget-group{
- padding: 5px;
- background-color: rgba(253,246,236, .3);
- box-sizing: border-box;
- &.active{
- outline: 2px solid #e6a23c;
- border: 1px solid #e6a23c;
- }
- &.is-hover{
- background: #fdf6ec;
- outline: 1px solid #e6a23c;
- outline-offset: 0px;
- &.active{
- outline: 2px solid #e6a23c;
- border: 1px solid #e6a23c;
- outline-offset: 0;
- }
- >.widget-view-type{
- background: #e6a23c;
- }
- }
- .widget-view-action.widget-subform-action{
- background: #e6a23c;
- }
- .widget-view-drag.widget-subform-drag{
- background: #e6a23c;
- }
- &::after{
- display: none;
- }
- &.ghost{
- background: #F56C6C;
- outline-width: 0;
- height: 5px;
- min-height: 0px;
- box-sizing: border-box;
- font-size: 0;
- content: '';
- overflow: hidden;
- padding: 0;
- position: relative;
- outline: none;
- border: 0;
- margin: 2px;
- &::after{
- background: #F56C6C;
- position: absolute;
- top:0;
- left: 0;
- right: 0;
- bottom: 0;
- content: '';
- display: block;
- z-index: 999;
- }
- }
- }
- .widget-inline{
- padding: 5px;
- background-color: rgba(253,246,236, .3);
- .widget-inline-content{
- min-height: 50px;
- width:100%;
- border: 2px inset rgba(0,0,0,0.1);
- // outline: 1px dashed #ccc;
- background: #fff;
- flex:1;
- margin: 0;
- overflow: auto;
- position: relative;
- .table-empty{
- position: absolute;
- text-align: center;
- width: 300px;
- height: 0;
- font-size: 16px;
- top: 10px;
- left: 50%;
- margin-left: -150px;
- color: rgba(0,0,0,0.15);
- z-index: 2;
- }
- }
- &.active{
- outline: 2px solid #e6a23c;
- border: 1px solid #e6a23c;
- }
- &.is-hover{
- background: #fdf6ec;
- outline: 1px solid #e6a23c;
- outline-offset: 0px;
- &.active{
- outline: 2px solid #e6a23c;
- border: 1px solid #e6a23c;
- outline-offset: 0;
- }
- >.widget-view-type{
- background: #e6a23c;
- }
- }
- .widget-view-action.widget-inline-action{
- background: #e6a23c;
- }
- .widget-view-drag.widget-inline-drag{
- background: #e6a23c;
- }
- &::after{
- display: none;
- }
- &.ghost{
- background: #F56C6C;
- outline-width: 0;
- height: 5px;
- min-height: 0px;
- box-sizing: border-box;
- font-size: 0;
- content: '';
- overflow: hidden;
- padding: 0;
- position: relative;
- outline: none;
- border: 0;
- margin: 2px;
- &::after{
- background: #F56C6C;
- position: absolute;
- top:0;
- left: 0;
- right: 0;
- bottom: 0;
- content: '';
- display: block;
- z-index: 999;
- }
- }
- }
- .widget-table{
- padding-bottom: 0;
- padding: 5px;
- background-color: rgba(253,246,236, .3);
- .widget-table-wrapper{
- min-height: 50px;
- background: #fff;
- display: flex;
- justify-content: flex-start;
- &.mobile{
- display: block;
- border: 1px solid #EBEEF5;
- background: #f5f7fa;
- .widget-table-top{
- height: 36px;
- line-height: 36px;
- padding: 0 10px;
- background: #f5f7fa;
- border-bottom: 1px solid #EBEEF5;
- font-weight: 500;
- }
- }
- .widget-table-row{
-
- td{
- border-bottom: 0;
- }
- }
- .widget-table-left{
- width: 51px;
- border-left: 1px solid #EBEEF5;
- border-right: 1px solid #EBEEF5;
- border-top: 1px solid #EBEEF5;
- flex: none;
- overflow: hidden;
- .el-table__body-wrapper{
- overflow: hidden;
- }
- .el-table__fixed{
- min-height: 88px !important;
- }
- }
- .widget-table-view{
- border: 1px solid #EBEEF5;
- width: 200px;
- height: 100%;
- position: relative;
- display: block;
- .el-table{
- height: 100%;
- }
- .el-table th.required>div::before{
- content: '*';
- color: #f56c6c;
- margin-right: 4px;
- background: transparent;
- vertical-align: top;
- }
- &.is_req{
- .el-form-item__label::before{
- content: '*';
- color: #f56c6c;
- margin-right: 4px;
- }
- }
- &.is_hidden{
- th,td{
- background: #fef0f0;
- }
- }
-
- .widget-view-description{
- height: 15px;
- line-height: 15px;
- font-size:13px;
- margin-top: 6px;
- color:#909399;
- }
-
- .widget-view-action{
- position: absolute;
- right: 0;
- bottom: 0;
- height: 28px;
- line-height: 28px;
- background: $primary-color;
- z-index: 10;
- opacity: 0.6;
- &:hover{
- opacity: 1;
- }
-
- i{
- font-size: 14px;
- color: #fff;
- margin: 0 5px;
- cursor: pointer;
-
- }
- }
-
- .widget-view-drag{
- position: absolute;
- left: -2px;
- top: -2px;
- bottom: -18px;
- height: 28px;
- line-height: 28px;
- background: $primary-color;
- z-index: 9;
- // display: none;
-
- i{
- font-size: 14px;
- color: #fff;
- margin: 0 5px;
- cursor: move;
- }
- }
-
- &::after{
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- display: block;
- content: '';
- }
- &::before{
- display: none;
- }
-
- &.is-hover{
- background: $primary-background-color;
- outline: 1px solid $primary-color;
- outline-offset: -1px;
-
- &.active{
- // outline: 1px solid $primary-color;
- border: 1px solid $primary-color;
- outline: 1px solid $primary-color;
- outline-offset: -1px;
- }
-
- .widget-view-drag{
- display: block;
- }
- > .widget-view-type{
- opacity: 0.6;
- display: inline-block;
- }
- }
-
- &.active{
- outline: 1px solid $primary-color;
- border: 1px solid $primary-color;
- outline-offset: -1px;
- > .widget-view-type{
- display: none;
- }
- }
- &.mobile{
- border: 1px dashed rgba(170,170,170,0.5);
- width: calc(100% - 4px);
- float: unset;
- height: auto;
- position: relative;
- display: block;
- margin: 2px;
- &.is_hidden{
- background: #fef0f0;
- }
- }
- }
- .widget-table-content{
- width:100%;
- border: 2px inset rgba(0,0,0,0.1);
- // outline: 1px dashed #ccc;
- background: #fff;
- flex:1;
- margin: 0;
- overflow: auto;
- position: relative;
- .table-empty{
- position: absolute;
- text-align: center;
- width: 300px;
- height: 20px;
- font-size: 16px;
- top: 30px;
- left: 50%;
- margin-left: -150px;
- color: rgba(0,0,0,0.15);
- }
- &>div{
- height: 100%;
- }
- .widget-table-col{
- height: 100%;
- display: flex;
-
- .ghost{
- background: #F56C6C;
- border: 2px solid #F56C6C;
- position: relative;
- content: '';
- float: left;
- height: calc(100% - 4px);
- width: 5px !important;
- list-style: none;
- font-size: 0;
- overflow: hidden;
- outline: none;
- margin: 2px;
-
- &::after{
- background: #F56C6C;
- position: absolute;
- top: 0;
- left: 0;
- bottom: 0;
- right: 0;
- z-index: 9999;
- content: '';
- outline: none;
- }
- }
- }
- &.mobile{
- min-height: 100px;
- .widget-table-col{
- display: block;
-
- .ghost{
- background: #F56C6C;
- border: 2px solid #F56C6C;
- position: relative;
- content: '';
- height: 5px;
- width: calc(100% - 4px) !important;
- list-style: none;
- font-size: 0;
- overflow: hidden;
- outline: none;
- margin: 2px;
- float: unset;
-
- &::after{
- background: #F56C6C;
- position: absolute;
- top: 0;
- left: 0;
- bottom: 0;
- right: 0;
- z-index: 9999;
- content: '';
- outline: none;
- }
- }
- }
- }
- }
- }
- &.active{
- outline: 2px solid #e6a23c;
- border: 1px solid #e6a23c;
- }
- &.is-hover{
- background: #fdf6ec;
- outline: 1px solid #e6a23c;
- outline-offset: 0px;
- &.active{
- outline: 2px solid #e6a23c;
- border: 1px solid #e6a23c;
- outline-offset: 0;
- }
- >.widget-view-type{
- background: #e6a23c;
- }
- }
- .widget-view-action.widget-col-action{
- background: #e6a23c;
- }
- .widget-view-drag.widget-col-drag{
- background: #e6a23c;
- }
- &::after{
- display: none;
- }
- &.ghost{
- background: #F56C6C;
- outline-width: 0;
- height: 5px;
- min-height: 0;
- box-sizing: border-box;
- font-size: 0;
- content: '';
- overflow: hidden;
- padding: 0;
- position: relative;
- outline: none;
- border: 0;
- margin: 2px;
- &::after{
- background: #F56C6C;
- position: absolute;
- top:0;
- left: 0;
- right: 0;
- bottom: 0;
- content: '';
- display: block;
- z-index: 999;
- }
- }
- }
- .widget-report-item{
- padding: 5px;
- background-color: rgba(253,246,236, .3);
- min-height: 50px;
- min-width: 50px;
- position: relative;
- box-sizing: border-box;
- &.active{
- outline: 2px solid #e6a23c;
- border: 1px solid #e6a23c;
- outline-offset: -1px;
- }
- &.is-hover{
- background: #fdf6ec;
- outline: 1px solid #e6a23c;
- border: 1px solid #e6a23c;
- outline-offset: 0;
- &.active{
- outline: 2px solid #e6a23c;
- border: 1px solid #e6a23c;
- outline-offset: -1px;
- }
- >.widget-view-type{
- background: #e6a23c;
- }
- }
- &.selected {
- background: #e6a23c;
- opacity: 0.6;
- }
- &::after{
- display: none;
- }
- }
- .widget-report-header{
- border-bottom-style: solid;
- border-right-style: solid;
- padding: 0;
- background-color: #e6a23c;
- border: 1px solid #e6a23c;
- opacity: 0.6;
- cursor: pointer;
- &.active{
- opacity: 1;
- outline: 0 solid #e6a23c;
- border: 1px solid #e6a23c;
- outline-offset: 0px;
- }
- &.is-hover{
- opacity: 1;
- outline: 0 solid #e6a23c;
- background-color: #e6a23c;
- outline-offset: 0px;
- }
- }
- .widget-report{
- padding: 5px;
- // padding-bottom: 5;
- background-color: rgba(253,246,236, .3);
- box-sizing: border-box;
- &>div{
- overflow: auto;
- padding: 1px;
- }
- &.active{
- outline: 2px solid #e6a23c;
- border: 1px solid #e6a23c;
- }
- &.is-hover{
- background: #fdf6ec;
- outline: 1px solid #e6a23c;
- outline-offset: 0px;
- &.active{
- outline: 2px solid #e6a23c;
- border: 1px solid #e6a23c;
- outline-offset: 0;
- }
- >.widget-view-type{
- background: #e6a23c;
- }
- }
- &.ghost{
- background: #F56C6C;
- border: 2px solid #F56C6C;
- outline-width: 0;
- height: 3px;
- min-height: 3px;
- box-sizing: border-box;
- font-size: 0;
- content: '';
- overflow: hidden;
- padding: 0;
- margin: 2px;
- }
- .widget-view-action.widget-col-action{
- background: #e6a23c;
- overflow: hidden;
- .el-dropdown-link::selection{
- background: #e6a23c !important;
- }
- }
- .widget-view-drag.widget-col-drag{
- background: #e6a23c;
- overflow: hidden;
- }
- &::after{
- display: none;
- }
- }
- .widget-tab{
- padding: 5px;
- background-color: rgba(253,246,236, .3);
- &.active{
- outline: 2px solid #e6a23c;
- border: 1px solid #e6a23c;
- }
- &.is-hover{
- background: #fdf6ec;
- outline: 1px solid #e6a23c;
- outline-offset: 0px;
- &.active{
- outline: 2px solid #e6a23c;
- border: 1px solid #e6a23c;
- outline-offset: 0;
- }
- >.widget-view-type{
- background: #e6a23c;
- }
- }
- &.ghost{
- background: #F56C6C;
- border: 2px solid #F56C6C;
- outline-width: 0;
- height: 3px;
- min-height: 3px;
- box-sizing: border-box;
- font-size: 0;
- content: '';
- overflow: hidden;
- padding: 0;
- margin: 2px;
- }
- .widget-view-action.widget-col-action{
- background: #e6a23c;
- }
- .widget-view-drag.widget-col-drag{
- background: #e6a23c;
- }
- &::after{
- display: none;
- }
- }
- .widget-collapse{
- padding: 5px;
- background-color: rgba(253,246,236, .3);
- &.active{
- outline: 2px solid #e6a23c;
- border: 1px solid #e6a23c;
- }
- &.is-hover{
- background: #fdf6ec;
- outline: 1px solid #e6a23c;
- outline-offset: 0px;
- &.active{
- outline: 2px solid #e6a23c;
- border: 1px solid #e6a23c;
- outline-offset: 0;
- }
- >.widget-view-type{
- background: #e6a23c;
- }
- }
- &.ghost{
- background: #F56C6C;
- border: 2px solid #F56C6C;
- outline-width: 0;
- height: 3px;
- min-height: 3px;
- box-sizing: border-box;
- font-size: 0;
- content: '';
- overflow: hidden;
- padding: 0;
- margin: 2px;
- }
- .widget-view-action.widget-col-action{
- background: #e6a23c;
- }
- .widget-view-drag.widget-col-drag{
- background: #e6a23c;
- }
- &::after{
- display: none;
- }
- }
- .widget-col{
- padding-bottom: 0;
- padding: 5px;
- // margin-left: 2px !important;
- // margin-right: 2px !important;
- background-color: rgba(253,246,236, .3);
- position: relative;
- &.active{
- outline: 2px solid #e6a23c;
- border: 1px solid #e6a23c;
- }
- &.is-hover{
- background: #fdf6ec;
- outline: 1px solid #e6a23c;
- outline-offset: 0px;
- &.active{
- outline: 2px solid #e6a23c;
- border: 1px solid #e6a23c;
- outline-offset: 0;
- }
- >.widget-view-type{
- background: #e6a23c;
- }
- }
- .el-col{
- min-height: 50px;
- }
- &.ghost{
- background: #F56C6C;
- border: 2px solid #F56C6C;
- outline-width: 0;
- height: 3px;
- min-height: 3px;
- box-sizing: border-box;
- font-size: 0;
- content: '';
- overflow: hidden;
- padding: 0;
- margin: 2px;
- display: block;
- }
- .widget-view-action.widget-col-action{
- background: #e6a23c;
- }
- .widget-view-drag.widget-col-drag{
- background: #e6a23c;
- }
- &::after{
- display: none;
- }
- }
- .widget-col-item{
- padding: 5px;
- position: relative;
- box-sizing: border-box;
- border: 1px dashed rgba(170,170,170,0.5);
- // margin: 1px;
- &.active{
- outline: 2px solid #e6a23c;
- border: 1px solid #e6a23c;
- outline-offset: -1px;
- }
- &.is-hover{
- background: #fdf6ec;
- outline: 1px solid #e6a23c;
- // border: 1px solid #e6a23c;
- outline-offset: 0;
- &.active{
- outline: 2px solid #e6a23c;
- border: 1px solid #e6a23c;
- outline-offset: -1px;
- }
- >.widget-view-type{
- background: #e6a23c;
- }
- }
- &::after{
- display: none;
- }
- }
- .ghost{
- background: #F56C6C;
- border: 2px solid #F56C6C;
- outline-width: 0;
- height: 3px;
- box-sizing: border-box;
- font-size: 0;
- content: '';
- overflow: hidden;
- padding: 0;
- margin: 2px;
- }
- }
- .ghost{
- background: #F56C6C;
- border: 2px solid #F56C6C;
- position: relative;
- margin: 2px;
-
- &::after{
- background: #F56C6C;
- }
- }
-
- li.ghost{
- height: 5px;
- list-style: none;
- font-size: 0;
- overflow: hidden;
- margin: 2px;
- }
- .widget-grid{
- background: #F4F6FC;
- position: relative;
- border-left: 5px solid transparent;
- padding: 5px;
- margin: 0 !important;
- &.active{
- border-left: 5px solid $primary-color;
- background: #b3d8ff;
- }
- }
- .widget-grid-container{
- &.ghost{
- background: #F56C6C;
- border: 2px solid #F56C6C;
- outline-width: 0;
- height: 3px;
- box-sizing: border-box;
- font-size: 0;
- content: '';
- overflow: hidden;
- padding: 0;
- margin: 2px;
- }
- }
- .ghost{
- background: #F56C6C;
- border: 2px solid #F56C6C;
- position: relative;
- margin: 2px;
-
- &::after{
- background: #F56C6C;
- }
- }
-
- li.ghost{
- height: 5px;
- list-style: none;
- font-size: 0;
- overflow: hidden;
- margin: 2px;
- }
- }
- .widget-left-panel{
- position: relative;
- overflow: unset;
- &.hide-status{
- width: 0 !important;
- .container-left-arrow{
- &::after{
- transform: translate(-50%,-50%) rotate(180deg);
- left: 60%;
- }
- }
- }
- .container-left-arrow{
- position: absolute;
- width: 16px;
- height: 50px;
- top: 50%;
- right: -15px;
- transform: translateY(-50%);
- background-color: transparent;
- box-sizing: border-box;
- z-index: 10;
- cursor: pointer;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- &::before{
- content: "";
- position: absolute;
- border-radius: 0 10px 10px 0;
- box-sizing: border-box;
- border-left: 0;
- border-color: #e0e0e0;
- border-style: solid;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- background: #fff;
- z-index: -1;
- transform: perspective(50px) rotateY(30deg);
- transition: all .15s;
- }
- &::after{
- content: "";
- display: block;
- position: absolute;
- width: 0px;
- height: 0px;
- border-width: 5px;
- border-color: transparent;
- border-right-color: #a1a6b3;
- border-style: solid;
- left: 20%;
- top: 50%;
- -webkit-mask-size: 100% 100%;
- mask-size: 100% 100%;
- -webkit-mask-repeat: no-repeat;
- mask-repeat: no-repeat;
- transform: translate(-50%,-50%) rotate(0deg);
- }
- }
- }
- .widget-config-container{
- position: relative;
- overflow: unset;
- &.hide-status{
- width: 0 !important;
- .container-right-arrow{
- &::after{
- transform: translate(-50%,-50%) rotate(0deg);
- left: 45%;
- }
- }
- }
- .container-right-arrow{
- position: absolute;
- width: 16px;
- height: 50px;
- top: 50%;
- left: -15px;
- transform: translateY(-50%);
- background-color: transparent;
- box-sizing: border-box;
- z-index: 10;
- cursor: pointer;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- &::before{
- content: "";
- position: absolute;
- border-radius: 10px 0 0 10px;
- box-sizing: border-box;
- border-right: 0;
- border-color: #e0e0e0;
- border-style: solid;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- background: #fff;
- z-index: -1;
- transform: perspective(50px) rotateY(-30deg);
- transition: all .15s;
- }
- &::after{
- content: "";
- display: block;
- position: absolute;
- width: 0px;
- height: 0px;
- border-width: 5px;
- border-color: transparent;
- border-right-color: #a1a6b3;
- border-style: solid;
- left: 75%;
- top: 50%;
- -webkit-mask-size: 100% 100%;
- mask-size: 100% 100%;
- -webkit-mask-repeat: no-repeat;
- mask-repeat: no-repeat;
- transform: translate(-50%,-50%) rotate(180deg);
- }
- }
- .el-header{
- border-bottom: solid 2px #e4e7ed;
- padding: 0 5px;
- }
- .config-tab{
- height: 45px;
- line-height: 45px;
- display: inline-block;
- width: 145px;
- text-align: center;
- font-size: 14px;
- font-weight: 500;
- position: relative;
- cursor: pointer;
- &.active{
- border-bottom: solid 2px $primary-color;
- }
- }
- .config-content{
- position: relative;
- .empty{
- position: absolute;
- text-align: center;
- width: 100px;
- height: 20px;
- font-size: 20px;
- top: 50%;
- width: 90%;
- margin-top: -10px;
- color: #ccc;
- }
- .el-form-item__label{
- padding: 0;
- font-weight: 500;
- }
- .el-form-item {
- border-bottom: solid 1px #e1e1e1;
- padding-bottom: 10px;
- margin-left: 10px;
- margin-right: 10px;
- }
- .validate-block{
- +.validate-block{
- margin-top: 10px;
- }
- .message-input{
- margin-left: 24px;
- width: 239px;
- }
- }
- }
- .ghost{
- background: #fff;
- border: 1px dashed $primary-color;
- margin: 2px;
-
- &::after{
- background: #fff;
- display: block;
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- }
- }
-
- ul{
- margin: 0;
- padding: 0;
- }
-
- li.ghost{
- list-style: none;
- font-size: 0;
- display: block;
- position: relative;
- margin: 2px;
- }
- }
- .viewer-container{
- z-index: 99999 !important;
- }
- @media screen and (max-width: 768px){
- @include mobile.mobileRender;
- .fm-generate-dialog{
- width: 100% !important;
- }
- .fm-generate-ant-dialog{
- .ant-modal{
- width: 100% !important;
- }
- }
- }
|