3333 :onResizeStart =" recordInitialSize"
3434 >
3535 <div class =" component-title" >
36- <p style = " color : black " >{{ componentData.componentName }}</p >
36+ <p >{{ componentData.componentName }}</p >
3737 </div >
3838 <q-icon v-if =" this.componentMap[componentData.componentName]?.noteList?.length > 0"
39- color =" red"
4039 size =" 30px"
4140 z-layer =" 0"
4241 name =" edit_note"
4342 class =" compNoteLogo"
4443 @click =" handleAddNotes" />
4544 <q-icon v-else
46- color =" white"
4745 size =" 30px"
4846 z-layer =" 0"
4947 name =" edit_note"
50- class =" compNoteLogo "
48+ class =" compNoteLogoEmpty "
5149 @click =" handleAddNotes" />
5250 <q-menu context-menu >
5351 <q-list color =" black" class =" menu" >
54- <q-item clickable v-ripple v-close-popup @click =" handleExportComponent" >
55- <q-item-section style =" color : menutext "
56- >Export Component</q-item-section
57- >
58- <q-item-section avatar >
59- <q-icon color =" primary" name =" upload" />
60- </q-item-section >
61- </q-item >
62- <q-item clickable v-ripple v-close-popup @click =" handleAddNotes" >
63- <q-item-section style =" color : white "
64- >Component Notes</q-item-section
65- >
66- <q-item-section avatar >
67- <q-icon color =" primary" name =" edit_note" />
68- </q-item-section >
69- </q-item >
70- <q-item clickable v-ripple v-close-popup @click =" handleAddChild" >
71- <q-item-section style =" color : menutext "
72- >Update Children</q-item-section
73- >
74- <q-item-section avatar >
75- <q-icon color =" primary" name =" add" />
76- </q-item-section >
77- </q-item >
78- <q-item clickable v-ripple v-close-popup >
79- <q-item-section class =" layer" style =" color : menutext "
80- >Layer</q-item-section
81- >
52+ <q-item clickable v-ripple v-close-popup id =" layer-item" >
53+ <q-item-section class =" layer" >Layer</q-item-section >
8254 <q-btn
83- class =" btn "
55+ class =" minorAction "
8456 color =" transparent"
8557 text-color =" primary"
86- label =" - "
58+ label =" & ndash ; "
8759 @click =" (e) => handleLayer(e)"
8860 />
89- <p id =" counter" style = " color : menutext " >{{ componentData.z }}</p >
61+ <p id =" counter" >{{ componentData.z }}</p >
9062 <q-btn
91- class =" btn "
63+ class =" minorAction "
9264 color =" transparent"
9365 text-color =" primary"
9466 label =" +"
9567 @click =" (e) => handleLayer(e)"
9668 />
9769 </q-item >
70+ <q-item clickable v-ripple v-close-popup @click =" handleAddChild" >
71+ <q-item-section >Update Children</q-item-section >
72+ <q-item-section avatar >
73+ <q-icon color =" primary" name =" add" />
74+ </q-item-section >
75+ </q-item >
76+ <q-item clickable v-ripple v-close-popup @click =" handleAddNotes" >
77+ <q-item-section >Component Notes</q-item-section >
78+ <q-item-section avatar >
79+ <q-icon color =" primary" name =" edit_note" />
80+ </q-item-section >
81+ </q-item >
82+ <q-item clickable v-ripple v-close-popup @click =" handleExportComponent" >
83+ <q-item-section >Export Component</q-item-section >
84+ <q-item-section avatar >
85+ <q-icon color =" primary" name =" upload" />
86+ </q-item-section >
87+ </q-item >
9888 </q-list >
9989 </q-menu >
10090
10191 </vue-draggable-resizable >
10292 <div >
103- <q-dialog v-model =" modalOpen" persistent >
93+ <q-dialog v-model =" modalOpen" >
10494 <q-select
10595 @select =" handleSelect"
106- id =" dropdown "
96+ id =" childrenDropdown "
10797 filled
10898 v-model =" testModel"
10999 multiple
110100 :options =" options"
111101 use-chips
112102 stack-label
103+ dark
113104 label =" Select children"
114- style =" width : 250px ; background-color : #fd5f00 "
105+ style =" width : 250px ; background-color : #201221 ; "
115106 />
116107 </q-dialog >
117108
@@ -555,7 +546,7 @@ li:hover{
555546 font- size: 16px ;
556547 top: - 18px ;
557548 left: 2px ;
558- color: black ;
549+ color: $subprimary ;
559550 - webkit- text- stroke: 0 .4px $menutext;
560551 font- weight: 800 ;
561552 line- height: 1.2 ;
@@ -613,15 +604,30 @@ li:hover{
613604}
614605
615606.compNoteLogo {
616- background: $subprimary;
617- opacity: 90 % ;
607+ background: rgba ($subprimary, .9 );
608+ color: $secondary;
609+ border- radius: 4px ;
610+ position: absolute;
611+ top: 4px ;
612+ left: 4px ;
613+ }
614+
615+ .compNoteLogoEmpty {
616+ background: rgba ($subprimary, .9 );
617+ color: rgba ($primary, 1 );
618618 border- radius: 4px ;
619619 position: absolute;
620620 top: 4px ;
621621 left: 4px ;
622622}
623623.compNoteLogo : hover{
624- background: $primary;
624+ background: rgba ($subprimary, .6 );
625+ color: rgba ($secondary, .8 );
626+ }
627+
628+ .compNoteLogoEmpty : hover{
629+ background: rgba ($subprimary, .6 );
630+ color: rgba ($menutext, .4 );
625631}
626632
627633.component - box {
@@ -637,11 +643,10 @@ li:hover{
637643 background- color: $accent;
638644 border: 1px dashed $accent;
639645}
640- .btn {
641- font- size: 25px ;
642- padding: 0 20px ;
646+ .minorAction {
647+ font- weight: bolder ! important;
643648 width: 10px ;
644- height: 10px ;
649+ height: 30px ! important ;
645650 transition: none;
646651}
647652.btn : hover,
@@ -650,8 +655,20 @@ li:hover{
650655 color: $menutext;
651656 background- color: transparent;
652657}
658+
659+ #layer- item {
660+ align- items: center;
661+ }
662+
653663#counter {
654- margin- top: 20px ;
664+ margin: 0 10px 0 ;
665+ color: $menutext;
666+ }
667+
668+ #childrenDropdown {
669+ width: 250px ;
670+ background: $subprimary;
671+ color: $menutext;
655672}
656673.title {
657674 font- size: 20px ;
0 commit comments