survivalkit 1.0.beta.10 → 1.0.beta.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. data/CHANGELOG.markdown +3 -0
  2. data/lib/survivalkit.rb +4 -3
  3. data/stylesheets/survivalkit/fonts/_all.scss +3 -0
  4. data/stylesheets/survivalkit/fonts/_font-awesome.scss +544 -310
  5. data/stylesheets/survivalkit/fonts/_league-gothic.scss +32 -44
  6. data/stylesheets/survivalkit/fonts/_ostrich-sans.scss +49 -56
  7. data/stylesheets/survivalkit/reset/_formalize.scss +2 -2
  8. data/stylesheets/survivalkit/reset/_meyer-reset.scss +4 -4
  9. data/stylesheets/survivalkit/reset/_normalize.scss +215 -192
  10. data/stylesheets/survivalkit/reset/_reset.scss +7 -5
  11. data/templates/clean/manifest.rb +4 -8
  12. data/templates/drupal/manifest.rb +4 -8
  13. data/templates/project/manifest.rb +3 -5
  14. data/templates/shared/partials/01-variables/_all.scss +1 -1
  15. data/templates/shared/partials/01-variables/{_base.scss → _settings.scss} +4 -4
  16. data/templates/shared/partials/03-extend/_all.scss +0 -1
  17. data/templates/shared/partials/05-layout/_grids-singularitygs.scss +59 -0
  18. data/templates/shared/partials/06-ui-patterns/_drupal-patterns.scss +8 -0
  19. data/templates/shared/partials/{08-media → 07-media}/_print.scss +0 -0
  20. data/templates/shared/style.scss +18 -54
  21. data/templates/shared/your-design-here/_design.scss +1 -0
  22. metadata +33 -23
  23. data/stylesheets/survivalkit/style-tile/_all.scss +0 -1
  24. data/stylesheets/survivalkit/style-tile/_tile-layout.scss +0 -201
  25. data/stylesheets/survivalkit/survival-kit/_survival-kit.sass +0 -157
  26. data/templates/shared/partials/03-extend/_helpers.scss +0 -7
  27. data/templates/shared/partials/06-ui-patterns/_common.scss +0 -1
  28. data/templates/shared/partials/07-styletile/_tile-design.scss +0 -213
@@ -1,13 +1,13 @@
1
1
  @mixin normalize {
2
- /*! normalize.css 2012-03-11T12:53 UTC - http://github.com/necolas/normalize.css */
2
+ // /*! normalize.css 2012-03-11T12:53 UTC - http://github.com/necolas/normalize.css */
3
3
 
4
- /* =============================================================================
5
- HTML5 display definitions
6
- ========================================================================== */
4
+ // /* =============================================================================
5
+ // HTML5 display definitions
6
+ // ========================================================================== */
7
7
 
8
- /*
9
- * Corrects block display not defined in IE6/7/8/9 & FF3
10
- */
8
+ // /*
9
+ // * Corrects block display not defined in IE6/7/8/9 & FF3
10
+ // */
11
11
 
12
12
  article,
13
13
  aside,
@@ -23,9 +23,9 @@
23
23
  display: block;
24
24
  }
25
25
 
26
- /*
27
- * Corrects inline-block display not defined in IE6/7/8/9 & FF3
28
- */
26
+ // /*
27
+ // * Corrects inline-block display not defined in IE6/7/8/9 & FF3
28
+ // */
29
29
 
30
30
  audio,
31
31
  canvas,
@@ -35,46 +35,49 @@
35
35
  *zoom: 1;
36
36
  }
37
37
 
38
- /*
39
- * Prevents modern browsers from displaying 'audio' without controls
40
- * Remove excess height in iOS5 devices
41
- */
38
+ // /*
39
+ // * Prevents modern browsers from displaying 'audio' without controls
40
+ // * Remove excess height in iOS5 devices
41
+ // */
42
42
 
