fall_snow 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 07aa8787e8e0d901314c8e8e3fd88e5f1ca798c3
4
- data.tar.gz: a09bb48b780048d671d35ec30385547fbb2a8d20
3
+ metadata.gz: 30fcb6b15706a16e9186517f172aa1921fe7afea
4
+ data.tar.gz: 22d92a964044caf4ed730eed0d2cf279ceed6194
5
5
  SHA512:
6
- metadata.gz: a2f352fad590e4e6bfca5ac78de1eb9bf8a6b193a45e95566f0da6387c2c33b863ea03c7929f113b71a610b721d1f10b09a9e6a341411fe2f51d552246eca4c2
7
- data.tar.gz: 302c9da54917d279c4327c48195d976a2e66d8b2e51a710241cc10f7740d14ccee6f7898f8f581660c792b21db4c4dcb55b58b9d7d5c5dcfc8951d061083945c
6
+ metadata.gz: ecc691847ad2cdedd03aa42e075ece285762d774639d3a81dbfcd30c81c5f0b6fc075fe1df7aaf45713bb52e386e65e99b556c4ce6ace7dec4d2c572ba109614
7
+ data.tar.gz: d5b9d9cc5dd0ce0c54a3e1cd5bd9824fc526dde82704bceec9219caf8f43c9077ffc46b5d9dd149e68eef7e0e9b20fb0b4dea9520833852952bbbcec6dcd4781
@@ -1,3 +1,3 @@
1
1
  module FallSnow
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
File without changes
@@ -0,0 +1,107 @@
1
+ /*動かす前段階のアニメーション*/
2
+ section .inner div {
3
+ animation-fill-mode: forwards;
4
+ animation-iteration-count: infinite;
5
+ animation-name: Drop;
6
+ animation-timing-function: linear;
7
+ opacity: 0;
8
+ transform-origin: 0px 0px;
9
+ height: 100%:
10
+ }
11
+
12
+ /*背景の設定*/
13
+ section#snow {
14
+ background: #142744;
15
+ overflow: hidden;
16
+ width: 100%;
17
+ height: 100%;
18
+ }
19
+
20
+ #snow .inner {
21
+ height: 100%;
22
+ width: 100%;
23
+ }
24
+ /*雪の設定*/
25
+ #snow .inner div {
26
+ background: #fff;
27
+ border-radius: 4px;
28
+ display: block;
29
+ height: 8px;
30
+ position: absolute;
31
+ width: 8px;
32
+ }
33
+
34
+ /*いくつかランダムに大きさを変える*/
35
+ #snow .inner div.snowflake1,
36
+ #snow .inner div.snowflake2,
37
+ #snow .inner div.snowflake5,
38
+ #snow .inner div.snowflake8 {
39
+ background-size: 5px 6px;
40
+ }
41
+
42
+ /*雪をどの辺りに表示するか*/
43
+ .snowflake1 {
44
+ animation-duration: 2.4s;
45
+ left: 15%;
46
+ }
47
+
48
+ .snowflake2 {
49
+ animation-delay: 0.3s;
50
+ animation-duration: 2.7s;
51
+ left: 19%;
52
+ }
53
+
54
+ .snowflake3 {
55
+ animation-delay: 0.5s;
56
+ animation-duration: 2.9s;
57
+ left: 28%;
58
+ }
59
+
60
+ .snowflake4 {
61
+ animation-delay: 0s;
62
+ animation-duration: 2.6s;
63
+ left: 38%;
64
+ }
65
+
66
+ .snowflake5 {
67
+ animation-delay: 1s;
68
+ animation-duration: 2.6s;
69
+ left: 50%;
70
+ }
71
+
72
+ .snowflake6 {
73
+ animation-delay: 1.2s;
74
+ animation-duration: 2.2s;
75
+ left: 60%;
76
+ }
77
+
78
+ .snowflake7 {
79
+ animation-delay: 1.2s;
80
+ animation-duration: 2.7s;
81
+ left: 70%;
82
+ }
83
+
84
+ .snowflake8 {
85
+ animation-delay: 1.4s;
86
+ animation-duration: 2.9s;
87
+ left: 85%;
88
+ }
89
+
90
+ /*アニメーションの設定*/
91
+ @keyframes Drop {
92
+ 0% {
93
+ opacity: 0;
94
+ transform: translateY(0px);
95
+ }
96
+
97
+ 50% {
98
+ opacity: 1;
99
+ transform: translateY(200px);
100
+ }
101
+
102
+ 100% {
103
+ opacity: 0.3;
104
+ transform: translateY(400px);
105
+ }
106
+ }
107
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fall_snow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - tatsukichi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-07 00:00:00.000000000 Z
11
+ date: 2018-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -50,6 +50,8 @@ files:
50
50
  - lib/fall_snow/version.rb
51
51
  - lib/fall_snow/view_helper.rb
52
52
  - lib/tasks/fall_snow_tasks.rake
53
+ - vendor/assets/javascripts/fall_snow/index.js
54
+ - vendor/assets/stylesheets/fall_snow/style.css
53
55
  homepage: https://github.com/tatsuki26/fall_snow
54
56
  licenses:
55
57
  - MIT