jetpack-rails 0.9.3 → 0.10.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.
- checksums.yaml +4 -4
- data/CHANGELOG +33 -6
- data/jetpack-rails.gemspec +2 -1
- data/lib/jetpack/version.rb +1 -1
- data/vendor/assets/images/select-arrow.gif +0 -0
- data/vendor/assets/javascripts/jetpack/modal.js +2 -2
- data/vendor/assets/stylesheets/jetpack/core.css.scss +12 -2
- data/vendor/assets/stylesheets/jetpack/defaults.css.scss +0 -4
- data/vendor/assets/stylesheets/jetpack/interface.css.scss +15 -14
- data/vendor/assets/stylesheets/jetpack/presets.css.scss +1 -1
- data/vendor/assets/stylesheets/jetpack/resetize.css.scss +4 -0
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82248d58d8ac75c8dad2f4c72e4869205449ec10
|
4
|
+
data.tar.gz: 6a201d0dc1144e3e644ecbf443b1f9339719a467
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dad5335db2896d24cb597cf79e34d67480d3f4e901d459a4a0d44bd8d7f72a1e1c9d68f107cbed31ae2ad7c1ce7de6c1b69beb5210a9ab3bff98f25f5d165382
|
7
|
+
data.tar.gz: 415e7b4fb3fd28ee8f688fda0414ef58b25d326842917f5ab01c157162967937be8e180ea152edbeaeabc1804e8e7ee127b160947bdc06b2dc023c42579d9057
|
data/CHANGELOG
CHANGED
@@ -1,19 +1,46 @@
|
|
1
|
-
|
1
|
+
=======
|
2
|
+
ROADMAP
|
3
|
+
=======
|
4
|
+
|
5
|
+
TODO: V0.10.1
|
6
|
+
> Finish demo/documentation page for Core
|
7
|
+
> Finish demo/documentation page for Interface
|
8
|
+
> Add demo/documentation page for Defaults
|
9
|
+
|
10
|
+
TODO: V0.11.0
|
2
11
|
> Add LICENSE to fix warning
|
12
|
+
> Change the helpers to be optional (add to application helper using include Jetpack::Helpers)
|
3
13
|
> Review the JS
|
4
|
-
> Redo js-styles module to be specific to each js component
|
5
14
|
> Create a "defaults.js" that works the same way as defaults.css
|
6
15
|
> ADD PILLS / TABS to defaults.js
|
16
|
+
> Add demo/documentation page for helpers
|
17
|
+
> Add demo/documentation page for javascripts
|
7
18
|
|
8
|
-
TODO: V0.
|
19
|
+
TODO: V0.12.0
|
9
20
|
> Clear out any remaining ideas from Wunderlist
|
10
|
-
|
21
|
+
> Redo the home page and readme
|
11
22
|
|
12
23
|
TODO: V1.0
|
13
24
|
> Use git submodules, so style is available apart from plugin
|
14
25
|
> Finish sexy docs / demo
|
15
26
|
|
16
|
-
|
27
|
+
|
28
|
+
==========
|
29
|
+
CHANGELOG:
|
30
|
+
==========
|
31
|
+
0.10.0:
|
32
|
+
- Change modal to use hyphenation, give it its own mixin.
|
33
|
+
- Remove js-styles mixin and replace with modal and tipsy mixins.
|
34
|
+
- Add full-screen and fill-container mixins to core.
|
35
|
+
- Change default border-radius from 5px to $baseline/4.
|
36
|
+
- Put downward select-arrow back for select elements.
|
37
|
+
- Add margin-right 4px for buttons
|
38
|
+
- Change a.button and span.button to default vertical align middle so they line
|
39
|
+
up correctly next to button and input submit
|
40
|
+
- Change default $notice2 color to be not so dark
|
41
|
+
- Tweak default message styles so they're not so button-y
|
42
|
+
- Tweak default drop-shadow style to tone it down a bit
|
43
|
+
|
17
44
|
0.9.3:
|
18
45
|
- Sigh -- working too fast. Don't include alert message styles in defaults
|
19
46
|
until I have a chance go back and redo the way those are generated. Right now
|
@@ -162,7 +189,7 @@ Changelog:
|
|
162
189
|
|
163
190
|
0.2.2:
|
164
191
|
- I disagree with Twitter Boostrap (the main inspiration for the typography styles). List
|
165
|
-
|
192
|
+
items should definitely not be gray by default. <li>'s will now inherit their color.
|
166
193
|
|
167
194
|
0.2.1:
|
168
195
|
- Another minor tweak to danger button style.
|
data/jetpack-rails.gemspec
CHANGED
@@ -12,6 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.description = %q{A sweet boostrap mashup for Rails applications.
|
13
13
|
The philosophy is pretty simple, it should make building Rails apps go a lot faster.
|
14
14
|
The library prefers modularity over rigidity and mixins over defintions. Check out the github readme for more.}
|
15
|
+
s.license = 'MIT'
|
15
16
|
|
16
17
|
s.files = `git ls-files`.split("\n")
|
17
18
|
# s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
@@ -22,4 +23,4 @@ Gem::Specification.new do |s|
|
|
22
23
|
s.add_dependency 'sass-rails', '>= 3.1'
|
23
24
|
# s.add_development_dependency "rspec"
|
24
25
|
# s.add_runtime_dependency "rest-client"
|
25
|
-
end
|
26
|
+
end
|
data/lib/jetpack/version.rb
CHANGED
Binary file
|
@@ -17,7 +17,7 @@ $(function(){
|
|
17
17
|
var modalBg = $('.modal_bg');
|
18
18
|
|
19
19
|
if ( modalBg.length == 0 ) {
|
20
|
-
modalBg = $('<div class="
|
20
|
+
modalBg = $('<div class="modal-bg"></div>').insertAfter(modal);
|
21
21
|
}
|
22
22
|
|
23
23
|
if( modal.not(':visible') ) {
|
@@ -46,7 +46,7 @@ $(function(){
|
|
46
46
|
}
|
47
47
|
});
|
48
48
|
|
49
|
-
$('
|
49
|
+
$('.close-modal').click( function(event) {
|
50
50
|
event.preventDefault();
|
51
51
|
closeModal();
|
52
52
|
});
|
@@ -13,13 +13,13 @@
|
|
13
13
|
}
|
14
14
|
}
|
15
15
|
|
16
|
-
@mixin border-radius( $radius:
|
16
|
+
@mixin border-radius( $radius: $baseline/4) {
|
17
17
|
-webkit-border-radius: $radius;
|
18
18
|
-moz-border-radius: $radius;
|
19
19
|
border-radius: $radius;
|
20
20
|
}
|
21
21
|
|
22
|
-
@mixin box-shadow($shadow: 0 1px
|
22
|
+
@mixin box-shadow($shadow: 0 1px 1px rgba(0,0,0,0.4)) {
|
23
23
|
-webkit-box-shadow: $shadow;
|
24
24
|
-moz-box-shadow: $shadow;
|
25
25
|
box-shadow: $shadow;
|
@@ -49,3 +49,13 @@
|
|
49
49
|
margin-#{$side}: $size;
|
50
50
|
padding-#{$side}: $size;
|
51
51
|
}
|
52
|
+
|
53
|
+
// Fill the whole screen no matter what
|
54
|
+
@mixin full-screen( $z: 1000 ) {
|
55
|
+
position: fixed; z-index: $z; top: 0; left: 0; bottom: 0; right: 0;
|
56
|
+
}
|
57
|
+
|
58
|
+
// Fill an entire relative positioned parent container
|
59
|
+
@mixin fill-container {
|
60
|
+
position: absolute; top: 0; left: 0; bottom: 0; right: 0;
|
61
|
+
}
|
@@ -32,15 +32,11 @@
|
|
32
32
|
@include lists;
|
33
33
|
@include preformatting;
|
34
34
|
|
35
|
-
// JS DEFAULT STYLES
|
36
|
-
@include js-styles;
|
37
|
-
|
38
35
|
// UBIQUITOUS DEFAULTS
|
39
36
|
a { color: $color1;
|
40
37
|
&:visited { color: $color2; }
|
41
38
|
}
|
42
39
|
|
43
|
-
|
44
40
|
// INTERFACE ELEMENTS
|
45
41
|
span.label { @include label; }
|
46
42
|
a.button, span.button { @include button; }
|
@@ -14,7 +14,7 @@
|
|
14
14
|
// BUTTONS
|
15
15
|
@mixin button {
|
16
16
|
display: inline-block;
|
17
|
-
vertical-align:
|
17
|
+
vertical-align: middle;
|
18
18
|
cursor: pointer;
|
19
19
|
@include box-shadow( 0px 1px 1px rgba(0,0,0,0.15) );
|
20
20
|
@include border-radius(4px);
|
@@ -23,6 +23,7 @@
|
|
23
23
|
text-decoration: none;
|
24
24
|
color: $dark2;
|
25
25
|
padding: 3px 10px;
|
26
|
+
margin-right: 4px;
|
26
27
|
width: auto;
|
27
28
|
&:active, &.active { @include buttonize( $light1, $white ); @include box-shadow( none ); }
|
28
29
|
&.disabled { @include buttonize( $light1, $light1); color: $light2; @include box-shadow( none ); }
|
@@ -35,22 +36,24 @@
|
|
35
36
|
// MESSAGES
|
36
37
|
@mixin message {
|
37
38
|
@include border-radius(4px); color: $white; padding: 7px 12px; margin-bottom: $baseline; @include box-shadow;
|
38
|
-
|
39
|
-
&.
|
40
|
-
&.
|
39
|
+
@include gradient( lighten($light2, 5%), $light2 ); color: $dark2; text-shadow: 0px 1px $light1;
|
40
|
+
&.success { @include gradient( lighten($success2, 5%), $success2); color: $white; text-shadow: 0px -1px darken( $success2, 15% ); }
|
41
|
+
&.notice { @include gradient( lighten($notice2, 5%), $notice2); color: $dark2; text-shadow: 0px 1px $notice1; }
|
42
|
+
&.error, &.alert { @include gradient( lighten($error2, 5%), $error2); color: $white; text-shadow: 0px -1px darken( $error2, 15% ); }
|
41
43
|
a.close { font-size: 18px; font-weight: 700; line-height: 13.5px; float: right; text-decoration: none; opacity: 0.2; color: $black; text-shadow: 0px 1px $white;
|
42
44
|
&:hover { opacity: 0.4; }
|
43
45
|
}
|
44
46
|
}
|
45
47
|
|
46
|
-
//
|
47
|
-
@mixin
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
48
|
+
// MODALS
|
49
|
+
@mixin modal {
|
50
|
+
.modal-bg { @include full-screen; background: $dark1; opacity: 0.8; }
|
51
|
+
.modal { display: none; top: 10%; left: 30%; right: 30%; background: $dark2; position: absolute; z-index: 1001; padding: $baseline; }
|
52
|
+
.modal .close-modal { font-size: 22px; line-height: .5; position: absolute; top: 8px; right: 11px; color: #aaa; text-shadow: 0 -1px 1px rbga(0,0,0,.6); font-weight: bold; cursor: pointer; }
|
53
|
+
}
|
52
54
|
|
53
|
-
|
55
|
+
// TIPSY
|
56
|
+
@mixin tipsy {
|
54
57
|
.tipsy { font-size: 11px; position: absolute; padding: 5px; z-index: 100000; }
|
55
58
|
.tipsy-inner { background-color: $black; color: $white; max-width: 200px; padding: 5px 8px 4px 8px; text-align: center; @include border-radius(4px); }
|
56
59
|
.tipsy-arrow { position: absolute; width: 0; height: 0; line-height: 0; border: 5px dashed #000; }
|
@@ -67,7 +70,5 @@
|
|
67
70
|
.tipsy-se .tipsy-arrow { bottom: 0; right: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }
|
68
71
|
.tipsy-e .tipsy-arrow { right: 0; top: 50%; margin-top: -5px; border-left-style: solid; border-right: none; border-top-color: transparent; border-bottom-color: transparent; }
|
69
72
|
.tipsy-w .tipsy-arrow { left: 0; top: 50%; margin-top: -5px; border-right-style: solid; border-left: none; border-top-color: transparent; border-bottom-color: transparent; }
|
70
|
-
|
71
|
-
// POPOVERS
|
72
|
-
.popover { display: none; }
|
73
|
+
.popover { display: none; } // For Jetpack Tipsy Popover Function
|
73
74
|
}
|
@@ -315,6 +315,7 @@ input[type="button"] {
|
|
315
315
|
outline: 0;
|
316
316
|
overflow: visible;
|
317
317
|
padding: 3px 10px;
|
318
|
+
margin-right: 4px;
|
318
319
|
text-shadow: #fff 0 1px 1px;
|
319
320
|
width: auto;
|
320
321
|
/* IE7 */
|
@@ -444,6 +445,9 @@ select[multiple] {
|
|
444
445
|
/* Tweaks for Safari + Chrome. */
|
445
446
|
@media (-webkit-min-device-pixel-ratio: 0) {
|
446
447
|
select {
|
448
|
+
background-image: image-url('select-arrow.gif');
|
449
|
+
background-repeat: no-repeat;
|
450
|
+
background-position: right center;
|
447
451
|
padding-right: 20px;
|
448
452
|
}
|
449
453
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jetpack-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Burleson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass-rails
|
@@ -43,6 +43,7 @@ files:
|
|
43
43
|
- lib/jetpack/helper.rb
|
44
44
|
- lib/jetpack/railtie.rb
|
45
45
|
- lib/jetpack/version.rb
|
46
|
+
- vendor/assets/images/select-arrow.gif
|
46
47
|
- vendor/assets/javascripts/jetpack.js
|
47
48
|
- vendor/assets/javascripts/jetpack/alerts.js
|
48
49
|
- vendor/assets/javascripts/jetpack/modal.js
|
@@ -60,7 +61,8 @@ files:
|
|
60
61
|
- vendor/assets/stylesheets/jetpack/tables.css.scss
|
61
62
|
- vendor/assets/stylesheets/jetpack/typography.css.scss
|
62
63
|
homepage: http://github.com/burlesona/jetpack-rails
|
63
|
-
licenses:
|
64
|
+
licenses:
|
65
|
+
- MIT
|
64
66
|
metadata: {}
|
65
67
|
post_install_message:
|
66
68
|
rdoc_options: []
|