-
Notifications
You must be signed in to change notification settings - Fork 4
/
main.css
231 lines (218 loc) · 4.32 KB
/
main.css
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
html{
margin:0;
padding:0;
}
body{
width:500px;
margin:100px auto 0 auto;
padding:0;
font-family: Helvetica, arial, sans-serif;
font-size:16px;
font-weight:300;
background-color:#F0F0F0;
color:#333;
}
a{
color:inherit;
}
footer{
position:fixed;
text-align:right;
bottom:0;
right:0;
padding:10px 15px;
font-size:12px;
color:#444;
}
div.explain{
position:relative;
top:-80px;
position:absolute;
top:240px;
box-sizing: border-box;
width:500px;
padding:15px;
margin:10px 0;
border-radius:3px;
color:#222;
text-align:center;
border:1px solid #C8AF83;
background-color:#EAC58D;
background-image:url('img/purty_wood.png');
}
div.explain p{
padding-bottom:25px;
border-bottom:1px dotted rgba(0,0,0,0.3);
}
div.step{
display:inline-block;
vertical-align:text-top;
width:120px;
padding:15px;
font-size:13px;
border-radius:4px;
}
div.step div{
width:100px;
color:#444;
margin:0 auto;
}
div.step div:first-child{
margin-bottom:10px;
}
div.step span{
font-size:60px;
}
#step1{
-webkit-animation: highlightstep 9s infinite;
}
#step2{
-webkit-animation: highlightstep 9s 3s infinite;
}
#step3{
-webkit-animation: highlightstep 9s 6s infinite;
}
@-webkit-keyframes highlightstep {
0%, 20%, 60%, 100% {background-color:rgba(255,255,255,0.0); }
40% { background-color:rgba(255,255,255,0.5);}
}
div.timer{
position:relative;
background-color:#FAFAFA;
/*background-color:#D0FFD0;*/
border:1px solid #EEE;
/*border:1px solid #B2FFAB;*/
border-radius:3px;
padding:15px;
font-size:80px;
/* -webkit-animation: pulse 2s infinite;
-webkit-transition: all .2s ease-in-out;*/
}
div.timer.break{
background-image:url('img/purty_wood.png');
border:1px solid #C7A878;
color:#555;
}
/*
div.timer.break + div.progress{
opacity:0.4;
}
*/
span.colon{
padding:0;
margin:0;
display:inline-block;
position:absolute;
top:-8px;
left:108px;
}
div.timer.break .btn{
opacity:0.8;
}
div.timer.break .btn-red{
text-shadow:none;
background-color:#BBB;
background: -webkit-gradient(linear, left top, left bottom, from(#EEE), to(#CCC));
border:1px solid #888;
box-shadow: inset 0 1px 0 #FFF,
inset 0 20px 0 rgba(255,255,255,0.05),
0 0 3px #888;
color:#222;
}
/*
div.timer:hover{
box-shadow: 0 0 20px #76AFFF;
-webkit-transition: all .2s ease-in-out;
}
@-webkit-keyframes pulse {
0%, 100% { box-shadow: 0 0 20px #76AFFF; }
50% { box-shadow: 0 0 10px #BCD8FF}
}
*/
span.time{
display:inline-block;
position:relative;
left:0;
width:90px;
padding:10px;
margin:0;
}
div.controls{
position:absolute;
/*top:10px;
right:10px;*/
top:50px;
left:280px;
width:200px;
/*height:100px;*/
/*
border-radius:2px;
border:1px solid #DDD;
background-color:#EEE;
*/
}
.btn{
min-width:140px;
text-align:center;
text-transform:uppercase;
font-size:20px;
margin:0;
position:relative;
display:inline-block;
padding:10px 20px;
vertical-align:text-top;
border-radius:5px;
color:#FFF;
text-decoration:none;
cursor:pointer;
background-color:#BBB;
background: -webkit-gradient(linear, left top, left bottom, from(#EEE), to(#CCC));
border:1px solid #888;
box-shadow: inset 0 1px 0 #FFF,
inset 0 20px 0 rgba(255,255,255,0.05),
0 0 3px #888;
color:#222;
}
.btn:hover{
box-shadow: inset 0 1px 0 rgba(255,255,255,0.3),
inset 0 3px 0 rgba(255,255,255,0.1),
inset 0 20px 0 rgba(255,255,255,0.05),
0 0 5px #666;
}
.btn:active{
box-shadow: inset 0 1px 0 rgba(0,0,0,0.1),
inset 0 3px 0 rgba(0,0,0,0.05),
0 0 3px #AAA;
}
.btn-blue{
text-shadow: 0 -1px #222;
color:#FFF;
background-color:#222ECD;
background: -webkit-gradient(linear, left top, left bottom, from(#384EFF), to(#222ECD));
border:1px solid #141B7A;
box-shadow: inset 0 1px 0 #6584FF,
inset 0 20px 0 rgba(255,255,255,0.05),
0 0 8px #666;
}
.btn-red{
text-shadow: 0 -1px #222;
color:#FFF;
background-color:#C20000;
background: -webkit-gradient(linear, left top, left bottom, from(#EE523F), to(#C20000));
border:1px solid #953428;
box-shadow: inset 0 1px 0 #FF8F8A,
inset 0 20px 0 rgba(255,255,255,0.05),
0 0 8px #666;
}
div.progress{
z-index:-1;
position:relative;
top:0;
padding:25px;
background-color:#FFF;
border-radius:3px;
border:1px solid #F0F0F0;
}
div.ui-progress{
-webkit-transition: all .2s ease-in-out;
}