-
Notifications
You must be signed in to change notification settings - Fork 3
/
timeTemplate.html
120 lines (109 loc) · 2.67 KB
/
timeTemplate.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
<div class="timerPicker">
<style type="text/css">
.timerPicker {
width: 100%;
height: 202px;
}
.preCheckFrame {
width: 100%;
height: 60px;
border-bottom: 1px solid #d5d5d5;
}
.activeCheckFrame {
width: 100%;
height: 42px;
}
.postCheckFrame {
width: 100%;
height: 60px;
border-top: 1px solid #d5d5d5;
}
#slots {
position: relative;
top: -42px;
width: 40%;
height: 202px;
margin-left: auto;
margin-right: auto;
overflow: hidden;
}
#hourSlotWrapper {
perspective: 800px;
perspective-origin: 200px;
-webkit-perspective: 800px;
-webkit-perspective-origin: 200px;
position: absolute;
left: 90px;
top: 80px;
}
#minuteSlotWrapper {
perspective: 800px;
perspective-origin: 200px;
-webkit-perspective: 800px;
-webkit-perspective-origin: 200px;
position: absolute;
right: 70px;
top: 80px;
}
#timeLabel {
font-size: 26px;
height: 42px;
line-height: 42px;
position: relative;
left: -40px;
top:15px;
color: black;
}
#hourSlot {
position: absolute;
height: 42px;
width: 200px;
-webkit-transform: rotateX(0deg);
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
transform: rotateX(0deg);
}
#minuteSlot {
position: absolute;
height: 42px;
width: 200px;
-webkit-transform-style: preserve-3d;
-webkit-transform: rotateX(0deg);
transform-style: preserve-3d;
transform: rotateX(0deg);
}
.cell {
list-style-type:none;
height: 42px;
color: #acacac;
font-size: 24px;
line-height: 36px;
position: absolute;
-webkit-transform-origin: 50% 50%;
transform-origin: 50% 50%;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}
#activeArea {
width: 100%;
position: relative;
top: 95px;
border-style: solid;
border-color: #d5d5d5;
border-width: 1px;
height: 42px;
}
</style>
<div id="activeArea"></div>
<div id="slots">
<div id="hourSlotWrapper">
<ul id="hourSlot">
</ul>
<div id="timeLabel">HH:</div>
</div>
<div id="minuteSlotWrapper">
<ul id="minuteSlot"></ul>
<div id="timeLabel">MM:</div>
</div>
</div>
</div>