purecss 0.0.1alpha3 → 0.0.2

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