chicken 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d7d10e2249487c1b4f30213a291aa5b9434084fc
4
+ data.tar.gz: 97fefec3bdad121cac7188c47e0818250103f051
5
+ SHA512:
6
+ metadata.gz: 0a6225dda4330eca2570d689f5a1f6bcf10d94415b4ba0b5aa3c4a90944d06262162a44365e6e1d1f7c5b26e3fb3c98ae051f27044d1dc4415d4f8fb89248852
7
+ data.tar.gz: 24b3ff120bf41c5fce9a2dc06b4569e40dc4521217983d35bb0db483c69110dda14873a40cfe75aec10aa1237073b2ff9714ae303370704efb83d502b4a22c7e
@@ -0,0 +1,22 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ *.bundle
19
+ *.so
20
+ *.o
21
+ *.a
22
+ mkmf.log
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in chicken.gemspec
4
+ gemspec
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 Herelde, LLC.
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.
@@ -0,0 +1,33 @@
1
+ # Chicken
2
+
3
+ TODO: Write a gem description
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'chicken'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install chicken
18
+
19
+ ## Usage
20
+
21
+ TODO: Write usage instructions here
22
+
23
+ ## Contributing
24
+
25
+ 1. Fork it ( https://github.com/herelde/chicken/fork )
26
+ 2. Create your feature branch (`git checkout -b f/my-new-feature`)
27
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
28
+ 4. Push to the branch (`git push origin f/my-new-feature`)
29
+ 5. Create a new Pull Request
30
+
31
+ ## Branch Naming
32
+ - Feature: f/<feature-name>
33
+ - Bugs: b/<bug-fix>
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
@@ -0,0 +1,66 @@
1
+ @mixin button($color){
2
+ background: $color;
3
+ border: 2px solid $color;
4
+ color: #fff;
5
+ @include transition(background 0.2s ease, border 0.2s ease);
6
+ &:hover{
7
+ background: darken($color, 10%);
8
+ border: 2px solid darken($color, 10%);
9
+ color: #fff;
10
+ }
11
+ }
12
+
13
+ @mixin button-alt($color){
14
+ border: 2px solid $color;
15
+ color: $color;
16
+ @include transition(border-color 0.2s ease, color 0.2s ease);
17
+ &:hover{
18
+ border-color: darken($color, 15%);
19
+ color: darken($color, 15%);
20
+ }
21
+ }
22
+
23
+ .button{
24
+ border: none;
25
+ cursor: pointer;
26
+ display: inline-block;
27
+ font-family: inherit;
28
+ font-weight: bold;
29
+ height: auto;
30
+ line-height: 1.5rem;
31
+ min-height: 1.5rem;
32
+ padding: 0.5rem 1rem;
33
+ text-decoration: none;
34
+ white-space: nowrap;
35
+ @include appearance(none);
36
+ }
37
+
38
+ .button--yellow{ @include button( $yellow ); }
39
+ .button--orange{ @include button( $orange ); }
40
+ .button--red{ @include button( $red ); }
41
+ .button--purple{ @include button( $purple ); }
42
+ .button--blue{ @include button( $blue ); }
43
+ .button--green{ @include button( $green ); }
44
+ .button--gray{ @include button( $gray ); }
45
+ .button--black{ @include button( $black ); }
46
+ .button--white{ @include button( $white ); }
47
+
48
+ .button--yellowAlt{ @include button-alt( $yellow ); }
49
+ .button--orangeAlt{ @include button-alt( $orange ); }
50
+ .button--redAlt{ @include button-alt( $red ); }
51
+ .button--purpleAlt{ @include button-alt( $purple ); }
52
+ .button--blueAlt{ @include button-alt( $blue ); }
53
+ .button--greenAlt{ @include button-alt( $green ); }
54
+ .button--grayAlt{ @include button-alt( $gray ); }
55
+ .button--blackAlt{ @include button-alt( $black ); }
56
+ .button--whiteAlt{ @include button-alt( $white ); }
57
+
58
+ .button--small{
59
+ line-height: em(28);
60
+ padding: 0px em(10);
61
+ }
62
+
63
+ .button--medium{
64
+ font-size: em(14);
65
+ padding: 0.25em 1.5em;
66
+ }
@@ -0,0 +1,15 @@
1
+ @import "bourbon";
2
+ @import "neat";
3
+
4
+ @import 'reset';
5
+ @import 'colors';
6
+ @import 'variables';
7
+ @import 'type';
8
+ @import 'buttons';
9
+ @import 'utilities';
10
+
11
+ @import 'padding';
12
+ @import 'margin';
13
+ @import 'flow';
14
+ @import 'form';
15
+ @import 'menu';
@@ -0,0 +1,29 @@
1
+ $yellow: #fce473;
2
+ $orange: #f68b39;
3
+ $red: #ed6c63;
4
+ $purple: #847bb9;
5
+ $blue: #42afe3;
6
+ $green: #97cd76;
7
+ $gray: #ccc;
8
+ $black: #333;
9
+ $white: #fff;
10
+
11
+ .bg--yellow{ background: $yellow; }
12
+ .bg--orange{ background: $orange; }
13
+ .bg--red{ background: $red; }
14
+ .bg--purple{ background: $purple; }
15
+ .bg--blue{ background: $blue; }
16
+ .bg--green{ background: $green; }
17
+ .bg--gray{ background: $gray; }
18
+ .bg--black{ background: $black; }
19
+ .bg--white{ background: $white; }
20
+
21
+ .color--yellow{ color: $yellow; }
22
+ .color--orange{ color: $orange; }
23
+ .color--red{ color: $red; }
24
+ .color--purple{ color: $purple; }
25
+ .color--blue{ color: $blue; }
26
+ .color--green{ color: $green; }
27
+ .color--gray{ color: $gray; }
28
+ .color--black{ color: $black; }
29
+ .color--white{ color: $white; }
@@ -0,0 +1,15 @@
1
+ .left{
2
+ float: left;
3
+ }
4
+
5
+ .right{
6
+ float: right;
7
+ }
8
+
9
+ .absolute{
10
+ position: absolute;
11
+ }
12
+
13
+ .relative{
14
+ position: relative;
15
+ }
@@ -0,0 +1,5 @@
1
+ input{
2
+ border: 1px solid $black;
3
+ font-size: 1.25rem;
4
+ padding: 0.5rem;
5
+ }
@@ -0,0 +1,15 @@
1
+ @for $i from 0 through 4{
2
+ .m#{$i} { margin: #{$i}rem; }
3
+ .mx#{$i} {
4
+ margin-left: #{$i}rem;
5
+ margin-right: #{$i}rem;
6
+ }
7
+ .my#{$i} {
8
+ margin-bottom: #{$i}rem;
9
+ margin-top: #{$i}rem;
10
+ }
11
+ .mt#{$i} { margin-top: #{$i}rem; }
12
+ .mr#{$i} { margin-right: #{$i}rem; }
13
+ .mb#{$i} { margin-bottom: #{$i}rem; }
14
+ .ml#{$i} { margin-left: #{$i}rem; }
15
+ }
@@ -0,0 +1,14 @@
1
+ .menu{
2
+ ul{
3
+ list-style: none;
4
+ margin: 0;
5
+ padding: 0;
6
+ }
7
+ li{
8
+ display: inline-block;
9
+ margin-left: 1.5rem;
10
+ &:first-child{
11
+ margin: 0;
12
+ }
13
+ }
14
+ }
@@ -0,0 +1,15 @@
1
+ @for $i from 0 through 4{
2
+ .p#{$i} { padding: #{$i}rem; }
3
+ .px#{$i} {
4
+ padding-left: #{$i}rem;
5
+ padding-right: #{$i}rem;
6
+ }
7
+ .py#{$i} {
8
+ padding-bottom: #{$i}rem;
9
+ padding-top: #{$i}rem;
10
+ }
11
+ .pt#{$i} { padding-top: #{$i}rem; }
12
+ .pr#{$i} { padding-right: #{$i}rem; }
13
+ .pb#{$i} { padding-bottom: #{$i}rem; }
14
+ .pl#{$i} { padding-left: #{$i}rem; }
15
+ }
@@ -0,0 +1,7 @@
1
+ body, button, input, select, textarea, pre { margin: 0; }
2
+ h1, h2, h3, h4, h5, h6, p, dl, ol, ul {
3
+ margin-top: 0;
4
+ margin-bottom: 1rem;
5
+ }
6
+ button, input, select, textarea { font-family: inherit; font-size: 100%; }
7
+ article, aside, details, figcaption, figure, footer, header, main, nav, section, summary { display: block; }
@@ -0,0 +1,115 @@
1
+ body{
2
+ color: $black;
3
+ font-family: 'Helvetica Neue', Helvetica, sans-serif;
4
+ font-weight: 400;
5
+ line-height: 1.5rem;
6
+ -webkit-font-smoothing: antialiased;
7
+ text-rendering: optimizeLegibility;
8
+ }
9
+
10
+ p, h1, h2, h3, h4, h5, h6, dl, ol, ul{
11
+ font-size: 0.875rem;
12
+ line-height: 1.25em;
13
+ @include media($tablet){
14
+ font-size: 0.9375rem;
15
+ }
16
+ @include media($desktop){
17
+ font-size: 1.0rem;
18
+ }
19
+ }
20
+
21
+ p{
22
+ line-height: 1.5em;
23
+ }
24
+
25
+ h1, .h1{
26
+ font-size: 2.375rem;
27
+ @include media($tablet){
28
+ font-size: 2.625rem;
29
+ }
30
+ @include media($desktop){
31
+ font-size: 3.125rem;
32
+ }
33
+ }
34
+
35
+ h2, .h2{
36
+ font-size: 1.875rem;
37
+ @include media($tablet){
38
+ font-size: 2.215rem;
39
+ }
40
+ @include media($desktop){
41
+ font-size: 2.375rem;
42
+ }
43
+ }
44
+
45
+ h3, .h3{
46
+ font-size: 1.5rem;
47
+ @include media($tablet){
48
+ font-size: 1.625rem;
49
+ }
50
+ @include media($desktop){
51
+ font-size: 1.75rem;
52
+ }
53
+ }
54
+
55
+ h4, .h4{
56
+ font-size: 1.25rem;
57
+ @include media($tablet){
58
+ font-size: 1.3125rem;
59
+ }
60
+ @include media($desktop){
61
+ font-size: 1.375rem;
62
+ }
63
+ }
64
+
65
+ h5, .h5{
66
+ font-size: 1rem;
67
+ @include media($tablet){
68
+ font-size: 1.0625rem;
69
+ }
70
+ @include media($desktop){
71
+ font-size: 1.125rem;
72
+ }
73
+ }
74
+
75
+ h6, .h6{
76
+ font-size: 0.6875rem;
77
+ @include media($tablet){
78
+ font-size: 0.75rem;
79
+ }
80
+ @include media($desktop){
81
+ font-size: 0.875rem;
82
+ }
83
+ }
84
+
85
+ .normal{
86
+ font-weight: normal;
87
+ }
88
+
89
+ .thin{
90
+ font-weight: 100;
91
+ }
92
+
93
+ .bold, strong{
94
+ font-weight: bold;
95
+ }
96
+
97
+ .italic{
98
+ font-style: italic;
99
+ }
100
+
101
+ .uppercase{
102
+ text-transform: uppercase;
103
+ }
104
+
105
+ .align--center{
106
+ text-align: center;
107
+ }
108
+
109
+ .align--right{
110
+ text-align: right;
111
+ }
112
+
113
+ .align--left{
114
+ text-align: left;
115
+ }
@@ -0,0 +1,22 @@
1
+ .rounded{
2
+ @include border-bottom-radius(4px);
3
+ @include border-top-radius(4px);
4
+ }
5
+
6
+ .rounded--more{
7
+ @include border-bottom-radius(8px);
8
+ @include border-top-radius(8px);
9
+ }
10
+
11
+ .circle{
12
+ @include border-bottom-radius(100%);
13
+ @include border-top-radius(100%);
14
+ }
15
+
16
+ .inline{ display: inline-block; }
17
+ .block{ display: block; }
18
+
19
+ .clearfix {
20
+ &:before, &:after { content: " "; display: table; }
21
+ &:after { clear: both; }
22
+ }
@@ -0,0 +1,3 @@
1
+ $mobile: new-breakpoint(max-width 320px);
2
+ $tablet: new-breakpoint(max-width 760px min-width 321px);
3
+ $desktop: new-breakpoint(min-width 761px);
@@ -0,0 +1,27 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'chicken/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "chicken"
8
+ spec.version = Chicken::VERSION
9
+ spec.authors = ["Michael Lee", "Christopher Lai"]
10
+ spec.email = ["michael@herelde.com", "christopher@herelde.com"]
11
+ spec.summary = "SCSS add-ons"
12
+ spec.description = "SCSS add-ons for Edison Union."
13
+ spec.homepage = "http://www.herelde.com"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.6"
22
+ spec.add_development_dependency "rake"
23
+
24
+ spec.add_dependency "sass"
25
+ spec.add_dependency "bourbon"
26
+ spec.add_dependency "neat"
27
+ end
@@ -0,0 +1,11 @@
1
+ require "chicken/version"
2
+ require 'sass'
3
+
4
+ module Chicken
5
+ if defined?(Rails) && defined?(Rails::Engine)
6
+ class Engine < Rails::Engine
7
+ end
8
+ elsif defined?(Sass)
9
+ Sass.load_paths << File.expand_path('../../app/assets/stylesheets', __FILE__)
10
+ end
11
+ end
@@ -0,0 +1,3 @@
1
+ module Chicken
2
+ VERSION = "0.0.1"
3
+ end
metadata ADDED
@@ -0,0 +1,136 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: chicken
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Michael Lee
8
+ - Christopher Lai
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2014-06-16 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: bundler
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '1.6'
21
+ type: :development
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '1.6'
28
+ - !ruby/object:Gem::Dependency
29
+ name: rake
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: sass
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: bourbon
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: neat
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ description: SCSS add-ons for Edison Union.
85
+ email:
86
+ - michael@herelde.com
87
+ - christopher@herelde.com
88
+ executables: []
89
+ extensions: []
90
+ extra_rdoc_files: []
91
+ files:
92
+ - ".gitignore"
93
+ - Gemfile
94
+ - LICENSE.txt
95
+ - README.md
96
+ - Rakefile
97
+ - app/assets/stylesheets/_buttons.scss
98
+ - app/assets/stylesheets/_chicken.scss
99
+ - app/assets/stylesheets/_colors.scss
100
+ - app/assets/stylesheets/_flow.scss
101
+ - app/assets/stylesheets/_form.scss
102
+ - app/assets/stylesheets/_margin.scss
103
+ - app/assets/stylesheets/_menu.scss
104
+ - app/assets/stylesheets/_padding.scss
105
+ - app/assets/stylesheets/_reset.scss
106
+ - app/assets/stylesheets/_type.scss
107
+ - app/assets/stylesheets/_utilities.scss
108
+ - app/assets/stylesheets/_variables.scss
109
+ - chicken.gemspec
110
+ - lib/chicken.rb
111
+ - lib/chicken/version.rb
112
+ homepage: http://www.herelde.com
113
+ licenses:
114
+ - MIT
115
+ metadata: {}
116
+ post_install_message:
117
+ rdoc_options: []
118
+ require_paths:
119
+ - lib
120
+ required_ruby_version: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ required_rubygems_version: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
130
+ requirements: []
131
+ rubyforge_project:
132
+ rubygems_version: 2.2.2
133
+ signing_key:
134
+ specification_version: 4
135
+ summary: SCSS add-ons
136
+ test_files: []