43
43
  audio:not([controls]) {
44
44
  display: none;
45
45
  height: 0;
46
46
  }
47
47
 
48
- /*
49
- * Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
50
- * Known issue: no IE6 support
51
- */
48
+ // /*
49
+ // * Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
50
+ // * Known issue: no IE6 support
51
+ // */
52
52
 
53
53
  [hidden] {
54
54
  display: none;
55
55
  }
56
56
 
57
57
 
58
- /* =============================================================================
59
- Base
60
- ========================================================================== */
58
+ // /* =============================================================================
59
+ // Base
60
+ // ========================================================================== */
61
61
 
62
- /*
63
- * 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
64
- * http://clagnut.com/blog/348/#c790
65
- * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom
66
- * www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
67
- */
62
+ // /*
63
+ // * 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
64
+ // * http://clagnut.com/blog/348/#c790
65
+ // * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom
66
+ // * www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
67
+ // */
68
68
 
69
69
  html {
70
- font-size: 100%; /* 1 */
71
- -webkit-text-size-adjust: 100%; /* 2 */
72
- -ms-text-size-adjust: 100%; /* 2 */
70
+ font-size: 100%;
71
+ // /* 1 */
72
+ -webkit-text-size-adjust: 100%;
73
+ // /* 2 */
74
+ -ms-text-size-adjust: 100%;
75
+ // /* 2 */
73
76
  }
74
77
 
75
- /*
76
- * Addresses font-family inconsistency between 'textarea' and other form elements.
77
- */
78
+ // /*
79
+ // * Addresses font-family inconsistency between 'textarea' and other form elements.
80
+ // */
78
81
 
79
82
  html,
80
83
  button,
@@ -84,31 +87,31 @@
84
87
  font-family: sans-serif;
85
88
  }
86
89
 
87
- /*
88
- * Addresses margins handled incorrectly in IE6/7
89
- */
90
+ // /*
91
+ // * Addresses margins handled incorrectly in IE6/7
92
+ // */
90
93
 
91
94
  body {
92
95
  margin: 0;
93
96
  }
94
97
 
95
98
 
96
- /* =============================================================================
97
- Links
98
- ========================================================================== */
99
+ // /* =============================================================================
100
+ // Links
101
+ // ========================================================================== */
99
102
 
100
- /*
101
- * Addresses outline displayed oddly in Chrome
102
- */
103
+ // /*
104
+ // * Addresses outline displayed oddly in Chrome
105
+ // */
103
106
 
104
107
  a:focus {
105
108
  outline: thin dotted;
106
109
  }
107
110
 
108
- /*
109
- * Improves readability when focused and also mouse hovered in all browsers
110
- * people.opera.com/patrickl/experiments/keyboard/test
111
- */
111
+ // /*
112
+ // * Improves readability when focused and also mouse hovered in all browsers
113
+ // * people.opera.com/patrickl/experiments/keyboard/test
114
+ // */
112
115
 
113
116
  a:hover,
114
117
  a:active {
@@ -116,14 +119,14 @@
116
119
  }
117
120
 
118
121
 
119
- /* =============================================================================
120
- Typography
121
- ========================================================================== */
122
+ // /* =============================================================================
123
+ // Typography
124
+ // ========================================================================== */
122
125
 
123
- /*
124
- * Addresses font sizes and margins set differently in IE6/7
125
- * Addresses font sizes within 'section' and 'article' in FF4+, Chrome, S5
126
- */
126
+ // /*
127
+ // * Addresses font sizes and margins set differently in IE6/7
128
+ // * Addresses font sizes within 'section' and 'article' in FF4+, Chrome, S5
129
+ // */
127
130
 
128
131
  h1 {
129
132
  font-size: 2em;
@@ -155,17 +158,17 @@
155
158
  margin: 2.33em 0;
156
159
  }
157
160
 
