zurb-foundation 2.1.0 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,181 @@
1
+ /* --------------------------------------------------
2
+ :: Typography
3
+ -------------------------------------------------- */
4
+
5
+ @media handheld, only screen and (max-width: 767px) {
6
+ h1 { font-size: 32px; font-size: 3.2rem; line-height: 1.3; }
7
+ h2 { font-size: 28px; font-size: 2.8rem; line-height: 1.3; }
8
+ h3 { font-size: 21px; font-size: 2.1rem; line-height: 1.3; }
9
+ h4 { font-size: 18px; font-size: 1.8rem; line-height: 1.2; }
10
+ h5 { font-size: 16px; font-size: 1.6rem; line-height: 1.2; }
11
+ h6 { font-size: 15px; font-size: 1.5rem; line-height: 1.2; }
12
+ body, p { font-size: 15px; font-size: 1.5rem; line-height: 1.4; }
13
+ }
14
+
15
+
16
+ /* --------------------------------------------------
17
+ :: Grid
18
+ -------------------------------------------------- */
19
+
20
+ /* Tablet screens */
21
+ @media only screen and (device-width: 768px), (device-width: 800px) {
22
+ /* Currently unused */
23
+ }
24
+
25
+
26
+ /* Mobile */
27
+ @media only screen and (max-width: 767px) {
28
+ body { -webkit-text-size-adjust: none; -ms-text-size-adjust: none; width: 100%; min-width: 0; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
29
+ .container { min-width: 0; margin-left: 0; margin-right: 0; }
30
+ .row { width: 100%; min-width: 0; margin-left: 0; margin-right: 0; }
31
+ .row .row .column, .row .row .columns { padding: 0; }
32
+ .column, .columns { width: auto !important; float: none; margin-left: 0; margin-right: 0; }
33
+ .column:last-child, .columns:last-child { margin-right: 0; }
34
+ .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 { margin-left: 0 !important; }
35
+
36
+
37
+ /* Mobile 4-column Grid */
38
+ .row .phone-one.column:first-child, .row .phone-two.column:first-child, .row .phone-three.column:first-child, .row .phone-four.column:first-child, .row .phone-one.columns:first-child, .row .phone-two.columns:first-child, .row .phone-three.columns:first-child, .row .phone-four.columns:first-child { margin-left: 0; }
39
+
40
+ .row .phone-one.column, .row .phone-two.column, .row .phone-three.column, .row .phone-four.column,
41
+ .row .phone-one.columns, .row .phone-two.columns, .row .phone-three.columns, .row .phone-four.columns { margin-left: 4.4%; float: left; min-height: 1px; position: relative; padding: 0; }
42
+
43
+ .row .phone-one.columns { width: 21.68% !important; }
44
+ .row .phone-two.columns { width: 47.8% !important; }
45
+ .row .phone-three.columns { width: 73.9% !important; }
46
+ .row .phone-four.columns { width: 100% !important; }
47
+
48
+
49
+ }
50
+
51
+
52
+ /* --------------------------------------------------
53
+ :: Block Grids
54
+ -------------------------------------------------- */
55
+
56
+ @media only screen and (max-width: 767px) {
57
+ .block-grid.mobile { margin-left: 0; }
58
+ .block-grid.mobile li { float: none; width: 100%; margin-left: 0; }
59
+ }
60
+
61
+
62
+
63
+ /* --------------------------------------------------
64
+ :: Mobile Visibility Affordances
65
+ ---------------------------------------------------*/
66
+
67
+
68
+ .show-on-phones { display: none !important; }
69
+ .show-on-tablets { display: none !important; }
70
+ .show-on-desktops { display: block !important; }
71
+
72
+ .hide-on-phones { display: block !important; }
73
+ .hide-on-tablets { display: block !important; }
74
+ .hide-on-desktops { display: none !important; }
75
+
76
+
77
+ @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) {
78
+ .hide-on-phones { display: block !important; }
79
+ .hide-on-tablets { display: none !important; }
80
+ .hide-on-desktops { display: block !important; }
81
+
82
+ .show-on-phones { display: none !important; }
83
+ .show-on-tablets { display: block !important; }
84
+ .show-on-desktops { display: none !important; }
85
+ }
86
+
87
+
88
+ @media only screen and (max-width: 767px) {
89
+ .hide-on-phones { display: none !important; }
90
+ .hide-on-tablets { display: block !important; }
91
+ .hide-on-desktops { display: block !important; }
92
+
93
+ .show-on-phones { display: block !important; }
94
+ .show-on-tablets { display: none !important; }
95
+ .show-on-desktops { display: none !important; }
96
+ }
97
+
98
+ /* only screen and (device-width: 1280px), only screen and (max-device-width: 1280px), /*
99
+ /* Keeping this in as a reminder to address support for other tablet devices like the Xoom in the future */
100
+
101
+ /* Specific overrides for elements that require something other than display: block */
102
+
103
+ table.show-on-desktops { display: table !important; }
104
+ table.hide-on-phones { display: table !important; }
105
+ table.hide-on-tablets { display: table !important; }
106
+
107
+ @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) {
108
+ table.hide-on-phones { display: block !important; }
109
+ table.hide-on-desktops { display: block !important; }
110
+ table.show-on-tablets { display: block !important; }
111
+ }
112
+
113
+ @media only screen and (max-width: 767px) {
114
+ table.hide-on-tablets { display: block !important; }
115
+ table.hide-on-desktops { display: block !important; }
116
+ table.show-on-phones { display: block !important; }
117
+ }
118
+
119
+
120
+ /* --------------------------------------------------
121
+ :: Forms
122
+ ---------------------------------------------------*/
123
+
124
+
125
+ @media only screen and (max-width: 767px) {
126
+ 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,
127
+ 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; }
128
+ 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; border-radius: 2px; }
129
+ form.nice div.form-field.error small, form.nice small.error { padding: 6px 2%; display: block; }
130
+ form.nice div.form-field.error .small + small, form.nice .small + .error { width: auto; }
131
+ form.nice div.form-field.error .medium + small, form.nice .medium + .error { width: auto; }
132
+ form.nice div.form-field.error .large + small, form.nice .large + .error { width: auto; }
133
+ }
134
+
135
+
136
+ /* --------------------------------------------------
137
+ :: UI
138
+ ---------------------------------------------------*/
139
+
140
+ /* Buttons */
141
+ @media only screen and (max-width: 767px) {
142
+ .button { display: block; }
143
+ button.button { width: 100%; padding-left: 0; padding-right: 0; }
144
+ }
145
+
146
+ /* Tabs */
147
+
148
+ @media only screen and (max-width: 767px) {
149
+ dl.tabs.mobile, dl.nice.tabs.mobile { width: auto; margin: 20px -20px 40px; height: auto; }
150
+ dl.tabs.mobile dt, dl.tabs.mobile dd, dl.nice.tabs.mobile dt, dl.nice.tabs.mobile dd { float: none; height: auto; }
151
+
152
+ dl.tabs.mobile dd a { display: block; width: auto; height: auto; padding: 18px 20px; line-height: 1; border: solid 0 #ccc; border-width: 1px 0 0; margin: 0; color: #555; background: #eee; font-size: 15px; font-size: 1.5rem; }
153
+ dl.tabs.mobile dd a.active { height: auto; margin: 0; border-width: 1px 0 0; }
154
+
155
+ .nice.tabs.mobile { border-bottom: solid 1px #ccc; height: auto; }
156
+ .nice.tabs.mobile dd a { padding: 18px 20px; border: none; border-left: none; border-right: none; border-top: 1px solid #ccc; background: #fff; }
157
+ .nice.tabs.mobile dd a.active { border: none; background: #00a6fc; color: #fff; margin: 0; position: static; top: 0; height: auto; }
158
+ .nice.tabs.mobile dd:first-child a.active { margin: 0; }
159
+
160
+ dl.contained.mobile, dl.nice.contained.mobile { margin-bottom: 0; }
161
+ dl.contained.tabs.mobile dd a { padding: 18px 20px; }
162
+ dl.nice.contained.tabs.mobile dd a { padding: 18px 20px; }
163
+ }
164
+
165
+ /* Nav Bar */
166
+
167
+ @media only screen and (max-width: 767px) {
168
+ .nav-bar { height: auto; }
169
+ .nav-bar li { float: none; display: block; }
170
+ .nav-bar li a { text-align: left; border-top: 1px solid #ddd; border-right: none; }
171
+ .nav-bar li:first-child a { border-top: none; }
172
+ .nav-bar li.has-flyout a:after { content: ""; width: 0; height: 0; border-left: 4px solid transparent;border-right: 4px solid transparent; border-top: 4px solid #2a85e8; display: block; }
173
+ .nav-bar li:hover a { font-weight: bold; }
174
+ .nav-bar li:hover ul { position: relative; }
175
+
176
+ .flyout { position: relative; width: auto; top: auto; margin-right: -2px; border-width: 1px 1px 0px 1px; }
177
+ .flyout.small, .flyout.large { width: auto; }
178
+ .flyout p:last-child { margin-bottom: 18px; }
179
+ }
180
+
181
+
@@ -0,0 +1,250 @@
1
+ /* CSS for jQuery Orbit Plugin 1.2.3
2
+ * www.ZURB.com/playground
3
+ * Copyright 2010, ZURB
4
+ * Free to use under the MIT license.
5
+ * http://www.opensource.org/licenses/mit-license.php
6
+
7
+
8
+
9
+ /* PUT IN YOUR SLIDER ID AND SIZE TO MAKE LOAD BEAUTIFULLY
10
+ ================================================== */
11
+ #caseStudies {
12
+ width: 1000px;
13
+ height: 210px;
14
+ background: #fff image-url("foundation/orbit/loading.gif") no-repeat center center;
15
+ overflow: hidden; }
16
+ #caseStudies>img,
17
+ #caseStudies>div,
18
+ #caseStudies>a { display: none; }
19
+
20
+
21
+
22
+
23
+ /* CONTAINER
24
+ ================================================== */
25
+
26
+ div.orbit-wrapper {
27
+ width: 1px;
28
+ height: 1px;
29
+ position: relative; }
30
+
31
+ div.orbit {
32
+ width: 1px;
33
+ height: 1px;
34
+ position: relative;
35
+ overflow: hidden }
36
+
37
+ div.orbit.with-bullets {
38
+ margin-bottom: 40px;
39
+ }
40
+
41
+ div.orbit>img {
42
+ position: absolute;
43
+ top: 0;
44
+ left: 0;
45
+ /* display: none; */ }
46
+
47
+ div.orbit>a {
48
+ border: none;
49
+ position: absolute;
50
+ top: 0;
51
+ left: 0;
52
+ line-height: 0;
53
+ display: none; }
54
+
55
+ .orbit>div {
56
+ position: absolute;
57
+ top: 0;
58
+ left: 0;
59
+ width: 100%;
60
+ height: 100%; }
61
+
62
+ /* 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 */
63
+
64
+
65
+ /* TIMER
66
+ ================================================== */
67
+
68
+ div.timer {
69
+ width: 40px;
70
+ height: 40px;
71
+ overflow: hidden;
72
+ position: absolute;
73
+ top: 10px;
74
+ right: 10px;
75
+ opacity: .6;
76
+ cursor: pointer;
77
+ z-index: 1001; }
78
+
79
+ span.rotator {
80
+ display: block;
81
+ width: 40px;
82
+ height: 40px;
83
+ position: absolute;
84
+ top: 0;
85
+ left: -20px;
86
+ background: image-url("foundation/orbit/rotator-black.png") no-repeat;
87
+ z-index: 3; }
88
+
89
+ span.mask {
90
+ display: block;
91
+ width: 20px;
92
+ height: 40px;
93
+ position: absolute;
94
+ top: 0;
95
+ right: 0;
96
+ z-index: 2;
97
+ overflow: hidden; }
98
+
99
+ span.rotator.move {
100
+ left: 0 }
101
+
102
+ span.mask.move {
103
+ width: 40px;
104
+ left: 0;
105
+ background: image-url("foundation/orbit/timer-black.png") repeat 0 0; }
106
+
107
+ span.pause {
108
+ display: block;
109
+ width: 40px;
110
+ height: 40px;
111
+ position: absolute;
112
+ top: 0;
113
+ left: 0;
114
+ background: image-url("foundation/orbit/pause-black.png") no-repeat;
115
+ z-index: 4;
116
+ opacity: 0; }
117
+
118
+ span.pause.active {
119
+ background: image-url("foundation/orbit/pause-black.png") no-repeat 0 -40px }
120
+
121
+ div.timer:hover span.pause,
122
+ span.pause.active {
123
+ opacity: 1 }
124
+
125
+
126
+ /* CAPTIONS
127
+ ================================================== */
128
+
129
+ .orbit-caption {
130
+ display: none;
131
+ font-family: "HelveticaNeue", "Helvetica-Neue", Helvetica, Arial, sans-serif; }
132
+
133
+ .orbit-wrapper .orbit-caption {
134
+ background: #000;
135
+ background: rgba(0,0,0,.6);
136
+ z-index: 1000;
137
+ color: #fff;
138
+ text-align: center;
139
+ padding: 7px 0;
140
+ font-size: 13px;
141
+ position: absolute;
142
+ right: 0;
143
+ bottom: 0;
144
+ width: 100%; }
145
+
146
+
147
+ /* DIRECTIONAL NAV
148
+ ================================================== */
149
+
150
+ div.slider-nav {
151
+ display: block }
152
+
153
+ div.slider-nav span {
154
+ width: 78px;
155
+ height: 100px;
156
+ text-indent: -9999px;
157
+ position: absolute;
158
+ z-index: 1000;
159
+ top: 50%;
160
+ margin-top: -50px;
161
+ cursor: pointer; }
162
+
163
+ div.slider-nav span.right {
164
+ background: image-url("foundation/orbit/right-arrow.png");
165
+ right: 0; }
166
+
167
+ div.slider-nav span.left {
168
+ background: image-url("foundation/orbit/left-arrow.png");
169
+ left: 0; }
170
+
171
+ /* BULLET NAV
172
+ ================================================== */
173
+
174
+ .orbit-bullets {
175
+ position: absolute;
176
+ z-index: 1000;
177
+ list-style: none;
178
+ bottom: -40px;
179
+ left: 50%;
180
+ margin-left: -50px;
181
+ padding: 0; }
182
+
183
+ .orbit-bullets li {
184
+ float: left;
185
+ margin-left: 5px;
186
+ cursor: pointer;
187
+ color: #999;
188
+ text-indent: -9999px;
189
+ background: image-url("foundation/orbit/bullets.jpg") no-repeat 4px 0;
190
+ width: 13px;
191
+ height: 12px;
192
+ overflow: hidden; }
193
+
194
+ .orbit-bullets li.active {
195
+ color: #222;
196
+ background-position: -8px 0; }
197
+
198
+ .orbit-bullets li.has-thumb {
199
+ background: none;
200
+ width: 100px;
201
+ height: 75px; }
202
+
203
+ .orbit-bullets li.active.has-thumb {
204
+ background-position: 0 0;
205
+ border-top: 2px solid #000; }
206
+
207
+ /* FLUID LAYOUT
208
+ ================================================== */
209
+ .orbit .fluid-placeholder {
210
+ visibility: hidden;
211
+ position: static;
212
+ display: block;
213
+ width: 100%;
214
+ }
215
+
216
+ .orbit, .orbit-wrapper { width: 100% !important; }
217
+
218
+ .orbit-bullets {
219
+ position: absolute;
220
+ z-index: 1000;
221
+ list-style: none;
222
+ bottom: -50px;
223
+ left: 50%;
224
+ margin-left: -50px;
225
+ padding: 0; }
226
+
227
+ .orbit-bullets li {
228
+ float: left;
229
+ margin-left: 5px;
230
+ cursor: pointer;
231
+ color: #999;
232
+ text-indent: -9999px;
233
+ background: image-url("foundation/orbit/bullets.jpg") no-repeat 4px 0;
234
+ width: 13px;
235
+ height: 12px;
236
+ overflow: hidden; }
237
+
238
+ .orbit-bullets li.has-thumb {
239
+ background: none;
240
+ width: 100px;
241
+ height: 75px; }
242
+
243
+ .orbit-bullets li.active {
244
+ color: #222;
245
+ background-position: -8px 0; }
246
+
247
+ .orbit-bullets li.active.has-thumb {
248
+ background-position: 0 0;
249
+ border-top: 2px solid #000; }
250
+
@@ -0,0 +1,95 @@
1
+ /* --------------------------------------------------
2
+ Reveal Modals
3
+ -------------------------------------------------- */
4
+
5
+ .reveal-modal-bg {
6
+ position: fixed;
7
+ height: 100%;
8
+ width: 100%;
9
+ background: #000;
10
+ z-index: 2000;
11
+ display: none;
12
+ top: 0;
13
+ left: 0;
14
+ }
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("foundation/misc/modal-gloss.png") no-repeat -200px -80px;
23
+ position: absolute;
24
+ z-index: 2001;
25
+ padding: 30px 40px 34px;
26
+ -moz-border-radius: 5px;
27
+ -webkit-border-radius: 5px;
28
+ border-radius: 5px;
29
+ -moz-box-shadow: 0 0 10px rgba(0,0,0,.4);
30
+ -webkit-box-shadow: 0 0 10px rgba(0,0,0,.4);
31
+ box-shadow: 0 0 10px rgba(0,0,0,.4);
32
+ }
33
+
34
+ .reveal-modal.small { width: 200px; margin-left: -140px;}
35
+ .reveal-modal.medium { width: 400px; margin-left: -240px;}
36
+ .reveal-modal.large { width: 600px; margin-left: -340px;}
37
+ .reveal-modal.xlarge { width: 800px; margin-left: -440px;}
38
+
39
+ .reveal-modal .close-reveal-modal {
40
+ font-size: 22px;
41
+ line-height: .5;
42
+ position: absolute;
43
+ top: 8px;
44
+ right: 11px;
45
+ color: #aaa;
46
+ text-shadow: 0 -1px 1px rbga(0,0,0,.6);
47
+ font-weight: bold;
48
+ cursor: pointer;
49
+ }
50
+
51
+ .reveal-modal .row {
52
+ min-width: 0;
53
+ }
54
+
55
+ /* Mobile */
56
+
57
+ @media handheld, only screen and (device-width: 768px), (device-width: 800px) {
58
+ .reveal-modal-bg { position: absolute; }
59
+
60
+ .reveal-modal,
61
+ .reveal-modal.small,
62
+ .reveal-modal.medium,
63
+ .reveal-modal.large,
64
+ .reveal-modal.xlarge { width: 60%; top: 30%; left: 15%; margin-left: 0; padding: 5%; height: auto; }
65
+ }
66
+
67
+ @media handheld, only screen and (max-width: 767px) {
68
+ .reveal-modal-bg { position: absolute; }
69
+
70
+ .reveal-modal,
71
+ .reveal-modal.small,
72
+ .reveal-modal.medium,
73
+ .reveal-modal.large,
74
+ .reveal-modal.xlarge { width: 80%; top: 15%; left: 5%; margin-left: 0; padding: 5%; height: auto; }
75
+ }
76
+
77
+
78
+ /*
79
+
80
+ NOTES
81
+
82
+ Close button entity is ×
83
+
84
+ Example markup
85
+
86
+ <div id="myModal" class="reveal-modal">
87
+ <h2>Awesome. I have it.</h2>
88
+ <p class="lead">Your couch. I it's mine.</p>
89
+ <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>
90
+ <a class="close-reveal-modal">&#215;</a>
91
+ </div>
92
+
93
+ */
94
+
95
+