pure-sass 0.0.2 → 0.0.3

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.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +4 -0
  3. data/.ruby-gemset +1 -0
  4. data/.ruby-version +1 -0
  5. data/Guardfile +1 -0
  6. data/README.md +10 -1
  7. data/Rakefile +72 -10
  8. data/app/assets/stylesheets/pure/all.css.scss +7 -0
  9. data/app/assets/stylesheets/pure/base/normalize-context.css.scss +233 -0
  10. data/app/assets/stylesheets/pure/base/{normalize.css.sass → normalize.css.scss} +307 -204
  11. data/app/assets/stylesheets/pure/base.css.scss +2 -0
  12. data/app/assets/stylesheets/pure/buttons/buttons-core.css.scss +27 -0
  13. data/app/assets/stylesheets/pure/buttons/buttons-theme.css.scss +110 -0
  14. data/app/assets/stylesheets/pure/buttons/buttons.css.scss +83 -0
  15. data/app/assets/stylesheets/pure/buttons.css.scss +3 -0
  16. data/app/assets/stylesheets/pure/defaults.css.scss +44 -0
  17. data/app/assets/stylesheets/pure/forms/{forms-core.css.sass → forms-core.css.scss} +91 -74
  18. data/app/assets/stylesheets/pure/forms/forms-r.css.scss +31 -0
  19. data/app/assets/stylesheets/pure/forms/forms-theme.css.scss +362 -0
  20. data/app/assets/stylesheets/pure/forms/forms.css.scss +167 -0
  21. data/app/assets/stylesheets/pure/forms.css.scss +4 -0
  22. data/app/assets/stylesheets/pure/grids/grids-core.css.scss +24 -0
  23. data/app/assets/stylesheets/pure/grids/grids-r.css.scss +54 -0
  24. data/app/assets/stylesheets/pure/grids/grids-units.css.scss +147 -0
  25. data/app/assets/stylesheets/pure/grids.css.scss +3 -0
  26. data/app/assets/stylesheets/pure/lists/lists-theme.css.scss +241 -0
  27. data/app/assets/stylesheets/pure/menus/menus-core.css.scss +111 -0
  28. data/app/assets/stylesheets/pure/menus/menus-paginator.css.scss +31 -0
  29. data/app/assets/stylesheets/pure/menus/menus-r.css.scss +14 -0
  30. data/app/assets/stylesheets/pure/menus/menus.css.scss +78 -0
  31. data/app/assets/stylesheets/pure/menus.css.scss +4 -0
  32. data/app/assets/stylesheets/pure/tables/tables-theme.css.scss +72 -0
  33. data/app/assets/stylesheets/pure/tables/tables.css.scss +82 -0
  34. data/app/assets/stylesheets/pure/tables.css.scss +2 -0
  35. data/lib/pure/sass/default_translation.rb +28 -0
  36. data/lib/pure/sass/translation.rb +24 -0
  37. data/lib/pure/sass/version.rb +1 -1
  38. data/lib/pure/sass.rb +2 -0
  39. data/pure-sass.gemspec +2 -1
  40. data/spec/acceptance/sass_spec.rb +10 -0
  41. data/spec/fixtures/buttons.css.handlebars +110 -0
  42. data/spec/fixtures/form.css.handlebars +362 -0
  43. data/spec/fixtures/list.css.handlebars +241 -0
  44. data/spec/fixtures/table.css.handlebars +72 -0
  45. data/spec/lib/pure/sass/default_translation_spec.rb +18 -0
  46. data/spec/lib/pure/sass/translation_spec.rb +19 -0
  47. data/spec/sass_importer.rb +14 -0
  48. data/spec/spec_helper.rb +2 -1
  49. metadata +78 -28
  50. data/app/assets/stylesheets/pure/all.css.sass +0 -7
  51. data/app/assets/stylesheets/pure/base/normalize-context.css.sass +0 -152
  52. data/app/assets/stylesheets/pure/base.css.sass +0 -2
  53. data/app/assets/stylesheets/pure/buttons/buttons-core.css.sass +0 -23
  54. data/app/assets/stylesheets/pure/buttons/buttons.css.sass +0 -103
  55. data/app/assets/stylesheets/pure/buttons.css.sass +0 -2
  56. data/app/assets/stylesheets/pure/defaults.css.sass +0 -0
  57. data/app/assets/stylesheets/pure/forms/forms-r.css.sass +0 -22
  58. data/app/assets/stylesheets/pure/forms/forms.css.sass +0 -128
  59. data/app/assets/stylesheets/pure/forms.css.sass +0 -3
  60. data/app/assets/stylesheets/pure/grids/grids-core.css.sass +0 -26
  61. data/app/assets/stylesheets/pure/grids/grids-r.css.sass +0 -34
  62. data/app/assets/stylesheets/pure/grids/grids-units.css.sass +0 -93
  63. data/app/assets/stylesheets/pure/grids.css.sass +0 -3
  64. data/app/assets/stylesheets/pure/menus/menus-core.css.sass +0 -99
  65. data/app/assets/stylesheets/pure/menus/menus-paginator.css.sass +0 -24
  66. data/app/assets/stylesheets/pure/menus/menus-r.css.sass +0 -8
  67. data/app/assets/stylesheets/pure/menus/menus.css.sass +0 -65
  68. data/app/assets/stylesheets/pure/menus.css.sass +0 -4
  69. data/app/assets/stylesheets/pure/tables/tables.css.sass +0 -68
  70. data/app/assets/stylesheets/pure/tables.css.sass +0 -1
  71. data/spec/assets_spec.rb +0 -21
