bspin 1.0.0 → 1.0.1
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 +4 -4
- data/.gitignore +1 -0
- data/README.md +8 -4
- data/lib/bspin/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: 766be4507a50fa2bed2d19263668df561c588288
|
|
4
|
+
data.tar.gz: f5c8ee480ea92a0b5b0c9dc93edeb2237a6d306d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ac99b7f3a27970daf84a4af5fa29c94bd5af8ca4bdccc44b3b315e0d4ca52225fb1418932641b6ad8178c39aefc26f0a0b3629d5cd0726864a9f071794c67da5
|
|
7
|
+
data.tar.gz: 406fa00530cc105ac43855abaa53b839ecc2aa97dc64f25f47ce4917a1c8e63dfdb9167b4e72412b13bb1c79703402b25133ae96136859a139a478ad3f26ed89
|
data/.gitignore
CHANGED
data/README.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# Bspin
|
|
2
|
+
[](http://badge.fury.io/rb/bspin)
|
|
2
3
|
|
|
3
4
|
This will allow a call to a bspin - a css spinner styled to sit in the middle of the page over text!
|
|
4
5
|
|
|
@@ -26,10 +27,14 @@ in your header have:
|
|
|
26
27
|
An example call is <div class='bspin'></div>
|
|
27
28
|
|
|
28
29
|
Styling has several options:
|
|
30
|
+
|
|
29
31
|
type: "ball" | "circle1" | "circle1-fade" | "circle2" | "bubble1" | "bubble2" | "bar1" | "bar2" - default is "ball"
|
|
32
|
+
|
|
30
33
|
colour: any hex value or defined CSS colour value - default is black.
|
|
31
|
-
|
|
32
|
-
|
|
34
|
+
|
|
35
|
+
size: "small" | "medium" | "large" | "x-large" - default is "medium".
|
|
36
|
+
|
|
37
|
+
speed: "slow" | "regular" | "fast" - default is "regular".
|
|
33
38
|
|
|
34
39
|
Example: <%= styling(type: "circle1", colour: "#000000", size: "large", speed: "regular") -%>
|
|
35
40
|
|
|
@@ -47,5 +52,4 @@ Bug reports and pull requests are welcome on BitBucket at https://bitbucket.org/
|
|
|
47
52
|
|
|
48
53
|
## License
|
|
49
54
|
|
|
50
|
-
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
|
51
|
-
|
|
55
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/lib/bspin/version.rb
CHANGED