sassy-buttons 0.2 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 82778c00214fcad114ad2683782431975e09c7bb
4
- data.tar.gz: 1c1d914ed4d1a21ee7a09c48cb39b2db3f3c96aa
3
+ metadata.gz: 72423d4f597f1247ebe5dc3ad8fd48ae252062a1
4
+ data.tar.gz: f719cabda24cee2d6f76f02a9873b6a7489f2108
5
5
  SHA512:
6
- metadata.gz: 6aca1a3f3614b716f90bf36b30a7496f2bbf35baa5c33476c23ec08fab3458c72af33c29e208aa4346a8019ac826ae69b2a5c9efb3dfd41584eda059ca98a6b4
7
- data.tar.gz: de7815285af4fc08c1af22b2d7b89f95f06b4150c36eec8def255b982d10fb857746a41600ee8004fb22b4e1a9f62188eb35bb606b810f00ac05c68ea337d835
6
+ metadata.gz: 4f8e782f62c8e8c410d997525e5cf4a8d674f55ece1062906f2eedbddf1f06a37798361fdebc3037bbe737191ec92676c6fe8e0bf62337c8f5443548e4b386e8
7
+ data.tar.gz: 1d9829389a2c8d5a7da84206bb804c6128eb6a0ef4ce8458fe556b5766e4f93f8130205483b43b5665df22d28ad7e5aa89a9de222f75199df99360a6bac0446c
data/.gitignore CHANGED
@@ -3,6 +3,7 @@
3
3
  .bundle
4
4
  .config
5
5
  .yardoc
6
+ .DS_Store
6
7
  Gemfile.lock
7
8
  InstalledFiles
8
9
  _yardoc
@@ -14,4 +15,4 @@ rdoc
14
15
  spec/reports
15
16
  test/tmp
16
17
  test/version_tmp
17
- tmp
18
+ tmp
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in sassy-buttons.gemspec
3
+ # Specify your gem's dependencies in Sassy-Buttons.gemspec
4
4
  gemspec
@@ -1,4 +1,3 @@
1
1
  require 'compass'
2
- Compass::Frameworks.register('sassy-buttons',
3
- :stylesheets_directory => File.join(File.dirname(__FILE__), '..', 'stylesheets'),
4
- :templates_directory => File.join(File.dirname(__FILE__), '..', 'templates'))
2
+ extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
3
+ Compass::Frameworks.register('sassy-buttons', :path => extension_path)
@@ -0,0 +1,5 @@
1
+ module Sassy
2
+ module Buttons
3
+ VERSION = "0.2.6"
4
+ end
5
+ end
@@ -1,52 +1,16 @@
1
- # # -*- encoding: utf-8 -*-
2
-
3
- # Gem::Specification.new do |s|
4
- # s.name = "sassy-buttons"
5
- # s.version = "0.1.4"
6
-
7
- # s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
- # s.authors = ["Jared Hardy"]
9
- # s.date = "2012-08-24"
10
- # s.description = "Sassy CSS3 buttons using Compass./"
11
- # s.email = "jared@jaredhardy.com"
12
- # s.extra_rdoc_files = ["LICENSE", "README.mkdn", "lib/sassy-buttons.rb"]
13
- # s.files = ["Gemfile", "LICENSE", "Manifest", "README.mkdn", "VERSION", "lib/sassy-buttons.rb", "sassy-buttons.gemspec", "stylesheets/_sassy-buttons.sass", "stylesheets/sassy-buttons/_sassy-button-gradients.sass", "stylesheets/sassy-buttons/_sassy-button-pseudo-states.sass", "stylesheets/sassy-buttons/_sassy-button-shadows.sass", "stylesheets/sassy-buttons/_sassy-button-styles.sass", "stylesheets/sassy-buttons/_sassy-button-text.sass", "templates/project/_sassybuttons.sass", "templates/project/manifest.rb", "Rakefile"]
14
- # s.homepage = "http://jaredhardy.com/"
15
- # s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Sassy-buttons", "--main", "README.mkdn"]
16
- # s.require_paths = ["lib"]
17
- # s.rubyforge_project = "sassy-buttons"
18
- # s.rubygems_version = "1.8.19"
19
- # s.summary = "CSS only buttons extension for compass."
20
-
21
- # if s.respond_to? :specification_version then
22
- # s.specification_version = 3
23
-
24
- # if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
25
- # s.add_runtime_dependency(%q<compass>, [">= 0.12.2"])
26
- # s.add_runtime_dependency(%q<sass>, [">= 3.2.0"])
27
- # else
28
- # s.add_dependency(%q<compass>, [">= 0.12.2"])
29
- # s.add_dependency(%q<sass>, [">= 3.2.0"])
30
- # end
31
- # else
32
- # s.add_dependency(%q<compass>, [">= 0.12.2"])
33
- # s.add_dependency(%q<sass>, [">= 3.2.0"])
34
- # end
35
- # end
36
-
37
-
38
1
  # coding: utf-8
39
2
  lib = File.expand_path('../lib', __FILE__)
40
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'sassy-buttons/version'
41
5
 
42
6
  Gem::Specification.new do |spec|
43
7
  spec.name = "sassy-buttons"
44
- spec.version = "0.2"
8
+ spec.version = Sassy::Buttons::VERSION
45
9
  spec.authors = ["Jared Hardy"]
46
10
  spec.email = ["jared@jaredhardy.com"]
47
- spec.description = %q{Sassy CSS3 buttons}
48
- spec.summary = %q{Easily create awesome CSS only buttons with compass}
49
- spec.homepage = "http://jaredhardy.com/sassy-buttons"
11
+ spec.description = %q{Awesome CSS only buttons using compass and sass }
12
+ spec.summary = %q{Easily create Awesome CSS buttons}
13
+ spec.homepage = "http://www.jaredhardy.com/sassy-buttons"
50
14
  spec.license = "MIT"
