ZURB-foundation 2.1.3b

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. data/README.mkdn +65 -0
  2. data/lib/ZURB-foundation.rb +9 -0
  3. data/stylesheets/ZURB/_forms.sass +192 -0
  4. data/stylesheets/ZURB/_foundation.sass +9 -0
  5. data/stylesheets/ZURB/_globals.sass +132 -0
  6. data/stylesheets/ZURB/_grid.sass +186 -0
  7. data/stylesheets/ZURB/_includes.sass +3 -0
  8. data/stylesheets/ZURB/_mobile.sass +292 -0
  9. data/stylesheets/ZURB/_orbit.sass +156 -0
  10. data/stylesheets/ZURB/_reveal.sass +88 -0
  11. data/stylesheets/ZURB/_typography.sass +129 -0
  12. data/stylesheets/ZURB/_ui.sass +447 -0
  13. data/stylesheets/ZURB/includes/_colors.sass +8 -0
  14. data/stylesheets/ZURB/includes/_mixins.sass +32 -0
  15. data/stylesheets/ZURB/includes/_settings.sass +5 -0
  16. data/templates/project/MIT-LICENSE.txt +20 -0
  17. data/templates/project/humans.txt +8 -0
  18. data/templates/project/images/misc/button-gloss.png +0 -0
  19. data/templates/project/images/misc/button-overlay.png +0 -0
  20. data/templates/project/images/misc/custom-form-sprites.png +0 -0
  21. data/templates/project/images/misc/input-bg.png +0 -0
  22. data/templates/project/images/misc/modal-gloss.png +0 -0
  23. data/templates/project/images/misc/table-sorter.png +0 -0
  24. data/templates/project/images/orbit/bullets.jpg +0 -0
  25. data/templates/project/images/orbit/left-arrow.png +0 -0
  26. data/templates/project/images/orbit/loading.gif +0 -0
  27. data/templates/project/images/orbit/mask-black.png +0 -0
  28. data/templates/project/images/orbit/pause-black.png +0 -0
  29. data/templates/project/images/orbit/right-arrow.png +0 -0
  30. data/templates/project/images/orbit/rotator-black.png +0 -0
  31. data/templates/project/images/orbit/timer-black.png +0 -0
  32. data/templates/project/index.html +151 -0
  33. data/templates/project/javascripts/app.js +94 -0
  34. data/templates/project/javascripts/forms.jquery.js +58 -0
  35. data/templates/project/javascripts/jquery.customforms.js +168 -0
  36. data/templates/project/javascripts/jquery.min.js +4 -0
  37. data/templates/project/javascripts/jquery.orbit-1.3.0.js +597 -0
  38. data/templates/project/javascripts/jquery.placeholder.min.js +2 -0
  39. data/templates/project/javascripts/jquery.reveal.js +126 -0
  40. data/templates/project/manifest.rb +49 -0
  41. data/templates/project/robots.txt +4 -0
  42. data/templates/project/sass/app.sass +26 -0
  43. data/templates/project/sass/ie.sass +14 -0
  44. metadata +98 -0
