@@ -39,23 +39,23 @@ Description:
3939 <q-menu context-menu >
4040 <q-list color =" black" class =" menu" >
4141 <q-item clickable v-ripple v-close-popup @click =" handleExportComponent" >
42- <q-item-section style =" color : white "
42+ <q-item-section style =" color : menutext "
4343 >Export Component</q-item-section
4444 >
4545 <q-item-section avatar >
4646 <q-icon color =" primary" name =" upload" />
4747 </q-item-section >
4848 </q-item >
4949 <q-item clickable v-ripple v-close-popup @click =" handleAddChild" >
50- <q-item-section style =" color : white "
50+ <q-item-section style =" color : menutext "
5151 >Update Children</q-item-section
5252 >
5353 <q-item-section avatar >
5454 <q-icon color =" primary" name =" add" />
5555 </q-item-section >
5656 </q-item >
5757 <q-item clickable v-ripple v-close-popup >
58- <q-item-section class =" layer" style =" color : white "
58+ <q-item-section class =" layer" style =" color : menutext "
5959 >Layer</q-item-section
6060 >
6161 <q-btn
@@ -65,7 +65,7 @@ Description:
6565 label =" -"
6666 @click =" (e) => handleLayer(e)"
6767 />
68- <p id =" counter" style =" color : white " >{{ componentData.z }}</p >
68+ <p id =" counter" style =" color : menutext " >{{ componentData.z }}</p >
6969 <q-btn
7070 class =" btn"
7171 color =" transparent"
@@ -208,7 +208,8 @@ export default {
208208 mockBg () {
209209 return this .imagePath [this .activeRoute ]
210210 ? {
211- background: ` url("${ this .userImage } ") center/contain no-repeat rgba(223, 218, 218, 0.886)` ,
211+ background: ` url("${ this .userImage } ") no-repeat rgba(223, 218, 218, 0.886) top left` ,
212+ " background-size" : " contain"
212213 }
213214 : {};
214215 },
@@ -396,14 +397,14 @@ export default {
396397};
397398 </script >
398399
399- <style scoped>
400+ <style scoped lang="scss" >
400401.component-title {
401402 position : relative ;
402403 font-size : 16px ;
403404 top : -18px ;
404405 left : 2px ;
405406 color : black ;
406- -webkit-text-stroke : 0.4px white ;
407+ -webkit-text-stroke : 0.4px $menutext ;
407408 font-weight : 800 ;
408409 line-height : 1.2 ;
409410 z-index : -1 ;
@@ -422,50 +423,54 @@ export default {
422423 list-style : none ;
423424}
424425.component-display {
425- height : 95.4vh ;
426+ top : 0px ;
427+ left : 0px ;
426428 width : 100% ;
427- position : relative ;
429+ height : 100% ;
430+ min-width : 1600px ;
431+ min-height : 900px ;
432+ position : absolute ;
428433}
429434.grid-bg {
430435 background-color : rgba (223 , 218 , 218 , 0.886 );
431436 background-size : 100px 100px , 100px 100px , 20px 20px , 20px 20px ;
432437 background-position : -2px -2px , -2px -2px , -1px -1px , -1px -1px ;
433- background-image : -webkit-linear-gradient (white 2 px , transparent 2 px ),
434- -webkit-linear-gradient (0 , white 2 px , transparent 2 px ),
438+ background-image : -webkit-linear-gradient (rgba ( 255 , 255 , 255 , 0.8 ) 1 px , transparent 1 px ),
439+ -webkit-linear-gradient (0 , rgba ( 255 , 255 , 255 , 0.8 ) 1 px , transparent 1 px ),
435440 -webkit-linear-gradient (rgba (255 , 255 , 255 , 0.3 ) 1px , transparent 1px ),
436441 -webkit-linear-gradient (0 , rgba (255 , 255 , 255 , 0.3 ) 1px , transparent 1px );
437- background-image : -moz-linear-gradient (white 2 px , transparent 2 px ),
438- -moz-linear-gradient (0 , white 2 px , transparent 2 px ),
442+ background-image : -moz-linear-gradient (rgba ( 255 , 255 , 255 , 0.8 ) 1 px , transparent 1 px ),
443+ -moz-linear-gradient (0 , rgba ( 255 , 255 , 255 , 0.8 ) 1 px , transparent 1 px ),
439444 -moz-linear-gradient (rgba (255 , 255 , 255 , 0.3 ) 1px , transparent 1px ),
440445 -moz-linear-gradient (0 , rgba (255 , 255 , 255 , 0.3 ) 1px , transparent 1px );
441- background-image : linear-gradient (white 2 px , transparent 2 px ),
442- linear-gradient (90deg , white 2 px , transparent 2 px ),
446+ background-image : linear-gradient (rgba ( 255 , 255 , 255 , 0.8 ) 1 px , transparent 1 px ),
447+ linear-gradient (90deg , rgba ( 255 , 255 , 255 , 0.8 ) 1 px , transparent 1 px ),
443448 linear-gradient (rgba (255 , 255 , 255 , 0.3 ) 1px , transparent 1px ),
444449 linear-gradient (90deg , rgba (255 , 255 , 255 , 0.3 ) 1px , transparent 1px );
445- -pie-background : linear-gradient (white 2 px , transparent 2 px ) -2px -2px / 100px ,
446- linear-gradient (90deg , white 2 px , transparent 2 px ) -2px -2px / 100px ,
450+ -pie-background : linear-gradient (rgba ( 255 , 255 , 255 , 0.8 ) 1 px , transparent 1 px ) -2px -2px / 100px ,
451+ linear-gradient (90deg , rgba ( 255 , 255 , 255 , 0.8 ) 1 px , transparent 1 px ) -2px -2px / 100px ,
447452 linear-gradient (rgba (255 , 255 , 255 , 0.3 ) 1px , transparent 1px ) -1px -1px /
448453 20px ,
449454 linear-gradient (90deg , rgba (255 , 255 , 255 , 0.3 ) 1px , transparent 1px ) -1px -1px /
450455 20px ,
451- #269 ;
456+ $secondary ;
452457 behavior : url (/ pie/PIE.htc );
453458}
454459.menu {
455460 margin-bottom : 0px !important ;
456461}
457462.component-box {
458- color : white ;
459- border : 1.2px dashed rgb ( 231 , 203 , 75 ) ;
460- background-color : rgba (172 , 83 , 83 , 0 .42 );
463+ color : $menutext ;
464+ border : 1.2px dashed $darktext ;
465+ background-color : rgba ($darktext , .42 );
461466 -webkit-transition : background-color 200ms linear ;
462467 -ms-transition : background-color 200ms linear ;
463468 transition : background-color 200ms linear ;
464469 position : absolute ;
465470}
466471.active {
467- background-color : rgba ( 105 , 179 , 190 , 0.514 ) ;
468- border : 1px dashed rgb ( 227 , 203 , 71 ) ;
472+ background-color : $accent ;
473+ border : 1px dashed $accent ;
469474}
470475.btn {
471476 font-size : 25px ;
@@ -477,7 +482,7 @@ export default {
477482.btn :hover ,
478483.btn :focus ,
479484.btn :active {
480- color : white ;
485+ color : $menutext ;
481486 background-color : transparent ;
482487}
483488#counter {
0 commit comments