Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Updated README #2

Open
wants to merge 2 commits into from

1 participant

@ericdfields

Perhaps I don't do compass imports enough, but it wasn't obvious to me that I needed to first import the base Zocial stylesheet before attempting to use the mixins. I updated the readme to include this helpful tip for the clueless ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 13, 2012
  1. @ericdfields

    updated readme

    ericdfields authored
Commits on Mar 15, 2012
  1. @ericdfields

    yay

    ericdfields authored
This page is out of date. Refresh to see the latest.
View
6 README.mdown
@@ -59,6 +59,12 @@ Zocial has a few defaults in place that you can override for your project.
`$zocial-text-font` is set to "helvetica" by default, but can set to [any of the fonts](https://github.com/adamstac/zocial/blob/master/stylesheets/partials/_fonts.sass) defined. In a future release, we plan to work on adding better options for using other fonts. Please be patient.
+Last but not least, import the Zocial base classes to your stylesheet:
+
+ @import "zocial"
+
+In order to override any of the defaults, you must declare your overrides **before** the `@import` statement.
+
### Mixins
Once you have Zocial's settings in place, it's time to mixin zocial. Zocial has two mixins, one for the free set (zocial-lite) and one for the full set (zocial-full) that can [purchased here](http://zocial.smcllns.com/).
View
4 lib/zocial.rb
@@ -3,7 +3,7 @@
module Zocial
- VERSION = "0.0.3"
- DATE = "2011-11-08"
+ VERSION = "0.0.4"
+ DATE = "2012-02-17"
end
View
2  stylesheets/partials/_base.sass
@@ -27,7 +27,7 @@
// Add a class of "icon" to display as standalone icons instead
&.icon
- width: 1.85em
+ width: $zocial-font-size
overflow: hidden
& > span
View
7 stylesheets/partials/_mixins.sass
@@ -35,6 +35,7 @@
+zocial-meetup
+zocial-openid
+zocial-paypal
+ +zocial-pinboard
+zocial-plancast
+zocial-posterous
+zocial-rss
@@ -307,6 +308,12 @@
& > span:before
content: "$"
+=zocial-pinboard
+ .zocial.pinboard
+ background: blue
+ & > span:before
+ content: "n"
+
=zocial-plancast
.zocial.plancast
@extend .adjustment-1
Something went wrong with that request. Please try again.