158
- /*
159
- * Addresses styling not present in IE7/8/9, S5, Chrome
160
- */
161
+ // /*
162
+ // * Addresses styling not present in IE7/8/9, S5, Chrome
163
+ // */
161
164
 
162
165
  abbr[title] {
163
166
  border-bottom: 1px dotted;
164
167
  }
165
168
 
166
- /*
167
- * Addresses style set to 'bolder' in FF3+, S4/5, Chrome
168
- */
169
+ // /*
170
+ // * Addresses style set to 'bolder' in FF3+, S4/5, Chrome
171
+ // */
169
172
 
170
173
  b,
171
174
  strong {
@@ -176,36 +179,36 @@
176
179
  margin: 1em 40px;
177
180
  }
178
181
 
179
- /*
180
- * Addresses styling not present in S5, Chrome
181
- */
182
+ // /*
183
+ // * Addresses styling not present in S5, Chrome
184
+ // */
182
185
 
183
186
  dfn {
184
187
  font-style: italic;
185
188
  }
186
189
 
187
- /*
188
- * Addresses styling not present in IE6/7/8/9
189
- */
190
+ // /*
191
+ // * Addresses styling not present in IE6/7/8/9
192
+ // */
190
193
 
191
194
  mark {
192
195
  background: #ff0;
193
196
  color: #000;
194
197
  }
195
198
 
196
- /*
197
- * Addresses margins set differently in IE6/7
198
- */
199
+ // /*
200
+ // * Addresses margins set differently in IE6/7
201
+ // */
199
202
 
200
203
  p,
201
204
  pre {
202
205
  margin: 1em 0;
203
206
  }
204
207
 
205
- /*
206
- * Corrects font family set oddly in IE6, S4/5, Chrome
207
- * en.wikipedia.org/wiki/User:Davidgothberg/Test59
208
- */
208
+ // /*
209
+ // * Corrects font family set oddly in IE6, S4/5, Chrome
210
+ // * en.wikipedia.org/wiki/User:Davidgothberg/Test59
211
+ // */
209
212
 
210
213
  pre,
211
214
  code,
@@ -216,9 +219,9 @@
216
219
  font-size: 1em;
217
220
  }
218
221
 
219
- /*
220
- * Improves readability of pre-formatted text in all browsers
221
- */
222
+ // /*
223
+ // * Improves readability of pre-formatted text in all browsers
224
+ // */
222
225
 
223
226
  pre {
224
227
  white-space: pre;
@@ -226,18 +229,18 @@
226
229
  word-wrap: break-word;
227
230
  }
228
231
 
229
- /*
230
- * 1. Addresses CSS quotes not supported in IE6/7
231
- * 2. Addresses quote property not supported in S4
232
- */
232
+ // /*
233
+ // * 1. Addresses CSS quotes not supported in IE6/7
234
+ // * 2. Addresses quote property not supported in S4
235
+ // */
233
236
 
234
- /* 1 */
237
+ // /* 1 */
235
238
 
236
239
  q {
237
240
  quotes: none;
238
241
  }
239
242
 
240
- /* 2 */
243
+ // /* 2 */
241
244
 
242
245
  q:before,
243
246
  q:after {
@@ -249,10 +252,10 @@
249
252
  font-size: 75%;
250
253
  }
251
254
 
252
- /*
253
- * Prevents sub and sup affecting line-height in all browsers
254
- * gist.github.com/413930
255
- */
255
+ // /*
256
+ // * Prevents sub and sup affecting line-height in all browsers
257
+ // * gist.github.com/413930
258
+ // */
256
259
 
257
260
  sub,
258
261
  sup {
@@ -271,13 +274,13 @@
271
274
  }
272
275
 
273
276
 
274
- /* =============================================================================
275
- Lists
276
- ========================================================================== */
277
+ // /* =============================================================================
278
+ // Lists
279
+ // ========================================================================== */
277
280
 
278
- /*
279
- * Addresses margins set differently in IE6/7
280
- */
281
+ // /*
282
+ // * Addresses margins set differently in IE6/7
283
+ // */
281
284
 
