jetpack-rails 0.7.1 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG +34 -6
- data/lib/jetpack/version.rb +1 -1
- data/vendor/assets/javascripts/jetpack.js +1 -1
- data/vendor/assets/stylesheets/jetpack/{mixins.css.scss → core.css.scss} +16 -25
- data/vendor/assets/stylesheets/jetpack/defaults.css.scss +43 -0
- data/vendor/assets/stylesheets/jetpack/forms.css.scss +99 -68
- data/vendor/assets/stylesheets/jetpack/fractionalize.css.scss +51 -57
- data/vendor/assets/stylesheets/jetpack/interface.css.scss +16 -14
- data/vendor/assets/stylesheets/jetpack/navigation.css.scss +53 -48
- data/vendor/assets/stylesheets/jetpack/presets.css.scss +14 -2
- data/vendor/assets/stylesheets/jetpack/resetize.css.scss +144 -187
- data/vendor/assets/stylesheets/jetpack/tables.css.scss +25 -24
- data/vendor/assets/stylesheets/jetpack/typography.css.scss +81 -77
- data/vendor/assets/stylesheets/jetpack.css.scss +3 -2
- metadata +39 -76
@@ -1,102 +1,106 @@
|
|
1
|
-
/*
|
2
|
-
* Inspired by Twitter Bootstrap v1.3,
|
3
|
-
*
|
4
|
-
*
|
1
|
+
/* Typography
|
2
|
+
* Inspired by Twitter Bootstrap v1.3, trimmed down and
|
3
|
+
* tweaked to make it a little better as a starting-point
|
4
|
+
* ready to be styled over, rather than a destination unto itself.
|
5
5
|
* ---------------------------------------------------------------------------------------- */
|
6
6
|
|
7
7
|
// BODY TEXT
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
8
|
+
@mixin text {
|
9
|
+
body {
|
10
|
+
font-size: $base_size;
|
11
|
+
font-family: $base_font;
|
12
|
+
font-weight: $base_weight;
|
13
|
+
line-height: $baseline;
|
14
|
+
}
|
15
|
+
|
16
|
+
p {
|
17
|
+
margin-bottom: $baseline / 2;
|
18
|
+
small { font-size: $base_size - 2; color: $light2; }
|
19
|
+
}
|
20
|
+
strong { font-style: inherit; font-weight: 700; }
|
21
|
+
em { font-style: italic; font-weight: inherit; line-height: inherit; }
|
22
|
+
|
23
|
+
address {
|
24
|
+
display: block; line-height: $baseline; margin-bottom: $baseline;
|
25
|
+
white-space: pre; white-space: pre-wrap; word-wrap: break-word;
|
26
|
+
}
|
27
|
+
|
28
|
+
|
29
|
+
blockquote {
|
30
|
+
margin-bottom: $baseline; border-left: 5px solid $light2; padding-left: 15px;
|
31
|
+
p { font-weight: 300; margin-bottom: 0; }
|
32
|
+
small {
|
33
|
+
display: block; font-size: 12px; font-weight: 300; color: $light2;
|
34
|
+
&:before { content: '\2014 \00A0'; }
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
hr { margin: 20px 0 19px; border: 0; border-bottom: $light-line; }
|
12
39
|
}
|
13
40
|
|
14
41
|
// HEADING MIXINS
|
15
42
|
@mixin heading( $level ) {
|
16
|
-
font-weight: 700; color: inherit; line-height: 1.
|
43
|
+
font-weight: 700; color: inherit; line-height: 1.1; margin: $baseline 0 $baseline/4;
|
17
44
|
small { color: $light2; }
|
18
45
|
@if $level == 1 {
|
19
|
-
font-size:
|
20
|
-
small { font-size:
|
46
|
+
font-size: $base_size * 1.8;
|
47
|
+
small { font-size: $base_size *1.4; font-weight: 500; }
|
21
48
|
} @else if $level == 2 {
|
22
|
-
font-size:
|
23
|
-
small { font-size:
|
49
|
+
font-size: $base_size *1.6;
|
50
|
+
small { font-size: $base_size *1.2; font-weight: 500; }
|
24
51
|
} @else if $level == 3 {
|
25
|
-
font-size:
|
26
|
-
small { font-size:
|
52
|
+
font-size: $base_size *1.4;
|
53
|
+
small { font-size: $base_size *1.1; font-weight: 500; }
|
27
54
|
} @else if $level == 4 {
|
28
|
-
font-size:
|
29
|
-
small { font-size:
|
55
|
+
font-size: $base_size *1.2;
|
56
|
+
small { font-size: $base_size; font-weight: 500; }
|
30
57
|
} @else if $level == 5 {
|
31
|
-
font-size:
|
58
|
+
font-size: $base_size;
|
32
59
|
} @else {
|
33
|
-
font-size:
|
60
|
+
font-size: $base_size; color: $light2; text-transform: uppercase;
|
34
61
|
}
|
35
62
|
}
|
36
63
|
|
37
64
|
// HEADING DEFINITIONS
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
65
|
+
@mixin headings {
|
66
|
+
h1 { @include heading(1); }
|
67
|
+
h2 { @include heading(2); }
|
68
|
+
h3 { @include heading(3); }
|
69
|
+
h4 { @include heading(4); }
|
70
|
+
h5 { @include heading(5); }
|
71
|
+
h6 { @include heading(6); }
|
72
|
+
}
|
44
73
|
|
45
74
|
// LISTS
|
46
|
-
|
47
|
-
|
48
|
-
ul
|
49
|
-
ul {
|
50
|
-
|
51
|
-
li { line-height: $baseline; color: inherit; }
|
52
|
-
ul.unstyled { list-style: none; margin-left: 0; }
|
53
|
-
|
54
|
-
// DESCRIPTION LISTS
|
55
|
-
dl {
|
56
|
-
margin-bottom: $baseline;
|
57
|
-
dt, dd { line-height: $baseline; }
|
58
|
-
dt { font-weight: 700; }
|
59
|
-
dd { margin-left: $baseline / 2; }
|
60
|
-
}
|
75
|
+
@mixin lists {
|
76
|
+
ol { margin: $baseline/2 0; list-style: decimal; padding: 0 0 0 20px; }
|
77
|
+
ul { margin: $baseline/2 0; list-style: square; padding: 0 0 0 15px; }
|
78
|
+
ul ul, ul ol, ol ol, ol ul { margin-bottom: 0; }
|
79
|
+
li { line-height: $baseline; color: inherit; }
|
61
80
|
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
81
|
+
dl {
|
82
|
+
margin-bottom: $baseline;
|
83
|
+
dt, dd { line-height: $baseline; }
|
84
|
+
dt { font-weight: 700; }
|
85
|
+
dd { margin-left: $baseline / 2; }
|
86
|
+
}
|
67
87
|
}
|
68
88
|
|
69
|
-
//
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
89
|
+
// PREFORMATTING
|
90
|
+
@mixin preformatting {
|
91
|
+
code, pre { padding: 0 3px 2px; font-family: $mono; font-size: 12px; background-color: $light1; }
|
92
|
+
code { background-color: $light1; color: rgba(0,0,0,.75); padding: 1px 3px; }
|
93
|
+
pre {
|
94
|
+
display: block;
|
95
|
+
padding: ($baseline - 1) / 2;
|
96
|
+
margin: 0 0 $baseline;
|
97
|
+
line-height: $baseline;
|
98
|
+
font-size: 12px;
|
99
|
+
border: 1px solid $light2;
|
100
|
+
border: 1px solid rgba(0,0,0,.15);
|
101
|
+
@include border-radius(3px);
|
102
|
+
white-space: pre;
|
103
|
+
white-space: pre-wrap;
|
104
|
+
word-wrap: break-word;
|
81
105
|
}
|
82
106
|
}
|
83
|
-
|
84
|
-
// ADDRESSES
|
85
|
-
address { display: block; line-height: $baseline; margin-bottom: $baseline; }
|
86
|
-
|
87
|
-
// CODE
|
88
|
-
code, pre { padding: 0 3px 2px; font-family: $mono; font-size: 12px; background-color: $light1; }
|
89
|
-
code { background-color: $light1; color: rgba(0,0,0,.75); padding: 1px 3px; }
|
90
|
-
pre {
|
91
|
-
display: block;
|
92
|
-
padding: ($baseline - 1) / 2;
|
93
|
-
margin: 0 0 $baseline;
|
94
|
-
line-height: $baseline;
|
95
|
-
font-size: 12px;
|
96
|
-
border: 1px solid $light2;
|
97
|
-
border: 1px solid rgba(0,0,0,.15);
|
98
|
-
@include border-radius(3px);
|
99
|
-
white-space: pre;
|
100
|
-
white-space: pre-wrap;
|
101
|
-
word-wrap: break-word;
|
102
|
-
}
|
@@ -1,8 +1,9 @@
|
|
1
|
-
@import "jetpack/
|
1
|
+
@import "jetpack/core";
|
2
2
|
@import "jetpack/resetize";
|
3
3
|
@import "jetpack/fractionalize";
|
4
4
|
@import "jetpack/typography";
|
5
5
|
@import "jetpack/tables";
|
6
6
|
@import "jetpack/forms";
|
7
7
|
@import "jetpack/navigation";
|
8
|
-
@import "jetpack/interface";
|
8
|
+
@import "jetpack/interface";
|
9
|
+
@import "jetpack/defaults";
|
metadata
CHANGED
@@ -1,124 +1,87 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jetpack-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.8.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Andrew Burleson
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-08-01 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: sass-rails
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '3.1'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '3.1'
|
30
|
-
description:
|
31
|
-
|
32
|
-
|
33
|
-
|
27
|
+
description: |-
|
28
|
+
A sweet boostrap mashup for Rails applications.
|
29
|
+
The philosophy is pretty simple, it should make building Rails apps go a lot faster.
|
30
|
+
The library prefers modularity over rigidity and mixins over defintions. Check out the github readme for more.
|
34
31
|
email:
|
35
32
|
- andrew@eighty-b.com
|
36
33
|
executables: []
|
37
34
|
extensions: []
|
38
35
|
extra_rdoc_files: []
|
39
36
|
files:
|
40
|
-
-
|
41
|
-
|
42
|
-
-
|
43
|
-
|
44
|
-
-
|
45
|
-
|
46
|
-
-
|
47
|
-
|
48
|
-
-
|
49
|
-
|
50
|
-
-
|
51
|
-
|
52
|
-
-
|
53
|
-
|
54
|
-
-
|
55
|
-
|
56
|
-
-
|
57
|
-
|
58
|
-
-
|
59
|
-
|
60
|
-
-
|
61
|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|
94
|
-
dmVuZG9yL2Fzc2V0cy9zdHlsZXNoZWV0cy9qZXRwYWNrL3RhYmxlcy5jc3Mu
|
95
|
-
c2Nzcw==
|
96
|
-
- !binary |-
|
97
|
-
dmVuZG9yL2Fzc2V0cy9zdHlsZXNoZWV0cy9qZXRwYWNrL3R5cG9ncmFwaHku
|
98
|
-
Y3NzLnNjc3M=
|
37
|
+
- .DS_Store
|
38
|
+
- .gitignore
|
39
|
+
- CHANGELOG
|
40
|
+
- LICENSE
|
41
|
+
- README.md
|
42
|
+
- jetpack-rails.gemspec
|
43
|
+
- lib/jetpack-rails.rb
|
44
|
+
- lib/jetpack/helper.rb
|
45
|
+
- lib/jetpack/railtie.rb
|
46
|
+
- lib/jetpack/version.rb
|
47
|
+
- vendor/assets/javascripts/jetpack.js
|
48
|
+
- vendor/assets/javascripts/jetpack/alerts.js
|
49
|
+
- vendor/assets/javascripts/jetpack/modal.js
|
50
|
+
- vendor/assets/javascripts/jetpack/tabs.js
|
51
|
+
- vendor/assets/javascripts/jetpack/tipsy.js
|
52
|
+
- vendor/assets/stylesheets/jetpack.css.scss
|
53
|
+
- vendor/assets/stylesheets/jetpack/core.css.scss
|
54
|
+
- vendor/assets/stylesheets/jetpack/defaults.css.scss
|
55
|
+
- vendor/assets/stylesheets/jetpack/forms.css.scss
|
56
|
+
- vendor/assets/stylesheets/jetpack/fractionalize.css.scss
|
57
|
+
- vendor/assets/stylesheets/jetpack/interface.css.scss
|
58
|
+
- vendor/assets/stylesheets/jetpack/navigation.css.scss
|
59
|
+
- vendor/assets/stylesheets/jetpack/presets.css.scss
|
60
|
+
- vendor/assets/stylesheets/jetpack/resetize.css.scss
|
61
|
+
- vendor/assets/stylesheets/jetpack/tables.css.scss
|
62
|
+
- vendor/assets/stylesheets/jetpack/typography.css.scss
|
99
63
|
homepage: http://github.com/burlesona/jetpack-rails
|
100
64
|
licenses: []
|
65
|
+
metadata: {}
|
101
66
|
post_install_message:
|
102
67
|
rdoc_options: []
|
103
68
|
require_paths:
|
104
69
|
- lib
|
105
70
|
required_ruby_version: !ruby/object:Gem::Requirement
|
106
|
-
none: false
|
107
71
|
requirements:
|
108
|
-
- -
|
72
|
+
- - '>='
|
109
73
|
- !ruby/object:Gem::Version
|
110
74
|
version: '0'
|
111
75
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
112
|
-
none: false
|
113
76
|
requirements:
|
114
|
-
- -
|
77
|
+
- - '>='
|
115
78
|
- !ruby/object:Gem::Version
|
116
79
|
version: '0'
|
117
80
|
requirements: []
|
118
81
|
rubyforge_project:
|
119
|
-
rubygems_version:
|
82
|
+
rubygems_version: 2.0.0
|
120
83
|
signing_key:
|
121
|
-
specification_version:
|
84
|
+
specification_version: 4
|
122
85
|
summary: A sweet fractional grid system plus an awesome bootstrap mashup, optimized
|
123
86
|
for the asset pipeline.
|
124
87
|
test_files: []
|