jetpack-rails 0.2.2 → 0.3.0
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.
data/CHANGELOG
CHANGED
@@ -1,4 +1,8 @@
|
|
1
1
|
Changelog:
|
2
|
+
0.3.0:
|
3
|
+
- Added Kaminari-style pagination.
|
4
|
+
- Added simple_form style collection check and radio label styles.
|
5
|
+
|
2
6
|
0.2.2:
|
3
7
|
- I disagree with Twitter Boostrap (the main inspiration for the typography styles). List
|
4
8
|
items should definitely not be gray by default. <li>'s will now inherit their color.
|
@@ -13,7 +13,10 @@ form { margin-bottom: $baseline; @include font; @include clearfix;
|
|
13
13
|
}
|
14
14
|
|
15
15
|
div.input { @include clearfix; margin-bottom: $baseline;
|
16
|
-
label { display: block; text-align: right; height: 2em; font-weight: 700;
|
16
|
+
label { display: block; text-align: right; height: 2em; font-weight: 700;
|
17
|
+
&.collection_radio,
|
18
|
+
&.collection_check { width: auto; float: none; display: inline; margin-left: $baseline / 4; }
|
19
|
+
}
|
17
20
|
|
18
21
|
input[type="text"], input[type="email"], input[type="password"], select, textarea {
|
19
22
|
@include standard_input;
|
@@ -40,6 +40,7 @@
|
|
40
40
|
|
41
41
|
// PAGINATION
|
42
42
|
.pagination { height: $baseline * 2; margin: $baseline 0;
|
43
|
+
// List Style Pagination
|
43
44
|
ul {
|
44
45
|
float: left; margin: 0; border: 1px solid $light2; @include border-radius(3px); @include box-shadow(0 1px 2px rgba(0,0,0,.05)); clear: both;
|
45
46
|
li {
|
@@ -50,4 +51,16 @@
|
|
50
51
|
&.next a { border: 0; }
|
51
52
|
}
|
52
53
|
}
|
54
|
+
}
|
55
|
+
|
56
|
+
// Kaminari Style Pagination
|
57
|
+
nav.pagination {
|
58
|
+
float: left; clear: both; height: $baseline * 2; margin: $baseline 0;
|
59
|
+
border: 1px solid $light2; @include border-radius(3px); @include box-shadow(0 1px 2px rgba(0,0,0,.05));
|
60
|
+
span { display: block; float: left; border-left: 1px solid $light2; line-height: ($baseline * 2); padding: 0 14px;
|
61
|
+
&:hover { background-color: $light1; }
|
62
|
+
&.current {background-color: $color1; color: $white; }
|
63
|
+
&:first-child { border: 0; }
|
64
|
+
a { text-decoration: none; color: inherit; }
|
65
|
+
}
|
53
66
|
}
|
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.
|
4
|
+
version: 0.3.0
|
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:
|
12
|
+
date: 2012-01-04 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sass-rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &70270934504620 !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: *
|
24
|
+
version_requirements: *70270934504620
|
25
25
|
description:
|
26
26
|
email: andrew@eighty-b.com
|
27
27
|
executables: []
|
@@ -67,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
67
67
|
version: '0'
|
68
68
|
requirements: []
|
69
69
|
rubyforge_project:
|
70
|
-
rubygems_version: 1.8.
|
70
|
+
rubygems_version: 1.8.12
|
71
71
|
signing_key:
|
72
72
|
specification_version: 3
|
73
73
|
summary: A sweet fractional grid system plus an awesome bootstrap mashup, optimized
|