timepiece 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/timepiece.css +13 -13
- data/lib/timepiece/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ed139f43c37e7dd7143b0403e788aeec7efe5e1
|
4
|
+
data.tar.gz: 5bdec9dae596a264d26dbafda3bd82192f28e0ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3610230ae56ec3c4d101d664536513b068c43c549df98e221c6eecb8564f67349384f911f33080f8788d6a33a8460579ba6dd3e2d8005c10a87b6d7ac14902ae
|
7
|
+
data.tar.gz: 85e1fa6679cb20aef38b33c1274fdfa313782dc328232da5578c43006065d10fef56d087412fdea63628a3ac8f72dcc6cac24e564e53ac5abb480981f65e492e
|
@@ -1,8 +1,8 @@
|
|
1
|
-
|
1
|
+
/* CSS for the analogue clock version of timepiece, and maybe some optional styles for the digital. */
|
2
2
|
|
3
3
|
.timepiece-analog {
|
4
|
-
|
5
|
-
|
4
|
+
/*border:solid 1em;*/
|
5
|
+
/*border-color:#222;*/
|
6
6
|
border-radius: 50%;
|
7
7
|
background-color: #eee;
|
8
8
|
background-size: 88%;
|
@@ -34,10 +34,10 @@
|
|
34
34
|
|
35
35
|
.timepiece-analog-hours {
|
36
36
|
background: #333;
|
37
|
-
height: 25%;
|
37
|
+
height: 25%; /**/
|
38
38
|
left: 48.75%;
|
39
39
|
position: absolute;
|
40
|
-
top: 25%;
|
40
|
+
top: 25%; /**/
|
41
41
|
-ms-transform-origin: 50% 100%;
|
42
42
|
-webkit-transform-origin: 50% 100%;
|
43
43
|
transform-origin: 50% 100%;
|
@@ -46,10 +46,10 @@
|
|
46
46
|
|
47
47
|
.timepiece-analog-minutes {
|
48
48
|
background: #333;
|
49
|
-
height: 40%;
|
49
|
+
height: 40%; /**/
|
50
50
|
left: 49%;
|
51
51
|
position: absolute;
|
52
|
-
top: 10%;
|
52
|
+
top: 10%; /**/
|
53
53
|
-ms-transform-origin: 50% 100%;
|
54
54
|
-webkit-transform-origin: 50% 100%;
|
55
55
|
transform-origin: 50% 100%;
|
@@ -58,10 +58,10 @@
|
|
58
58
|
|
59
59
|
.timepiece-analog-seconds {
|
60
60
|
background: #d00;
|
61
|
-
height: 45%;
|
61
|
+
height: 45%; /**/
|
62
62
|
left: 49.5%;
|
63
63
|
position: absolute;
|
64
|
-
top: 14%;
|
64
|
+
top: 14%; /**/
|
65
65
|
-ms-transform-origin: 50% 80%;
|
66
66
|
-webkit-transform-origin: 50% 80%;
|
67
67
|
transform-origin: 50% 80%;
|
@@ -69,8 +69,8 @@
|
|
69
69
|
z-index: 8;
|
70
70
|
}
|
71
71
|
|
72
|
-
|
73
|
-
|
72
|
+
/* Animation code - unused but kept for reference: */
|
73
|
+
/* We should animate the clocks into correct positions when the clock refreshes on page reentry. */
|
74
74
|
/*
|
75
75
|
@-webkit-keyframes rotate {
|
76
76
|
100% {-webkit-transform: rotateZ(360deg);}
|
@@ -88,7 +88,7 @@
|
|
88
88
|
*/
|
89
89
|
|
90
90
|
.timepiece-analog-day{
|
91
|
-
|
91
|
+
/* border-color:#222; */
|
92
92
|
background-color:#eee;
|
93
93
|
}
|
94
94
|
.timepiece-analog-day:after, .timepiece-analog-day .timepiece-analog-seconds {
|
@@ -100,7 +100,7 @@
|
|
100
100
|
|
101
101
|
|
102
102
|
.timepiece-analog-night{
|
103
|
-
|
103
|
+
/* border-color:#222; */
|
104
104
|
background-color:#333;
|
105
105
|
}
|
106
106
|
.timepiece-analog-night:after, .timepiece-analog-night .timepiece-analog-seconds {
|
data/lib/timepiece/version.rb
CHANGED