-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathturnmode.html
234 lines (219 loc) · 8.35 KB
/
turnmode.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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="bb.css" />
<style type="text/css">
#turnModeContainer .userInfo
{
position: absolute; bottom: 0; height: 220px; right:0; left: 0; width:100%; color: #fff; border: 1px solid #222; border-radius: 5px; font-size:20px; font-weight: 400;
box-shadow: 0px 0px 5px #222;
}
#turnModeContainer .userInfo td
{
padding: 5px;
}
#turnModeContainer .userInfo .moveCount
{
padding:5px; font-size: 80px; font-weight: lighter;
}
#turnModeContainer .userInfo .timeInfo
{
border-bottom: 2px solid black;
}
#turnModeContainer .userInfo .clearMoves
{
text-align: right;
}
#turnModeContainer .userInfo .clearMoves a
{
color: teal;
text-decoration: none;
font-weight: bold;
}
#turnModeContainer .userInfo .profile
{
border-top: 1px solid black; padding:5px;
box-shadow: 0px 0px 5px #222;
}
#turnModeContainer .userInfo .profile img
{
border-radius: 5px;
}
#turnModeContainer .moveLog
{
max-height: 400px;
background-color: #fff;
}
#turnModeContainer .moveLog div
{
vertical-align: middle;
}
#turnModeContainer .moveLogItem
{
width: 100%;
display: block;
padding: 6px 0;
}
#turnModeContainer .moveLogItem:nth-child(n+2)
{
border-top: 1px solid rgb(222,227,233);
}
#turnModeContainer .moveLogItem div
{
float:left;
text-align: center;
height:50px;
line-height: 50px;
}
#turnModeContainer .moveLogItem .index
{
width:25%;
color: rgb(222,227,233);
font-size: 30px;
font-weight: 100;
}
#turnModeContainer .moveLogItem .direction
{
width:50%;
position:relative;
}
#turnModeContainer .moveLogItem .direction > div
{
background-size: 36px 36px;
background-repeat: no-repeat;
background-position: center;
position:absolute;
left: 50%;
margin-left:-25px;
width: 50px;
border-radius: 25px;
}
#turnModeContainer .moveLogItem .up
{
background-image:url(img/arrow-up.png);
}
#turnModeContainer .moveLogItem .down
{
background-image:url(img/arrow-down.png);
}
#turnModeContainer .moveLogItem .left
{
background-image:url(img/arrow-left.png);
}
#turnModeContainer .moveLogItem .right
{
background-image:url(img/arrow-right.png);
}
#turnModeContainer .moveLogItem .undo
{
width:25%;
text-align: right;
position: relative;
}
#turnModeContainer .moveLogItem .red
{
background-color: rgb(255,0,0);
}
#turnModeContainer .moveLogItem .blue
{
background-color: rgb(0,0,255);
}
#turnModeContainer .moveLogItem .yellow
{
background-color: rgb(255,255,0);
}
#turnModeContainer .moveLogItem .green
{
background-color: rgb(0,255,0);
}
#turnModeContainer .moveLogItem .undo > div
{
position: absolute;
left:50%;
top:50%;
margin-left:-15px;
margin-top:-15px;
width:30px;
height:30px;
border-radius: 15px;
background-color: rgb(222,227,233);
background-image:url(img/x.png);
background-size: 20px 20px;
background-repeat: no-repeat;
background-position: center;
}
</style>
</head>
<body style="font-family: helvetica">
<div id="turnModeContainer" class="modeContainer" style="display: block; ">
<div style="position:relative;height:100%">
<div style="display:none; vertical-align: bottom; position:absolute; top:0; right:0; left: 0; border: 1px solid blue;">
<div class="activeCache">
<div id="0" style="background-color: rgb(176, 101, 185); height: 30px; width: 30px; margin-top: 2px; margin-right: 2px; margin-bottom: 2px; margin-left: 2px; line-height: 30px; color: rgb(255, 255, 255); text-align: center; text-shadow: rgb(0, 0, 0) 0px 0px 3px; display: inline-block; ">0</div>
<div id="1" style="background-color: rgb(50, 164, 57); height: 30px; width: 30px; margin-top: 2px; margin-right: 2px; margin-bottom: 2px; margin-left: 2px; line-height: 30px; color: rgb(255, 255, 255); text-align: center; text-shadow: rgb(0, 0, 0) 0px 0px 3px; display: inline-block; ">1</div>
<div id="2" style="background-color: rgb(216, 136, 56); height: 30px; width: 30px; margin-top: 2px; margin-right: 2px; margin-bottom: 2px; margin-left: 2px; line-height: 30px; color: rgb(255, 255, 255); text-align: center; text-shadow: rgb(0, 0, 0) 0px 0px 3px; display: inline-block; ">2</div>
</div>
</div>
<div style=" position:absolute; bottom:219px; z-index:10; left:20px; right:20px; border: 1px solid black; border-radius: 5px 5px 0 0; overflow: hidden; padding:0px; max-height: 400px">
<div class="moveLog" style="border-radius: 5px 5px 0 0;">
<div class="moveLogItem">
<div class="index">1</div>
<div class="direction"><div class="down blue"></div></div>
<div class="undo"><div></div></div>
</div>
<div class="moveLogItem">
<div class="index">1</div>
<div class="direction"><div class="left yellow"></div></div>
<div class="undo"><div></div></div>
</div>
<div class="moveLogItem">
<div class="index">1</div>
<div class="direction"><div class="right green"></div></div>
<div class="undo"><div></div></div>
</div>
<div class="moveLogItem">
<div class="index">1</div>
<div class="direction"><div class="up red"></div></div>
<div class="undo"><div></div></div>
</div>
<div class="moveLogItem">
<div class="index">1</div>
<div class="direction"><div class="down blue"></div></div>
<div class="undo"><div></div></div>
</div>
<div class="moveLogItem">
<div class="index">1</div>
<div class="direction"><div class="left yellow"></div></div>
<div class="undo"><div></div></div>
</div>
<div class="moveLogItem">
<div class="index">1</div>
<div class="direction"><div class="right green"></div></div>
<div class="undo"><div></div></div>
</div>
</div>
</div>
<table cellpadding="0" cellspacing="0" class="userInfo">
<tr>
<td align="center" colspan="2" class="moveCount">
4
</td>
</tr>
<tr class="timeInfo">
<td class="timeCount">00:10</td>
<td class="clearMoves"><a href="">CLEAR</a></td>
</tr>
<tr>
<td colspan="2" class="profile">
<img src="img/noface.png" style="height:50px; width:50px" align="absmiddle">
Nicholas
</td>
</tr>
</table>
</div>
</div>
</div>
</body>
</html>