playmo 0.0.6 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. data/.rspec +2 -0
  2. data/Gemfile +1 -1
  3. data/README.md +9 -45
  4. data/TODO.md +65 -9
  5. data/bin/playmo +6 -0
  6. data/lib/generators/rails/controller_generator.rb +5 -0
  7. data/lib/generators/rails/layout_generator.rb +26 -0
  8. data/lib/generators/rails/scaffold_controller_generator.rb +13 -0
  9. data/lib/generators/rails/templates/controller.rb +11 -0
  10. data/lib/generators/rails/templates/layout.html.erb +46 -0
  11. data/lib/generators/rails/templates/layout.html.haml +26 -0
  12. data/lib/generators/rails/templates/layout.html.slim +26 -0
  13. data/lib/generators/rails/templates/scaffold_controller.rb +56 -0
  14. data/lib/playmo.rb +45 -7
  15. data/lib/playmo/answer.rb +18 -0
  16. data/lib/playmo/choice.rb +52 -0
  17. data/lib/playmo/cli.rb +25 -0
  18. data/lib/playmo/cookbook.rb +83 -0
  19. data/lib/playmo/event.rb +7 -0
  20. data/lib/playmo/options.rb +17 -0
  21. data/lib/playmo/question.rb +59 -0
  22. data/lib/playmo/recipe.rb +50 -0
  23. data/lib/playmo/recipes/_/sample_recipe.rb +46 -0
  24. data/lib/playmo/recipes/application_controller_recipe.rb +24 -0
  25. data/lib/playmo/recipes/application_helper_recipe.rb +18 -0
  26. data/lib/playmo/recipes/assets_recipe.rb +19 -0
  27. data/lib/playmo/recipes/can_can_recipe.rb +0 -0
  28. data/lib/playmo/recipes/capistrano_recipe.rb +25 -0
  29. data/lib/playmo/recipes/compass_recipe.rb +19 -0
  30. data/lib/playmo/recipes/congrats_recipe.rb +20 -0
  31. data/lib/playmo/recipes/devise_recipe.rb +172 -0
  32. data/lib/playmo/recipes/forms_recipe.rb +42 -0
  33. data/lib/playmo/recipes/git_recipe.rb +31 -0
  34. data/lib/playmo/recipes/home_controller_recipe.rb +86 -0
  35. data/lib/playmo/recipes/javascript_framework_recipe.rb +69 -0
  36. data/lib/playmo/recipes/layout_recipe.rb +21 -0
  37. data/lib/playmo/recipes/markup_recipe.rb +34 -0
  38. data/lib/playmo/recipes/rspec_recipe.rb +25 -0
  39. data/lib/playmo/recipes/rvm_recipe.rb +17 -0
  40. data/lib/playmo/recipes/setup_database_recipe.rb +21 -0
  41. data/lib/playmo/recipes/templates/application_controller_recipe/application_controller.rb +54 -0
  42. data/lib/playmo/recipes/templates/application_controller_recipe/internal_error.html.erb +5 -0
  43. data/lib/playmo/recipes/templates/application_controller_recipe/not_found.html.erb +5 -0
  44. data/lib/playmo/recipes/templates/application_helper_recipe/application_helper.rb +118 -0
  45. data/lib/playmo/recipes/templates/assets_recipe/images/bg.jpg +0 -0
  46. data/lib/playmo/recipes/templates/assets_recipe/images/input-bg.gif +0 -0
  47. data/lib/playmo/recipes/templates/assets_recipe/stylesheets/application.css.scss +29 -0
  48. data/lib/playmo/recipes/templates/assets_recipe/stylesheets/media.css.scss +0 -0
  49. data/lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_constants.css.scss +11 -0
  50. data/lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_forms.css.scss +134 -0
  51. data/{stylesheets/_playmo_rails.sass → lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_html5-boilerplate.css.scss} +1 -1
  52. data/lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_layout.css.scss +264 -0
  53. data/{templates/project/playmo/playmo.scss → lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_overrides.css.scss} +14 -23
  54. data/lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_simple_form.css.scss +7 -0
  55. data/{stylesheets/playmo-rails/_fonts.scss → lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/html5-boilerplate/_fonts.css.scss} +5 -6
  56. data/{stylesheets/playmo-rails/_helpers.scss → lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/html5-boilerplate/_helpers.css.scss} +6 -1
  57. data/{stylesheets/playmo-rails/_media.scss → lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/html5-boilerplate/_media.css.scss} +10 -9
  58. data/lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/html5-boilerplate/_reset.css.scss +47 -0
  59. data/{stylesheets/playmo-rails/_styles.scss → lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/html5-boilerplate/_styles.css.scss} +24 -24
  60. data/lib/playmo/recipes/templates/capistrano_recipe/.gitkeep +0 -0
  61. data/lib/playmo/recipes/templates/devise_recipe/.gitkeep +0 -0
  62. data/lib/playmo/recipes/templates/forms_recipe/.gitkeep +0 -0
  63. data/lib/playmo/recipes/templates/home_controller_recipe/_sidebar.html.erb +3 -0
  64. data/lib/playmo/recipes/templates/layout_recipe/application.html.erb +40 -0
  65. data/lib/playmo/recipes/templates/rspec_recipe/.gitkeep +0 -0
  66. data/lib/playmo/recipes/templates/rvm_recipe/.gitkeep +0 -0
  67. data/lib/playmo/silent.rb +17 -0
  68. data/playmo.gemspec +6 -2
  69. data/spec/cookbook_spec.rb +23 -0
  70. data/spec/recipes/home_controller_recipe_spec.rb +13 -0
  71. data/spec/spec_helper.rb +16 -0
  72. data/spec/support/.gitkeep +0 -0
  73. metadata +144 -79
  74. data/lib/app/helpers/playmo_helper.rb +0 -54
  75. data/lib/generators/playmo/USAGE +0 -8
  76. data/lib/generators/playmo/install_generator.rb +0 -166
  77. data/lib/generators/playmo/templates/application.html.erb +0 -56
  78. data/lib/generators/playmo/templates/application_controller.rb +0 -9
  79. data/lib/generators/playmo/templates/application_helper.rb +0 -21
  80. data/lib/generators/playmo/templates/assets.yml +0 -32
  81. data/lib/generators/playmo/templates/deploy.rb +0 -50
  82. data/lib/generators/playmo/templates/jquery/jquery-1.5.2.min.js +0 -16
  83. data/lib/generators/playmo/templates/jquery/rails.js +0 -157
  84. data/lib/generators/playmo/templates/mootools/mootools-core-1.3.1.js +0 -485
  85. data/lib/generators/playmo/templates/mootools/mootools-more-1.3.1.1.js +0 -741
  86. data/lib/generators/playmo/templates/mootools/rails.js +0 -161
  87. data/lib/generators/playmo/templates/tasks/assets.rake +0 -10
  88. data/lib/generators/playmo/templates/tasks/sass.rake +0 -8
  89. data/stylesheets/playmo-rails/_handheld.scss +0 -8
  90. data/stylesheets/playmo-rails/_reset.scss +0 -56
  91. data/templates/project/boilerplate/css/handheld.scss +0 -7
  92. data/templates/project/boilerplate/css/style.scss +0 -141
  93. data/templates/project/boilerplate/files/apple-touch-icon.png +0 -0
  94. data/templates/project/boilerplate/files/crossdomain.xml +0 -25
  95. data/templates/project/boilerplate/files/favicon.ico +0 -0
  96. data/templates/project/boilerplate/files/robots.txt +0 -5
  97. data/templates/project/boilerplate/js/libs/dd_belatedpng.js +0 -13
  98. data/templates/project/boilerplate/js/libs/modernizr-1.7.min.js +0 -2
  99. data/templates/project/google/google.yml +0 -22
  100. data/templates/project/manifest.rb +0 -34
  101. data/templates/project/playmo/article.scss +0 -69
  102. data/templates/project/playmo/icons/outgoing.png +0 -0
  103. data/templates/project/rails/public/stylesheets/layout.scss +0 -20
  104. data/templates/project/rails/public/stylesheets/print.scss +0 -11
  105. data/templates/project/rails/public/stylesheets/screen.scss +0 -14
  106. data/templates/project/rails/public/stylesheets/wysiwyg.scss +0 -19