282
285
  dl,
283
286
  menu,
@@ -290,9 +293,9 @@
290
293
  margin: 0 0 0 40px;
291
294
  }
292
295
 
293
- /*
294
- * Addresses paddings set differently in IE6/7
295
- */
296
+ // /*
297
+ // * Addresses paddings set differently in IE6/7
298
+ // */
296
299
 
297
300
  menu,
298
301
  ol,
@@ -300,9 +303,9 @@
300
303
  padding: 0 0 0 40px;
301
304
  }
302
305
 
303
- /*
304
- * Corrects list images handled incorrectly in IE7
305
- */
306
+ // /*
307
+ // * Corrects list images handled incorrectly in IE7
308
+ // */
306
309
 
307
310
  nav ul,
308
311
  nav ol {
@@ -311,58 +314,60 @@
311
314
  }
312
315
 
313
316
 
314
- /* =============================================================================
315
- Embedded content
316
- ========================================================================== */
317
+ // /* =============================================================================
318
+ // Embedded content
319
+ // ========================================================================== */
317
320
 
318
- /*
319
- * 1. Removes border when inside 'a' element in IE6/7/8/9, FF3
320
- * 2. Improves image quality when scaled in IE7
321
- * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
322
- */
321
+ // /*
322
+ // * 1. Removes border when inside 'a' element in IE6/7/8/9, FF3
323
+ // * 2. Improves image quality when scaled in IE7
324
+ // * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
325
+ // */
323
326
 
324
327
  img {
325
- border: 0; /* 1 */
326
- -ms-interpolation-mode: bicubic; /* 2 */
328
+ border: 0;
329
+ // /* 1 */
330
+ -ms-interpolation-mode: bicubic;
331
+ // /* 2 */
327
332
  }
328
333
 
329
- /*
330
- * Corrects overflow displayed oddly in IE9
331
- */
334
+ // /*
335
+ // * Corrects overflow displayed oddly in IE9
336
+ // */
332
337
 
333
338
  svg:not(:root) {
334
339
  overflow: hidden;
335
340
  }
336
341
 
337
342
 
338
- /* =============================================================================
339
- Figures
340
- ========================================================================== */
343
+ // /* =============================================================================
344
+ // Figures
345
+ // ========================================================================== */
341
346
 
342
- /*
343
- * Addresses margin not present in IE6/7/8/9, S5, O11
344
- */
347
+ // /*
348
+ // * Addresses margin not present in IE6/7/8/9, S5, O11
349
+ // */
345
350
 
346
351
  figure {
347
352
  margin: 0;
348
353
  }
349
354
 
350
355
 
351
- /* =============================================================================
352
- Forms
353
- ========================================================================== */
356
+ // /* =============================================================================
357
+ // Forms
358
+ // ========================================================================== */
354
359
 
355
- /*
356
- * Corrects margin displayed oddly in IE6/7
357
- */
360
+ // /*
361
+ // * Corrects margin displayed oddly in IE6/7
362
+ // */
358
363
 
359
364
  form {
360
365
  margin: 0;
361
366
  }
362
367
 
363
- /*
364
- * Define consistent border, margin, and padding
365
- */
368
+ // /*
369
+ // * Define consistent border, margin, and padding
370
+ // */
366
371
 
367
372
  fieldset {
368
373
  border: 1px solid #c0c0c0;
@@ -370,109 +375,125 @@
370
375
  padding: 0.35em 0.625em 0.75em;
371
376
  }
372
377
 
373
- /*
374
- * 1. Corrects color not being inherited in IE6/7/8/9
375
- * 2. Corrects text not wrapping in FF3
376
- * 3. Corrects alignment displayed oddly in IE6/7
377
- */
378
+ // /*
379
+ // * 1. Corrects color not being inherited in IE6/7/8/9
380
+ // * 2. Corrects text not wrapping in FF3
381
+ // * 3. Corrects alignment displayed oddly in IE6/7
382
+ // */
378
383
 
