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,46 +1,34 @@
1
1
  @import "compass/css3/font-face";
2
2
 
3
- /* Regular */
4
- @include font-face(
5
- 'League Gothic',
6
- font-files(
7
- "leaguegothic-regular-webfont.woff", woff,
8
- "leaguegothic-regular-webfont.ttf", truetype,
9
- "leaguegothic-regular-webfont.svg#league_gothicregular", svg),
10
- 'leaguegothic-regular-webfont.eot',
11
- normal,
12
- normal);
13
-
14
- /* Italic */
15
- @include font-face(
16
- 'League Gothic',
17
- font-files(
18
- "leaguegothic-italic-webfont.woff", woff,
19
- "leaguegothic-italic-webfont.ttf", truetype,
20
- "leaguegothic-italic-webfont.svg#league_gothic_italicregular", svg),
21
- 'leaguegothic-italic-webfont.eot',
22
- normal,
23
- italic);
24
-
25
- /* Condensed */
26
- @include font-face(
27
- 'League Gothic Condensed',
28
- font-files(
29
- "leaguegothic-condensed-regular-webfont.woff", woff,
30
- "leaguegothic-condensed-regular-webfont.ttf", truetype,
31
- "leaguegothic-condensed-regular-webfont.svg#league_gothic_condensed", svg),
32
- 'leaguegothic-condensed-regular-webfont.eot',
33
- normal,
34
- normal);
35
-
36
-
37
- /* Condensed Italic */
38
- @include font-face(
39
- 'League Gothic Condensed',
40
- font-files(
41
- "leaguegothic-condensed-italic-webfont.woff", woff,
42
- "leaguegothic-condensed-italic-webfont.ttf", truetype,
43
- "leaguegothic-condensed-italic-webfont.svg#league_gothic_condensed_itaRg", svg),
44
- 'leaguegothic-condensed-italic-webfont.eot',
45
- normal,
46
- italic);
3
+ // available fonts:
4
+ // all, regular, italic, condensed-regular, condensed-italic
5
+ @mixin leaguegothic-font-face($fonts: all) {
6
+ $all-fonts: regular, italic, condensed-regular, condensed-italic;
7
+ @if $fonts == all {
8
+ $fonts: $all-fonts;
9
+ }
10
+ @each $font in $fonts {
11
+ @for $i from 1 through length($all-fonts) {
12
+ @if $font == nth($all-fonts, $i) {
13
+ $weight: normal;
14
+ $style: normal;
15
+ @if $font == italic {
16
+ $style: italic;
17
+ }
18
+ @if $font == condensed-italic {
19
+ $style: italic;
20
+ }
21
+ @include font-face(
22
+ 'League Gothic',
23
+ font-files(
24
+ "leaguegothic-#{$font}-webfont.woff", woff,
25
+ "leaguegothic-#{$font}-webfont.ttf", truetype,
26
+ "leaguegothic-#{$font}-webfont.svg#league_gothic#{$font}", svg
27
+ ),
28
+ 'leaguegothic-#{$font}-webfont.eot',
29
+ $weight,
30
+ $style);
31
+ }
32
+ }
33
+ }
34
+ }
@@ -1,69 +1,62 @@
1
1
  @import "compass/css3/font-face";
2
2
 
