spree_heist_theme 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. data/.gitignore +2 -0
  2. data/LICENSE +26 -0
  3. data/README.md +19 -0
  4. data/app/assets/images/store/auth-icons.png +0 -0
  5. data/app/assets/images/store/bg.jpg +0 -0
  6. data/app/assets/images/store/footer_bkgd.jpg +0 -0
  7. data/app/assets/images/store/icons/american-express-curved-32px.png +0 -0
  8. data/app/assets/images/store/icons/discover-curved-32px.png +0 -0
  9. data/app/assets/images/store/icons/facebook.png +0 -0
  10. data/app/assets/images/store/icons/mastercard-curved-32px.png +0 -0
  11. data/app/assets/images/store/icons/social-icons-rollover.png +0 -0
  12. data/app/assets/images/store/icons/social-icons.png +0 -0
  13. data/app/assets/images/store/icons/twitter.png +0 -0
  14. data/app/assets/images/store/icons/visa-curved-32px.png +0 -0
  15. data/app/assets/images/store/kid.jpg +0 -0
  16. data/app/assets/images/store/logo.png +0 -0
  17. data/app/assets/images/store/narrow_bg.png +0 -0
  18. data/app/assets/images/store/satellite-radios-bg.jpg +0 -0
  19. data/app/assets/images/store/search_bg_s1.gif +0 -0
  20. data/app/assets/images/store/shadow_top.png +0 -0
  21. data/app/assets/images/store/social-icons-rollover.png +0 -0
  22. data/app/assets/images/store/social-icons.png +0 -0
  23. data/app/assets/javascripts/store/checkout.js +78 -0
  24. data/app/assets/javascripts/store/rdr_wishlist.js +31 -0
  25. data/app/assets/stylesheets/store/auth-buttons.css +376 -0
  26. data/app/assets/stylesheets/store/base.css +0 -0
  27. data/app/assets/stylesheets/store/cart.css +141 -0
  28. data/app/assets/stylesheets/store/checkout.css +278 -0
  29. data/app/assets/stylesheets/store/display.css.erb +225 -0
  30. data/app/assets/stylesheets/store/editor.css +37 -0
  31. data/app/assets/stylesheets/store/errors.css.erb +55 -0
  32. data/app/assets/stylesheets/store/login.css +31 -0
  33. data/app/assets/stylesheets/store/misc.css +85 -0
  34. data/app/assets/stylesheets/store/products.css +133 -0
  35. data/app/assets/stylesheets/store/rdr.css +16 -0
  36. data/app/assets/stylesheets/store/reset.css +72 -0
  37. data/app/assets/stylesheets/store/screen.scss.css +0 -0
  38. data/app/assets/stylesheets/store/social.css +61 -0
  39. data/app/assets/stylesheets/store/spree_core.css +0 -0
  40. data/app/assets/stylesheets/store/taxonomy.css.erb +72 -0
  41. data/app/assets/stylesheets/store/typography.css +167 -0
  42. data/app/overrides/shared/replace_rescently_viewed_products_block_title.rb +4 -0
  43. data/app/overrides/spree/checkout/payment/remove_card_expiration.rb +3 -0
  44. data/app/overrides/spree/checkout/payment/remove_cart_code.rb +3 -0
  45. data/app/overrides/spree/checkout/payment/remove_gateway_icons.rb +5 -0
  46. data/app/overrides/spree/checkout/payment/replace_gateway_fields.rb +26 -0
  47. data/app/overrides/spree/checkout/payment/replace_paypal_payment.rb +8 -0
  48. data/app/overrides/spree/checkout/remove_checkout_registration_header.rb +4 -0
  49. data/app/overrides/spree/checkout/remove_confirm_buttons.rb +3 -0
  50. data/app/overrides/spree/checkout/remove_delivery_buttons.rb +3 -0
  51. data/app/overrides/spree/checkout/remove_payment_buttons.rb +3 -0
  52. data/app/overrides/spree/checkout/remove_shipping.rb +3 -0
  53. data/app/overrides/spree/checkout/remove_summary_title.rb +4 -0
  54. data/app/overrides/spree/checkout/remvove_address_buttons.rb +4 -0
  55. data/app/overrides/spree/checkout/replace_billing.rb +175 -0
  56. data/app/overrides/spree/checkout/replace_checkout.rb +25 -0
  57. data/app/overrides/spree/checkout/replace_checkout_registration.rb +47 -0
  58. data/app/overrides/spree/checkout/replace_confirm.rb +70 -0
  59. data/app/overrides/spree/checkout/replace_order_summary.rb +38 -0
  60. data/app/overrides/spree/checkout/replace_payment.rb +21 -0
  61. data/app/overrides/spree/checkout/replace_shipping_method.rb +27 -0
  62. data/app/overrides/spree/layouts/replace_body.rb +95 -0
  63. data/app/overrides/spree/orders/remove_orders_show_header.rb +5 -0
  64. data/app/overrides/spree/orders/replace_cart_detail.rb +34 -0
  65. data/app/overrides/spree/orders/replace_empty-cart.rb +3 -0
  66. data/app/overrides/spree/orders/replace_line_item.rb +34 -0
  67. data/app/overrides/spree/orders/replace_orders_show.rb +83 -0
  68. data/app/overrides/spree/orders/replace_outside_cart_form.rb +21 -0
  69. data/app/overrides/spree/products/add_related_products_to_cart_form.rb +20 -0
  70. data/app/overrides/spree/products/add_taxonomies_to_product_show.rb +7 -0
  71. data/app/overrides/spree/products/drop_icon_from_add_to_wishlist.rb +5 -0
  72. data/app/overrides/spree/products/redefine_add_wish_to_cart_form.rb +7 -0
  73. data/app/overrides/spree/products/redefine_email_to_friend.rb +13 -0
  74. data/app/overrides/spree/products/replace_cart_form.rb +42 -0
  75. data/app/overrides/spree/products/replace_product_show.rb +87 -0
  76. data/app/overrides/spree/shared/add_to_head.rb +4 -0
  77. data/app/overrides/spree/shared/redefine_recently_viewed_overrides.rb +16 -0
  78. data/app/overrides/spree/shared/remove_brs_from_login_form.rb +3 -0
  79. data/app/overrides/spree/shared/remove_brs_from_user_form.rb +4 -0
  80. data/app/overrides/spree/shared/replace_products.rb +30 -0
  81. data/app/overrides/spree/shared/replace_taxonomies.rb +5 -0
  82. data/app/overrides/spree/shared/tweak_button_login.rb +5 -0
  83. data/app/overrides/spree/shared/tweak_remember_me_login.rb +6 -0
  84. data/app/overrides/spree/taxons/replace_taxon_children.rb +6 -0
  85. data/app/overrides/spree/taxons/replace_taxon_sidebar_navigation.rb +7 -0
  86. data/app/overrides/spree/user_registrations/redefine_add_socials_to_login_extras.rb +14 -0
  87. data/app/overrides/spree/user_registrations/replace_user_registration_new.rb +11 -0
  88. data/app/overrides/spree/user_sessions/replace_user_sessions_new.rb +39 -0
  89. data/app/overrides/spree/users/redefine_add_wishlists_to_account_my_orders.rb +13 -0
  90. data/app/overrides/spree/users/redefine_replace_account_summary_with_social_logins.rb +44 -0
  91. data/app/overrides/spree/users/remove_account_summary.rb +3 -0
  92. data/app/overrides/spree/users/replace_account_header.rb +4 -0
  93. data/app/overrides/spree/users/replace_account_my_orders.rb +36 -0
  94. data/app/overrides/spree/wishlists/replace_new_wishlist_form.rb +9 -0
  95. data/app/overrides/spree/wishlists/replace_new_wishlist_header.rb +5 -0
  96. data/app/views/spree/shared/_all_products.html.erb +22 -0
  97. data/app/views/spree/shared/_product_banner.html.erb +6 -0
  98. data/app/views/spree/shared/_social_users.html.erb +13 -0
  99. data/app/views/spree/wishlists/show.html.erb +86 -0
  100. data/lib/generators/spree_heist_theme/install/install_generator.rb +17 -0
  101. data/lib/spree_heist_theme.rb +15 -0
  102. data/spree_heist_theme.gemspec +16 -0
  103. data/vendor/assets/images/fancybox/blank.gif +0 -0
  104. data/vendor/assets/images/fancybox/fancy_close.png +0 -0
  105. data/vendor/assets/images/fancybox/fancy_loading.png +0 -0
  106. data/vendor/assets/images/fancybox/fancy_nav_left.png +0 -0
  107. data/vendor/assets/images/fancybox/fancy_nav_right.png +0 -0
  108. data/vendor/assets/images/fancybox/fancy_shadow_e.png +0 -0
  109. data/vendor/assets/images/fancybox/fancy_shadow_n.png +0 -0
  110. data/vendor/assets/images/fancybox/fancy_shadow_ne.png +0 -0
  111. data/vendor/assets/images/fancybox/fancy_shadow_nw.png +0 -0
  112. data/vendor/assets/images/fancybox/fancy_shadow_s.png +0 -0
  113. data/vendor/assets/images/fancybox/fancy_shadow_se.png +0 -0
  114. data/vendor/assets/images/fancybox/fancy_shadow_sw.png +0 -0
  115. data/vendor/assets/images/fancybox/fancy_shadow_w.png +0 -0
  116. data/vendor/assets/images/fancybox/fancy_title_left.png +0 -0
  117. data/vendor/assets/images/fancybox/fancy_title_main.png +0 -0
  118. data/vendor/assets/images/fancybox/fancy_title_over.png +0 -0
  119. data/vendor/assets/images/fancybox/fancy_title_right.png +0 -0
  120. data/vendor/assets/images/fancybox/fancybox-x.png +0 -0
  121. data/vendor/assets/images/fancybox/fancybox-y.png +0 -0
  122. data/vendor/assets/images/fancybox/fancybox.png +0 -0
  123. data/vendor/assets/javascripts/jquery.easing-1.3.pack.js +72 -0
  124. data/vendor/assets/javascripts/jquery.fancybox-1.3.4.js +1156 -0
  125. data/vendor/assets/javascripts/jquery.fancybox-1.3.4.pack.js +46 -0
  126. data/vendor/assets/javascripts/jquery.mousewheel-3.0.4.pack.js +14 -0
  127. data/vendor/assets/stylesheets/jq-autocomplete.css +48 -0
  128. data/vendor/assets/stylesheets/jq-mobile-1.0a2.css +866 -0
  129. data/vendor/assets/stylesheets/jquery.fancybox-1.3.4.css +359 -0
  130. metadata +174 -0
