octocorn_spree_theme 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. data/.gitignore +3 -0
  2. data/README.md +22 -0
  3. data/app/assets/images/bg-button.png +0 -0
  4. data/app/assets/images/bg_water.png +0 -0
  5. data/app/assets/images/body-back.png +0 -0
  6. data/app/assets/images/bottom_shine.png +0 -0
  7. data/app/assets/images/buttons/bg-button-hover.png +0 -0
  8. data/app/assets/images/buttons/bg-button-pressed.png +0 -0
  9. data/app/assets/images/buttons/bg-button.gif +0 -0
  10. data/app/assets/images/buttons/bg-button.png +0 -0
  11. data/app/assets/images/buttons/left_01.png +0 -0
  12. data/app/assets/images/buttons/left_01_small.png +0 -0
  13. data/app/assets/images/buttons/right_01.png +0 -0
  14. data/app/assets/images/buttons/right_01_small.png +0 -0
  15. data/app/assets/images/cart-empty.png +0 -0
  16. data/app/assets/images/cart-empty_x32.png +0 -0
  17. data/app/assets/images/cart-full.png +0 -0
  18. data/app/assets/images/cart-full_x32.png +0 -0
  19. data/app/assets/images/menu-current.png +0 -0
  20. data/app/assets/images/menu-hover.png +0 -0
  21. data/app/assets/images/octocorn-friends.png +0 -0
  22. data/app/assets/images/octopus_unicorn.png +0 -0
  23. data/app/assets/images/shadow_top.png +0 -0
  24. data/app/assets/images/step-progress/completed-completed.gif +0 -0
  25. data/app/assets/images/step-progress/completed-current.gif +0 -0
  26. data/app/assets/images/step-progress/completed-first.gif +0 -0
  27. data/app/assets/images/step-progress/current-first.gif +0 -0
  28. data/app/assets/images/step-progress/current-incomplete.gif +0 -0
  29. data/app/assets/images/step-progress/current-right.gif +0 -0
  30. data/app/assets/images/step-progress/incomplete-incomplete.gif +0 -0
  31. data/app/assets/images/step-progress/incomplete-right.gif +0 -0
  32. data/app/assets/images/steps/1.png +0 -0
  33. data/app/assets/images/steps/1_small.png +0 -0
  34. data/app/assets/images/steps/2.png +0 -0
  35. data/app/assets/images/steps/2_small.png +0 -0
  36. data/app/assets/images/steps/3.png +0 -0
  37. data/app/assets/images/steps/3_small.png +0 -0
  38. data/app/assets/images/steps/4.png +0 -0
  39. data/app/assets/images/steps/4_small.png +0 -0
  40. data/app/assets/images/steps/5.png +0 -0
  41. data/app/assets/images/steps/5_small.png +0 -0
  42. data/app/assets/images/steps/6.png +0 -0
  43. data/app/assets/images/steps/6_small.png +0 -0
  44. data/app/assets/images/wrapper-back.png +0 -0
  45. data/app/assets/stylesheets/store/reset.css +0 -0
  46. data/app/assets/stylesheets/store/screen.css +916 -0
  47. data/app/overrides/add_cart_form.rb +8 -0
  48. data/app/overrides/add_class_to_footer.rb +5 -0
  49. data/app/overrides/add_class_to_header.rb +4 -0
  50. data/app/overrides/add_class_to_link_to_cart.rb +5 -0
  51. data/app/overrides/add_class_to_wrapper.rb +5 -0
  52. data/app/overrides/change_logo.rb +11 -0
  53. data/app/overrides/move_nav_bar.rb +12 -0
  54. data/app/overrides/remove_cart_form.rb +3 -0
  55. data/app/overrides/tweak_product_list_item.rb +10 -0
  56. data/lib/octocorn_spree_theme.rb +16 -0
  57. data/octocorn_spree_theme.gemspec +16 -0
  58. metadata +111 -0