3
-
4
- /* Regular */
5
- @include font-face(
6
- 'Ostrich',
7
- font-files(
8
- "ostrich-regular-webfont.woff", woff,
9
- "ostrich-regular-webfont.ttf", truetype,
10
- "ostrich-regular-webfont.svg#ostrich_regular_webfont", svg),
11
- 'ostrich-regular-webfont.eot',
12
- normal,
13
- normal);
14
-
15
-
16
- /* Light */
17
- @include font-face(
18
- 'Ostrich',
19
- font-files(
20
- "ostrich-light-webfont.woff", woff,
21
- "ostrich-light-webfont.ttf", truetype,
22
- "ostrich-light-webfont.svg#ostrich_light_webfont", svg),
23
- 'ostrich-light-webfont.eot',
24
- 300,
25
- normal);
26
-
27
- /* bold */
28
- @include font-face(
29
- 'Ostrich',
30
- font-files(
31
- "ostrich-bold-webfont.woff", woff,
32
- "ostrich-bold-webfont.ttf", truetype,
33
- "ostrich-bold-webfont.svg#ostrich_bold_webfont", svg),
34
- 'ostrich-bold-webfont.eot',
35
- bold,
36
- normal);
37
-
38
- /* Black */
39
- @include font-face(
40
- 'Ostrich',
41
- font-files(
42
- "ostrich-black-webfont.woff", woff,
43
- "ostrich-black-webfont.ttf", truetype,
44
- "ostrich-black-webfont.svg#ostrich_black_webfont", svg),
45
- 'ostrich-black-webfont.eot',
46
- black,
47
- normal);
48
-
49
- /* Dashed */
50
- @include font-face(
3
+ // available fonts:
4
+ // all, regular, light, bold, black
5
+ @mixin ostrich-font-face($fonts: all) {
6
+ $all-fonts: regular, light, bold, black;
7
+ @if $fonts == all {
8
+ $fonts: $all-fonts;
9
+ }
10
+ @each $font in $fonts {
11
+ @for $i from 1 through length($all-fonts) {
12
+ @if $font == nth($all-fonts, $i) {
13
+ $weight: normal;
14
+ $style: normal;
15
+ @if $font == italic {
16
+ $style: italic;
17
+ }
18
+ @if $font == condensed-italic {
19
+ $style: italic;
20
+ }
21
+ @include font-face(
22
+ 'Ostrich',
23
+ font-files(
24
+ "ostrich-#{$font}-webfont.woff", woff,
25
+ "ostrich-#{$font}-webfont.ttf", truetype,
26
+ "ostrich-#{$font}-webfont.svg#ostrich#{$font}", svg
27
+ ),
28
+ 'ostrich-#{$font}-webfont.eot',
29
+ $weight,
30
+ $style);
31
+ }
32
+ }
33
+ }
34
+ }
35
+
36
+ // dashed
37
+ @mixin ostrich-dashed-font-face() {
38
+ @include font-face(
51
39
  'Ostrich Dashed',
52
40
  font-files(
53
- "ostrich-dashed-webfont.woff", woff,
54
- "ostrich-dashed-webfont.ttf", truetype,
55
- "ostrich-dashed-webfont.svg#ostrich_dashed_webfont", svg),
41
+ "ostrich-dashed-webfont.woff", woff,
42
+ "ostrich-dashed-webfont.ttf", truetype,
43
+ "ostrich-dashed-webfont.svg#ostrich-dashed", svg
44
+ ),
56
45
  'ostrich-dashed-webfont.eot',
57
46
  normal,
58
47
  normal);
48
+ }
59
49
 
60
- /* Rounded */
61
- @include font-face(
50
+ // rounded
51
+ @mixin ostrich-rounded-font-face() {
52
+ @include font-face(
62
53
  'Ostrich Rounded',
63
54
  font-files(
64
- "ostrich-rounded-webfont.woff", woff,
65
- "ostrich-rounded-webfont.ttf", truetype,
66
- "ostrich-rounded-webfont.svg#ostrich_rounded_webfont", svg),
55
+ "ostrich-rounded-webfont.woff", woff,
56
+ "ostrich-rounded-webfont.ttf", truetype,
57
+ "ostrich-rounded-webfont.svg#ostrich-rounded#", svg
58
+ ),
67
59
  'ostrich-rounded-webfont.eot',
68
60
  normal,
69
61
  normal);
62
+ }
@@ -1,4 +1,4 @@
1
- @if $formalize == true {
1
+ @mixin formalize {
2
2
  // Note: This file is dependent on Sass and Compass.
3
3
  // Sass = http://sass-lang.com
4
4
  // Compass = http://compass-style.org
@@ -289,5 +289,5 @@
289
289
  .ie6_input_disabled {
290
290
  background: #eeeeee;
291
291
  }
292
-
293
292
  }
293
+
@@ -1,7 +1,7 @@
1
1
  @mixin meyer-reset {
2
- /* http://meyerweb.com/eric/tools/css/reset/
3
- * v2.0 | 20110126
4
- * License: none (public domain) */
2
+ // /* http://meyerweb.com/eric/tools/css/reset/
3
+ // * v2.0 | 20110126
4
+ // * License: none (public domain) */
5
5
  html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
6
6
  margin: 0;
7
7
  padding: 0;
@@ -10,7 +10,7 @@
10
10
  font: inherit;
11
11
  vertical-align: baseline;
12
12
  }
13
- /* HTML5 display-role reset for older browsers */
13
+ // /* HTML5 display-role reset for older browsers */
14
14
  article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
15
15
  display: block;
16
16
  }