zurui-sass-rails 0.0.3 → 0.0.4
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 +26 -3
- data/lib/zurui-sass-rails/version.rb +1 -1
- data/vendor/assets/stylesheets/_zurui-sass.sass +1 -12
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NmVhOGU4OGViYWIxZDM1MzA2ODc3ODk5NGU3MjE2NDFlMDJhZTU5Zg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Mzg4MmZjOTZkOWZkMTAzNDk5ZDIzNWY3ZGYzNjhlODA4ZGNiYzZiMA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZTM0NjhlNDU4ZDE2Y2ZlNmY3YjgwNTBhODNhYzI1OGM2ODA0YjM4MjlhYTZm
|
10
|
+
NWNkOWRiM2QyNzJmNTZkOWVmMjUxOTVhZWQ3ODBmZTE3NDUxOWM2NGE4YWNm
|
11
|
+
YjA4OTk1NzFmZTdiN2M4OTNhYWZlM2M5NDE4OWQ3NGZiYjNkZDk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OWUyMDVhZTI2Y2UyNDVkYTdmZThjNWI3MDhiYTc5NDIyMTI1YWE0MTVmNzNj
|
14
|
+
YjRkMDcwNTQ2OWUxZmZjMzFhNzk0MTcwZDdlNDVjNTM1ZTE0NmY1YTM2MzJl
|
15
|
+
MTg3NjgwMzdmZTcxMjQ2ZGM1ODEwZWZiNDdhYjI4ZDA4ODYxMzY=
|
data/README.md
CHANGED
@@ -4,7 +4,9 @@
|
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
-
|
7
|
+
### Railsユーザー向け
|
8
|
+
|
9
|
+
1) 以下のコードを`Gemfile`に追加してください:
|
8
10
|
|
9
11
|
```ruby
|
10
12
|
group :assets do
|
@@ -14,7 +16,25 @@ group :assets do
|
|
14
16
|
end
|
15
17
|
```
|
16
18
|
|
17
|
-
2)
|
19
|
+
2) 以下のコードを`application.css.sass`のようなファイルに追加して下さい:
|
20
|
+
|
21
|
+
```sass
|
22
|
+
@import compass/utilities
|
23
|
+
@import compass/css3
|
24
|
+
@import zurui-sass
|
25
|
+
```
|
26
|
+
|
27
|
+
3) Enjoy!
|
28
|
+
|
29
|
+
### Rails以外(Middlemanなど)でお使いの方向け
|
30
|
+
|
31
|
+
1) 以下のコマンドを実行して、ローカルに`_zurui-sass.sass`をダウンロードして下さい:
|
32
|
+
|
33
|
+
```
|
34
|
+
curl https://raw.github.com/mahm/zurui-sass-rails/master/vendor/assets/stylesheets/_zurui-sass.sass > _zurui-sass.sass
|
35
|
+
```
|
36
|
+
|
37
|
+
2) Compassの使える環境で`_zurui-sass.sass`をインポートしてお使いください:
|
18
38
|
|
19
39
|
```sass
|
20
40
|
@import compass/utilities
|
@@ -22,7 +42,10 @@ end
|
|
22
42
|
@import zurui-sass
|
23
43
|
```
|
24
44
|
|
25
|
-
|
45
|
+
3) Enjoy!
|
46
|
+
|
47
|
+
|
48
|
+
## 使用例
|
26
49
|
|
27
50
|
- [Zurui Sass Sample](http://zurui-sample.herokuapp.com/)
|
28
51
|
- [Zurui Sass Sample(Github)](http://github.com/mahm/zurui-sample)
|
@@ -50,16 +50,5 @@
|
|
50
50
|
|
51
51
|
@mixin zurui-box-emboss($border:.15, $shadow:.05, $highlight:1)
|
52
52
|
border: 1px solid rgba(0, 0, 0, $border)
|
53
|
-
@include box-shadow(rgba(0, 0, 0, $shadow) -1px 1px 0, rgba(255, 255, 255, $highlight) -1px
|
53
|
+
@include box-shadow(rgba(0, 0, 0, $shadow) -1px 1px 0, rgba(255, 255, 255, $highlight) -1px 1px 0 inset)
|
54
54
|
|
55
|
-
//--------------------------------------------------------------------------------
|
56
|
-
// Cheat liner-gradient
|
57
|
-
@mixin zurui-gradient-top-lighten($color : #666, $lighten: 10%)
|
58
|
-
background-color: $color
|
59
|
-
+filter-gradient(lighten($color, $lighten), $color,vertical)
|
60
|
-
+background-image(linear-gradient(lighten($color, $lighten) 0%, $color 100%))
|
61
|
-
|
62
|
-
@mixin zurui-gradient-top-darken($color : #666, $darken: 10%)
|
63
|
-
background-color: $color
|
64
|
-
+filter-gradient(darken($color, $darken), $color,vertical)
|
65
|
-
+background-image(linear-gradient(darken($color, $darken) 0%, $color 100%))
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zurui-sass-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mah_lab
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-05-
|
11
|
+
date: 2013-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|