zurb-foundation 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. data/.gitignore +5 -0
  2. data/Gemfile +4 -0
  3. data/README.markdown +14 -0
  4. data/Rakefile +1 -0
  5. data/app/assets/images/foundation/misc/button-gloss.png +0 -0
  6. data/app/assets/images/foundation/misc/button-overlay.png +0 -0
  7. data/app/assets/images/foundation/misc/custom-form-sprites.png +0 -0
  8. data/app/assets/images/foundation/misc/input-bg.png +0 -0
  9. data/app/assets/images/foundation/misc/modal-gloss.png +0 -0
  10. data/app/assets/images/foundation/misc/table-sorter.png +0 -0
  11. data/app/assets/images/foundation/orbit/bullets.jpg +0 -0
  12. data/app/assets/images/foundation/orbit/left-arrow.png +0 -0
  13. data/app/assets/images/foundation/orbit/loading.gif +0 -0
  14. data/app/assets/images/foundation/orbit/mask-black.png +0 -0
  15. data/app/assets/images/foundation/orbit/pause-black.png +0 -0
  16. data/app/assets/images/foundation/orbit/right-arrow.png +0 -0
  17. data/app/assets/images/foundation/orbit/rotator-black.png +0 -0
  18. data/app/assets/images/foundation/orbit/timer-black.png +0 -0
  19. data/app/assets/javascripts/foundation/app.js +63 -0
  20. data/app/assets/javascripts/foundation/forms.jquery.js +58 -0
  21. data/app/assets/javascripts/foundation/index.js +6 -0
  22. data/app/assets/javascripts/foundation/jquery.customforms.js +162 -0
  23. data/app/assets/javascripts/foundation/jquery.orbit-1.2.3.js +401 -0
  24. data/app/assets/javascripts/foundation/jquery.reveal.js +150 -0
  25. data/app/assets/stylesheets/foundation/fonts/league/League_Gothic-webfont.eot +0 -0
  26. data/app/assets/stylesheets/foundation/fonts/league/League_Gothic-webfont.svg +223 -0
  27. data/app/assets/stylesheets/foundation/fonts/league/League_Gothic-webfont.ttf +0 -0
  28. data/app/assets/stylesheets/foundation/fonts/league/League_Gothic-webfont.woff +0 -0
  29. data/app/assets/stylesheets/foundation/fonts/league/SIL Open Font License 1.1.txt +91 -0
  30. data/app/assets/stylesheets/foundation/fonts/league/font.css.erb +18 -0
  31. data/app/assets/stylesheets/foundation/forms.css.scss.erb +83 -0
  32. data/app/assets/stylesheets/foundation/globals.css.scss.erb +279 -0
  33. data/app/assets/stylesheets/foundation/index.css +10 -0
  34. data/app/assets/stylesheets/foundation/mobile.css.scss.erb +112 -0
  35. data/app/assets/stylesheets/foundation/orbit-1.2.3.css.scss.erb +201 -0
  36. data/app/assets/stylesheets/foundation/reveal.css.scss.erb +91 -0
  37. data/app/assets/stylesheets/foundation/ui.css.scss.erb +212 -0
  38. data/foundation.gemspec +25 -0
  39. data/lib/foundation/engine.rb +5 -0
  40. data/lib/foundation/generators/USAGE +15 -0
  41. data/lib/foundation/generators/install_generator.rb +14 -0
  42. data/lib/foundation/generators/layout_generator.rb +19 -0
  43. data/lib/foundation/generators/templates/application.css +5 -0
  44. data/lib/foundation/generators/templates/application.html.erb +31 -0
  45. data/lib/foundation/generators/templates/application.js +4 -0
  46. data/lib/foundation/version.rb +3 -0
  47. data/lib/zurb-foundation.rb +7 -0
  48. metadata +112 -0
