sass-buttons 0.1.1 → 0.1.2
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/README.md +48 -0
- data/lib/sass-buttons/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: d3df8085fc57102aff013a090ff140e4fdeb0f85
|
4
|
+
data.tar.gz: b248f760ec38e1702afd3520d12b27cc10f38698
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52df76ab817b3158da019ee89ac8d6dc4baf88fde3047c38b4a81258ce577d4e381368d1a73d908233ca1a41d0add041fe849c1ce68a9dce03ecd5272e3383ee
|
7
|
+
data.tar.gz: f15fdc29cf7d4dcefbb7c9e71ed65a15227393439ebaf1e964c0e6e932f48149c0ec5a9f60970a14673372e350d0c42a3c0af979e9382099fa05d1012dda8d91
|
data/README.md
CHANGED
@@ -1,19 +1,67 @@
|
|
1
1
|
Compass CSS Sass Buttons
|
2
2
|
=========================
|
3
3
|
|
4
|
+
This gem is build for developer who use sass compass in rails and donot like to use bootstrap.
|
5
|
+
|
6
|
+
Sass-buttons depends on the [Buttons](http://alexwolfe.github.io/Buttons/)
|
7
|
+
|
8
|
+
I only make the gem used 'Buttons'
|
9
|
+
|
10
|
+
Maintained by [Lester Zhao](http://lester.izstudy.com/)
|
4
11
|
|
5
12
|
Installation
|
6
13
|
============
|
7
14
|
|
15
|
+
(See Rails notes below)
|
16
|
+
|
17
|
+
Install gem from the command line:
|
18
|
+
|
19
|
+
(sudo) gem install sass-buttons
|
20
|
+
|
21
|
+
Installing Sass Buttons:
|
22
|
+
|
23
|
+
# Edit the project configuration file and add:
|
24
|
+
require 'sassy-buttons'
|
25
|
+
|
26
|
+
# From the command line:
|
27
|
+
compass install sassy-buttons
|
28
|
+
|
29
|
+
#import sassy buttons partial into your sass/scss file
|
30
|
+
@import "sassy-buttons"
|
31
|
+
|
32
|
+
|
33
|
+
|
8
34
|
|
9
35
|
Installing Sass Buttons on Rails 4.0.x
|
10
36
|
-------------------------------------
|
11
37
|
|
38
|
+
# Edit your project Gemfile and add the following line
|
39
|
+
gem 'sass-buttons'
|
40
|
+
|
41
|
+
# Edit your application.css(.sass|.scss) file in the assets/stylesheets folder and add
|
42
|
+
@import "sass-buttons"
|
43
|
+
|
44
|
+
# Bundle your gems to get the sass-buttons plugin to compass
|
45
|
+
$ bundle install
|
46
|
+
|
47
|
+
|
12
48
|
Using Sass Buttons
|
13
49
|
===================
|
14
50
|
|
51
|
+
This gem hasn't include any mixin.
|
52
|
+
|
53
|
+
You can use sass-buttons only as below:
|
54
|
+
|
55
|
+
<a href="#" class="button button-rounded button-flat">press me</a>
|
56
|
+
<a href="#" class="button button-rounded button-flat-primary">press me</a>
|
57
|
+
<a href="#" class="button button-rounded button-flat-action">press me</a>
|
58
|
+
<a href="#" class="button button-rounded button-flat-highlight">press me</a>
|
59
|
+
<a href="#" class="button button-rounded button-flat-caution">press me</a>
|
60
|
+
<a href="#" class="button button-rounded button-flat-royal">press me</a>
|
15
61
|
|
62
|
+
you can use input or button tags to replace the a tag in the codes.
|
16
63
|
|
64
|
+
for more document please click [Buttons](http://alexwolfe.github.io/Buttons/)
|
17
65
|
|
18
66
|
|
19
67
|
|
data/lib/sass-buttons/version.rb
CHANGED