-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
187 lines (163 loc) · 4.95 KB
/
test.html
File metadata and controls
187 lines (163 loc) · 4.95 KB
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<!DOCTYPE HTML>
<html>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/jquery.webui-popover/1.2.1/jquery.webui-popover.min.css">
<script src="https://cdn.jsdelivr.net/jquery/1.11.3/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/jquery.webui-popover/1.2.1/jquery.webui-popover.min.js"></script>
<style>
.productionlines {
display: inline;
cursor: pointer;
}
.desc {
position: absolute;
opacity: 0;
visibility: none;
width: 150px;
border: 5px solid red;
margin-left: 60px;
margin-top: -50px;
z-index: -100;
}
.productionlines:hover .desc {
opacity: 1;
}
.action-selected:hover {
position: relative;
background: url('./common/orange_ring.png') no-repeat center;
}
.desc:after {
content: ' ';
height: 0;
position: absolute;
width: 0;
border: 10px solid transparent;
border-right-color: red;
top: 10px;
right: 100%;
margin-right: 0px;
z-index: 11
}
.top-banner {
display: flex;
width: 100%;
}
.nav {
margin: 50px;
width: 40% auto;
}
.role-selected:hover {
cursor: pointer;
background: url('./common/orange_ring.png') no-repeat center;
background-color: white;
}
.between{
border: 0.1px solid gray;
margin-left:25px;
margin-right:25px;
height:100px;
width:0.1px;
position: relative;
}
.arrow{
background: url('./common/aro_bot.png') no-repeat center;
position: relative;;
top: -9px;
left: 21px;
width: 9px;
height: 9px;
}
.arrow-new {
height:120px;
}
.line {
margin-left:20px;
width:2px;
background:blue;
height:110px;
align-content: center;
}
.point {
width: 0;
height: 0;
margin-left: 16px;
/* border-bottom: 10px solid #3F51B5; */
border-top: 5px solid #3F51B5;
border-left: 5px solid rgb(255, 255, 255);
border-right: 5px solid rgb(255, 255, 255);
}
.curve{
width:500px; height:100px;
border:solid 2px #000;
border-color:#000 transparent transparent transparent;
border-radius: 50%/100px 100px 0 0;
float:left;
}
</style>
<body>
<div class="top-banner">
<div class="nav" data-role="collapsible"><img class="role-selected" src="./common/role_orange.png" /><br/>admin
<!-- Animation Begins -->
<div class="animated_lines">
<!-- Vertical Blend Button Start -->
<div class="productionlines">
<img class="action-selected" width="50px" src="./common/orangeNode.png" />
<div class="desc">
<h3>Your title</h3>
<p>Some text here...</p>
</div>
</div>
</div>
<div class="between"></div>
<img class="arrow"/>
<!-- Vertical Blend Button End -->
<div class="animated_lines">
<!-- Vertical Blend Button Start -->
<div class="productionlines">
<img width="50px" src="./common/orangeNode.png" />
<div class="desc">
<h3>Your title</h3>
<p>Some text here...</p>
</div>
</div>
</div>
</div>
<div class="nav"><img class="role-selected" src="./common/role_blue.png" /><br/>Dev
<div class="animated_lines">
<!-- Vertical Blend Button Start -->
<div class="productionlines">
<img width="50px" src="./common/blueNode.png" />
<div class="desc">
<h3>Your title</h3>
<p>Some text here...</p>
</div>
</div>
</div>
<div class="arrow-new">
<div class="line"></div>
<div class="point"></div>
</div>
<!-- Vertical Blend Button End -->
<div class="animated_lines">
<!-- Vertical Blend Button Start -->
<div class="productionlines">
<img width="50px" src="./common/blueNode.png" />
<div class="desc">
<h3>Your title</h3>
<p>Some text here...</p>
</div>
</div>
</div>
</div>
<div class="nav"><img id="role-op" class="role-selected" src="./common/role_red.png" /><br/>Op.</div>
</div>
<div id="popcontent01" style="display:none">
<p>This is Operator role.</p><ol><li/><li/></ol>
</div>
</body>
<script>
/* var popcontent = $('#popcontent01').html(),
$('#role-op').webuiPopover({content:'popcontent',trigger:'hover',placement:'auto'});
*/
$('#role-op').webuiPopover({url:'#popcontent01',trigger:'hover',closeable:"true"});
</script>
</html>