zurui-sass-middleman 0.0.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 59143f5b752b5b5cccae265ae0f1eddcbeeb510d
4
+ data.tar.gz: 143c8e773ab97645524e55f6186f584917e3e386
5
+ SHA512:
6
+ metadata.gz: fb4e419d557732e7caf266fd8d985ecfe1bb4f656de2b1e6edb023d49d71f1776079e9b45302164960ad88e597446d23c58e11d2db836c8d4671bdeb30d37811
7
+ data.tar.gz: d5c0fec65d44747ae431fe4fdaa19b920a2cb61c332c0451f23159a08a128d454c109190cf8841c5f9cea6334b7d51b2a58192705b7b36e2e1ea09fdb06d3b61
data/.gitignore ADDED
@@ -0,0 +1,18 @@
1
+ .DS_Store
2
+ *.gem
3
+ *.rbc
4
+ .bundle
5
+ .config
6
+ .yardoc
7
+ Gemfile.lock
8
+ InstalledFiles
9
+ _yardoc
10
+ coverage
11
+ doc/
12
+ lib/bundler/man
13
+ pkg
14
+ rdoc
15
+ spec/reports
16
+ test/tmp
17
+ test/version_tmp
18
+ tmp
data/.gitmodules ADDED
@@ -0,0 +1,3 @@
1
+ [submodule "app/assets/stylesheets/zurui-sass"]
2
+ path = app/assets/stylesheets/zurui-sass
3
+ url = git@github.com:mahm/zurui-sass.git
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in font-awesome-middleman.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 Masahiro Nishimi(@mah_lab)
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1 @@
1
+ @import zurui-sass/zurui-sass
@@ -0,0 +1,16 @@
1
+ # zurui-sass
2
+
3
+ [@ken_c_lo](https://twitter.com/ken_c_lo)さんの[ズルいデザインテクニック](https://speakerdeck.com/ken_c_lo/zurui-design)のMixinをまとめたGemです。
4
+
5
+ ## 使用例
6
+
7
+ - [Zurui Sass Sample](http://zurui-sample.herokuapp.com/)
8
+ - [Zurui Sass Sample(Github)](http://github.com/mahm/zurui-sample)
9
+
10
+ ## Contributing
11
+
12
+ 1. Fork it
13
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
14
+ 3. Commit your changes (`git commit -am 'Added some feature'`)
15
+ 4. Push to the branch (`git push origin my-new-feature`)
16
+ 5. Create new Pull Request
@@ -0,0 +1,54 @@
1
+ //--------------------------------------------------------------------------------
2
+ // Cheat lines
3
+ @mixin zurui-line-top($op1:.2,$op2:.3)
4
+ border-top: 1px solid rgba(0, 0, 0, $op1)
5
+ @include box-shadow(rgba(255, 255, 255, $op2) 0 1px 0 inset)
6
+
7
+ @mixin zurui-line-left($op1:.2,$op2:.3)
8
+ border-left: 1px solid rgba(0, 0, 0, $op1)
9
+ @include box-shadow(rgba(255, 255, 255, $op2) -1px 0 0)
10
+
11
+ @mixin zurui-line-right($op1:.2,$op2:.3)
12
+ border-right: 1px solid rgba(0, 0, 0, $op1)
13
+ @include box-shadow(rgba(255, 255, 255, $op2) -1px 0 0 inset)
14
+
15
+ @mixin zurui-line-bottom($op1:.2,$op2:.3)
16
+ border-bottom: 1px solid rgba(0, 0, 0, $op1)
17
+ @include box-shadow(rgba(255, 255, 255, $op2) 0 1px 0)
18
+
19
+ //--------------------------------------------------------------------------------
20
+ // Cheat font shadows
21
+ @mixin zurui-ts-000($op:.4)
22
+ text-shadow: 1px -1px rgba(0, 0, 0, $op)
23
+
24
+ @mixin zurui-ts-fff($op:.7)
25
+ text-shadow: -1px 1px rgba(255, 255, 255, $op)
26
+
27
+ //--------------------------------------------------------------------------------
28
+ // Cheat gradation
29
+ @mixin zurui-gradient-top-lighten($color:#666, $lighten:10%)
30
+ background-color: $color
31
+ @include filter-gradient(lighten($color, $lighten), $color, vertical)
32
+ @include background-image(linear-gradient(lighten($color, $lighten) 0%, $color 100%))
33
+
34
+ @mixin zurui-gradient-top-darken($color:#666, $darken:10%)
35
+ background-color: $color
36
+ @include filter-gradient(darken($color, $darken), $color, vertical)
37
+ @include background-image(linear-gradient(darken($color, $darken) 0%, $color 100%))
38
+
39
+ //--------------------------------------------------------------------------------
40
+ // Cheat box shadow
41
+ @mixin zurui-box-outer($op1:2px)
42
+ @include box-shadow(rgba(0, 0, 0, .15) 0 0 $op1)
43
+
44
+ @mixin zurui-box-inner($op1:20px)
45
+ @include box-shadow(rgba(0, 0, 0, .2) 0 0 $op1 inset)
46
+
47
+ @mixin zurui-box-deboss($border:.1, $shadow:.1, $highlight:1)
48
+ border: 1px solid rgba(0, 0, 0, $border)
49
+ @include box-shadow(rgba(0, 0, 0, $shadow) -1px 1px 2px inset, rgba(255, 255, 255, $highlight) -1px 1px 0)
50
+
51
+ @mixin zurui-box-emboss($border:.15, $shadow:.05, $highlight:1)
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 1px 0 inset)
54
+
@@ -0,0 +1,5 @@
1
+ module ZuruiSass
2
+ module Middleman
3
+ VERSION = '0.0.2'
4
+ end
5
+ end
@@ -0,0 +1,6 @@
1
+ require 'zurui-sass-middleman/version'
2
+
3
+ module ZuruiSass
4
+ module Middleman
5
+ end
6
+ end
@@ -0,0 +1,48 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'zurui-sass-middleman/version'
5
+
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "zurui-sass-middleman"
8
+ gem.version = ZuruiSass::Middleman::VERSION
9
+ gem.authors = ["mah_lab"]
10
+ gem.email = ["rootmoon@gmail.com"]
11
+ gem.description = %q{Sass mixins by zurui-design(https://speakerdeck.com/ken_c_lo/zurui-design)}
12
+ gem.summary = %q{Sass mixins by zurui-design(https://speakerdeck.com/ken_c_lo/zurui-design)}
13
+ gem.homepage = "https://github.com/mahm/zurui-sass-middleman"
14
+
15
+ gem.files = `git ls-files`.split($/)
16
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
+ gem.require_paths = ["lib"]
19
+
20
+ gem.add_runtime_dependency(%q<middleman>, [">= 3.0.0"])
21
+
22
+ gem.add_development_dependency(%q<bundler>, ["~> 1.1"])
23
+ gem.add_development_dependency(%q<rspec>, ["~> 2.6.0"])
24
+
25
+ # get an array of submodule dirs by executing 'pwd' inside each submodule
26
+ `git submodule --quiet foreach pwd`.split($\).each do |submodule_path|
27
+ # for each submodule, change working directory to that submodule
28
+ Dir.chdir(submodule_path) do
29
+
30
+ # issue git ls-files in submodule's directory
31
+ submodule_files = `git ls-files`.split($\)
32
+
33
+ # prepend the submodule path to create absolute file paths
34
+ submodule_files_fullpaths = submodule_files.map do |filename|
35
+ "#{submodule_path}/#{filename}"
36
+ end
37
+
38
+ # remove leading path parts to get paths relative to the gem's root dir
39
+ # (this assumes, that the gemspec resides in the gem's root dir)
40
+ submodule_files_paths = submodule_files_fullpaths.map do |filename|
41
+ filename.gsub "#{File.dirname(__FILE__)}/", ""
42
+ end
43
+
44
+ # add relative paths to gem.files
45
+ gem.files += submodule_files_paths
46
+ end
47
+ end
48
+ end
metadata ADDED
@@ -0,0 +1,96 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: zurui-sass-middleman
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - mah_lab
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-03-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: middleman
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: 3.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: 3.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '1.1'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '1.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: 2.6.0
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 2.6.0
55
+ description: Sass mixins by zurui-design(https://speakerdeck.com/ken_c_lo/zurui-design)
56
+ email:
57
+ - rootmoon@gmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - .gitignore
63
+ - .gitmodules
64
+ - Gemfile
65
+ - LICENSE.txt
66
+ - Rakefile
67
+ - app/assets/stylesheets/_zurui-sass.css.sass
68
+ - lib/zurui-sass-middleman.rb
69
+ - lib/zurui-sass-middleman/version.rb
70
+ - zurui-sass-middleman.gemspec
71
+ - app/assets/stylesheets/zurui-sass/README.md
72
+ - app/assets/stylesheets/zurui-sass/_zurui-sass.sass
73
+ homepage: https://github.com/mahm/zurui-sass-middleman
74
+ licenses: []
75
+ metadata: {}
76
+ post_install_message:
77
+ rdoc_options: []
78
+ require_paths:
79
+ - lib
80
+ required_ruby_version: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - '>='
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
85
+ required_rubygems_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ requirements: []
91
+ rubyforge_project:
92
+ rubygems_version: 2.0.3
93
+ signing_key:
94
+ specification_version: 4
95
+ summary: Sass mixins by zurui-design(https://speakerdeck.com/ken_c_lo/zurui-design)
96
+ test_files: []