379
384
  legend {
380
- border: 0; /* 1 */
385
+ border: 0;
386
+ // /* 1 */
381
387
  padding: 0;
382
- white-space: normal; /* 2 */
383
- *margin-left: -7px; /* 3 */
388
+ white-space: normal;
389
+ // /* 2 */
390
+ *margin-left: -7px;
391
+ // /* 3 */
384
392
  }
385
393
 
386
- /*
387
- * 1. Corrects font size not being inherited in all browsers
388
- * 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome
389
- * 3. Improves appearance and consistency in all browsers
390
- */
394
+ // /*
395
+ // * 1. Corrects font size not being inherited in all browsers
396
+ // * 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome
397
+ // * 3. Improves appearance and consistency in all browsers
398
+ // */
391
399
 
392
400
  button,
393
401
  input,
394
402
  select,
395
403
  textarea {
396
- font-size: 100%; /* 1 */
397
- margin: 0; /* 2 */
398
- vertical-align: baseline; /* 3 */
399
- *vertical-align: middle; /* 3 */
404
+ font-size: 100%;
405
+ // /* 1 */
406
+ margin: 0;
407
+ // /* 2 */
408
+ vertical-align: baseline;
409
+ // /* 3 */
410
+ *vertical-align: middle;
411
+ // /* 3 */
400
412
  }
401
413
 
402
- /*
403
- * Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
404
- */
414
+ // /*
415
+ // * Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
416
+ // */
405
417
 
406
418
  button,
407
419
  input {
408
420
  line-height: normal; /* 1 */
409
421
  }
410
422
 
411
- /*
412
- * 1. Improves usability and consistency of cursor style between image-type 'input' and others
413
- * 2. Corrects inability to style clickable 'input' types in iOS
414
- * 3. Removes inner spacing in IE7 without affecting normal text inputs
415
- * Known issue: inner spacing remains in IE6
416
- */
423
+ // /*
424
+ // * 1. Improves usability and consistency of cursor style between image-type 'input' and others
425
+ // * 2. Corrects inability to style clickable 'input' types in iOS
426
+ // * 3. Removes inner spacing in IE7 without affecting normal text inputs
427
+ // * Known issue: inner spacing remains in IE6
428
+ // */
417
429
 
418
430
  button,
419
431
  input[type="button"],
420
432
  input[type="reset"],
421
433
  input[type="submit"] {
422
- cursor: pointer; /* 1 */
423
- -webkit-appearance: button; /* 2 */
424
- *overflow: visible; /* 3 */
434
+ cursor: pointer;
435
+ // /* 1 */
436
+ -webkit-appearance: button;
437
+ // /* 2 */
438
+ *overflow: visible;
439
+ // /* 3 */
425
440
  }
426
441
 
427
- /*
428
- * Re-set default cursor for disabled elements
429
- */
442
+ // /*
443
+ // * Re-set default cursor for disabled elements
444
+ // */
430
445
 
431
446
  button[disabled],
432
447
  input[disabled] {
433
448
  cursor: default;
434
449
  }
435
450
 
436
- /*
437
- * 1. Addresses box sizing set to content-box in IE8/9
438
- * 2. Removes excess padding in IE8/9
439
- * 3. Removes excess padding in IE7
440
- Known issue: excess padding remains in IE6
441
- */
451
+ // /*
452
+ // * 1. Addresses box sizing set to content-box in IE8/9
453
+ // * 2. Removes excess padding in IE8/9
454
+ // * 3. Removes excess padding in IE7
455
+ // Known issue: excess padding remains in IE6
456
+ // */
442
457
 
443
458
  input[type="checkbox"],