@@ -0,0 +1,31 @@
1
+ body#login #social_login {
2
+ float: left;
3
+ width: 46%;
4
+ padding: 0px 2%;
5
+ }
6
+
7
+ body#login #local_login {
8
+ float: left;
9
+ width: 46%;
10
+ padding: 0px 2%;
11
+ }
12
+
13
+ #social_login p.social_link{
14
+ margin: 20px 25%;
15
+ }
16
+
17
+ body#login form {
18
+ width: 70%;
19
+ }
20
+
21
+ body#login #local_login input[type='text'] {
22
+ width: 100%
23
+ }
24
+
25
+ body#login #local_login input[type='password'] {
26
+ width: 100%
27
+ }
28
+
29
+ body#login #local_login .button {
30
+ margin: 0 33%;
31
+ }
@@ -0,0 +1,85 @@
1
+ header a, #banner nav ul li a {
2
+ text-transform: uppercase;
3
+ text-decoration: none;
4
+ }
5
+
6
+ /* for image replacement */
7
+ .ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
8
+
9
+ /* Hide for both screenreaders and browsers
10
+ css-discuss.incutio.com/wiki/Screenreader_Visibility */
11
+ .hidden { display: none; visibility: hidden; }
12
+
13
+ /* Hide only visually, but have it available for screenreaders
14
+ www.webaim.org/techniques/css/invisiblecontent/ & j.mp/visuallyhidden
15
+ Updated to ensure no other style overrides the styles defined in this rule */
16
+ .visuallyHidden {
17
+ border: 0 !important;
18
+ clip: rect(0 0 0 0);
19
+ height: 1px !important;
20
+ margin: -1px !important;
21
+ overflow: hidden !important;
22
+ padding: 0 !important;
23
+ position: absolute !important;
24
+ width: 1px !important;
25
+ }
26
+
27
+ /* Hide visually and from screenreaders, but maintain layout */
28
+ .invisible { visibility: hidden; }
29
+
30
+ /* >> The Magnificent CLEARFIX: Updated to prevent margin-collapsing on child elements << j.mp/bestclearfix */
31
+ .clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; visibility: hidden; }
32
+ .clearfix:after { clear: both; }
33
+ /* fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
34
+ .clearfix { zoom: 1; }
35
+ /* Textual Styles */
36
+ span.bold {font-weight: bold;}
37
+
38
+ .inline { display: inline }
39
+
40
+
41
+
42
+ /*
43
+ * media queries for responsive design
44
+ * these follow after primary styles so they will successfully override.
45
+ */
46
+
47
+ @media all and (orientation:portrait) {
48
+ /* style adjustments for portrait mode goes here */
49
+
50
+ }
51
+
52
+ @media all and (orientation:landscape) {
53
+ /* style adjustments for landscape mode goes here */
54
+
55
+ }
56
+
57
+ /* Grade-A Mobile Browsers (Opera Mobile, Mobile Safari, Android Chrome)
58
+ consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */
59
+ @media screen and (max-device-width: 480px) {
60
+
61
+
62
+ /* uncomment if you don't want iOS and WinMobile to mobile-optimize the text for you
63
+ j.mp/textsizeadjust
64
+ html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
65
+ }
66
+
67
+ /*
68
+ * print styles
69
+ * inlined to avoid required HTTP connection www.phpied.com/delay-loading-your-print-css/
70
+ */
71
+ @media print {
72
+ * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
73
+ -ms-filter: none !important; } /* black prints faster: sanbeiji.com/archives/953 */
74
+ a, a:visited { color: #444 !important; text-decoration: underline; }
75
+ a[href]:after { content: " (" attr(href) ")"; }
76
+ abbr[title]:after { content: " (" attr(title) ")"; }
77
+ .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } /* don't show links for images, or javascript/internal links */
78
+ pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
79
+ thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
80
+ tr, img { page-break-inside: avoid; }
81
+ @page { margin: 0.5cm; }
82
+ p, h2, h3 { orphans: 3; widows: 3; }
83
+ h2, h3{ page-break-after: avoid; }
84
+ }
85
+
@@ -0,0 +1,133 @@
1
+ body#product-list h1, body#product-details h1 {
2
+ margin: 0px;
3
+ }
4
+ body#product-details #product-images {
5
+ width: 380px;
6
+ margin-bottom: 20px;
7
+ }
8
+
9
+ body#product-details #cart-form {
10
+ width: 220px;
11
+ }
12
+
13
+ body#product-details #product-images, body#product-details #cart-form {
14
+ float: left;
15
+ }
16
+
17
+ body#product-details #product-description {
18
+ clear: left;
19
+ border-top: 1px solid #A3A3A3;
20
+ padding-top: 10px;
21
+ }
22
+
23
+ #product-images #main-image {
24
+ width: 350px;
25
+ text-align: center;
26
+ min-height: 240px;
27
+ }
28
+
29
+ #product-images #thumbnails ul {
30
+ list-style: none;
31
+ background-color: #ff0;
32
+ }
33
+
34
+ #product-images #thumbnails li {
35
+ background-color: #0ff;
36
+ }
37
+
38
+ #product-images #thumbnails li a {
39
+ display: block;
40
+ width: 45px;
41
+ float: left;
42
+ border: 2px solid #CCC;
43
+ margin: 2px;
44
+ text-align: center;
45
+ border-image: initial;
46
+ }
47
+
48
+ #product-images #thumbnails li a img {
49
+ width: 45px;
50
+ }
51
+
52
+ #product-images #thumbnails li a:hover {
53
+ border: 2px solid #31519A;
54
+ }
55
+
56
+ #cart-form {
57
+ margin-bottom: 20px;
58
+ }
59
+
60
+ #cart-form form {
61
+ width: 220px;
62
+ }
63
+
64
+ #cart-form dl {
65
+ font-size: 1.2em;
66
+ width: 100%;
67
+ margin: 0;
68
+ padding: 5px 0 5px 0;
69
+ }
70
+
71
+ #cart-form dt, #cart-form dd {
72
+ float: left;
73
+ line-height: 1.5em;
74
+ }
75
+
76
+ #cart-form dt {
77
+ clear: left;
78
+ color: #666;
79
+ width: 140px;
80
+ }
81
+
82
+ #cart-form dd {
83
+ width: 80px;
84
+ text-align: right;
85
+ font-size: 1.1em;
86
+ }
87
+
88
+ #cart-form dd .price {
89
+ font-size: 1em;
90
+ }
91
+
92
+ hr {
93
+ clear: left;
94
+ visibility: hidden;
95
+ }
96
+
97
+ #cart-form dl.part-numbers {
98
+ font-size: 0.8em;
99
+ }
100
+
101
+ dl.prices {
102
+ border-top: 1px solid #A7A7A7;
103
+ border-bottom: 1px solid #A7A7A7;
104
+ }
105
+
106
+ dl.part-numbers dd {
107
+ font-weight: bold;
108
+ }
109
+
110
+ #cart-form .extras input {
111
+ float: left;
112
+ height: 30px;
113
+ }
114
+
115
+ #cart-form .extras label {
116
+ margin-left: 20px;
117
+ display: block;
118
+ }
119
+
120
+ #product-variants ul{
121
+ margin: 0;
122
+ list-style: none;
123
+ }
124
+ #product-variants ul li {
125
+ margin-bottom: 10px;
126
+ }
127
+ #product-variants ul li span.price {
128
+ font-size: 12px;
129
+ color: red;
130
+ }
131
+ #product-variants ul li label {
132
+ display: inline;
133
+ }
@@ -0,0 +1,16 @@
1
+ /*
2
+ *= require store/reset
3
+ *= require store/typography
4
+ *= require store/misc
5
+ *= require store/display
6
+ *= require store/taxonomy
7
+ *= require store/products
8
+ *= require store/cart
9
+ *= require store/checkout
10
+ *= require store/login
11
+ *= require store/social
12
+ *= require store/errors
13
+ *= require store/auth-buttons
14
+ *= require jq-autocomplete
15
+ *= require jq-mobile-1.0a2
16
+ */
@@ -0,0 +1,72 @@
1
+ /*
2
+ HTML5 ✰ Boilerplate
3
+
4
+ style.css contains a reset, font normalization and some base styles.
5
+
6
+ credit is left where credit is due.
7
+ much inspiration was taken from these projects:
8
+ yui.yahooapis.com/2.8.1/build/base/base.css
9
+ camendesign.com/design/
10
+ praegnanz.de/weblog/htmlcssjs-kickstart
11
+ */
12
+
13
+ /*
14
+ html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
15
+ v1.6.1 2010-09-17 | Authors: Eric Meyer & Richard Clark
16
+ html5doctor.com/html-5-reset-stylesheet/
17
+ */
18
+
19
+ html, body, div, span, object, iframe,
20
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
21
+ abbr, address, cite, code,
22
+ del, dfn, em, img, ins, kbd, q, samp,
23
+ small, strong, sub, sup, var,
24
+ b, i,
25
+ dl, dt, dd, ol, ul, li,
26
+ fieldset, form, label, legend,
27
+ table, caption, tbody, tfoot, thead, tr, th, td,
28
+ article, aside, canvas, details, figcaption, figure,
29
+ footer, header, hgroup, menu, nav, section, summary,
30
+ time, mark, audio, video {
31
+ margin:0;
32
+ padding:0;
33
+ border:0;
34
+ outline:0;
35
+ font-size:100%;
36
+ vertical-align:baseline;
37
+ background:transparent;
38
+ }
39
+
40
+ article, aside, details, figcaption, figure,
41
+ footer, header, hgroup, menu, nav, section {
42
+ display:block;
43
+ }
44
+
45
+ nav ul { list-style:none; }
46
+
47
+ blockquote, q { quotes:none; }
48
+
49
+ blockquote:before, blockquote:after,
50
+ q:before, q:after { content:''; content:none; }
51
+
52
+ a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }
53
+
54
+ ins { background-color:#ff9; color:#000; text-decoration:none; }
55
+
56
+ mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
57
+
58
+ del { text-decoration: line-through; }
59
+
60
+ abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }
61
+
62
+ /* tables still need cellspacing="0" in the markup */
63
+ table { border-collapse:collapse; border-spacing:0; }
64
+
65
+ hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
66
+
67
+ input, select { vertical-align:middle; }
68
+
69
+ /* END RESET CSS */
70
+
71
+
72
+
File without changes
@@ -0,0 +1,61 @@
1
+ .authentications {
2
+ margin-bottom: 30px;
3
+ }
4
+
5
+ .authentication {
6
+ float: left;
7
+ background-color: #EEE;
8
+ border: solid 1px #999;
9
+ padding: 5px 10px;
10
+ -moz-border-radius: 8px;
11
+ -webkit-border-radius: 8px;
12
+ position: relative;
13
+ margin-right: 10px;
14
+ }
15
+
16
+ .authentication .remove {
17
+ text-decoration: none;
18
+ position: absolute;
19
+ top: 3px;
20
+ right: 3px;
21
+ color: #333;
22
+ padding: 2px 4px;
23
+ font-size: 10px;
24
+ }
25
+
26
+ .authentication .remove:hover {
27
+ color: #FFF;
28
+ background-color: #777;
29
+ -moz-border-radius: 7px;
30
+ -webkit-border-radius: 7px;
31
+ }
32
+
33
+ .authentication img {
34
+ float: left;
35
+ }
36
+
37
+ .authentication .provider, .authentication .uid {
38
+ margin-left: 38px;
39
+ margin-right: 20px;
40
+ }
41
+
42
+ .authentication .provider {
43
+ font-weight: bold;
44
+ }
45
+
46
+ .authentication .uid {
47
+ color: #666;
48
+ font-size: 11px;
49
+ }
50
+
51
+ .auth_provider img {
52
+ display: block;
53
+ }
54
+
55
+ .auth_provider {
56
+ float: left;
57
+ text-decoration: none;
58
+ margin-right: 20px;
59
+ text-align: center;
60
+ margin-bottom: 10px;
61
+ }
File without changes
@@ -0,0 +1,72 @@
1
+ body#product-list, body#product-details {
2
+ background-image: url(<%= asset_path 'store/bg.jpg' %>);
3
+ }
4
+
5
+ body#product-details #banner, body#product-list #banner {
6
+ height: 143px;
7
+ background-repeat: no-repeat;
8
+ margin-bottom: 30px;
9
+ }
10
+
11
+ body#product-details #banner, body#product-list #banner {
12
+ position: relative;
13
+ }
14
+ body#product-details #banner h1, body#product-list #banner h1 {
15
+ position: absolute;
16
+ color: #fff;
17
+ font-family: Trebuchet MS;
18
+ font-size: 4em;
19
+ line-height: 140px;
20
+ text-shadow: rgba(0,0,0,1) 1px 1px 2px;
21
+ }
22
+
23
+ body#product-list #banner img {
24
+ position: absolute;
25
+ top: 0; left: 0;
26
+ z-index: 1;
27
+ }
28
+
29
+ body#product-list #main, body#product-details #main, body#content #main {
30
+ width: 600px;
31
+ float: left;
32
+ margin-right: 70px;
33
+ }
34
+
35
+ #sidebar {
36
+ width: 290px;
37
+ float: left;
38
+ }
39
+
40
+ body#product-list .product {
41
+ border-top: 1px solid #a3a3a3;
42
+ border-bottom: 1px solid #a3a3a3;
43
+ margin-top: -1px;
44
+ }
45
+
46
+ body#product-list .product h2 {
47
+ font-size: 1.5em;
48
+ margin: 10px 0 0;
49
+ }
50
+
51
+ body#product-list .product .image {
52
+ width: 280px;
53
+ float: left;
54
+ margin-bottom: 10px;
55
+ }
56
+
57
+ body#product-list .product .details {
58
+ float: left;
59
+ width: 320px;
60
+ }
61
+
62
+ body#product-list .product .details p {
63
+ margin: 14px 0;
64
+ }
65
+
66
+ body#product-list .product .description {
67
+ clear: left;
68
+ }
69
+
70
+ body#product-list #main .list {
71
+ margin-bottom: 20px;
72
+ }
@@ -0,0 +1,167 @@
1
+ /* fonts.css from the YUI Library: developer.yahoo.com/yui/
2
+ refer to developer.yahoo.com/yui/3/cssfonts/ for font sizing percentages
3
+
4
+ there are three custom edits:
5
+ * remove arial, helvetica from explicit font stack
6
+ * we normalize monospace styles ourselves
7
+ * table font-size is reset in the HTML5 reset above so there is no need to repeat
8
+ */
9
+ body { font:13px/1.231 sans-serif; *font-size:small; } /* hack retained to preserve specificity */
10
+
11
+ select, input, textarea, button { font:99% sans-serif; }
12
+
13
+ /* normalize monospace sizing
14
+ * en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome
15
+ */
16
+ pre, code, kbd, samp { font-family: monospace, sans-serif; }
17
+
18
+
19
+ /*
20
+ * minimal base styles
21
+ */
22
+
23
+
24
+ body, select, input, textarea {
25
+ color: #222;
26
+ }
27
+
28
+ #main p {
29
+ line-height: 1.4em;
30
+ }
31
+ #main p {
32
+ line-height: 1.4em;
33
+ }
34
+ #main p, #main h2, #main h3, #main dl, #main ul, #main table {
35
+ margin-bottom: 1em;
36
+ }
37
+ #main ul {
38
+ list-style: disc;
39
+ margin-left: 20px;
40
+ }
41
+
42
+
43
+ /* headers (h1,h2,etc) have no default font-size or margin,
44
+ you'll want to define those yourself. */
45
+ h1,h2,h3,h4,h5,h6 { font-weight: bold; }
46
+
47
+ h2, h3 { font-family: Trebuchet MS }
48
+
49
+ /* always force a scrollbar in non-IE: */
50
+ html { overflow-y: scroll; }
51
+
52
+
53
+ /* accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
54
+ a:hover, a:active { outline: none; }
55
+
56
+ a, a:active, a:visited { color: #31519A; }
57
+ a:hover { color: #036; }
58
+
59
+
60
+ ol { list-style-type: decimal; }
61
+
62
+ /* remove margins for navigation lists */
63
+ nav ul, nav li { margin: 0; }
64
+
65
+ small { font-size: 85%; }
66
+ strong, th { font-weight: bold; }
67
+
68
+ td { vertical-align: top; }
69
+
70
+ /* set sub, sup without affecting line-height: gist.github.com/413930*/
71
+ sub, sup { font-size: 75%; line-height: 0; position: relative; }
72
+ sup { top: -0.5em; }
73
+ sub { bottom: -0.25em; }
74
+
75
+ pre {
76
+ padding: 15px;
77
+
78
+ /* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
79
+ white-space: pre; /* CSS2 */
80
+ white-space: pre-wrap; /* CSS 2.1 */
81
+ white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
82
+ word-wrap: break-word; /* IE */
83
+ }
84
+
85
+ textarea { overflow: auto; } /* www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */
86
+
87
+ .ie6 legend, .ie7 legend { margin-left: -7px; } /* thnx ivannikolic! */
88
+
89
+ /* align checkboxes, radios, text inputs with their label
90
+ by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css */
91
+ input[type="radio"] { vertical-align: text-bottom; }
92
+ input[type="checkbox"] { vertical-align: baseline; }
93
+ .ie7 input[type="checkbox"] { vertical-align: baseline; }
94
+ .ie6 input { vertical-align: text-bottom; }
95
+
96
+ /* hand cursor on clickable input elements */
97
+ label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }
98
+
99
+ /* webkit browsers add a 2px margin outside the chrome of form elements */
100
+ button, input, select, textarea { margin: 0; }
101
+
102
+ /* colors for form validity */
103
+ input:valid, textarea:valid { }
104
+ input:invalid, textarea:invalid {
105
+ border-radius: 1px;
106
+ -moz-box-shadow: 0px 0px 5px red;
107
+ -webkit-box-shadow: 0px 0px 5px red;
108
+ box-shadow: 0px 0px 5px red;
109
+ }
110
+ .no-boxshadow input:invalid,
111
+ .no-boxshadow textarea:invalid { background-color: #f0dddd; }
112
+
113
+
114
+ /* These selection declarations have to be separate.
115
+ No text-shadow: twitter.com/miketaylr/status/12228805301
116
+ Also: hot pink. */
117
+ ::-moz-selection{ background: #0095da; color:#fff; text-shadow: none; }
118
+ ::selection { background:#0095da; color:#fff; text-shadow: none; }
119
+
120
+ /* j.mp/webkit-tap-highlight-color */
121
+ a:link { -webkit-tap-highlight-color: #FF5E99; }
122
+
123
+ /* make buttons play nice in IE:
124
+ www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
125
+ button { width: auto; overflow: visible; }
126
+
127
+ /* bicubic resizing for non-native sized IMG:
128
+ code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
129
+ .ie7 img { -ms-interpolation-mode: bicubic; }
130
+
131
+
132
+ span.price {
133
+ font-size: 1.5em;
134
+ }
135
+ span.price.discounted {
136
+ color: #f00;
137
+ text-decoration: line-through;
138
+ }
139
+ span.price.selling {
140
+ font-weight: bold;
141
+ }
142
+
143
+ h1{
144
+ color: #D3D3D3;
145
+ font: normal normal 3.5em Arvo;
146
+ text-transform: uppercase;
147
+ margin: 60px 0 20px 0;
148
+ padding-bottom: 10px;
149
+ }
150
+
151
+ h1 a {
152
+ margin-left: 20px;
153
+ text-transform:lowercase;
154
+ }
155
+
156
+ h2{
157
+ font: normal normal 2em Arvo;
158
+ text-transform: uppercase;
159
+ margin: 30px 0 10px 0;
160
+ padding-bottom: 10px;
161
+ }
162
+
163
+ h3 {
164
+ color: #777;
165
+ font: normal normal 2em Arvo;
166
+ margin-bottom: 10px;
167
+ }
@@ -0,0 +1,4 @@
1
+ Deface::Override.new(:virtual_path => 'shared/_recently_viewed_products',
2
+ :name => 'replace_rescently_viewed_products_block_title',
3
+ :replace => "h3",
4
+ :text => %q{<h2><%= t(:recently_viewed) %></h2>})
@@ -0,0 +1,3 @@
1
+ Deface::Override.new(:virtual_path => %q{spree/checkout/payment/_gateway},
2
+ :name => %q{remove_card_expiration},
3
+ :remove => %q{[data-hook='card_expiration']})
@@ -0,0 +1,3 @@
1
+ Deface::Override.new(:virtual_path => %q{spree/checkout/payment/_gateway},
2
+ :name => %q{remove_cart_code},
3
+ :remove => %q{[data-hook='cart_code']})
@@ -0,0 +1,5 @@
1
+ Deface::Override.new(:virtual_path => %q{spree/checkout/payment/_gateway},
2
+ :name => %q{remove_gateway_icons},
3
+ :remove => %q{code[erb-loud]:contains('image_tag')},
4
+ :sequence => {:before => 'replace_gateway_fields' })
5
+
@@ -0,0 +1,26 @@
1
+ Deface::Override.new(:virtual_path => %q{spree/checkout/payment/_gateway},
2
+ :name => %q{replace_gateway_fields},
3
+ :replace => %q{[data-hook='card_number']},
4
+ :text => %q{<li class="payment_method <%= payment_method.id %>" style="display:<%= checked == payment_method.id ? "block" : "none" %>;">
5
+ <h2>Your Credit Card Information</h2>
6
+ <% ['mastercard', 'visa', 'american-express', 'discover'].each do |card| %>
7
+ <%= image_tag "store/icons/#{card}-curved-32px.png", :alt => card.capitalize %>
8
+ <% end %>
9
+ </li>
10
+
11
+ <li class="payment_method <%= payment_method.id %> three-quart" style="display:<%= checked == payment_method.id ? "block" : "none" %>;">
12
+ <label>Credit card number</label>
13
+ <% options_hash = Rails.env.production? ? {:autocomplete => "off"} : {} %>
14
+ <%= text_field_tag "#{param_prefix}[number]", '', options_hash.merge(:class => 'required', :size => 19, :maxlength => 19) %>
15
+ </li>
16
+
17
+ <li class="payment_method <%= payment_method.id %> quart last" style="display:<%= checked == payment_method.id ? "block" : "none" %>;">
18
+ <label>Security code</label>
19
+ <%= text_field_tag "#{param_prefix}[verification_value]", '', options_hash.merge(:class => 'required', :size => 5) %>
20
+ </li>
21
+
22
+ <li class="payment_method <%= payment_method.id %>" style="display:<%= checked == payment_method.id ? "block" : "none" %>;">
23
+ <label>Expiration</label>
24
+ <%= select_month(Date.today, {:prefix => param_prefix, :field_name => 'month', :use_month_numbers => true}, :class => 'required half') %>
25
+ <%= select_year(Date.today, {:prefix => param_prefix, :field_name => 'year', :start_year => Date.today.year, :end_year => Date.today.year + 15}, :class => 'required half last') %>
26
+ </li>})