pondasee 1.5.1 → 2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. data/VERSION +1 -1
  2. data/templates/project/index.html +3 -4
  3. data/templates/project/js/plugins.js +17 -19
  4. data/templates/project/js/vendor/jquery-1.8.2.min.js +2 -0
  5. data/templates/project/js/vendor/modernizr-2.6.2.min.js +4 -0
  6. data/templates/project/manifest.rb +5 -22
  7. data/templates/project/sass/partials/_forms.scss +1 -301
  8. data/templates/project/sass/partials/_grid.scss +7 -5
  9. data/templates/project/sass/partials/_ie.scss +8 -0
  10. data/templates/project/sass/partials/_images.scss +3 -161
  11. data/templates/project/sass/partials/_main.scss +1 -10
  12. data/templates/project/sass/partials/_media-queries.scss +0 -18
  13. data/templates/project/sass/partials/_mixins.scss +19 -2
  14. data/templates/project/sass/partials/_plugins.scss +1 -2
  15. data/templates/project/sass/partials/_reset.scss +21 -27
  16. data/templates/project/sass/partials/_utilities.scss +32 -15
  17. data/templates/project/sass/partials/_variable.scss +5 -10
  18. data/templates/project/sass/partials/mixins/_fonts.scss +3 -13
  19. data/templates/project/sass/style.scss +17 -49
  20. data/templates/project/style.css +835 -0
  21. metadata +9 -25
  22. data/templates/project/fonts/fontawesome-webfont.eot +0 -0
  23. data/templates/project/fonts/fontawesome-webfont.svg +0 -255
  24. data/templates/project/fonts/fontawesome-webfont.ttf +0 -0
  25. data/templates/project/fonts/fontawesome-webfont.woff +0 -0
  26. data/templates/project/humans.txt +0 -42
  27. data/templates/project/img/button.png +0 -0
  28. data/templates/project/img/overlay-button.png +0 -0
  29. data/templates/project/img/select_arrow.gif +0 -0
  30. data/templates/project/js/vendor/jquery-1.7.2.min.js +0 -4
  31. data/templates/project/js/vendor/modernizr-2.6.1.min.js +0 -4
  32. data/templates/project/js/vendor/nwmatcher-1.2.5-min.js +0 -7
  33. data/templates/project/sass/partials/_font-awesome.scss +0 -299
  34. data/templates/project/sass/partials/main/_footer.scss +0 -10
  35. data/templates/project/sass/partials/main/_header.scss +0 -10
  36. data/templates/project/sass/partials/main/_menus.scss +0 -12
  37. data/templates/project/sass/partials/mixins/_zurb-button.scss +0 -105
  38. data/templates/project/sass/skins/default.scss +0 -11
  39. data/templates/project/skins/default.css +0 -3
@@ -1,5 +1,5 @@
1
1
  // Base form styles
2
- // based on formalize.me
2
+ //
3
3
  // =================================================================================
4
4
 
