pondasee 1.0.rc.2
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +2 -0
- data/README.mkdn +2 -0
- data/VERSION +1 -0
- data/lib/pondasee.rb +1 -0
- data/stylesheets/_pondasee.scss +12 -0
- data/stylesheets/pondasee/_mixins.scss +63 -0
- data/stylesheets/pondasee/_settings.scss +3 -0
- data/stylesheets/pondasee/_variable.scss +97 -0
- data/stylesheets/pondasee/base.scss +24 -0
- data/stylesheets/pondasee/font-awesome.scss +295 -0
- data/stylesheets/pondasee/forms.scss +345 -0
- data/stylesheets/pondasee/grid.scss +37 -0
- data/stylesheets/pondasee/images.scss +168 -0
- data/stylesheets/pondasee/media-queries.scss +56 -0
- data/stylesheets/pondasee/mixins/_basic-buttons.scss +158 -0
- data/stylesheets/pondasee/mixins/_fonts.scss +31 -0
- data/stylesheets/pondasee/mixins/_helper.scss +56 -0
- data/stylesheets/pondasee/mixins/_simple-responsive-grid.scss +66 -0
- data/stylesheets/pondasee/mixins/_zurb-button.scss +105 -0
- data/stylesheets/pondasee/reset.scss +72 -0
- data/stylesheets/pondasee/table.scss +40 -0
- data/stylesheets/pondasee/typography.scss +217 -0
- data/stylesheets/pondasee/utilities.scss +181 -0
- data/templates/project/config.rb +46 -0
- data/templates/project/fonts/fontawesome-webfont.eot +0 -0
- data/templates/project/fonts/fontawesome-webfont.svg +255 -0
- data/templates/project/fonts/fontawesome-webfont.ttf +0 -0
- data/templates/project/fonts/fontawesome-webfont.woff +0 -0
- data/templates/project/humans.txt +42 -0
- data/templates/project/img/button.png +0 -0
- data/templates/project/img/overlay-button.png +0 -0
- data/templates/project/img/select_arrow.gif +0 -0
- data/templates/project/index.html +67 -0
- data/templates/project/js/methods.js +3 -0
- data/templates/project/js/plugins.js +21 -0
- data/templates/project/js/vendor/jquery-1.7.2.min.js +4 -0
- data/templates/project/js/vendor/modernizr-2.5.3.min.js +4 -0
- data/templates/project/js/vendor/nwmatcher-1.2.5-min.js +7 -0
- data/templates/project/js/vendor/selectivizr-min.js +5 -0
- data/templates/project/manifest.rb +52 -0
- data/templates/project/sass/partials/_base.scss +5 -0
- data/templates/project/sass/partials/_font-awesome.scss +5 -0
- data/templates/project/sass/partials/_forms.scss +5 -0
- data/templates/project/sass/partials/_grid.scss +6 -0
- data/templates/project/sass/partials/_ie.scss +7 -0
- data/templates/project/sass/partials/_images.scss +5 -0
- data/templates/project/sass/partials/_main.scss +12 -0
- data/templates/project/sass/partials/_media-queries.scss +6 -0
- data/templates/project/sass/partials/_mixins.scss +7 -0
- data/templates/project/sass/partials/_plugins.scss +4 -0
- data/templates/project/sass/partials/_reset.scss +5 -0
- data/templates/project/sass/partials/_table.scss +5 -0
- data/templates/project/sass/partials/_typography.scss +5 -0
- data/templates/project/sass/partials/_utilities.scss +5 -0
- data/templates/project/sass/partials/main/_footer.scss +10 -0
- data/templates/project/sass/partials/main/_header.scss +10 -0
- data/templates/project/sass/partials/main/_menus.scss +12 -0
- data/templates/project/sass/skins/default.scss +11 -0
- data/templates/project/sass/style.scss +120 -0
- data/templates/project/skins/default.css +3 -0
- data/templates/project/style.css +0 -0
- metadata +137 -0
@@ -0,0 +1,345 @@
|
|
1
|
+
/* BASE FORM STYLES
|
2
|
+
----------------- */
|
3
|
+
|
4
|
+
label {
|
5
|
+
font-weight: bold;
|
6
|
+
font-size: 12px;
|
7
|
+
}
|
8
|
+
|
9
|
+
fieldset {
|
10
|
+
border: 1px solid $grayLight;
|
11
|
+
font-size: 12px;
|
12
|
+
line-height: 1.3em;
|
13
|
+
margin: 0 0 1.5em;
|
14
|
+
padding: 0 1.4em 1.4em 1.4em;
|
15
|
+
}
|
16
|
+
|
17
|
+
legend {
|
18
|
+
background: $whiteDark;
|
19
|
+
border: 1px solid $grayLight;
|
20
|
+
@include border-radius;
|
21
|
+
font-weight: bold;
|
22
|
+
display: block;
|
23
|
+
left: 0;
|
24
|
+
margin: 0;
|
25
|
+
padding: rhythm(.2) rhythm(.8);
|
26
|
+
position: relative;
|
27
|
+
@include text-shadow( 1px 1px 0 rgba($white, .7) );
|
28
|
+
top: 0;
|
29
|
+
}
|
30
|
+
|
31
|
+
fieldset {
|
32
|
+
padding-top: 1.4em;
|
33
|
+
}
|
34
|
+
|
35
|
+
legend {
|
36
|
+
margin-top: 0;
|
37
|
+
margin-bottom: 0;
|
38
|
+
}
|
39
|
+
|
40
|
+
/* INPUT WIDTH
|
41
|
+
----------------- */
|
42
|
+
|
43
|
+
.input-tiny {
|
44
|
+
width: 50px;
|
45
|
+
}
|
46
|
+
|
47
|
+
.input-small {
|
48
|
+
width: 100px;
|
49
|
+
}
|
50
|
+
|
51
|
+
.input-medium {
|
52
|
+
width: 150px;
|
53
|
+
}
|
54
|
+
|
55
|
+
.input-large {
|
56
|
+
width: 200px;
|
57
|
+
}
|
58
|
+
|
59
|
+
.input-xlarge {
|
60
|
+
width: 250px;
|
61
|
+
}
|
62
|
+
|
63
|
+
.input-xxlarge {
|
64
|
+
width: 300px;
|
65
|
+
}
|
66
|
+
|
67
|
+
.input-xxxlarge {
|
68
|
+
width: 350px;
|
69
|
+
}
|
70
|
+
|
71
|
+
.input-full {
|
72
|
+
width: 100%;
|
73
|
+
}
|
74
|
+
|
75
|
+
// Added via JS to <textarea> and class="input-full".
|
76
|
+
// Applies only to IE7. Other browsers don't need it.
|
77
|
+
|
78
|
+
.input_full_wrap {
|
79
|
+
display: block;
|
80
|
+
padding-right: 8px;
|
81
|
+
}
|
82
|
+
|
83
|
+
/* UI Consistency
|
84
|
+
----------------- */
|
85
|
+
|
86
|
+
input[type="search"]::-webkit-search-decoration {
|
87
|
+
display: none;
|
88
|
+
}
|
89
|
+
|
90
|
+
button,
|
91
|
+
select {
|
92
|
+
// Suppress red glow that Firefox
|
93
|
+
// adds to form fields by default.
|
94
|
+
&:invalid {
|
95
|
+
@include box-shadow(none);
|
96
|
+
}
|
97
|
+
}
|
98
|
+
|
99
|
+
// For Firefox
|
100
|
+
input,
|
101
|
+
textarea {
|
102
|
+
// Add blue glow.
|
103
|
+
@include border-radius(3px);
|
104
|
+
@include single-transition(all, .2s, linear, 0s);
|
105
|
+
// Suppress red glow that Firefox
|
106
|
+
// adds to form fields by default.
|
107
|
+
&:invalid {
|
108
|
+
@include box-shadow(none); }
|
109
|
+
|
110
|
+
}
|
111
|
+
|
112
|
+
input[type="file"],
|
113
|
+
input[type="radio"],
|
114
|
+
input[type="checkbox"],
|
115
|
+
select,
|
116
|
+
button,
|
117
|
+
input[type="reset"],
|
118
|
+
input[type="submit"],
|
119
|
+
input[type="button"] {
|
120
|
+
&:focus {
|
121
|
+
@include tab-focus();
|
122
|
+
@include box-shadow(none); // override for file inputs
|
123
|
+
}
|
124
|
+
}
|
125
|
+
|
126
|
+
input[type="file"],
|
127
|
+
input[type="radio"],
|
128
|
+
input[type="checkbox"] {
|
129
|
+
&:focus,
|
130
|
+
&:active {
|
131
|
+
@include box-shadow(none);
|
132
|
+
}
|
133
|
+
}
|
134
|
+
|
135
|
+
button,
|
136
|
+
input[type="reset"],
|
137
|
+
input[type="submit"],
|
138
|
+
input[type="button"] {
|
139
|
+
-webkit-appearance: none;
|
140
|
+
@include border-radius(3px);
|
141
|
+
@include background-clip(padding-box);
|
142
|
+
background: darken($white, 5%) image-url('button.png') repeat-x;
|
143
|
+
@include background-image(linear-gradient($white, darken($white, 5%)));
|
144
|
+
border: 1px solid darken($white, 10%);
|
145
|
+
cursor: pointer;
|
146
|
+
color: #333333;
|
147
|
+
// Helvetica Neue present, because it works better
|
148
|
+
// for line-height on buttons than Arial, on OS X.
|
149
|
+
font: bold 12px / 1.3 "Helvetica Neue", Arial, "Liberation Sans", FreeSans, sans-serif;
|
150
|
+
outline: 0;
|
151
|
+
overflow: visible;
|
152
|
+
margin: 0;
|
153
|
+
padding: 10px 20px;
|
154
|
+
// IE7
|
155
|
+
*padding-top: 2px;
|
156
|
+
*padding-bottom: 0;
|
157
|
+
// Kill phantom spacing and dotted
|
158
|
+
// border that appears in Firefox.
|
159
|
+
text-shadow: white 0 1px 1px;
|
160
|
+
@include transition(none);
|
161
|
+
vertical-align: top;
|
162
|
+
width: auto;
|
163
|
+
&:hover {
|
164
|
+
background: $white;
|
165
|
+
@include background-image(linear-gradient(darken($white, 5%), $white));
|
166
|
+
}
|
167
|
+
&:active {
|
168
|
+
@include single-box-shadow( rgba($black, .15), 0, 2px, 3px, 0, true );
|
169
|
+
outline: 0;
|
170
|
+
}
|
171
|
+
|
172
|
+
&::-moz-focus-inner {
|
173
|
+
border: 0;
|
174
|
+
padding: 0;
|
175
|
+
}
|
176
|
+
}
|
177
|
+
|
178
|
+
button {
|
179
|
+
// IE7
|
180
|
+
*padding-top: 1px;
|
181
|
+
*padding-bottom: 1px;
|
182
|
+
}
|
183
|
+
|
184
|
+
textarea,
|
185
|
+
select,
|
186
|
+
input[type="date"],
|
187
|
+
input[type="datetime"],
|
188
|
+
input[type="datetime-local"],
|
189
|
+
input[type="email"],
|
190
|
+
input[type="month"],
|
191
|
+
input[type="number"],
|
192
|
+
input[type="password"],
|
193
|
+
input[type="search"],
|
194
|
+
input[type="tel"],
|
195
|
+
input[type="text"],
|
196
|
+
input[type="time"],
|
197
|
+
input[type="url"],
|
198
|
+
input[type="week"] {
|
199
|
+
@include box-sizing(border-box);
|
200
|
+
@include background-clip(padding-box);
|
201
|
+
@include border-radius(3px);
|
202
|
+
@include single-box-shadow( rgba($black, 0.075), 0, 1px, 1px, 0, true );
|
203
|
+
-webkit-appearance: none;
|
204
|
+
background-color: $white;
|
205
|
+
border: 1px solid;
|
206
|
+
border-color: $gray;
|
207
|
+
color: $black;
|
208
|
+
outline: 0;
|
209
|
+
margin: 0;
|
210
|
+
padding: 3px 4px;
|
211
|
+
text-align: left;
|
212
|
+
font-size: 13px;
|
213
|
+
// Leaving out Helvetica Neue, to not throw off size="..."
|
214
|
+
// on inputs. Arial is more reliable, on Windows and OS X.
|
215
|
+
font-family: Arial, "Liberation Sans", FreeSans, sans-serif;
|
216
|
+
height: 2em;
|
217
|
+
vertical-align: top;
|
218
|
+
// IE7
|
219
|
+
*padding-top: 2px;
|
220
|
+
*padding-bottom: 1px;
|
221
|
+
*height: auto;
|
222
|
+
&[disabled] {
|
223
|
+
background-color: $grayLighter;
|
224
|
+
}
|
225
|
+
&:focus {
|
226
|
+
border-color: rgba(82,168,236,.8);
|
227
|
+
outline: 0;
|
228
|
+
outline: thin dotted \9; /* IE6-9 */
|
229
|
+
@include box-shadow(
|
230
|
+
inset 0 1px 1px rgba($black, .075),
|
231
|
+
0 0 8px rgba(82,168,236,.6)
|
232
|
+
);
|
233
|
+
}
|
234
|
+
}
|
235
|
+
|
236
|
+
button[disabled],
|
237
|
+
input[disabled],
|
238
|
+
select[disabled],
|
239
|
+
select[disabled] option,
|
240
|
+
select[disabled] optgroup,
|
241
|
+
textarea[disabled] {
|
242
|
+
@include box-shadow(none);
|
243
|
+
-moz-user-select: -moz-none;
|
244
|
+
-webkit-user-select: none;
|
245
|
+
-khtml-user-select: none;
|
246
|
+
user-select: none;
|
247
|
+
color: #888888;
|
248
|
+
cursor: default;
|
249
|
+
}
|
250
|
+
|
251
|
+
// Separate rule for Firefox.
|
252
|
+
// Separate rule for IE, too.
|
253
|
+
// Cannot stack with WebKit's.
|
254
|
+
input::-webkit-input-placeholder,
|
255
|
+
textarea::-webkit-input-placeholder {
|
256
|
+
color: #888888;
|
257
|
+
}
|
258
|
+
|
259
|
+
input:-moz-placeholder,
|
260
|
+
textarea:-moz-placeholder {
|
261
|
+
color: #888888;
|
262
|
+
}
|
263
|
+
|
264
|
+
input.placeholder_text,
|
265
|
+
textarea.placeholder_text {
|
266
|
+
color: #888888;
|
267
|
+
}
|
268
|
+
|
269
|
+
textarea,
|
270
|
+
select[size],
|
271
|
+
select[multiple] {
|
272
|
+
height: auto;
|
273
|
+
}
|
274
|
+
|
275
|
+
// Set height back to normal,
|
276
|
+
// for Opera, WebKit, and IE.
|
277
|
+
select[size="0"],
|
278
|
+
select[size="1"] {
|
279
|
+
height: 1.8em;
|
280
|
+
// IE7
|
281
|
+
*height: auto;
|
282
|
+
}
|
283
|
+
|
284
|
+
// Tweaks for Safari + Chrome.
|
285
|
+
@media (-webkit-min-device-pixel-ratio: 0) {
|
286
|
+
select[size],
|
287
|
+
select[multiple],
|
288
|
+
select[multiple][size] {
|
289
|
+
background-image: none;
|
290
|
+
padding-right: 3px;
|
291
|
+
}
|
292
|
+
|
293
|
+
select,
|
294
|
+
select[size="0"],
|
295
|
+
select[size="1"] {
|
296
|
+
background-image: image-url("select_arrow.gif");
|
297
|
+
background-repeat: no-repeat;
|
298
|
+
background-position: right center;
|
299
|
+
padding-right: 20px;
|
300
|
+
}
|
301
|
+
|
302
|
+
::-webkit-validation-bubble-message {
|
303
|
+
-webkit-box-shadow: none;
|
304
|
+
box-shadow: none;
|
305
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #666666), color-stop(1, $black));
|
306
|
+
border: 1px solid;
|
307
|
+
border-color: #747474 #5e5e5e #4f4f4f;
|
308
|
+
color: $white;
|
309
|
+
font: 13px / 17px "Lucida Grande", Arial, "Liberation Sans", FreeSans, sans-serif;
|
310
|
+
overflow: hidden;
|
311
|
+
padding: 15px 15px 17px;
|
312
|
+
@include text-shadow($black 0 0 1px);
|
313
|
+
height: 16px;
|
314
|
+
}
|
315
|
+
|
316
|
+
::-webkit-validation-bubble-arrow,
|
317
|
+
::-webkit-validation-bubble-top-outer-arrow,
|
318
|
+
::-webkit-validation-bubble-top-inner-arrow {
|
319
|
+
-webkit-box-shadow: none;
|
320
|
+
box-shadow: none;
|
321
|
+
background: #666666;
|
322
|
+
border: 0;
|
323
|
+
}
|
324
|
+
}
|
325
|
+
|
326
|
+
textarea {
|
327
|
+
min-height: 40px;
|
328
|
+
overflow: auto;
|
329
|
+
resize: vertical;
|
330
|
+
width: 100%;
|
331
|
+
}
|
332
|
+
|
333
|
+
optgroup {
|
334
|
+
color: $black;
|
335
|
+
font-style: normal;
|
336
|
+
font-weight: normal;
|
337
|
+
// Font family repeated, for Firefox.
|
338
|
+
font-family: Arial, "Liberation Sans", FreeSans, sans-serif;
|
339
|
+
// Kill phantom spacing and dotted
|
340
|
+
// border that appears in Firefox.
|
341
|
+
&::-moz-focus-inner {
|
342
|
+
border: 0;
|
343
|
+
padding: 0;
|
344
|
+
}
|
345
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
.container {
|
2
|
+
@include container;
|
3
|
+
}
|
4
|
+
|
5
|
+
.row {
|
6
|
+
@extend .clearfix;
|
7
|
+
[class*="column"] {
|
8
|
+
@include columnBase;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
// Generate classes for the grid
|
13
|
+
@for $n from 1 through $totalColumns {
|
14
|
+
.grid-#{$n} {
|
15
|
+
@include column($n);
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
// Prefix classes
|
20
|
+
//
|
21
|
+
// @for $n from 1 to $totalColumns {
|
22
|
+
// .row {
|
23
|
+
// .prefix#{$n} {
|
24
|
+
// @include prepend($n);
|
25
|
+
// }
|
26
|
+
// }
|
27
|
+
//}
|
28
|
+
|
29
|
+
// Suffix classes
|
30
|
+
//
|
31
|
+
// @for $n from 1 to $totalColumns {
|
32
|
+
// .row {
|
33
|
+
// .suffix#{$n} {
|
34
|
+
// @include append($n);
|
35
|
+
// }
|
36
|
+
// }
|
37
|
+
// }
|
@@ -0,0 +1,168 @@
|
|
1
|
+
/* BASE IMAGES STYLES
|
2
|
+
include w/ WordPress classes
|
3
|
+
----------------- */
|
4
|
+
img[class*="align"],
|
5
|
+
img[class*="wp-image-"],
|
6
|
+
img[class*="attachment-"] {
|
7
|
+
height: auto;
|
8
|
+
}
|
9
|
+
|
10
|
+
img.size-full,
|
11
|
+
img.size-large {
|
12
|
+
max-width: 97.5%;
|
13
|
+
height: auto;
|
14
|
+
}
|
15
|
+
|
16
|
+
img.wp-smiley {
|
17
|
+
border: none;
|
18
|
+
margin-bottom: 0;
|
19
|
+
margin-top: 0;
|
20
|
+
padding: 0;
|
21
|
+
}
|
22
|
+
|
23
|
+
img.alignleft,
|
24
|
+
img.alignright,
|
25
|
+
img.aligncenter {
|
26
|
+
margin-top: 10px;
|
27
|
+
}
|
28
|
+
|
29
|
+
/* CAPTION
|
30
|
+
----------------- */
|
31
|
+
p img,
|
32
|
+
.wp-caption,
|
33
|
+
.caption {
|
34
|
+
margin-top: 8px;
|
35
|
+
}
|
36
|
+
|
37
|
+
.wp-caption {
|
38
|
+
background: $whiteDark;
|
39
|
+
max-width: 96%;
|
40
|
+
padding: 15px 10px 10px;
|
41
|
+
@include transition(all .15s ease-in-out);
|
42
|
+
img {
|
43
|
+
display: block;
|
44
|
+
margin: 0 auto;
|
45
|
+
max-width: 98%;
|
46
|
+
}
|
47
|
+
&:hover {
|
48
|
+
background: $grayLighter;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
.wp-caption-text {
|
53
|
+
color: $fontColor;
|
54
|
+
font-size: 12px;
|
55
|
+
margin: 0;
|
56
|
+
padding: 15px 0 5px 40px;
|
57
|
+
position: relative;
|
58
|
+
|
59
|
+
&:before {
|
60
|
+
content: '\2014';
|
61
|
+
font-size: 14px;
|
62
|
+
font-style: normal;
|
63
|
+
font-weight: bold;
|
64
|
+
margin-right: 5px;
|
65
|
+
position: absolute;
|
66
|
+
left: 10px;
|
67
|
+
top: 17px;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
.caption {
|
72
|
+
@extend .wp-caption;
|
73
|
+
}
|
74
|
+
|
75
|
+
.caption-text {
|
76
|
+
@extend .wp-caption-text;
|
77
|
+
}
|
78
|
+
|
79
|
+
/* GALLERY
|
80
|
+
----------------- */
|
81
|
+
.gallery {
|
82
|
+
margin: auto;
|
83
|
+
overflow: hidden;
|
84
|
+
width: 100%;
|
85
|
+
.gallery-item {
|
86
|
+
@include float(left);
|
87
|
+
margin-bottom: 10px;
|
88
|
+
text-align: center;
|
89
|
+
}
|
90
|
+
.gallery-caption {
|
91
|
+
background: #f7f7f7;
|
92
|
+
border: 1px solid #e6e6e6;
|
93
|
+
clear: both;
|
94
|
+
color: #888;
|
95
|
+
display: block;
|
96
|
+
font-size: 12px;
|
97
|
+
margin: 10px 0;
|
98
|
+
padding: 5px 3px;
|
99
|
+
text-align: center;
|
100
|
+
width: 100%;
|
101
|
+
}
|
102
|
+
dl {
|
103
|
+
margin: 0;
|
104
|
+
}
|
105
|
+
img {
|
106
|
+
border: 1px solid #e0e0e0;
|
107
|
+
}
|
108
|
+
a:hover img {
|
109
|
+
border-color: $gray;
|
110
|
+
}
|
111
|
+
br {
|
112
|
+
clear: both;
|
113
|
+
}
|
114
|
+
br+br {
|
115
|
+
display: none;
|
116
|
+
}
|
117
|
+
}
|
118
|
+
|
119
|
+
.gallery-columns-1 .gallery-item {
|
120
|
+
width: 100%;
|
121
|
+
}
|
122
|
+
|
123
|
+
.gallery-columns-2 .gallery-item {
|
124
|
+
width: 50%;
|
125
|
+
}
|
126
|
+
|
127
|
+
.gallery-columns-3 .gallery-item {
|
128
|
+
width: 33.333%;
|
129
|
+
}
|
130
|
+
|
131
|
+
.gallery-columns-4 .gallery-item {
|
132
|
+
margin-right: 2%;
|
133
|
+
width: 23%;
|
134
|
+
}
|
135
|
+
|
136
|
+
.gallery-columns-5 .gallery-item {
|
137
|
+
margin-right: 2%;
|
138
|
+
width: 18%;
|
139
|
+
}
|
140
|
+
|
141
|
+
.gallery-columns-6 .gallery-item {
|
142
|
+
margin-right: 2%;
|
143
|
+
width: 14.666%;
|
144
|
+
}
|
145
|
+
|
146
|
+
.gallery-columns-7 .gallery-item {
|
147
|
+
margin-right: 2%;
|
148
|
+
width: 12.285%;
|
149
|
+
}
|
150
|
+
|
151
|
+
.gallery-columns-8 .gallery-item {
|
152
|
+
margin-right: 2%;
|
153
|
+
width: 10.5%;
|
154
|
+
}
|
155
|
+
|
156
|
+
.gallery-columns-9 .gallery-item {
|
157
|
+
margin-right: 2%;
|
158
|
+
width: 9.111%;
|
159
|
+
}
|
160
|
+
|
161
|
+
/* ATTACHMENT
|
162
|
+
----------------- */
|
163
|
+
embed,
|
164
|
+
iframe,
|
165
|
+
object {
|
166
|
+
max-width: 100%;
|
167
|
+
width: 100%;
|
168
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
/* iPad & Tablets*/
|
2
|
+
@media screen and (min-width: 768px) and (max-width: 959px) {}
|
3
|
+
|
4
|
+
/* Tablets Portrait & Big Smartphone Landscape */
|
5
|
+
@media screen and (min-width: 600px) and (max-width: 767px) {}
|
6
|
+
|
7
|
+
/* Smartphone Landscape */
|
8
|
+
@media screen and (min-width: 480px) and (max-width: 599px) {}
|
9
|
+
|
10
|
+
/* Smartphone */
|
11
|
+
@media screen and (min-width: 320px) and (max-width: 479px) {}
|
12
|
+
|
13
|
+
/* Featured Phone (rarely used since featured phone often doesn't support CSS3) */
|
14
|
+
@media screen and (max-width: 319px) {}
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
// Be Prepared for SASS 3.2, embrace yourself! (or use it right now, if you already using SASS pre version)
|
19
|
+
|
20
|
+
$query-big : 959px;
|
21
|
+
$query-bigMedium : 767px;
|
22
|
+
$query-medium : 599px;
|
23
|
+
$query-mediumSmall : 479px;
|
24
|
+
$query-small : 319px;
|
25
|
+
|
26
|
+
@mixin responsive($media) {
|
27
|
+
@if $media == ipad {
|
28
|
+
@media screen and (max-width:$query-big) { @content; }
|
29
|
+
}
|
30
|
+
@else if $media == tablet {
|
31
|
+
@media screen and (max-width:$bigMedium) { @content; }
|
32
|
+
}
|
33
|
+
@else if $media == smartphone {
|
34
|
+
@media screen and (max-width:$medium) { @content; }
|
35
|
+
}
|
36
|
+
@else if $media == phone {
|
37
|
+
@media screen and (max-width:$mediumSmall) { @content; }
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
// How To Use It:
|
42
|
+
// .foo {
|
43
|
+
// float: left;
|
44
|
+
// width: 1000px;
|
45
|
+
//
|
46
|
+
// @include responsive(ipad) {
|
47
|
+
// float: none;
|
48
|
+
// width: 600px;
|
49
|
+
// }
|
50
|
+
// @include responsive(tablet) {
|
51
|
+
// width: 480px;
|
52
|
+
// }
|
53
|
+
// @include responsive(smartphone) {
|
54
|
+
// width: 280px;
|
55
|
+
// }
|
56
|
+
// }
|