fork_ribs 0.0.2 → 0.0.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 +8 -8
- data/README.md +20 -7
- data/app/assets/images/classic_ribbon.png +0 -0
- data/app/assets/images/flat_ribbon.png +0 -0
- data/app/assets/images/hiring.jpg +0 -0
- data/app/assets/images/snazzy_ribbon.png +0 -0
- data/app/assets/images/twitter.png +0 -0
- data/app/assets/stylesheets/fork_ribs.css +46 -17
- data/lib/fork_ribs/version.rb +1 -1
- metadata +6 -1
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
NGEwYTQ4ZTUzYTM5ZjNkOTQxYzFiOGU1ZWU2NTg4ZjkwNzBkZDE5ZA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
ZDZiNTAyODEyOGQ5ZDc0MTA0YzhiNzViZDhmMjJkMWVkMjFhYWYzZg==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
YmI3Y2U4NjliMTY3MDk2Y2QxYjg5MmMyOGI0MTMzZjZmNjcyZmZkMmM0YjIy
|
|
10
|
+
OWU5ZTE5YzQ4MGJhM2I4OTM5YWU4MDI1ZGNiZGIzZDE1M2Q4OWVhZmI2MzAz
|
|
11
|
+
Y2RmMGNlNWI1ZjM4OGQ3ZDMyZmU1ZWVkNTdhN2UyZjk5Mzk5ZDk=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ZjIxNGNjZDlhZWMxYTBhMmI5NTdlMmMzOWQxZDc5MGQ4ODEwYmVmODhiZTYx
|
|
14
|
+
ZWQ5Yzk3NjM5MGQwYWQ2MmRkMGNkYWI1ZWQ5YjUwMmU5ZTZmOWU1NTI0ZGMy
|
|
15
|
+
YTFiZDRmZTY3MGE3ZjdiYzM2MzM3MTVmNTVjMWM2YzI0ZTYzYmM=
|
data/README.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
# fork_ribs
|
|
2
2
|
|
|
3
|
-
[](http://badge.fury.io/rb/fork_ribs)
|
|
3
|
+
[](http://badge.fury.io/rb/fork_ribs)
|
|
4
|
+
[](https://bitdeli.com/free "Bitdeli Badge")
|
|
4
5
|
|
|
5
|
-
It gives your application a "fork me on github" stripe from where users of your application can fork your github repository !!
|
|
6
|
+
> It gives your application a "fork me on github" stripe from where users of your application can fork your github repository !!
|
|
6
7
|
|
|
7
8
|
## Supports
|
|
8
9
|
|
|
@@ -30,22 +31,32 @@ Once done, add below to application's `assets/stylesheets/application.css` file
|
|
|
30
31
|
|
|
31
32
|
## Usage
|
|
32
33
|
|
|
33
|
-
This gem provides you with three different types of `github
|
|
34
|
+
This gem provides you with three different types of `github ribbons` that you can use in your application.
|
|
34
35
|
|
|
35
36
|
Lets see how you can do that !!
|
|
36
37
|
|
|
37
38
|
Types of ribbons this gem provides:
|
|
38
|
-
- `classic_ribbon`
|
|
39
|
+
- `classic_ribbon`
|
|
40
|
+
|
|
41
|
+

|
|
42
|
+

|
|
43
|
+

|
|
44
|
+
|
|
39
45
|
- `flat_ribbon`
|
|
46
|
+
|
|
47
|
+

|
|
48
|
+
|
|
40
49
|
- `snazzy_ribbon`
|
|
41
50
|
|
|
42
|
-
|
|
51
|
+

|
|
52
|
+
|
|
53
|
+
Where do you want your ribbon to get placed on your application:
|
|
43
54
|
- `top--left`
|
|
44
55
|
- `top--right`
|
|
45
56
|
- `bottom--left`
|
|
46
57
|
- `bottom--right`
|
|
47
58
|
|
|
48
|
-
This gem provides with four color possibilities that you can give to your
|
|
59
|
+
This gem provides with four color possibilities that you can give to your ribbon:
|
|
49
60
|
- `Red`
|
|
50
61
|
- `Blue`
|
|
51
62
|
- `Green`
|
|
@@ -57,7 +68,7 @@ You just have to include a class on the anchor element: Refer the example below
|
|
|
57
68
|
|
|
58
69
|
That's it, this will place a `classic type ribbon` on your app at the `top left corner` which will be `red` in color.
|
|
59
70
|
|
|
60
|
-
NOTE: if you are using `
|
|
71
|
+
NOTE: if you are using `snazzy_ribbon` include a span element inside the anchor element with the `fontawesome-github` class applied on it. Refer the example below:
|
|
61
72
|
|
|
62
73
|
<span class="fontawesome-github"></span>
|
|
63
74
|
|
|
@@ -73,6 +84,8 @@ NOTE: if you are using `snazzy ribbon` include a span element inside the anchor
|
|
|
73
84
|
|
|
74
85
|
.flat_ribbon---bottom--left-green
|
|
75
86
|
|
|
87
|
+
**You can use these ribbons for various other purposes as well such as "Follow me on twitter", "Quote of the day", "Demo page" etc.**
|
|
88
|
+
|
|
76
89
|
## Contributing
|
|
77
90
|
|
|
78
91
|
1. Fork it
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -578,13 +578,12 @@
|
|
|
578
578
|
box-shadow: 0 0 0 0.25em rgba(255, 255, 255, 0.4);
|
|
579
579
|
}*/
|
|
580
580
|
|
|
581
|
-
|
|
582
581
|
.flat_ribbon---top--right-blue {
|
|
583
582
|
position: absolute;
|
|
584
583
|
padding: 0.5em;
|
|
585
584
|
font-size: 1.35em;
|
|
586
585
|
text-decoration: none;
|
|
587
|
-
|
|
586
|
+
color: white;
|
|
588
587
|
top: 0;
|
|
589
588
|
right: 0.5em;
|
|
590
589
|
|
|
@@ -600,7 +599,7 @@
|
|
|
600
599
|
padding: 0.5em;
|
|
601
600
|
font-size: 1.35em;
|
|
602
601
|
text-decoration: none;
|
|
603
|
-
|
|
602
|
+
color: white;
|
|
604
603
|
bottom: 0;
|
|
605
604
|
right: 0.5em;
|
|
606
605
|
|
|
@@ -611,12 +610,13 @@
|
|
|
611
610
|
font-family: sans-serif;
|
|
612
611
|
}
|
|
613
612
|
|
|
613
|
+
|
|
614
614
|
.flat_ribbon---top--left-blue {
|
|
615
615
|
position: absolute;
|
|
616
616
|
padding: 0.5em;
|
|
617
617
|
font-size: 1.35em;
|
|
618
618
|
text-decoration: none;
|
|
619
|
-
|
|
619
|
+
color: white;
|
|
620
620
|
top: 0;
|
|
621
621
|
left: 0.5em;
|
|
622
622
|
|
|
@@ -632,7 +632,7 @@
|
|
|
632
632
|
padding: 0.5em;
|
|
633
633
|
font-size: 1.35em;
|
|
634
634
|
text-decoration: none;
|
|
635
|
-
|
|
635
|
+
color: white;
|
|
636
636
|
bottom: 0;
|
|
637
637
|
left: 0.5em;
|
|
638
638
|
|
|
@@ -648,7 +648,7 @@
|
|
|
648
648
|
padding: 0.5em;
|
|
649
649
|
font-size: 1.35em;
|
|
650
650
|
text-decoration: none;
|
|
651
|
-
|
|
651
|
+
color: white;
|
|
652
652
|
top: 0;
|
|
653
653
|
right: 0.5em;
|
|
654
654
|
|
|
@@ -664,7 +664,7 @@
|
|
|
664
664
|
padding: 0.5em;
|
|
665
665
|
font-size: 1.35em;
|
|
666
666
|
text-decoration: none;
|
|
667
|
-
|
|
667
|
+
color: white;
|
|
668
668
|
bottom: 0;
|
|
669
669
|
right: 0.5em;
|
|
670
670
|
|
|
@@ -680,7 +680,7 @@
|
|
|
680
680
|
padding: 0.5em;
|
|
681
681
|
font-size: 1.35em;
|
|
682
682
|
text-decoration: none;
|
|
683
|
-
|
|
683
|
+
color: white;
|
|
684
684
|
top: 0;
|
|
685
685
|
left: 0.5em;
|
|
686
686
|
|
|
@@ -696,7 +696,7 @@
|
|
|
696
696
|
padding: 0.5em;
|
|
697
697
|
font-size: 1.35em;
|
|
698
698
|
text-decoration: none;
|
|
699
|
-
|
|
699
|
+
color: white;
|
|
700
700
|
bottom: 0;
|
|
701
701
|
left: 0.5em;
|
|
702
702
|
|
|
@@ -712,7 +712,7 @@
|
|
|
712
712
|
padding: 0.5em;
|
|
713
713
|
font-size: 1.35em;
|
|
714
714
|
text-decoration: none;
|
|
715
|
-
|
|
715
|
+
color: white;
|
|
716
716
|
top: 0;
|
|
717
717
|
right: 0.5em;
|
|
718
718
|
|
|
@@ -728,7 +728,7 @@
|
|
|
728
728
|
padding: 0.5em;
|
|
729
729
|
font-size: 1.35em;
|
|
730
730
|
text-decoration: none;
|
|
731
|
-
|
|
731
|
+
color: white;
|
|
732
732
|
bottom: 0;
|
|
733
733
|
right: 0.5em;
|
|
734
734
|
|
|
@@ -744,7 +744,7 @@
|
|
|
744
744
|
padding: 0.5em;
|
|
745
745
|
font-size: 1.35em;
|
|
746
746
|
text-decoration: none;
|
|
747
|
-
|
|
747
|
+
color: white;
|
|
748
748
|
top: 0;
|
|
749
749
|
left: 0.5em;
|
|
750
750
|
|
|
@@ -760,7 +760,7 @@
|
|
|
760
760
|
padding: 0.5em;
|
|
761
761
|
font-size: 1.35em;
|
|
762
762
|
text-decoration: none;
|
|
763
|
-
|
|
763
|
+
color: white;
|
|
764
764
|
bottom: 0;
|
|
765
765
|
left: 0.5em;
|
|
766
766
|
|
|
@@ -777,7 +777,7 @@
|
|
|
777
777
|
padding: 0.5em;
|
|
778
778
|
font-size: 1.35em;
|
|
779
779
|
text-decoration: none;
|
|
780
|
-
|
|
780
|
+
color: white;
|
|
781
781
|
top: 0;
|
|
782
782
|
right: 0.5em;
|
|
783
783
|
|
|
@@ -793,7 +793,7 @@
|
|
|
793
793
|
padding: 0.5em;
|
|
794
794
|
font-size: 1.35em;
|
|
795
795
|
text-decoration: none;
|
|
796
|
-
|
|
796
|
+
color: white;
|
|
797
797
|
bottom: 0;
|
|
798
798
|
right: 0.5em;
|
|
799
799
|
|
|
@@ -809,7 +809,7 @@
|
|
|
809
809
|
padding: 0.5em;
|
|
810
810
|
font-size: 1.35em;
|
|
811
811
|
text-decoration: none;
|
|
812
|
-
|
|
812
|
+
color: white;
|
|
813
813
|
top: 0;
|
|
814
814
|
left: 0.5em;
|
|
815
815
|
|
|
@@ -825,7 +825,7 @@
|
|
|
825
825
|
padding: 0.5em;
|
|
826
826
|
font-size: 1.35em;
|
|
827
827
|
text-decoration: none;
|
|
828
|
-
|
|
828
|
+
color: white;
|
|
829
829
|
bottom: 0;
|
|
830
830
|
left: 0.5em;
|
|
831
831
|
|
|
@@ -836,6 +836,35 @@
|
|
|
836
836
|
font-family: sans-serif;
|
|
837
837
|
}
|
|
838
838
|
|
|
839
|
+
.flat_ribbon---top--right-blue:hover, .flat_ribbon---bottom--right-blue:hover, .flat_ribbon---top--left-blue:hover,
|
|
840
|
+
.flat_ribbon---bottom--left-blue:hover{
|
|
841
|
+
text-decoration: none;
|
|
842
|
+
background: white;
|
|
843
|
+
color: #1b9af7;
|
|
844
|
+
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
.flat_ribbon---top--right-red:hover, .flat_ribbon---bottom--right-red:hover, .flat_ribbon---top--left-red:hover,
|
|
848
|
+
.flat_ribbon---bottom--left-red:hover {
|
|
849
|
+
text-decoration: none;
|
|
850
|
+
background: white;
|
|
851
|
+
color: #FF4351;
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
.flat_ribbon---top--right-green:hover, .flat_ribbon---bottom--right-green:hover, .flat_ribbon---top--left-green:hover,
|
|
855
|
+
.flat_ribbon---bottom--left-green:hover {
|
|
856
|
+
text-decoration: none;
|
|
857
|
+
background: white;
|
|
858
|
+
color: #2ecc71;
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
.flat_ribbon---top--right-orange:hover, .flat_ribbon---bottom--right-orange:hover, .flat_ribbon---top--left-orange:hover,
|
|
862
|
+
.flat_ribbon---bottom--left-orange:hover {
|
|
863
|
+
text-decoration: none;
|
|
864
|
+
background: white;
|
|
865
|
+
color: #feae1b;
|
|
866
|
+
}
|
|
867
|
+
|
|
839
868
|
/*.ribbon.ribbon__alpha {
|
|
840
869
|
background: #3498db;
|
|
841
870
|
background: -moz-linear-gradient(top, #3498db, #2980b9);
|
data/lib/fork_ribs/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fork_ribs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vipul Chhabra
|
|
@@ -70,6 +70,11 @@ files:
|
|
|
70
70
|
- README.md
|
|
71
71
|
- Rakefile
|
|
72
72
|
- app/assets/images/browsers.jpg
|
|
73
|
+
- app/assets/images/classic_ribbon.png
|
|
74
|
+
- app/assets/images/flat_ribbon.png
|
|
75
|
+
- app/assets/images/hiring.jpg
|
|
76
|
+
- app/assets/images/snazzy_ribbon.png
|
|
77
|
+
- app/assets/images/twitter.png
|
|
73
78
|
- app/assets/stylesheets/fork_ribs.css
|
|
74
79
|
- fork_ribs.gemspec
|
|
75
80
|
- lib/fork_ribs.rb
|