themepile-abstractio 1.0.2

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 (84) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +28 -0
  3. data/.rbenv-version +1 -0
  4. data/CONTRIBUTING.md +53 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE +22 -0
  7. data/README.md +136 -0
  8. data/Rakefile +2 -0
  9. data/abstractio.gemspec +18 -0
  10. data/js/foundation/foundation.alerts.js +50 -0
  11. data/js/foundation/foundation.clearing.js +516 -0
  12. data/js/foundation/foundation.cookie.js +74 -0
  13. data/js/foundation/foundation.dropdown.js +159 -0
  14. data/js/foundation/foundation.forms.js +516 -0
  15. data/js/foundation/foundation.joyride.js +842 -0
  16. data/js/foundation/foundation.js +403 -0
  17. data/js/foundation/foundation.magellan.js +130 -0
  18. data/js/foundation/foundation.orbit.js +373 -0
  19. data/js/foundation/foundation.placeholder.js +159 -0
  20. data/js/foundation/foundation.reveal.js +276 -0
  21. data/js/foundation/foundation.section.js +409 -0
  22. data/js/foundation/foundation.tooltips.js +206 -0
  23. data/js/foundation/foundation.topbar.js +252 -0
  24. data/js/foundation/index.js +16 -0
  25. data/js/vendor/custom.modernizr.js +4 -0
  26. data/js/vendor/jquery.js +9597 -0
  27. data/js/vendor/zepto.js +1884 -0
  28. data/lib/abstractio.rb +17 -0
  29. data/lib/abstractio/engine.rb +20 -0
  30. data/lib/abstractio/generators/USAGE +15 -0
  31. data/lib/abstractio/generators/install_generator.rb +54 -0
  32. data/lib/abstractio/generators/templates/application.html.erb +46 -0
  33. data/lib/abstractio/generators/templates/application.html.haml +31 -0
  34. data/lib/abstractio/generators/templates/application.html.slim +28 -0
  35. data/lib/abstractio/version.rb +3 -0
  36. data/lib/themepile-abstractio.rb +17 -0
  37. data/scss/abstractio.scss +46 -0
  38. data/scss/abstractio/_variables.scss +1224 -0
  39. data/scss/abstractio/components/_alert-boxes.scss +107 -0
  40. data/scss/abstractio/components/_block-grid.scss +68 -0
  41. data/scss/abstractio/components/_breadcrumbs.scss +125 -0
  42. data/scss/abstractio/components/_button-groups.scss +89 -0
  43. data/scss/abstractio/components/_buttons.scss +227 -0
  44. data/scss/abstractio/components/_clearing.scss +224 -0
  45. data/scss/abstractio/components/_custom-forms.scss +263 -0
  46. data/scss/abstractio/components/_dropdown-buttons.scss +115 -0
  47. data/scss/abstractio/components/_dropdown.scss +150 -0
  48. data/scss/abstractio/components/_flex-video.scss +46 -0
  49. data/scss/abstractio/components/_forms.scss +362 -0
  50. data/scss/abstractio/components/_global.scss +280 -0
  51. data/scss/abstractio/components/_grid.scss +186 -0
  52. data/scss/abstractio/components/_inline-lists.scss +53 -0
  53. data/scss/abstractio/components/_joyride.scss +215 -0
  54. data/scss/abstractio/components/_keystrokes.scss +57 -0
  55. data/scss/abstractio/components/_labels.scss +85 -0
  56. data/scss/abstractio/components/_magellan.scss +23 -0
  57. data/scss/abstractio/components/_orbit.scss +213 -0
  58. data/scss/abstractio/components/_pagination.scss +100 -0
  59. data/scss/abstractio/components/_panels.scss +77 -0
  60. data/scss/abstractio/components/_pricing-tables.scss +131 -0
  61. data/scss/abstractio/components/_progress-bars.scss +71 -0
  62. data/scss/abstractio/components/_reveal.scss +132 -0
  63. data/scss/abstractio/components/_section.scss +318 -0
  64. data/scss/abstractio/components/_side-nav.scss +69 -0
  65. data/scss/abstractio/components/_split-buttons.scss +167 -0
  66. data/scss/abstractio/components/_sub-nav.scss +68 -0
  67. data/scss/abstractio/components/_switch.scss +251 -0
  68. data/scss/abstractio/components/_tables.scss +84 -0
  69. data/scss/abstractio/components/_thumbs.scss +48 -0
  70. data/scss/abstractio/components/_tooltips.scss +117 -0
  71. data/scss/abstractio/components/_top-bar.scss +495 -0
  72. data/scss/abstractio/components/_type.scss +426 -0
  73. data/scss/abstractio/components/_visibility.scss +322 -0
  74. data/scss/normalize.scss +402 -0
  75. data/templates/project/.gitignore +44 -0
  76. data/templates/project/MIT-LICENSE.txt +20 -0
  77. data/templates/project/config.rb +26 -0
  78. data/templates/project/humans.txt +8 -0
  79. data/templates/project/index.html +124 -0
  80. data/templates/project/manifest.rb +45 -0
  81. data/templates/project/robots.txt +4 -0
  82. data/templates/project/scss/app.scss +48 -0
  83. data/templates/upgrade/manifest.rb +34 -0
  84. metadata +153 -0
