survivalkit 1.0.beta.1 → 1.0.beta.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.markdown +3 -0
- data/lib/survivalkit.rb +1 -1
- data/templates/shared/drupal/arrow-asc.png +0 -0
- data/templates/shared/drupal/arrow-desc.png +0 -0
- data/templates/shared/drupal/background.png +0 -0
- data/templates/shared/drupal/close.png +0 -0
- data/templates/shared/drupal/configure.png +0 -0
- data/templates/shared/drupal/draggable.png +0 -0
- data/templates/shared/drupal/druplicon.png +0 -0
- data/templates/shared/drupal/feed.png +0 -0
- data/templates/shared/drupal/forum-icons.png +0 -0
- data/templates/shared/drupal/gear-select.png +0 -0
- data/templates/shared/drupal/grippie.png +0 -0
- data/templates/shared/drupal/help.png +0 -0
- data/templates/shared/drupal/hook.png +0 -0
- data/templates/shared/drupal/lock.png +0 -0
- data/templates/shared/drupal/menu-collapsed-rtl.png +0 -0
- data/templates/shared/drupal/menu-collapsed.png +0 -0
- data/templates/shared/drupal/menu-expanded.png +0 -0
- data/templates/shared/drupal/menu-leaf.png +0 -0
- data/templates/shared/drupal/message-16-error.png +0 -0
- data/templates/shared/drupal/message-16-help.png +0 -0
- data/templates/shared/drupal/message-16-info.png +0 -0
- data/templates/shared/drupal/message-16-ok.png +0 -0
- data/templates/shared/drupal/message-16-warning.png +0 -0
- data/templates/shared/drupal/message-24-error.png +0 -0
- data/templates/shared/drupal/message-24-help.png +0 -0
- data/templates/shared/drupal/message-24-info.png +0 -0
- data/templates/shared/drupal/message-24-ok.png +0 -0
- data/templates/shared/drupal/message-24-warning.png +0 -0
- data/templates/shared/drupal/permissions.png +0 -0
- data/templates/shared/drupal/powered-black-135x42.png +0 -0
- data/templates/shared/drupal/powered-black-80x15.png +0 -0
- data/templates/shared/drupal/powered-black-88x31.png +0 -0
- data/templates/shared/drupal/powered-blue-135x42.png +0 -0
- data/templates/shared/drupal/powered-blue-80x15.png +0 -0
- data/templates/shared/drupal/powered-blue-88x31.png +0 -0
- data/templates/shared/drupal/powered-gray-135x42.png +0 -0
- data/templates/shared/drupal/powered-gray-80x15.png +0 -0
- data/templates/shared/drupal/powered-gray-88x31.png +0 -0
- data/templates/shared/drupal/progress.gif +0 -0
- data/templates/shared/drupal/throbber.gif +0 -0
- data/templates/shared/drupal/tree-bottom.png +0 -0
- data/templates/shared/drupal/tree.png +0 -0
- data/templates/shared/drupal/watchdog-error.png +0 -0
- data/templates/shared/drupal/watchdog-ok.png +0 -0
- data/templates/shared/drupal/watchdog-warning.png +0 -0
- data/templates/shared/formalize/button.png +0 -0
- data/templates/shared/formalize/select_arrow.gif +0 -0
- data/templates/shared/partials/01-variables/_all.scss +3 -0
- data/templates/shared/partials/01-variables/_base.scss +172 -0
- data/templates/shared/partials/01-variables/_colors.scss +61 -0
- data/templates/shared/partials/01-variables/_fonts.scss +15 -0
- data/templates/shared/partials/02-mixins/_custom.scss +5 -0
- data/templates/shared/partials/03-extend/_all.scss +2 -0
- data/templates/shared/partials/03-extend/_helpers.scss +7 -0
- data/templates/shared/partials/03-extend/_typography.scss +40 -0
- data/templates/shared/partials/04-base/_all.scss +8 -0
- data/templates/shared/partials/04-base/_common.scss +137 -0
- data/templates/shared/partials/04-base/_edits.scss +8 -0
- data/templates/shared/partials/04-base/_font-face.scss +14 -0
- data/templates/shared/partials/04-base/_form-defaults.scss +70 -0
- data/templates/shared/partials/04-base/_headers.scss +89 -0
- data/templates/shared/partials/04-base/_images.scss +19 -0
- data/templates/shared/partials/04-base/_semantics.scss +109 -0
- data/templates/shared/partials/04-base/_tables.scss +60 -0
- data/templates/shared/partials/05-layout/_grids-susy.scss +34 -0
- data/templates/shared/partials/06-ui-patterns/_common.scss +1 -0
- data/templates/shared/partials/06-ui-patterns/_drupal-patterns.scss +108 -0
- data/templates/shared/partials/07-styletile/_tile-design.scss +213 -0
- data/templates/shared/partials/08-media/_print.scss +72 -0
- data/templates/shared/partials/readme.markdown +3 -0
- data/templates/shared/readme.markdown +3 -0
- data/templates/shared/style.scss +95 -0
- data/templates/shared/survival-kit-logo.png +0 -0
- data/templates/shared/survivalkit/drupal7.scss +3224 -0
- data/templates/shared/survivalkit/survivalkit.scss +32 -0
- data/templates/shared/your-design-here/_design.scss +2 -0
- metadata +78 -2
@@ -0,0 +1,60 @@
|
|
1
|
+
// Tables -------------------------------------------------------------- */
|
2
|
+
// tables still need 'cellspacing="0"' in the markup */
|
3
|
+
|
4
|
+
table {
|
5
|
+
@extend %constrain-to-parent;
|
6
|
+
}
|
7
|
+
|
8
|
+
// stripes?
|
9
|
+
tr {
|
10
|
+
&:nth-of-type(odd) {
|
11
|
+
td {
|
12
|
+
// add your own styles, if you like
|
13
|
+
}
|
14
|
+
}
|
15
|
+
&:nth-of-type(even) {
|
16
|
+
td {
|
17
|
+
// add your own styles, if you like
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
tfoot {
|
23
|
+
// add your own styles, if you like
|
24
|
+
}
|
25
|
+
|
26
|
+
caption {
|
27
|
+
// add your own styles, if you like
|
28
|
+
}
|
29
|
+
|
30
|
+
colgroup {
|
31
|
+
// add your own styles, if you like
|
32
|
+
}
|
33
|
+
|
34
|
+
col {
|
35
|
+
// add your own styles, if you like
|
36
|
+
}
|
37
|
+
|
38
|
+
tbody {
|
39
|
+
// add your own styles, if you like
|
40
|
+
}
|
41
|
+
|
42
|
+
thead {
|
43
|
+
// add your own styles, if you like
|
44
|
+
}
|
45
|
+
|
46
|
+
tfoot {
|
47
|
+
// add your own styles, if you like
|
48
|
+
}
|
49
|
+
|
50
|
+
tr {
|
51
|
+
// add your own styles, if you like
|
52
|
+
}
|
53
|
+
|
54
|
+
td {
|
55
|
+
// add your own styles, if you like
|
56
|
+
}
|
57
|
+
|
58
|
+
th {
|
59
|
+
// add your own styles, if you like
|
60
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
// SUSY GRID FRAMEWORK
|
2
|
+
//*
|
3
|
+
// Susy: Un-obtrusive grids for designers
|
4
|
+
// By: Eric A. Meyer and OddBird
|
5
|
+
// Site: susy.oddbird.net
|
6
|
+
//*
|
7
|
+
|
8
|
+
// Grid Variables --------------------------------------------------------------
|
9
|
+
$total-columns: 12;
|
10
|
+
$column-width: 6em;
|
11
|
+
$gutter-width: 2em;
|
12
|
+
$side-gutter-width: $gutter-width;
|
13
|
+
|
14
|
+
// uncomment to output the full container width to the terminal
|
15
|
+
// @debug columns-width()
|
16
|
+
|
17
|
+
// BUILD THE GRID FOR YOUR SITE
|
18
|
+
|
19
|
+
// BUILD THE GRID BY CALLING SUSY MIXINS ON DOM ELEMENTS
|
20
|
+
// #container {
|
21
|
+
// @include container;
|
22
|
+
// @if $show-grid == true {
|
23
|
+
// @include susy-grid-background;
|
24
|
+
// }
|
25
|
+
// @elseif $show-baseline == true {
|
26
|
+
// @include baseline-grid-background;
|
27
|
+
// }
|
28
|
+
// }
|
29
|
+
// .main {
|
30
|
+
// @include span-columns(8);
|
31
|
+
// }
|
32
|
+
// .side {
|
33
|
+
// @include span-columns(4 omega);
|
34
|
+
// }
|
@@ -0,0 +1 @@
|
|
1
|
+
// see: elements-ui-patterns.html for markup
|
@@ -0,0 +1,108 @@
|
|
1
|
+
// see: elements-ui-patterns-drupal.html for markup
|
2
|
+
|
3
|
+
// SITE NAME
|
4
|
+
#site-name {
|
5
|
+
a {
|
6
|
+
@include remove-link-underlines;
|
7
|
+
}
|
8
|
+
}
|
9
|
+
|
10
|
+
// MENUS
|
11
|
+
#main-menu {
|
12
|
+
@include horizontal-list(0.5em);
|
13
|
+
}
|
14
|
+
|
15
|
+
// SEARCH FIELD
|
16
|
+
|
17
|
+
// MESSAGES
|
18
|
+
.messages {
|
19
|
+
border: 1px solid $border-color;
|
20
|
+
padding: $kit-baseline-half 0.5em;
|
21
|
+
p:last-child {
|
22
|
+
margin-bottom: 0;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
.status, .warning, .error {
|
27
|
+
@extend .messages;
|
28
|
+
}
|
29
|
+
|
30
|
+
.status {
|
31
|
+
border-color: $green;
|
32
|
+
color: $green;
|
33
|
+
}
|
34
|
+
|
35
|
+
.warning {
|
36
|
+
border-color: $orange;
|
37
|
+
color: $orange;
|
38
|
+
}
|
39
|
+
|
40
|
+
.error {
|
41
|
+
border-color: $red;
|
42
|
+
color: $red;
|
43
|
+
}
|
44
|
+
|
45
|
+
// BLOCK
|
46
|
+
|
47
|
+
// TABS
|
48
|
+
ul.tabs {
|
49
|
+
@include tabs;
|
50
|
+
}
|
51
|
+
|
52
|
+
// NEW USER FORM
|
53
|
+
.form-required {
|
54
|
+
color: $red;
|
55
|
+
}
|
56
|
+
|
57
|
+
// LOG IN FORM
|
58
|
+
|
59
|
+
// NEW PASSWORD FORM
|
60
|
+
|
61
|
+
// PAGERS
|
62
|
+
ul.pager {
|
63
|
+
@include horizontal-list(0.5em);
|
64
|
+
a {
|
65
|
+
@include remove-link-underlines;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
// RSS LINK
|
70
|
+
a.feed-icon {
|
71
|
+
@include remove-link-underlines;
|
72
|
+
}
|
73
|
+
|
74
|
+
// INLINE LINKS
|
75
|
+
ul.inline {
|
76
|
+
@include inline-list;
|
77
|
+
}
|
78
|
+
|
79
|
+
// TAXONOMY LIST
|
80
|
+
.field-type-taxonomy-term-reference {
|
81
|
+
.field-item {
|
82
|
+
display: inline;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
// FIELDS
|
87
|
+
.field-label-above {
|
88
|
+
.field-label {
|
89
|
+
display: block;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
// NODE PAGE
|
94
|
+
|
95
|
+
// COMMENTS
|
96
|
+
#comments {
|
97
|
+
.comment {
|
98
|
+
@include vertical-separation;
|
99
|
+
&:last-child {
|
100
|
+
@include un-vertical-separation;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
.indented {
|
104
|
+
padding-left: 1em;
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
// COMMENT FORM
|
@@ -0,0 +1,213 @@
|
|
1
|
+
// Create the design for your site below
|
2
|
+
|
3
|
+
.styletile {
|
4
|
+
header {
|
5
|
+
@include pie-clearfix;
|
6
|
+
@include trailer;
|
7
|
+
aside {
|
8
|
+
text-align: right;
|
9
|
+
color: $gray;
|
10
|
+
@extend .sans;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
|
14
|
+
.group {
|
15
|
+
@include pie-clearfix;
|
16
|
+
@include trailer(2);
|
17
|
+
}
|
18
|
+
|
19
|
+
.label {
|
20
|
+
color: $gray;
|
21
|
+
@include adjust-font-size-to(ms(0));
|
22
|
+
text-transform: uppercase;
|
23
|
+
font-family: $font-sans;
|
24
|
+
}
|
25
|
+
|
26
|
+
.colors {
|
27
|
+
ul {
|
28
|
+
li {
|
29
|
+
@include box-shadow(rgba($black, 0.1) 0px 2px 4px);
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
.images {
|
35
|
+
ul {
|
36
|
+
counter-reset: section;
|
37
|
+
li {
|
38
|
+
position: relative;
|
39
|
+
overflow: visible;
|
40
|
+
// +scatter($child: img)
|
41
|
+
&:after {
|
42
|
+
position: relative;
|
43
|
+
top: 102%;
|
44
|
+
display: block;
|
45
|
+
color: $gray;
|
46
|
+
counter-increment: section;
|
47
|
+
content: "Image " counter(section);
|
48
|
+
}
|
49
|
+
img {
|
50
|
+
@include box-shadow(rgba($black, 0.1) 0px 2px 4px);
|
51
|
+
border: 4px solid $white;
|
52
|
+
display: block;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
|
60
|
+
// CLIENT NAME ------------------------------------------------------------------------------------------------------------------------------
|
61
|
+
|
62
|
+
.styletile {
|
63
|
+
header {
|
64
|
+
h1.client-name {
|
65
|
+
// some styles
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
// STYLE TILE #1 ------------------------------------------------------------------------------------------------------------------------------
|
71
|
+
|
72
|
+
// type examples
|
73
|
+
.styletile-1 {
|
74
|
+
.text-examples {
|
75
|
+
.logos {
|
76
|
+
counter-reset: logos;
|
77
|
+
h1 {
|
78
|
+
counter-increment: logos;
|
79
|
+
&:before {
|
80
|
+
@extend .label;
|
81
|
+
display: block;
|
82
|
+
font-weight: normal;
|
83
|
+
line-height: 1;
|
84
|
+
}
|
85
|
+
&.opt-1 {
|
86
|
+
// add your own styles, if you like
|
87
|
+
&:before {
|
88
|
+
content: counter(logos) " - #{$font-sans}";
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
.headers {
|
94
|
+
h1 {
|
95
|
+
// add your own styles, if you like
|
96
|
+
}
|
97
|
+
h2 {
|
98
|
+
// add your own styles, if you like
|
99
|
+
}
|
100
|
+
h3 {
|
101
|
+
// add your own styles, if you like
|
102
|
+
}
|
103
|
+
a {
|
104
|
+
// add your own styles, if you like
|
105
|
+
}
|
106
|
+
}
|
107
|
+
.serif {
|
108
|
+
font-family: $font-serifs;
|
109
|
+
.label:after {
|
110
|
+
content: " - #{$font-serifs}";
|
111
|
+
}
|
112
|
+
p {
|
113
|
+
//
|
114
|
+
}
|
115
|
+
}
|
116
|
+
.quotes {
|
117
|
+
// add your own styles, if you like
|
118
|
+
.quote {
|
119
|
+
// add your own styles, if you like
|
120
|
+
.quote-mark {
|
121
|
+
// add your own styles, if you like
|
122
|
+
}
|
123
|
+
}
|
124
|
+
.source {
|
125
|
+
// add your own styles, if you like
|
126
|
+
}
|
127
|
+
}
|
128
|
+
.sans {
|
129
|
+
font-family: $font-sans;
|
130
|
+
.label:after {
|
131
|
+
content: " - #{$font-sans}";
|
132
|
+
}
|
133
|
+
p {
|
134
|
+
// add your own styles, if you like
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
139
|
+
|
140
|
+
// graphic examples
|
141
|
+
|
142
|
+
// colors
|
143
|
+
.styletile-1 {
|
144
|
+
.colors {
|
145
|
+
ul {
|
146
|
+
li {
|
147
|
+
&.color-1 {
|
148
|
+
background-color: $color-tile1-1;
|
149
|
+
&:after {
|
150
|
+
content: #{$color-tile1-1};
|
151
|
+
}
|
152
|
+
}
|
153
|
+
&.color-2 {
|
154
|
+
background-color: $color-tile1-2;
|
155
|
+
&:after {
|
156
|
+
content: #{$color-tile1-2};
|
157
|
+
}
|
158
|
+
}
|
159
|
+
&.color-3 {
|
160
|
+
background-color: $color-tile1-3;
|
161
|
+
&:after {
|
162
|
+
content: #{$color-tile1-3};
|
163
|
+
}
|
164
|
+
}
|
165
|
+
&.color-4 {
|
166
|
+
background-color: $color-tile1-4;
|
167
|
+
&:after {
|
168
|
+
content: #{$color-tile1-4};
|
169
|
+
}
|
170
|
+
}
|
171
|
+
&.color-5 {
|
172
|
+
background-color: $color-tile1-5;
|
173
|
+
&:after {
|
174
|
+
content: #{$color-tile1-5};
|
175
|
+
}
|
176
|
+
}
|
177
|
+
&.color-6 {
|
178
|
+
background-color: $color-tile1-6;
|
179
|
+
&:after {
|
180
|
+
content: #{$color-tile1-6};
|
181
|
+
}
|
182
|
+
}
|
183
|
+
}
|
184
|
+
}
|
185
|
+
}
|
186
|
+
}
|
187
|
+
|
188
|
+
.styletile-1 {
|
189
|
+
.images {
|
190
|
+
ul {
|
191
|
+
li {
|
192
|
+
&.image-1 {
|
193
|
+
// add your own styles, if you like
|
194
|
+
}
|
195
|
+
&.image-2 {
|
196
|
+
// add your own styles, if you like
|
197
|
+
}
|
198
|
+
&.image-3 {
|
199
|
+
// add your own styles, if you like
|
200
|
+
}
|
201
|
+
&.image-4 {
|
202
|
+
// add your own styles, if you like
|
203
|
+
}
|
204
|
+
&.image-5 {
|
205
|
+
// add your own styles, if you like
|
206
|
+
}
|
207
|
+
&.image-6 {
|
208
|
+
// add your own styles, if you like
|
209
|
+
}
|
210
|
+
}
|
211
|
+
}
|
212
|
+
}
|
213
|
+
}
|
@@ -0,0 +1,72 @@
|
|
1
|
+
// PRINT STYLES
|
2
|
+
|
3
|
+
// Based heavily on the work of:
|
4
|
+
// Paul Irish & Divya Manian: http://html5boilerplate.com/
|
5
|
+
// And many others, less directly...
|
6
|
+
|
7
|
+
// Print Defaults --------------------------------------------------------------
|
8
|
+
@media print {
|
9
|
+
* {
|
10
|
+
background: transparent !important;
|
11
|
+
color: $black !important;
|
12
|
+
text-shadow: none !important;
|
13
|
+
filter: none !important;
|
14
|
+
-ms-filter: none !important;
|
15
|
+
}
|
16
|
+
// Black prints faster: h5bp.com/s
|
17
|
+
body {
|
18
|
+
font-family: $font-serifs !important;
|
19
|
+
font-size: 12pt !important;
|
20
|
+
}
|
21
|
+
#{headers(all)} {
|
22
|
+
font-family: $font-serifs !important;
|
23
|
+
}
|
24
|
+
a {
|
25
|
+
text-decoration: underline;
|
26
|
+
border-bottom: none !important;
|
27
|
+
&:visited {
|
28
|
+
text-decoration: underline;
|
29
|
+
}
|
30
|
+
&[href]:after {
|
31
|
+
content: " (" attr(href) ")";
|
32
|
+
}
|
33
|
+
}
|
34
|
+
abbr[title]:after {
|
35
|
+
content: " (" attr(title) ")";
|
36
|
+
}
|
37
|
+
.ir a:after {
|
38
|
+
content: "";
|
39
|
+
}
|
40
|
+
a {
|
41
|
+
&[href^="javascript:"]:after, &[href^="#"]:after {
|
42
|
+
content: "";
|
43
|
+
}
|
44
|
+
}
|
45
|
+
// Don't show links for images, or Javascript/internal links
|
46
|
+
pre, blockquote {
|
47
|
+
border: 1px solid #999999;
|
48
|
+
page-break-inside: avoid;
|
49
|
+
}
|
50
|
+
thead {
|
51
|
+
display: table-header-group;
|
52
|
+
}
|
53
|
+
// h5bp.com/t
|
54
|
+
tr {
|
55
|
+
page-break-inside: avoid;
|
56
|
+
}
|
57
|
+
img {
|
58
|
+
page-break-inside: avoid;
|
59
|
+
max-width: 100% !important;
|
60
|
+
}
|
61
|
+
@page {
|
62
|
+
margin: 0.5cm;
|
63
|
+
}
|
64
|
+
|
65
|
+
p, h2, h3 {
|
66
|
+
orphans: 3;
|
67
|
+
widows: 3;
|
68
|
+
}
|
69
|
+
h2, h3 {
|
70
|
+
page-break-after: avoid;
|
71
|
+
}
|
72
|
+
}
|