5
5
  /* BASE FORM STYLES
@@ -41,309 +41,9 @@ legend {
41
41
  margin-bottom: 0;
42
42
  }
43
43
 
44
- /* INPUT WIDTH
45
- ----------------- */
46
-
47
- .input-tiny {
48
- width: 50px;
49
- }
50
-
51
- .input-small {
52
- width: 100px;
53
- }
54
-
55
- .input-medium {
56
- width: 150px;
57
- }
58
-
59
- .input-large {
60
- width: 200px;
61
- }
62
-
63
- .input-xlarge {
64
- width: 250px;
65
- }
66
-
67
- .input-xxlarge {
68
- width: 300px;
69
- }
70
-
71
- .input-xxxlarge {
72
- width: 350px;
73
- }
74
-
75
- .input-full {
76
- width: 100%;
77
- }
78
-
79
- // Added via JS to <textarea> and class="input-full".
80
- // Applies only to IE7. Other browsers don't need it.
81
-
82
- .input_full_wrap {
83
- display: block;
84
- padding-right: 8px;
85
- }
86
-
87
- /* UI Consistency
88
- ----------------- */
89
-
90
- input[type="search"]::-webkit-search-decoration {
91
- display: none;
92
- }
93
-
94
- button,
95
- select {
96
- // Suppress red glow that Firefox
97
- // adds to form fields by default.
98
- &:invalid {
99
- @include box-shadow(none);
100
- }
101
- }
102
-
103
- // For Firefox
104
- input,
105
- textarea {
106
- // Add blue glow.
107
- @include border-radius(3px);
108
- @include single-transition(all, .2s, linear, 0s);
109
- // Suppress red glow that Firefox
110
- // adds to form fields by default.
111
- &:invalid {
112
- @include box-shadow(none); }
113
-
114
- }
115
-
116
- input[type="file"],
117
- input[type="radio"],
118
- input[type="checkbox"],
119
- select,
120
- button,
121
- input[type="reset"],
122
- input[type="submit"],
123
- input[type="button"] {
124
- &:focus {
125
- @include tab-focus();
126
- @include box-shadow(none); // override for file inputs
127
- }
128
- }
129
-
130
- input[type="file"],
131
- input[type="radio"],
132
- input[type="checkbox"] {
133
- &:focus,
134
- &:active {
135
- @include box-shadow(none);
136
- }
137
- }
138
-
139
- button,
140
- input[type="reset"],
141
- input[type="submit"],
142
- input[type="button"] {
143
- -webkit-appearance: none;
144
- @include border-radius(3px);
145
- @include background-clip(padding-box);
146
- background: darken($white, 5%) image-url('button.png') repeat-x;
147
- @include background-image(linear-gradient($white, darken($white, 5%)));
148
- border: 1px solid darken($white, 10%);
149
- cursor: pointer;
150
- color: #333333;
151
- // Helvetica Neue present, because it works better
152
- // for line-height on buttons than Arial, on OS X.
153
- font: bold 12px / 1.3 "Helvetica Neue", Arial, "Liberation Sans", FreeSans, sans-serif;
154
- outline: 0;
155
- overflow: visible;
156
- margin: 0;
157
- padding: 10px 20px;
158
- // IE7
159
- *padding-top: 2px;
160
- *padding-bottom: 0;
161
- // Kill phantom spacing and dotted
162
- // border that appears in Firefox.
163
- text-shadow: white 0 1px 1px;
164
- @include transition(none);
165
- vertical-align: top;
166
- width: auto;
167
- &:hover {
168
- background: $white;
169
- @include background-image(linear-gradient(darken($white, 5%), $white));
170
- }
171
- &:active {
172
- @include single-box-shadow( rgba($black, .15), 0, 2px, 3px, 0, true );
173
- outline: 0;
174
- }
175
-
176
- &::-moz-focus-inner {
177
- border: 0;
178
- padding: 0;
179
- }
180
- }
181
-
182
- button {
183
- // IE7
184
- *padding-top: 1px;
185
- *padding-bottom: 1px;
186
- }
187
-
188
- textarea,
189
- select,
190
- input[type="date"],
191
- input[type="datetime"],
192
- input[type="datetime-local"],
193
- input[type="email"],
194
- input[type="month"],
195
- input[type="number"],
196
- input[type="password"],
197
- input[type="search"],
198
- input[type="tel"],
199
- input[type="text"],
200
- input[type="time"],
201
- input[type="url"],
202
- input[type="week"] {
203
- @include box-sizing(border-box);
204
- @include background-clip(padding-box);
205
- @include border-radius(3px);
206
- @include single-box-shadow( rgba($black, 0.075), 0, 1px, 1px, 0, true );
207
- -webkit-appearance: none;
208
- background-color: $white;
209
- border: 1px solid;
210
- border-color: $gray;
211
- color: $black;
212
- outline: 0;
213
- margin: 0;
214
- padding: 3px 4px;
215
- text-align: left;
216
- font-size: 13px;
217
- // Leaving out Helvetica Neue, to not throw off size="..."
218
- // on inputs. Arial is more reliable, on Windows and OS X.
219
- font-family: Arial, "Liberation Sans", FreeSans, sans-serif;
220
- height: 2em;
221
- vertical-align: top;
222
- // IE7
223
- *padding-top: 2px;
224
- *padding-bottom: 1px;
225
- *height: auto;
226
- &[disabled] {
227
- background-color: $grayLighter;
228
- }
229
- &:focus {
230
- border-color: rgba(82,168,236,.8);
231
- outline: 0;
232
- outline: thin dotted \9; /* IE6-9 */
233
- @include box-shadow(
234
- inset 0 1px 1px rgba($black, .075),
235
- 0 0 8px rgba(82,168,236,.6)
236
- );
237
- }
238
- }
239
-
240
- button[disabled],
241
- input[disabled],
242
- select[disabled],
243
- select[disabled] option,
244
- select[disabled] optgroup,
245
- textarea[disabled] {
246
- @include box-shadow(none);
247
- -moz-user-select: -moz-none;
248
- -webkit-user-select: none;
249
- -khtml-user-select: none;
250
- user-select: none;
251
- color: #888888;
252
- cursor: default;
253
- }
254
-
255
- // Separate rule for Firefox.
256
- // Separate rule for IE, too.
257
- // Cannot stack with WebKit's.
258
- input::-webkit-input-placeholder,
259
- textarea::-webkit-input-placeholder {
260
- color: #888888;
261
- }
262
-
263
- input:-moz-placeholder,
264
- textarea:-moz-placeholder {
265
- color: #888888;
266
- }
267
-
268
- input.placeholder_text,
269
- textarea.placeholder_text {
270
- color: #888888;
271
- }
272
-
273
- textarea,
274
- select[size],
275
- select[multiple] {
276
- height: auto;
277
- }
278
-
279
- // Set height back to normal,
280
- // for Opera, WebKit, and IE.
281
- select[size="0"],
282
- select[size="1"] {
283
- height: 1.8em;
284
- // IE7
285
- *height: auto;
286
- }
287
-
288
- // Tweaks for Safari + Chrome.
289
- @media (-webkit-min-device-pixel-ratio: 0) {
290
- select[size],
291
- select[multiple],
292
- select[multiple][size] {
293
- background-image: none;
294
- padding-right: 3px;
295
- }
296
-
297
- select,
298
- select[size="0"],
299
- select[size="1"] {
300
- background-image: image-url("select_arrow.gif");
301
- background-repeat: no-repeat;
302
- background-position: right center;
303
- padding-right: 20px;
304
- }
305
-
306
- ::-webkit-validation-bubble-message {
307
- -webkit-box-shadow: none;
308
- box-shadow: none;
309
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #666666), color-stop(1, $black));
310
- border: 1px solid;
311
- border-color: #747474 #5e5e5e #4f4f4f;
312
- color: $white;
313
- font: 13px / 17px "Lucida Grande", Arial, "Liberation Sans", FreeSans, sans-serif;
314
- overflow: hidden;
315
- padding: 15px 15px 17px;
316
- @include text-shadow($black 0 0 1px);
317
- height: 16px;
318
- }
319
-
320
- ::-webkit-validation-bubble-arrow,
321
- ::-webkit-validation-bubble-top-outer-arrow,
322
- ::-webkit-validation-bubble-top-inner-arrow {
323
- -webkit-box-shadow: none;
324
- box-shadow: none;
325
- background: #666666;
326
- border: 0;
327
- }
328
- }
329
-
330
44
  textarea {
331
45
  min-height: 40px;
332
46
  overflow: auto;
333
47
  resize: vertical;
334
48
  width: 100%;
335
- }
336
-
337
- optgroup {
338
- color: $black;
339
- font-style: normal;
340
- font-weight: normal;
341
- // Font family repeated, for Firefox.
342
- font-family: Arial, "Liberation Sans", FreeSans, sans-serif;
343
- // Kill phantom spacing and dotted
344
- // border that appears in Firefox.
345
- &::-moz-focus-inner {
346
- border: 0;
347
- padding: 0;
348
- }
349
49
  }
