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 >
6252 <q-item clickable v-ripple v-close-popup @click =" handleAddNotes" >
63- <q-item-section style =" color : white "
64- >Component Notes</q-item-section
65- >
53+ <q-item-section >Component Notes</q-item-section >
6654 <q-item-section avatar >
67- <q-icon color =" primary" name =" edit_note" />
68- </q-item-section >
55+ <q-icon color =" primary" name =" edit_note" />
56+ </q-item-section >
6957 </q-item >
7058 <q-item clickable v-ripple v-close-popup @click =" handleAddChild" >
71- <q-item-section style =" color : menutext "
72- >Update Children</q-item-section
73- >
59+ <q-item-section >Update Children</q-item-section >
7460 <q-item-section avatar >
7561 <q-icon color =" primary" name =" add" />
7662 </q-item-section >
7763 </q-item >
78- <q-item clickable v-ripple v-close-popup >
79- <q-item-section class =" layer" style = " color : menutext "
64+ <q-item clickable v-ripple v-close-popup id = " layer-item " >
65+ <q-item-section class =" layer"
8066 >Layer</q-item-section
8167 >
8268 <q-btn
83- class =" btn "
69+ class =" minorAction "
8470 color =" transparent"
8571 text-color =" primary"
86- label =" - "
72+ label =" & ndash ; "
8773 @click =" (e) => handleLayer(e)"
8874 />
89- <p id =" counter" style = " color : menutext " >{{ componentData.z }}</p >
75+ <p id =" counter" >{{ componentData.z }}</p >
9076 <q-btn
91- class =" btn "
77+ class =" minorAction "
9278 color =" transparent"
9379 text-color =" primary"
9480 label =" +"
9581 @click =" (e) => handleLayer(e)"
9682 />
9783 </q-item >
84+ <q-item clickable v-ripple v-close-popup @click =" handleExportComponent" >
85+ <q-item-section >Export Component</q-item-section >
86+ <q-item-section avatar >
87+ <q-icon color =" primary" name =" upload" />
88+ </q-item-section >
89+ </q-item >
9890 </q-list >
9991 </q-menu >
10092
131123 label =" Add your note here"
132124 filled
133125 dark
134- max-height =15%
126+ max-height =" 15%"
135127 autofocus true
136128 ></q-input >
137129 <q-btn
@@ -553,7 +545,7 @@ li:hover{
553545 font- size: 16px ;
554546 top: - 18px ;
555547 left: 2px ;
556- color: black ;
548+ color: $subprimary ;
557549 - webkit- text- stroke: 0 .4px $menutext;
558550 font- weight: 800 ;
559551 line- height: 1.2 ;
@@ -611,15 +603,30 @@ li:hover{
611603}
612604
613605.compNoteLogo {
614- background: $subprimary;
615- opacity: 90 % ;
606+ background: rgba ($subprimary, .9 );
607+ color: $secondary;
608+ border- radius: 4px ;
609+ position: absolute;
610+ top: 4px ;
611+ left: 4px ;
612+ }
613+
614+ .compNoteLogoEmpty {
615+ background: rgba ($subprimary, .9 );
616+ color: rgba ($primary, 1 );
616617 border- radius: 4px ;
617618 position: absolute;
618619 top: 4px ;
619620 left: 4px ;
620621}
621622.compNoteLogo : hover{
622- background: $primary;
623+ background: rgba ($subprimary, .6 );
624+ color: rgba ($secondary, .8 );
625+ }
626+
627+ .compNoteLogoEmpty : hover{
628+ background: rgba ($subprimary, .6 );
629+ color: rgba ($menutext, .4 );
623630}
624631
625632.component - box {
@@ -635,11 +642,10 @@ li:hover{
635642 background- color: $accent;
636643 border: 1px dashed $accent;
637644}
638- .btn {
639- font- size: 25px ;
640- padding: 0 20px ;
645+ .minorAction {
646+ font- weight: bolder ! important;
641647 width: 10px ;
642- height: 10px ;
648+ height: 30px ! important ;
643649 transition: none;
644650}
645651.btn : hover,
@@ -648,8 +654,14 @@ li:hover{
648654 color: $menutext;
649655 background- color: transparent;
650656}
657+
658+ #layer- item {
659+ align- items: center;
660+ }
661+
651662#counter {
652- margin- top: 20px ;
663+ margin: 0 10px 0 ;
664+ color: $menutext;
653665}
654666.title {
655667 font- size: 20px ;
0 commit comments