rail_pass 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- .grid-constrained
1
+ .l-constrained
2
2
  %header
3
3
  %h1 Style Guide
4
4
  %hr
@@ -136,7 +136,7 @@ module RailPass
136
136
  end
137
137
  # Assets to precompile
138
138
  gsub_file 'config/environments/production.rb', /# config.assets.precompile.*/ do
139
- "config.assets.precompile += %w( responsive.js html5.js polyfills.js )"
139
+ "config.assets.precompile += %w( html5.js polyfills.js )"
140
140
  end
141
141
  %w(config/initializers/dev_environment.rb .powder).each do |ignored|
142
142
  append_file ".gitignore", ignored + "\n"
@@ -2,10 +2,10 @@
2
2
  @import "bourbon";
3
3
  @import "neat";
4
4
  @import "boarding_pass";
5
- @import "font-awesome";
6
5
  @import "icomoon";
7
6
 
8
7
  // Mixins
8
+ @import "mixins/ie";
9
9
 
10
10
  // Base
11
11
  @import "base/settings";
@@ -1,17 +1,17 @@
1
1
  // General Containers
2
2
 
3
- .grid-constrained {
3
+ .l-constrained {
4
4
  @include outer-container;
5
5
  padding: 0 $page-gutter;
6
6
  }
7
7
 
8
- .grid-main {
8
+ .l-main {
9
9
  @include media($breakpoint-ipad) {
10
10
  @include span-columns(8);
11
11
  }
12
12
  }
13
13
 
14
- .grid-sidebar {
14
+ .l-sidebar {
15
15
  @include media($breakpoint-ipad) {
16
16
  @include span-columns(4);
17
17
  }
@@ -1 +1 @@
1
- #grid-footer {}
1
+ #l-footer {}
@@ -1 +1 @@
1
- #grid-header {}
1
+ #l-header {}
@@ -0,0 +1,21 @@
1
+ // Prepend selectors with a class specific to old IE
2
+ @mixin media-ie($args...) {
3
+
4
+ @if length($args) > 0 {
5
+ @include media($args) {
6
+ @content;
7
+ }
8
+ }
9
+
10
+ .old-ie & {
11
+ @content;
12
+ }
13
+
14
+ }
15
+
16
+ // Add min-width to containers for old IE
17
+ @mixin ie-width {
18
+ .old-ie & {
19
+ min-width: $breakpoint-ipad;
20
+ }
21
+ }
@@ -1,5 +1,5 @@
1
1
  !!! 5
2
- /[if lt IE 9] <html class="ie8" lang="en">
2
+ /[if lt IE 9] <html class="ie8 old-ie" lang="en">
3
3
  <!--[if gte IE 9]><!-->
4
4
  %html{ lang: "en" }
5
5
  <!--<![endif]-->
@@ -31,13 +31,6 @@
31
31
  %meta{name: "description", content: "FIXME: APPLICATION DESCRIPTION"}
32
32
  %meta{name: "author", content: "Michael LaCroix, James LaCroix"}
33
33
  %meta{:'http-equiv' => "X-UA-Compatible", content: "chrome=1"}
34
-
35
- -# koko wa Facebook meta
36
- / %meta{name: "og:title", content: "#{@fb_title || 'FIXME: APPLICATION NAME'}"}
37
- / %meta{name: "og:image", content: ""}
38
- / %meta{name: "og:type", content: "website"}
39
- / %meta{name: "og:site_name", content: "FIXME: APPLICATION NAME"}
40
- / %meta{name: "og:admins", content: ""}
41
34
 
42
35
  -# koko wa fav and touch icons (reside in the /public folder), plus iOS meta
43
36
  / %link{rel: "shortcut icon", href: "#{root_url}/favicon.png"}
@@ -45,6 +38,8 @@
45
38
  / %link{rel: "apple-touch-icon-precomposed", sizes: "72x72", href: "#{root_url}/apple-touch-icon-72x72-precomposed.png"}
46
39
  / %link{rel: "apple-touch-icon-precomposed", sizes: "114x114", href: "#{root_url}/apple-touch-icon-114x114-precomposed.png"}
47
40
  / %link{rel: "apple-touch-icon-precomposed", sizes: "144x144", href: "#{root_url}/apple-touch-icon-144x144-precomposed.png"}
41
+ / %meta{name: "msapplication-TileColor", content: "#ffffff"}
42
+ / %meta{name: "msapplication-TileImage", content: "#{root_url}/windows-icon.png"}
48
43
  %meta{name: "viewport", content: "initial-scale=1.0, width=device-width, user-scalable=no, maximum-scale=1.0"}
49
44
  %meta{name: "apple-mobile-web-app-capable", content: "yes"}
50
45
  %meta{name: "apple-mobile-web-app-status-bar-style", content:"black"}
@@ -59,7 +54,6 @@
59
54
  /[if lt IE 9]
60
55
  = javascript_include_tag "polyfills"
61
56
 
62
- = javascript_include_tag "responsive"
63
57
  = csrf_meta_tags
64
58
 
65
59
  -# koko wa Typekit -- replace VVVVVVV with the proper kit code
@@ -82,13 +76,13 @@
82
76
  to improve your experience.
83
77
 
84
78
 
85
- %header#grid-header
79
+ %header#l-header
86
80
 
87
81
 
88
82
  = yield
89
83
 
90
84
 
91
- %footer#grid-footer
85
+ %footer#l-footer
92
86
 
93
87
 
94
88
 
@@ -1,3 +1,3 @@
1
1
  module RailPass
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rail_pass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-01-30 00:00:00.000000000 Z
13
+ date: 2013-02-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -59,6 +59,7 @@ files:
59
59
  - lib/generators/templates/app/assets/stylesheets/layout/_footer.scss
60
60
  - lib/generators/templates/app/assets/stylesheets/layout/_header.scss
61
61
  - lib/generators/templates/app/assets/stylesheets/layout/_settings.scss
62
+ - lib/generators/templates/app/assets/stylesheets/mixins/_ie.scss
62
63
  - lib/generators/templates/app/assets/stylesheets/modules/_buttons.scss
63
64
  - lib/generators/templates/app/controllers/pages_controller.rb
64
65
  - lib/generators/templates/app/helpers/application_helper.rb