@@ -0,0 +1,402 @@
1
+ /*! normalize.css v2.1.1 | MIT License | git.io/normalize */
2
+
3
+ /* ==========================================================================
4
+ HTML5 display definitions
5
+ ========================================================================== */
6
+
7
+ /**
8
+ * Correct `block` display not defined in IE 8/9.
9
+ */
10
+
11
+ article,
12
+ aside,
13
+ details,
14
+ figcaption,
15
+ figure,
16
+ footer,
17
+ header,
18
+ hgroup,
19
+ main,
20
+ nav,
21
+ section,
22
+ summary {
23
+ display: block;
24
+ }
25
+
26
+ /**
27
+ * Correct `inline-block` display not defined in IE 8/9.
28
+ */
29
+
30
+ audio,
31
+ canvas,
32
+ video {
33
+ display: inline-block;
34
+ }
35
+
36
+ /**
37
+ * Prevent modern browsers from displaying `audio` without controls.
38
+ * Remove excess height in iOS 5 devices.
39
+ */
40
+
41
+ audio:not([controls]) {
42
+ display: none;
43
+ height: 0;
44
+ }
45
+
46
+ /**
47
+ * Address styling not present in IE 8/9.
48
+ */
49
+
50
+ [hidden] {
51
+ display: none;
52
+ }
53
+
54
+ /* ==========================================================================
55
+ Base
56
+ ========================================================================== */
57
+
58
+ /**
59
+ * 1. Prevent system color scheme's background color being used in Firefox, IE,
60
+ * and Opera.
61
+ * 2. Prevent system color scheme's text color being used in Firefox, IE, and
62
+ * Opera.
63
+ * 3. Set default font family to sans-serif.
64
+ * 4. Prevent iOS text size adjust after orientation change, without disabling
65
+ * user zoom.
66
+ */
67
+
68
+ html {
69
+ background: #fff; /* 1 */
70
+ color: #000; /* 2 */
71
+ font-family: sans-serif; /* 3 */
72
+ -ms-text-size-adjust: 100%; /* 4 */
73
+ -webkit-text-size-adjust: 100%; /* 4 */
74
+ }
75
+
76
+ /**
77
+ * Remove default margin.
78
+ */
79
+
80
+ body {
81
+ margin: 0;
82
+ }
83
+
84
+ /* ==========================================================================
85
+ Links
86
+ ========================================================================== */
87
+
88
+ /**
89
+ * Address `outline` inconsistency between Chrome and other browsers.
90
+ */
91
+
92
+ a:focus {
93
+ outline: thin dotted;
94
+ }
95
+
96
+ /**
97
+ * Improve readability when focused and also mouse hovered in all browsers.
98
+ */
99
+
100
+ a:active,
101
+ a:hover {
102
+ outline: 0;
103
+ }
104
+
105
+ /* ==========================================================================
106
+ Typography
107
+ ========================================================================== */
108
+
109
+ /**
110
+ * Address variable `h1` font-size and margin within `section` and `article`
111
+ * contexts in Firefox 4+, Safari 5, and Chrome.
112
+ */
113
+
114
+ h1 {
115
+ font-size: 2em;
116
+ margin: 0.67em 0;
117
+ }
118
+
119
+ /**
120
+ * Address styling not present in IE 8/9, Safari 5, and Chrome.
121
+ */
122
+
123
+ abbr[title] {
124
+ border-bottom: 1px dotted;
125
+ }
126
+
127
+ /**
128
+ * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
129
+ */
130
+
131
+ b,
132
+ strong {
133
+ font-weight: bold;
134
+ }
135
+
136
+ /**
137
+ * Address styling not present in Safari 5 and Chrome.
138
+ */
139
+
140
+ dfn {
141
+ font-style: italic;
142
+ }
143
+
144
+ /**
145
+ * Address differences between Firefox and other browsers.
146
+ */
147
+
148
+ hr {
149
+ -moz-box-sizing: content-box;
150
+ box-sizing: content-box;
151
+ height: 0;
152
+ }
153
+
154
+ /**
155
+ * Address styling not present in IE 8/9.
156
+ */
157
+
158
+ mark {
159
+ background: #ff0;
160
+ color: #000;
161
+ }
162
+
163
+ /**
164
+ * Correct font family set oddly in Safari 5 and Chrome.
165
+ */
166
+
167
+ code,
168
+ kbd,
169
+ pre,
170
+ samp {
171
+ font-family: monospace, serif;
172
+ font-size: 1em;
173
+ }
174
+
175
+ /**
176
+ * Improve readability of pre-formatted text in all browsers.
177
+ */
178
+
179
+ pre {
180
+ white-space: pre-wrap;
181
+ }
182
+
183
+ /**
184
+ * Set consistent quote types.
185
+ */
186
+
187
+ q {
188
+ quotes: "\201C" "\201D" "\2018" "\2019";
189
+ }
190
+
191
+ /**
192
+ * Address inconsistent and variable font size in all browsers.
193
+ */
194
+
195
+ small {
196
+ font-size: 80%;
197
+ }
198
+
199
+ /**
200
+ * Prevent `sub` and `sup` affecting `line-height` in all browsers.
201
+ */
202
+
203
+ sub,
204
+ sup {
205
+ font-size: 75%;
206
+ line-height: 0;
207
+ position: relative;
208
+ vertical-align: baseline;
209
+ }
210
+
211
+ sup {
212
+ top: -0.5em;
213
+ }
214
+
215
+ sub {
216
+ bottom: -0.25em;
217
+ }
218
+
219
+ /* ==========================================================================
220
+ Embedded content
221
+ ========================================================================== */
222
+
223
+ /**
224
+ * Remove border when inside `a` element in IE 8/9.
225
+ */
226
+
227
+ img {
228
+ border: 0;
229
+ }
230
+
231
+ /**
232
+ * Correct overflow displayed oddly in IE 9.
233
+ */
234
+
235
+ svg:not(:root) {
236
+ overflow: hidden;
237
+ }
238
+
239
+ /* ==========================================================================
240
+ Figures
241
+ ========================================================================== */
242
+
243
+ /**
244
+ * Address margin not present in IE 8/9 and Safari 5.
245
+ */
246
+
247
+ figure {
248
+ margin: 0;
249
+ }
250
+
251
+ /* ==========================================================================
252
+ Forms
253
+ ========================================================================== */
254
+
255
+ /**
256
+ * Define consistent border, margin, and padding.
257
+ */
258
+
259
+ fieldset {
260
+ border: 1px solid #c0c0c0;
261
+ margin: 0 2px;
262
+ padding: 0.35em 0.625em 0.75em;
263
+ }
264
+
265
+ /**
266
+ * 1. Correct `color` not being inherited in IE 8/9.
267
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
268
+ */
269
+
270
+ legend {
271
+ border: 0; /* 1 */
272
+ padding: 0; /* 2 */
273
+ }
274
+
275
+ /**
276
+ * 1. Correct font family not being inherited in all browsers.
277
+ * 2. Correct font size not being inherited in all browsers.
278
+ * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
279
+ */
280
+
281
+ button,
282
+ input,
283
+ select,
284
+ textarea {
285
+ font-family: inherit; /* 1 */
286
+ font-size: 100%; /* 2 */
287
+ margin: 0; /* 3 */
288
+ }
289
+
290
+ /**
291
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in
292
+ * the UA stylesheet.
293
+ */
294
+
295
+ button,
296
+ input {
297
+ line-height: normal;
298
+ }
299
+
300
+ /**
301
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
302
+ * All other form control elements do not inherit `text-transform` values.
303
+ * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
304
+ * Correct `select` style inheritance in Firefox 4+ and Opera.
305
+ */
306
+
307
+ button,
308
+ select {
309
+ text-transform: none;
310
+ }
311
+
312
+ /**
313
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
314
+ * and `video` controls.
315
+ * 2. Correct inability to style clickable `input` types in iOS.
316
+ * 3. Improve usability and consistency of cursor style between image-type
317
+ * `input` and others.
318
+ */
319
+
320
+ button,
321
+ html input[type="button"], /* 1 */
322
+ input[type="reset"],
323
+ input[type="submit"] {
324
+ -webkit-appearance: button; /* 2 */
325
+ cursor: pointer; /* 3 */
326
+ }
327
+
328
+ /**
329
+ * Re-set default cursor for disabled elements.
330
+ */
331
+
332
+ button[disabled],
333
+ html input[disabled] {
334
+ cursor: default;
335
+ }
336
+
337
+ /**
338
+ * 1. Address box sizing set to `content-box` in IE 8/9.
339
+ * 2. Remove excess padding in IE 8/9.
340
+ */
341
+
342
+ input[type="checkbox"],
343
+ input[type="radio"] {
344
+ box-sizing: border-box; /* 1 */
345
+ padding: 0; /* 2 */
346
+ }
347
+
348
+ /**
349
+ * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
350
+ * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
351
+ * (include `-moz` to future-proof).
352
+ */
353
+
354
+ input[type="search"] {
355
+ -webkit-appearance: textfield; /* 1 */
356
+ -moz-box-sizing: content-box;
357
+ -webkit-box-sizing: content-box; /* 2 */
358
+ box-sizing: content-box;
359
+ }
360
+
361
+ /**
362
+ * Remove inner padding and search cancel button in Safari 5 and Chrome
363
+ * on OS X.
364
+ */
365
+
366
+ input[type="search"]::-webkit-search-cancel-button,
367
+ input[type="search"]::-webkit-search-decoration {
368
+ -webkit-appearance: none;
369
+ }
370
+
371
+ /**
372
+ * Remove inner padding and border in Firefox 4+.
373
+ */
374
+
375
+ button::-moz-focus-inner,
376
+ input::-moz-focus-inner {
377
+ border: 0;
378
+ padding: 0;
379
+ }
380
+
381
+ /**
382
+ * 1. Remove default vertical scrollbar in IE 8/9.
383
+ * 2. Improve readability and alignment in all browsers.
384
+ */
385
+
386
+ textarea {
387
+ overflow: auto; /* 1 */
388
+ vertical-align: top; /* 2 */
389
+ }
390
+
391
+ /* ==========================================================================
392
+ Tables
393
+ ========================================================================== */
394
+
395
+ /**
396
+ * Remove most spacing between table cells.
397
+ */
398
+
399
+ table {
400
+ border-collapse: collapse;
401
+ border-spacing: 0;
402
+ }
@@ -0,0 +1,44 @@
1
+ # Numerous always-ignore extensions
2
+ *.diff
3
+ *.err
4
+ *.orig
5
+ *.log
6
+ *.rej
7
+ *.swo
8
+ *.swp
9
+ *.vi
10
+ *~
11
+ *.sass-cache
12
+
13
+ # OS or Editor folders
14
+ .DS_Store
15
+ Thumbs.db
16
+ .cache
17
+ .project
18
+ .settings
19
+ .tmproj
20
+ *.esproj
21
+ nbproject
22
+ *.sublime-project
23
+ *.sublime-workspace
24
+
25
+ # Dreamweaver added files
26
+ _notes
27
+ dwsync.xml
28
+
29
+ # Komodo
30
+ *.komodoproject
31
+ .komodotools
32
+
33
+ # Folders to ignore
34
+ .hg
35
+ .svn
36
+ .CVS
37
+ intermediate
38
+ publish
39
+ .idea
40
+
41
+ # build script local files
42
+ build/buildinfo.properties
43
+ build/config/buildinfo.properties
44
+ marketing/files/foundation-download.zip
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 ZURB, http://www.zurb.com/
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.