zocial 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ Compass::Frameworks.register("zocial", :path => "#{File.dirname(__FILE__)}/..")
3
3
 
4
4
  module Zocial
5
5
 
6
- VERSION = "0.0.1"
7
- DATE = "2011-09-24"
6
+ VERSION = "0.0.2"
7
+ DATE = "2011-09-27"
8
8
 
9
9
  end
@@ -1,463 +1,17 @@
1
- // Defaults
1
+ // Hey Compass!
2
+ @import "compass"
3
+
4
+ // Default variables
2
5
  $zocial-font-size: 1.8em !default
6
+ $zocial-font-weight: bold !default
3
7
  $zocial-icon-font: zocial-lite !default
4
8
  $zocial-icon-default: "-" !default
5
9
  $zocial-text-font: helvetica !default
6
10
 
7
- @import "fonts"
8
-
9
- =zocial
10
- .zocial, .zocial > span
11
- +border-radius(0.2em)
12
- position: relative
13
-
14
- // Button Structure
15
- .zocial
16
- +box-shadow(inset 0 0.063em 0 rgba(#fff,.4), inset 0 0 0.063em rgba(#fff,.6), 0 0.063em 0 rgba(#fff,.3))
17
- +font-family($zocial-text-font)
18
- +text-shadow(0 1px 0 rgba(#000,.5))
19
- position: relative
20
- border: 1px solid rgba(#000,.2)
21
- border-bottom-color: rgba(#000,.4)
22
- color: #fff !important
23
- cursor: pointer
24
- display: inline-block
25
- font-size: $zocial-font-size
26
- outline: none
27
- padding: 0
28
- text-decoration: none !important
29
-
30
- // Misc
31
- button::-moz-focus-inner
32
- border: 0
33
- padding: 0
34
-
35
- // These buttons can be displayed as standalone icons if you also add a class of "icon"
36
- &.icon
37
- width: 1.85em
38
- overflow: hidden
39
-
40
- & > span
41
- position: relative
42
- display: inline-block
43
- font-size: 80%
44
- font-weight: bold
45
- line-height: 2em
46
- padding-right: 0.825em
47
- white-space: nowrap
48
- &:before
49
- +box-shadow(0.075em 0 0 rgba(#fff,.25))
50
- +font-family($zocial-icon-font)
51
- border-right: 0.075em solid rgba(#000,.1)
52
- display: block
53
- float: left
54
- font-size: 125%
55
- font-style: normal
56
- font-weight: normal
57
- margin: 0.0675em 0.5em 0 0
58
- text-align: center
59
- width: 1.75em
60
-
61
- // Gradient default
62
- & > span
63
- +background(linear-gradient(top, rgba(#fff,.1), rgba(#fff,.05) 49%, rgba(#000,.05) 51%, rgba(#000,.1)))
64
-
65
- // Gradient hover and focus
66
- &:hover > span, &:focus > span
67
- +background(linear-gradient(top, rgba(#fff,.15), rgba(#fff,.15) 49%, rgba(#000,.1) 51%, rgba(#000,.15)))
68
-
69
- // Gradient active/clicked
70
- &:active > span
71
- +background(linear-gradient(bottom, rgba(#fff,.1), rgba(#fff, 0) 30%, rgba(#000, 0) 50%, rgba(#000,.1)))
72
-
73
- // Adjustments for light background buttons
74
- &.white, &.twitter, &.github
75
- +text-shadow(0 1px 0 rgba(#fff,.8))
76
- +box-shadow(inset 0 0.063em 0 rgba(#fff,.4), inset 0 0 0.063em rgba(#fff,.6), 0 0.063em 0 rgba(#fff,.3))
77
-
78
- &.github:hover > span, &.twitter:focus > span, &.github:focus > span
79
- +background(linear-gradient(top, rgba(#fff,.5), rgba(#fff,.2) 49%, rgba(#000,.05) 51%, rgba(#000,.15)))
80
-
81
- &.twitter:active > span, &.github:active > span
82
- +background(linear-gradient(bottom, rgba(#fff,0), rgba(#fff,0) 30%, rgba(#000, 0) 50%, rgba(#000,.1)))
83
-
84
- // Assumes full set if the icon-font is zocial
85
- @if $zocial-icon-font == "zocial"
86
- // Adjustments for light background buttons
87
- &.plancast, &.posterous, &.dropbox, &.openid, &.instapaper, &.wikipedia, &.cloudapp, &.gmail
88
- +text-shadow(0 1px 0 rgba(#fff,.8))
89
- +box-shadow(inset 0 0.063em 0 rgba(#fff,.4), inset 0 0 0.063em rgba(#fff,.6), 0 0.063em 0 rgba(#fff,.3))
90
-
91
- &.plancast:hover > span, &.posterous:hover > span, &.dropbox:hover > span, &.openid:hover > span, &.instapaper:hover > span, &.github:hover > span, &.wikipedia:hover > span, &.gmail:hover > span,
92
- &.plancast:focus > span, &.posterous:focus > span, &.dropbox:focus > span, &.openid:focus > span, &.instapaper:focus > span, &.github:focus > span, &.wikipedia:focus > span, &.gmail:focus > span
93
- +background(linear-gradient(top, rgba(#fff,.5), rgba(#fff,.2) 49%, rgba(#000,.05) 51%, rgba(#000,.15)))
94
-
95
- &.plancast:active > span, &.posterous:active > span, &.dropbox:active > span, &.openid:active > span, &.instapaper:active > span, &.wikipedia:active > span, &.gmail:active > span
96
- +background(linear-gradient(bottom, rgba(#fff,0), rgba(#fff,0) 30%, rgba(#000, 0) 50%, rgba(#000,.1)))
97
-
98
-
99
- // Default
100
- & > span:before
101
- content: $zocial-icon-default
102
-
103
- // Basic colors + content
104
- &.white
105
- background: #fff
106
- color: #000 !important
107
- & > span:before
108
- content: $zocial-icon-default
109
- color: #000
110
- &.black
111
- background: #000
112
- color: #fff !important
113
- & > span:before
114
- content: $zocial-icon-default
115
- color: #fff
116
- &.red
117
- background: red
118
- color: #fff !important
119
- & > span:before
120
- content: $zocial-icon-default
121
- color: #fff
122
- &.green
123
- background: green
124
- color: #fff !important
125
- & > span:before
126
- content: $zocial-icon-default
127
- color: #fff
128
- &.blue
129
- background: blue
130
- color: #fff !important
131
- & > span:before
132
- content: $zocial-icon-default
133
- color: #fff
134
-
135
- // Icons
136
- &.facebook > span:before
137
- content: "f"
138
- &.github > span:before
139
- content: "g"
140
- &.googleplus > span:before
141
- content: "+"
142
- &.rss > span:before
143
- content: "R"
144
- &.smashingmag > span:before
145
- content: "*"
146
- &.twitter > span:before
147
- content: "T"
148
-
149
- // Assumes full set if the icon-font is zocial
150
- @if $zocial-icon-font == "zocial"
151
- &.google > span:before
152
- content: "G"
153
-
154
- &.linkedin > span:before
155
- content: "L"
156
-
157
- &.meetup > span:before
158
- content: "M"
159
-
160
- &.plancast > span:before
161
- content: "P"
162
-
163
- &.soundcloud > span:before
164
- content: "s"
165
-
166
- &.tumblr > span:before
167
- content: "t"
168
-
169
- &.dribbble > span:before
170
- content: "D"
171
-
172
- &.forrst > span:before
173
- content: ":"
174
- color: #50894F
175
-
176
- &.dropbox > span:before
177
- content: "d"
178
- color: #4EA4E3
179
-
180
- &.posterous > span:before
181
- content: "~"
182
-
183
- &.flattr > span:before
184
- content: "%"
185
-
186
- &.spotify > span:before
187
- content: "="
188
-
189
- &.foursquare > span:before
190
- content: "4"
191
-
192
- &.intensedebate > span:before
193
- content: "{"
194
-
195
- &.wordpress > span:before
196
- content: "w"
197
-
198
- &.yahoo > span:before
199
- content: "Y"
200
-
201
- &.openid > span:before
202
- content: "o"
203
- color: #FF921D
204
-
205
- &.guest > span:before
206
- content: "?"
207
-
208
- &.instapaper > span:before
209
- content: "I"
210
-
211
- &.android > span:before
212
- content: "&"
213
-
214
- &.itunes > span:before
215
- content: "A"
216
-
217
- &.paypal > span:before
218
- content: "$"
219
-
220
- &.appstore > span:before
221
- content: "^"
222
-
223
- &.creativecommons > span:before
224
- content: "C"
225
-
226
- &.disqus > span:before
227
- content: "Q"
228
-
229
- &.eventasaurus > span:before
230
- content: "v"
231
-
232
- &.eventbrite > span:before
233
- content: "|"
234
-
235
- &.chrome > span:before
236
- content: "["
237
-
238
- &.html5 > span:before
239
- content: "5"
240
-
241
- &.songkick > span:before
242
- content: "k"
243
-
244
- &.vimeo > span:before
245
- content: "V"
246
-
247
- &.youtube > span:before
248
- content: "U"
249
-
250
- &.gowalla > span:before
251
- content: "@"
252
-
253
- &.skype > span:before
254
- content: "S"
255
-
256
- &.aol > span:before
257
- content: "\""
258
-
259
- &.wikipedia > span:before
260
- content: ","
261
-
262
- &.yelp > span:before
263
- content: "y"
264
-
265
- &.evernote > span:before
266
- content: "E"
267
-
268
- &.ie > span:before
269
- content: "6"
270
-
271
- &.cloudapp > span:before
272
- content: "c"
273
-
274
- &.gmail > span:before
275
- content: "m"
276
- color: #ff0000
277
-
278
- &.amazon > span:before
279
- content: "a"
280
-
281
- &.lastfm > span:before
282
- content: "l"
283
-
284
- // Colors
285
- &.github
286
- color: #050505 !important
287
- background: #FBFBFB
288
- &.googleplus
289
- background: #282626
290
- &.googleplus:before
291
- content: ""
292
- display: block
293
- height: 0.2em
294
- margin-bottom: -0.1em
295
- width: 100%
296
- position: relative
297
- left: 0em
298
- top: 0
299
- +background(linear-gradient(left, #d20e1b, #d20e1b 25%, #3156e6 25%, #3156e6 50%, #2aa134 50%, #2aa134 75%, #ecb01b 75%, #ecb01b))
300
- +border-radius(0.2em 0.2em 0 0)
301
- border-bottom: 1px solid rgba(#000,.8)
302
- +box-shadow(inset 0 0.063em 0 rgba(#fff,.4), inset 0 0 0.063em rgba(#fff,.6), 0 0.063em 0 rgba(#fff,.3))
303
- z-index: 0
304
- &.facebook
305
- background: #4863AE
306
- &.rss
307
- background: #FF7F25
308
- &.smashingmag
309
- background: #FF4F27
310
- &.twitter
311
- background: #E9F9FF
312
- color: #3C6B9C !important
313
-
314
- // Assumes full set if the icon-font is zocial
315
- @if $zocial-icon-font == "zocial"
316
- &.openid
317
- background: #f5f5f5
318
- color: #333 !important
319
-
320
- &.guest
321
- background: #1B4D6D
322
-
323
- &.instapaper
324
- color: #222 !important
325
- background: #eee
326
-
327
- &.android
328
- background: #A4C639
329
-
330
- &.itunes
331
- background: #222
332
-
333
- &.paypal
334
- background: #FF921D
335
- color: #032751 !important
336
- +text-shadow(0 1px 0 rgba(#fff,.5))
337
-
338
- &.appstore
339
- background: #007DCB !important
340
-
341
- &.creativecommons
342
- background: #000
343
-
344
- &.disqus
345
- background: #216892
346
-
347
- &.gowalla
348
- background: #FF720A
349
-
350
- &.skype
351
- background: #00A2ED
352
-
353
- &.aol
354
- background: #FF0000
355
-
356
- &.wikipedia
357
- background: #fff
358
- color: #000 !important
359
-
360
- &.yelp
361
- background: #E60010
362
-
363
- &.scribd > span:before
364
- content: "}"
365
- color: #00D5EA !important
366
-
367
- &.scribd
368
- background: #231C1A
369
-
370
- &.eventasaurus
371
- background: #8CCC33
372
-
373
- &.eventbrite
374
- background: #FF5616
375
-
376
- &.chrome
377
- background: #006CD4
378
-
379
- &.html5
380
- background: #FF3617
381
-
382
- &.songkick
383
- background: #FF0050
384
-
385
- &.vimeo
386
- background: #00A2CD
387
-
388
- &.youtube
389
- background: #FF0000
390
-
391
- &.yahoo
392
- background: #A200C2
393
-
394
- &.intensedebate
395
- background: #0099E1
396
-
397
- &.wordpress
398
- background: #464646
399
-
400
- &.linkedin
401
- background: #0083A8
402
-
403
- &.google
404
- background: #4E6CF7
405
-
406
- &.meetup
407
- background: #FF0026
408
-
409
- &.plancast
410
- background: #E7EBED
411
- color: #333 !important
412
-
413
- &.soundcloud
414
- background: #FF4500
415
-
416
- &.tumblr
417
- background: #374a61
418
-
419
- &.foursquare
420
- background: #44A8E0
421
-
422
- &.dribbble
423
- background: #ea4c89
424
-
425
- &.forrst
426
- background: #1E360D
427
-
428
- &.dropbox
429
- background: #f5f5f5
430
- color: #312c2a !important
431
-
432
- &.posterous
433
- background: #FFD959
434
- color: #BC7134 !important
435
-
436
- &.flattr
437
- background: #8ABA42
438
-
439
- &.spotify
440
- background: #60AF00
441
-
442
- &.evernote
443
- background: #6BB130
444
- color: #fff !important
445
-
446
- &.ie
447
- background: #00A1D9
448
-
449
- &.cloudapp
450
- background: #fff
451
- color: #312c2a !important
452
-
453
- &.gmail
454
- background: #efefef
455
- color: #222 !important
456
-
457
- &.amazon
458
- background: #FFAD1D
459
- color: #030037 !important
460
- text-shadow: 0 1px 0 rgba(#fff,.5)
461
-
462
- &.lastfm
463
- background: #dc1a23
11
+ // Zocial is magic!
12
+ @import "partials/fonts"
13
+ @import "partials/base"
14
+ @import "partials/adjustments"
15
+ @import "partials/colors"
16
+ @import "partials/lite"
17
+ @import "partials/full"
@@ -0,0 +1,19 @@
1
+ // Adjustments for light background buttons
2
+ //
3
+ // &.white, &.twitter, &.github
4
+ // &.plancast, &.posterous, &.dropbox, &.openid, &.instapaper, &.wikipedia, &.cloudapp, &.gmail
5
+ .adjustment-1
6
+ +text-shadow(0 1px 0 rgba(#fff,.8))
7
+ +box-shadow(inset 0 0.063em 0 rgba(#fff,.4), inset 0 0 0.063em rgba(#fff,.6), 0 0.063em 0 rgba(#fff,.3))
8
+
9
+ // &.github:hover > span, &.twitter:focus > span, &.github:focus > span
10
+ //
11
+ // &.plancast:hover > span, &.posterous:hover > span, &.dropbox:hover > span, &.openid:hover > span, &.instapaper:hover > span, &.github:hover > span, &.wikipedia:hover > span, &.gmail:hover > span,
12
+ // &.plancast:focus > span, &.posterous:focus > span, &.dropbox:focus > span, &.openid:focus > span, &.instapaper:focus > span, &.github:focus > span, &.wikipedia:focus > span, &.gmail:focus > span
13
+ .adjustment-2
14
+ +background(linear-gradient(top, rgba(#fff,.5), rgba(#fff,.2) 49%, rgba(#000,.05) 51%, rgba(#000,.15)))
15
+
16
+ // &.twitter:active > span, &.github:active > span
17
+ // &.plancast:active > span, &.posterous:active > span, &.dropbox:active > span, &.openid:active > span, &.instapaper:active > span, &.wikipedia:active > span, &.gmail:active > span
18
+ .adjustment-3
19
+ +background(linear-gradient(bottom, rgba(#fff,0), rgba(#fff,0) 30%, rgba(#000, 0) 50%, rgba(#000,.1)))
@@ -0,0 +1,69 @@
1
+ =zocial-base
2
+ .zocial, .zocial > span
3
+ +border-radius(0.2em)
4
+ position: relative
5
+
6
+ // Button Structure
7
+ .zocial
8
+ +box-shadow(inset 0 0.063em 0 rgba(#fff,.4), inset 0 0 0.063em rgba(#fff,.6), 0 0.063em 0 rgba(#fff,.3))
9
+ +font-family($zocial-text-font)
10
+ +text-shadow(0 1px 0 rgba(#000,.5))
11
+ position: relative
12
+ border: 1px solid rgba(#000,.2)
13
+ border-bottom-color: rgba(#000,.4)
14
+ color: #fff !important
15
+ cursor: pointer
16
+ display: inline-block
17
+ font-size: $zocial-font-size
18
+ outline: none
19
+ padding: 0
20
+ text-decoration: none !important
21
+
22
+ // Misc
23
+ button::-moz-focus-inner
24
+ border: 0
25
+ padding: 0
26
+
27
+ // These buttons can be displayed as standalone icons if you also add a class of "icon"
28
+ &.icon
29
+ width: 1.85em
30
+ overflow: hidden
31
+
32
+ & > span
33
+ position: relative
34
+ display: inline-block
35
+ font-size: 80%
36
+ font-weight: $zocial-font-weight
37
+ line-height: 2em
38
+ padding-right: 0.825em
39
+ white-space: nowrap
40
+ &:before
41
+ +box-shadow(0.075em 0 0 rgba(#fff,.25))
42
+ +font-family($zocial-icon-font)
43
+ border-right: 0.075em solid rgba(#000,.1)
44
+ display: block
45
+ float: left
46
+ font-size: 125%
47
+ font-style: normal
48
+ font-weight: normal
49
+ margin: 0.0675em 0.5em 0 0
50
+ text-align: center
51
+ width: 1.75em
52
+
53
+ // Gradient default
54
+ & > span
55
+ +background(linear-gradient(top, rgba(#fff,.1), rgba(#fff,.05) 49%, rgba(#000,.05) 51%, rgba(#000,.1)))
56
+
57
+ // Gradient hover and focus
58
+ &:hover > span, &:focus > span
59
+ +background(linear-gradient(top, rgba(#fff,.15), rgba(#fff,.15) 49%, rgba(#000,.1) 51%, rgba(#000,.15)))
60
+
61
+ // Gradient active/clicked
62
+ &:active > span
63
+ +background(linear-gradient(bottom, rgba(#fff,.1), rgba(#fff, 0) 30%, rgba(#000, 0) 50%, rgba(#000,.1)))
64
+
65
+ // Default button styles
66
+ & > span:before
67
+ content: $zocial-icon-default
68
+
69
+ +zocial-base
@@ -0,0 +1,48 @@
1
+ =zocial-colors
2
+ +zocial-white
3
+ +zocial-black
4
+ +zocial-red
5
+ +zocial-green
6
+ +zocial-blue
7
+
8
+ // Colors
9
+ =zocial-white
10
+ .zocial.white
11
+ @extend .adjustment-1
12
+ background: #fff
13
+ color: #000 !important
14
+ & > span:before
15
+ content: $zocial-icon-default
16
+ color: #000
17
+
18
+ =zocial-black
19
+ .zocial.black
20
+ background: #000
21
+ color: #fff !important
22
+ & > span:before
23
+ content: $zocial-icon-default
24
+ color: #fff
25
+
26
+ =zocial-red
27
+ .zocial.red
28
+ background: red
29
+ color: #fff !important
30
+ & > span:before
31
+ content: $zocial-icon-default
32
+ color: #fff
33
+
34
+ =zocial-green
35
+ .zocial.green
36
+ background: green
37
+ color: #fff !important
38
+ & > span:before
39
+ content: $zocial-icon-default
40
+ color: #fff
41
+
42
+ =zocial-blue
43
+ .zocial.blue
44
+ background: blue
45
+ color: #fff !important
46
+ & > span:before
47
+ content: $zocial-icon-default
48
+ color: #fff
@@ -1,5 +1,3 @@
1
- @import "compass"
2
-
3
1
  // Font family mixin
4
2
  =font-family($zocial-text-font)
5
3
  @extend .ff-#{$zocial-text-font}
@@ -0,0 +1,367 @@
1
+ =zocial-full
2
+ // mixin zocial-lite
3
+ +zocial-lite
4
+ // now do the rest
5
+ +zocial-amazon
6
+ +zocial-android
7
+ +zocial-aol
8
+ +zocial-appstore
9
+ +zocial-chrome
10
+ +zocial-cloudapp
11
+ +zocial-creativecommons
12
+ +zocial-disqus
13
+ +zocial-dribbble
14
+ +zocial-dropbox
15
+ +zocial-eventasaurus
16
+ +zocial-eventbrite
17
+ +zocial-evernote
18
+ +zocial-flattr
19
+ +zocial-forrst
20
+ +zocial-foursquare
21
+ +zocial-gmail
22
+ +zocial-google
23
+ +zocial-gowalla
24
+ +zocial-guest
25
+ +zocial-html5
26
+ +zocial-ie
27
+ +zocial-instapaper
28
+ +zocial-intensedebate
29
+ +zocial-itunes
30
+ +zocial-lastfm
31
+ +zocial-linkedin
32
+ +zocial-meetup
33
+ +zocial-openid
34
+ +zocial-paypal
35
+ +zocial-plancast
36
+ +zocial-posterous
37
+ +zocial-scribd
38
+ +zocial-skype
39
+ +zocial-songkick
40
+ +zocial-soundcloud
41
+ +zocial-spotify
42
+ +zocial-tumblr
43
+ +zocial-vimeo
44
+ +zocial-wikipedia
45
+ +zocial-wordpress
46
+ +zocial-yahoo
47
+ +zocial-yelp
48
+ +zocial-youtube
49
+
50
+ // Paid - Sorted A-Z
51
+ =zocial-amazon
52
+ .zocial.amazon
53
+ background: #FFAD1D
54
+ color: #030037 !important
55
+ text-shadow: 0 1px 0 rgba(#fff,.5)
56
+ & > span:before
57
+ content: "a"
58
+
59
+ =zocial-android
60
+ .zocial.android
61
+ background: #A4C639
62
+ & > span:before
63
+ content: "&"
64
+
65
+ =zocial-aol
66
+ .zocial.aol
67
+ background: #FF0000
68
+ & > span:before
69
+ content: "\""
70
+
71
+ =zocial-appstore
72
+ .zocial.appstore
73
+ background: #007DCB !important
74
+ & > span:before
75
+ content: "^"
76
+
77
+ =zocial-chrome
78
+ .zocial.chrome
79
+ background: #006CD4
80
+ & > span:before
81
+ content: "["
82
+
83
+ =zocial-cloudapp
84
+ .zocial.cloudapp
85
+ @extend .adjustment-1
86
+ background: #fff
87
+ color: #312c2a !important
88
+ & > span:before
89
+ content: "c"
90
+
91
+ =zocial-creativecommons
92
+ .zocial.creativecommons
93
+ background: #000
94
+ & > span:before
95
+ content: "C"
96
+
97
+ =zocial-disqus
98
+ .zocial.disqus
99
+ background: #216892
100
+ & > span:before
101
+ content: "Q"
102
+
103
+ =zocial-dribbble
104
+ .zocial.dribbble
105
+ background: #ea4c89
106
+ & > span:before
107
+ content: "D"
108
+
109
+ =zocial-dropbox
110
+ .zocial.dropbox
111
+ @extend .adjustment-1
112
+ background: #f5f5f5
113
+ color: #312c2a !important
114
+ &:hover > span, &:focus > span
115
+ @extend .adjustment-2
116
+ &:active > span
117
+ @extend .adjustment-3
118
+ & > span:before
119
+ content: "d"
120
+ color: #4EA4E3
121
+
122
+ =zocial-eventasaurus
123
+ .zocial.eventasaurus
124
+ background: #8CCC33
125
+ & > span:before
126
+ content: "v"
127
+
128
+ =zocial-eventbrite
129
+ .zocial.eventbrite
130
+ background: #FF5616
131
+ & > span:before
132
+ content: "|"
133
+
134
+ =zocial-evernote
135
+ .zocial.evernote
136
+ background: #6BB130
137
+ color: #fff !important
138
+ & > span:before
139
+ content: "E"
140
+
141
+ =zocial-flattr
142
+ .zocial.flattr
143
+ background: #8ABA42
144
+ & > span:before
145
+ content: "%"
146
+
147
+ =zocial-forrst
148
+ .zocial.forrst
149
+ background: #1E360D
150
+ & > span:before
151
+ content: ":"
152
+ color: #50894F
153
+
154
+ =zocial-foursquare
155
+ .zocial.foursquare
156
+ background: #44A8E0
157
+ & > span:before
158
+ content: "4"
159
+
160
+ =zocial-gmail
161
+ .zocial.gmail
162
+ @extend .adjustment-1
163
+ background: #efefef
164
+ color: #222 !important
165
+ &:hover > span, &:focus > span
166
+ @extend .adjustment-2
167
+ &:active > span
168
+ @extend .adjustment-3
169
+ & > span:before
170
+ content: "m"
171
+ color: #ff0000
172
+
173
+ =zocial-google
174
+ .zocial.google
175
+ background: #4E6CF7
176
+ & > span:before
177
+ content: "G"
178
+
179
+ =zocial-gowalla
180
+ .zocial.gowalla
181
+ background: #FF720A
182
+ & > span:before
183
+ content: "@"
184
+
185
+ =zocial-guest
186
+ .zocial.guest
187
+ background: #1B4D6D
188
+ & > span:before
189
+ content: "?"
190
+
191
+ =zocial-html5
192
+ .zocial.html5
193
+ background: #FF3617
194
+ & > span:before
195
+ content: "5"
196
+
197
+ =zocial-ie
198
+ .zocial.ie
199
+ background: #00A1D9
200
+ & > span:before
201
+ content: "6"
202
+
203
+ =zocial-instapaper
204
+ .zocial.instapaper
205
+ @extend .adjustment-1
206
+ color: #222 !important
207
+ background: #eee
208
+ &:hover > span, &:focus > span
209
+ @extend .adjustment-2
210
+ &:active > span
211
+ @extend .adjustment-3
212
+ & > span:before
213
+ content: "I"
214
+
215
+ =zocial-intensedebate
216
+ .zocial.intensedebate
217
+ background: #0099E1
218
+ & > span:before
219
+ content: "{"
220
+
221
+ =zocial-itunes
222
+ .zocial.itunes
223
+ background: #222
224
+ & > span:before
225
+ content: "A"
226
+
227
+ =zocial-lastfm
228
+ .zocial.lastfm
229
+ background: #dc1a23
230
+ & > span:before
231
+ content: "l"
232
+
233
+ =zocial-linkedin
234
+ .zocial.linkedin
235
+ background: #0083A8
236
+ & > span:before
237
+ content: "L"
238
+
239
+ =zocial-meetup
240
+ .zocial.meetup
241
+ background: #FF0026
242
+ & > span:before
243
+ content: "M"
244
+
245
+ =zocial-openid
246
+ .zocial.openid
247
+ @extend .adjustment-1
248
+ background: #f5f5f5
249
+ color: #333 !important
250
+ &:hover > span, &:focus > span
251
+ @extend .adjustment-2
252
+ &:active > span
253
+ @extend .adjustment-3
254
+ & > span:before
255
+ content: "o"
256
+ color: #FF921D
257
+
258
+ =zocial-paypal
259
+ .zocial.paypal
260
+ background: #FF921D
261
+ color: #032751 !important
262
+ +text-shadow(0 1px 0 rgba(#fff,.5))
263
+ & > span:before
264
+ content: "$"
265
+
266
+ =zocial-plancast
267
+ .zocial.plancast
268
+ @extend .adjustment-1
269
+ background: #E7EBED
270
+ color: #333 !important
271
+ &:hover > span, &:focus > span
272
+ @extend .adjustment-2
273
+ &:active > span
274
+ @extend .adjustment-3
275
+ & > span:before
276
+ content: "P"
277
+
278
+ =zocial-posterous
279
+ .zocial.posterous
280
+ @extend .adjustment-1
281
+ background: #FFD959
282
+ color: #BC7134 !important
283
+ &:hover > span, &:focus > span
284
+ @extend .adjustment-2
285
+ &:active > span
286
+ @extend .adjustment-3
287
+ & > span:before
288
+ content: "~"
289
+
290
+ =zocial-scribd
291
+ .zocial.scribd
292
+ background: #231C1A
293
+ & > span:before
294
+ content: "}"
295
+ color: #00D5EA !important
296
+
297
+ =zocial-skype
298
+ .zocial.skype
299
+ background: #00A2ED
300
+ & > span:before
301
+ content: "S"
302
+
303
+ =zocial-songkick
304
+ .zocial.songkick
305
+ background: #FF0050
306
+ & > span:before
307
+ content: "k"
308
+
309
+ =zocial-soundcloud
310
+ .zocial.soundcloud
311
+ background: #FF4500
312
+ & > span:before
313
+ content: "s"
314
+
315
+ =zocial-spotify
316
+ .zocial.spotify
317
+ background: #60AF00
318
+ & > span:before
319
+ content: "=zocial-"
320
+
321
+ =zocial-tumblr
322
+ .zocial.tumblr
323
+ background: #374a61
324
+ & > span:before
325
+ content: "t"
326
+
327
+ =zocial-vimeo
328
+ .zocial.vimeo
329
+ background: #00A2CD
330
+ & > span:before
331
+ content: "V"
332
+
333
+ =zocial-wikipedia
334
+ .zocial.wikipedia
335
+ @extend .adjustment-1
336
+ background: #fff
337
+ color: #000 !important
338
+ &:hover > span, &:focus > span
339
+ @extend .adjustment-2
340
+ &:active > span
341
+ @extend .adjustment-3
342
+ & > span:before
343
+ content: ","
344
+
345
+ =zocial-wordpress
346
+ .zocial.wordpress
347
+ background: #464646
348
+ & > span:before
349
+ content: "w"
350
+
351
+ =zocial-yahoo
352
+ .zocial.yahoo
353
+ background: #A200C2
354
+ & > span:before
355
+ content: "Y"
356
+
357
+ =zocial-yelp
358
+ .zocial.yelp
359
+ background: #E60010
360
+ & > span:before
361
+ content: "y"
362
+
363
+ =zocial-youtube
364
+ .zocial.youtube
365
+ background: #FF0000
366
+ & > span:before
367
+ content: "U"
@@ -0,0 +1,70 @@
1
+ =zocial-lite
2
+ +zocial-facebook
3
+ +zocial-github
4
+ +zocial-googleplus
5
+ +zocial-rss
6
+ +zocial-smashingmag
7
+ +zocial-twitter
8
+
9
+ // Open Source - Sorted A-Z
10
+ =zocial-facebook
11
+ .zocial.facebook
12
+ background: #4863AE
13
+ &> span:before
14
+ content: "f"
15
+
16
+ =zocial-github
17
+ .zocial.github
18
+ @extend .adjustment-1
19
+ color: #050505 !important
20
+ background: #FBFBFB
21
+ &:hover > span, &:focus > span
22
+ @extend .adjustment-2
23
+ &:active > span
24
+ @extend .adjustment-3
25
+ & > span:before
26
+ content: "g"
27
+
28
+ =zocial-googleplus
29
+ .zocial.googleplus
30
+ background: #282626
31
+ &:before
32
+ content: ""
33
+ display: block
34
+ height: 0.2em
35
+ margin-bottom: -0.1em
36
+ width: 100%
37
+ position: relative
38
+ left: 0em
39
+ top: 0
40
+ +background(linear-gradient(left, #d20e1b, #d20e1b 25%, #3156e6 25%, #3156e6 50%, #2aa134 50%, #2aa134 75%, #ecb01b 75%, #ecb01b))
41
+ +border-radius(0.2em 0.2em 0 0)
42
+ border-bottom: 1px solid rgba(#000,.8)
43
+ +box-shadow(inset 0 0.063em 0 rgba(#fff,.4), inset 0 0 0.063em rgba(#fff,.6), 0 0.063em 0 rgba(#fff,.3))
44
+ z-index: 0
45
+ & > span:before
46
+ content: "+"
47
+
48
+ =zocial-rss
49
+ .zocial.rss
50
+ background: #FF7F25
51
+ & > span:before
52
+ content: "R"
53
+
54
+ =zocial-smashingmag
55
+ .zocial.smashingmag
56
+ background: #FF4F27
57
+ & > span:before
58
+ content: "*"
59
+
60
+ =zocial-twitter
61
+ .zocial.twitter
62
+ @extend .adjustment-1
63
+ background: #E9F9FF
64
+ color: #3C6B9C !important
65
+ &:focus > span
66
+ @extend .adjustment-2
67
+ &:active > span
68
+ @extend .adjustment-3
69
+ & > span:before
70
+ content: "T"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zocial
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2011-09-24 00:00:00.000000000Z
13
+ date: 2011-09-27 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: compass
17
- requirement: &70222067780580 !ruby/object:Gem::Requirement
17
+ requirement: &70097243731780 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,7 +22,7 @@ dependencies:
22
22
  version: 0.11.5
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70222067780580
25
+ version_requirements: *70097243731780
26
26
  description: Zocial CSS3 button set and vector icons with @font-face
27
27
  email:
28
28
  - adam@stacoviak.com
@@ -33,8 +33,13 @@ extra_rdoc_files: []
33
33
  files:
34
34
  - README.mdown
35
35
  - lib/zocial.rb
36
- - stylesheets/_fonts.sass
37
36
  - stylesheets/_zocial.sass
37
+ - stylesheets/partials/_adjustments.sass
38
+ - stylesheets/partials/_base.sass
39
+ - stylesheets/partials/_colors.sass
40
+ - stylesheets/partials/_fonts.sass
41
+ - stylesheets/partials/_full.sass
42
+ - stylesheets/partials/_lite.sass
38
43
  - templates/css/config.rb
39
44
  - templates/css/manifest.rb
40
45
  - templates/css/zocial-min.css
@@ -59,7 +64,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
59
64
  version: '0'
60
65
  segments:
61
66
  - 0
62
- hash: -1930045921893056838
67
+ hash: -2297521699150107220
63
68
  required_rubygems_version: !ruby/object:Gem::Requirement
64
69
  none: false
65
70
  requirements: