survivalkit 1.0.beta.1 → 1.0.beta.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 (79) hide show
  1. data/CHANGELOG.markdown +3 -0
  2. data/lib/survivalkit.rb +1 -1
  3. data/templates/shared/drupal/arrow-asc.png +0 -0
  4. data/templates/shared/drupal/arrow-desc.png +0 -0
  5. data/templates/shared/drupal/background.png +0 -0
  6. data/templates/shared/drupal/close.png +0 -0
  7. data/templates/shared/drupal/configure.png +0 -0
  8. data/templates/shared/drupal/draggable.png +0 -0
  9. data/templates/shared/drupal/druplicon.png +0 -0
  10. data/templates/shared/drupal/feed.png +0 -0
  11. data/templates/shared/drupal/forum-icons.png +0 -0
  12. data/templates/shared/drupal/gear-select.png +0 -0
  13. data/templates/shared/drupal/grippie.png +0 -0
  14. data/templates/shared/drupal/help.png +0 -0
  15. data/templates/shared/drupal/hook.png +0 -0
  16. data/templates/shared/drupal/lock.png +0 -0
  17. data/templates/shared/drupal/menu-collapsed-rtl.png +0 -0
  18. data/templates/shared/drupal/menu-collapsed.png +0 -0
  19. data/templates/shared/drupal/menu-expanded.png +0 -0
  20. data/templates/shared/drupal/menu-leaf.png +0 -0
  21. data/templates/shared/drupal/message-16-error.png +0 -0
  22. data/templates/shared/drupal/message-16-help.png +0 -0
  23. data/templates/shared/drupal/message-16-info.png +0 -0
  24. data/templates/shared/drupal/message-16-ok.png +0 -0
  25. data/templates/shared/drupal/message-16-warning.png +0 -0
  26. data/templates/shared/drupal/message-24-error.png +0 -0
  27. data/templates/shared/drupal/message-24-help.png +0 -0
  28. data/templates/shared/drupal/message-24-info.png +0 -0
  29. data/templates/shared/drupal/message-24-ok.png +0 -0
  30. data/templates/shared/drupal/message-24-warning.png +0 -0
  31. data/templates/shared/drupal/permissions.png +0 -0
  32. data/templates/shared/drupal/powered-black-135x42.png +0 -0
  33. data/templates/shared/drupal/powered-black-80x15.png +0 -0
  34. data/templates/shared/drupal/powered-black-88x31.png +0 -0
  35. data/templates/shared/drupal/powered-blue-135x42.png +0 -0
  36. data/templates/shared/drupal/powered-blue-80x15.png +0 -0
  37. data/templates/shared/drupal/powered-blue-88x31.png +0 -0
  38. data/templates/shared/drupal/powered-gray-135x42.png +0 -0
  39. data/templates/shared/drupal/powered-gray-80x15.png +0 -0
  40. data/templates/shared/drupal/powered-gray-88x31.png +0 -0
  41. data/templates/shared/drupal/progress.gif +0 -0
  42. data/templates/shared/drupal/throbber.gif +0 -0
  43. data/templates/shared/drupal/tree-bottom.png +0 -0
  44. data/templates/shared/drupal/tree.png +0 -0
  45. data/templates/shared/drupal/watchdog-error.png +0 -0
  46. data/templates/shared/drupal/watchdog-ok.png +0 -0
  47. data/templates/shared/drupal/watchdog-warning.png +0 -0
  48. data/templates/shared/formalize/button.png +0 -0
  49. data/templates/shared/formalize/select_arrow.gif +0 -0
  50. data/templates/shared/partials/01-variables/_all.scss +3 -0
  51. data/templates/shared/partials/01-variables/_base.scss +172 -0
  52. data/templates/shared/partials/01-variables/_colors.scss +61 -0
  53. data/templates/shared/partials/01-variables/_fonts.scss +15 -0
  54. data/templates/shared/partials/02-mixins/_custom.scss +5 -0
  55. data/templates/shared/partials/03-extend/_all.scss +2 -0
  56. data/templates/shared/partials/03-extend/_helpers.scss +7 -0
  57. data/templates/shared/partials/03-extend/_typography.scss +40 -0
  58. data/templates/shared/partials/04-base/_all.scss +8 -0
  59. data/templates/shared/partials/04-base/_common.scss +137 -0
  60. data/templates/shared/partials/04-base/_edits.scss +8 -0
  61. data/templates/shared/partials/04-base/_font-face.scss +14 -0
  62. data/templates/shared/partials/04-base/_form-defaults.scss +70 -0
  63. data/templates/shared/partials/04-base/_headers.scss +89 -0
  64. data/templates/shared/partials/04-base/_images.scss +19 -0
  65. data/templates/shared/partials/04-base/_semantics.scss +109 -0
  66. data/templates/shared/partials/04-base/_tables.scss +60 -0
  67. data/templates/shared/partials/05-layout/_grids-susy.scss +34 -0
  68. data/templates/shared/partials/06-ui-patterns/_common.scss +1 -0
  69. data/templates/shared/partials/06-ui-patterns/_drupal-patterns.scss +108 -0
  70. data/templates/shared/partials/07-styletile/_tile-design.scss +213 -0
  71. data/templates/shared/partials/08-media/_print.scss +72 -0
  72. data/templates/shared/partials/readme.markdown +3 -0
  73. data/templates/shared/readme.markdown +3 -0
  74. data/templates/shared/style.scss +95 -0
  75. data/templates/shared/survival-kit-logo.png +0 -0
  76. data/templates/shared/survivalkit/drupal7.scss +3224 -0
  77. data/templates/shared/survivalkit/survivalkit.scss +32 -0
  78. data/templates/shared/your-design-here/_design.scss +2 -0
  79. metadata +78 -2
