This repository has been archived by the owner on Aug 7, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
clock-picker.css
115 lines (86 loc) · 1.94 KB
/
clock-picker.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
.timepicker {
position: absolute;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-60%);
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.timepicker-bubble {
cursor: pointer;
}
.timepicker-bubble circle {
r: 15;
opacity: 0.75;
fill: #79C7FF;
transition: fill 250ms linear, opacity 250ms linear;
}
.timepicker-bubble.small circle {
r: 0;
fill: none;
transition-delay: 0ms;
transition-property: r;
transition-duration: 250ms;
transition-timing-function: linear;
}
.timepicker-bubble.small.active circle {
r: 5;
transition-delay: 250ms;
transition-duration: 100ms;
}
.timepicker-bubble.small circle + circle {
r: 10;
fill: transparent;
}
.timepicker-bubble:hover circle,
.timepicker-bubble.active circle {
opacity: 1;
fill: #3CAEFF;
}
.timepicker-bubble text {
font-family: monospace;
fill: #ffffff;
text-anchor: middle;
alignment-baseline: middle;
}
.timepicker-hand {
stroke: #3CAEFF;
stroke-width: 5;
stroke-linecap: round;
opacity: 0.25;
transition-duration: 250ms;
transition-timing-function: linear;
}
.timepicker-invisible {
opacity: 0;
transform: scale(0.75);
transform-origin: center;
visibility: hidden;
transition: opacity 500ms linear, visibility 500ms linear, transform 250ms linear;
}
.timepicker-visible {
opacity: 1;
transform: scale(1);
transform-origin: center;
visibility: visible;
transition: opacity 500ms linear, visibility 500ms linear;
}
.timepicker-info {
text-align: center;
font-size: 2em;
line-height: 2em;
font-weight: bold;
margin: 0;
color: #BAC0C5;
}
.timepicker-info-digits {
cursor: pointer;
transition: color 250ms linear;
}
.timepicker-info-digits.active {
color: #3CAEFF;
}