jetpack-rails 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,4 +1,8 @@
1
1
  Changelog:
2
+ 0.3.1:
3
+ - Fix for check box and radio button definitions, plus supporting simple_form by default.
4
+ - Minor fix on table styles and active button styles.
5
+
2
6
  0.3.0:
3
7
  - Added Kaminari-style pagination.
4
8
  - Added simple_form style collection check and radio label styles.
@@ -44,7 +44,7 @@ form.standard {
44
44
 
45
45
  input[type="text"], input[type="email"], input[type="password"], select, textarea { float: left; width: 80%; }
46
46
 
47
- .radio, .checkboxes {
47
+ &.radio, &.check_boxes {
48
48
  label { float: none; }
49
49
  }
50
50
 
@@ -67,13 +67,13 @@ form.stacked { margin-bottom: $baseline; @include font;
67
67
  label { clear: both; margin-bottom: $baseline / 4; text-align: left; }
68
68
  input, select, textarea { width: 100%; }
69
69
 
70
- .radio, .checkboxes {
71
- input { width: auto; }
70
+ &.radio, &.check_boxes {
71
+ input { width: auto; display: inline; }
72
+ label { display: inline; margin-left: $baseline / 4; margin-right: $baseline / 2; }
72
73
  }
73
74
 
74
75
  &.date, &.time, &.datetime {
75
76
  select { width: auto; }
76
77
  }
77
78
  }
78
-
79
79
  }
@@ -23,10 +23,10 @@ a.button, span.button {
23
23
  color: $dark2;
24
24
  padding: 3px 10px;
25
25
  width: auto;
26
- &:active { @include buttonize( $light1, $white ); @include box-shadow( none ); }
26
+ &:active, &.active { @include buttonize( $light1, $white ); @include box-shadow( none ); }
27
27
  &.disabled { @include buttonize( $light1, $light1); color: $light2; @include box-shadow( none ); }
28
28
  &.danger { @include buttonize( lighten($error2, 20%), $error2 ); color: $white; text-shadow: 0px -1px darken( $error2, 10% );
29
- &:active { @include buttonize( $error2, lighten($error2, 20%) ); text-shadow: 0px 1px lighten($error2, 15%); @include box-shadow( none ); }
29
+ &:active, &.active { @include buttonize( $error2, lighten($error2, 20%) ); text-shadow: 0px 1px lighten($error2, 15%); @include box-shadow( none ); }
30
30
  }
31
31
  &.small { padding: 0px 6px; font-size: 11px; line-height: 1.4; }
32
32
  }
@@ -13,8 +13,8 @@ table {
13
13
  th, td { padding: 10px 10px 9px; line-height: $baseline; text-align: left; }
14
14
  th { padding-top: 9px; font-weight: bold; vertical-align: middle; border-bottom: 1px solid $light1; }
15
15
  td { vertical-align: top; }
16
- th + th, td + td { border-left: 1px solid #ddd; }
17
- tr + tr td { border-top: 1px solid #ddd; }
16
+ th + th, td + td { border-left: 1px solid $light1; }
17
+ tr + tr td { border-top: 1px solid $light1; }
18
18
  tbody tr:first-child td:first-child { @include border-radius(4px 0 0 0); }
19
19
  tbody tr:first-child td:last-child { @include border-radius(0 4px 0 0); }
20
20
  tbody tr:last-child td:first-child { @include border-radius(0 0 0 4px); }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jetpack-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.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-01-04 00:00:00.000000000Z
12
+ date: 2012-01-05 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sass-rails
16
- requirement: &70270934504620 !ruby/object:Gem::Requirement
16
+ requirement: &70126382540760 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 3.1.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70270934504620
24
+ version_requirements: *70126382540760
25
25
  description:
26
26
  email: andrew@eighty-b.com
27
27
  executables: []