@@ -1,5 +1,5 @@
1
- // Fixed grid
2
- // Based on blueprint css framework
1
+ // Fluid grid
2
+ //
3
3
  // See mixins/simple-responsive-grid.scss for more informations
4
4
  // =================================================================================
5
5
 
@@ -8,7 +8,7 @@
8
8
  }
9
9
 
10
10
  .row {
11
- @extend .clearfix;
11
+ @include grid-clearfix;
12
12
  [class*="column"] {
13
13
  @include columnBase;
14
14
  }
@@ -16,8 +16,10 @@
16
16
 
17
17
  // Generate classes for the grid
18
18
  @for $n from 1 through $totalColumns {
19
- .grid-#{$n} {
20
- @include column($n);
19
+ .row {
20
+ .col#{$n} {
21
+ @include column($n);
22
+ }
21
23
  }
22
24
  }
23
25
 
@@ -2,6 +2,14 @@
2
2
  // Conditional class for IE, put all styles inside the .oldie
3
3
  // =================================================================================
4
4
 
5
+ .ie7 {
6
+
7
+ }
8
+
9
+ .ie8 {
10
+
11
+ }
12
+
5
13
  .oldie {
6
14
 
7
15
  }
@@ -1,169 +1,11 @@
1
- // Image
2
- // basic image styles include with WordPress classes
1
+ // Base style for image
2
+ //
3
3
  // =================================================================================
