formtastic-plus-bootstrap 1.1.0 → 1.1.1

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.
@@ -7,24 +7,19 @@
7
7
  @mixin button() {
8
8
  display: inline-block;
9
9
  @include ie7-inline-block();
10
- padding: 4px 10px 4px;
10
+ padding: 4px 14px;
11
11
  margin-bottom: 0; // For input.btn
12
12
  font-size: $baseFontSize;
13
13
  line-height: $baseLineHeight;
14
- color: $grayDark;
15
14
  text-align: center;
16
- text-shadow: 0 1px 1px rgba(255,255,255,.75);
17
15
  vertical-align: middle;
18
- @include buttonBackground($btnBackground, $btnBackgroundHighlight);
16
+ cursor: pointer;
17
+ @include buttonBackground($btnBackground, $btnBackgroundHighlight, $grayDark, 0 1px 1px rgba(255,255,255,.75));
19
18
  border: 1px solid $btnBorder;
20
19
  border-bottom-color: darken($btnBorder, 10%);
21
20
  @include border-radius(4px);
22
- $shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
23
- @include box-shadow($shadow);
24
- cursor: pointer;
25
-
26
- // Give IE7 some love
27
21
  @include ie7-restore-left-whitespace();
22
+ @include box-shadow(#{inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05)});
28
23
 
29
24
  &:hover {
30
25
  color: $grayDark;
@@ -42,18 +37,17 @@
42
37
  }
43
38
 
44
39
  &:active {
45
- background-image: none;
46
- $shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
47
- @include box-shadow($shadow);
48
40
  background-color: darken($white, 10%);
49
41
  background-color: darken($white, 15%) \9;
42
+ background-image: none;
50
43
  outline: 0;
44
+ @include box-shadow(#{inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05)});
51
45
  }
52
46
 
53
47
  &[disabled] {
54
48
  cursor: default;
55
- background-image: none;
56
49
  background-color: darken($white, 10%);
50
+ background-image: none;
57
51
  @include opacity(0.65);
58
52
  @include box-shadow(none);
59
53
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formtastic-plus-bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-17 00:00:00.000000000 Z
12
+ date: 2012-10-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
16
- requirement: &15226480 !ruby/object:Gem::Requirement
16
+ requirement: &13952540 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.1.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *15226480
24
+ version_requirements: *13952540
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: sass-rails
27
- requirement: &15225580 !ruby/object:Gem::Requirement
27
+ requirement: &13951800 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,21 +32,21 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *15225580
35
+ version_requirements: *13951800
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: bootstrap-sass
38
- requirement: &15224440 !ruby/object:Gem::Requirement
38
+ requirement: &13950560 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
42
42
  - !ruby/object:Gem::Version
43
- version: 2.0.3
43
+ version: 2.1.0
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *15224440
46
+ version_requirements: *13950560
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: formtastic
49
- requirement: &15222960 !ruby/object:Gem::Requirement
49
+ requirement: &13949080 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '2.2'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *15222960
57
+ version_requirements: *13949080
58
58
  description: formtastic-plus-bootstrap makes a formtastic form to look like a bootstrap
59
59
  form.
60
60
  email: antage@gmail.com
@@ -72,7 +72,6 @@ files:
72
72
  - lib/assets/stylesheets/formtastic-plus-bootstrap/_hints.scss
73
73
  - lib/assets/stylesheets/formtastic-plus-bootstrap/_inputs.scss
74
74
  - lib/assets/stylesheets/formtastic-plus-bootstrap/_labels.scss
75
- - lib/assets/stylesheets/formtastic-plus-bootstrap/_mixins.scss
76
75
  - lib/assets/stylesheets/formtastic-plus-bootstrap/_reset.scss
77
76
  - lib/assets/stylesheets/formtastic-plus-bootstrap/inputs/_boolean.scss
78
77
  - lib/assets/stylesheets/formtastic-plus-bootstrap/inputs/_check_boxes.scss
@@ -84,6 +83,7 @@ files:
84
83
  - lib/assets/stylesheets/formtastic-plus-bootstrap/inputs/_stringish.scss
85
84
  - lib/assets/stylesheets/formtastic-plus-bootstrap/inputs/_text.scss
86
85
  - lib/assets/stylesheets/formtastic-plus-bootstrap/responsive.css.scss
86
+ - lib/assets/stylesheets/formtastic-plus-bootstrap/_mixins.scss
87
87
  - lib/assets/stylesheets/bootstrap-without-forms.css.scss
88
88
  - lib/formtastic-plus-bootstrap.rb
89
89
  - README.md