-
Notifications
You must be signed in to change notification settings - Fork 3
/
timer.css
106 lines (90 loc) · 1.78 KB
/
timer.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
* {
box-sizing: border-box;
font-weight: 100;
}
html, body {
font-family: "Helvetica", "Arial", "sans-serif";
font-size: 100%;
font-size: 150%;
font-weight: 100;
overflow: hidden;
}
button {
font-family: "Helvetica", "Arial", "sans-serif";
background: whitesmoke;
border: 1px solid gainsboro;
border-radius: 3px;
box-shadow: inset 0 0 1px gainsboro;
}
button:hover {
box-shadow: inset 0 0 3px gainsboro, 0 0 2px orange;
}
button:active {
box-shadow: inset 0 0 8px gray;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
.container {
width: 75%;
margin: auto;
}
#timer-setup {
text-align: center;
position: relative;
left: 0;
-moz-transition: left 0.5s;
-webkit-transition: left 0.5s;
-o-transition: left 0.5s;
transition: left 0.5s;
}
#timer-setup > input {
font-family: "Helvetica", "Arial", "sans-serif";
width: 80px;
margin: 10px;
padding: 5px;
font-size: 100%;
border: 1px solid gainsboro;
border-radius: 3px;
box-shadow: inset 0 0 1px 1px gainsboro;
}
#timer-setup > input[type="radio"] {
width: 16px;
vertical-align: middle;
}
#timer-setup > label {
display: inline-block;
}
#timer-setup > button {
margin-left: 50px;
font-size: 100%;
padding: 5px 15px;
margin-top: 20px;
}
#countdown {
box-shadow: 0 0 5px gray;
position: fixed;
top: 33%;
left: -10000;
height: 180px;
width: 100%;
background-color: none;
-moz-transition: background-color 1s, left 0.5s;
-webkit-transition: background-color 1s, left 0.5s;
-o-transition: background-color 1s, left 0.5s;
transition: background-color 1s, left 0.5s;
}
#countdown > .display {
margin: 10px 0 0 0;
font-size: 3.8em;
text-align: center;
}
#countdown > .cancel {
position: absolute;
top: 10px;
right: 10px;
width: 40px;
height: 40px;
}