foundation-sass 2.1

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 (54) hide show
  1. data/README.mkdn +70 -0
  2. data/lib/foundation-sass.rb +9 -0
  3. data/stylesheets/_foundation-sass.sass +1 -0
  4. data/templates/project/MIT-LICENSE.txt +20 -0
  5. data/templates/project/config.rb +33 -0
  6. data/templates/project/humans.txt +8 -0
  7. data/templates/project/images/misc/button-gloss.png +0 -0
  8. data/templates/project/images/misc/button-overlay.png +0 -0
  9. data/templates/project/images/misc/custom-form-sprites.png +0 -0
  10. data/templates/project/images/misc/input-bg.png +0 -0
  11. data/templates/project/images/misc/modal-gloss.png +0 -0
  12. data/templates/project/images/misc/table-sorter.png +0 -0
  13. data/templates/project/images/orbit/bullets.jpg +0 -0
  14. data/templates/project/images/orbit/left-arrow.png +0 -0
  15. data/templates/project/images/orbit/loading.gif +0 -0
  16. data/templates/project/images/orbit/mask-black.png +0 -0
  17. data/templates/project/images/orbit/pause-black.png +0 -0
  18. data/templates/project/images/orbit/right-arrow.png +0 -0
  19. data/templates/project/images/orbit/rotator-black.png +0 -0
  20. data/templates/project/images/orbit/timer-black.png +0 -0
  21. data/templates/project/index.html +151 -0
  22. data/templates/project/javascripts/app.js +43 -0
  23. data/templates/project/javascripts/forms.jquery.js +58 -0
  24. data/templates/project/javascripts/jquery.customforms.js +168 -0
  25. data/templates/project/javascripts/jquery.min.js +4 -0
  26. data/templates/project/javascripts/jquery.orbit-1.3.0.js +597 -0
  27. data/templates/project/javascripts/jquery.placeholder.min.js +2 -0
  28. data/templates/project/javascripts/jquery.reveal.js +126 -0
  29. data/templates/project/manifest.rb +75 -0
  30. data/templates/project/robots.txt +4 -0
  31. data/templates/project/sass/app.sass +6 -0
  32. data/templates/project/sass/forms.sass +189 -0
  33. data/templates/project/sass/globals.sass +128 -0
  34. data/templates/project/sass/grid.sass +159 -0
  35. data/templates/project/sass/ie.sass +11 -0
  36. data/templates/project/sass/includes/_colors.sass +8 -0
  37. data/templates/project/sass/includes/_mixins.sass +32 -0
  38. data/templates/project/sass/includes/_settings.sass +5 -0
  39. data/templates/project/sass/mobile.sass +215 -0
  40. data/templates/project/sass/orbit.sass +156 -0
  41. data/templates/project/sass/reveal.sass +86 -0
  42. data/templates/project/sass/typography.sass +130 -0
  43. data/templates/project/sass/ui.sass +331 -0
  44. data/templates/project/stylesheets/app.css +1 -0
  45. data/templates/project/stylesheets/forms.css +70 -0
  46. data/templates/project/stylesheets/globals.css +69 -0
  47. data/templates/project/stylesheets/grid.css +66 -0
  48. data/templates/project/stylesheets/ie.css +2 -0
  49. data/templates/project/stylesheets/mobile.css +76 -0
  50. data/templates/project/stylesheets/orbit.css +45 -0
  51. data/templates/project/stylesheets/reveal.css +24 -0
  52. data/templates/project/stylesheets/typography.css +57 -0
  53. data/templates/project/stylesheets/ui.css +110 -0
  54. metadata +109 -0
