css3buttons 0.9.4 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
1
  pkg/*
2
2
  *.gem
3
3
  .bundle
4
+ .DS_Store
data/Gemfile.lock CHANGED
@@ -13,7 +13,7 @@ GIT
13
13
  PATH
14
14
  remote: .
15
15
  specs:
16
- css3buttons (0.9.4)
16
+ css3buttons (0.9.5)
17
17
  actionpack (>= 3.0.0)
18
18
 
19
19
  GEM
@@ -1,3 +1,3 @@
1
1
  module Css3buttons
2
- VERSION = "0.9.4"
2
+ VERSION = "0.9.5"
3
3
  end
@@ -3,9 +3,8 @@ class Css3buttonsGenerator < Rails::Generators::Base
3
3
  source_root File.expand_path('../templates', __FILE__)
4
4
 
5
5
  def copy_stylesheets_and_images
6
- copy_file "public/images/css3-github-buttons-icons.png", "public/images/css3buttons/css3-github-buttons-icons.png"
6
+ copy_file "public/images/gh-icons.png", "public/images/css3buttons/css3-github-buttons-icons.png"
7
7
  copy_file "public/stylesheets/css3-github-buttons.css", "public/stylesheets/css3buttons/css3-github-buttons.css"
8
8
  copy_file "public/stylesheets/reset.css", "public/stylesheets/css3buttons/reset.css"
9
- gsub_file "public/stylesheets/css3buttons/css3-github-buttons.css", /\.\.\/images/, "/images/css3buttons"
10
9
  end
11
10
  end
@@ -40,13 +40,14 @@ http://github.com/necolas/css3-github-buttons
40
40
 
41
41
  .button:hover,
42
42
  .button:focus,
43
- .button:active {
43
+ .button:active,
44
+ .button.active {
44
45
  border-color: #3072b3;
45
46
  border-bottom-color: #2a65a0;
46
47
  text-decoration: none;
47
48
  text-shadow: -1px -1px 0 rgba(0,0,0,0.3);
48
49
  color: #fff;
49
- background-color: #3072b3;
50
+ background-color: #3C8DDE;
50
51
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#599bdc), to(#3072b3));
51
52
  background-image: -moz-linear-gradient(#599bdc, #3072b3);
52
53
  background-image: -o-linear-gradient(#599bdc, #3072b3);
@@ -57,7 +58,6 @@ http://github.com/necolas/css3-github-buttons
57
58
  .button.active {
58
59
  border-color: #2a65a0;
59
60
  border-bottom-color: #3884CF;
60
- color: #fff;
61
61
  background-color: #3072b3;
62
62
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#3072b3), to(#599bdc));
63
63
  background-image: -moz-linear-gradient(#3072b3, #599bdc);
@@ -81,7 +81,7 @@ http://github.com/necolas/css3-github-buttons
81
81
  width: 12px;
82
82
  height: 12px;
83
83
  margin: 0 0.75em 0 -0.25em;
84
- background: url(gh-icons.png) 0 99px no-repeat;
84
+ background: url(/images/css3buttons/css3-github-buttons-icons.png) 0 99px no-repeat;
85
85
  }
86
86
 
87
87
  .button.arrowup.icon:before { background-position: 0 0; }
@@ -286,6 +286,12 @@ http://github.com/necolas/css3-github-buttons
286
286
  border-radius: 50em;
287
287
  }
288
288
 
289
+ /* ............................................................................................................. Disable */
290
+
291
+ .button.disable {
292
+ opacity: 0.5;
293
+ }
294
+
289
295
  /* ............................................................................................................. Big */
290
296
 
291
297
  .button.big {
@@ -385,4 +391,4 @@ http://github.com/necolas/css3-github-buttons
385
391
  .button-container .button,
386
392
  .button-container .button-group {
387
393
  vertical-align: top;
388
- }
394
+ }
data/readme.md CHANGED
@@ -9,6 +9,14 @@ fantastic CSS library - without cluttering up your views and calls to
9
9
 
10
10
  # What's new in version this version?
11
11
 
12
+ ## 0.9.5
13
+
14
+ Not a whole lot, mainly just fixes for bad paths in the CSS that crept
15
+ through in the last update. As well as prepping for version 1.0.0 with
16
+ will be compaitible with the Rails 3.1 asset pipeline.
17
+
18
+ ## 0.9.4
19
+
12
20
  In this version we've updated the css to now work with the [css3 github buttons](http://nicolasgallagher.com/lab/css3-github-buttons/) as standard, instead of the original css3buttons, in order to take advantage of a few of the features not included in the original library.
13
21
 
14
22
  Additionally, there was some serious re-tooling of the helper methods to make them more usable, more dynamic and less prone to error.
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: css3buttons
3
3
  version: !ruby/object:Gem::Version
4
- hash: 51
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 9
9
- - 4
10
- version: 0.9.4
4
+ prerelease:
5
+ version: 0.9.5
11
6
  platform: ruby
12
7
  authors:
13
8
  - Nicholas Bruning
@@ -15,8 +10,7 @@ autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
12
 
18
- date: 2011-05-03 00:00:00 +10:00
19
- default_executable:
13
+ date: 2011-06-04 00:00:00 Z
20
14
  dependencies:
21
15
  - !ruby/object:Gem::Dependency
22
16
  name: actionpack
@@ -26,11 +20,6 @@ dependencies:
26
20
  requirements:
27
21
  - - ">="
28
22
  - !ruby/object:Gem::Version
29
- hash: 7
30
- segments:
31
- - 3
32
- - 0
33
- - 0
34
23
  version: 3.0.0
35
24
  type: :runtime
36
25
  version_requirements: *id001
@@ -59,7 +48,8 @@ files:
59
48
  - lib/css3buttons/version.rb
60
49
  - lib/generators/css3buttons/USAGE
61
50
  - lib/generators/css3buttons/css3buttons_generator.rb
62
- - lib/generators/css3buttons/templates/public/images/css3-github-buttons-icons.png
51
+ - lib/generators/css3buttons/templates/public/images/.DS_Store
52
+ - lib/generators/css3buttons/templates/public/images/gh-icons.png
63
53
  - lib/generators/css3buttons/templates/public/stylesheets/.DS_Store
64
54
  - lib/generators/css3buttons/templates/public/stylesheets/css3-github-buttons.css
65
55
  - lib/generators/css3buttons/templates/public/stylesheets/reset.css
@@ -67,7 +57,6 @@ files:
67
57
  - spec/button_group_spec.rb
68
58
  - spec/button_helper_spec.rb
69
59
  - spec/spec_helper.rb
70
- has_rdoc: true
71
60
  homepage: https://github.com/thetron/css3buttons_rails_helpers
72
61
  licenses: []
73
62
 
@@ -81,23 +70,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
81
70
  requirements:
82
71
  - - ">="
83
72
  - !ruby/object:Gem::Version
84
- hash: 3
85
- segments:
86
- - 0
87
73
  version: "0"
88
74
  required_rubygems_version: !ruby/object:Gem::Requirement
89
75
  none: false
90
76
  requirements:
91
77
  - - ">="
92
78
  - !ruby/object:Gem::Version
93
- hash: 3
94
- segments:
95
- - 0
96
79
  version: "0"
97
80
  requirements: []
98
81
 
99
82
  rubyforge_project: css3buttons
100
- rubygems_version: 1.3.7
83
+ rubygems_version: 1.8.3
101
84
  signing_key:
102
85
  specification_version: 3
103
86
  summary: Easy, beautiful buttons, the CSS3 way.