jetpack-rails 0.4.3 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,4 +1,10 @@
1
1
  Changelog:
2
+ 0.5.0:
3
+ - Added Flash Message helper to standardize display of flash messages.
4
+ - Changed flash message default styles to fit new flash message handler.
5
+ - Changed heading mixins to not use line-height for whitespace since that breaks strangely on responsive layout.
6
+ - Added `view_name` helper method for semantic CSS namespacing.
7
+
2
8
  0.4.3:
3
9
  - Changed Heading styles to default to 'inherit' instead of a specific color.
4
10
  - Tiny adjustment to button styles to make them line up better.
data/lib/jetpack-rails.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require 'sass-rails'
2
+ require 'jetpack/railtie' if defined?(Rails)
2
3
 
3
4
  module Jetpack
4
5
  module Rails
@@ -38,7 +38,7 @@ div.alert_message {
38
38
  @include border-radius(4px); color: $white; padding: 7px 12px; margin-bottom: $baseline; @include box-shadow;
39
39
  &.success { @include buttonize( lighten( $success2, 15% ), $success2); text-shadow: 0px -1px darken( $success2, 15% ); }
40
40
  &.notice { @include buttonize( lighten( $notice2, 15% ), $notice2); color: $dark2; text-shadow: 0px 1px $notice1; }
41
- &.error { @include buttonize( lighten( $error2, 15% ), $error2); text-shadow: 0px -1px darken( $error2, 15% ); }
41
+ &.error, &.alert { @include buttonize( lighten( $error2, 15% ), $error2); text-shadow: 0px -1px darken( $error2, 15% ); }
42
42
  a.close { @include font( 18px, $sans, 700, 13.5px ); float: right; text-decoration: none; opacity: 0.2; color: $black; text-shadow: 0px 1px $white;
43
43
  &:hover { opacity: 0.4; }
44
44
  }
@@ -12,10 +12,10 @@ p {
12
12
 
13
13
  // HEADING MIXINS
14
14
  @mixin heading( $level ) {
15
- font-weight: 700; color: inherit; line-height: $baseline * 2;
15
+ font-weight: 700; color: inherit; line-height: 1.2; margin-bottom: $baseline / 2;
16
16
  small { color: $light2; }
17
17
  @if $level == 1 {
18
- font-size: 30px; margin-bottom: $baseline / 2;
18
+ font-size: 30px;
19
19
  small { font-size: 18px; font-weight: 500; }
20
20
  } @else if $level == 2 {
21
21
  font-size: 24px;
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.3
4
+ version: 0.5.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: 2012-05-06 00:00:00.000000000Z
12
+ date: 2012-09-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sass-rails
16
- requirement: &4657180 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,12 @@ dependencies:
21
21
  version: '3.1'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *4657180
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '3.1'
25
30
  description: ! "A sweet boostrap mashup for Rails applications.\n The philosophy
26
31
  is pretty simple, it should make building Rails apps go a lot faster.\n The library
27
32
  prefers modularity over rigidity and mixins over defintions. Check out the github
@@ -70,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
70
75
  version: '0'
71
76
  requirements: []
72
77
  rubyforge_project:
73
- rubygems_version: 1.8.10
78
+ rubygems_version: 1.8.23
74
79
  signing_key:
75
80
  specification_version: 3
76
81
  summary: A sweet fractional grid system plus an awesome bootstrap mashup, optimized