@@ -9,5 +9,5 @@
9
9
  @include html5-boilerplate-fonts;
10
10
  @include html5-boilerplate-styles;
11
11
  @include html5-boilerplate-helpers;
12
- @include html5-boilerplate-media;
13
12
  }
13
+
@@ -0,0 +1,264 @@
1
+ /*===============================================================================================
2
+
3
+ Styles for pages layout, custom CSS styles for layout containers positioning.
4
+ Make the separation for home, domestic and other pages by define id for the 'body' tag.
5
+
6
+ ===============================================================================================*/
7
+ @import "compass/css3/border-radius";
8
+ @import "compass/css3/box-shadow";
9
+ @import "compass/css3/text-shadow";
10
+ @import "compass/css3/opacity";
11
+ @import "compass/css3/images";
12
+ @import "compass/css3/inline-block";
13
+ @import "compass/css3/box-sizing";
14
+ @import "compass/css3/gradient";
15
+
16
+ @mixin pagination-active {
17
+ @include background-image(none);
18
+ @include single-box-shadow(#222, 1px, 1px, 3px, 0px, true);
19
+ @include single-text-shadow(#222, -1px, -1px, 0);
20
+ background: #555;
21
+ color: #fff;
22
+ padding: 3px 9px;
23
+ border: 0;
24
+ }
25
+
26
+ @font-face {
27
+ font-family: 'Ubuntu';
28
+ font-style: normal;
29
+ font-weight: 500;
30
+ src: local('Ubuntu Medium'), local('Ubuntu-Medium'), url('http://themes.googleusercontent.com/font?kit=wPL39jTIyO02mfXIlk2kcZONKhqmvY42kW5NWmrYr04') format('woff');
31
+ }
32
+
33
+ #{headings(all)} {
34
+ font: $base-font-family;
35
+ font-family: 'Ubuntu';
36
+ }
37
+
38
+ body {
39
+ height: 100%;
40
+ margin: 0;
41
+ background: #222 asset-url("bg.jpg", image);
42
+
43
+ #notice {
44
+ left: 0;
45
+ position: fixed;
46
+ top: 0;
47
+ width: 100%;
48
+ z-index: 65000;
49
+
50
+ div {
51
+ @include border-radius(0 0 7px 7px);
52
+ @include box-shadow(#000, 1px, 1px, 10px, 1px);
53
+ @include opacity(0.9);
54
+ background: none repeat scroll 0 0 #555555;
55
+ color: #FFFFFF;
56
+ font-size: 120%;
57
+ margin: 0 auto;
58
+ padding: 5px;
59
+ position: relative;
60
+ text-align: center;
61
+ width: 700px;
62
+ }
63
+
64
+ p {
65
+ margin: 18px 50px;
66
+ }
67
+
68
+ a {
69
+ color: #FFFFFF;
70
+ display: inline-block;
71
+ font-size: 200%;
72
+ left: 670px;
73
+ padding: 5px;
74
+ position: absolute;
75
+ text-decoration: none;
76
+ top: 17px;
77
+ }
78
+
79
+ a:hover {
80
+ color: maroon;
81
+ }
82
+ }
83
+
84
+ #main-wrapper {
85
+ width: 915px;
86
+ margin: 20px auto 0 auto;
87
+ padding: 0 0 30px 0;
88
+ background: #f4f4f4;
89
+ @include border-radius(12px);
90
+ @include box-shadow(#010101, 0px,0px, 35px, 0px);
91
+ @include background-image(linear-gradient(#e9e9e9, #fff 40%, #fff));
92
+ border: 1px solid #fff;
93
+ }
94
+
95
+ header {
96
+ padding: 30px 0 30px 30px;
97
+ position: relative;
98
+ overflow: hidden;
99
+ border-bottom: 1px solid #ddd;
100
+ -moz-box-shadow: 0 1px 1px -1px #fff;
101
+
102
+ #user-info { position: absolute; top: 30px; right: 30px; }
103
+
104
+ h1 {
105
+ float: left;
106
+ margin: 0;
107
+
108
+ a {
109
+ color: #000;
110
+ text-decoration: none;
111
+ }
112
+
113
+ span {
114
+ font-size: 40%;
115
+ display: block;
116
+ line-height: 12px;
117
+ width: 140px;
118
+ text-align: center;
119
+ font-weight: normal;
120
+ }
121
+ }
122
+
123
+ nav {
124
+ float: left;
125
+ margin: 0 0 0 140px;
126
+
127
+ ul {
128
+ li {
129
+ display: inline-block;
130
+ margin: 0 0 0 3px;
131
+
132
+ a {
133
+ height: 27px;
134
+ line-height: 27px;
135
+ display: inline-block;
136
+ text-align: center;
137
+ padding: 0 20px;
138
+ margin: 6px 0;
139
+ @include link-colors(#222, #fff, #fff, #222, #fff);
140
+ @include border-radius(4px);
141
+ text-decoration: none;
142
+ }
143
+
144
+ a:hover {
145
+ background: #222 url(/themes/default/images/bg.jpg);
146
+ }
147
+
148
+ a.current { font-weight: bold; }
149
+ }
150
+ }
151
+ }
152
+
153
+ #searchbar {
154
+ width: 200px;
155
+ position: absolute;
156
+ top: 38px;
157
+ right: 30px;
158
+ font-size: 70%;
159
+ font-weight: normal;
160
+
161
+ #q {
162
+ @include border-radius(12px);
163
+ }
164
+ }
165
+ }
166
+
167
+ #body {
168
+ overflow: hidden;
169
+ padding: 30px 0 0 30px;
170
+
171
+ #content {
172
+ width: 625px;
173
+ float: left;
174
+ margin: 0 30px 0 0;
175
+
176
+ /* Pagination styles */
177
+ nav.pagination {
178
+ margin: 0 0 5px 0;
179
+
180
+
181
+
182
+ li {
183
+ display: inline-block;
184
+
185
+ a, span {
186
+ display: inline-block;
187
+ padding: 2px 8px;
188
+ border: 1px solid #aaa;
189
+ color: #555;
190
+ text-decoration: none;
191
+ font-weight: bold;
192
+ margin: 0 5px 0 0;
193
+ @include border-radius(4px);
194
+ @include background-image(linear-gradient(#fff, #fff 40%, #e9e9e9));
195
+ @include box-shadow(#aaa, 0px, 0px, 2px, 0px);
196
+ @include single-text-shadow(#fff, 1px, 1px, 0);
197
+ }
198
+
199
+ a:hover, a:focus {
200
+ @include background-image(none);
201
+ background: #fff;
202
+ color: #222;
203
+ }
204
+
205
+ a:active {
206
+ @include pagination-active;
207
+ }
208
+ }
209
+
210
+ li.current {
211
+ span {
212
+ cursor: default;
213
+ @include pagination-active;
214
+ }
215
+ }
216
+ }
217
+ }
218
+
219
+ aside {
220
+ width: 195px;
221
+ float: left;
222
+ }
223
+ }
224
+
225
+ footer {
226
+ font-size: 85%;
227
+ padding: 0 20px;
228
+ width: 855px;
229
+ margin: 0 auto 50px auto;
230
+
231
+ p {
232
+ color: #ccc;
233
+ @include single-text-shadow(#000, 1px, 1px, 0);
234
+ }
235
+ }
236
+
237
+ #toolbar {
238
+ position: fixed;
239
+ top: 0;
240
+ left: 0;
241
+ width: 100%;
242
+ min-width: 1024px;
243
+ z-index: 65000;
244
+ background: #bbb;
245
+ padding: 5px;
246
+
247
+ #toolbar-inner { width: 1000px; margin: 0 auto; position: relative; }
248
+
249
+ nav {
250
+ list-style: none;
251
+ overflow: hidden;
252
+
253
+ li {
254
+ float: left;
255
+
256
+ a { display: block; padding: 7px 20px; }
257
+ }
258
+
259
+ ul { display: none; }
260
+ }
261
+ }
262
+
263
+ #login-area { right: 0; top: 7px; position: absolute; }
264
+ }
@@ -1,32 +1,18 @@
1
- @charset "utf-8";
2
- /*==============================================================================
1
+ @import "compass/typography/links/link-colors";
3
2
 
4
- Title : Playmo CSS Framework (https://github.com/tanraya/playmo)
5
- Name : default.css
6
-
7
- ATTENTION! DO NOT ADD YOUR CUSTOM STYLES IN THIS FILE!
8
-
9
- ================================================================================
10
-
11
- 1. General Elements
12
- 2. Headings
13
- 3. Lists
14
- 4. Tables
15
- 5. Article markup
16
- 6. Images
17
- 7. Other styles
18
-
19
- ==============================================================================*/
20
3
  /* 1. General Elements =======================================================*/
21
4
  body {
22
5
  background-color: #fff;
23
- font: .75em/18px "Helvetica Neue", Arial, Helvetica, sans-serif;
6
+ font: .75em/18px $base-font-family;
24
7
  }
25
8
 
9
+ a { @include link-colors($link-color, $link-hover-color, $link-active-color, $link-color, $link-hover-color); }
10
+
26
11
  /* 2. Headings */
27
- h1, h2, h3, h4, h5, h6 {
12
+ #{headings(all)} {
28
13
  margin: 0 0 10px 0;
29
14
  padding: 0;
15
+ line-height: 1.2em;
30
16
  }
31
17
 
32
18
  h1 { font-size: 2em; } /* 100% */
@@ -43,15 +29,18 @@ ul, ol, dl { list-style: none; margin: 0; padding: 0; }
43
29
  table {
44
30
  border-collapse: collapse;
45
31
  border-spacing: 0;
46
- }
32
+
47
33
  caption, th, td {
48
34
  text-align: left;
49
35
  font-weight: normal;
50
36
  padding: 0;
51
37
  vertical-align: top;
52
38
  }
39
+ }
40
+
53
41
 
54
42
  /* 5. Article markup */
43
+ strong { font-weight: bold; }
55
44
  em { font-style: italic; }
56
45
  sup, sub { vertical-align: baseline; position: relative; }
57
46
  sup { top: -0.4em; }
@@ -67,7 +56,7 @@ p {
67
56
  height: 0;
68
57
  visibility: hidden;
69
58
  }
70
-
59
+
71
60
  p:after { clear: both; }
72
61
 
73
62
  blockquote {
@@ -80,6 +69,8 @@ pre, code, kbd, samp, var {
80
69
  font: 0.9em Consolas, "Courier New", monospace, sans-serif;
81
70
  }
82
71
 
72
+ pre { margin: 0 0 18px 0; padding: 0; }
73
+
83
74
  /* 6. Images */
84
75
  a img { border: 0; }
85
76
  img.f-left { float: left; margin: 0 18px 0 0; clear: left; }
@@ -87,4 +78,4 @@ img.f-right { float: right; margin: 0 0 0 18px; }
87
78
 
88
79
  /* 7. Other styles */
89
80
  ::-moz-selection{ background: #555; color:#fff; }
90
- ::selection { background: #555; color:#fff; }
81
+ ::selection { background: #555; color:#fff; }
@@ -0,0 +1,7 @@
1
+ .field_with_errors {
2
+ span.error {
3
+ color: red;
4
+ padding: 0 0 0 7px;
5
+ display: block;
6
+ }
7
+ }
@@ -3,12 +3,12 @@ $base-font-size: 13px !default;
3
3
  $base-line-height: 1.231 !default;
4
4
 
5
5
  //
6
- // Font normalization inspired by from the YUI Library's fonts.css: developer.yahoo.com/yui
6
+ // Font normalization inspired by YUI Library's fonts.css: developer.yahoo.com/yui/
7
7
  // Whatever parts of this port of YUI to Sass that are copyrightable, are Copyright (c) 2008, Christopher Eppstein. All Rights Reserved.
8
8
  //
9
9
 
10
10
  @mixin html5-boilerplate-fonts($family: $base-font-family, $size: $base-font-size, $line-height: $base-line-height) {
11
- body {
11
+ body {
12
12
  font-size: $size;
13
13
  font-family: $family;
14
14
  line-height: $line-height; // hack retained to preserve specificity
@@ -17,15 +17,13 @@ $base-line-height: 1.231 !default;
17
17
 
18
18
  select, input, textarea, button { font: 99% $family; }
19
19
 
20
- // normalize monospace sizing
21
- // meyerweb.com/eric/thoughts/2010/02/12/fixed-monospace-sizing/
20
+ // Normalize monospace sizing:
22
21
  // en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome
23
22
  pre, code, kbd, samp { font-family: monospace, sans-serif; }
24
23
  }
25
24
 
26
- // maxvoltar.com/archive/-webkit-font-smoothing
27
25
  @mixin font-smoothing {
28
- -webkit-font-smoothing: antialiased;
26
+ @warn "The 'font-smoothing' mixin has been deprecated as it made monospace too thin.";
29
27
  }
30
28
 
31
29
  // Sets the font size specified in pixels using percents so that the base
@@ -44,3 +42,4 @@ $base-line-height: 1.231 !default;
44
42
  @mixin font-size($size, $base-font-size: $base-font-size) {
45
43
  font-size: ceil(percentage($size / $base-font-size));
46
44
  }
45
+
@@ -45,6 +45,11 @@
45
45
  // www.webaim.org/techniques/css/invisiblecontent/ & j.mp/visuallyhidden
46
46
  @mixin visually-hidden {
47
47
  border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px;
48
+ // Extends the .visuallyhidden class to allow the element to be focusable
49
+ // when navigated to via the keyboard: drupal.org/node/897638
50
+ &.focusable:active, &.focusable:focus {
51
+ clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto;
52
+ }
48
53
  }
49
54
 
50
55
  // Hide visually and from screenreaders, but maintain layout
@@ -54,4 +59,4 @@
54
59
  @mixin magnificent-clearfix {
55
60
  @warn "The 'magnificent-clearfix' mixin has been deprecated. Use 'pie-clearfix' in compass core instead.";
56
61
  @include pie-clearfix;
57
- }
62
+ }
@@ -3,7 +3,7 @@
3
3
  @include media-print;
4
4
  }
5
5
 
6
- @media all and (orientation:portrait) {
6
+ @media all and (orientation:portrait) {
7
7
  @include media-orientation-portrait;
8
8
  }
9
9
 
@@ -17,16 +17,16 @@
17
17
  }
18
18
 
19
19
  //
20
- // print styles
21
- // inlined to avoid required HTTP connection www.phpied.com/delay-loading-your-print-css/
20
+ // Print styles
21
+ // Inlined to avoid required HTTP connection www.phpied.com/delay-loading-your-print-css/
22
22
 
23
23
  @mixin media-print {
24
24
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
25
- -ms-filter: none !important; } // black prints faster: sanbeiji.com/archives/953
25
+ -ms-filter: none !important; } // Black prints faster: sanbeiji.com/archives/953
26
26
  a, a:visited { color: #444 !important; text-decoration: underline; }
27
27
  a[href]:after { content: " (" attr(href) ")"; }
28
28
  abbr[title]:after { content: " (" attr(title) ")"; }
29
- .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } // don't show links for images, or javascript/internal links
29
+ .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } // Don't show links for images, or javascript/internal links
30
30
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
31
31
  thead { display: table-header-group; } // css-discuss.incutio.com/wiki/Printing_Tables
32
32
  tr, img { page-break-inside: avoid; }
@@ -37,8 +37,8 @@
37
37
 
38
38
 
39
39
  //
40
- // media queries for responsive design
41
- // these follow after primary styles so they will successfully override.
40
+ // Media queries for responsive design
41
+ // These follow after primary styles so they will successfully override.
42
42
  //
43
43
 
44
44
  @mixin media-orientation-portrait {
@@ -54,7 +54,8 @@
54
54
  @mixin media-mobile($optimize: true) {
55
55
  // j.mp/textsizeadjust
56
56
  @if not $optimize {
57
- // don't allow iOS and WinMobile to mobile-optimize text
58
- html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; }
57
+ // Don't allow iOS and WinMobile to mobile-optimize text
58
+ html { -webkit-text-size-adjust: none; -ms-text-size-adjust: none; }
59
59
  }
60
60
  }
61
+