51
15
 
52
16
  spec.files = `git ls-files`.split($/)
@@ -56,4 +20,6 @@ Gem::Specification.new do |spec|
56
20
 
57
21
  spec.add_development_dependency "bundler", "~> 1.3"
58
22
  spec.add_development_dependency "rake"
23
+
24
+ spec.add_dependency("compass", [">= 0.12.2"])
59
25
  end
@@ -53,7 +53,6 @@ $sb-ie-support: true !default
53
53
  @mixin sassy-button-default-structure
54
54
  display: inline-block
55
55
  cursor: pointer
56
- text-decoration: none
57
56
 
58
57
  // The Sassy Button kitchen sink.
59
58
  @mixin sassy-button($gradient-style: $sb-gradient-style, $border-radius: $sb-border-radius, $font-size: $sb-font-size, $first-color: $sb-base-color, $second-color: $sb-second-color, $text-color:$sb-text-color, $text-style: $sb-text-style, $auto-states: $sb-pseudo-states, $ie: $sb-ie-support)
@@ -63,10 +62,9 @@ $sb-ie-support: true !default
63
62
 
64
63
 
65
64
  // Structure for a sassy button
66
- @mixin sassy-button-structure($border-radius: $sb-border-radius, $font-size: $sb-font-size, $padding: $sb-padding, $color: $sb-text-color)
65
+ @mixin sassy-button-structure($border-radius: $sb-border-radius, $font-size: $sb-font-size, $padding: $sb-padding)
67
66
  font-size: $font-size
68
67
  padding: $padding
69
- color: $color
70
68
  @include sassy-button-default-structure
71
69
  @include border-radius($border-radius)
72
70
 
@@ -1,4 +1,4 @@
1
- // Mixin that generates :hover, :active, and disabled psuedo states
1
+ // Mixin that generates :hover, :active, and disabled pseudo states
2
2
 
3
3
  @mixin sassy-pseudo-states($first-color, $second-color, $style)
4
4
  @include sassy-button-hover($first-color, $second-color, $style)
@@ -11,6 +11,7 @@
11
11
  @else
12
12
  $text-color-shift: 25 + ($diff/10)
13
13
 
14
+ color: $text-color
14
15
 
15
16
  @if $text-style == "inset"
16
17
  @if $text-lightness < 50
@@ -8,7 +8,7 @@
8
8
  $sb-base-color: rgba(11,153,194,1) // Base color of button.
9
9
  $sb-second-color: false // Optional secondary color for gradient.
10
10
  $sb-border-radius: 5px // Border radius of button.
11
- $sb-padding: .3em 1.5em // Padding that gives button structure.
11
+ $sb-padding: .5em 1.5em // Padding that gives button structure.
12
12
  $sb-font-size: 16px // Font size.
13
13
  $sb-text-color: #fff // Button font color.
14
14
  $sb-text-style: "inset" // Style of button text, can be "inset" or "raised" or false.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sassy-buttons
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jared Hardy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-03 00:00:00.000000000 Z
11
+ date: 2013-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -38,7 +38,21 @@ dependencies:
38
38
  - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- description: Sassy CSS3 buttons
41
+ - !ruby/object:Gem::Dependency
42
+ name: compass
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: 0.12.2
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: 0.12.2
55
+ description: 'Awesome CSS only buttons using compass and sass '
42
56
  email:
43
57
  - jared@jaredhardy.com
44
58
  executables: []
@@ -48,11 +62,10 @@ files:
48
62
  - .gitignore
49
63
  - Gemfile
50
64
  - LICENSE.txt
51
- - Manifest
52
65
  - README.md
53
66
  - Rakefile
54
- - VERSION
55
67
  - lib/sassy-buttons.rb
68
+ - lib/sassy-buttons/version.rb
56
69
  - sassy-buttons.gemspec
57
70
  - stylesheets/_sassy-buttons.sass
58
71
  - stylesheets/sassy-buttons/_sassy-button-gradients.sass
@@ -62,7 +75,7 @@ files:
62
75
  - stylesheets/sassy-buttons/_sassy-button-text.sass
63
76
  - templates/project/_sassybuttons.sass
64
77
  - templates/project/manifest.rb
65
- homepage: http://jaredhardy.com/sassy-buttons
78
+ homepage: http://www.jaredhardy.com/sassy-buttons
66
79
  licenses:
67
80
  - MIT
68
81
  metadata: {}
@@ -82,8 +95,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
95
  version: '0'
83
96
  requirements: []
84
97
  rubyforge_project:
85
- rubygems_version: 2.0.3
98
+ rubygems_version: 2.0.5
86
99
  signing_key:
87
100
  specification_version: 4
88
- summary: Easily create awesome CSS only buttons with compass
101
+ summary: Easily create Awesome CSS buttons
89
102
  test_files: []
data/Manifest DELETED
@@ -1,16 +0,0 @@
1
- Gemfile
2
- LICENSE.txt
3
- Manifest
4
- README.md
5
- VERSION
6
- lib/sassy-buttons.rb
7
- sassy-buttons.gemspec
8
- stylesheets/_sassy-buttons.sass
9
- stylesheets/sassy-buttons/_sassy-button-gradients.sass
10
- stylesheets/sassy-buttons/_sassy-button-pseudo-states.sass
11
- stylesheets/sassy-buttons/_sassy-button-shadows.sass
12
- stylesheets/sassy-buttons/_sassy-button-styles.sass
13
- stylesheets/sassy-buttons/_sassy-button-text.sass
14
- templates/project/_sassybuttons.sass
15
- templates/project/manifest.rb
16
- Rakefile
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.2.0