data/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ .DS_Store
2
+ app/assets/images/psd
3
+ .idea
data/README.md ADDED
@@ -0,0 +1,22 @@
1
+ SUMMARY
2
+ -------
3
+
4
+ Octocorn Spree Theme is a standalone theme for Spree Commerce version 0.70.0 or later.
5
+
6
+ INSTALLATION
7
+ ------------
8
+
9
+ 1. Add the following line to your Gemfile:
10
+
11
+ gem 'octocorn_spree_theme'
12
+
13
+ **NOTE:** It's important that you add this line at the bottom of the Gemfile, or at least AFTER any other extension/engine/gem that you'd like to theme (i.e. Spree)
14
+
15
+ 2. And install:
16
+
17
+ $ bundle install
18
+
19
+ 3. Optional: Clear out precompiled assets (required for install in sandbox):
20
+
21
+ $ rake assets:clean
22
+
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
File without changes
@@ -0,0 +1,916 @@
1
+ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
2
+ margin: 0;
3
+ padding: 0;
4
+ border: 0;
5
+ outline: 0;
6
+ font-weight: inherit;
7
+ font-style: inherit;
8
+ font-size: 100%;
9
+ font-family: inherit;
10
+ vertical-align: baseline;
11
+ }
12
+ *:focus { outline: 0; }
13
+ body {
14
+ line-height: 1em;
15
+ color: black;
16
+ background: #ffffff;
17
+ }
18
+ ol, ul { list-style: none; }
19
+ table {
20
+ border-collapse: separate;
21
+ border-spacing: 0;
22
+ vertical-align: middle;
23
+ }
24
+ caption, th, td {
25
+ text-align: left;
26
+ font-weight: normal;
27
+ vertical-align: middle;
28
+ }
29
+ q, blockquote { quotes: "" ""; }
30
+ q:before { content: ""; }
31
+ q:after { content: ""; }
32
+ blockquote:before { content: ""; }
33
+ blockquote:after { content: ""; }
34
+ img a { border: none; }
35
+ hr {
36
+ background: #dddddd;
37
+ color: #dddddd;
38
+ clear: both;
39
+ float: none;
40
+ width: 100%;
41
+ height: 0.1em;
42
+ margin: 0 0 1.45em;
43
+ border: none;
44
+ }
45
+ hr.space {
46
+ background: #dddddd;
47
+ color: #dddddd;
48
+ clear: both;
49
+ float: none;
50
+ width: 100%;
51
+ height: 0.1em;
52
+ margin: 0 0 1.45em;
53
+ border: none;
54
+ background: #ffffff;
55
+ color: #ffffff;
56
+ }
57
+ body {
58
+ line-height: 1.5;
59
+ font-family: Helvetica Neue, Arial, Helvetica, sans-serif;
60
+ color: #333333;
61
+ font-size: 75%;
62
+ }
63
+ h1 {
64
+ font-weight: normal;
65
+ color: #222222;
66
+ font-size: 3em;
67
+ line-height: 1;
68
+ margin-bottom: 0.5em;
69
+ }
70
+ h1 img { margin: 0; }
71
+ h2 {
72
+ font-weight: normal;
73
+ color: #222222;
74
+ font-size: 2em;
75
+ margin-bottom: 0.75em;
76
+ }
77
+ h3 {
78
+ font-weight: normal;
79
+ color: #222222;
80
+ font-size: 1.5em;
81
+ line-height: 1;
82
+ margin-bottom: 1em;
83
+ }
84
+ h4 {
85
+ font-weight: normal;
86
+ color: #222222;
87
+ font-size: 1.2em;
88
+ line-height: 1.25;
89
+ margin-bottom: 1.25em;
90
+ }
91
+ h5 {
92
+ font-weight: normal;
93
+ color: #222222;
94
+ font-size: 1em;
95
+ font-weight: bold;
96
+ margin-bottom: 1.5em;
97
+ }
98
+ h6 {
99
+ font-weight: normal;
100
+ color: #222222;
101
+ font-size: 1em;
102
+ font-weight: bold;
103
+ }
104
+ h2 img { margin: 0; }
105
+ h3 img { margin: 0; }
106
+ h4 img { margin: 0; }
107
+ h5 img { margin: 0; }
108
+ h6 img { margin: 0; }
109
+ p { margin: 0 0 1.5em; }
110
+ p img.left {
111
+ display: inline;
112
+ float: left;
113
+ margin: 1.5em 1.5em 1.5em 0;
114
+ padding: 0;
115
+ }
116
+ p img.right {
117
+ display: inline;
118
+ float: right;
119
+ margin: 1.5em 0 1.5em 1.5em;
120
+ padding: 0;
121
+ }
122
+ a {
123
+ text-decoration: underline;
124
+ color: #2e6ab1;
125
+ }
126
+ blockquote {
127
+ margin: 1.5em;
128
+ color: #666666;
129
+ font-style: italic;
130
+ }
131
+ strong { font-weight: bold; }
132
+ em { font-style: italic; }
133
+ dfn {
134
+ font-style: italic;
135
+ font-weight: bold;
136
+ }
137
+ sup, sub { line-height: 0; }
138
+ abbr, acronym { border-bottom: 1px dotted #666666; }
139
+ address {
140
+ margin: 0 0 1.5em;
141
+ font-style: italic;
142
+ }
143
+ del { color: #666666; }
144
+ pre {
145
+ margin: 1.5em 0;
146
+ white-space: pre;
147
+ }
148
+ pre, code, tt {
149
+ font: 1em 'andale mono', 'lucida console', monospace;
150
+ line-height: 1.5;
151
+ }
152
+ li ul { margin: 0 1.5em; }
153
+ li ol { margin: 0 1.5em; }
154
+ ul {
155
+ margin: 0 1.5em 1.5em 1.5em;
156
+ list-style-type: disc;
157
+ }
158
+ ol {
159
+ margin: 0 1.5em 1.5em 1.5em;
160
+ list-style-type: decimal;
161
+ }
162
+ dl { margin: 0 0 1.5em 0; }
163
+ dl dt { font-weight: bold; }
164
+ dd { margin-left: 1.5em; }
165
+ table {
166
+ margin-bottom: 1.4em;
167
+ width: 100%;
168
+ }
169
+ th { font-weight: bold; }
170
+ thead th { background: #c3d9ff; }
171
+ th, td, caption { padding: 4px 10px 4px 5px; }
172
+ tr.even td { background: #e5ecf9; }
173
+ tfoot { font-style: italic; }
174
+ caption { background: #eeeeee; }
175
+ .quiet { color: #666666; }
176
+ .loud { color: #111111; }
177
+ form p.field {
178
+ margin-bottom: 0.5em;
179
+ clear: both;
180
+ }
181
+ form p.field span.req {
182
+ color: red;
183
+ margin-left: 2px;
184
+ top: -3px;
185
+ }
186
+ form p.field input[type=text] {
187
+ float: left;
188
+ margin: 0 5px 7px 0;
189
+ }
190
+ form p.field select {
191
+ float: left;
192
+ margin: 0 5px 7px 0;
193
+ }
194
+ form p.field.radios { line-height: 150%; }
195
+ label { font-weight: bold; }
196
+ div#checkout #checkout_form_address #billing label.error {
197
+ color: red;
198
+ float: left;
199
+ text-align: left;
200
+ display: inline-block;
201
+ top: 0px;
202
+ font-size: 11px;
203
+ border: none;
204
+ padding: 0px;
205
+ width: auto;
206
+ }
207
+ div#checkout #checkout_form_address #shipping label.error {
208
+ color: red;
209
+ float: left;
210
+ text-align: left;
211
+ display: inline-block;
212
+ top: 0px;
213
+ font-size: 11px;
214
+ border: none;
215
+ padding: 0px;
216
+ width: auto;
217
+ }
218
+ fieldset { margin-bottom: 1em; }
219
+ legend {
220
+ font-size: 150%;
221
+ font-weight: bold;
222
+ margin-bottom: 0.5em;
223
+ }
224
+ .no_margin_or_padding {
225
+ margin: 0;
226
+ padding: 0;
227
+ }
228
+ .leftie {
229
+ float: left;
230
+ width: 49%;
231
+ }
232
+ .rightie {
233
+ float: right;
234
+ width: 49%;
235
+ }
236
+ .clearfix {
237
+ overflow: hidden;
238
+ display: inline-block;
239
+ }
240
+ .clearfix { display: block; }
241
+ .nowrap { white-space: nowrap; }
242
+ .no-bullets { list-style: none; }
243
+ .inline-list {
244
+ list-style-type: none;
245
+ margin: 0px;
246
+ padding: 0px;
247
+ display: inline;
248
+ }
249
+ .inline-list li {
250
+ margin: 0px;
251
+ padding: 0px;
252
+ display: inline;
253
+ }
254
+ .colborder {
255
+ padding-right: 24px;
256
+ margin-right: 25px;
257
+ border-right: 1px solid #eeeeee;
258
+ }
259
+ body {
260
+ margin-top: 10px;
261
+ background: #ffffff url(/assets/bg_water.png) top center no-repeat;
262
+ }
263
+ div.left {
264
+ float: left;
265
+ width: 49%;
266
+ }
267
+ div.right {
268
+ float: right;
269
+ width: 49%;
270
+ }
271
+ a { outline: none; }
272
+ #wrapper {
273
+ background: transparent url(/assets/wrapper-back.png) top center no-repeat;
274
+ padding: 25px 20px 20px;
275
+ min-height: 420px;
276
+ position: relative;
277
+ }
278
+ .container {
279
+ width: 950px;
280
+ margin: 0 auto;
281
+ overflow: hidden;
282
+ display: block;
283
+ }
284
+ #sidebar {
285
+ display: inline;
286
+ float: left;
287
+ width: 150px;
288
+ min-height: 100px;
289
+ margin-right: 10px;
290
+ padding-right: 24px;
291
+ margin-right: 25px;
292
+ border-right: 1px solid #eeeeee;
293
+ }
294
+ #sidebar h3 { margin-bottom: 0.5em; }
295
+ body.one-col #content {
296
+ display: inline;
297
+ float: left;
298
+ width: 950px;
299
+ }
300
+ body.two-col #content {
301
+ display: inline;
302
+ float: left;
303
+ width: 750px;
304
+ }
305
+ #header {
306
+ position: relative;
307
+ color: #2e6ab1;
308
+ clear: both;
309
+ margin-bottom:20px;
310
+ }
311
+ #header a { color: #2e6ab1; }
312
+ #header a:hover { color: #eeeeee; }
313
+ #footer {
314
+ padding-top: 2em;
315
+ clear: both;
316
+ }
317
+ #footer div.left { width: 37%; }
318
+ #footer div.right {
319
+ width: 63%;
320
+ text-align: right;
321
+ }
322
+ h1 { font-size: 2.5em; }
323
+ .form-buttons, .clear { clear: both; }
324
+ input.title { width: auto; }
325
+ p.follow-all {
326
+ font-size: 1.3em;
327
+ text-align: center;
328
+ display: block;
329
+ }
330
+ p img {
331
+ float: left;
332
+ margin-right: 5px;
333
+ vertical-align: middle;
334
+ }
335
+ .taxons-list {
336
+ list-style: none;
337
+ margin: 0 0 1.5em -15px;
338
+ }
339
+ .taxons-list li { margin: 0; }
340
+ .taxons-list li a {
341
+ cursor: pointer !important;
342
+ text-decoration: none;
343
+ color: #333333;
344
+ display: block;
345
+ line-height: 2.5em;
346
+ padding-left: 20px;
347
+ width: 170px;
348
+ white-space: nowrap;
349
+ overflow: hidden;
350
+ }
351
+ .taxons-list li a:hover { background: url(/assets/menu-hover.png) right center no-repeat; }
352
+ .taxons-list li.current { width: 200px; }
353
+ .taxons-list li.current a {
354
+ width: 180px;
355
+ background: url(/assets/menu-current.png) right center no-repeat;
356
+ white-space: nowrap;
357
+ overflow: hidden;
358
+ }
359
+ .taxons-list li.current a.root { width: 183px; }
360
+ .taxons-list a.root {
361
+ color: #222222;
362
+ font-size: 1.5em;
363
+ text-indent: -5px;
364
+ line-height: 2.2em;
365
+ }
366
+ #breadcrumbs { margin-bottom: 1em; }
367
+ #breadcrumbs ul {
368
+ list-style-type: none;
369
+ margin: 0px;
370
+ padding: 0px;
371
+ display: inline;
372
+ margin: 0;
373
+ padding: 0;
374
+ overflow: auto;
375
+ }
376
+ #breadcrumbs ul li {
377
+ margin: 0px;
378
+ padding: 0px;
379
+ display: inline;
380
+ }
381
+ #breadcrumbs ul li {
382
+ line-height: 20px;
383
+ color: #666666;
384
+ }
385
+ #breadcrumbs ul li a {
386
+ text-decoration: none;
387
+ padding: 5px 7px;
388
+ color: #666666;
389
+ }
390
+ #breadcrumbs ul li span {
391
+ text-decoration: none;
392
+ padding: 5px 7px;
393
+ color: #666666;
394
+ }
395
+ #breadcrumbs ul li span { color: #333333; }
396
+ div#login-bar { display: inline; }
397
+ ul#language-bar {
398
+ list-style-type: none;
399
+ margin: 0px;
400
+ padding: 0px;
401
+ display: inline;
402
+ }
403
+ ul#language-bar li {
404
+ margin: 0px;
405
+ padding: 0px;
406
+ display: inline;
407
+ }
408
+ ul#language-bar strong { font-weight: normal; }
409
+ ul#nav-bar {
410
+ line-height: 50px;
411
+ float: right;
412
+ font-size: 1.2em;
413
+ list-style: none;
414
+ margin: 0;
415
+ padding: 0;
416
+ }
417
+ ul#nav-bar li {
418
+ float: left;
419
+ margin-left: 1em;
420
+ }
421
+ ul#nav-bar li.cart-indicator a {
422
+ padding-right: 40px;
423
+ background: transparent url(/assets/cart-empty_x32.png) center right no-repeat;
424
+ display: block;
425
+ }
426
+ ul#nav-bar li.cart-indicator a.full { background-image: url(/assets/cart-full_x32.png); }
427
+ .pagination {
428
+ padding-top: 10px;
429
+ text-align: right;
430
+ }
431
+ .pagination a.page {
432
+ padding: 0px 5px;
433
+ margin: 0px 3px;
434
+ }
435
+ .pagination span.page {
436
+ padding: 0px 5px;
437
+ margin: 0px 3px;
438
+ }
439
+ .pagination a.page {
440
+ text-decoration: none;
441
+ border: 1px solid #9aafe5;
442
+ color: #2e6ab1;
443
+ }
444
+ .pagination a.page:hover {
445
+ border: 1px solid #2b66a5;
446
+ color: #000000;
447
+ }
448
+ .pagination a.page:active {
449
+ border: 1px solid #2b66a5;
450
+ color: #000000;
451
+ }
452
+ .pagination a.next_page { font-weight: bold; }
453
+ .pagination span.disabled_page {
454
+ border: 1px solid #929292;
455
+ color: #929292;
456
+ }
457
+ .pagination span.current_page {
458
+ font-weight: bold;
459
+ border: 1px solid;
460
+ border-color: #162f54;
461
+ background-color: #2e6ab1;
462
+ color: #ffffff;
463
+ }
464
+ .flash {
465
+ -moz-border-radius: 5px;
466
+ -webkit-border-radius: 5px;
467
+ border-radius: 5px;
468
+ font-size: 1.3em;
469
+ margin-bottom: 1em;
470
+ padding: 0.8em;
471
+ }
472
+ .flash.notice {
473
+ background: #ccddff url(/assets/shadow_top.png) 0px -50px repeat-x;
474
+ color: #556699;
475
+ border: 1px solid #99aacc;
476
+ }
477
+ .flash.errors {
478
+ background: #f4b4b4 url(/assets/shadow_top.png) 0px -50px repeat-x;
479
+ color: #000000;
480
+ border: 1px solid #000000;
481
+ }
482
+ .formError {
483
+ font-size: 1.3em;
484
+ margin-bottom: 1em;
485
+ padding: 0.8em;
486
+ -moz-border-radius: 5px;
487
+ -webkit-border-radius: 5px;
488
+ border-radius: 5px;
489
+ background: #f4b4b4 url(/assets/shadow_top.png) 0px -50px repeat-x;
490
+ color: #000000;
491
+ border: 1px solid #000000;
492
+ }
493
+ .formError p { margin: 0px; }
494
+ .formError ul { margin-bottom: 0px; }
495
+ .formError h2 {
496
+ font-weight: bold;
497
+ font-size: 1em;
498
+ margin: 0px;
499
+ }
500
+ .errorExplanation {
501
+ font-size: 1.3em;
502
+ margin-bottom: 1em;
503
+ padding: 0.8em;
504
+ -moz-border-radius: 5px;
505
+ -webkit-border-radius: 5px;
506
+ border-radius: 5px;
507
+ background: #f4b4b4 url(/assets/shadow_top.png) 0px -50px repeat-x;
508
+ color: #000000;
509
+ border: 1px solid #000000;
510
+ }
511
+ .errorExplanation p { margin: 0px; }
512
+ .errorExplanation ul { margin-bottom: 0px; }
513
+ .errorExplanation h2 {
514
+ font-weight: bold;
515
+ font-size: 1em;
516
+ margin: 0px;
517
+ }
518
+ .fieldWithErrors { clear: none; }
519
+ button, a.button, input.button {
520
+ -moz-border-radius: 0.3em;
521
+ -webkit-border-radius: 0.3em;
522
+ border-radius: 0.3em;
523
+ background: #efefef url(/assets/buttons/bg-button.png) center left repeat-x !important;
524
+ border-style: solid;
525
+ border-width: 1px !important;
526
+ border-color: #dddddd #999999 #999999 #dddddd !important;
527
+ -moz-outline-radius: 0.3em;
528
+ color: #111111;
529
+ display: inline-block;
530
+ font-family: Helvetica Neue, Helvetica, Arial, Sans-serif;
531
+ font-size: 1.1em !important;
532
+ font-size-adjust: none;
533
+ font-stretch: normal;
534
+ font-style: normal;
535
+ font-variant: normal;
536
+ font-weight: normal;
537
+ line-height: 1.2em;
538
+ margin: 0px;
539
+ overflow: visible;
540
+ padding: 10px 17px;
541
+ text-decoration: none;
542
+ text-transform: lowercase;
543
+ width: auto;
544
+ height: auto;
545
+ cursor: pointer;
546
+ }
547
+ button.primary, a.button.primary, input.button.primary {
548
+ font-weight: bold;
549
+ color: #000000;
550
+ }
551
+ button:hover { background-image: url(/assets/buttons/bg-button-hover.png) !important; }
552
+ a.button:hover { background-image: url(/assets/buttons/bg-button-hover.png) !important; }
553
+ input.button:hover { background-image: url(/assets/buttons/bg-button-hover.png) !important; }
554
+ button.large, a.button.large, input.button.large {
555
+ -moz-border-radius: 0.3em;
556
+ -webkit-border-radius: 0.3em;
557
+ border-radius: 0.3em;
558
+ font-size: 1.4em !important;
559
+ line-height: 1.4em;
560
+ }
561
+ button.small, a.button.small, input.button.small {
562
+ -moz-border-radius: 4px;
563
+ -webkit-border-radius: 4px;
564
+ border-radius: 4px;
565
+ font-size: 0.9em;
566
+ line-height: 1.4em;
567
+ padding: 5px 10px;
568
+ }
569
+ button.small img { margin: 0 3px 0 0 !important; }
570
+ a.button.small img { margin: 0 3px 0 0 !important; }
571
+ input.button.small img { margin: 0 3px 0 0 !important; }
572
+ button.update img { margin-right: 7px; }
573
+ button.checkout img { margin-right: 7px; }
574
+ a.button.update img { margin-right: 7px; }
575
+ a.button.checkout img { margin-right: 7px; }
576
+ input.button.update img { margin-right: 7px; }
577
+ input.button.checkout img { margin-right: 7px; }
578
+ button img { vertical-align: middle; }
579
+ a.button img { vertical-align: middle; }
580
+ input.button img { vertical-align: middle; }
581
+ button:focus { outline: none; }
582
+ a.button:focus { outline: none; }
583
+ input.button:focus { outline: none; }
584
+ button::-moz-focus-inner {
585
+ padding: 0px;
586
+ border: none;
587
+ }
588
+ p a.button img { margin: 0 5px 0 0; }
589
+ p button img { margin: 0 5px 0 0; }
590
+ .prices { font-weight: bold; }
591
+ .prices #product-details .prices { font-size: 1.25em; }
592
+ .price.selling { color: #2e6ab1; }
593
+ #product-details .price.selling { font-size: 1.5em; }
594
+ dl#product-price dd{
595
+ margin-left: 0;
596
+ }
597
+ dl#product-price dd span.price{
598
+ font-weight: bold;
599
+ }
600
+ .price.diff {
601
+ font-style: italic;
602
+ font-weight: normal;
603
+ color: #666666;
604
+ }
605
+ .product-listing {
606
+ list-style: none;
607
+ margin: 2em 0px 0px 0px;
608
+ padding: 0px;
609
+ }
610
+ .product-listing li {
611
+ -moz-border-radius: 3px;
612
+ -webkit-border-radius: 3px;
613
+ border-radius: 3px;
614
+ height: 180px;
615
+ width: 140px;
616
+ text-align: center;
617
+ float: left;
618
+ margin: 10px;
619
+ padding: 10px;
620
+ border: 1px solid #dddddd;
621
+ position: relative;
622
+ }
623
+ .product-listing li a {
624
+ display: block;
625
+ text-decoration: none;
626
+ color: #111111;
627
+ }
628
+ .product-listing li a.info {
629
+ position: absolute;
630
+ bottom: 0px;
631
+ right: 0px;
632
+ padding: 5px;
633
+ width: 150px;
634
+ min-height: 60px;
635
+ background: #ffffff url(/assets/shadow_top.png) 0px -35px repeat-x;
636
+ border-top: 1px solid #ffffff;
637
+ }
638
+ .product-listing li a.info span { display: block; }
639
+ .product-listing li:hover { border-color: #1b1b1b; }
640
+ .product-listing li:hover a.info {
641
+ background: #1b1b1b url(/assets/bottom_shine.png) bottom left repeat-x;
642
+ color: #ffffff;
643
+ }
644
+ ul.thumbnails {
645
+ margin: 0;
646
+ padding: 0;
647
+ list-style: none;
648
+ }
649
+ ul.thumbnails li {
650
+ float: left;
651
+ margin-right: 5px;
652
+ padding: 3px;
653
+ border: 1px solid #ffffff;
654
+ min-height: 50px;
655
+ width: 50px;
656
+ position: relative;
657
+ }
658
+ ul.thumbnails li img {
659
+ position: absolute;
660
+ top: 0;
661
+ bottom: 0;
662
+ left: 0;
663
+ right: 0;
664
+ margin: auto;
665
+ }
666
+ ul.thumbnails li:hover { border-color: #cccccc; }
667
+ ul.thumbnails li.selected { border-color: #999999; }
668
+ #product-variants { margin-bottom: 1em; }
669
+ #product-variants ul {
670
+ list-style: none;
671
+ margin: 0;
672
+ padding: 0;
673
+ }
674
+ #product-images {
675
+ display: inline;
676
+ float: left;
677
+ width: 270px;
678
+ margin-right: 10px;
679
+ }
680
+ #product-images h4 {
681
+ padding: 6px 0px;
682
+ margin: 0px;
683
+ font-weight: bold;
684
+ clear: both;
685
+ }
686
+ #product-images #main-image {
687
+ min-height: 250px;
688
+ position: relative;
689
+ }
690
+ #product-images #main-image img {
691
+ position: absolute;
692
+ top: 0;
693
+ bottom: 0;
694
+ left: 0;
695
+ right: 0;
696
+ margin: auto;
697
+ }
698
+ #product-description {
699
+ display: inline;
700
+ float: left;
701
+ width: 310px;
702
+ margin-right: 10px;
703
+ padding-right: 24px;
704
+ margin-right: 25px;
705
+ border-right: 1px solid #eeeeee;
706
+ }
707
+ #cart-form {
708
+ display: inline;
709
+ float: left;
710
+ width: 270px;
711
+ }
712
+ #taxon-crumbs {
713
+ display: inline;
714
+ float: left;
715
+ width: 950px;
716
+ margin-right: 10px;
717
+ display: block;
718
+ float: right;
719
+ margin-top: 20px;
720
+ width: 300px;
721
+ }
722
+ dl.table-display {
723
+ margin: 0;
724
+ padding: 0;
725
+ }
726
+ dl.table-display dt {
727
+ float: left;
728
+ margin: 0;
729
+ padding: 5px;
730
+ border-top: 1px solid #dddddd;
731
+ }
732
+ dl.table-display dd {
733
+ float: left;
734
+ margin: 0;
735
+ padding: 5px;
736
+ border-top: 1px solid #dddddd;
737
+ }
738
+ dl.table-display dt { width: 100px; }
739
+ dl.table-display dd { width: 180px; }
740
+ div#subtotal {
741
+ float: right;
742
+ width: 49%;
743
+ width: auto;
744
+ text-align: left;
745
+ }
746
+ table { border-collapse: collapse; }
747
+ table th {
748
+ background: transparent;
749
+ border-bottom: 1px solid #dddddd;
750
+ }
751
+ table#cart tr td {
752
+ border-bottom: 1px solid #dddddd;
753
+ padding: 1em 0;
754
+ }
755
+ table#cart tr#none td { border-bottom: none; }
756
+ table#cart h4 { margin-bottom: 0em; }
757
+ #signup #new-customer {
758
+ display: inline;
759
+ float: left;
760
+ width: 470px;
761
+ margin-right: 10px;
762
+ }
763
+ #signup #new-customer h2 { margin-bottom: 0.25em; }
764
+ #signup #new-customer p { margin-bottom: 10px; }
765
+ #signup #new-customer p input.title {
766
+ padding: 3px;
767
+ margin: 0px;
768
+ }
769
+ #signup #new-customer input[type=checkbox] { top: 0em; }
770
+ #login #existing-customer {
771
+ display: inline;
772
+ float: left;
773
+ width: 470px;
774
+ margin-right: 10px;
775
+ }
776
+ #login #existing-customer h2 { margin-bottom: 0.25em; }
777
+ #login #existing-customer p { margin-bottom: 10px; }
778
+ #login #existing-customer p input.title {
779
+ padding: 3px;
780
+ margin: 0px;
781
+ }
782
+ #login #existing-customer input[type=checkbox] { top: 0em; }
783
+ input.openid_url {
784
+ background: #ffffff url(../images/openid-inputicon.gif) no-repeat scroll 0pt 50%;
785
+ padding-left: 18px;
786
+ border: 1px solid #bbbbbb;
787
+ font-size: 1.5em;
788
+ }
789
+ ol.progress-steps {
790
+ list-style: none;
791
+ margin: 0;
792
+ padding: 0;
793
+ line-height: 1em;
794
+ font-size: 12px;
795
+ }
796
+ ol.progress-steps li {
797
+ margin: 0;
798
+ padding: 0;
799
+ list-style: none;
800
+ display: block;
801
+ float: left;
802
+ color: #999999;
803
+ background-position: top left;
804
+ background-repeat: no-repeat;
805
+ background-image: url(/assets/step-progress/incomplete-incomplete.gif);
806
+ }
807
+ ol.progress-steps li span {
808
+ padding: 6px 14px 7px 24px;
809
+ display: block;
810
+ float: left;
811
+ background-position: top right;
812
+ background-repeat: no-repeat;
813
+ }
814
+ ol.progress-steps li a {
815
+ text-decoration: none;
816
+ color: #333333;
817
+ }
818
+ ol.progress-steps li.current-first span { padding-left: 14px; }
819
+ ol.progress-steps li.completed-first span { padding-left: 14px; }
820
+ ol.progress-steps li.current-first { background-image: url(/assets/step-progress/current-first.gif); }
821
+ ol.progress-steps li.completed-first { background-image: url(/assets/step-progress/completed-first.gif) !important; }
822
+ ol.progress-steps li.current { color: #ffffff; }
823
+ ol.progress-steps li.current-first { color: #ffffff; }
824
+ ol.progress-steps li.current-last { color: #ffffff; }
825
+ ol.progress-steps li.completed { background-image: url(/assets/step-progress/completed-completed.gif); }
826
+ ol.progress-steps li.current { background-image: url(/assets/step-progress/completed-current.gif); }
827
+ ol.progress-steps li.current-last { background-image: url(/assets/step-progress/completed-current.gif); }
828
+ ol.progress-steps li.next { background-image: url(/assets/step-progress/current-incomplete.gif); }
829
+ ol.progress-steps li.next-last { background-image: url(/assets/step-progress/current-incomplete.gif); }
830
+ ol.progress-steps li.last span { background-image: url(/assets/step-progress/incomplete-right.gif); }
831
+ ol.progress-steps li.next-last span { background-image: url(/assets/step-progress/incomplete-right.gif); }
832
+ ol.progress-steps li.current-last span { background-image: url(/assets/step-progress/current-right.gif); }
833
+ div#checkout { position: relative; }
834
+ div#checkout .progress-steps {
835
+ position: absolute;
836
+ top: 0.5em;
837
+ right: 0;
838
+ }
839
+ div#checkout form {
840
+ background-position: top right;
841
+ background-repeat: no-repeat;
842
+ }
843
+ div#checkout #checkout_form_address { background-image: url("../images/steps/2.png"); }
844
+ div#checkout #checkout_form_delivery { background-image: url("../images/steps/3.png"); }
845
+ div#checkout #checkout_form_address #billing label {
846
+ float: left;
847
+ text-align: right;
848
+ }
849
+ div#checkout #checkout_form_address #shipping label {
850
+ float: left;
851
+ text-align: right;
852
+ }
853
+ div#checkout #checkout_form_address #billing input { width: 304px; }
854
+ div#checkout #checkout_form_address #shipping input { width: 304px; }
855
+ div#checkout #checkout_form_address #billing select { width: 304px; }
856
+ div#checkout #checkout_form_address #shipping select { width: 304px; }
857
+ div#checkout #checkout_form_address #billing p.checkbox { padding-left: 200px; }
858
+ div#checkout #checkout_form_address #shipping p.checkbox { padding-left: 0px; }
859
+ div#checkout #checkout_form_address .form-buttons { padding-left: 0px; }
860
+ div#checkout #checkout_form_address #billing p.checkbox label {
861
+ width: auto !important;
862
+ float: none !important;
863
+ }
864
+ div#checkout #checkout_form_address #shipping p.checkbox label {
865
+ width: auto !important;
866
+ float: none !important;
867
+ }
868
+ div#checkout #checkout_form_address #billing p.checkbox input { width: auto !important; }
869
+ div#checkout #checkout_form_address #shipping p.checkbox input { width: auto !important; }
870
+ div#checkout #checkout_form_payment { background-image: url("../images/steps/5.png"); }
871
+ div#checkout #checkout_form_payment select { width: 75px; }
872
+ div#checkout #checkout_form_payment #payment {
873
+ display: inline;
874
+ float: left;
875
+ width: 310px;
876
+ margin-right: 10px;
877
+ }
878
+ div#checkout #checkout_form_payment #order_details {
879
+ display: inline;
880
+ float: left;
881
+ width: 470px;
882
+ margin-right: 10px;
883
+ }
884
+ div#checkout #payment-methods {
885
+ list-style: none;
886
+ display: block;
887
+ padding: 0;
888
+ margin: 0;
889
+ width: 720px;
890
+ }
891
+ div#checkout #payment-methods li {
892
+ display: block;
893
+ display: inline;
894
+ float: left;
895
+ width: 190px;
896
+ margin-right: 10px;
897
+ }
898
+ div#checkout #payment-methods li.last {
899
+ display: inline;
900
+ float: left;
901
+ width: 190px;
902
+ }
903
+ div#checkout #checkout-summary {
904
+ background-color: #c3c9df;
905
+ float: right;
906
+ margin-top: 10px;
907
+ padding: 20px;
908
+ width: 180px;
909
+ }
910
+ div#checkout #checkout-summary {
911
+ background-color: #c3c9df;
912
+ float: right;
913
+ margin-top: 10px;
914
+ padding: 20px;
915
+ width: 180px;
916
+ }
@@ -0,0 +1,8 @@
1
+ Deface::Override.new(:virtual_path => 'products/show',
2
+ :name => 'add_cart_form',
3
+ :insert_after => "[data-hook='product_description']",
4
+ :text => %q{ <div id="cart-form" data-hook="cart_form">
5
+ <%= render 'cart_form' %>
6
+ </div>},
7
+ :sequence => {:after => 'remove_cart_form'})
8
+
@@ -0,0 +1,5 @@
1
+ Deface::Override.new(:virtual_path => 'layouts/spree_application',
2
+ :name => 'add_class_to_footer',
3
+ :set_attributes => '#footer[data-hook]',
4
+ :attributes => {:class => 'container'})
5
+
@@ -0,0 +1,4 @@
1
+ Deface::Override.new(:virtual_path => 'layouts/spree_application',
2
+ :name => 'add_class_to_header',
3
+ :set_attributes => 'div#header',
4
+ :attributes => {:class => 'container'})
@@ -0,0 +1,5 @@
1
+ Deface::Override.new(:virtual_path => 'shared/_store_menu',
2
+ :name => 'add_class_to_link_to_cart',
3
+ :set_attributes => '#link-to-cart[data-hook]',
4
+ :attributes => {:class => 'cart-indicator'})
5
+
@@ -0,0 +1,5 @@
1
+ Deface::Override.new(:virtual_path => 'layouts/spree_application',
2
+ :name => 'add_class_to_wrapper',
3
+ :set_attributes => '#wrapper[data-hook]',
4
+ :attributes => {:class => 'container'})
5
+
@@ -0,0 +1,11 @@
1
+ Deface::Override.new(:virtual_path => 'layouts/spree_application',
2
+ :name => 'change_logo',
3
+ :replace => "div#logo",
4
+ :text => %q{ <div id="logo" data-hook="logo">
5
+ <a href="/">
6
+ <img src="/assets/octopus_unicorn.png" alt="Octopus Unicorn">
7
+ </a>
8
+ </div>
9
+ }
10
+ )
11
+
@@ -0,0 +1,12 @@
1
+ Deface::Override.new(:virtual_path => 'layouts/spree_application',
2
+ :name => 'remove_nav_bar',
3
+ :remove => "#nav-bar"
4
+ )
5
+
6
+ Deface::Override.new(:virtual_path => 'layouts/spree_application',
7
+ :name => 'add_nav_bar',
8
+ :insert_before => "#content",
9
+ :text => %q{ <ul id="nav-bar" data-hook>
10
+ <%= render 'shared/nav_bar' %>
11
+ </ul>}
12
+ )
@@ -0,0 +1,3 @@
1
+ Deface::Override.new(:virtual_path => 'products/show',
2
+ :name => 'remove_cart_form',
3
+ :remove => "[data-hook='cart_form']")
@@ -0,0 +1,10 @@
1
+ Deface::Override.new(:virtual_path => 'shared/_products',
2
+ :name => 'tweak_product_list_item',
3
+ :replace => "[data-hook='products_list_item']",
4
+ :text => %q{<li id="product_<%= product.id %>" data-hook="products_list_item">
5
+ <%= link_to(product, :class => 'info') do %>
6
+ <%= product.name %>
7
+ <span class="price selling"><%= product_price(product) %></span>
8
+ <% end %>
9
+ <%= link_to small_image(product), product %>
10
+ </li>})
@@ -0,0 +1,16 @@
1
+ module OctocornSpreeTheme
2
+ class Engine < Rails::Engine
3
+ railtie_name "octocorn_spree_theme"
4
+
5
+ config.autoload_paths += %W(#{config.root}/lib)
6
+
7
+ def self.activate
8
+ Dir.glob(File.join(File.dirname(__FILE__), "../app/overrides/*.rb")) do |c|
9
+ Rails.application.config.cache_classes ? require(c) : load(c)
10
+ end
11
+ end
12
+
13
+ config.to_prepare &method(:activate).to_proc
14
+ end
15
+ end
16
+
@@ -0,0 +1,16 @@
1
+ # -*- encoding: utf-8 -*-
2
+ Gem::Specification.new do |s|
3
+ s.platform = Gem::Platform::RUBY
4
+ s.name = 'octocorn_spree_theme'
5
+ s.version = '0.0.0'
6
+ s.summary = 'A Spree Commerce Theme'
7
+ s.homepage = 'https://github.com/liahhansen/octocorn_spree_theme'
8
+
9
+ s.author = 'Brian D. Quinn, modified by Liah Hansen'
10
+ s.email = 'liahhansen@gmail.com'
11
+
12
+ s.files = `git ls-files`.split("\n")
13
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
14
+ s.require_path = 'lib'
15
+ s.requirements << 'none'
16
+ end
metadata ADDED
@@ -0,0 +1,111 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: octocorn_spree_theme
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Brian D. Quinn, modified by Liah Hansen
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2011-11-10 00:00:00 -06:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description:
17
+ email: liahhansen@gmail.com
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files: []
23
+
24
+ files:
25
+ - .gitignore
26
+ - README.md
27
+ - app/assets/images/bg-button.png
28
+ - app/assets/images/bg_water.png
29
+ - app/assets/images/body-back.png
30
+ - app/assets/images/bottom_shine.png
31
+ - app/assets/images/buttons/bg-button-hover.png
32
+ - app/assets/images/buttons/bg-button-pressed.png
33
+ - app/assets/images/buttons/bg-button.gif
34
+ - app/assets/images/buttons/bg-button.png
35
+ - app/assets/images/buttons/left_01.png
36
+ - app/assets/images/buttons/left_01_small.png
37
+ - app/assets/images/buttons/right_01.png
38
+ - app/assets/images/buttons/right_01_small.png
39
+ - app/assets/images/cart-empty.png
40
+ - app/assets/images/cart-empty_x32.png
41
+ - app/assets/images/cart-full.png
42
+ - app/assets/images/cart-full_x32.png
43
+ - app/assets/images/menu-current.png
44
+ - app/assets/images/menu-hover.png
45
+ - app/assets/images/octocorn-friends.png
46
+ - app/assets/images/octopus_unicorn.png
47
+ - app/assets/images/shadow_top.png
48
+ - app/assets/images/step-progress/completed-completed.gif
49
+ - app/assets/images/step-progress/completed-current.gif
50
+ - app/assets/images/step-progress/completed-first.gif
51
+ - app/assets/images/step-progress/current-first.gif
52
+ - app/assets/images/step-progress/current-incomplete.gif
53
+ - app/assets/images/step-progress/current-right.gif
54
+ - app/assets/images/step-progress/incomplete-incomplete.gif
55
+ - app/assets/images/step-progress/incomplete-right.gif
56
+ - app/assets/images/steps/1.png
57
+ - app/assets/images/steps/1_small.png
58
+ - app/assets/images/steps/2.png
59
+ - app/assets/images/steps/2_small.png
60
+ - app/assets/images/steps/3.png
61
+ - app/assets/images/steps/3_small.png
62
+ - app/assets/images/steps/4.png
63
+ - app/assets/images/steps/4_small.png
64
+ - app/assets/images/steps/5.png
65
+ - app/assets/images/steps/5_small.png
66
+ - app/assets/images/steps/6.png
67
+ - app/assets/images/steps/6_small.png
68
+ - app/assets/images/wrapper-back.png
69
+ - app/assets/stylesheets/store/reset.css
70
+ - app/assets/stylesheets/store/screen.css
71
+ - app/overrides/add_cart_form.rb
72
+ - app/overrides/add_class_to_footer.rb
73
+ - app/overrides/add_class_to_header.rb
74
+ - app/overrides/add_class_to_link_to_cart.rb
75
+ - app/overrides/add_class_to_wrapper.rb
76
+ - app/overrides/change_logo.rb
77
+ - app/overrides/move_nav_bar.rb
78
+ - app/overrides/remove_cart_form.rb
79
+ - app/overrides/tweak_product_list_item.rb
80
+ - lib/octocorn_spree_theme.rb
81
+ - octocorn_spree_theme.gemspec
82
+ has_rdoc: true
83
+ homepage: https://github.com/liahhansen/octocorn_spree_theme
84
+ licenses: []
85
+
86
+ post_install_message:
87
+ rdoc_options: []
88
+
89
+ require_paths:
90
+ - lib
91
+ required_ruby_version: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: "0"
96
+ version:
97
+ required_rubygems_version: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: "0"
102
+ version:
103
+ requirements:
104
+ - none
105
+ rubyforge_project:
106
+ rubygems_version: 1.3.5
107
+ signing_key:
108
+ specification_version: 3
109
+ summary: A Spree Commerce Theme
110
+ test_files: []
111
+