-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
96 lines (85 loc) · 3.37 KB
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.contextmenu-voices, .contextmenu-subvoices {
position: absolute;
background-color: #ffffff;
text-align: center;
-webkit-box-shadow: 0px 2px 10px 2px rgba(0,0,0,0.4);
-moz-box-shadow: 0px 2px 10px 2px rgba(0,0,0,0.4);
box-shadow: 0px 2px 10px 2px rgba(0,0,0,0.4);
border-radius: 2px;
cursor: default;
}
.contextmenu-voice {
position: relative;
}
.contextmenu-voice .menu-label {
padding: 0.5em 0.3em;
width: 100px;
border-radius: 2px;
}
.contextmenu-voices .menu-label:hover {
background-color: #e3f2fd;
}
.contextmenu-voices .menu-label:hover > .contextmenu-subvoices{
display: inline-block;
}
.contextmenu-voice .contextmenu-subvoices {
display: none;
position: absolute;
top: 0px;
left: 108px;
}
.contextmenu-voice .menu-label .contextmenu-arrow {
float: right;
}
</style>
</head>
<body>
<div class="contextmenu-voices">
<div class="contextmenu-voice">
<div class="menu-label">
Crea <div class="contextmenu-arrow"><svg xmlns="http://www.w3.org/2000/svg" height="14" viewBox="0 0 24 24" width="14"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"/></svg></div>
<div class="contextmenu-subvoices">
<div class="contextmenu-voice">
<div class="menu-label" data-action="create_directory">
Cartella
<div class="contextmenu-subvoices">
<div class="contextmenu-voice">
<div class="menu-label">
Cartella
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="contextmenu-voice">
<div class="menu-label" data-action="refresh">
Aggiorna
<div class="contextmenu-subvoices">
<div class="contextmenu-voice">
<div class="menu-label" data-action="create_directory">
Cartella
<div class="contextmenu-subvoices">
<div class="contextmenu-voice">
<div class="menu-label">
Cartella
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>