sakura_rails 0.2.1 → 0.2.2
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/sakura_rails/index.css +142 -0
- data/lib/sakura_rails/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d9cd418f9f7910e1250c1b3a92ae3636db53f27cb87cc90143bbefedd895485
|
4
|
+
data.tar.gz: 32f648cd122e0ca6312583e75b5fb91fdcf617d413eadc19d2535ae8cc58a577
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 463d83a2053d6a22e1a3ad27576e2d882f0030f122ddbea35e2abb663e6f42b27d6c1ad4c6fe6b17b9a4b4119bc2318e0e5f0f2c5bd0109a036b7479e1275792
|
7
|
+
data.tar.gz: 55c00143b6ced3a66083a46ee4f376bc16238e10abb513af140f112a094cdbb558cd78df2495955b044cbded4f28987f96440dac610004b2ed42b815bab47eda
|
@@ -0,0 +1,142 @@
|
|
1
|
+
section .inner div {
|
2
|
+
opacity: 0;
|
3
|
+
-webkit-transform-origin: 0px 0px;
|
4
|
+
-ms-transform-origin: 0px 0px;
|
5
|
+
transform-origin: 0px 0px;
|
6
|
+
-webkit-animation-name: Drop;
|
7
|
+
animation-name: Drop;
|
8
|
+
-webkit-animation-iteration-count: infinite;
|
9
|
+
animation-iteration-count: infinite;
|
10
|
+
-webkit-animation-timing-function: linear;
|
11
|
+
animation-timing-function: linear;
|
12
|
+
-webkit-animation-fill-mode: forwards;
|
13
|
+
animation-fill-mode: forwards;
|
14
|
+
}
|
15
|
+
|
16
|
+
#sakura .inner div {
|
17
|
+
position: absolute;
|
18
|
+
display: block;
|
19
|
+
width: 10px;
|
20
|
+
height: 15px;
|
21
|
+
background: url("https://liginc.co.jp/wp-content/uploads/2015/03/sakura.png") no-repeat;
|
22
|
+
}
|
23
|
+
|
24
|
+
#sakura .inner div.flake2,
|
25
|
+
#sakura .inner div.flake4,
|
26
|
+
#sakura .inner div.flake6,
|
27
|
+
#sakura .inner div.flake8 {
|
28
|
+
background-size: 5px 6px !important;
|
29
|
+
}
|
30
|
+
|
31
|
+
|
32
|
+
.flake1 {
|
33
|
+
left: 20px;
|
34
|
+
-webkit-animation-duration: 2.5s;
|
35
|
+
animation-duration: 2.5s;
|
36
|
+
}
|
37
|
+
|
38
|
+
.flake2 {
|
39
|
+
left: 40px;
|
40
|
+
-webkit-animation-duration: 2.7s;
|
41
|
+
animation-duration: 2.7s;
|
42
|
+
-webkit-animation-delay: 0.2s;
|
43
|
+
animation-delay: 0.2s;
|
44
|
+
}
|
45
|
+
|
46
|
+
.flake3 {
|
47
|
+
left: 60px;
|
48
|
+
-webkit-animation-duration: 2.9s;
|
49
|
+
animation-duration: 2.9s;
|
50
|
+
-webkit-animation-delay: 0.4s;
|
51
|
+
animation-delay: 0.4s;
|
52
|
+
}
|
53
|
+
|
54
|
+
.flake4 {
|
55
|
+
left: 80px;
|
56
|
+
-webkit-animation-duration: 2.4s;
|
57
|
+
animation-duration: 2.4s;
|
58
|
+
-webkit-animation-delay: 0s;
|
59
|
+
animation-delay: 0s;
|
60
|
+
}
|
61
|
+
|
62
|
+
.flake5 {
|
63
|
+
left: 100px;
|
64
|
+
-webkit-animation-duration: 2.4s;
|
65
|
+
animation-duration: 2.4s;
|
66
|
+
-webkit-animation-delay: 1s;
|
67
|
+
animation-delay: 1s;
|
68
|
+
}
|
69
|
+
|
70
|
+
.flake6 {
|
71
|
+
left: 150px;
|
72
|
+
-webkit-animation-duration: 2.2s;
|
73
|
+
animation-duration: 2.2s;
|
74
|
+
-webkit-animation-delay: 1.2s;
|
75
|
+
animation-delay: 1.2s;
|
76
|
+
}
|
77
|
+
|
78
|
+
.flake7 {
|
79
|
+
left: 170px;
|
80
|
+
-webkit-animation-duration: 2.7s;
|
81
|
+
animation-duration: 2.7s;
|
82
|
+
-webkit-animation-delay: 1.2s;
|
83
|
+
animation-delay: 1.2s;
|
84
|
+
}
|
85
|
+
|
86
|
+
.flake8 {
|
87
|
+
left: 200px;
|
88
|
+
-webkit-animation-duration: 3s;
|
89
|
+
animation-duration: 3s;
|
90
|
+
-webkit-animation-delay: 1.4s;
|
91
|
+
animation-delay: 1.4s;
|
92
|
+
}
|
93
|
+
@-webkit-keyframes Drop {
|
94
|
+
0% {
|
95
|
+
-webkit-transform: translateY(0px);
|
96
|
+
transform: translateY(0px);
|
97
|
+
opacity: 0;
|
98
|
+
}
|
99
|
+
|
100
|
+
50% {
|
101
|
+
-webkit-transform: translateY(50px);
|
102
|
+
transform: translateY(50px);
|
103
|
+
opacity: 1;
|
104
|
+
}
|
105
|
+
|
106
|
+
100% {
|
107
|
+
-webkit-transform: translateY(100px);
|
108
|
+
transform: translateY(100px);
|
109
|
+
opacity: 0.3;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
|
114
|
+
#snow .inner div {
|
115
|
+
position: absolute;
|
116
|
+
display: block;
|
117
|
+
width: 5px;
|
118
|
+
height: 5px;
|
119
|
+
border-radius: 2.5px;
|
120
|
+
background: #fff;
|
121
|
+
}
|
122
|
+
|
123
|
+
@keyframes Drop {
|
124
|
+
0% {
|
125
|
+
-webkit-transform: translateY(0px);
|
126
|
+
transform: translateY(0px);
|
127
|
+
opacity: 0;
|
128
|
+
}
|
129
|
+
|
130
|
+
50% {
|
131
|
+
-webkit-transform: translateY(50px);
|
132
|
+
transform: translateY(50px);
|
133
|
+
opacity: 1;
|
134
|
+
}
|
135
|
+
|
136
|
+
100% {
|
137
|
+
-webkit-transform: translateY(100px);
|
138
|
+
transform: translateY(100px);
|
139
|
+
opacity: 0.3;
|
140
|
+
}
|
141
|
+
}
|
142
|
+
|
data/lib/sakura_rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sakura_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- satoshi ono
|
@@ -37,6 +37,7 @@ files:
|
|
37
37
|
- app/assets/config/sakura_rails_manifest.js
|
38
38
|
- app/assets/javascripts/sakura_rails/application.js
|
39
39
|
- app/assets/stylesheets/sakura_rails/application.css
|
40
|
+
- app/assets/stylesheets/sakura_rails/index.css
|
40
41
|
- app/controllers/sakura_rails/application_controller.rb
|
41
42
|
- app/helpers/sakura_rails/application_helper.rb
|
42
43
|
- app/jobs/sakura_rails/application_job.rb
|