github-button 0.0.1.1 → 0.0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.DS_Store +0 -0
- data/lib/.DS_Store +0 -0
- data/lib/github/button/version.rb +1 -1
- data/vendor/assets/stylesheets/github-button/button.css.scss +228 -0
- metadata +4 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6abcb1b230041a2b5a7a885d85c330972b338dbd
|
4
|
+
data.tar.gz: c1ef3edb69de6e7b3eb1244dc057df4580246109
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 570ac0e7bbcfdbb4a51f6edbfe05147a19e1c7227d8ebaecb90bf6c294ed1ed0fd950a3c25adb10c38daab972ad181588453749c6ead3d0269bd7413d254c69b
|
7
|
+
data.tar.gz: 3c0f03b9f7dc4eb75945d4b91642eea8c7aeef04956ef20c2df3c0211f1fc59e8c7b09944f012ff5b227784d75e53fea21dfb869373e71bd0e03d80a116dee59
|
data/.DS_Store
ADDED
Binary file
|
data/lib/.DS_Store
ADDED
Binary file
|
@@ -0,0 +1,228 @@
|
|
1
|
+
/* ------------------------------------------
|
2
|
+
* CSS3 GITHUB BUTTONS (Nicolas Gallagher)
|
3
|
+
* Licensed under Unlicense
|
4
|
+
* http://github.com/necolas/css3-github-buttons
|
5
|
+
* --------------------------------------- */
|
6
|
+
|
7
|
+
|
8
|
+
/* =============================================================================
|
9
|
+
Base Button
|
10
|
+
========================================================================== */
|
11
|
+
|
12
|
+
.button {
|
13
|
+
position: relative;
|
14
|
+
overflow: visible;
|
15
|
+
display: inline-block;
|
16
|
+
padding: 0.5em 1em;
|
17
|
+
border: 1px solid #d4d4d4;
|
18
|
+
margin: 0;
|
19
|
+
text-decoration: none;
|
20
|
+
text-align: center;
|
21
|
+
text-shadow: 1px 1px 0 #fff;
|
22
|
+
/* font:11px/normal sans-serif;*/
|
23
|
+
font-size:11px;
|
24
|
+
color: #333;
|
25
|
+
white-space: nowrap;
|
26
|
+
cursor: pointer;
|
27
|
+
outline: none;
|
28
|
+
background-color: #ececec;
|
29
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f4f4f4), to(#ececec));
|
30
|
+
background-image: -moz-linear-gradient(#f4f4f4, #ececec);
|
31
|
+
background-image: -ms-linear-gradient(#f4f4f4, #ececec);
|
32
|
+
background-image: -o-linear-gradient(#f4f4f4, #ececec);
|
33
|
+
background-image: linear-gradient(#f4f4f4, #ececec);
|
34
|
+
-moz-background-clip: padding; /* for Firefox 3.6 */
|
35
|
+
background-clip: padding-box;
|
36
|
+
border-radius: 0.2em;
|
37
|
+
/* IE hacks */
|
38
|
+
zoom: 1;
|
39
|
+
*display: inline;
|
40
|
+
}
|
41
|
+
|
42
|
+
.button:hover,
|
43
|
+
.button:focus,
|
44
|
+
.button:active,
|
45
|
+
.button.active {
|
46
|
+
border-color: #3072b3;
|
47
|
+
border-bottom-color: #2a65a0;
|
48
|
+
text-decoration: none;
|
49
|
+
text-shadow: -1px -1px 0 rgba(0,0,0,0.3);
|
50
|
+
color: #fff;
|
51
|
+
background-color: #3c8dde;
|
52
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#599bdc), to(#3072b3));
|
53
|
+
background-image: -moz-linear-gradient(#599bdc, #3072b3);
|
54
|
+
background-image: -o-linear-gradient(#599bdc, #3072b3);
|
55
|
+
background-image: linear-gradient(#599bdc, #3072b3);
|
56
|
+
}
|
57
|
+
|
58
|
+
.button:active,
|
59
|
+
.button.active {
|
60
|
+
border-color: #2a65a0;
|
61
|
+
border-bottom-color: #3884cd;
|
62
|
+
background-color: #3072b3;
|
63
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#3072b3), to(#599bdc));
|
64
|
+
background-image: -moz-linear-gradient(#3072b3, #599bdc);
|
65
|
+
background-image: -ms-linear-gradient(#3072b3, #599bdc);
|
66
|
+
background-image: -o-linear-gradient(#3072b3, #599bdc);
|
67
|
+
background-image: linear-gradient(#3072b3, #599bdc);
|
68
|
+
}
|
69
|
+
|
70
|
+
/* overrides extra padding on button elements in Firefox */
|
71
|
+
.button::-moz-focus-inner {
|
72
|
+
padding: 0;
|
73
|
+
border: 0;
|
74
|
+
}
|
75
|
+
|
76
|
+
.button[class^="icon-"]::before, .button[class*=" icon-"]::before {
|
77
|
+
padding-right: 5px;
|
78
|
+
}
|
79
|
+
/* =============================================================================
|
80
|
+
Button extensions
|
81
|
+
========================================================================== */
|
82
|
+
|
83
|
+
/* Primary button
|
84
|
+
========================================================================== */
|
85
|
+
|
86
|
+
.button.primary {
|
87
|
+
font-weight: bold;
|
88
|
+
}
|
89
|
+
|
90
|
+
/* Danger button
|
91
|
+
========================================================================== */
|
92
|
+
|
93
|
+
.button.danger {
|
94
|
+
color: #900;
|
95
|
+
}
|
96
|
+
|
97
|
+
.button.danger:hover,
|
98
|
+
.button.danger:focus,
|
99
|
+
.button.danger:active {
|
100
|
+
border-color: #b53f3a;
|
101
|
+
border-bottom-color: #a0302a;
|
102
|
+
color: #fff;
|
103
|
+
background-color: #dc5f59;
|
104
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#dc5f59), to(#b33630));
|
105
|
+
background-image: -moz-linear-gradient(#dc5f59, #b33630);
|
106
|
+
background-image: -ms-linear-gradient(#dc5f59, #b33630);
|
107
|
+
background-image: -o-linear-gradient(#dc5f59, #b33630);
|
108
|
+
background-image: linear-gradient(#dc5f59, #b33630);
|
109
|
+
}
|
110
|
+
|
111
|
+
.button.danger:active,
|
112
|
+
.button.danger.active {
|
113
|
+
border-color: #a0302a;
|
114
|
+
border-bottom-color: #bf4843;
|
115
|
+
background-color: #b33630;
|
116
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b33630), to(#dc5f59));
|
117
|
+
background-image: -moz-linear-gradient(#b33630, #dc5f59);
|
118
|
+
background-image: -ms-linear-gradient(#b33630, #dc5f59);
|
119
|
+
background-image: -o-linear-gradient(#b33630, #dc5f59);
|
120
|
+
background-image: linear-gradient(#b33630, #dc5f59);
|
121
|
+
}
|
122
|
+
|
123
|
+
/* Pill button
|
124
|
+
========================================================================== */
|
125
|
+
|
126
|
+
.button.pill {
|
127
|
+
border-radius: 50em;
|
128
|
+
}
|
129
|
+
|
130
|
+
/* Disabled button
|
131
|
+
========================================================================== */
|
132
|
+
|
133
|
+
.button.disable {
|
134
|
+
opacity: 0.5;
|
135
|
+
}
|
136
|
+
|
137
|
+
/* Big button
|
138
|
+
========================================================================== */
|
139
|
+
|
140
|
+
.button.big {
|
141
|
+
font-size: 14px;
|
142
|
+
}
|
143
|
+
|
144
|
+
/* =============================================================================
|
145
|
+
Button groups
|
146
|
+
========================================================================== */
|
147
|
+
|
148
|
+
/* Standard group
|
149
|
+
========================================================================== */
|
150
|
+
|
151
|
+
.button-group {
|
152
|
+
display: inline-block;
|
153
|
+
list-style: none;
|
154
|
+
padding: 0;
|
155
|
+
margin: 0;
|
156
|
+
/* IE hacks */
|
157
|
+
zoom: 1;
|
158
|
+
*display: inline;
|
159
|
+
}
|
160
|
+
|
161
|
+
.button + .button,
|
162
|
+
.button + .button-group,
|
163
|
+
.button-group + .button,
|
164
|
+
.button-group + .button-group {
|
165
|
+
margin-left: 15px;
|
166
|
+
}
|
167
|
+
|
168
|
+
.button-group li {
|
169
|
+
float: left;
|
170
|
+
padding: 0;
|
171
|
+
margin: 0;
|
172
|
+
}
|
173
|
+
|
174
|
+
.button-group .button {
|
175
|
+
float: left;
|
176
|
+
margin-left: -1px;
|
177
|
+
}
|
178
|
+
|
179
|
+
.button-group > .button:not(:first-child):not(:last-child),
|
180
|
+
.button-group li:not(:first-child):not(:last-child) .button {
|
181
|
+
border-radius: 0;
|
182
|
+
}
|
183
|
+
|
184
|
+
.button-group > .button:first-child,
|
185
|
+
.button-group li:first-child .button {
|
186
|
+
margin-left: 0;
|
187
|
+
border-top-right-radius: 0;
|
188
|
+
border-bottom-right-radius: 0;
|
189
|
+
}
|
190
|
+
|
191
|
+
.button-group > .button:last-child,
|
192
|
+
.button-group li:last-child > .button {
|
193
|
+
border-top-left-radius: 0;
|
194
|
+
border-bottom-left-radius: 0;
|
195
|
+
}
|
196
|
+
|
197
|
+
/* Minor group
|
198
|
+
========================================================================== */
|
199
|
+
|
200
|
+
.button-group.minor-group .button {
|
201
|
+
border: 1px solid #d4d4d4;
|
202
|
+
text-shadow: none;
|
203
|
+
background-image: none;
|
204
|
+
background-color: #fff;
|
205
|
+
}
|
206
|
+
|
207
|
+
.button-group.minor-group .button:hover,
|
208
|
+
.button-group.minor-group .button:focus {
|
209
|
+
background-color: #599bdc;
|
210
|
+
}
|
211
|
+
|
212
|
+
.button-group.minor-group .button:active,
|
213
|
+
.button-group.minor-group .button.active {
|
214
|
+
background-color: #3072b3;
|
215
|
+
}
|
216
|
+
|
217
|
+
.button-group.minor-group .button.icon:before {
|
218
|
+
opacity: 0.8;
|
219
|
+
}
|
220
|
+
|
221
|
+
/* =============================================================================
|
222
|
+
Button container (mixing buttons and groups, e.g., nav bar)
|
223
|
+
========================================================================== */
|
224
|
+
|
225
|
+
.button-container .button,
|
226
|
+
.button-container .button-group {
|
227
|
+
vertical-align: top;
|
228
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github-button
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1.
|
4
|
+
version: 0.0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eddie Fisher
|
@@ -45,14 +45,17 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
+
- .DS_Store
|
48
49
|
- .gitignore
|
49
50
|
- Gemfile
|
50
51
|
- LICENSE.txt
|
51
52
|
- README.md
|
52
53
|
- Rakefile
|
53
54
|
- github-button.gemspec
|
55
|
+
- lib/.DS_Store
|
54
56
|
- lib/github/button.rb
|
55
57
|
- lib/github/button/version.rb
|
58
|
+
- vendor/assets/stylesheets/github-button/button.css.scss
|
56
59
|
homepage: https://github.com/eddiefisher/github-button
|
57
60
|
licenses:
|
58
61
|
- MIT
|