zurb-foundation 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +51 -13
- data/lib/foundation/generators/layout_generator.rb +10 -1
- data/lib/foundation/generators/templates/application.html.erb +1 -1
- data/lib/foundation/generators/templates/application.html.haml +30 -0
- data/lib/foundation/generators/templates/application.html.slim +30 -0
- data/lib/foundation/version.rb +1 -1
- data/{app → vendor}/assets/images/foundation/misc/button-gloss.png +0 -0
- data/{app → vendor}/assets/images/foundation/misc/button-overlay.png +0 -0
- data/{app → vendor}/assets/images/foundation/misc/custom-form-sprites.png +0 -0
- data/{app → vendor}/assets/images/foundation/misc/input-bg.png +0 -0
- data/{app → vendor}/assets/images/foundation/misc/modal-gloss.png +0 -0
- data/{app → vendor}/assets/images/foundation/misc/table-sorter.png +0 -0
- data/{app → vendor}/assets/images/foundation/orbit/bullets.jpg +0 -0
- data/{app → vendor}/assets/images/foundation/orbit/left-arrow.png +0 -0
- data/{app → vendor}/assets/images/foundation/orbit/loading.gif +0 -0
- data/{app → vendor}/assets/images/foundation/orbit/mask-black.png +0 -0
- data/{app → vendor}/assets/images/foundation/orbit/pause-black.png +0 -0
- data/{app → vendor}/assets/images/foundation/orbit/right-arrow.png +0 -0
- data/{app → vendor}/assets/images/foundation/orbit/rotator-black.png +0 -0
- data/{app → vendor}/assets/images/foundation/orbit/timer-black.png +0 -0
- data/{app/assets/javascripts/foundation/jquery.orbit-1.3.0.js → vendor/assets/javascripts/foundation.js} +354 -1
- data/vendor/assets/stylesheets/foundation.scss +1072 -0
- metadata +26 -36
- data/app/assets/javascripts/foundation/app.js +0 -43
- data/app/assets/javascripts/foundation/forms.jquery.js +0 -58
- data/app/assets/javascripts/foundation/index.js +0 -6
- data/app/assets/javascripts/foundation/jquery.customforms.js +0 -162
- data/app/assets/javascripts/foundation/jquery.placeholder.min.js.erb +0 -2
- data/app/assets/javascripts/foundation/jquery.reveal.js +0 -150
- data/app/assets/stylesheets/foundation/forms.css.scss.erb +0 -83
- data/app/assets/stylesheets/foundation/globals.css.scss.erb +0 -301
- data/app/assets/stylesheets/foundation/index.css +0 -8
- data/app/assets/stylesheets/foundation/mobile.css.scss.erb +0 -112
- data/app/assets/stylesheets/foundation/orbit.css.scss.erb +0 -210
- data/app/assets/stylesheets/foundation/reveal.css.scss.erb +0 -91
- data/app/assets/stylesheets/foundation/ui.css.scss.erb +0 -212
@@ -0,0 +1,1072 @@
|
|
1
|
+
/* Arfully Masterminded by ZURB */
|
2
|
+
|
3
|
+
/* --------------------------------------------------
|
4
|
+
Table of Contents
|
5
|
+
-----------------------------------------------------
|
6
|
+
:: Reset & Standards
|
7
|
+
:: Links
|
8
|
+
:: Lists
|
9
|
+
:: Tables
|
10
|
+
:: Misc
|
11
|
+
*/
|
12
|
+
|
13
|
+
|
14
|
+
/* --------------------------------------------------
|
15
|
+
:: Global Reset & Standards
|
16
|
+
-------------------------------------------------- */
|
17
|
+
|
18
|
+
/*
|
19
|
+
Eric Meyer's CSS Reset
|
20
|
+
http://meyerweb.com/eric/tools/css/reset/
|
21
|
+
v2.0 | 20110126
|
22
|
+
License: none (public domain)
|
23
|
+
*/
|
24
|
+
|
25
|
+
html, body, div, span, applet, object, iframe,
|
26
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
27
|
+
a, abbr, acronym, address, big, cite, code,
|
28
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
29
|
+
small, strike, strong, sub, sup, tt, var,
|
30
|
+
b, u, i, center,
|
31
|
+
dl, dt, dd, ol, ul, li,
|
32
|
+
fieldset, form, label, legend,
|
33
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
34
|
+
article, aside, canvas, details, embed,
|
35
|
+
figure, figcaption, footer, header, hgroup,
|
36
|
+
menu, nav, output, ruby, section, summary,
|
37
|
+
time, mark, audio, video {
|
38
|
+
margin: 0;
|
39
|
+
padding: 0;
|
40
|
+
border: 0;
|
41
|
+
font: inherit;
|
42
|
+
vertical-align: baseline;
|
43
|
+
}
|
44
|
+
html {
|
45
|
+
font-size: 62.5%;
|
46
|
+
}
|
47
|
+
/* HTML5 display-role reset for older browsers */
|
48
|
+
article, aside, details, figcaption, figure,
|
49
|
+
footer, header, hgroup, menu, nav, section {
|
50
|
+
display: block;
|
51
|
+
}
|
52
|
+
body {
|
53
|
+
line-height: 1;
|
54
|
+
}
|
55
|
+
ol, ul {
|
56
|
+
list-style: none;
|
57
|
+
}
|
58
|
+
blockquote, q {
|
59
|
+
quotes: none;
|
60
|
+
}
|
61
|
+
blockquote:before, blockquote:after,
|
62
|
+
q:before, q:after {
|
63
|
+
content: '';
|
64
|
+
content: none;
|
65
|
+
}
|
66
|
+
table {
|
67
|
+
border-collapse: collapse;
|
68
|
+
border-spacing: 0;
|
69
|
+
}
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
body { background: #fff; font-family: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, "Lucida Grande", sans-serif; font-size: 13px; line-height: 18px; color: #555; position: relative; -webkit-font-smoothing: antialiased; }
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
/* --------------------------------------------------
|
78
|
+
:: Links
|
79
|
+
-------------------------------------------------- */
|
80
|
+
a { color: #2a85e8; text-decoration: none; outline: 0; line-height: inherit; }
|
81
|
+
a:hover { color: #11639d; }
|
82
|
+
p a, p a:visited { line-height: inherit; }
|
83
|
+
|
84
|
+
|
85
|
+
/* --------------------------------------------------
|
86
|
+
:: Lists
|
87
|
+
-------------------------------------------------- */
|
88
|
+
ul, ol { margin-bottom: 18px; }
|
89
|
+
ul { list-style: none outside; }
|
90
|
+
ol { list-style: decimal; }
|
91
|
+
ol, ul.square, ul.circle, ul.disc { margin-left: 30px; }
|
92
|
+
ul.square { list-style: square outside; }
|
93
|
+
ul.circle { list-style: circle outside; }
|
94
|
+
ul.disc { list-style: disc outside; }
|
95
|
+
ul ul, ol ol { margin: 4px 0 5px 30px; }
|
96
|
+
li { margin-bottom: 12px; }
|
97
|
+
ul.large li { line-height: 21px; }
|
98
|
+
|
99
|
+
|
100
|
+
/* --------------------------------------------------
|
101
|
+
:: Tables
|
102
|
+
-------------------------------------------------- */
|
103
|
+
table { background: #fff; -moz-border-radius: 3px; -webkit-border-radius: 3px; width: 100%; margin: 0 0 18px; border: 1px solid #ddd; }
|
104
|
+
|
105
|
+
table thead { background: #f5f5f5; }
|
106
|
+
table thead tr th,
|
107
|
+
table tbody tr td { font-size: 12px; line-height: 18px; text-align: left; }
|
108
|
+
table thead tr th { padding: 8px 10px 9px; font-size: 14px; font-weight: bold; color: #222; }
|
109
|
+
table thead tr th:first-child { border-left: none; }
|
110
|
+
table thead tr th:last-child { border-right: none; }
|
111
|
+
|
112
|
+
table thead tr { }
|
113
|
+
table tbody { }
|
114
|
+
table tbody tr { }
|
115
|
+
table tbody tr.even,
|
116
|
+
table tbody tr.alt { background: #f9f9f9; }
|
117
|
+
table tbody tr:nth-child(even) { background: #f9f9f9; }
|
118
|
+
table tbody tr td { color: #333; padding: 9px 10px; vertical-align: top; border: none; }
|
119
|
+
|
120
|
+
/* --------------------------------------------------
|
121
|
+
:: Misc
|
122
|
+
---------------------------------------------------*/
|
123
|
+
.left { float: left; }
|
124
|
+
.right { float: right; }
|
125
|
+
.hide { display: none; }
|
126
|
+
.highlight { background: #ff0; }
|
127
|
+
|
128
|
+
|
129
|
+
/* Arfully Masterminded by ZURB */
|
130
|
+
|
131
|
+
/* --------------------------------------------------
|
132
|
+
:: Typography
|
133
|
+
-------------------------------------------------- */
|
134
|
+
h1, h2, h3, h4, h5, h6 { color: #181818; font-weight: bold; line-height: 1.25 }
|
135
|
+
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
|
136
|
+
h1 { font-size: 46px; font-size: 4.6rem; margin-bottom: 12px;}
|
137
|
+
h2 { font-size: 35px; font-size: 3.5rem; margin-bottom: 9px; }
|
138
|
+
h3 { font-size: 28px; font-size: 2.8rem; margin-bottom: 9px; }
|
139
|
+
h4 { font-size: 21px; font-size: 2.1rem; margin-bottom: 3px; }
|
140
|
+
h5 { font-size: 18px; font-size: 1.8rem; font-weight: normal; margin-bottom: 3px; }
|
141
|
+
h6 { font-size: 15px; font-size: 1.5rem; font-weight: normal; }
|
142
|
+
|
143
|
+
.subheader { color: #777; font-weight: 300; margin-bottom: 24px; }
|
144
|
+
|
145
|
+
p { line-height: 17px; margin: 0 0 18px; }
|
146
|
+
p img { margin: 0; }
|
147
|
+
p.lead { font-size: 18px; font-size: 1.8rem; line-height: 24px; }
|
148
|
+
|
149
|
+
/* Mobile */
|
150
|
+
|
151
|
+
@media handheld, only screen and (max-width: 767px) {
|
152
|
+
body, p { font-size: 15px; font-size: 1.5rem; line-height: 1.4; }
|
153
|
+
}
|
154
|
+
|
155
|
+
em { font-style: italic; line-height: inherit; }
|
156
|
+
strong { font-weight: bold; line-height: inherit; }
|
157
|
+
small { font-size: 60%; line-height: inherit; }
|
158
|
+
|
159
|
+
h1 small, h2 small, h3 small, h4 small, h5 small { color: #777; }
|
160
|
+
|
161
|
+
/* Blockquotes */
|
162
|
+
blockquote, blockquote p { line-height: 20px; color: #777; }
|
163
|
+
blockquote { margin: 0 0 18px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; }
|
164
|
+
blockquote cite { display: block; font-size: 12px; font-size: 1.2rem; color: #555; }
|
165
|
+
blockquote cite:before { content: "\2014 \0020"; }
|
166
|
+
blockquote cite a, blockquote cite a:visited { color: #555; }
|
167
|
+
|
168
|
+
hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 12px 0 18px; height: 0; }
|
169
|
+
|
170
|
+
abbr, acronym { text-transform: uppercase; font-size: 90%; color: #222; border-bottom: 1px solid #ddd; cursor: help; }
|
171
|
+
abbr { text-transform: none; }
|
172
|
+
|
173
|
+
/**
|
174
|
+
* Print styles.
|
175
|
+
*
|
176
|
+
* Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
|
177
|
+
* Credit to Paul Irish and HTML5 Boilerplate (html5boilerplate.com)
|
178
|
+
*/
|
179
|
+
@media print {
|
180
|
+
* { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
|
181
|
+
-ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
|
182
|
+
p a, p a:visited { color: #444 !important; text-decoration: underline; }
|
183
|
+
p a[href]:after { content: " (" attr(href) ")"; }
|
184
|
+
abbr[title]:after { content: " (" attr(title) ")"; }
|
185
|
+
.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } /* Don't show links for images, or javascript/internal links */
|
186
|
+
pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
|
187
|
+
thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
|
188
|
+
tr, img { page-break-inside: avoid; }
|
189
|
+
@page { margin: 0.5cm; }
|
190
|
+
p, h2, h3 { orphans: 3; widows: 3; }
|
191
|
+
h2, h3{ page-break-after: avoid; }
|
192
|
+
}
|
193
|
+
|
194
|
+
|
195
|
+
/* Arfully Masterminded by ZURB */
|
196
|
+
|
197
|
+
/* --------------------------------------------------
|
198
|
+
:: Grid
|
199
|
+
|
200
|
+
This is the mobile-friendly, responsive grid that
|
201
|
+
lets Foundation work much of its magic.
|
202
|
+
|
203
|
+
-------------------------------------------------- */
|
204
|
+
|
205
|
+
.container { padding: 0px 20px; }
|
206
|
+
|
207
|
+
.row { width: 100%; max-width: 980px; min-width: 727px; margin: 0 auto; }
|
208
|
+
/* To fix the grid into a certain size, set max-width to width */
|
209
|
+
.row .row { min-width: 0px; }
|
210
|
+
|
211
|
+
.column, .columns { margin-left: 4.4%; float: left; min-height: 1px; position: relative; }
|
212
|
+
.column:first-child, .columns:first-child { margin-left: 0px; }
|
213
|
+
|
214
|
+
.row .one.columns { width: 4.3%; }
|
215
|
+
.row .two.columns { width: 13%; }
|
216
|
+
.row .three.columns { width: 21.68%; }
|
217
|
+
.row .four.columns { width: 30.4%; }
|
218
|
+
.row .five.columns { width: 39.1%; }
|
219
|
+
.row .six.columns { width: 47.8%; }
|
220
|
+
.row .seven.columns { width: 56.5%; }
|
221
|
+
.row .eight.columns { width: 65.2%; }
|
222
|
+
.row .nine.columns { width: 73.9%; }
|
223
|
+
.row .ten.columns { width: 82.6%; }
|
224
|
+
.row .eleven.columns { width: 91.3%; }
|
225
|
+
.row .twelve.columns { width: 100%; }
|
226
|
+
|
227
|
+
.row .offset-by-one { margin-left: 13.1%; }
|
228
|
+
.row .offset-by-two { margin-left: 21.8%; }
|
229
|
+
.row .offset-by-three { margin-left: 30.5%; }
|
230
|
+
.row .offset-by-four { margin-left: 39.2%; }
|
231
|
+
.row .offset-by-five { margin-left: 47.9%; }
|
232
|
+
.row .offset-by-six { margin-left: 56.6%; }
|
233
|
+
.row .offset-by-seven { margin-left: 65.3%; }
|
234
|
+
.row .offset-by-eight { margin-left: 74.0%; }
|
235
|
+
.row .offset-by-nine { margin-left: 82.7%; }
|
236
|
+
.row .offset-by-ten { margin-left: 91.4%; }
|
237
|
+
/*.row .offset-by-eleven { margin-left: 95.7%; }*/
|
238
|
+
|
239
|
+
.row .one.centered { margin-left: 47.9%; }
|
240
|
+
.row .two.centered { margin-left: 43.5%; }
|
241
|
+
.row .three.centered { margin-left: 39.2%; }
|
242
|
+
.row .four.centered { margin-left: 34.8%; }
|
243
|
+
.row .five.centered { margin-left: 30.5%; }
|
244
|
+
.row .six.centered { margin-left: 26.1%; }
|
245
|
+
.row .seven.centered { margin-left: 21.8%; }
|
246
|
+
.row .eight.centered { margin-left: 17.4%; }
|
247
|
+
.row .nine.centered { margin-left: 13.1%; }
|
248
|
+
.row .ten.centered { margin-left: 8.7%; }
|
249
|
+
.row .eleven.centered { margin-left: 4.3%; }
|
250
|
+
|
251
|
+
.row .offset-by-one:first-child { margin-left: 8.7%; }
|
252
|
+
.row .offset-by-two:first-child { margin-left: 17.4%; }
|
253
|
+
.row .offset-by-three:first-child { margin-left: 26.1%; }
|
254
|
+
.row .offset-by-four:first-child { margin-left: 34.8%; }
|
255
|
+
.row .offset-by-five:first-child { margin-left: 43.5%; }
|
256
|
+
.row .offset-by-six:first-child { margin-left: 52.2%; }
|
257
|
+
.row .offset-by-seven:first-child { margin-left: 60.9%; }
|
258
|
+
.row .offset-by-eight:first-child { margin-left: 69.6%; }
|
259
|
+
.row .offset-by-nine:first-child { margin-left: 78.3%; }
|
260
|
+
.row .offset-by-ten:first-child { margin-left: 87%; }
|
261
|
+
.row .offset-by-eleven:first-child { margin-left: 95.7%; }
|
262
|
+
|
263
|
+
img, object, embed { max-width: 100%; }
|
264
|
+
img { -ms-interpolation-mode: bicubic; }
|
265
|
+
|
266
|
+
/* Nicolas Gallagher's micro clearfix */
|
267
|
+
.row:before, .row:after, .clearfix:before, .clearfix:after { content:""; display:table; }
|
268
|
+
.row:after, .clearfix:after { clear: both; }
|
269
|
+
.row, .clearfix { zoom: 1; }
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
|
274
|
+
/* --------------------------------------------------
|
275
|
+
:: Block grids
|
276
|
+
|
277
|
+
These are 2-up, 3-up, 4-up and 5-up ULs, suited
|
278
|
+
for repeating blocks of content. Add 'mobile' to
|
279
|
+
them to switch them just like the layout grid
|
280
|
+
(one item per line) on phones
|
281
|
+
-------------------------------------------------- */
|
282
|
+
|
283
|
+
.block-grid { display: block; overflow: hidden; }
|
284
|
+
.block-grid>li { display: block; height: auto; float: left; }
|
285
|
+
|
286
|
+
.block-grid.two-up { margin-left: -4% }
|
287
|
+
.block-grid.two-up>li { margin-left: 4%; width: 46%; }
|
288
|
+
|
289
|
+
.block-grid.three-up { margin-left: -2% }
|
290
|
+
.block-grid.three-up>li { margin-left: 2%; width: 31.3%; }
|
291
|
+
|
292
|
+
.block-grid.four-up { margin-left: -2% }
|
293
|
+
.block-grid.four-up>li { margin-left: 2%; width: 23%; }
|
294
|
+
|
295
|
+
.block-grid.five-up { margin-left: -1.5% }
|
296
|
+
.block-grid.five-up>li { margin-left: 1.5%; width: 18.5%; }
|
297
|
+
|
298
|
+
|
299
|
+
|
300
|
+
/* Artfully masterminded by ZURB */
|
301
|
+
|
302
|
+
|
303
|
+
|
304
|
+
/* --------------------------------------------------
|
305
|
+
Table of Contents
|
306
|
+
-----------------------------------------------------
|
307
|
+
:: Buttons
|
308
|
+
:: Alerts
|
309
|
+
:: Notices/Alerts
|
310
|
+
:: Tabs
|
311
|
+
:: Pagination
|
312
|
+
:: Lists
|
313
|
+
:: Panels
|
314
|
+
*/
|
315
|
+
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
/* --------------------------------------------------
|
320
|
+
Buttons
|
321
|
+
-------------------------------------------------- */
|
322
|
+
|
323
|
+
.button {
|
324
|
+
background: #00a6fc;
|
325
|
+
display: inline-block;
|
326
|
+
text-align: center;
|
327
|
+
padding: 9px 34px 11px;
|
328
|
+
color: #fff;
|
329
|
+
text-decoration: none;
|
330
|
+
font-weight: bold;
|
331
|
+
line-height: 1;
|
332
|
+
position: relative;
|
333
|
+
cursor: pointer;
|
334
|
+
border: none;
|
335
|
+
}
|
336
|
+
|
337
|
+
.button.nice {
|
338
|
+
background: #00a6fc image-url("foundation/misc/button-gloss.png") repeat-x 0 -34px;
|
339
|
+
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
|
340
|
+
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
|
341
|
+
text-shadow: 0 -1px 1px rgba(0,0,0,0.28);
|
342
|
+
background: #00a6fc image-url("foundation/misc/button-gloss.png") repeat-x 0 -34px, -moz-linear-gradient(top, rgba(255,255,255,.4) 0%, transparent 100%);
|
343
|
+
background: #00a6fc image-url("foundation/misc/button-gloss.png") repeat-x 0 -34px, -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.4)), color-stop(100%,transparent));
|
344
|
+
border: 1px solid #0593dc;
|
345
|
+
-webkit-transition: background-color .15s ease-in-out;
|
346
|
+
-moz-transition: background-color .15s ease-in-out;
|
347
|
+
-o-transition: background-color .15s ease-in-out;
|
348
|
+
}
|
349
|
+
|
350
|
+
.button.radius {
|
351
|
+
-moz-border-radius: 3px;
|
352
|
+
-webkit-border-radius: 3px;
|
353
|
+
border-radius: 3px;
|
354
|
+
}
|
355
|
+
.button.round {
|
356
|
+
-moz-border-radius: 1000px;
|
357
|
+
-webkit-border-radius: 1000px;
|
358
|
+
border-radius: 1000px;
|
359
|
+
}
|
360
|
+
|
361
|
+
.button.full-width {
|
362
|
+
width: 100%;
|
363
|
+
padding-left: 0 !important;
|
364
|
+
padding-right: 0 !important;
|
365
|
+
text-align: center;
|
366
|
+
}
|
367
|
+
|
368
|
+
.button.left-align {
|
369
|
+
text-align: left;
|
370
|
+
text-indent: 12px;
|
371
|
+
}
|
372
|
+
|
373
|
+
.button:active {}
|
374
|
+
|
375
|
+
/* Sizes ---------- */
|
376
|
+
.small.button { font-size: 11px; padding: 8px 20px 10px; }
|
377
|
+
.medium.button { font-size: 13px; }
|
378
|
+
.large.button { font-size: 18px; padding: 11px 48px 13px; }
|
379
|
+
|
380
|
+
/* Nice Sizes ---------- */
|
381
|
+
.nice.small.button { background-position: 0 -36px; }
|
382
|
+
.nice.large.button { background-position: 0 -30px; }
|
383
|
+
|
384
|
+
/* Colors ---------- */
|
385
|
+
.blue.button { background-color: #00a6fc; }
|
386
|
+
.red.button { background-color: #e91c21; }
|
387
|
+
.white.button { background-color: #e9e9e9; color: #333; }
|
388
|
+
.black.button { background-color: #141414; }
|
389
|
+
|
390
|
+
/* Nice Colors ---------- */
|
391
|
+
.nice.blue.button { border: 1px solid #0593dc; }
|
392
|
+
.nice.red.button { border: 1px solid #b90b0b; }
|
393
|
+
.nice.white.button { border: 1px solid #cacaca; text-shadow: none !important; }
|
394
|
+
.nice.black.button { border: 1px solid #000; }
|
395
|
+
|
396
|
+
/* Hovers ---------- */
|
397
|
+
.button:hover { background-color: #0192dd; color: #fff; }
|
398
|
+
.blue.button:hover { background-color: #0192dd; }
|
399
|
+
.red.button:hover { background-color: #d01217; }
|
400
|
+
.white.button:hover { background-color: #dadada; color: #333; }
|
401
|
+
.black.button:hover { background-color: #000; }
|
402
|
+
|
403
|
+
|
404
|
+
|
405
|
+
/* --------------------------------------------------
|
406
|
+
Alerts
|
407
|
+
-------------------------------------------------- */
|
408
|
+
|
409
|
+
div.alert-box { display: block; padding: 6px 7px; font-weight: bold; font-size: 13px; background: #eee; border: 1px solid rgba(0,0,0,0.1); margin-bottom: 12px; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; text-shadow: 0px 1px rgba(255,255,255,0.9); position: relative; }
|
410
|
+
.alert-box.success { background-color: #7fae00; color: #fff; text-shadow: 0px -1px rgba(0,0,0,0.3); }
|
411
|
+
.alert-box.warning { background-color: #c08c00; color: #fff; text-shadow: 0px -1px rgba(0,0,0,0.3); }
|
412
|
+
.alert-box.error { background-color: #c00000; color: #fff; text-shadow: 0px -1px rgba(0,0,0,0.3); }
|
413
|
+
|
414
|
+
.alert-box a.close { color: #000; position: absolute; right: 4px; top: 0px; font-size: 18px; opacity: 0.2; padding: 4px; }
|
415
|
+
.alert-box a.close:hover { opacity: 0.4; }
|
416
|
+
|
417
|
+
|
418
|
+
|
419
|
+
/* --------------------------------------------------
|
420
|
+
Tabs
|
421
|
+
-------------------------------------------------- */
|
422
|
+
dl.tabs { display: block; margin: 0 0 20px 0; padding: 0; height: 30px; border-bottom: solid 1px #ddd; }
|
423
|
+
dl.tabs dt { display: block; width: auto; height: 30px; padding: 0px 9px 0 20px; line-height: 30px; float: left; color: #999; font-size: 11px; text-transform: uppercase; cursor: default; }
|
424
|
+
dl.tabs dt:first-child { padding: 0 9px 0 0px; }
|
425
|
+
dl.tabs dd { display: block; width: auto; height: 30px; padding: 0; float: left; }
|
426
|
+
dl.tabs dd a { display: block; width: auto; height: 29px; padding: 0px 9px; line-height: 30px; border: solid 1px #ddd; margin: 0 -1px 0 0; color: #555; background: #eee; }
|
427
|
+
dl.tabs dd a.active { background: #fff; border-width: 1px 1px 0px 1px; height: 30px; }
|
428
|
+
|
429
|
+
.nice.tabs { border-bottom: solid 1px #eee; margin: 0 0 30px 0; height:43px; }
|
430
|
+
.nice.tabs dd a { padding: 7px 18px 9px; font-size: 15px; font-size: 1.5rem; color: #555555; background: none; border: none; }
|
431
|
+
.nice.tabs dd a.active { font-weight: bold; color: #333; background: #fff; border-left: 1px solid #eee; border-right: 1px solid #eee; border-top: 3px solid #00a6fc; margin: 0 10px; position: relative; top: -5px; }
|
432
|
+
.nice.tabs dd:first-child a.active { margin-left: 0; }
|
433
|
+
|
434
|
+
ul.tabs-content { margin: 0; display: block; }
|
435
|
+
ul.tabs-content > li { display:none; }
|
436
|
+
ul.tabs-content > li.active { display: block; }
|
437
|
+
|
438
|
+
dl.contained, dl.nice.contained { margin-bottom: 0px; }
|
439
|
+
dl.contained.tabs dd a { padding: 0px 14px; }
|
440
|
+
dl.nice.contained.tabs dd a { padding: 7px 18px 9px; }
|
441
|
+
|
442
|
+
ul.contained.tabs-content { padding: 0; }
|
443
|
+
ul.contained.tabs-content li { padding: 20px; border: solid 0px #ddd; border-width: 0px 1px 1px 1px; }
|
444
|
+
ul.nice.contained.tabs-content li { border-color: #eee; }
|
445
|
+
|
446
|
+
/* --------------------------------------------------
|
447
|
+
Pagination
|
448
|
+
-------------------------------------------------- */
|
449
|
+
ul.pagination { display: block; height: 24px; margin-left: -5px; }
|
450
|
+
ul.pagination li { float: left; display: block; height: 24px; color: #999; font-size: 15px; margin-left: 5px; }
|
451
|
+
ul.pagination li a { display: block; padding: 6px 7px 4px; color: #555; }
|
452
|
+
ul.pagination li.current a, ul.pagination li:hover a { border-bottom: solid 2px #00a6fc; color: #141414; }
|
453
|
+
ul.pagination li.unavailable a { cursor: default; color: #999; }
|
454
|
+
ul.pagination li.unavailable:hover a { border-bottom: none; }
|
455
|
+
|
456
|
+
|
457
|
+
/* --------------------------------------------------
|
458
|
+
Lists
|
459
|
+
-------------------------------------------------- */
|
460
|
+
ul.nice, ol.nice { list-style: none; margin: 0; }
|
461
|
+
ul.nice li, ol.nice li { padding-left: 13px; position: relative }
|
462
|
+
ul.nice li span.bullet, ol.nice li span.number { position: absolute; left: 0px; top: 0px; color: #ccc; }
|
463
|
+
|
464
|
+
|
465
|
+
/* --------------------------------------------------
|
466
|
+
Notices/Alerts
|
467
|
+
---------------------------------------------------*/
|
468
|
+
/* Alerts cannot be closed and notices can */
|
469
|
+
|
470
|
+
.notice, .alert {
|
471
|
+
position: relative;
|
472
|
+
background: #222 image-url("foundation/misc/button-overlay.png") repeat-x bottom;
|
473
|
+
width: 100%;
|
474
|
+
margin: 10px 0;
|
475
|
+
-moz-border-radius: 3px;
|
476
|
+
-webkit-border-radius: 3px;
|
477
|
+
border-radius: 3px;
|
478
|
+
color: #fff;
|
479
|
+
text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
|
480
|
+
font-weight: bold;
|
481
|
+
}
|
482
|
+
.notice>span, .alert>span {
|
483
|
+
display: block;
|
484
|
+
padding: 5px 10px 6px;
|
485
|
+
}
|
486
|
+
.notice a.close {
|
487
|
+
font-size: 20px;
|
488
|
+
line-height: .5;
|
489
|
+
color: #fff;
|
490
|
+
text-shadow: 0 -1px 1px rbga(0,0,0,.25);
|
491
|
+
font-weight: bold;
|
492
|
+
cursor: pointer;
|
493
|
+
position: absolute;
|
494
|
+
right: 10px;
|
495
|
+
top: 6px;
|
496
|
+
}
|
497
|
+
|
498
|
+
/* NOTES
|
499
|
+
|
500
|
+
Close button entity is ×
|
501
|
+
Sample Markup:
|
502
|
+
<div class="notice"><span>
|
503
|
+
This is awesome
|
504
|
+
<a class="close" href="#">×</a>
|
505
|
+
</span></div>
|
506
|
+
|
507
|
+
*/
|
508
|
+
|
509
|
+
|
510
|
+
|
511
|
+
/* --------------------------------------------------
|
512
|
+
Panels
|
513
|
+
-------------------------------------------------- */
|
514
|
+
div.panel {
|
515
|
+
padding: 20px 20px 2px 20px;
|
516
|
+
background: #efefef;
|
517
|
+
background: -moz-linear-gradient(top, #FFFFFF 0%, #F4F4F4 100%);
|
518
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFFFFF), color-stop(100%,#F4F4F4));
|
519
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#F4F4F4',GradientType=0 );
|
520
|
+
box-shadow: 0px 2px 5px rgba(0,0,0,0.15);
|
521
|
+
-webkit-box-shadow: 0px 2px 5px rgba(0,0,0,0.15);
|
522
|
+
-moz-box-shadow: 0px 2px 5px rgba(0,0,0,0.25);
|
523
|
+
margin: 0 0 20px 0;
|
524
|
+
}
|
525
|
+
|
526
|
+
|
527
|
+
|
528
|
+
|
529
|
+
|
530
|
+
/* Artfully masterminded by ZURB
|
531
|
+
|
532
|
+
Make sure to include the app.js if you are going to use inline label inputs
|
533
|
+
*/
|
534
|
+
|
535
|
+
|
536
|
+
/* -----------------------------------------
|
537
|
+
Standard Forms
|
538
|
+
----------------------------------------- */
|
539
|
+
|
540
|
+
form { margin: 0 0 18px; }
|
541
|
+
form label { display: block; font-size: 13px; line-height: 18px; cursor: pointer; margin-bottom: 9px; }
|
542
|
+
|
543
|
+
input.input-text, textarea { border-right: 1px solid #bbb; border-bottom: 1px solid #bbb; }
|
544
|
+
input.input-text, textarea, select { display: block; margin-bottom: 9px; }
|
545
|
+
label + input.input-text, label + textarea, label + select, label + div.dropdown, select + div.dropdown { margin-top: -9px; }
|
546
|
+
|
547
|
+
/* Text input and textarea font and padding */
|
548
|
+
input.input-text, textarea { font-size: 13px; padding: 4px 3px 2px; outline: none !important; background: #fff; }
|
549
|
+
input.input-text.oversize, textarea.oversize { font-size: 18px !important; padding: 4px 5px !important; }
|
550
|
+
input.input-text:focus, textarea:focus { background: #f9f9f9; }
|
551
|
+
|
552
|
+
/* Inlined Label Style */
|
553
|
+
input.placeholder, textarea.placeholder { color: #888; }
|
554
|
+
|
555
|
+
/* Text input and textarea sizes */
|
556
|
+
input.input-text, textarea { width: 254px; }
|
557
|
+
input.small, textarea.small { width: 134px; }
|
558
|
+
input.medium, textarea.medium { width: 254px; }
|
559
|
+
input.large, textarea.large { width: 434px; }
|
560
|
+
|
561
|
+
/* Fieldsets */
|
562
|
+
form fieldset { padding: 9px 9px 2px 9px; border: solid 1px #ddd; margin: 18px 0; }
|
563
|
+
|
564
|
+
/* Inlined Radio & Checkbox */
|
565
|
+
div.form-field input[type=radio], div.form-field input[type=checkbox] { display: inline; width:auto; margin-bottom:0; }
|
566
|
+
|
567
|
+
/* Errors */
|
568
|
+
div.form-field.error input, input.input-text.red { border-color: red; background-color: rgba(255,0,0,0.15); }
|
569
|
+
div.form-field.error label, label.red { color: red; }
|
570
|
+
div.form-field.error small, small.error { margin-top: -6px; display: block; margin-bottom: 9px; font-size: 11px; color: red; width: 260px; }
|
571
|
+
|
572
|
+
.small + small.error { width: 140px; }
|
573
|
+
.medium + small.error { width: 260px; }
|
574
|
+
.large + small.error { width: 440px; }
|
575
|
+
|
576
|
+
/* -----------------------------------------
|
577
|
+
Nicer Forms
|
578
|
+
----------------------------------------- */
|
579
|
+
form.nice div.form-field input, form.nice input.input-text, form.nice textarea { border: solid 1px #bbb; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; }
|
580
|
+
form.nice div.form-field input, form.nice input.input-text, form.nice textarea { font-size: 13px; padding: 6px 3px 4px; outline: none !important; background: image-url("foundation/misc/input-bg.png") #fff; }
|
581
|
+
form.nice div.form-field input:focus, form.nice input.input-text:focus, form.nice textarea:focus { background-color: #f9f9f9; }
|
582
|
+
|
583
|
+
form.nice fieldset { border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; }
|
584
|
+
|
585
|
+
form.nice div.form-field input[type=radio], form.nice div.form-field input[type=checkbox] { display: inline; width:auto; margin-bottom:0; }
|
586
|
+
|
587
|
+
form.nice div.form-field.error small, 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; }
|
588
|
+
|
589
|
+
form.nice div.form-field.error .small + small, form.nice .small + small.error { width: 132px; }
|
590
|
+
form.nice div.form-field.error .medium + small, form.nice .medium + small.error { width: 252px; }
|
591
|
+
form.nice div.form-field.error .large + small, form.nice .large + small.error { width: 432px; }
|
592
|
+
|
593
|
+
/* -----------------------------------------
|
594
|
+
Custom Forms
|
595
|
+
----------------------------------------- */
|
596
|
+
|
597
|
+
form.custom span.custom { display: inline-block; width: 14px; height: 14px; position: relative; top: 2px; border: solid 1px #ccc; background: image-url("foundation/misc/custom-form-sprites.png") 0 0 no-repeat; }
|
598
|
+
form.custom span.custom.radio { border-radius: 7px; -webkit-border-radius: 7px; -moz-border-radius: 7px; }
|
599
|
+
form.custom span.custom.radio.checked { background-position: 0px -14px; }
|
600
|
+
form.custom span.custom.checkbox.checked { background-position: 0px -28px; }
|
601
|
+
|
602
|
+
form.custom div.custom.dropdown { position: relative; display: inline-block; width: auto; height: 28px; margin-bottom: 9px; }
|
603
|
+
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; }
|
604
|
+
form.custom div.custom.dropdown a.selector { position: absolute; width: 26px; height: 26px; display: block; background: image-url("foundation/misc/custom-form-sprites.png") -14px 0 no-repeat; right: 0px; top: 0px; border: solid 1px #ddd; }
|
605
|
+
form.custom div.custom.dropdown:hover a.selector,
|
606
|
+
form.custom div.custom.dropdown.open a.selector { background-position: -14px -26px; }
|
607
|
+
|
608
|
+
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; }
|
609
|
+
form.custom div.custom.dropdown ul li { cursor: pointer; padding: 3px 38px 3px 6px; margin: 0; }
|
610
|
+
form.custom div.custom.dropdown ul li.selected { background: image-url("foundation/misc/custom-form-sprites.png") right -52px no-repeat; }
|
611
|
+
form.custom div.custom.dropdown ul li:hover { background-color: #2a85e8; color: #fff; }
|
612
|
+
form.custom div.custom.dropdown ul li.selected:hover { background: image-url("foundation/misc/custom-form-sprites.png") #2a85e8 right -78px no-repeat; }
|
613
|
+
form.custom div.custom.dropdown ul.show { display: block; }
|
614
|
+
|
615
|
+
form.custom div.custom.dropdown.open ul { display: block; }
|
616
|
+
|
617
|
+
|
618
|
+
|
619
|
+
/* CSS for jQuery Orbit Plugin 1.2.3
|
620
|
+
* www.ZURB.com/playground
|
621
|
+
* Copyright 2010, ZURB
|
622
|
+
* Free to use under the MIT license.
|
623
|
+
* http://www.opensource.org/licenses/mit-license.php
|
624
|
+
|
625
|
+
|
626
|
+
|
627
|
+
/* PUT IN YOUR SLIDER ID AND SIZE TO MAKE LOAD BEAUTIFULLY
|
628
|
+
================================================== */
|
629
|
+
#caseStudies {
|
630
|
+
width: 1000px;
|
631
|
+
height: 210px;
|
632
|
+
background: #fff image-url("foundation/orbit/loading.gif") no-repeat center center;
|
633
|
+
overflow: hidden; }
|
634
|
+
#caseStudies>img,
|
635
|
+
#caseStudies>div,
|
636
|
+
#caseStudies>a { display: none; }
|
637
|
+
|
638
|
+
|
639
|
+
|
640
|
+
|
641
|
+
/* CONTAINER
|
642
|
+
================================================== */
|
643
|
+
|
644
|
+
div.orbit-wrapper {
|
645
|
+
width: 1px;
|
646
|
+
height: 1px;
|
647
|
+
position: relative; }
|
648
|
+
|
649
|
+
div.orbit {
|
650
|
+
width: 1px;
|
651
|
+
height: 1px;
|
652
|
+
position: relative;
|
653
|
+
overflow: hidden }
|
654
|
+
|
655
|
+
div.orbit>img {
|
656
|
+
position: absolute;
|
657
|
+
top: 0;
|
658
|
+
left: 0;
|
659
|
+
/* display: none; */ }
|
660
|
+
|
661
|
+
div.orbit>a {
|
662
|
+
border: none;
|
663
|
+
position: absolute;
|
664
|
+
top: 0;
|
665
|
+
left: 0;
|
666
|
+
line-height: 0;
|
667
|
+
display: none; }
|
668
|
+
|
669
|
+
.orbit>div {
|
670
|
+
position: absolute;
|
671
|
+
top: 0;
|
672
|
+
left: 0;
|
673
|
+
width: 100%;
|
674
|
+
height: 100%; }
|
675
|
+
|
676
|
+
/* 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 */
|
677
|
+
|
678
|
+
|
679
|
+
/* TIMER
|
680
|
+
================================================== */
|
681
|
+
|
682
|
+
div.timer {
|
683
|
+
width: 40px;
|
684
|
+
height: 40px;
|
685
|
+
overflow: hidden;
|
686
|
+
position: absolute;
|
687
|
+
top: 10px;
|
688
|
+
right: 10px;
|
689
|
+
opacity: .6;
|
690
|
+
cursor: pointer;
|
691
|
+
z-index: 1001; }
|
692
|
+
|
693
|
+
span.rotator {
|
694
|
+
display: block;
|
695
|
+
width: 40px;
|
696
|
+
height: 40px;
|
697
|
+
position: absolute;
|
698
|
+
top: 0;
|
699
|
+
left: -20px;
|
700
|
+
background: image-url("foundation/orbit/rotator-black.png") no-repeat;
|
701
|
+
z-index: 3; }
|
702
|
+
|
703
|
+
span.mask {
|
704
|
+
display: block;
|
705
|
+
width: 20px;
|
706
|
+
height: 40px;
|
707
|
+
position: absolute;
|
708
|
+
top: 0;
|
709
|
+
right: 0;
|
710
|
+
z-index: 2;
|
711
|
+
overflow: hidden; }
|
712
|
+
|
713
|
+
span.rotator.move {
|
714
|
+
left: 0 }
|
715
|
+
|
716
|
+
span.mask.move {
|
717
|
+
width: 40px;
|
718
|
+
left: 0;
|
719
|
+
background: image-url("foundation/orbit/timer-black.png") repeat 0 0; }
|
720
|
+
|
721
|
+
span.pause {
|
722
|
+
display: block;
|
723
|
+
width: 40px;
|
724
|
+
height: 40px;
|
725
|
+
position: absolute;
|
726
|
+
top: 0;
|
727
|
+
left: 0;
|
728
|
+
background: image-url("foundation/orbit/pause-black.png") no-repeat;
|
729
|
+
z-index: 4;
|
730
|
+
opacity: 0; }
|
731
|
+
|
732
|
+
span.pause.active {
|
733
|
+
background: image-url("foundation/orbit/pause-black.png") no-repeat 0 -40px }
|
734
|
+
|
735
|
+
div.timer:hover span.pause,
|
736
|
+
span.pause.active {
|
737
|
+
opacity: 1 }
|
738
|
+
|
739
|
+
|
740
|
+
/* CAPTIONS
|
741
|
+
================================================== */
|
742
|
+
|
743
|
+
.orbit-caption {
|
744
|
+
display: none;
|
745
|
+
font-family: "HelveticaNeue", "Helvetica-Neue", Helvetica, Arial, sans-serif; }
|
746
|
+
|
747
|
+
.orbit-wrapper .orbit-caption {
|
748
|
+
background: #000;
|
749
|
+
background: rgba(0,0,0,.6);
|
750
|
+
z-index: 1000;
|
751
|
+
color: #fff;
|
752
|
+
text-align: center;
|
753
|
+
padding: 7px 0;
|
754
|
+
font-size: 13px;
|
755
|
+
position: absolute;
|
756
|
+
right: 0;
|
757
|
+
bottom: 0;
|
758
|
+
width: 100%; }
|
759
|
+
|
760
|
+
|
761
|
+
/* DIRECTIONAL NAV
|
762
|
+
================================================== */
|
763
|
+
|
764
|
+
div.slider-nav {
|
765
|
+
display: block }
|
766
|
+
|
767
|
+
div.slider-nav span {
|
768
|
+
width: 78px;
|
769
|
+
height: 100px;
|
770
|
+
text-indent: -9999px;
|
771
|
+
position: absolute;
|
772
|
+
z-index: 1000;
|
773
|
+
top: 50%;
|
774
|
+
margin-top: -50px;
|
775
|
+
cursor: pointer; }
|
776
|
+
|
777
|
+
div.slider-nav span.right {
|
778
|
+
background: image-url("foundation/orbit/right-arrow.png");
|
779
|
+
right: 0; }
|
780
|
+
|
781
|
+
div.slider-nav span.left {
|
782
|
+
background: image-url("foundation/orbit/left-arrow.png");
|
783
|
+
left: 0; }
|
784
|
+
|
785
|
+
/* BULLET NAV
|
786
|
+
================================================== */
|
787
|
+
|
788
|
+
.orbit-bullets {
|
789
|
+
position: absolute;
|
790
|
+
z-index: 1000;
|
791
|
+
list-style: none;
|
792
|
+
bottom: -40px;
|
793
|
+
left: 50%;
|
794
|
+
margin-left: -50px;
|
795
|
+
padding: 0; }
|
796
|
+
|
797
|
+
.orbit-bullets li {
|
798
|
+
float: left;
|
799
|
+
margin-left: 5px;
|
800
|
+
cursor: pointer;
|
801
|
+
color: #999;
|
802
|
+
text-indent: -9999px;
|
803
|
+
background: image-url("foundation/orbit/bullets.jpg") no-repeat 4px 0;
|
804
|
+
width: 13px;
|
805
|
+
height: 12px;
|
806
|
+
overflow: hidden; }
|
807
|
+
|
808
|
+
.orbit-bullets li.active {
|
809
|
+
color: #222;
|
810
|
+
background-position: -8px 0; }
|
811
|
+
|
812
|
+
.orbit-bullets li.has-thumb {
|
813
|
+
background: none;
|
814
|
+
width: 100px;
|
815
|
+
height: 75px; }
|
816
|
+
|
817
|
+
.orbit-bullets li.active.has-thumb {
|
818
|
+
background-position: 0 0;
|
819
|
+
border-top: 2px solid #000; }
|
820
|
+
|
821
|
+
/* FLUID LAYOUT
|
822
|
+
================================================== */
|
823
|
+
.orbit .fluid-placeholder {
|
824
|
+
visibility: hidden;
|
825
|
+
position: static;
|
826
|
+
display: block;
|
827
|
+
width: 100%;
|
828
|
+
}
|
829
|
+
|
830
|
+
.orbit, .orbit-wrapper { width: 100% !important; }
|
831
|
+
|
832
|
+
.orbit-bullets {
|
833
|
+
position: absolute;
|
834
|
+
z-index: 1000;
|
835
|
+
list-style: none;
|
836
|
+
bottom: -40px;
|
837
|
+
left: 50%;
|
838
|
+
margin-left: -50px;
|
839
|
+
padding: 0; }
|
840
|
+
|
841
|
+
.orbit-bullets li {
|
842
|
+
float: left;
|
843
|
+
margin-left: 5px;
|
844
|
+
cursor: pointer;
|
845
|
+
color: #999;
|
846
|
+
text-indent: -9999px;
|
847
|
+
background: url(public/images/orbit-demo/orbit/bullets.jpg) no-repeat 4px 0;
|
848
|
+
width: 13px;
|
849
|
+
height: 12px;
|
850
|
+
overflow: hidden; }
|
851
|
+
|
852
|
+
.orbit-bullets li.has-thumb {
|
853
|
+
background: none;
|
854
|
+
width: 100px;
|
855
|
+
height: 75px; }
|
856
|
+
|
857
|
+
.orbit-bullets li.active {
|
858
|
+
color: #222;
|
859
|
+
background-position: -8px 0; }
|
860
|
+
|
861
|
+
.orbit-bullets li.active.has-thumb {
|
862
|
+
background-position: 0 0;
|
863
|
+
border-top: 2px solid #000; }
|
864
|
+
|
865
|
+
/* --------------------------------------------------
|
866
|
+
Reveal Modals
|
867
|
+
-------------------------------------------------- */
|
868
|
+
|
869
|
+
.reveal-modal-bg {
|
870
|
+
position: fixed;
|
871
|
+
height: 100%;
|
872
|
+
width: 100%;
|
873
|
+
background: #000;
|
874
|
+
z-index: 2000;
|
875
|
+
display: none;
|
876
|
+
top: 0;
|
877
|
+
left: 0;
|
878
|
+
}
|
879
|
+
|
880
|
+
.reveal-modal {
|
881
|
+
visibility: hidden;
|
882
|
+
top: 100px;
|
883
|
+
left: 50%;
|
884
|
+
margin-left: -300px;
|
885
|
+
width: 520px;
|
886
|
+
background: #eee image-url("foundation/misc/modal-gloss.png") no-repeat -200px -80px;
|
887
|
+
position: absolute;
|
888
|
+
z-index: 2001;
|
889
|
+
padding: 30px 40px 34px;
|
890
|
+
-moz-border-radius: 5px;
|
891
|
+
-webkit-border-radius: 5px;
|
892
|
+
border-radius: 5px;
|
893
|
+
-moz-box-shadow: 0 0 10px rgba(0,0,0,.4);
|
894
|
+
-webkit-box-shadow: 0 0 10px rgba(0,0,0,.4);
|
895
|
+
box-shadow: 0 0 10px rgba(0,0,0,.4);
|
896
|
+
}
|
897
|
+
|
898
|
+
.reveal-modal.small { width: 200px; margin-left: -140px;}
|
899
|
+
.reveal-modal.medium { width: 400px; margin-left: -240px;}
|
900
|
+
.reveal-modal.large { width: 600px; margin-left: -340px;}
|
901
|
+
.reveal-modal.xlarge { width: 800px; margin-left: -440px;}
|
902
|
+
|
903
|
+
.reveal-modal .close-reveal-modal {
|
904
|
+
font-size: 22px;
|
905
|
+
line-height: .5;
|
906
|
+
position: absolute;
|
907
|
+
top: 8px;
|
908
|
+
right: 11px;
|
909
|
+
color: #aaa;
|
910
|
+
text-shadow: 0 -1px 1px rbga(0,0,0,.6);
|
911
|
+
font-weight: bold;
|
912
|
+
cursor: pointer;
|
913
|
+
}
|
914
|
+
|
915
|
+
|
916
|
+
/* Mobile */
|
917
|
+
|
918
|
+
@media handheld, only screen and (device-width: 768px), (device-width: 800px) {
|
919
|
+
.reveal-modal-bg { position: absolute; }
|
920
|
+
|
921
|
+
.reveal-modal,
|
922
|
+
.reveal-modal.small,
|
923
|
+
.reveal-modal.medium,
|
924
|
+
.reveal-modal.large,
|
925
|
+
.reveal-modal.xlarge { width: 60%; top: 30%; left: 15%; margin-left: 0px; padding: 5%; height: auto; }
|
926
|
+
}
|
927
|
+
|
928
|
+
@media handheld, only screen and (max-width: 767px) {
|
929
|
+
.reveal-modal-bg { position: absolute; }
|
930
|
+
|
931
|
+
.reveal-modal,
|
932
|
+
.reveal-modal.small,
|
933
|
+
.reveal-modal.medium,
|
934
|
+
.reveal-modal.large,
|
935
|
+
.reveal-modal.xlarge { width: 80%; top: 15%; left: 5%; margin-left: 0px; padding: 5%; height: auto; }
|
936
|
+
}
|
937
|
+
|
938
|
+
|
939
|
+
/*
|
940
|
+
|
941
|
+
NOTES
|
942
|
+
|
943
|
+
Close button entity is ×
|
944
|
+
|
945
|
+
Example markup
|
946
|
+
|
947
|
+
<div id="myModal" class="reveal-modal">
|
948
|
+
<h2>Awesome. I have it.</h2>
|
949
|
+
<p class="lead">Your couch. I it's mine.</p>
|
950
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ultrices aliquet placerat. Duis pulvinar orci et nisi euismod vitae tempus lorem consectetur. Duis at magna quis turpis mattis venenatis eget id diam. </p>
|
951
|
+
<a class="close-reveal-modal">×</a>
|
952
|
+
</div>
|
953
|
+
|
954
|
+
*/
|
955
|
+
|
956
|
+
|
957
|
+
/* --------------------------------------------------
|
958
|
+
:: Grid
|
959
|
+
-------------------------------------------------- */
|
960
|
+
|
961
|
+
/* Tablet screens */
|
962
|
+
@media only screen and (device-width: 768px), (device-width: 800px) {
|
963
|
+
/* Currently unused */
|
964
|
+
}
|
965
|
+
|
966
|
+
|
967
|
+
/* Mobile */
|
968
|
+
@media only screen and (max-width: 767px) {
|
969
|
+
body { -webkit-text-size-adjust: none; }
|
970
|
+
|
971
|
+
.row, body, .container { width: 100%; min-width: 0; margin-left: 0px; margin-right: 0px; padding-left: 0px; padding-right: 0px; }
|
972
|
+
.row .row .column, .row .row .columns { padding: 0; }
|
973
|
+
.column, .columns { width: auto !important; float: none; margin-left: 0px; margin-right: 0px; padding-left: 20px; padding-right: 20px; }
|
974
|
+
.column:last-child, .columns:last-child { margin-right: 0px; }
|
975
|
+
.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 { margin-left: 0% !important; }
|
976
|
+
}
|
977
|
+
|
978
|
+
|
979
|
+
/* --------------------------------------------------
|
980
|
+
:: Block Grids
|
981
|
+
-------------------------------------------------- */
|
982
|
+
|
983
|
+
@media only screen and (max-width: 767px) {
|
984
|
+
.block-grid.mobile li { float: none; width: 100%; }
|
985
|
+
}
|
986
|
+
|
987
|
+
|
988
|
+
|
989
|
+
/* --------------------------------------------------
|
990
|
+
:: Mobile Visibility Affordances
|
991
|
+
---------------------------------------------------*/
|
992
|
+
|
993
|
+
|
994
|
+
.show-on-phones { display: none !important; }
|
995
|
+
.show-on-tablets { display: none !important; }
|
996
|
+
.show-on-desktops { display: block; }
|
997
|
+
|
998
|
+
.hide-on-phones { display: block !important; }
|
999
|
+
.hide-on-tablets { display: block !important; }
|
1000
|
+
.hide-on-desktops { display: none; }
|
1001
|
+
|
1002
|
+
|
1003
|
+
@media only screen and (max-device-width: 800px), only screen and (device-width: 800px) {
|
1004
|
+
.hide-on-phones { display: block !important; }
|
1005
|
+
.hide-on-tablets { display: none !important; }
|
1006
|
+
.hide-on-desktops { display: block !important; }
|
1007
|
+
|
1008
|
+
.show-on-phones { display: none !important; }
|
1009
|
+
.show-on-tablets { display: block !important; }
|
1010
|
+
.show-on-desktops { display: none !important; }
|
1011
|
+
}
|
1012
|
+
|
1013
|
+
|
1014
|
+
@media only screen and (max-width: 767px) {
|
1015
|
+
.hide-on-phones { display: none !important; }
|
1016
|
+
.hide-on-tablets { display: block !important; }
|
1017
|
+
.hide-on-desktops { display: block !important; }
|
1018
|
+
|
1019
|
+
.show-on-phones { display: block !important; }
|
1020
|
+
.show-on-tablets { display: none !important; }
|
1021
|
+
.show-on-desktops { display: none !important; }
|
1022
|
+
}
|
1023
|
+
|
1024
|
+
/* only screen and (device-width: 1280px), only screen and (max-device-width: 1280px), /*
|
1025
|
+
|
1026
|
+
|
1027
|
+
/* --------------------------------------------------
|
1028
|
+
:: Forms
|
1029
|
+
---------------------------------------------------*/
|
1030
|
+
|
1031
|
+
|
1032
|
+
@media only screen and (max-width: 767px) {
|
1033
|
+
div.form-field input, div.form-field input.small, div.form-field input.medium, div.form-field input.large, div.form-field input.oversize, input.input-text, input.input-text.oversize, textarea,
|
1034
|
+
form.nice div.form-field input, form.nice div.form-field input.oversize, 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; }
|
1035
|
+
form.nice div.form-field input, form.nice div.form-field input.oversize, form.nice input.input-text, form.nice input.input-text.oversize, form.nice textarea { -webkit-border-radius: 2px; -moz-border-radius: 2px; }
|
1036
|
+
form.nice div.form-field.error small, form.nice small.error { padding: 6px 2%; display: block; }
|
1037
|
+
form.nice div.form-field.error .small + small, form.nice .small + .error { width: auto; }
|
1038
|
+
form.nice div.form-field.error .medium + small, form.nice .medium + .error { width: auto; }
|
1039
|
+
form.nice div.form-field.error .large + small, form.nice .large + .error { width: auto; }
|
1040
|
+
}
|
1041
|
+
|
1042
|
+
|
1043
|
+
/* --------------------------------------------------
|
1044
|
+
:: UI
|
1045
|
+
---------------------------------------------------*/
|
1046
|
+
|
1047
|
+
/* Buttons */
|
1048
|
+
@media only screen and (max-width: 767px) {
|
1049
|
+
.button { display: block; }
|
1050
|
+
button.button { width: 100%; padding-left: 0px; padding-right: 0px; }
|
1051
|
+
}
|
1052
|
+
|
1053
|
+
/* Tabs */
|
1054
|
+
|
1055
|
+
@media only screen and (max-width: 767px) {
|
1056
|
+
dl.tabs.mobile, dl.nice.tabs.mobile { width: auto; margin: 20px -20px 40px; height: auto; }
|
1057
|
+
dl.tabs.mobile dt, dl.tabs.mobile dd, dl.nice.tabs.mobile dt, dl.nice.tabs.mobile dd { float: none; height: auto; }
|
1058
|
+
|
1059
|
+
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; }
|
1060
|
+
dl.tabs.mobile dd a.active { height: auto; margin: 0; border-width: 1px 0px 0px; }
|
1061
|
+
|
1062
|
+
.nice.tabs.mobile { border-bottom: solid 1px #ccc; height: auto; }
|
1063
|
+
.nice.tabs.mobile dd a { padding: 18px 20px; border: none; border-left: none; border-right: none; border-top: 1px solid #ccc; background: #fff; }
|
1064
|
+
.nice.tabs.mobile dd a.active { border: none; background: #00a6fc; color: #fff; margin: 0; position: static; top: 0px; height: auto; }
|
1065
|
+
.nice.tabs.mobile dd:first-child a.active { margin: 0; }
|
1066
|
+
|
1067
|
+
dl.contained.mobile, dl.nice.contained.mobile { margin-bottom: 0px; }
|
1068
|
+
dl.contained.tabs.mobile dd a { padding: 18px 20px; }
|
1069
|
+
dl.nice.contained.tabs.mobile dd a { padding: 18px 20px; }
|
1070
|
+
}
|
1071
|
+
|
1072
|
+
|