-
Notifications
You must be signed in to change notification settings - Fork 398
/
Copy pathmobile.html
178 lines (176 loc) · 3.93 KB
/
mobile.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
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>UI Recorder</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<style type="text/css">
html,body{
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow-y: hidden;
}
li{
list-style:none;
}
#screenContainer{
position:absolute;
width: 100%;
height:100%;
text-align: center;
}
#screenshot{
width: auto;
height: 100%;
cursor: pointer;
box-shadow: 5px 5px 10px #888888;
}
#loadingContainer{
position:absolute;
width:100%;
height:100%;
z-index:99;
cursor:wait
}
#loadingContainer img{
position:absolute;
top:50%;
left:50%;
margin-top:-200px;
margin-left:-100px;
}
.line{
position: absolute;
background: red;
left: 0;
top: 0;
width: 1px;
height: 1px;
z-index: 999;
}
#toolPannel{
display: none;
position:fixed;
padding:10px 20px;
box-sizing:border-box;
border:1px solid #ccc;
line-height:1;
box-shadow: 5px 5px 10px #888888;
top:10px;
left:10px;
}
#toolPannel span{
display: block;
margin-bottom: 12px;
}
.uirecorder-button {
cursor: pointer;
margin: 5px;
}
.uirecorder-button a {
text-decoration: none;
color: #333333;
font-family: arial, sans-serif;
font-size: 12px;
color: #777;
text-shadow: 1px 1px 0px white;
background: -webkit-linear-gradient(top, #ffffff 0%, #dfdfdf 100%);
border-radius: 3px;
box-shadow: 0 1px 3px 0px rgba(0, 0, 0, 0.4);
padding: 5px 7px;
}
.uirecorder-button a:hover {
background: -webkit-linear-gradient(top, #ffffff 0%, #eee 100%);
box-shadow: 0 1px 3px 0px rgba(0, 0, 0, 0.4);
}
.uirecorder-button a:active {
background: -webkit-linear-gradient(top, #dfdfdf 0%, #f1f1f1 100%);
box-shadow: 0px 1px 1px 1px rgba(0, 0, 0, 0.2) inset, 0px 1px 1px 0 rgba(255, 255, 255, 1);
}
.uirecorder-button a img {
display: inline-block;
padding-right: 8px;
position: relative;
top: 2px;
vertical-align: baseline;
width: auto;
height: auto;
}
#uirecorder-dialog {
display: none;
position: fixed;
z-index: 2147483647;
padding: 20px;
top: 50%;
left: 50%;
width: 480px;
margin-left: -240px;
margin-top: -160px;
box-sizing: border-box;
border: 1px solid #ccc;
background: rgba(241, 241, 241, 1);
box-shadow: 5px 5px 10px #888888;
}
#uirecorder-dialog h2 {
padding-bottom: 10px;
border-bottom: solid 1px #ccc;
margin-bottom: 10px;
color: #333;
}
#uirecorder-dialog ul {
list-style: none;
padding: 0;
}
#uirecorder-dialog li {
padding: 5px 0 5px 30px;
margin: 0;
}
#uirecorder-dialog li label {
display: inline-block;
width: 100px;
color: #666
}
#uirecorder-dialog li input, #uirecorder-dialog li select, #uirecorder-dialog li textarea {
display: inline-block;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 2px;
padding: 5px;
}
#uirecorder-dialog li input, #uirecorder-dialog li textarea {
width: 250px;
}
#dialogMask{
display: none;
position:absolute;
width:100%;
height:100%;
z-index:99;
background: black;
opacity: 0.1;
}
</style>
</head>
<body>
<div id="screenContainer">
<img id="screenshot">
</div>
<div id="loadingContainer">
<img src="img/mloading.gif">
</div>
<div id="toolPannel"></div>
<div id="uirecorder-dialog">
<h2 id="uirecorder-dialog-title"></h2>
<div id="uirecorder-dialog-content"></div>
<div style="padding-bottom:10px;text-align:center;" id="dialogBottom"></div>
</div>
<div id="dialogMask"></div>
<div id="topLine" class="line"></div>
<div id="bottomLine" class="line"></div>
<div id="leftLine" class="line"></div>
<div id="rightLine" class="line"></div>
<script type="text/javascript" src="js/mobile.js"></script>
</body>
</html>