444
459
  input[type="radio"] {
445
- box-sizing: border-box; /* 1 */
446
- padding: 0; /* 2 */
447
- *height: 13px; /* 3 */
448
- *width: 13px; /* 3 */
460
+ box-sizing: border-box;
461
+ // /* 1 */
462
+ padding: 0;
463
+ // /* 2 */
464
+ *height: 13px;
465
+ // /* 3 */
466
+ *width: 13px;
467
+ // /* 3 */
449
468
  }
450
469
 
451
- /*
452
- * 1. Addresses appearance set to searchfield in S5, Chrome
453
- * 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof)
454
- */
470
+ // /*
471
+ // * 1. Addresses appearance set to searchfield in S5, Chrome
472
+ // * 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof)
473
+ // */
455
474
 
456
475
  input[type="search"] {
457
- -webkit-appearance: textfield; /* 1 */
476
+ -webkit-appearance: textfield;
477
+ // /* 1 */
458
478
  -moz-box-sizing: content-box;
459
- -webkit-box-sizing: content-box; /* 2 */
479
+ -webkit-box-sizing: content-box;
480
+ // /* 2 */
460
481
  box-sizing: content-box;
461
482
  }
462
483
 
463
- /*
464
- * Removes inner padding and search cancel button in S5, Chrome on OS X
465
- */
484
+ // /*
485
+ // * Removes inner padding and search cancel button in S5, Chrome on OS X
486
+ // */
466
487
 
467
488
  input[type="search"]::-webkit-search-decoration,
468
489
  input[type="search"]::-webkit-search-cancel-button {
469
490
  -webkit-appearance: none;
470
491
  }
471
492
 
472
- /*
473
- * Removes inner padding and border in FF3+
474
- * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
475
- */
493
+ // /*
494
+ // * Removes inner padding and border in FF3+
495
+ // * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
496
+ // */
476
497
 
477
498
  button::-moz-focus-inner,
478
499
  input::-moz-focus-inner {
@@ -480,24 +501,26 @@
480
501
  padding: 0;
481
502
  }
482
503
 
483
- /*
484
- * 1. Removes default vertical scrollbar in IE6/7/8/9
485
- * 2. Improves readability and alignment in all browsers
486
- */
504
+ // /*
505
+ // * 1. Removes default vertical scrollbar in IE6/7/8/9
506
+ // * 2. Improves readability and alignment in all browsers
507
+ // */
487
508
 
488
509
  textarea {
489
- overflow: auto; /* 1 */
490
- vertical-align: top; /* 2 */
510
+ overflow: auto;
511
+ // /* 1 */
512
+ vertical-align: top;
513
+ // /* 2 */
491
514
  }
492
515
 
493
516
 
494
- /* =============================================================================
495
- Tables
496
- ========================================================================== */
517
+ // /* =============================================================================
518
+ // Tables
519
+ // ========================================================================== */
497
520
 
498
- /*
499
- * Remove most spacing between table cells
500
- */
521
+ // /*
522
+ // * Remove most spacing between table cells
523
+ // */
501
524
 
502
525
  table {
503
526
  border-collapse: collapse;
@@ -1,9 +1,10 @@
1
- @import "survivalkit/reset/meyer-reset";
2
- @import "survivalkit/reset/normalize";
3
-
4
1
  $init-type: meyer !default;
5
2
  $init-headers: true !default;
6
3
 
4
+ @import "survivalkit/reset/meyer-reset";
5
+ @import "survivalkit/reset/normalize";
6
+ @import "survivalkit/reset/formalize";
7
+
7
8
  @mixin init($init-type, $init-headers) {
8
9
  @if $init-type == meyer {
9
10
  @include meyer-reset;
@@ -19,8 +20,9 @@ $init-headers: true !default;
19
20
  }
20
21
  }
21
22
  }
23
+ @if $formalize {
24
+ @include formalize;
25
+ }
22
26
  }
23
27
 
24
- @include init($init-type, $init-headers);
25
28
 
26
- @import "survivalkit/reset/formalize";