File tree Expand file tree Collapse file tree 2 files changed +45
-3
lines changed Expand file tree Collapse file tree 2 files changed +45
-3
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ export default {
129
129
} else {
130
130
nestedString +=
131
131
htmlElementMap[child .text ][0 ] +
132
- htmlElementMap[child .text ][1 ] +
132
+ htmlElementMap[child .text ][1 ] +
133
133
" \n " ;
134
134
}
135
135
}
Original file line number Diff line number Diff line change @@ -12,20 +12,22 @@ Description:
12
12
<hr >
13
13
</span >
14
14
<span class =' list-title' v-else-if =' !this.activeComponent' ></span >
15
- <div
15
+ <div
16
16
group =" people"
17
17
class =" list-group"
18
18
>
19
19
<p v-if =' !this.componentMap[this.activeComponent]?.htmlList.length' >No HTML elements in component</p >
20
- <div
20
+ <div id = " tooltipCon "
21
21
:class =" activeHTML === element[2] ? 'list-group-item-selected' : 'list-group-item'"
22
22
@dblclick.self =" setActiveElement(element)"
23
23
v-for =" (element) in renderList" :key =" element[1] + Date.now()"
24
24
>
25
+
25
26
<i v-if =' activeComponent === "" || exceptions.includes(element[0]) ' ></i >
26
27
<i v-else class =" fas fa fa-angle-double-down fa-md" @click =" setLayer({text: element[0], id: element[2]})" ></i >
27
28
{{ element[0] }}
28
29
<i class =" fas fa fa-trash fa-md" @click.self =" deleteElement([element[1],element[2]])" ></i >
30
+ <div class =" tooltip" > Edit {{element[0]}} attributes </div >
29
31
</div >
30
32
31
33
</div >
@@ -191,4 +193,44 @@ li {
191
193
hr {
192
194
border : 1px solid grey
193
195
}
196
+
197
+
198
+ #tooltipCon {
199
+ position : relative ;
200
+ cursor : pointer ;
201
+ }
202
+
203
+
204
+
205
+ .tooltip {
206
+ visibility : hidden ;
207
+ z-index : 1 ;
208
+ opacity : .40 ;
209
+
210
+ width : 100% ;
211
+
212
+ background : rgba (223 , 215 , 215 , 0.774 );
213
+ color : black ;
214
+
215
+ position : absolute ;
216
+ // top:-140%;
217
+ top :-50% ;
218
+
219
+
220
+ border-radius : 9px ;
221
+ transform : translateY (9px );
222
+ transition : all 0.3s ease-in-out ;
223
+ box-shadow : 0 0 3px rgba (56 , 54 , 54 , 0.86 );
224
+ }
225
+
226
+
227
+ #tooltipCon :hover .tooltip {
228
+ visibility : visible ;
229
+ transform : translateY (-10px );
230
+ opacity : 1 ;
231
+ transition : .3s linear ;
232
+ animation : odsoky 1s ease-in-out infinite alternate ;
233
+
234
+ }
235
+
194
236
</style >
You can’t perform that action at this time.
0 commit comments