@@ -0,0 +1,3 @@
1
+ @import includes/settings
2
+ @import includes/colors
3
+ @import includes/mixins
@@ -0,0 +1,292 @@
1
+ @import includes/settings
2
+ @import includes/mixins
3
+ @import includes/colors
4
+ /* Mobile Grid Fixes */
5
+
6
+ /* Typography */
7
+ @media only screen and (max-width: 767px)
8
+ h1
9
+ +font-size(32)
10
+ line-height: 1.3
11
+ h2
12
+ +font-size(28)
13
+ line-height: 1.3
14
+ h3
15
+ +font-size(21)
16
+ line-height: 1.3
17
+ h4
18
+ +font-size(18)
19
+ line-height: 1.2
20
+ h5
21
+ +font-size(16)
22
+ line-height: 1.2
23
+ h6
24
+ +font-size(15)
25
+ line-height: 1.2
26
+ body, p
27
+ +font-size(15)
28
+ line-height: 1.4
29
+
30
+ /* Tablet screens */
31
+ @media only screen and (device-width: 768px), (device-width: 800)
32
+ /* Currently unused */
33
+
34
+ @media only screen and (max-width: 767px)
35
+ body
36
+ -webkit-text-size-adjust: none
37
+ -ms-text-size-adjust: none
38
+ width: 100%
39
+ min-width: 0
40
+ margin-left: 0
41
+ margin-right: 0
42
+ padding-left: 0
43
+ padding-right: 0
44
+ .container
45
+ min-width: 0
46
+ margin-left: 0
47
+ margin-right: 0
48
+ .row
49
+ width: 100%
50
+ min-width: 0
51
+ margin-left: 0
52
+ margin-right: 0
53
+ .row .row .column, .row .row .columns
54
+ padding: 0
55
+ .column, .columns
56
+ width: auto !important
57
+ float: none
58
+ margin-left: 0
59
+ margin-right: 0
60
+ .column:last-child, .columns:last-child
61
+ margin-right: 0
62
+ .offset-by-one, .offset-by-two, .offset-by-three, .offset-by-four, .offset-by-five, .offset-by-six, .offset-by-seven, .offset-by-eight, .offset-by-nine, .offset-by-ten, .offset-by-eleven, .centered
63
+ margin-left: 0% !important
64
+
65
+ /* Mobile 4-column Grid */
66
+ .row
67
+ .phone-one.column:first-child, .phone-two.column:first-child, .phone-three.column:first-child, .phone-four.column:first-child, .phone-one.columns:first-child, .phone-two.columns:first-child, .phone-three.columns:first-child, .phone-four.columns:first-child
68
+ margin-left: 0
69
+ .phone-one.column, .phone-two.column, .phone-three.column, .phone-four.column, .phone-one.columns, .phone-two.columns, .phone-three.columns, .phone-four.columns
70
+ margin-left: 4.4%
71
+ float: left
72
+ min-height: 1px
73
+ position: relative
74
+ padding: 0
75
+ .phone-one.columns
76
+ width: 21.68% !important
77
+ .phone-two.columns
78
+ width: 47.8% !important
79
+ .phone-three.columns
80
+ width: 73.9% !important
81
+ .phone-four.columns
82
+ width: 100% !important
83
+
84
+
85
+
86
+ /* Block Grid */
87
+ @media only screen and (max-width: 767px)
88
+ .block-grid.mobile
89
+ margin-left: 0%
90
+ li
91
+ float: none
92
+ width: 100%
93
+ margin-left: 0%
94
+
95
+ /* Mobile Visibility Affordances */
96
+ .show-on-phones
97
+ display: none !important
98
+ .show-on-tablets
99
+ display: none !important
100
+ .show-on-desktops
101
+ display: block !important
102
+
103
+ .hide-on-phones
104
+ display: block !important
105
+ .hide-on-tablets
106
+ display: block !important
107
+ .hide-on-desktops
108
+ display: none !important
109
+
110
+ @media only screen and (max-device-width: 800), only screen and (device-width: 1024px) and (device-width: 600), only screen and (width: 1280) and (orientation: landscape), only screen and (device-width: 800)
111
+ .show-on-phones
112
+ display: block !important
113
+ .show-on-tablets
114
+ display: none !important
115
+ .show-on-desktops
116
+ display: block !important
117
+
118
+ .hide-on-phones
119
+ display: none !important
120
+ .hide-on-tablets
121
+ display: block !important
122
+ .hide-on-desktops
123
+ display: none !important
124
+
125
+ @media only screen and (max-width: 767px)
126
+ .show-on-phones
127
+ display: none !important
128
+ .show-on-tablets
129
+ display: block !important
130
+ .show-on-desktops
131
+ display: block !important
132
+
133
+ .hide-on-phones
134
+ display: block !important
135
+ .hide-on-tablets
136
+ display: none !important
137
+ .hide-on-desktops
138
+ display: none !important
139
+
140
+ /* Specific overrides for elements that require something other than display: block */
141
+
142
+ table
143
+ &.show-on-desktops
144
+ display: table !important
145
+ &.hide-on-phones
146
+ display: table !important
147
+ &.hide-on-tablets
148
+ display: table !important
149
+
150
+ @media only screen and (max-device-width: 800), only screen and (device-width: 1024px) and (device-height: 600), only screen and (width: 1280) and (orientation: landscape), only screen and (device-width: 800)
151
+ table
152
+ &.hide-on-phones
153
+ display: block !important
154
+ &.hide-on-desktops
155
+ display: block !important
156
+ &.show-on-tablets
157
+ display: block !important
158
+
159
+ @media only screen and (max-width: 767px)
160
+ table
161
+ &.hide-on-tablets
162
+ display: block !important
163
+ &.hide-on-desktops
164
+ display: block !important
165
+ &.show-on-phones
166
+ display: block !important
167
+
168
+ /* Forms */
169
+ @media only screen and (max-width: 767px)
170
+ input.input-text, input.input-text.oversize, textarea, form.nice input.input-text, form.nice input.input-text.oversize, form.nice textarea
171
+ display: block
172
+ width: 96%
173
+ padding: 6px 2% 4px
174
+ +font-size(18)
175
+ form.nice input.input-text, form.nice input.input-text.oversize, form.nice textarea
176
+ +border-radius(2px)
177
+ form.nice small.error
178
+ padding: 6px 2%
179
+ display: block
180
+ form.nice .small+.error, form.nice .medium+.error, form.nice .large+.error
181
+ width: auto
182
+
183
+ /* Buttons */
184
+ @media only screen and (max-width: 767px)
185
+ .button
186
+ display: block
187
+ button.button
188
+ width: 100%
189
+ padding-left: 0
190
+ padding-right: 0
191
+
192
+ /* Tabs */
193
+ @media only screen and (max-width: 767px)
194
+ dl.tabs.mobile, dl.nice.tabs.mobile
195
+ width: auto
196
+ margin: 20px -20px 40px
197
+ height: auto
198
+ dl.tabs.mobile dt, dl.tabs.mobile dd, dl.nice.tabs.mobile dt, dl.nice.tabs.mobile dd
199
+ float: none
200
+ height: auto
201
+
202
+ dl.tabs.mobile dd a
203
+ display: block
204
+ width: auto
205
+ height: auto
206
+ padding: 18px 20px
207
+ line-height: 1
208
+ border: solid 0 #ccc
209
+ border-width: 1px 0 0
210
+ margin: 0
211
+ color: #555
212
+ background: #eee
213
+ +font-size(15)
214
+ dl.tabs.mobile dd a.active
215
+ height: auto
216
+ margin: 0
217
+ border-width: 1px 0 0
218
+
219
+ .nice.tabs.mobile
220
+ border-bottom: solid 1px #ccc
221
+ height: auto
222
+ .nice.tabs.mobile dd a
223
+ padding: 18px 20px
224
+ border: none
225
+ border-left: none
226
+ border-right: none
227
+ border-top: solid 1px #ccc
228
+ background: #fff
229
+ &.active
230
+ border: none
231
+ background: #00a6fc
232
+ color: #fff
233
+ margin: 0
234
+ position: static
235
+ top: 0
236
+ height: auto
237
+ .nice.tabs.mobile dd:first-child a.active
238
+ margin-bottom: 0
239
+
240
+ dl.contained.mobile, dl.nice.contained.mobile
241
+ margin-bottom: 0
242
+ dl.contained.tabs.mobile dd a
243
+ padding: 18px 20px
244
+ dl.nice.contained.tabs.mobile dd a
245
+ padding: 18px 20px
246
+
247
+ /* Nav Bar with Dropdowns */
248
+ .nav-bar
249
+ height: auto
250
+ &>li
251
+ float: none
252
+ display: block
253
+ &>a
254
+ text-align: left
255
+ border-top: 1px solid #ddd
256
+ border-right: none
257
+ &.has-flyout
258
+ &>a
259
+ &:after
260
+ content: ""
261
+ width: 0
262
+ height: 0
263
+ border-left: 4px solid transparent
264
+ border-right: 4px solid transparent
265
+ border-top: 4px solid #2a85e8
266
+ display: block
267
+ &:first-child
268
+ &>a
269
+ border-top: none
270
+ &:hover
271
+ &>a
272
+ font-weight: bold
273
+ ul
274
+ position: relative
275
+ .flyout
276
+ position: relative
277
+ width: auto
278
+ margin-right: -2px
279
+ border-width: 1px 1px 0px 1px
280
+ &.right
281
+ float: none
282
+ right: auto
283
+ left: -1px
284
+ &.small, &.large
285
+ width: auto
286
+ p.last-child
287
+ margin-bottom: 18px
288
+
289
+ /* Video */
290
+ @media only screen and (max-device-width: 800px), only screen and (device-width: 1024px) and (device-height: 600px), only screen and (width: 1280px) and (orientation: landscape), only screen and (device-width: 800px), only screen and (max-width: 767px)
291
+ .video
292
+ padding-top: 0
@@ -0,0 +1,156 @@
1
+ @import includes/settings
2
+ @import includes/mixins
3
+ @import includes/colors
4
+ /* CSS for jQuery Orbit Plugin 1.2.3 :: www.ZURB.com/playground :: Copyright 2010, ZURB :: Free to use under the MIT license. :: http://www.opensource.org/licenses/mit-license.php */
5
+
6
+ /* PUT IN YOUR SLIDER ID AND SIZE TO MAKE LOAD BEAUTIFULLY */
7
+ #featured
8
+ width: 940px
9
+ height: 450px
10
+ background: #000 image-url('orbit/loading.gif') no-repeat center center
11
+ overflow: hidden
12
+ &>img, &>div, &>a
13
+ display: none
14
+
15
+ /* Container */
16
+ div.orbit-wrapper
17
+ width: 1px
18
+ height: 1px
19
+ position: relative
20
+ div.orbit
21
+ width: 1px
22
+ height: 1px
23
+ position: relative
24
+ overflow: hidden
25
+ &.with-bullets
26
+ margin-bottom: 40px
27
+ &>img
28
+ position: absolute
29
+ top: 0
30
+ left: 0
31
+ &>a
32
+ border: none
33
+ position: absolute
34
+ top: 0
35
+ left: 0
36
+ line-height: 0
37
+ display: none
38
+
39
+ /* Note: If your slider only uses content or anchors, you're going to want to put the width and height declarations on the ".orbit>div" and "div.orbit>a" tags in addition to just the .orbit-wrapper */
40
+ /* Timer */
41
+ div.timer
42
+ width: 40px
43
+ height: 40px
44
+ overflow: hidden
45
+ position: absolute
46
+ top: 10px
47
+ right: 10px
48
+ +opacity(0.6)
49
+ cursor: pointer
50
+ z-index: 1001
51
+ span.rotator
52
+ display: block
53
+ width: 40px
54
+ height: 40px
55
+ position: absolute
56
+ top: 0
57
+ left: -20px
58
+ background: image-url('orbit/rotator-black.png') no-repeat
59
+ z-index: 3
60
+ &.move
61
+ left: 0
62
+ span.mask
63
+ display: block
64
+ width: 20px
65
+ height: 40px
66
+ position: absolute
67
+ top: 0
68
+ right: 0
69
+ z-index: 2
70
+ overflow: hidden
71
+ &.move
72
+ width: 40px
73
+ left: 0
74
+ background: image-url('orbit/timer-black.png') repeat 0 0
75
+ span.pause
76
+ display: block
77
+ width: 40px
78
+ height: 40px
79
+ position: absolute
80
+ top: 0
81
+ left: 0
82
+ background: image-url('orbit/pause-black.png') no-repeat
83
+ z-index: 4
84
+ +opacity(0)
85
+ &.active
86
+ background: image-url('orbit/pause-black.png') no-repeat 0 -40
87
+ div.timer:hover span.pause, span.pause.active
88
+ +opacity(1)
89
+
90
+ /* Captions */
91
+ .orbit-caption
92
+ display: none
93
+ +HelveticaFontStack
94
+ .orbit-wrapper .orbit-caption
95
+ background: #000
96
+ background: rgba(0,0,0,0.6)
97
+ z-index: 1000
98
+ color: #fff
99
+ text-align: center
100
+ padding: 7px 0
101
+ +font-size(13)
102
+ position: absolute
103
+ right: 0
104
+ bottom: 0
105
+ width: 100%
106
+
107
+ /* Directional Nav */
108
+ div.slider-nav
109
+ display: block
110
+ span
111
+ width: 78px
112
+ height: 100px
113
+ text-indent: -99999px
114
+ position: absolute
115
+ z-index: 1000
116
+ top: 50%
117
+ margin-top: -50px
118
+ cursor: pointer
119
+ &.right
120
+ background: image-url('orbit/right-arrow.png')
121
+ right: 0
122
+ &.left
123
+ background: image-url('orbit/left-arrow.png')
124
+ left: 0
125
+
126
+ /* Bullet Nav */
127
+ .orbit-bullets
128
+ position: absolute
129
+ z-index: 1000
130
+ list-style: none
131
+ bottom: -40px
132
+ left: 50%
133
+ margin-left: -50px
134
+ padding: 0
135
+ li
136
+ float: left
137
+ margin-left: 5px
138
+ cursor: pointer
139
+ color: #999
140
+ text-indent: -99999px
141
+ background: image-url('orbit/bullets.jpg') no-repeat 4px 0
142
+ width: 13px
143
+ height: 12px
144
+ overflow: hidden
145
+ &.active
146
+ color: #222
147
+ background-position: -8px 0
148
+ &.has-thumb
149
+ background: none
150
+ width: 100px
151
+ height: 75px
152
+ &.active
153
+ &.has-thumb
154
+ background-position: 0 0
155
+ border-top: solid 2px $black
156
+