@@ -0,0 +1,86 @@
1
+ @import includes/settings
2
+ @import includes/mixins
3
+ @import includes/colors
4
+ /* Reveal Modals */
5
+ .reveal-modal-bg
6
+ position: fixed
7
+ height: 100%
8
+ width: 100%
9
+ background: #000
10
+ background: rgba(0,0,0,0.8)
11
+ z-index: 100
12
+ display: none
13
+ top: 0
14
+ left: 0
15
+
16
+ .reveal-modal
17
+ visibility: hidden
18
+ top: 100px
19
+ left: 50%
20
+ margin-left: -300px
21
+ width: 520px
22
+ background: #eee image-url('misc/modal-gloss.png') no-repeat -200px -80px
23
+ position: absolute
24
+ z-index: 101
25
+ padding: 30px 40px 34px
26
+ +border-radius(5px)
27
+ +box-shadow(0 0 10px rgba(0,0,0,0.4))
28
+ &.small
29
+ width: 200px
30
+ margin-left: -140px
31
+ &.medium
32
+ width: 400px
33
+ margin-left: -240px
34
+ &.large
35
+ width: 600px
36
+ margin-left: -340px
37
+ &.xlarge
38
+ width: 800px
39
+ margin-left: -440px
40
+ .close-reveal-modal
41
+ +font-size(22)
42
+ line-height: .5
43
+ position: absolute
44
+ top: 8px
45
+ right: 11px
46
+ color: #aaa
47
+ text-shadow: 0 -1px 1px rgba(0,0,0,0.6)
48
+ font-weight: bold
49
+ cursor: pointer
50
+
51
+ /* Mobile */
52
+ @media only screen and (device-width: 768px), (device-width: 800px)
53
+ .reveal-modal-bg
54
+ position: absolute
55
+ .reveal-modal
56
+ &.small, &.medium, &.large, &.xlarge
57
+ width: 60%
58
+ top: 30%
59
+ left: 15%
60
+ margin-left: 0px
61
+ padding: 5%
62
+ height: auto
63
+ @media only screen and (max-width: 767px)
64
+ .reveal-modal-bg
65
+ position: absolute
66
+ .reveal-modal
67
+ &.small, &.medium, &.large, &.xlarge
68
+ width: 80%
69
+ top: 15%
70
+ left: 5%
71
+ margin-left: 0px
72
+ padding: 5%
73
+ height: auto
74
+
75
+
76
+ /* NOTES */
77
+ /* Close button entity is × */
78
+
79
+ /* Example markup */
80
+ /* <div id="myModal" class="reveal-modal"> */
81
+ /* <h2>Awesome. I have it.</h2> */
82
+ /* <p class="lead">Your couch. I it's mine.</p> */
83
+ /* <p>Lorem ipsum dolor sit amet...</p> */
84
+ /* <a class="close-reveal-modal">&#215;</a> */
85
+ /* </div> */
86
+
@@ -0,0 +1,130 @@
1
+ @import includes/settings
2
+ @import includes/mixins
3
+ @import includes/colors
4
+ /* Typography */
5
+ h1,h2,h3,h4,h5,h6
6
+ color: #181818
7
+ font-weight: bold
8
+ line-height: 1.25
9
+ small
10
+ color: #777
11
+ a
12
+ font-weight: inherit
13
+ h1
14
+ +font-size(46)
15
+ margin-bottom: 12px
16
+ h2
17
+ +font-size(35)
18
+ margin-bottom: 9px
19
+ h3
20
+ +font-size(28)
21
+ margin-bottom: 9px
22
+ h4
23
+ +font-size(21)
24
+ margin-bottom: 3px
25
+ h5
26
+ +font-size(18)
27
+ margin-bottom: 3px
28
+ font-weight: normal
29
+ h6
30
+ +font-size(15)
31
+ font-weight: normal
32
+
33
+ .subhead
34
+ color: #777
35
+ font-weight: 300
36
+ margin-bottom: 24px
37
+
38
+ p
39
+ line-height: 17px
40
+ margin: 0 0 18px
41
+ img
42
+ margin: 0
43
+ &.lead
44
+ +font-size(18)
45
+ line-height: 24px
46
+
47
+ em, i
48
+ font-style: italic
49
+ line-height: inherit
50
+ strong, b
51
+ font-weight: bold
52
+ line-height: inherit
53
+ small
54
+ font-size: 60%
55
+ line-height: inherit
56
+
57
+ /* Mobile */
58
+ @media only screen and (max-width: 767px)
59
+ body, p
60
+ +font-size(15)
61
+ line-height: 1.4
62
+
63
+ /* Blockquotes */
64
+ blockquote
65
+ line-height: 20px
66
+ color: #777
67
+ margin: 0 0 18px
68
+ padding: 9px 20px 0 19px
69
+ border-left: 1px solid #ddd
70
+ p
71
+ line-height: 20px
72
+ color: #777
73
+ cite
74
+ display: block
75
+ +font-size(12)
76
+ color: #555
77
+ &:before
78
+ content: "/2014 /0020"
79
+ a, a:visited
80
+ color: #555
81
+
82
+ hr
83
+ border: solid #ddd
84
+ border-width: 1px 0 0
85
+ clear: both
86
+ margin: 12px 0 18px
87
+ height: 0
88
+
89
+ abbr, acronym
90
+ text-transform: uppercase
91
+ font-size: 90%
92
+ color: #222
93
+ border-bottom: 1px solid #ddd
94
+ cursor: help
95
+ abbr
96
+ text-transform: none
97
+
98
+ /* Print styles. Inlined to avoid required HTTP connection: */ /* www.phpied.com/delay-loading-your-print-css/ */
99
+ /* Credit to Paul Irish and HTML5 Boilerplate (html5boilerplate.com) */
100
+ @media print
101
+ *
102
+ background: transparent !important
103
+ color: $black !important
104
+ text-shadow: none !important
105
+ filter: none !important
106
+ -ms-filter: none !important
107
+ p
108
+ a, a:visited
109
+ color: #444 !important
110
+ text-decoration: underline
111
+ a[href]:after
112
+ content: " (" attr(href) ")"
113
+ abbr[title]:after
114
+ content: " (" attr(href) ")"
115
+ .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after
116
+ content: ""
117
+ pre, blockquote
118
+ border: solid 1px #999
119
+ page-break-inside: avoid
120
+ thead
121
+ display: table-header-group
122
+ tr, img
123
+ page-break-inside: avoid
124
+ @page
125
+ margin: 0.5cm
126
+ p, h2, h3
127
+ orphans: 3
128
+ widows: 3
129
+ h2, h3
130
+ page-break-after: avoid
@@ -0,0 +1,331 @@
1
+ @import includes/settings
2
+ @import includes/mixins
3
+ @import includes/colors
4
+ /* Table of Content */
5
+ /* :: Buttons */
6
+ /* :: Notices/Alerts */
7
+ /* :: tabs */
8
+ /* :: Pagination */
9
+ /* :: Lists */
10
+ /* :: Panels */
11
+
12
+ /* Buttons */
13
+ .button
14
+ background: $blue
15
+ display: inline-block
16
+ text-align: center
17
+ padding: 9px 34px 11px
18
+ color: $white
19
+ text-decoration: none
20
+ font-weight: bold
21
+ +HelveticaFontStack
22
+ line-height: 1
23
+ position: relative
24
+ cursor: pointer
25
+ border: none
26
+ &.nice
27
+ background-color: $blue
28
+ +background-image(linear-gradient(rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.2) 50%, rgba(0,0,0,0) 51%, rgba(0,0,0,0) 100%))
29
+ +box-shadow(0 1px 0 rgba(255,255,255,0.5) inset)
30
+ text-shadow: 0 -1px 1px rgba(0,0,0,0.28)
31
+ border: solid 1px darken($blue, 7%)
32
+ +transition-property(background-color)
33
+ +transition-duration(.15s)
34
+ +transition-timing-function(ease-in-out)
35
+ &.radius
36
+ +border-radius(3px)
37
+ &.round
38
+ +border-radius(1000px)
39
+ &.full-width
40
+ width: 100%
41
+ padding-left: 0 !important
42
+ padding-right: 0 !important
43
+ text-align: center
44
+ &.left-align
45
+ text-align: left
46
+ text-indent: 12px
47
+ &:active
48
+ //currently blank
49
+
50
+ input[type=submit].button
51
+ -webkit-appearance: none
52
+
53
+ /* Sizes */
54
+ .button
55
+ &.small
56
+ +font-size(11)
57
+ padding: 8px 20px 10px
58
+ width: auto
59
+ &.medium
60
+ +font-size(13)
61
+ width: auto
62
+ &.large
63
+ +font-size(18)
64
+ padding: 11px 48px 13px
65
+ width: auto
66
+ /* Colors */
67
+ .button
68
+ &.blue
69
+ background-color: $blue
70
+ &.red
71
+ background-color: $red
72
+ &.white
73
+ background-color: #e9e9e9
74
+ color: #333
75
+ &.black
76
+ background-color: $black
77
+ /* Nice Colors */
78
+ .nice
79
+ &.button
80
+ &.blue
81
+ border: solid 1px darken($blue, 7%)
82
+ &.red
83
+ border: solid 1px darken($red, 7%)
84
+ &.white
85
+ border: solid 1px darken($white, 14%)
86
+ text-shadow: none !important
87
+ &.black
88
+ border: solid 1px darken($black, 7%)
89
+ /* Hovers */
90
+ .button
91
+ &:hover
92
+ background-color: darken($blue, 5%)
93
+ color: #fff
94
+ &.blue
95
+ &:hover
96
+ background-color: darken($blue, 5%)
97
+ &.red
98
+ &:hover
99
+ background-color: darken($red, 5%)
100
+ &.white
101
+ &:hover
102
+ background-color: darken($white, 12%)
103
+ color: #333
104
+ &.black
105
+ &:hover
106
+ background-color: darken($black, 5%)
107
+
108
+ /* Disabled */
109
+ .button.disabled, .button[disabled]
110
+ +opacity(0.6)
111
+ cursor: default
112
+
113
+ /* Alerts */
114
+ div.alert-box
115
+ display: block
116
+ padding: 6px 7px
117
+ font-weight: bold
118
+ +font-size(13)
119
+ background: #eee
120
+ border: 1px solid rgba(0,0,0,0.1)
121
+ margin-bottom: 12px
122
+ +border-radius(3px)
123
+ text-shadow: 0 1px rgba(255,255,255,0.9)
124
+ position: relative
125
+ &.success
126
+ background-color: #7fae00
127
+ color: $white
128
+ text-shadow: 0 -1px rgba(0,0,0,0.3)
129
+ &.warning
130
+ background-color: #c08c00
131
+ color: $white
132
+ text-shadow: 0 -1px rgba(0,0,0,0.3)
133
+ &.error
134
+ background-color: #c00000
135
+ color: $white
136
+ text-shadow: 0 -1px rgba(0,0,0,0.3)
137
+ a.close
138
+ color: $black
139
+ position: absolute
140
+ right: 4px
141
+ top: 0px
142
+ +font-size(18)
143
+ +opacity(0.2)
144
+ padding: 4px
145
+ &:hover
146
+ +opacity(0.4)
147
+
148
+ /* Tabs */
149
+ dl.tabs
150
+ display: block
151
+ margin: 0 0 20px
152
+ padding: 0
153
+ height: 30px
154
+ border-bottom: solid 1px #ddd
155
+ dt
156
+ display: block
157
+ width: auto
158
+ height: 30px
159
+ padding: 0px 9px 0px 20px
160
+ line-height: 30px
161
+ float: left
162
+ color: #999
163
+ +font-size(11)
164
+ text-transform: uppercase
165
+ cursor: default
166
+ &:first-child
167
+ padding: 0 9px 0 0
168
+ dd
169
+ display: block
170
+ width: auto
171
+ height: 30px
172
+ padding: 0
173
+ float: left
174
+ a
175
+ display: block
176
+ width: auto
177
+ height: 29px
178
+ padding: 0 9px
179
+ line-height: 30px
180
+ border: solid 1px #ddd
181
+ margin: 0 -1px 0 0
182
+ color: #555
183
+ background: #eee
184
+ &.active
185
+ background: #fff
186
+ border-width: 1px 1px 0px 1px
187
+ height: 30px
188
+ .nice
189
+ &.tabs
190
+ border-bottom: solid 1px #eee
191
+ margin: 0 0 30px
192
+ height: 43px
193
+ dd
194
+ a
195
+ padding: 7px 18px 9px
196
+ +font-size(15)
197
+ color: #555
198
+ background: none
199
+ border: none
200
+ &.active
201
+ font-weight: bold
202
+ color: #333
203
+ background: #fff
204
+ border-left: 1px solid #eee
205
+ border-right: 1px solid #eee
206
+ border-top: 1px solid #00a6fc
207
+ margin: 0 10px
208
+ position: relative
209
+ top: -5px
210
+ &:first-child
211
+ a.active
212
+ margin-left: 0
213
+ dl.tabs.vertical
214
+ height: auto
215
+ dl.tabs.vertical dt, dl.tabs.vertical dd, dl.nice.tabs.vertical dt, dl.nice.tabs.vertical dd
216
+ float: none
217
+ height: auto
218
+ dl.tabs.vertical dd a
219
+ display: block
220
+ width: auto
221
+ height: auto
222
+ padding: 15px 20px
223
+ line-height: 1
224
+ border: solid 0px #ccc
225
+ border-width: 1px 1px 0px
226
+ margin: 0
227
+ color: #555
228
+ background: #eee
229
+ +font-size(15)
230
+ &.active
231
+ height: auto
232
+ margin: 0
233
+ border-width: 1px 0px 0px
234
+ background: $white
235
+ .nice.tabs.vertical
236
+ border-bottom: solid 1px #eee
237
+ height: auto
238
+ dd
239
+ a
240
+ padding: 15px 20px
241
+ background: $white
242
+ border: none
243
+ border-left: 1px solid #eee
244
+ border-right: 1px solid #eee
245
+ border-top: 1px solid #eee
246
+ &.active
247
+ border: none
248
+ background: $blue
249
+ color: $white
250
+ margin: 0
251
+ position: static
252
+ top: 0px
253
+ height: auto
254
+ &:first-child
255
+ margin-left: 0
256
+ dl.tabs.vertical
257
+ height: auto
258
+ dt,
259
+
260
+ ul.tabs-content
261
+ margin: 0
262
+ display: block
263
+ &>li
264
+ display: none
265
+ &.active
266
+ display: block
267
+
268
+ dl.contained, dl.nice.contained
269
+ margin-bottom: 0px
270
+ dl.contained.tabs dd a
271
+ padding: 0px 14px
272
+ dl.nice.contained.tabs dd a
273
+ padding: 7px 18px 9px
274
+
275
+ ul.contained.tabs-content
276
+ padding: 0
277
+ li
278
+ padding: 20px
279
+ border: solid 0px #ddd
280
+ border-width: 0 1px 1px 1px
281
+ ul.nice.contained.tabs-content li
282
+ border-color: #eee
283
+
284
+ /* Pagination */
285
+ ul.pagination
286
+ display: block
287
+ height: 24px
288
+ margin-left: -5px
289
+ li
290
+ float: left
291
+ display: block
292
+ height: 24px
293
+ color: #999
294
+ +font-size(15)
295
+ margin-left: 5px
296
+ a
297
+ display: block
298
+ padding: 6px 7px 4px
299
+ color: #555
300
+ &.current, &:hover
301
+ a
302
+ border-bottom: solid 2px #00a6fc
303
+ color: #141414
304
+ &.unavailable
305
+ a
306
+ cursor: default
307
+ color: #999
308
+ &:hover
309
+ a
310
+ border-bottom: none
311
+
312
+ /* Lists */
313
+ ul.nice, ol.nice
314
+ list-style: none
315
+ margin: 0
316
+ li
317
+ padding-left: 13px
318
+ position: relative
319
+ ul.nice li span.bullet, ol.nice li span.number
320
+ position: absolute
321
+ left: 0px
322
+ top: 0px
323
+ color: #ccc
324
+
325
+ /* Panels */
326
+ div.panel
327
+ padding: 20px 20px 2px 20px
328
+ background-color: #efefef
329
+ +background-image(linear-gradient(#ffffff 0%, #f4f4f4 100%))
330
+ +box-shadow(0px 2px 5px rgba(0,0,0,0.15))
331
+ margin: 0 0 20px 0