@@ -0,0 +1,8 @@
1
+ @import "font-face";
2
+ @import "common";
3
+ @import "headers";
4
+ @import "images";
5
+ @import "semantics";
6
+ @import "form-defaults";
7
+ @import "tables";
8
+ @import "edits";
@@ -0,0 +1,137 @@
1
+ @if $animate-all-the-things == true {
2
+ @include transition-all;
3
+ }
4
+
5
+ ////////////////////////////
6
+ // DEFAULT BOX SIZING TO BORDER BOX
7
+ // see: http://paulirish.com/2012/box-sizing-border-box-ftw/
8
+ ////////////////////////////
9
+ * {
10
+ @include box-sizing("border-box");
11
+ }
12
+
13
+ @if $init-type != normalize {
14
+ html {
15
+ @if $establish-baseline != true {
16
+ font-size: 100%;
17
+ }
18
+ overflow-y: scroll;
19
+ -webkit-text-size-adjust: 100%;
20
+ -ms-text-size-adjust: 100%;
21
+ }
22
+ }
23
+
24
+ // Body -------------------------------------------------------------- */
25
+
26
+ // Establish baseline rhythm
27
+ // from compass/typography/_vertical_rhythm
28
+ @if $establish-baseline {
29
+ @include establish-baseline;
30
+ }
31
+
32
+ body {
33
+ font-family: $font-body;
34
+ color: $text-color;
35
+ background: $background-color;
36
+ }
37
+
38
+ @if $pixel-normalize {
39
+ @include pixel-normalize;
40
+ }
41
+
42
+ // Selected Text -------------------------------------------------------------- */
43
+ // -moz- must be declared separately
44
+
45
+ ::-moz-selection {
46
+ @include accessible-color($alt-color);
47
+ background: $alt-color;
48
+ text-shadow: none;
49
+ }
50
+
51
+ ::selection {
52
+ @include accessible-color($alt-color);
53
+ background: $alt-color;
54
+ text-shadow: none;
55
+ }
56
+
57
+ // Links -------------------------------------------------------------- */
58
+ a {
59
+ @include link-colors($link-normal, $link-hover, $link-active, $link-visited, $link-focus);
60
+ @if $border-links == true {
61
+ @include border-links($link-border-normal, $link-border-hover, $link-border-active, $link-border-visited);
62
+ }
63
+ @if $link-transitions != false {
64
+ @include link-transitions($link-transitions);
65
+ }
66
+ }
67
+
68
+ em {
69
+ @extend %italic;
70
+ }
71
+
72
+ strong {
73
+ @extend %bold;
74
+ }
75
+
76
+ p {
77
+ @include trailer;
78
+ }
79
+
80
+ hr {
81
+ // add your own styles, if you like
82
+ }
83
+
84
+ pre {
85
+ @extend %mono;
86
+ white-space: pre;
87
+ white-space: pre-wrap;
88
+ word-wrap: break-word;
89
+ line-height: 1;
90
+ }
91
+
92
+ blockquote {
93
+ // add your own styles, if you like
94
+ }
95
+
96
+ // Lists -------------------------------------------------------------- */
97
+
98
+ ol, ul {
99
+ // @include trailer;
100
+ // padding-left: $kit-gutter;
101
+ }
102
+
103
+ dl {
104
+ margin-left: 0;
105
+ }
106
+
107
+ ol {
108
+ list-style: decimal;
109
+ }
110
+
111
+ ul {
112
+ list-style: disc;
113
+ li & {
114
+ list-style-type: circle;
115
+ }
116
+ }
117
+
118
+ dt {
119
+ // add your own styles, if you like
120
+ }
121
+
122
+ dd {
123
+ // add your own styles, if you like
124
+ }
125
+
126
+ //
127
+ figure {
128
+ // add your own styles, if you like
129
+ }
130
+
131
+ figcaption {
132
+ // add your own styles, if you like
133
+ }
134
+
135
+ address {
136
+ @extend %italic;
137
+ }
@@ -0,0 +1,8 @@
1
+ ins {
2
+ text-decoration: none;
3
+ border-bottom: 1px solid $border-color;
4
+ }
5
+
6
+ del {
7
+ text-decoration: line-through;
8
+ }
@@ -0,0 +1,14 @@
1
+ // import font files using @font-face,
2
+ // if not using a service such as typekit */
3
+ //
4
+ // uncomment and customize with your own fonts
5
+
6
+ // @include font-face(
7
+ // myfont,
8
+ // font-files(
9
+ // 'myfont-bold-webfont.woff',
10
+ // 'myfont-bold-webfont.ttf',
11
+ // 'myfont-bold-webfont.svg'),
12
+ // 'myfont-bold-webfont.eot',
13
+ // 'bold',
14
+ // 'normal');
@@ -0,0 +1,70 @@
1
+ // Forms -------------------------------------------------------------- */
2
+
3
+ @if $kit-form-defaults == true {
4
+ fieldset {
5
+ @include trailer;
6
+ @include rhythm-borders(1px);
7
+ border-color: $border-color;
8
+ border-style: dotted;
9
+ }
10
+
11
+ legend {
12
+ padding: 0 0.25em;
13
+ }
14
+
15
+ label {
16
+ cursor: pointer;
17
+ }
18
+
19
+ label {
20
+ font-weight: bold;
21
+ margin-right: 0.5em;
22
+ }
23
+
24
+ %textinput {
25
+ @extend %constrain-to-parent;
26
+ @include adjust-font-size-to($base-font-size, 1);
27
+ @include rhythm-borders(1px, 0.25, $base-font-size);
28
+ border-width: 1px;
29
+ @include trailer(0.5);
30
+ margin-top: 0;
31
+ border-color: $border-color;
32
+ height: $base-line-height / $base-font-size * 1.5em;
33
+ }
34
+
35
+ textarea {
36
+ @extend %textinput;
37
+ height: $base-line-height / $base-font-size * 6.5;
38
+ }
39
+
40
+ input {
41
+ &[type=text], &[type=password], &[type=email], &[type=url], &[type=tel],
42
+ &[type=date], &[type=datetime], &[type=datetime-local], &[type=month], &[type=week], &[type=time],
43
+ &[type=number], &[type=range], &[type=search], &[type=color] {
44
+ @extend %textinput;
45
+ }
46
+ // reset webkit search styles
47
+ &[type=search] {
48
+ -webkit-appearance: none;
49
+ &::-webkit-search-decoration {
50
+ display: none;
51
+ }
52
+ }
53
+ }
54
+
55
+ textarea {
56
+ // add your own styles, if you like
57
+ }
58
+
59
+ input {
60
+ &[type="radio"], &[type="checkbox"] {
61
+ margin-left: 0.25em;
62
+ margin-right: 0.25em;
63
+ }
64
+ }
65
+
66
+ textarea, input:not([type="radio"]) {
67
+ @extend %constrain-to-parent;
68
+ }
69
+
70
+ }
@@ -0,0 +1,89 @@
1
+ // Headings -------------------------------------------------------------- */
2
+
3
+ %h1, %h2, %h3, %h4, %h5, %h6 {
4
+ @extend %headers;
5
+ font-weight: normal;
6
+ text-rendering: optimizeLegibility;
7
+ }
8
+
9
+ %h1 {
10
+ @if $adjust-font-size-to == true {
11
+ @include adjust-font-size-to(nth($header-sizes, 1));
12
+ }
13
+ @else {
14
+ font-size: nth($header-sizes, 1);
15
+ }
16
+ }
17
+
18
+ %h2 {
19
+ @if $adjust-font-size-to == true {
20
+ @include adjust-font-size-to(nth($header-sizes, 2));
21
+ }
22
+ @else {
23
+ font-size: nth($header-sizes, 2);
24
+ }
25
+ }
26
+
27
+ %h3 {
28
+ @if $adjust-font-size-to == true {
29
+ @include adjust-font-size-to(nth($header-sizes, 3));
30
+ }
31
+ @else {
32
+ font-size: nth($header-sizes, 3);
33
+ }
34
+ }
35
+
36
+ %h4 {
37
+ @if $adjust-font-size-to == true {
38
+ @include adjust-font-size-to(nth($header-sizes, 4));
39
+ }
40
+ @else {
41
+ font-size: nth($header-sizes, 4);
42
+ }
43
+ }
44
+
45
+ %h5 {
46
+ @if $adjust-font-size-to == true {
47
+ @include adjust-font-size-to(nth($header-sizes, 5));
48
+ }
49
+ @else {
50
+ font-size: nth($header-sizes, 5);
51
+ }
52
+ }
53
+
54
+ %h6 {
55
+ @if $adjust-font-size-to == true {
56
+ @include adjust-font-size-to(nth($header-sizes, 6));
57
+ }
58
+ @else {
59
+ font-size: nth($header-sizes, 6);
60
+ }
61
+ }
62
+
63
+ h1 {
64
+ @extend %h1;
65
+ }
66
+
67
+ h2 {
68
+ @extend %h2;
69
+ }
70
+
71
+ h3 {
72
+ @extend %h3;
73
+ }
74
+
75
+ h4 {
76
+ @extend %h4;
77
+ }
78
+
79
+ h5 {
80
+ @extend %h5;
81
+ }
82
+
83
+ h6 {
84
+ @extend %h6;
85
+ }
86
+
87
+ @if $header-ampersands == true {
88
+ @include header-ampersands;
89
+ }
@@ -0,0 +1,19 @@
1
+ // Images -------------------------------------------------------------- */
2
+
3
+ img {
4
+ @extend %constrain-to-parent;
5
+ height: auto;
6
+ vertical-align: text-bottom;
7
+ @if $init-type != normalize {
8
+ border: 0;
9
+ -ms-interpolation-mode: bicubic;
10
+ }
11
+ &.left {
12
+ float: left;
13
+ margin: $kit-baseline-half $kit-gutter $kit-baseline-half 0;
14
+ }
15
+ &.right {
16
+ float: right;
17
+ margin: $kit-baseline-half 0 $kit-baseline-half $kit-gutter;
18
+ }
19
+ }
@@ -0,0 +1,109 @@
1
+ small {
2
+ @include adjust-font-size-to(ms(-1));
3
+ }
4
+
5
+ s {
6
+ // add your own styles, if you like
7
+ }
8
+
9
+ cite {
10
+ @extend %italic;
11
+ }
12
+
13
+ q {
14
+ @extend %italic;
15
+ quotes: "“" "”";
16
+ &:before {
17
+ content: open-quote;
18
+ }
19
+ &:after {
20
+ content: close-quote;
21
+ }
22
+ }
23
+
24
+ dfn {
25
+ @extend %bold;
26
+ @extend %italic;
27
+ }
28
+
29
+ abbr, acronym {
30
+ border-bottom: 1px dotted;
31
+ cursor: help;
32
+ }
33
+
34
+ time {
35
+ // add your own styles, if you like
36
+ }
37
+
38
+ code {
39
+ @extend %mono;
40
+ }
41
+
42
+ var {
43
+ // add your own styles, if you like
44
+ }
45
+
46
+ samp {
47
+ // add your own styles, if you like
48
+ }
49
+
50
+ kbd {
51
+ @extend %mono;
52
+ }
53
+
54
+ tt {
55
+ @extend %mono;
56
+ }
57
+
58
+ sup, sub {
59
+ font-size: 75%;
60
+ line-height: 0;
61
+ position: relative;
62
+ vertical-align: baseline;
63
+ }
64
+
65
+ sup {
66
+ top: -0.5em;
67
+ }
68
+
69
+ sub {
70
+ bottom: -0.25em;
71
+ }
72
+
73
+ i {
74
+ @extend %italic;
75
+ }
76
+
77
+ b {
78
+ @extend %bold;
79
+ }
80
+
81
+ u {
82
+ // add your own styles, if you like
83
+ }
84
+
85
+ mark {
86
+ background: $red;
87
+ background-color: rgba($yellow, 0.5);
88
+ text-shadow: none;
89
+ }
90
+
91
+ ruby {
92
+ // add your own styles, if you like
93
+ }
94
+
95
+ rt {
96
+ // add your own styles, if you like
97
+ }
98
+
99
+ rp {
100
+ // add your own styles, if you like
101
+ }
102
+
103
+ bdi {
104
+ // add your own styles, if you like
105
+ }
106
+
107
+ bdo {
108
+ // add your own styles, if you like
109
+ }