@@ -0,0 +1,362 @@
1
+
2
+ /*! Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
3
+ /* This page lists core form styles adopted from Normalize.css. */
4
+ /*! Copyright (c) Nicolas Gallagher and Jonathan Neal */
5
+
6
+ /*! normalize.css v1.1.0 | MIT License | git.io/normalize */
7
+
8
+ /* This page has Normalize.css form-specific style rules applied to a .yui3-form context */
9
+
10
+ /* ==========
11
+ Forms Core
12
+ =========*/
13
+
14
+
15
+ /*
16
+ * Corrects margin displayed oddly in IE 6/7.
17
+ */
18
+
19
+ .pure-form {
20
+ margin: 0;
21
+ }
22
+
23
+ /* Define consistent border, margin, and padding.*/
24
+
25
+
26
+ .pure-form fieldset {
27
+ border: 1px solid #c0c0c0;
28
+ margin: 0 2px;
29
+ padding: 0.35em 0.625em 0.75em;
30
+ }
31
+
32
+ /*
33
+ * 1. Corrects color not being inherited in IE 6/7/8/9.
34
+ * 2. Corrects text not wrapping in Firefox 3.
35
+ * 3. Corrects alignment displayed oddly in IE 6/7.
36
+ */
37
+
38
+ .pure-form legend {
39
+ border: 0; /* 1 */
40
+ padding: 0;
41
+ white-space: normal; /* 2 */
42
+ *margin-left: -7px; /* 3 */
43
+ }
44
+
45
+ /*
46
+ * 1. Corrects font size not being inherited in all browsers.
47
+ * 2. Addresses margins set differently in IE 6/7, Firefox 3+, Safari 5,
48
+ * and Chrome.
49
+ * 3. Improves appearance and consistency in all browsers.
50
+ */
51
+
52
+ .pure-form button,
53
+ .pure-form input,
54
+ .pure-form select,
55
+ .pure-form textarea {
56
+ font-size: 100%; /* 1 */
57
+ margin: 0; /* 2 */
58
+ vertical-align: baseline; /* 3 */
59
+ *vertical-align: middle; /* 3 */
60
+ }
61
+
62
+ /*
63
+ * Addresses Firefox 3+ setting `line-height` on `input` using `!important` in
64
+ * the UA stylesheet.
65
+ */
66
+
67
+ .pure-form button,
68
+ .pure-form input {
69
+ line-height: normal;
70
+ }
71
+
72
+ /*
73
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
74
+ * and `video` controls.
75
+ * 2. Corrects inability to style clickable `input` types in iOS.
76
+ * 3. Improves usability and consistency of cursor style between image-type
77
+ * `input` and others.
78
+ * 4. Removes inner spacing in IE 7 without affecting normal text inputs.
79
+ * Known issue: inner spacing remains in IE 6.
80
+ */
81
+
82
+ .pure-form button,
83
+ .pure-form input[type="button"], /* 1 */
84
+ .pure-form input[type="reset"],
85
+ .pure-form input[type="submit"] {
86
+ -webkit-appearance: button; /* 2 */
87
+ cursor: pointer; /* 3 */
88
+ *overflow: visible; /* 4 */
89
+ }
90
+
91
+ /*
92
+ * Re-set default cursor for disabled elements.
93
+ */
94
+
95
+ .pure-form button[disabled],
96
+ .pure-form input[disabled] {
97
+ cursor: default;
98
+ }
99
+
100
+ /*
101
+ * 1. Addresses box sizing set to content-box in IE 8/9.
102
+ * 2. Removes excess padding in IE 8/9.
103
+ * 3. Removes excess padding in IE 7.
104
+ * Known issue: excess padding remains in IE 6.
105
+ */
106
+
107
+ .pure-form input[type="checkbox"],
108
+ .pure-form input[type="radio"] {
109
+ box-sizing: border-box; /* 1 */
110
+ padding: 0; /* 2 */
111
+ *height: 13px; /* 3 */
112
+ *width: 13px; /* 3 */
113
+ }
114
+
115
+ /*
116
+ * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
117
+ * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
118
+ * (include `-moz` to future-proof).
119
+ */
120
+
121
+ .pure-form input[type="search"] {
122
+ -webkit-appearance: textfield; /* 1 */
123
+ -moz-box-sizing: content-box;
124
+ -webkit-box-sizing: content-box; /* 2 */
125
+ box-sizing: content-box;
126
+ }
127
+
128
+ /*
129
+ * Removes inner padding and search cancel button in Safari 5 and Chrome
130
+ * on OS X.
131
+ */
132
+
133
+ .pure-form input[type="search"]::-webkit-search-cancel-button,
134
+ .pure-form input[type="search"]::-webkit-search-decoration {
135
+ -webkit-appearance: none;
136
+ }
137
+
138
+ /*
139
+ * Removes inner padding and border in Firefox 3+.
140
+ */
141
+
142
+ .pure-form button::-moz-focus-inner,
143
+ .pure-form input::-moz-focus-inner {
144
+ border: 0;
145
+ padding: 0;
146
+ }
147
+
148
+ /*
149
+ * 1. Removes default vertical scrollbar in IE 6/7/8/9.
150
+ * 2. Improves readability and alignment in all browsers.
151
+ */
152
+
153
+ .pure-form textarea {
154
+ overflow: auto; /* 1 */
155
+ vertical-align: top; /* 2 */
156
+ }
157
+ /* =============== forms-responsive.css ================
158
+
159
+ =========================================================*/
160
+ @media only screen and (max-width : 480px) {
161
+ .pure-form button[type='submit'] {
162
+ margin: 0.7em 0 0;
163
+ }
164
+
165
+ .pure-form input[type='text'], .pure-form button, .pure-form label {
166
+ margin-bottom: 0.3em;
167
+ display: block;
168
+ }
169
+
170
+ .yui3-group input[type='text'] {
171
+ margin-bottom: 0;
172
+ }
173
+
174
+ .pure-form-aligned .pure-control-group label {
175
+ margin-bottom: 0.3em;
176
+ text-align: left;
177
+ display: block;
178
+ width: 100%;
179
+ }
180
+
181
+ .pure-form-aligned .pure-controls {
182
+ margin: 1.5em 0 0 0;
183
+ }
184
+
185
+ .pure-form .pure-help-inline {
186
+ display: block;
187
+ font-size: 80%;
188
+ padding: 0.2em 0 0.8em; /* increased bottom padding to make it group with its related input element */
189
+ }
190
+ }
191
+
192
+ /* =============== forms.css ================
193
+
194
+ =========================================================*/
195
+ .pure-form input,
196
+ .pure-form select {
197
+ padding: $input-padding;
198
+ display: inline-block;
199
+ border: 1px solid $input-border;
200
+ font-size: 0.8em;
201
+ box-shadow: inset 0 1px 3px $input-border;
202
+ border-radius: $input-radius;
203
+ -webkit-transition: 0.3s linear border;
204
+ -moz-transition: 0.3s linear border;
205
+ -ms-transition: 0.3s linear border;
206
+ -o-transition: 0.3s linear border;
207
+ transition: 0.3s linear border;
208
+ -moz-box-sizing: border-box;
209
+ -webkit-box-sizing: border-box;
210
+ box-sizing: border-box;
211
+ -webkit-font-smoothing: antialiased;
212
+ }
213
+
214
+ .pure-form input:focus,
215
+ .pure-form select:focus {
216
+ outline: 0;
217
+ outline: thin dotted \9; /* IE6-9 */
218
+ border-color: #129FEA;
219
+ }
220
+ .pure-form .pure-checkbox,
221
+ .pure-form .pure-radio {
222
+ margin: 0.5em 0;
223
+ display: block;
224
+ }
225
+ .pure-form input[disabled],
226
+ .pure-form select[disabled],
227
+ .pure-form textarea[disabled],
228
+ .pure-form input[readonly],
229
+ .pure-form select[readonly],
230
+ .pure-form textarea[readonly] {
231
+ cursor: not-allowed;
232
+ box-shadow: inset 0 1px 10px $input-shadow-inset;
233
+ background-color: #fff;
234
+ color: $disabled-text;
235
+ border-color: $input-border;
236
+ }
237
+ .pure-form input:focus:invalid,
238
+ .pure-form textarea:focus:invalid,
239
+ .pure-form select:focus:invalid {
240
+ color: #b94a48;
241
+ border: 1px solid #ee5f5b;
242
+ }
243
+ .pure-form input:focus:invalid:focus,
244
+ .pure-form textarea:focus:invalid:focus,
245
+ .pure-form select:focus:invalid:focus {
246
+ border-color: #e9322d;
247
+ }
248
+ .pure-form select {
249
+ border: 1px solid $input-border;
250
+ background-color: white;
251
+ }
252
+ .pure-form select[multiple] {
253
+ height: auto;
254
+ }
255
+ .pure-form label {
256
+ margin: 0.5em 0 0.2em;
257
+ color: $label;
258
+ font-size:90%;
259
+ }
260
+ .pure-form fieldset {
261
+ margin: 0;
262
+ padding: 0.35em 0 0.75em;
263
+ border: 0;
264
+ }
265
+ .pure-form legend {
266
+ display: block;
267
+ width: 100%;
268
+ padding: 0.3em 0;
269
+ margin-bottom: 0.3em;
270
+ font-size: 125%;
271
+ color: $legend-text;
272
+ border-bottom: 1px solid $legend-rule;
273
+ }
274
+
275
+ .pure-form.pure-form-stacked input[type='text'],
276
+ .pure-form.pure-form-stacked select,
277
+ .pure-form.pure-form-stacked label {
278
+ display: block;
279
+ }
280
+
281
+ .pure-form-aligned input,
282
+ .pure-form-aligned textarea,
283
+ .pure-form-aligned select,
284
+ .pure-form-aligned .pure-help-inline {
285
+ display: inline-block;
286
+ *display: inline; /* IE7 inline-block hack */
287
+ *zoom: 1;
288
+ vertical-align: middle;
289
+ }
290
+
291
+ /* aligned Forms */
292
+ .pure-form-aligned .pure-control-group {
293
+ margin-bottom: 0.5em;
294
+ }
295
+ .pure-form-aligned .pure-control-group label {
296
+ text-align: right;
297
+ display: inline-block;
298
+ vertical-align: middle;
299
+ width: 10em;
300
+ margin: 0 1em 0 0;
301
+ }
302
+ .pure-form-aligned .pure-controls {
303
+ margin: 1.5em 0 0 10em;
304
+ }
305
+
306
+ /* Rounded Inputs */
307
+ .pure-form .pure-input-rounded {
308
+ border-radius: $input-radius-rounded;
309
+ padding-left: 1em;
310
+ }
311
+
312
+ /* Grouped Inputs */
313
+ .pure-form .pure-group fieldset {
314
+ margin-bottom: 10px;
315
+ }
316
+ .pure-form .pure-group input {
317
+ display: block;
318
+ padding: $input-padding;
319
+ margin: 0;
320
+ border-radius: 0;
321
+ position: relative;
322
+ top: -1px;
323
+ }
324
+ .pure-form .pure-group input:focus {
325
+ z-index: 2;
326
+ }
327
+ .pure-form .pure-group input:first-child {
328
+ top: 1px;
329
+ border-radius: $input-group-first-radius;
330
+ }
331
+ .pure-form .pure-group input:last-child {
332
+ top: -2px;
333
+ border-radius: $input-group-last-radius;
334
+ }
335
+ .pure-form .pure-group button {
336
+ margin: 0.35em 0;
337
+ }
338
+
339
+ .pure-form .pure-input-1 {
340
+ width: 100%;
341
+ }
342
+ .pure-form .pure-input-2-3 {
343
+ width: 66%;
344
+ }
345
+ .pure-form .pure-input-1-2 {
346
+ width: 50%;
347
+ }
348
+ .pure-form .pure-input-1-3 {
349
+ width: 33%;
350
+ }
351
+ .pure-form .pure-input-1-4 {
352
+ width: 25%;
353
+ }
354
+
355
+ /* Inline help for forms */
356
+ .pure-form .pure-help-inline {
357
+ display: inline-block;
358
+ padding-left: 0.3em;
359
+ color: $inline-help-text;
360
+ font-size:90%;
361
+ vertical-align: middle;
362
+ }
@@ -0,0 +1,167 @@
1
+ .pure-form input,
2
+ .pure-form select {
3
+ padding: 0.5em 0.6em;
4
+ display: inline-block;
5
+ border: 1px solid #ccc;
6
+ font-size: 0.8em;
7
+ box-shadow: inset 0 1px 3px #ddd;
8
+ border-radius: 4px;
9
+ -webkit-transition: 0.3s linear border;
10
+ -moz-transition: 0.3s linear border;
11
+ -ms-transition: 0.3s linear border;
12
+ -o-transition: 0.3s linear border;
13
+ transition: 0.3s linear border;
14
+ -moz-box-sizing: border-box;
15
+ -webkit-box-sizing: border-box;
16
+ box-sizing: border-box;
17
+ -webkit-font-smoothing: antialiased;
18
+ }
19
+
20
+ .pure-form input:focus,
21
+ .pure-form select:focus {
22
+ outline: 0;
23
+ outline: thin dotted \9; /* IE6-9 */
24
+ border-color: #129FEA;
25
+ }
26
+ .pure-form .pure-checkbox,
27
+ .pure-form .pure-radio {
28
+ margin: 0.5em 0;
29
+ display: block;
30
+ }
31
+ .pure-form input[disabled],
32
+ .pure-form select[disabled],
33
+ .pure-form textarea[disabled],
34
+ .pure-form input[readonly],
35
+ .pure-form select[readonly],
36
+ .pure-form textarea[readonly] {
37
+ cursor: not-allowed;
38
+ background-color: #eaeded;
39
+ color: #cad2d3;
40
+ border-color: transparent;
41
+ }
42
+ .pure-form input:focus:invalid,
43
+ .pure-form textarea:focus:invalid,
44
+ .pure-form select:focus:invalid {
45
+ color: #b94a48;
46
+ border: 1px solid #ee5f5b;
47
+ }
48
+ .pure-form input:focus:invalid:focus,
49
+ .pure-form textarea:focus:invalid:focus,
50
+ .pure-form select:focus:invalid:focus {
51
+ border-color: #e9322d;
52
+ }
53
+ .pure-form select {
54
+ border: 1px solid #ccc;
55
+ background-color: white;
56
+ }
57
+ .pure-form select[multiple] {
58
+ height: auto;
59
+ }
60
+ .pure-form label {
61
+ margin: 0.5em 0 0.2em;
62
+ color: #999;
63
+ font-size:90%;
64
+ }
65
+ .pure-form fieldset {
66
+ margin: 0;
67
+ padding: 0.35em 0 0.75em;
68
+ border: 0;
69
+ }
70
+ .pure-form legend {
71
+ display: block;
72
+ width: 100%;
73
+ padding: 0.3em 0;
74
+ margin-bottom: 0.3em;
75
+ font-size: 125%;
76
+ color: #333;
77
+ border-bottom: 1px solid #e5e5e5;
78
+ }
79
+
80
+ .pure-form.pure-form-stacked input[type='text'],
81
+ .pure-form.pure-form-stacked select,
82
+ .pure-form.pure-form-stacked label {
83
+ display: block;
84
+ }
85
+
86
+ .pure-form-aligned input,
87
+ .pure-form-aligned textarea,
88
+ .pure-form-aligned select,
89
+ .pure-form-aligned .pure-help-inline {
90
+ display: inline-block;
91
+ *display: inline; /* IE7 inline-block hack */
92
+ *zoom: 1;
93
+ vertical-align: middle;
94
+ }
95
+
96
+ /* aligned Forms */
97
+ .pure-form-aligned .pure-control-group {
98
+ margin-bottom: 0.5em;
99
+ }
100
+ .pure-form-aligned .pure-control-group label {
101
+ text-align: right;
102
+ display: inline-block;
103
+ vertical-align: middle;
104
+ width: 10em;
105
+ margin: 0 1em 0 0;
106
+ }
107
+ .pure-form-aligned .pure-controls {
108
+ margin: 1.5em 0 0 10em;
109
+ }
110
+
111
+ /* Rounded Inputs */
112
+ .pure-form .pure-input-rounded {
113
+ border-radius: 20px;
114
+ padding-left:1em;
115
+ }
116
+
117
+ /* Grouped Inputs */
118
+ .pure-form .pure-group fieldset {
119
+ margin-bottom: 10px;
120
+ }
121
+ .pure-form .pure-group input {
122
+ display: block;
123
+ padding: 10px;
124
+ margin: 0;
125
+ border-radius: 0;
126
+ position: relative;
127
+ top: -1px;
128
+ }
129
+ .pure-form .pure-group input:focus {
130
+ z-index: 2;
131
+ }
132
+ .pure-form .pure-group input:first-child {
133
+ top: 1px;
134
+ border-radius: 4px 4px 0 0;
135
+ }
136
+ .pure-form .pure-group input:last-child {
137
+ top: -2px;
138
+ border-radius: 0 0 4px 4px;
139
+ }
140
+ .pure-form .pure-group button {
141
+ margin: 0.35em 0;
142
+ }
143
+
144
+ .pure-form .pure-input-1 {
145
+ width: 100%;
146
+ }
147
+ .pure-form .pure-input-2-3 {
148
+ width: 66%;
149
+ }
150
+ .pure-form .pure-input-1-2 {
151
+ width: 50%;
152
+ }
153
+ .pure-form .pure-input-1-3 {
154
+ width: 33%;
155
+ }
156
+ .pure-form .pure-input-1-4 {
157
+ width: 25%;
158
+ }
159
+
160
+ /* Inline help for forms */
161
+ .pure-form .pure-help-inline {
162
+ display: inline-block;
163
+ padding-left: 0.3em;
164
+ color: #666;
165
+ vertical-align: middle;
166
+ font-size: 90%;
167
+ }
@@ -0,0 +1,4 @@
1
+ @import "forms/forms-core";
2
+ @import "forms/forms-r";
3
+ @import "forms/forms-theme";
4
+ @import "forms/forms";
@@ -0,0 +1,24 @@
1
+ .pure-g {
2
+ letter-spacing: -0.31em; /* Webkit: collapse white-space between units */
3
+ *letter-spacing: normal; /* reset IE < 8 */
4
+ *word-spacing: -0.43em; /* IE < 8: collapse white-space between units */
5
+ text-rendering: optimizespeed; /* Webkit: fixes text-rendering: optimizeLegibility */
6
+ }
7
+
8
+ /* Opera as of 12 on Windows needs word-spacing.
9
+ The ".opera-only" selector is used to prevent actual prefocus styling
10
+ and is not required in markup.
11
+ */
12
+ .opera-only :-o-prefocus,
13
+ .pure-g {
14
+ word-spacing: -0.43em;
15
+ }
16
+
17
+ .pure-u {
18
+ display: inline-block;
19
+ zoom: 1; *display: inline; /* IE < 8: fake inline-block */
20
+ letter-spacing: normal;
21
+ word-spacing: normal;
22
+ vertical-align: top;
23
+ text-rendering: auto;
24
+ }
@@ -0,0 +1,54 @@
1
+ .pure-g-r {
2
+ letter-spacing: -0.31em;
3
+ *letter-spacing: normal;
4
+ *word-spacing: -0.43em;
5
+ }
6
+
7
+ /* Opera as of 12 on Windows needs word-spacing.
8
+ The ".opera-only" selector is used to prevent actual prefocus styling
9
+ and is not required in markup.
10
+ */
11
+ .opera-only :-o-prefocus,
12
+ .pure-g-r {
13
+ word-spacing: -0.43em;
14
+ }
15
+
16
+ .pure-g-r img {
17
+ max-width: 100%;
18
+ }
19
+
20
+ @media (min-width:980px) {
21
+ .pure-visible-phone {
22
+ display: none;
23
+ }
24
+ .pure-visible-tablet {
25
+ display: none;
26
+ }
27
+ .pure-hidden-desktop {
28
+ display: none;
29
+ }
30
+ }
31
+ @media (max-width:480px) {
32
+ .pure-g-r > [class ^= "pure-u"] {
33
+ width: 100%;
34
+ }
35
+ }
36
+ @media (max-width:767px) {
37
+ .pure-g-r > [class ^= "pure-u"] {
38
+ width: 100%;
39
+ }
40
+ .pure-hidden-phone {
41
+ display: none;
42
+ }
43
+ .pure-visible-desktop {
44
+ display: none;
45
+ }
46
+ }
47
+ @media (min-width:768px) and (max-width:979px) {
48
+ .pure-hidden-tablet {
49
+ display: none;
50
+ }
51
+ .pure-visible-desktop {
52
+ display: none;
53
+ }
54
+ }