@@ -39,23 +39,23 @@ Description:
39
39
<q-menu context-menu >
40
40
<q-list color =" black" class =" menu" >
41
41
<q-item clickable v-ripple v-close-popup @click =" handleExportComponent" >
42
- <q-item-section style =" color : white "
42
+ <q-item-section style =" color : menutext "
43
43
>Export Component</q-item-section
44
44
>
45
45
<q-item-section avatar >
46
46
<q-icon color =" primary" name =" upload" />
47
47
</q-item-section >
48
48
</q-item >
49
49
<q-item clickable v-ripple v-close-popup @click =" handleAddChild" >
50
- <q-item-section style =" color : white "
50
+ <q-item-section style =" color : menutext "
51
51
>Update Children</q-item-section
52
52
>
53
53
<q-item-section avatar >
54
54
<q-icon color =" primary" name =" add" />
55
55
</q-item-section >
56
56
</q-item >
57
57
<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 "
59
59
>Layer</q-item-section
60
60
>
61
61
<q-btn
@@ -65,7 +65,7 @@ Description:
65
65
label =" -"
66
66
@click =" (e) => handleLayer(e)"
67
67
/>
68
- <p id =" counter" style =" color : white " >{{ componentData.z }}</p >
68
+ <p id =" counter" style =" color : menutext " >{{ componentData.z }}</p >
69
69
<q-btn
70
70
class =" btn"
71
71
color =" transparent"
@@ -208,7 +208,8 @@ export default {
208
208
mockBg () {
209
209
return this .imagePath [this .activeRoute ]
210
210
? {
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"
212
213
}
213
214
: {};
214
215
},
@@ -396,14 +397,14 @@ export default {
396
397
};
397
398
</script >
398
399
399
- <style scoped>
400
+ <style scoped lang="scss" >
400
401
.component-title {
401
402
position : relative ;
402
403
font-size : 16px ;
403
404
top : -18px ;
404
405
left : 2px ;
405
406
color : black ;
406
- -webkit-text-stroke : 0.4px white ;
407
+ -webkit-text-stroke : 0.4px $menutext ;
407
408
font-weight : 800 ;
408
409
line-height : 1.2 ;
409
410
z-index : -1 ;
@@ -422,50 +423,54 @@ export default {
422
423
list-style : none ;
423
424
}
424
425
.component-display {
425
- height : 95.4vh ;
426
+ top : 0px ;
427
+ left : 0px ;
426
428
width : 100% ;
427
- position : relative ;
429
+ height : 100% ;
430
+ min-width : 1600px ;
431
+ min-height : 900px ;
432
+ position : absolute ;
428
433
}
429
434
.grid-bg {
430
435
background-color : rgba (223 , 218 , 218 , 0.886 );
431
436
background-size : 100px 100px , 100px 100px , 20px 20px , 20px 20px ;
432
437
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 ),
435
440
-webkit-linear-gradient (rgba (255 , 255 , 255 , 0.3 ) 1px , transparent 1px ),
436
441
-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 ),
439
444
-moz-linear-gradient (rgba (255 , 255 , 255 , 0.3 ) 1px , transparent 1px ),
440
445
-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 ),
443
448
linear-gradient (rgba (255 , 255 , 255 , 0.3 ) 1px , transparent 1px ),
444
449
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 ,
447
452
linear-gradient (rgba (255 , 255 , 255 , 0.3 ) 1px , transparent 1px ) -1px -1px /
448
453
20px ,
449
454
linear-gradient (90deg , rgba (255 , 255 , 255 , 0.3 ) 1px , transparent 1px ) -1px -1px /
450
455
20px ,
451
- #269 ;
456
+ $secondary ;
452
457
behavior : url (/ pie/PIE.htc );
453
458
}
454
459
.menu {
455
460
margin-bottom : 0px !important ;
456
461
}
457
462
.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 );
461
466
-webkit-transition : background-color 200ms linear ;
462
467
-ms-transition : background-color 200ms linear ;
463
468
transition : background-color 200ms linear ;
464
469
position : absolute ;
465
470
}
466
471
.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 ;
469
474
}
470
475
.btn {
471
476
font-size : 25px ;
@@ -477,7 +482,7 @@ export default {
477
482
.btn :hover ,
478
483
.btn :focus ,
479
484
.btn :active {
480
- color : white ;
485
+ color : $menutext ;
481
486
background-color : transparent ;
482
487
}
483
488
#counter {
0 commit comments