4
4
 
5
- /* BASE IMAGES STYLES
6
- include w/ WordPress classes
7
- ----------------- */
8
- img[class*="align"],
9
- img[class*="wp-image-"],
10
- img[class*="attachment-"] {
5
+ img {
11
6
  height: auto;
12
7
  }
13
8
 
14
- img.size-full,
15
- img.size-large {
16
- max-width: 97.5%;
17
- height: auto;
18
- }
19
-
20
- img.wp-smiley {
21
- border: none;
22
- margin-bottom: 0;
23
- margin-top: 0;
24
- padding: 0;
25
- }
26
-
27
- img.alignleft,
28
- img.alignright,
29
- img.aligncenter {
30
- margin-top: 10px;
31
- }
32
-
33
- /* CAPTION
34
- ----------------- */
35
- p img,
36
- .wp-caption,
37
- .caption {
38
- margin-top: 8px;
39
- }
40
-
41
- .wp-caption {
42
- background: $whiteDark;
43
- max-width: 96%;
44
- padding: 15px 10px 10px;
45
- @include transition(all .15s ease-in-out);
46
- img {
47
- display: block;
48
- margin: 0 auto;
49
- max-width: 98%;
50
- }
51
- &:hover {
52
- background: $grayLighter;
53
- }
54
- }
55
-
56
- .wp-caption-text {
57
- color: $fontColor;
58
- font-size: 12px;
59
- margin: 0;
60
- padding: 15px 0 5px 40px;
61
- position: relative;
62
-
63
- &:before {
64
- content: '\2014';
65
- font-size: 14px;
66
- font-style: normal;
67
- font-weight: bold;
68
- margin-right: 5px;
69
- position: absolute;
70
- left: 10px;
71
- top: 17px;
72
- }
73
- }
74
-
75
- .caption {
76
- @extend .wp-caption;
77
- }
78
-
79
- .caption-text {
80
- @extend .wp-caption-text;
81
- }
82
-
83
- /* GALLERY
84
- ----------------- */
85
- .gallery {
86
- margin: auto;
87
- overflow: hidden;
88
- width: 100%;
89
- .gallery-item {
90
- @include float(left);
91
- margin-bottom: 10px;
92
- text-align: center;
93
- }
94
- .gallery-caption {
95
- background: #f7f7f7;
96
- border: 1px solid #e6e6e6;
97
- clear: both;
98
- color: #888;
99
- display: block;
100
- font-size: 12px;
101
- margin: 10px 0;
102
- padding: 5px 3px;
103
- text-align: center;
104
- width: 100%;
105
- }
106
- dl {
107
- margin: 0;
108
- }
109
- img {
110
- border: 1px solid #e0e0e0;
111
- }
112
- a:hover img {
113
- border-color: $gray;
114
- }
115
- br {
116
- clear: both;
117
- }
118
- br+br {
119
- display: none;
120
- }
121
- }
122
-
123
- .gallery-columns-1 .gallery-item {
124
- width: 100%;
125
- }
126
-
127
- .gallery-columns-2 .gallery-item {
128
- width: 50%;
129
- }
130
-
131
- .gallery-columns-3 .gallery-item {
132
- width: 33.333%;
133
- }
134
-
135
- .gallery-columns-4 .gallery-item {
136
- margin-right: 2%;
137
- width: 23%;
138
- }
139
-
140
- .gallery-columns-5 .gallery-item {
141
- margin-right: 2%;
142
- width: 18%;
143
- }
144
-
145
- .gallery-columns-6 .gallery-item {
146
- margin-right: 2%;
147
- width: 14.666%;
148
- }
149
-
150
- .gallery-columns-7 .gallery-item {
151
- margin-right: 2%;
152
- width: 12.285%;
153
- }
154
-
155
- .gallery-columns-8 .gallery-item {
156
- margin-right: 2%;
157
- width: 10.5%;
158
- }
159
-
160
- .gallery-columns-9 .gallery-item {
161
- margin-right: 2%;
162
- width: 9.111%;
163
- }
164
-
165
- /* ATTACHMENT
166
- ----------------- */
167
9
  embed,
168
10
  iframe,
169
11
  object {
@@ -1,12 +1,3 @@
1
1
  // Main styles
2
- // You can write your main styles(eg: content, article etc) here
3
- // Or you can separate this main file into several files(eg: header.scss, footer.scss etc)
2
+ // Our main development file
4
3
  // =================================================================================
5
-
6
- /*
7
- * Sample seperate main styles
8
- * See 'main' Folder
9
- */
10
- @import "main/header";
11
- @import "main/menus";
12
- @import "main/footer";
@@ -1,25 +1,7 @@
1
1
  // Media Queries
2
- // media queries syntax
3
2
  // pros @Aris_FM
4
3
  // =================================================================================
5
4
 
6
- /* iPad & Tablets*/
7
- @media screen and (min-width: 768px) and (max-width: 959px) {}
8
-
9
- /* Tablets Portrait & Big Smartphone Landscape */
10
- @media screen and (min-width: 600px) and (max-width: 767px) {}
11
-
12
- /* Smartphone Landscape */
13
- @media screen and (min-width: 480px) and (max-width: 599px) {}
14
-
15
- /* Smartphone */
16
- @media screen and (min-width: 320px) and (max-width: 479px) {}
17
-
18
- /* Featured Phone (rarely used since featured phone often doesn't support CSS3) */
19
- @media screen and (max-width: 319px) {}
20
-
21
-
22
-
23
5
  // Be Prepared for SASS 3.2, embrace yourself! (or use it right now, if you already using SASS pre version)
24
6
 
25
7
  $query-big : 959px;
@@ -1,6 +1,9 @@
1
+ // Mixins Collections
2
+ // Feel free to customize this mixins collections
3
+ // =================================================================================
4
+
1
5
  @import 'mixins/helper';
2
6
  @import 'mixins/basic-buttons';
3
- @import 'mixins/zurb-button';
4
7
  @import 'mixins/fonts';
5
8
  @import 'mixins/simple-responsive-grid';
6
9
 
@@ -32,7 +35,7 @@
32
35
  }
33
36
 
34
37
  // Border Radius
35
- // Modifed version from http://compass-style.org/reference/compass/css3/border_radius/
38
+ // Modified version from http://compass-style.org/reference/compass/css3/border_radius/
36
39
  // -o- and -ms- vendor prefix not exist for border radius
37
40
  $default-rad: 5px !default;
38
41
 
@@ -60,4 +63,18 @@ $default-rad: 5px !default;
60
63
  @mixin opacity($opacity) {
61
64
  opacity: $opacity; // Chrome 4+, FF2+, Saf3.1+, Opera 9+, IE9, iOS 3.2+, Android 2.1+
62
65
  filter: alpha(opacity=$opacity * 100); // IE6-IE8
66
+ }
67
+
68
+ // The micro clearfix
69
+ // http://nicolasgallagher.com/micro-clearfix-hack/
70
+ // ------------------
71
+ @mixin clearfix {
72
+ *zoom:1;
73
+ &:before, &:after {
74
+ content: "";
75
+ display: table;
76
+ }
77
+ &:after {
78
+ clear: both;
79
+ }
63
80
  }
@@ -1,4 +1,3 @@
1
1
  // Plugins
2
- // If your website or web application use a plugins/jquery plugins like lightbox,
3
- // slider or anything else, put the styles here.
2
+ // Components style, such as slides, tooltip, etc.
4
3
  // =================================================================================
@@ -1,25 +1,10 @@
1
1
  // Reset CSS
2
- // Simpler version of Normalize.css + Eric Meyer Reset
2
+ // Simpler version of Normalize.css
3
3
  // =================================================================================
4
4
 
5
- html, body, div, span, applet, object, iframe,
6
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
7
- a, abbr, acronym, address, big, cite, code,
8
- del, dfn, em, img, ins, kbd, q, s, samp,
9
- small, strike, strong, sub, sup, tt, var,
10
- b, u, i, center,
11
- dl, dt, dd, ol, ul, li,
12
- fieldset, form, label, legend,
13
- table, caption, tbody, tfoot, thead, tr, th, td,
14
- article, aside, canvas, details, embed,
15
- figure, figcaption, footer, header, hgroup,
16
- menu, nav, output, ruby, section, summary,
17
- time, mark, audio, video {
18
- margin: 0;
19
- padding: 0;
20
- border: 0;
21
- font: inherit;
22
- vertical-align: baseline;
5
+ body,
6
+ figure {
7
+ margin: 0;
23
8
  }
24
9
 
25
10
  article, aside, details, figcaption, figure, footer,
@@ -34,22 +19,26 @@ audio, canvas, video {
34
19
  audio:not([controls]),
35
20
  [hidden] {
36
21
  display: none;
22
+ height: 0;
37
23
  }
38
24
 
39
25
  a:focus {
40
- @include tab-focus;
26
+ outline: thin dotted;
41
27
  }
42
28
 
43
- nav ul,
44
- nav ol {
45
- @include reset-list;
29
+ a:active,
30
+ a:hover {
31
+ outline: 0;
32
+ }
33
+
34
+ q {
35
+ quotes: "\201C" "\201D" "\2018" "\2019";
46
36
  }
47
37
 
48
38
  img {
49
39
  border: 0;
50
- max-width: 100%;
40
+ max-width: 100%;
51
41
  -ms-interpolation-mode: bicubic;
52
- vertical-align: middle;
53
42
  }
54
43
 
55
44
  svg:not(:root) {
@@ -62,12 +51,17 @@ input::-moz-focus-inner {
62
51
  padding: 0;
63
52
  }
64
53
 
54
+ button[disabled],
55
+ input[disabled] {
56
+ cursor: default;
57
+ }
58
+
65
59
  input[type="radio"] {
66
- vertical-align: text-bottom;
60
+ vertical-align: text-bottom;
67
61
  }
68
62
 
69
63
  input[type="checkbox"] {
70
- vertical-align: text-bottom;
64
+ vertical-align: text-bottom;
71
65
  }
72
66
 
73
67
  table {