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,201 +0,0 @@
1
- // Set up the layout for your site using your chosen grid framework
2
-
3
- // Style Tile Grid
4
- // define grid variables
5
- $total-columns: 5;
6
- $column-width: 4em;
7
- $gutter-width: 1em;
8
- $grid-padding: 1em;
9
- $container-style: magic;
10
-
11
- // define breakpoints in EMs
12
- $bp-handheld: calc-em(321px, $base-font-size);
13
- $bp-handheld-wide: calc-em(481px, $base-font-size);
14
- $bp-tablet: calc-em(721px, $base-font-size);
15
- $bp-desktop: calc-em(1025px, $base-font-size);
16
-
17
- // define media layout variables
18
- $media-layout-handheld: 2 $bp-handheld;
19
- $media-layout-handheld-wide: $bp-handheld 3 $bp-handheld-wide;
20
- $media-layout-medium: $bp-handheld-wide 6 $bp-tablet;
21
- $media-layout-tablet: $bp-tablet 8 $bp-desktop;
22
- $media-layout-desktop: $bp-desktop 12;
23
-
24
- @import "susy";
25
-
26
- // LAYOUT --------------------------------------------------------------
27
- .styletile {
28
- #page {
29
- .ie6 &, .ie7 &, .ie8 & {
30
- @include container;
31
- @include susy-grid-backgrounds;
32
- }
33
- @include at-breakpoint($media-layout-handheld) {
34
- $container-style: fluid;
35
- $grid-padding: 0;
36
- @include container;
37
- @include susy-grid-backgrounds;
38
- }
39
-
40
- @include at-breakpoint($media-layout-handheld-wide) {
41
- $container-style: fluid;
42
- $grid-padding: 0;
43
- @include container;
44
- @include susy-grid-backgrounds;
45
- }
46
-
47
- @include at-breakpoint($media-layout-medium) {
48
- $grid-padding: 1em;
49
- $container-style: fluid;
50
- @include container;
51
- @include susy-grid-backgrounds;
52
- header {
53
- .client-id {
54
- @include span-columns(3, 6);
55
- }
56
- aside {
57
- @include span-columns(3 omega, 6);
58
- }
59
- }
60
- #main {
61
- .text-examples {
62
- @include span-columns(3, 6);
63
- }
64
- .graphic-examples {
65
- @include span-columns(3 omega, 6);
66
- }
67
- }
68
- }
69
-
70
- @include at-breakpoint($media-layout-tablet) {
71
- $grid-padding: 1em;
72
- $container-style: fluid;
73
- @include container;
74
- @include susy-grid-backgrounds;
75
- header {
76
- .client-id {
77
- @include span-columns(5, 8);
78
- }
79
- aside {
80
- @include span-columns(3 omega, 8);
81
- }
82
- }
83
- #main {
84
- .text-examples {
85
- @include span-columns(4, 8);
86
- }
87
- .graphic-examples {
88
- @include span-columns(4 omega, 8);
89
- }
90
- }
91
- }
92
-
93
- @include at-breakpoint($media-layout-desktop) {
94
- $grid-padding: 1em;
95
- $container-style: magic;
96
- @include container;
97
- @include susy-grid-backgrounds;
98
- header {
99
- .client-id {
100
- @include span-columns(8, 12);
101
- }
102
- aside {
103
- @include span-columns(4 omega, 12);
104
- }
105
- }
106
- #main {
107
- .text-examples {
108
- @include span-columns(6, 12);
109
- }
110
- .graphic-examples {
111
- @include span-columns(6 omega, 12);
112
- }
113
- }
114
- }
115
- }
116
- }
117
-
118
- // graphic examples
119
-
120
- // colors
121
- .styletile {
122
- .colors {
123
- ul {
124
- @include inline-list;
125
- li {
126
- height: $kit-baseline * 5;
127
- margin-bottom: $kit-baseline;
128
- border: 4px solid $white;
129
- position: relative;
130
- &:after {
131
- position: relative;
132
- top: 102%;
133
- color: $gray;
134
- }
135
- @include at-breakpoint($media-layout-handheld) {
136
- @include span-columns(1, 2);
137
- &:nth-of-type(2n+2) {
138
- @include omega;
139
- }
140
- }
141
-
142
- @include at-breakpoint($media-layout-handheld-wide) {
143
- @include span-columns(1, 3);
144
- &:nth-of-type(3n+3) {
145
- @include omega;
146
- }
147
- }
148
-
149
- @include at-breakpoint($media-layout-medium) {
150
- @include span-columns(1, 3);
151
- &:nth-of-type(3n+3) {
152
- @include omega;
153
- }
154
- }
155
-
156
- @include at-breakpoint($media-layout-tablet) {
157
- @include span-columns(1, 4);
158
- &:nth-of-type(4n+4) {
159
- @include omega;
160
- }
161
- }
162
-
163
- @include at-breakpoint($media-layout-desktop) {
164
- @include span-columns(1, 6);
165
- &:nth-of-type(6n+6) {
166
- @include omega;
167
- }
168
- }
169
- }
170
- }
171
- }
172
- }
173
-
174
- .styletile {
175
- .images {
176
- ul {
177
- @include inline-list;
178
- li {
179
- overflow: hidden;
180
- margin-bottom: $kit-baseline;
181
- @include at-breakpoint($media-layout-tablet) {
182
- @include span-columns(2, 4);
183
- &:nth-of-type(2n+2) {
184
- @include omega;
185
- }
186
- }
187
-
188
- @include at-breakpoint($media-layout-desktop) {
189
- @include span-columns(3, 6);
190
- &:nth-of-type(2n+2) {
191
- @include omega;
192
- }
193
- }
194
-
195
- img {
196
- @extend %constrain-to-parent;
197
- }
198
- }
199
- }
200
- }
201
- }
@@ -1,157 +0,0 @@
1
- // styles for survivalkit ui
2
-
3
- $fontAwesomePath: "fontawesome-webfont"
4
- @import 'survivalkit/fonts/font-awesome'
5
-
6
- $kit-font-family: $font-serifs
7
-
8
- $sk-lightgray: #ccc
9
- $sk-gray: #666
10
- $sk-midgray: #444
11
- $sk-darkgray: #333
12
-
13
- header.kit-ui
14
- padding: 0.5em 0.5em 0
15
- @extend .clearfix
16
- background: $sk-darkgray
17
- border-bottom: 1px solid $black
18
-
19
- .kit-ui
20
- background: $sk-gray
21
- font-family: $kit-font-family
22
- color: $sk-lightgray
23
- margin-bottom: 0
24
- +clearfix
25
- a
26
- +link-colors($white, $sk-lightgray, $sk-lightgray, $white)
27
- +border-links($white, $sk-lightgray, $sk-lightgray, $white)
28
- h1, h2, div
29
- display: inline
30
- h1
31
- +adjust-font-size-to(16px)
32
- float: left
33
- padding-right: 0.5em
34
- margin-right: 0.5em
35
- font-family: futura, $kit-font-family
36
- a
37
- +undo-border-links
38
- display: block
39
- .page-info
40
- border-left: 1px solid white
41
- float: left
42
- padding-left: 0.5em
43
- a
44
- +undo-border-links
45
- h2
46
- +adjust-font-size-to(16px)
47
- margin-top: 0
48
- font-family: $kit-font-family
49
- margin-right: 1em
50
- .intro
51
- +adjust-font-size-to(14px)
52
-
53
-
54
- ////////////////////////////
55
- // NAVIGATION
56
- ////////////////////////////
57
- .menu-trigger
58
- float: left
59
- min-width: calc-em(44px, 16px)
60
- min-height: calc-em(44px, 16px)
61
- margin-top: -0.5em
62
- border-bottom-width: 0 !important
63
- border-bottom-color: transparent !important
64
- @extend %font-awesome
65
- @extend .icon-th-list
66
- &:before
67
- font-size: 24px
68
- line-height: calc-em(44px, 24px)
69
- .jPanelMenu #menu
70
- display: none
71
- #jPanelMenu-menu
72
- background: $sk-midgray
73
- font-family: $kit-font-family
74
- color: $sk-lightgray
75
- // padding-top: calc-em(44px, 16px)
76
- .kit-nav, .section-nav
77
- margin-bottom: 16px
78
- padding: 0 0.5em
79
- #{headings()}
80
- font-size: $base-font-size
81
- a
82
- +link-colors($white, $black, $black, $white)
83
- +undo-border-links
84
- ul
85
- +no-bullets
86
- padding-left: 0
87
- .no-js body,
88
- body.documentation
89
- +display-box
90
- +box-orient(horizontal)
91
- +box-align(stretch)
92
- padding-top: 44px
93
- header.kit-ui
94
- position: fixed
95
- width: 100%
96
- height: 44px
97
- margin-top: -44px
98
- #menu
99
- width: auto
100
- max-width: 250px
101
- margin-right: 1em
102
-
103
- h1.section-title
104
- +adjust-font-size-to(ms(0))
105
- text-transform: uppercase
106
- padding-left: 0.5em
107
- margin-top: 0
108
- border-bottom: 1px solid $sk-gray
109
-
110
- .fold-section,
111
- .fold-article
112
- +undo-border-links
113
- +link-colors($sk-gray, $sk-lightgray, $sk-lightgray, $sk-gray, false)
114
- border-bottom-width: 0 !important
115
- border-bottom-color: transparent !important
116
- @extend %font-awesome
117
-
118
- .fold-section,
119
- .fold-article
120
- margin-left: 1em
121
- .fold-article
122
- +link-colors($sk-lightgray, $sk-gray, $sk-gray, $sk-lightgray, false)
123
- .fold-section-close,
124
- .fold-article-close
125
- @extend .icon-remove-sign
126
- .fold-section-open,
127
- .fold-article-open
128
- @extend .icon-plus-sign
129
-
130
- div.element
131
- padding-bottom: 44px
132
- border-bottom: 1px solid transparentize($border-color, 0.9)
133
- &.closed
134
- padding-bottom: 0
135
- h2.element-title
136
- +adjust-font-size-to(ms(0))
137
- border-bottom: 1px solid $sk-lightgray
138
- text-transform: uppercase
139
- padding-left: 0.5em
140
- .example
141
- +vertical-separation($kit-baseline, 1px, transparentize($border-color, 0.9), dashed)
142
- +pie-clearfix
143
- .markup
144
- display: inline
145
- float: left
146
- width: 64.228%
147
- margin-right: 2.439%
148
- & + .show-source
149
- display: inline
150
- float: right
151
- width: 30.894%
152
- margin-right: 0
153
- @extend %mono
154
- .show-hide
155
- text-align: right
156
- & + p
157
- clear: both
@@ -1,7 +0,0 @@
1
- .clearfix {
2
- @extend %clearfix;
3
- }
4
-
5
- .hidden {
6
- @extend %hidden;
7
- }
@@ -1 +0,0 @@
1
- // see: elements-ui-patterns.html for markup
@@ -1,213 +0,0 @@
1
- // Create the design for your site below
2
-
3
- .styletile {
4
- header {
5
- @include clearfix;
6
- @include trailer;
7
- aside {
8
- text-align: right;
9
- color: $gray;
10
- @extend .sans;
11
- }
12
- }
13
-
14
- .group {
15
- @include 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
- }