|
49 | 49 | @click="handleAddNotes" /> |
50 | 50 | <q-menu context-menu> |
51 | 51 | <q-list color="black" class="menu"> |
52 | | - <q-item clickable v-ripple v-close-popup @click="handleAddNotes"> |
53 | | - <q-item-section>Component Notes</q-item-section> |
54 | | - <q-item-section avatar> |
55 | | - <q-icon color="primary" name="edit_note" /> |
56 | | - </q-item-section> |
57 | | - </q-item> |
58 | | - <q-item clickable v-ripple v-close-popup @click="handleAddChild"> |
59 | | - <q-item-section>Update Children</q-item-section> |
60 | | - <q-item-section avatar> |
61 | | - <q-icon color="primary" name="add" /> |
62 | | - </q-item-section> |
63 | | - </q-item> |
64 | 52 | <q-item clickable v-ripple v-close-popup id="layer-item"> |
65 | | - <q-item-section class="layer" |
66 | | - >Layer</q-item-section |
67 | | - > |
| 53 | + <q-item-section class="layer">Layer</q-item-section> |
68 | 54 | <q-btn |
69 | 55 | class="minorAction" |
70 | 56 | color="transparent" |
|
81 | 67 | @click="(e) => handleLayer(e)" |
82 | 68 | /> |
83 | 69 | </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> |
84 | 82 | <q-item clickable v-ripple v-close-popup @click="handleExportComponent"> |
85 | 83 | <q-item-section>Export Component</q-item-section> |
86 | 84 | <q-item-section avatar> |
|
92 | 90 |
|
93 | 91 | </vue-draggable-resizable> |
94 | 92 | <div> |
95 | | - <q-dialog v-model="modalOpen" persistent> |
| 93 | + <q-dialog v-model="modalOpen"> |
96 | 94 | <q-select |
97 | 95 | @select="handleSelect" |
98 | | - id="dropdown" |
| 96 | + id="childrenDropdown" |
99 | 97 | filled |
100 | 98 | v-model="testModel" |
101 | 99 | multiple |
102 | 100 | :options="options" |
103 | 101 | use-chips |
104 | 102 | stack-label |
| 103 | + dark |
105 | 104 | label="Select children" |
106 | | - style="width: 250px; background-color: #fd5f00" |
| 105 | + style="width: 250px; background-color: #201221;" |
107 | 106 | /> |
108 | 107 | </q-dialog> |
109 | 108 | <!-- some irregularity (delete event listener firing on bkspc/del) with the modal when stored locally, so modal open stored in state, and triggers to local reflect only stateful change.--> |
@@ -663,6 +662,12 @@ li:hover{ |
663 | 662 | margin: 0 10px 0; |
664 | 663 | color: $menutext; |
665 | 664 | } |
| 665 | +
|
| 666 | +#childrenDropdown { |
| 667 | + width: 250px; |
| 668 | + background: $subprimary; |
| 669 | + color: $menutext; |
| 670 | +} |
666 | 671 | .title { |
667 | 672 | font-size: 20px; |
668 | 673 | font-weight: bold; |
|
0 commit comments