@@ -0,0 +1,18 @@
1
+ /*
2
+
3
+ Copy and paste the code below to include the League Gothic Font
4
+
5
+ Do not use bold, italic or bold-italic styles with this font as the
6
+ browser will do a terrible job of re-rendering it
7
+
8
+ */
9
+
10
+ @font-face {
11
+ font-family: 'LeagueGothicRegular';
12
+ src: url(<%= asset_path "foundation/league/League_Gothic-webfont.eot" %>);
13
+ src: url(<%= asset_path "foundation/league/League_Gothic-webfont.woff" %>) format('woff'), url(<%= asset_path "foundation/league/League_Gothic-webfont.ttf" %>) format('truetype'), url(<%= asset_path "foundation/league/League_Gothic-webfont.svg#webfontpm5EArBj" %>) format('svg');
14
+ font-weight: normal;
15
+ font-style: normal;
16
+ }
17
+
18
+ .league { font-family: 'LeagueGothicRegular', Impact, "Arial", sans-serif; font-weight: normal !important; }
@@ -0,0 +1,83 @@
1
+ /* Artfully masterminded by ZURB
2
+
3
+ Make sure to include the app.js if you are going to use inline label inputs
4
+ */
5
+
6
+
7
+ /* -----------------------------------------
8
+ Standard Forms
9
+ ----------------------------------------- */
10
+
11
+ form { margin: 0 0 18px; }
12
+ form label { display: block; font-size: 13px; line-height: 18px; cursor: pointer; margin-bottom: 9px; }
13
+
14
+ input.input-text, textarea { border-right: 1px solid #bbb; border-bottom: 1px solid #bbb; }
15
+ input.input-text, textarea, select { display: block; margin-bottom: 9px; }
16
+ label + input.input-text, label + textarea, label + select, label + div.dropdown, select + div.dropdown { margin-top: -9px; }
17
+
18
+ /* Text input and textarea font and padding */
19
+ input.input-text, textarea { font-size: 13px; padding: 4px 3px 2px; outline: none !important; background: #fff; }
20
+ input.input-text.oversize, textarea.oversize { font-size: 18px !important; padding: 4px 5px !important; }
21
+ input.input-text:focus, textarea:focus { background: #f9f9f9; }
22
+
23
+ /* Inlined Label Style */
24
+ input.placeholder, textarea.placeholder { color: #888; }
25
+
26
+ /* Text input and textarea sizes */
27
+ input.input-text, textarea { width: 254px; }
28
+ input.small, textarea.small { width: 134px; }
29
+ input.medium, textarea.medium { width: 254px; }
30
+ input.large, textarea.large { width: 434px; }
31
+
32
+ /* Fieldsets */
33
+ form fieldset { padding: 9px 9px 2px 9px; border: solid 1px #ddd; margin: 18px 0; }
34
+
35
+ /* Errors */
36
+ input.input-text.red { border-color: red; background-color: rgba(255,0,0,0.15); }
37
+ label.red { color: red; }
38
+ small.error { margin-top: -6px; display: block; margin-bottom: 9px; font-size: 11px; color: red; width: 260px; }
39
+
40
+ .small + .error { width: 140px; }
41
+ .medium + .error { width: 260px; }
42
+ .large + .error { width: 440px; }
43
+
44
+ /* -----------------------------------------
45
+ Nicer Forms
46
+ ----------------------------------------- */
47
+ form.nice input.input-text, form.nice textarea { border: solid 1px #bbb; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; }
48
+ form.nice input.input-text, form.nice textarea { font-size: 13px; padding: 6px 3px 4px; outline: none !important; background: url(<%= asset_path "foundation/misc/input-bg.png" %>) #fff; }
49
+ form.nice input.input-text:focus, form.nice textarea:focus { background-color: #f9f9f9; }
50
+
51
+ form.nice fieldset { border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; }
52
+
53
+ form.nice small.error { padding: 6px 4px; border: solid 0px red; border-width: 0px 1px 1px 1px; margin-top: -10px; background: red; color: #fff; font-size: 12px; font-weight: bold; border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; -webkit-border-bottom-left-radius: 2px; -webkit-border-bottom-right-radius: 2px; -moz-border-radius-bottomleft: 2px; -moz-border-radius-bottomright: 2px; }
54
+
55
+ form.nice .small + .error { width: 132px; }
56
+ form.nice .medium + .error { width: 252px; }
57
+ form.nice .large + .error { width: 432px; }
58
+
59
+ /* -----------------------------------------
60
+ Custom Forms
61
+ ----------------------------------------- */
62
+
63
+ form.custom span.custom { display: inline-block; width: 14px; height: 14px; position: relative; top: 2px; border: solid 1px #ccc; background: url(<%= asset_path "foundation/misc/custom-form-sprites.png" %>) 0 0 no-repeat; }
64
+ form.custom span.custom.radio { border-radius: 7px; -webkit-border-radius: 7px; -moz-border-radius: 7px; }
65
+ form.custom span.custom.radio.checked { background-position: 0px -14px; }
66
+ form.custom span.custom.checkbox.checked { background-position: 0px -28px; }
67
+
68
+ form.custom div.custom.dropdown { position: relative; display: inline-block; width: auto; height: 28px; margin-bottom: 9px; }
69
+ form.custom div.custom.dropdown a.current { display: block; width: auto; line-height: 26px; padding: 0 38px 0 6px; border: solid 1px #ddd; color: #141414; }
70
+ form.custom div.custom.dropdown a.selector { position: absolute; width: 26px; height: 26px; display: block; background: url(<%= asset_path "foundation/misc/custom-form-sprites.png" %>) -14px 0 no-repeat; right: 0px; top: 0px; border: solid 1px #ddd; }
71
+ form.custom div.custom.dropdown:hover a.selector,
72
+ form.custom div.custom.dropdown.open a.selector { background-position: -14px -26px; }
73
+
74
+ form.custom div.custom.dropdown ul { position: absolute; width: auto; display: none; margin: 0; left: 0px; top: 27px; margin: 0; padding: 0; background: rgba(255,255,255,0.9); border: solid 1px #ddd; z-index: 10; }
75
+ form.custom div.custom.dropdown ul li { cursor: pointer; padding: 3px 38px 3px 6px; margin: 0; }
76
+ form.custom div.custom.dropdown ul li.selected { background: url(<%= asset_path "foundation/misc/custom-form-sprites.png" %>) right -52px no-repeat; }
77
+ form.custom div.custom.dropdown ul li:hover { background-color: #2a85e8; color: #fff; }
78
+ form.custom div.custom.dropdown ul li.selected:hover { background: url(<%= asset_path "foundation/misc/custom-form-sprites.png" %>) #2a85e8 right -78px no-repeat; }
79
+ form.custom div.custom.dropdown ul.show { display: block; }
80
+
81
+ form.custom div.custom.dropdown.open ul { display: block; }
82
+
83
+
@@ -0,0 +1,279 @@
1
+ /* Arfully Masterminded by ZURB */
2
+
3
+ /* --------------------------------------------------
4
+ Table of Contents
5
+ -----------------------------------------------------
6
+ :: Reset & Standards
7
+ :: Typography
8
+ :: Links
9
+ :: Lists
10
+ :: Mobile-Friendly Grid
11
+ :: Tables
12
+ :: Misc
13
+ :: Block Grids
14
+ */
15
+
16
+
17
+ /* --------------------------------------------------
18
+ :: Global Reset & Standards
19
+ -------------------------------------------------- */
20
+
21
+ /* http://meyerweb.com/eric/tools/css/reset/
22
+ v2.0b1 | 201101
23
+ NOTE: WORK IN PROGRESS
24
+ USE WITH CAUTION AND TEST WITH ABANDON */
25
+
26
+ html, body, div, span, applet, object, iframe,
27
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
28
+ a, abbr, acronym, address, big, cite, code,
29
+ del, dfn, em, img, ins, kbd, q, s, samp,
30
+ small, strike, strong, sub, sup, tt, var,
31
+ b, u, i, center,
32
+ dl, dt, dd, ol, ul, li,
33
+ fieldset, form, label, legend,
34
+ table, caption, tbody, tfoot, thead, tr, th, td,
35
+ article, aside, canvas, details, figcaption, figure,
36
+ footer, header, hgroup, menu, nav, section, summary,
37
+ time, mark, audio, video {
38
+ margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; font: inherit; vertical-align: baseline;
39
+ }
40
+ html { font-size: 62.5%; -webkit-text-size-adjust:none; -ms-text-size-adjust:none; -webkit-tap-highlight-color: rgba(0,0,0,0); }
41
+
42
+ /* HTML5 display-role reset for older browsers */
43
+ article, aside, details, figcaption, figure,
44
+ footer, header, hgroup, menu, nav, section { display: block; }
45
+ body { line-height: 1; }
46
+ ol, ul { list-style: none; }
47
+
48
+ audio[controls], canvas, video { display: inline-block; *display: inline; *zoom: 1; }
49
+
50
+ blockquote, q { quotes: none; }
51
+ blockquote:before, blockquote:after,
52
+ q:before, q:after { content: ''; content: none; }
53
+ :focus { outline: none; }
54
+
55
+ ins { text-decoration: none; }
56
+ del { text-decoration: line-through; }
57
+ table { border-collapse: collapse; border-spacing: 0; }
58
+
59
+
60
+
61
+ body { background: #fff; font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; font-size: 13px; line-height: 18px; color: #555; position: relative; -webkit-font-smoothing: antialiased; }
62
+
63
+
64
+ /* --------------------------------------------------
65
+ :: Typography
66
+ -------------------------------------------------- */
67
+ h1, h2, h3, h4, h5, h6 { color: #181818; font-weight: bold; line-height: 1.25 }
68
+ h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
69
+ h1 { font-size: 46px; font-size: 4.6rem; margin-bottom: 12px;}
70
+ h2 { font-size: 35px; font-size: 3.5rem; margin-bottom: 9px; }
71
+ h3 { font-size: 28px; font-size: 2.8rem; margin-bottom: 9px; }
72
+ h4 { font-size: 21px; font-size: 2.1rem; margin-bottom: 3px; }
73
+ h5 { font-size: 18px; font-size: 1.8rem; font-weight: normal; margin-bottom: 3px; }
74
+ h6 { font-size: 15px; font-size: 1.5rem; font-weight: normal; }
75
+
76
+ .subheader { color: #777; font-weight: 300; margin-bottom: 24px; }
77
+
78
+ p { line-height: 17px; margin: 0 0 18px; }
79
+ p img { margin: 0; }
80
+ p.lead { font-size: 1.8rem; font-size: 18px; line-height: 24px; }
81
+
82
+ /* Mobile */
83
+
84
+ @media handheld, only screen and (max-width: 767px) {
85
+ body, p { font-size: 15px; font-size: 1.5rem; line-height: 1.4; }
86
+ }
87
+
88
+ em { font-style: italic; line-height: inherit; }
89
+ strong { font-weight: bold; line-height: inherit; }
90
+ small { font-size: 60%; line-height: inherit; }
91
+
92
+ h1 small, h2 small, h3 small, h4 small, h5 small { color: #777; }
93
+
94
+ /* Blockquotes */
95
+ blockquote, blockquote p { line-height: 20px; color: #777; }
96
+ blockquote { margin: 0 0 18px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; }
97
+ blockquote cite { display: block; font-size: 12px; font-size: 1.2rem; color: #555; }
98
+ blockquote cite:before { content: "\2014 \0020"; }
99
+ blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; }
100
+
101
+ hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 12px 0 18px; height: 0; }
102
+
103
+ abbr, acronym { text-transform: uppercase; font-size: 90%; color: #222; border-bottom: 1px solid #ddd; cursor: help; }
104
+ abbr { text-transform: none; }
105
+
106
+ /**
107
+ * Print styles.
108
+ *
109
+ * Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
110
+ * Credit to Paul Irish and HTML5 Boilerplate (html5boilerplate.com)
111
+ */
112
+ @media print {
113
+ * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
114
+ -ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
115
+ p a, p a:visited { color: #444 !important; text-decoration: underline; }
116
+ p a[href]:after { content: " (" attr(href) ")"; }
117
+ abbr[title]:after { content: " (" attr(title) ")"; }
118
+ .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } /* Don't show links for images, or javascript/internal links */
119
+ pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
120
+ thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
121
+ tr, img { page-break-inside: avoid; }
122
+ @page { margin: 0.5cm; }
123
+ p, h2, h3 { orphans: 3; widows: 3; }
124
+ h2, h3{ page-break-after: avoid; }
125
+ }
126
+
127
+
128
+ /* --------------------------------------------------
129
+ :: Links
130
+ -------------------------------------------------- */
131
+ a { color: #2a85e8; text-decoration: none; outline: 0; line-height: inherit; }
132
+ a:hover { color: #11639d; }
133
+ p a, p a:visited { line-height: inherit; }
134
+
135
+
136
+ /* --------------------------------------------------
137
+ :: Lists
138
+ -------------------------------------------------- */
139
+ ul, ol { margin-bottom: 18px; }
140
+ ul { list-style: none outside; }
141
+ ol { list-style: decimal; }
142
+ ol, ul.square, ul.circle, ul.disc { margin-left: 30px; }
143
+ ul.square { list-style: square outside; }
144
+ ul.circle { list-style: circle outside; }
145
+ ul.disc { list-style: disc outside; }
146
+ ul ul, ol ol { margin: 4px 0 5px 30px; }
147
+ li { margin-bottom: 12px; }
148
+ ul.large li { line-height: 21px; }
149
+
150
+
151
+ /* --------------------------------------------------
152
+ :: Grid
153
+ -------------------------------------------------- */
154
+
155
+ .container { padding: 0px 20px; }
156
+
157
+ .row { width: 100%; max-width: 980px; min-width: 727px; margin: 0 auto; }
158
+ /* To fix the grid into a certain size, set max-width to width */
159
+ .row .row { min-width: 0px; }
160
+
161
+ .column, .columns { margin-left: 4.4%; float: left; min-height: 1px; position: relative; }
162
+ .column:first-child, .columns:first-child { margin-left: 0px; }
163
+
164
+ .row .one.columns { width: 4.3%; }
165
+ .row .two.columns { width: 13%; }
166
+ .row .three.columns { width: 21.7%; }
167
+ .row .four.columns { width: 30.4%; }
168
+ .row .five.columns { width: 39.1%; }
169
+ .row .six.columns { width: 47.8%; }
170
+ .row .seven.columns { width: 56.5%; }
171
+ .row .eight.columns { width: 65.2%; }
172
+ .row .nine.columns { width: 73.9%; }
173
+ .row .ten.columns { width: 82.6%; }
174
+ .row .eleven.columns { width: 91.3%; }
175
+ .row .twelve.columns { width: 100%; }
176
+
177
+ .row .offset-by-one { margin-left: 13.1%; }
178
+ .row .offset-by-two { margin-left: 21.8%; }
179
+ .row .offset-by-three { margin-left: 30.5%; }
180
+ .row .offset-by-four { margin-left: 39.2%; }
181
+ .row .offset-by-five { margin-left: 47.9%; }
182
+ .row .offset-by-six { margin-left: 56.6%; }
183
+ .row .offset-by-seven { margin-left: 65.3%; }
184
+ .row .offset-by-eight { margin-left: 74.0%; }
185
+ .row .offset-by-nine { margin-left: 82.7%; }
186
+ .row .offset-by-ten { margin-left: 91.4%; }
187
+ /*.row .offset-by-eleven { margin-left: 95.7%; }*/
188
+
189
+ .row .one.centered { margin-left: 47.9%; }
190
+ .row .two.centered { margin-left: 43.5%; }
191
+ .row .three.centered { margin-left: 39.2%; }
192
+ .row .four.centered { margin-left: 34.8%; }
193
+ .row .five.centered { margin-left: 30.5%; }
194
+ .row .six.centered { margin-left: 26.1%; }
195
+ .row .seven.centered { margin-left: 21.8%; }
196
+ .row .eight.centered { margin-left: 17.4%; }
197
+ .row .nine.centered { margin-left: 13.1%; }
198
+ .row .ten.centered { margin-left: 8.7%; }
199
+ .row .eleven.centered { margin-left: 4.3%; }
200
+
201
+ .row .offset-by-one:first-child { margin-left: 8.7%; }
202
+ .row .offset-by-two:first-child { margin-left: 17.4%; }
203
+ .row .offset-by-three:first-child { margin-left: 26.1%; }
204
+ .row .offset-by-four:first-child { margin-left: 34.8%; }
205
+ .row .offset-by-five:first-child { margin-left: 43.5%; }
206
+ .row .offset-by-six:first-child { margin-left: 52.2%; }
207
+ .row .offset-by-seven:first-child { margin-left: 60.9%; }
208
+ .row .offset-by-eight:first-child { margin-left: 69.6%; }
209
+ .row .offset-by-nine:first-child { margin-left: 78.3%; }
210
+ .row .offset-by-ten:first-child { margin-left: 87%; }
211
+ .row .offset-by-eleven:first-child { margin-left: 95.7%; }
212
+
213
+ img, object, embed { max-width: 100%; }
214
+ img { -ms-interpolation-mode: bicubic; }
215
+
216
+
217
+ /* Clear the columns automagically */
218
+ .row:after, .clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
219
+ .row:last-child:after { content: ""; }
220
+ * html .row, * html .clearfix { height: 1%; }
221
+ .row, .clearfix { display: inline-block; }
222
+ .row, .clearfix { display: block; }
223
+
224
+
225
+
226
+ /* --------------------------------------------------
227
+ :: Tables
228
+ -------------------------------------------------- */
229
+ table { background: #fff; -moz-border-radius: 3px; -webkit-border-radius: 3px; width: 100%; margin: 0 0 18px; border: 1px solid #ddd; }
230
+
231
+ table thead { background: #f5f5f5; }
232
+ table thead tr th,
233
+ table tbody tr td { font-size: 12px; line-height: 18px; text-align: left; }
234
+ table thead tr th { padding: 8px 10px 9px; font-size: 14px; font-weight: bold; color: #222; }
235
+ table thead tr th:first-child { border-left: none; }
236
+ table thead tr th:last-child { border-right: none; }
237
+
238
+ table thead tr { }
239
+ table tbody { }
240
+ table tbody tr { }
241
+ table tbody tr.even,
242
+ table tbody tr.alt { background: #f9f9f9; }
243
+ table tbody tr:nth-child(even) { background: #f9f9f9; }
244
+ table tbody tr td { color: #333; padding: 9px 10px; vertical-align: top; border: none; }
245
+
246
+ /* --------------------------------------------------
247
+ :: Misc
248
+ ---------------------------------------------------*/
249
+ .left { float: left; }
250
+ .right { float: right; }
251
+ .hide { display: none; }
252
+ .highlight { background: #ff0; }
253
+
254
+
255
+
256
+ /* --------------------------------------------------
257
+ :: Block grids
258
+
259
+ These are 2-up, 3-up, 4-up and 5-up ULs, suited
260
+ for repeating blocks of content. Add 'mobile' to
261
+ them to switch them just like the layout grid
262
+ (one item per line) on phones
263
+ -------------------------------------------------- */
264
+
265
+ .block-grid { display: block; overflow: hidden; }
266
+ .block-grid li { display: block; height: auto; float: left; }
267
+
268
+ .block-grid.two-up { margin-left: -4% }
269
+ .block-grid.two-up li { margin-left: 4%; width: 46%; }
270
+
271
+ .block-grid.three-up { margin-left: -2% }
272
+ .block-grid.three-up li { margin-left: 2%; width: 31.3%; }
273
+
274
+ .block-grid.four-up { margin-left: -2% }
275
+ .block-grid.four-up li { margin-left: 2%; width: 23%; }
276
+
277
+ .block-grid.five-up { margin-left: -1.5% }
278
+ .block-grid.five-up li { margin-left: 1.5%; width: 18.5%; }
279
+
@@ -0,0 +1,10 @@
1
+ /*
2
+ *= require ./globals
3
+ *= require ./ui
4
+ *= require ./forms
5
+ *= require ./orbit-1.2.3
6
+ *= require ./reveal
7
+ *= require ./reveal
8
+ *= require ./mobile
9
+ *= require ./fonts/league/font
10
+ */
@@ -0,0 +1,112 @@
1
+ /* --------------------------------------------------
2
+ :: Grid
3
+ -------------------------------------------------- */
4
+
5
+ /* Tablet screens */
6
+ @media handheld, only screen and (device-width: 768px), (device-width: 800px) {
7
+ /* Currently unused */
8
+ }
9
+
10
+
11
+ /* Mobile */
12
+ @media handheld, only screen and (max-width: 767px) {
13
+ body { -webkit-text-size-adjust: none; }
14
+
15
+ .row, body, .container { width: 100%; min-width: 0; margin-left: 0px; margin-right: 0px; padding-left: 0px; padding-right: 0px; }
16
+ .row .row .column, .row .row .columns { padding: 0; }
17
+ .column, .columns { width: auto !important; float: none; margin-left: 0px; margin-right: 0px; padding-left: 20px; padding-right: 20px; }
18
+ .column:last-child, .columns:last-child { margin-right: 0px; }
19
+ .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, .offset-by-five-five { margin-left: 0% !important; }
20
+ }
21
+
22
+
23
+ /* --------------------------------------------------
24
+ :: Block Grids
25
+ -------------------------------------------------- */
26
+
27
+ @media handheld, only screen and (max-width: 767px) {
28
+ .block-grid.mobile li { float: none; width: 100%; }
29
+ }
30
+
31
+
32
+
33
+ /* --------------------------------------------------
34
+ :: Mobile Visibility Affordances
35
+ ---------------------------------------------------*/
36
+
37
+
38
+ .show-on-phones { display: none !important; }
39
+ .show-on-tablet { display: none !important; }
40
+ .show-on-desktop { display: block; }
41
+
42
+ .hide-on-phones { display: block !important; }
43
+ .hide-on-tablet { display: block !important; }
44
+ .hide-on-desktop { display: none; }
45
+
46
+
47
+ @media handheld, only screen and (device-width: 768px), only screen and (device-width: 1280px), only screen and (device-width: 800px) {
48
+ .hide-on-phones { display: block !important; }
49
+ .hide-on-tablet { display: none !important; }
50
+ .hide-on-desktop { display: block !important; }
51
+
52
+ .show-on-phones { display: none !important; }
53
+ .show-on-tablet { display: block !important; }
54
+ .show-on-desktop { display: none !important; }
55
+ }
56
+
57
+
58
+ @media handheld, only screen and (max-width: 767px) {
59
+ .hide-on-phones { display: none !important; }
60
+ .hide-on-tablet { display: block !important; }
61
+ .hide-on-desktop { display: block !important; }
62
+
63
+ .show-on-phones { display: block !important; }
64
+ .show-on-tablet { display: none !important; }
65
+ .show-on-desktop { display: none !important; }
66
+ }
67
+
68
+
69
+ /* --------------------------------------------------
70
+ :: Forms
71
+ ---------------------------------------------------*/
72
+
73
+
74
+ @media handheld, only screen and (max-width: 767px) {
75
+ input.input-text, input.input-text.oversize, textarea,
76
+ form.nice input.input-text, form.nice input.input-text.oversize, form.nice textarea { display: block; width: 96%; padding: 6px 2% 4px; font-size: 18px; }
77
+ form.nice input.input-text, form.nice input.input-text.oversize, form.nice textarea { -webkit-border-radius: 2px; -moz-border-radius: 2px; }
78
+ form.nice small.error { padding: 6px 2%; display: block; }
79
+ form.nice .small + .error { width: auto; }
80
+ form.nice .medium + .error { width: auto; }
81
+ form.nice .large + .error { width: auto; }
82
+ }
83
+
84
+
85
+ /* --------------------------------------------------
86
+ :: UI
87
+ ---------------------------------------------------*/
88
+
89
+ /* Buttons */
90
+ @media handheld, only screen and (max-width: 767px) {
91
+ .button { display: block; }
92
+ button.button { width: 100%; padding-left: 0px; padding-right: 0px; }
93
+ }
94
+
95
+ /* Tabs */
96
+
97
+ @media handheld, only screen and (max-width: 767px) {
98
+ dl.tabs.mobile, dl.nice.tabs.mobile { width: auto; margin: 20px -20px 40px; height: auto; }
99
+ dl.tabs.mobile dt, dl.tabs.mobile dd, dl.nice.tabs.mobile dt, dl.nice.tabs.mobile dd { float: none; height: auto; }
100
+
101
+ dl.tabs.mobile dd a { display: block; width: auto; height: auto; padding: 18px 20px; line-height: 1; border: solid 0px #ccc; border-width: 1px 0px 0px; margin: 0; color: #555; background: #eee; font-size: 15px; font-size: 1.5rem; }
102
+ dl.tabs.mobile dd a.active { height: auto; margin: 0; border-width: 1px 0px 0px; }
103
+
104
+ .nice.tabs.mobile { border-bottom: solid 1px #ccc; height: auto; }
105
+ .nice.tabs.mobile dd a { padding: 18px 20px; border: none; border-left: none; border-right: none; border-top: 1px solid #ccc; background: #fff; }
106
+ .nice.tabs.mobile dd a.active { border: none; background: #00a6fc; color: #fff; margin: 0; position: static; top: 0px; height: auto; }
107
+ .nice.tabs.mobile dd:first-child a.active { margin: 0; }
108
+
109
+ dl.contained.mobile, dl.nice.contained.mobile { margin-bottom: 0px; }
110
+ dl.contained.tabs.mobile dd a { padding: 18px 20px; }
111
+ dl.nice.contained.tabs.mobile dd a { padding: 18px 20px; }
112
+ }