spree_core 1.0.0.rc2 → 1.0.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/images/creditcards/icons/american_express.png +0 -0
- data/app/assets/images/creditcards/icons/cirrus.png +0 -0
- data/app/assets/images/creditcards/icons/delta.png +0 -0
- data/app/assets/images/creditcards/icons/dinersclub.png +0 -0
- data/app/assets/images/creditcards/icons/directdebit.png +0 -0
- data/app/assets/images/creditcards/icons/discover.png +0 -0
- data/app/assets/images/creditcards/icons/egold.png +0 -0
- data/app/assets/images/creditcards/icons/maestro.png +0 -0
- data/app/assets/images/creditcards/icons/master.png +0 -0
- data/app/assets/images/creditcards/icons/paypal.png +0 -0
- data/app/assets/images/creditcards/icons/solo.png +0 -0
- data/app/assets/images/creditcards/icons/switch.png +0 -0
- data/app/assets/images/creditcards/icons/visa.png +0 -0
- data/app/assets/images/creditcards/icons/visaelectron.png +0 -0
- data/app/assets/images/creditcards/icons/westernunion.png +0 -0
- data/app/assets/images/creditcards/icons/wirecard.png +0 -0
- data/app/assets/images/creditcards/icons/worldpay.png +0 -0
- data/app/assets/images/store/cart.png +0 -0
- data/app/assets/images/store/select_arrow.gif +0 -0
- data/app/assets/javascripts/admin/admin.js.erb +42 -40
- data/app/assets/javascripts/admin/orders/edit.js +1 -6
- data/app/assets/javascripts/admin/spree_core.js +1 -0
- data/app/assets/javascripts/store/cart.js +2 -2
- data/app/assets/javascripts/store/helpers.js.erb +2 -0
- data/app/assets/javascripts/store/spree_core.js +2 -0
- data/app/assets/stylesheets/store/base.css +387 -0
- data/app/assets/stylesheets/store/screen.css.scss +988 -0
- data/app/assets/stylesheets/store/spree_core.css +3 -2
- data/app/controllers/spree/admin/general_settings_controller.rb +2 -1
- data/app/controllers/spree/admin/orders_controller.rb +1 -1
- data/app/helpers/spree/base_helper.rb +9 -6
- data/app/models/spree/activator.rb +0 -1
- data/app/models/spree/adjustment.rb +7 -3
- data/app/models/spree/app_configuration.rb +34 -33
- data/app/models/spree/calculator/flexi_rate.rb +4 -4
- data/app/models/spree/order.rb +6 -1
- data/app/models/spree/payment.rb +7 -4
- data/app/models/spree/preferences/store.rb +3 -0
- data/app/models/spree/product.rb +8 -2
- data/app/views/spree/admin/general_settings/edit.html.erb +1 -1
- data/app/views/spree/admin/option_types/index.html.erb +1 -1
- data/app/views/spree/admin/shared/_order_details.html.erb +50 -2
- data/app/views/spree/admin/shared/_product_tabs.html.erb +1 -1
- data/app/views/spree/checkout/_address.html.erb +15 -13
- data/app/views/spree/checkout/_confirm.html.erb +1 -1
- data/app/views/spree/checkout/_delivery.html.erb +3 -1
- data/app/views/spree/checkout/_payment.html.erb +2 -1
- data/app/views/spree/checkout/_summary.html.erb +1 -0
- data/app/views/spree/checkout/edit.html.erb +22 -12
- data/app/views/spree/checkout/payment/_gateway.html.erb +1 -3
- data/app/views/spree/checkout/registration.html.erb +2 -2
- data/app/views/spree/layouts/spree_application.html.erb +57 -26
- data/app/views/spree/orders/_line_item.html.erb +1 -1
- data/app/views/spree/orders/edit.html.erb +8 -8
- data/app/views/spree/orders/show.html.erb +11 -3
- data/app/views/spree/products/_cart_form.html.erb +27 -22
- data/app/views/spree/products/_image.html.erb +2 -2
- data/app/views/spree/products/_properties.html.erb +13 -8
- data/app/views/spree/products/_taxons.html.erb +2 -2
- data/app/views/spree/products/_thumbnails.html.erb +1 -1
- data/app/views/spree/products/index.html.erb +1 -1
- data/app/views/spree/products/show.html.erb +38 -17
- data/app/views/spree/shared/_head.html.erb +17 -1
- data/app/views/spree/shared/_nav_bar.html.erb +1 -4
- data/app/views/spree/shared/_order_details.html.erb +85 -26
- data/app/views/spree/shared/_products.html.erb +10 -9
- data/app/views/spree/shared/_store_menu.html.erb +1 -2
- data/app/views/spree/shared/_taxonomies.html.erb +3 -3
- data/app/views/spree/taxons/_taxon.html.erb +1 -1
- data/app/views/spree/taxons/show.html.erb +1 -1
- data/config/locales/en.yml +2 -0
- data/config/routes.rb +2 -1
- data/db/migrate/{20111128153359_new_preferences.rb → 20120119024710_new_preferences.rb} +11 -9
- data/lib/generators/spree/install/install_generator.rb +13 -3
- data/lib/generators/spree/install/templates/config/initializers/spree.rb +5 -2
- data/lib/spree/core/controller_helpers.rb +3 -2
- data/lib/spree/core/engine.rb +1 -0
- data/lib/spree/core/permalinks.rb +4 -1
- data/lib/spree/core/testing_support/common_rake.rb +1 -1
- data/lib/spree/core/version.rb +1 -1
- data/vendor/assets/javascripts/jquery.formalize.min.js +1 -0
- data/vendor/assets/stylesheets/jquery.formalize.css +364 -0
- metadata +54 -32
- data/app/assets/stylesheets/store/reset.css +0 -175
- data/app/assets/stylesheets/store/screen.css +0 -127
@@ -0,0 +1,988 @@
|
|
1
|
+
/*--------------------------------------*/
|
2
|
+
/* Colors
|
3
|
+
/*--------------------------------------*/
|
4
|
+
$c_base: #404042; /* Dark gray */
|
5
|
+
$c_gray1: #bbbbbb; /* Mid light gray */
|
6
|
+
$c_colored: #00ADEE; /* Light blue */
|
7
|
+
$c_colored_alt: #f0f8ff; /* Lighter blue */
|
8
|
+
$c_border: #dedede; /* Light gray */
|
9
|
+
$c_green: #8dba53; /* Spree green */
|
10
|
+
$c_red: #e45353; /* Error red */
|
11
|
+
|
12
|
+
/*--------------------------------------*/
|
13
|
+
/* Basic styles
|
14
|
+
/*--------------------------------------*/
|
15
|
+
body {
|
16
|
+
font-family: 'Ubuntu', sans-serif;
|
17
|
+
color: $c_base;
|
18
|
+
line-height: 18px;
|
19
|
+
font-size: 12px;
|
20
|
+
}
|
21
|
+
|
22
|
+
/* Custom text-selection colors (remove any text shadows: twitter.com/miketaylr/status/12228805301) */
|
23
|
+
::-moz-selection{background: $c_colored; color: white; text-shadow: none;}
|
24
|
+
::selection {background: $c_colored; color: white; text-shadow: none;}
|
25
|
+
|
26
|
+
/* j.mp/webkit-tap-highlight-color */
|
27
|
+
a:link {-webkit-tap-highlight-color: $c_colored;}
|
28
|
+
|
29
|
+
ins {background-color: $c_colored; color: white; text-decoration: none;}
|
30
|
+
mark {background-color: $c_colored; color: white; font-style: italic; font-weight: bold;}
|
31
|
+
|
32
|
+
/*--------------------------------------*/
|
33
|
+
/* Links
|
34
|
+
/*--------------------------------------*/
|
35
|
+
a {
|
36
|
+
text-decoration: none;
|
37
|
+
color: $c_base;
|
38
|
+
|
39
|
+
&:hover {
|
40
|
+
color: $c_colored !important;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
/*--------------------------------------*/
|
45
|
+
/* Lists
|
46
|
+
/*--------------------------------------*/
|
47
|
+
ul, ol {
|
48
|
+
li {
|
49
|
+
|
50
|
+
}
|
51
|
+
|
52
|
+
&.inline {
|
53
|
+
li {
|
54
|
+
display: inline-block;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
|
60
|
+
dl {
|
61
|
+
dt, dd {
|
62
|
+
display: inline-block;
|
63
|
+
width: 50%;
|
64
|
+
padding: 5px;
|
65
|
+
|
66
|
+
&.odd {
|
67
|
+
background-color: $c_border;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
dt {
|
71
|
+
font-weight: bold;
|
72
|
+
text-transform: uppercase;
|
73
|
+
}
|
74
|
+
dd {
|
75
|
+
margin-left: -23px;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
|
80
|
+
/*--------------------------------------*/
|
81
|
+
/* Headers
|
82
|
+
/*--------------------------------------*/
|
83
|
+
h1, h2, h3, h4, h5, h6 {
|
84
|
+
font-weight: bold;
|
85
|
+
}
|
86
|
+
h1 { font-size: 24px; line-height: 34px; }
|
87
|
+
h2 { font-size: 23px; line-height: 32px; }
|
88
|
+
h3 { font-size: 20px; line-height: 30px; }
|
89
|
+
h4 { font-size: 18px; line-height: 28px; }
|
90
|
+
h5 { font-size: 16px; line-height: 26px; }
|
91
|
+
h6 { font-size: 14px; line-height: 24px; }
|
92
|
+
|
93
|
+
|
94
|
+
/*--------------------------------------*/
|
95
|
+
/* Forms
|
96
|
+
/*--------------------------------------*/
|
97
|
+
textarea, input[type="date"],
|
98
|
+
input[type="datetime"], input[type="datetime-local"],
|
99
|
+
input[type="email"], input[type="month"], input[type="number"],
|
100
|
+
input[type="password"], input[type="search"], input[type="tel"],
|
101
|
+
input[type="text"], input[type="time"], input[type="url"],
|
102
|
+
input[type="week"] {
|
103
|
+
border: 1px solid $c_border;
|
104
|
+
padding: 2px 5px;
|
105
|
+
font-family: "Ubuntu", sans-serif;
|
106
|
+
|
107
|
+
&:active, &:focus {
|
108
|
+
border-color: $c_colored;
|
109
|
+
outline: none;
|
110
|
+
-webkit-box-shadow: none;
|
111
|
+
-moz-box-shadow: none;
|
112
|
+
-o-box-shadow: none;
|
113
|
+
box-shadow: none;
|
114
|
+
}
|
115
|
+
|
116
|
+
&.error {
|
117
|
+
border-color: $c_red;
|
118
|
+
}
|
119
|
+
}
|
120
|
+
|
121
|
+
select {
|
122
|
+
border: 1px solid $c_border;
|
123
|
+
font-family: "Ubuntu", sans-serif;
|
124
|
+
}
|
125
|
+
|
126
|
+
label.error {
|
127
|
+
display: block;
|
128
|
+
font-size: 11px;
|
129
|
+
color: $c_red;
|
130
|
+
margin-top: 3px;
|
131
|
+
}
|
132
|
+
|
133
|
+
input[type="submit"], input[type="button"],
|
134
|
+
input[type= "reset"], button, a.button {
|
135
|
+
background-color: $c_colored;
|
136
|
+
background-image: none;
|
137
|
+
text-shadow: none;
|
138
|
+
color: white;
|
139
|
+
font-weight: bold;
|
140
|
+
font-family: "Ubuntu", sans-serif;
|
141
|
+
border: 1px solid rgba(0, 138, 189, .75);
|
142
|
+
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
|
143
|
+
-khtml-box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
|
144
|
+
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
|
145
|
+
-ms-box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
|
146
|
+
-o-box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
|
147
|
+
box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
|
148
|
+
-webkit-border-radius: 0px;
|
149
|
+
-khtml-border-radius: 0px;
|
150
|
+
-moz-border-radius: 0px;
|
151
|
+
-ms-border-radius: 0px;
|
152
|
+
-o-border-radius: 0px;
|
153
|
+
border-radius: 0px;
|
154
|
+
|
155
|
+
// font-size: 13px;
|
156
|
+
vertical-align: text-top;
|
157
|
+
|
158
|
+
&.large {
|
159
|
+
padding: 7px 10px;
|
160
|
+
font-size: 14px;
|
161
|
+
}
|
162
|
+
|
163
|
+
&:hover {
|
164
|
+
background-image: none;
|
165
|
+
background-color: $c_base;
|
166
|
+
border-color: $c_base;
|
167
|
+
color: white !important;
|
168
|
+
}
|
169
|
+
}
|
170
|
+
|
171
|
+
.ie8 {
|
172
|
+
a.button {
|
173
|
+
line-height: 16px;
|
174
|
+
}
|
175
|
+
}
|
176
|
+
|
177
|
+
input[type="checkbox"], input[type="button"],
|
178
|
+
input[type="submit"], input[type="reset"],
|
179
|
+
button, label {
|
180
|
+
vertical-align: middle;
|
181
|
+
}
|
182
|
+
|
183
|
+
a.button {
|
184
|
+
display: inline-block;
|
185
|
+
line-height: 15px;
|
186
|
+
margin-top: -2px;
|
187
|
+
vertical-align: bottom;
|
188
|
+
}
|
189
|
+
|
190
|
+
/*--------------------------------------*/
|
191
|
+
/* Footer
|
192
|
+
/*--------------------------------------*/
|
193
|
+
footer#footer {
|
194
|
+
padding: 10px 0;
|
195
|
+
border-top: 1px solid $c_border;
|
196
|
+
}
|
197
|
+
|
198
|
+
/*--------------------------------------*/
|
199
|
+
/* Paragraphs
|
200
|
+
/*--------------------------------------*/
|
201
|
+
p {
|
202
|
+
padding: 10px 0;
|
203
|
+
}
|
204
|
+
|
205
|
+
/*--------------------------------------*/
|
206
|
+
/* Tables
|
207
|
+
/*--------------------------------------*/
|
208
|
+
table {
|
209
|
+
thead {
|
210
|
+
background-color: $c_border;
|
211
|
+
text-transform: uppercase;
|
212
|
+
|
213
|
+
tr {
|
214
|
+
th {
|
215
|
+
padding: 5px 10px;
|
216
|
+
}
|
217
|
+
}
|
218
|
+
}
|
219
|
+
|
220
|
+
tbody, tfoot {
|
221
|
+
tr {
|
222
|
+
border-bottom: 1px solid $c_border;
|
223
|
+
|
224
|
+
td {
|
225
|
+
vertical-align: middle;
|
226
|
+
padding: 5px 10px;
|
227
|
+
}
|
228
|
+
|
229
|
+
&.alt, &.odd {
|
230
|
+
background-color: $c_colored_alt;
|
231
|
+
}
|
232
|
+
}
|
233
|
+
}
|
234
|
+
}
|
235
|
+
|
236
|
+
/*--------------------------------------*/
|
237
|
+
/* Navigation
|
238
|
+
/*--------------------------------------*/
|
239
|
+
nav#top-nav-bar {
|
240
|
+
text-align: right;
|
241
|
+
margin-top: 20px;
|
242
|
+
|
243
|
+
ul {
|
244
|
+
li {
|
245
|
+
margin-bottom: 5px;
|
246
|
+
padding-left: 10px;
|
247
|
+
|
248
|
+
a{
|
249
|
+
font-weight: bold;
|
250
|
+
font-size: 14px;
|
251
|
+
text-transform: uppercase;
|
252
|
+
}
|
253
|
+
}
|
254
|
+
}
|
255
|
+
}
|
256
|
+
|
257
|
+
nav #main-nav-bar {
|
258
|
+
text-transform: uppercase;
|
259
|
+
font-weight: bold;
|
260
|
+
margin-top: 20px;
|
261
|
+
border-bottom: 1px solid $c_border;
|
262
|
+
padding-bottom: 6px;
|
263
|
+
|
264
|
+
li {
|
265
|
+
a {
|
266
|
+
font-size: 16px;
|
267
|
+
padding: 5px;
|
268
|
+
}
|
269
|
+
|
270
|
+
&#link-to-cart {
|
271
|
+
float: right;
|
272
|
+
padding-left: 24px;
|
273
|
+
background: url("cart.png") no-repeat left center;
|
274
|
+
|
275
|
+
&:hover {
|
276
|
+
border-color: $c_colored;
|
277
|
+
|
278
|
+
.amount {
|
279
|
+
border-color: $c_colored;
|
280
|
+
}
|
281
|
+
}
|
282
|
+
|
283
|
+
a {
|
284
|
+
font-weight: normal;
|
285
|
+
font-size: 16px;
|
286
|
+
color: $c_colored;
|
287
|
+
|
288
|
+
.amount {
|
289
|
+
font-size: 18px;
|
290
|
+
font-weight: bold;
|
291
|
+
border-left: 1px solid $c_border;
|
292
|
+
padding-left: 5px;
|
293
|
+
padding-bottom: 8px;
|
294
|
+
}
|
295
|
+
}
|
296
|
+
}
|
297
|
+
}
|
298
|
+
}
|
299
|
+
|
300
|
+
nav#taxonomies {
|
301
|
+
.taxonomy-root {
|
302
|
+
text-transform: uppercase;
|
303
|
+
border-bottom: 1px solid $c_border;
|
304
|
+
margin-bottom: 5px;
|
305
|
+
color: $c_colored;
|
306
|
+
}
|
307
|
+
|
308
|
+
.taxons-list {
|
309
|
+
padding-left: 20px;
|
310
|
+
margin-bottom: 20px;
|
311
|
+
list-style: disc outside;
|
312
|
+
}
|
313
|
+
}
|
314
|
+
|
315
|
+
#breadcrumbs {
|
316
|
+
border-bottom: 1px solid $c_border;
|
317
|
+
padding: 3px 0;
|
318
|
+
margin-bottom: 15px;
|
319
|
+
|
320
|
+
li {
|
321
|
+
a {
|
322
|
+
color: $c_colored;
|
323
|
+
}
|
324
|
+
span {
|
325
|
+
text-transform: uppercase;
|
326
|
+
font-weight: bold;
|
327
|
+
}
|
328
|
+
}
|
329
|
+
}
|
330
|
+
|
331
|
+
/*--------------------------------------*/
|
332
|
+
/* Flash notices & errors
|
333
|
+
/*--------------------------------------*/
|
334
|
+
.flash {
|
335
|
+
padding: 10px;
|
336
|
+
color: white;
|
337
|
+
font-weight: bold;
|
338
|
+
margin-bottom: 10px;
|
339
|
+
|
340
|
+
&.notice {
|
341
|
+
background-color: $c_colored;
|
342
|
+
}
|
343
|
+
&.success {
|
344
|
+
background-color: $c_green;
|
345
|
+
}
|
346
|
+
&.error {
|
347
|
+
background-color: $c_red;
|
348
|
+
}
|
349
|
+
}
|
350
|
+
|
351
|
+
.errorExplanation {
|
352
|
+
@extend .flash.error;
|
353
|
+
@extend .flash;
|
354
|
+
|
355
|
+
p {
|
356
|
+
font-weight: normal;
|
357
|
+
}
|
358
|
+
|
359
|
+
ul {
|
360
|
+
list-style: disc outside;
|
361
|
+
margin-left: 30px;
|
362
|
+
|
363
|
+
li {
|
364
|
+
font-weight: normal;
|
365
|
+
}
|
366
|
+
}
|
367
|
+
}
|
368
|
+
|
369
|
+
/*--------------------------------------*/
|
370
|
+
/* Main search bar
|
371
|
+
/*--------------------------------------*/
|
372
|
+
#search-bar {
|
373
|
+
display: block;
|
374
|
+
}
|
375
|
+
|
376
|
+
/*--------------------------------------*/
|
377
|
+
/* Products
|
378
|
+
/*--------------------------------------*/
|
379
|
+
.product-section-title {
|
380
|
+
text-transform: uppercase;
|
381
|
+
color: $c_colored;
|
382
|
+
margin-top: 15px;
|
383
|
+
}
|
384
|
+
|
385
|
+
.add-to-cart {
|
386
|
+
margin-top: 15px;
|
387
|
+
|
388
|
+
input[type="number"] {
|
389
|
+
width: 40px;
|
390
|
+
}
|
391
|
+
}
|
392
|
+
|
393
|
+
span.price {
|
394
|
+
font-weight: bold;
|
395
|
+
color: $c_colored;
|
396
|
+
|
397
|
+
&.selling {
|
398
|
+
font-size: 20px;
|
399
|
+
}
|
400
|
+
&.diff {
|
401
|
+
font-weight: bold
|
402
|
+
}
|
403
|
+
}
|
404
|
+
|
405
|
+
ul#products {
|
406
|
+
margin-left: -10px;
|
407
|
+
margin-right: -10px;
|
408
|
+
|
409
|
+
li {
|
410
|
+
text-align: center;
|
411
|
+
font-weight: bold;
|
412
|
+
margin-bottom: 20px;
|
413
|
+
|
414
|
+
a {
|
415
|
+
display: block;
|
416
|
+
|
417
|
+
&.info {
|
418
|
+
height: 35px;
|
419
|
+
margin-top: 5px;
|
420
|
+
color: $c_gray1;
|
421
|
+
border-bottom: 1px solid $c_border;
|
422
|
+
}
|
423
|
+
}
|
424
|
+
|
425
|
+
.product-image {
|
426
|
+
border: 1px solid $c_border;
|
427
|
+
padding: 5px;
|
428
|
+
min-height: 110px;
|
429
|
+
|
430
|
+
&:hover {
|
431
|
+
border-color: $c_colored;
|
432
|
+
}
|
433
|
+
|
434
|
+
}
|
435
|
+
|
436
|
+
.price {
|
437
|
+
color: $c_colored;
|
438
|
+
font-size: 16px;
|
439
|
+
padding-top: 5px;
|
440
|
+
display: block;
|
441
|
+
}
|
442
|
+
}
|
443
|
+
}
|
444
|
+
|
445
|
+
.subtaxon-title {
|
446
|
+
text-transform: uppercase;
|
447
|
+
|
448
|
+
a {
|
449
|
+
color: $c_colored;
|
450
|
+
}
|
451
|
+
}
|
452
|
+
|
453
|
+
.search-results-title {
|
454
|
+
text-transform: uppercase;
|
455
|
+
border-bottom: 1px solid $c_border;
|
456
|
+
margin-bottom: 10px;
|
457
|
+
}
|
458
|
+
|
459
|
+
#sidebar_products_search {
|
460
|
+
.navigation {
|
461
|
+
margin-bottom: 15px;
|
462
|
+
}
|
463
|
+
|
464
|
+
span.category {
|
465
|
+
display: block;
|
466
|
+
font-weight: bold;
|
467
|
+
text-transform: uppercase;
|
468
|
+
border-bottom: 1px solid #ededed;
|
469
|
+
margin-bottom: 5px;
|
470
|
+
color: #00adee;
|
471
|
+
font-size: 14px;
|
472
|
+
line-height: 24px;
|
473
|
+
}
|
474
|
+
}
|
475
|
+
|
476
|
+
.taxon {
|
477
|
+
overflow: hidden;
|
478
|
+
}
|
479
|
+
|
480
|
+
#product-images {
|
481
|
+
#main-image {
|
482
|
+
text-align: center;
|
483
|
+
border: 1px solid $c_border;
|
484
|
+
}
|
485
|
+
}
|
486
|
+
|
487
|
+
#product-description {
|
488
|
+
.product-title {
|
489
|
+
border-bottom: 1px solid $c_border;
|
490
|
+
margin-bottom: 15px;
|
491
|
+
}
|
492
|
+
}
|
493
|
+
|
494
|
+
#product-thumbnails {
|
495
|
+
margin-top: 10px;
|
496
|
+
|
497
|
+
li {
|
498
|
+
margin-right: 6px;
|
499
|
+
border: 1px solid $c_border;
|
500
|
+
|
501
|
+
img {
|
502
|
+
padding: 5px;
|
503
|
+
}
|
504
|
+
|
505
|
+
&:hover, &.selected {
|
506
|
+
border-color: $c_colored;
|
507
|
+
}
|
508
|
+
}
|
509
|
+
}
|
510
|
+
|
511
|
+
#product-properties {
|
512
|
+
border: 1px solid $c_border;
|
513
|
+
padding: 10px;
|
514
|
+
}
|
515
|
+
|
516
|
+
#product-variants {
|
517
|
+
ul {
|
518
|
+
li {
|
519
|
+
padding: 5px;
|
520
|
+
}
|
521
|
+
}
|
522
|
+
}
|
523
|
+
|
524
|
+
/*--------------------------------------*/
|
525
|
+
/* Checkout
|
526
|
+
/*--------------------------------------*/
|
527
|
+
.progress-steps {
|
528
|
+
list-style: decimal inside;
|
529
|
+
overflow: auto;
|
530
|
+
|
531
|
+
li {
|
532
|
+
float: left;
|
533
|
+
margin-right: 20px;
|
534
|
+
font-weight: bold;
|
535
|
+
text-transform: uppercase;
|
536
|
+
padding: 5px 20px;
|
537
|
+
color: $c_gray1;
|
538
|
+
|
539
|
+
&.current-first, &.current {
|
540
|
+
background-color: $c_colored;
|
541
|
+
color: white;
|
542
|
+
}
|
543
|
+
|
544
|
+
&.completed-first, &.completed {
|
545
|
+
background-color: $c_border;
|
546
|
+
color: white;
|
547
|
+
|
548
|
+
a {
|
549
|
+
color: white;
|
550
|
+
}
|
551
|
+
|
552
|
+
&:hover {
|
553
|
+
background-color: $c_colored;
|
554
|
+
color: white;
|
555
|
+
|
556
|
+
a {
|
557
|
+
color: white;
|
558
|
+
|
559
|
+
&:hover {
|
560
|
+
color: white !important;
|
561
|
+
}
|
562
|
+
}
|
563
|
+
}
|
564
|
+
}
|
565
|
+
}
|
566
|
+
}
|
567
|
+
|
568
|
+
#checkout-summary {
|
569
|
+
text-align: center;
|
570
|
+
border: 1px solid $c_border;
|
571
|
+
margin-top: 23px;
|
572
|
+
|
573
|
+
h3 {
|
574
|
+
text-transform: uppercase;
|
575
|
+
font-size: 14px;
|
576
|
+
color: $c_colored;
|
577
|
+
border-bottom: 1px solid $c_border;
|
578
|
+
}
|
579
|
+
|
580
|
+
table {
|
581
|
+
width: 100%;
|
582
|
+
|
583
|
+
tr[data-hook="item_total"] {
|
584
|
+
td:last-child {
|
585
|
+
strong {
|
586
|
+
@extend span.price;
|
587
|
+
}
|
588
|
+
}
|
589
|
+
}
|
590
|
+
|
591
|
+
tr[data-hook="order_total"] {
|
592
|
+
border-bottom: none;
|
593
|
+
};
|
594
|
+
|
595
|
+
#summary-order-total {
|
596
|
+
@extend span.price;
|
597
|
+
font-size: 14px;
|
598
|
+
}
|
599
|
+
}
|
600
|
+
}
|
601
|
+
|
602
|
+
#billing, #shipping, #shipping_method,
|
603
|
+
#payment, #order_details, #order_summary {
|
604
|
+
margin-top: 10px;
|
605
|
+
border: 1px solid $c_border;
|
606
|
+
padding: 10px;
|
607
|
+
|
608
|
+
legend {
|
609
|
+
text-transform: uppercase;
|
610
|
+
font-weight: bold;
|
611
|
+
font-size: 14px;
|
612
|
+
color: $c_colored;
|
613
|
+
padding: 5px;
|
614
|
+
margin-left: 15px;
|
615
|
+
}
|
616
|
+
}
|
617
|
+
|
618
|
+
#order_details, #order_summary {
|
619
|
+
padding: 0;
|
620
|
+
|
621
|
+
div:last-child {
|
622
|
+
margin-left: -1px;
|
623
|
+
}
|
624
|
+
|
625
|
+
.payment-info {
|
626
|
+
.cc-type {
|
627
|
+
img {
|
628
|
+
vertical-align: middle;
|
629
|
+
}
|
630
|
+
}
|
631
|
+
}
|
632
|
+
|
633
|
+
td.price, td.total {
|
634
|
+
span {
|
635
|
+
@extend span.price;
|
636
|
+
}
|
637
|
+
}
|
638
|
+
|
639
|
+
table tfoot {
|
640
|
+
text-align: right;
|
641
|
+
color: $c_gray1;
|
642
|
+
|
643
|
+
tr {
|
644
|
+
border: none;
|
645
|
+
}
|
646
|
+
|
647
|
+
&#order-total {
|
648
|
+
text-transform: uppercase;
|
649
|
+
font-size: 16px;
|
650
|
+
color: $c_base;
|
651
|
+
|
652
|
+
tr {
|
653
|
+
border-top: 1px solid $c_border;
|
654
|
+
|
655
|
+
td {
|
656
|
+
padding: 10px;
|
657
|
+
}
|
658
|
+
}
|
659
|
+
}
|
660
|
+
}
|
661
|
+
|
662
|
+
.steps-data {
|
663
|
+
padding: 10px;
|
664
|
+
|
665
|
+
h6 {
|
666
|
+
border-bottom: 1px solid $c_border;
|
667
|
+
margin-bottom: 5px;
|
668
|
+
}
|
669
|
+
}
|
670
|
+
}
|
671
|
+
|
672
|
+
#shipping_method {
|
673
|
+
p {
|
674
|
+
label {
|
675
|
+
float: left;
|
676
|
+
font-weight: bold;
|
677
|
+
font-size: 14px;
|
678
|
+
margin-right: 40px;
|
679
|
+
padding: 5px;
|
680
|
+
}
|
681
|
+
}
|
682
|
+
}
|
683
|
+
|
684
|
+
p[data-hook="use_billing"] {
|
685
|
+
float: right;
|
686
|
+
margin-top: -38px;
|
687
|
+
background-color: white;
|
688
|
+
padding: 5px;
|
689
|
+
}
|
690
|
+
|
691
|
+
/*--------------------------------------*/
|
692
|
+
/* Cart
|
693
|
+
/*--------------------------------------*/
|
694
|
+
table#cart-detail {
|
695
|
+
width: 100%;
|
696
|
+
tbody#line_items {
|
697
|
+
tr {
|
698
|
+
|
699
|
+
td[data-hook="cart_item_price"], td[data-hook="cart_item_total"] {
|
700
|
+
@extend span.price;
|
701
|
+
@extend span.price.selling;
|
702
|
+
}
|
703
|
+
td[data-hook="cart_item_quantity"] {
|
704
|
+
.line_item_quantity {
|
705
|
+
width: 40px;
|
706
|
+
}
|
707
|
+
}
|
708
|
+
td[data-hook="cart_item_delete"] {
|
709
|
+
.delete {
|
710
|
+
display: block;
|
711
|
+
width: 20px;
|
712
|
+
}
|
713
|
+
}
|
714
|
+
}
|
715
|
+
}
|
716
|
+
}
|
717
|
+
|
718
|
+
div[data-hook="inside_cart_form"] {
|
719
|
+
.links {
|
720
|
+
margin-top: 15px;
|
721
|
+
}
|
722
|
+
|
723
|
+
#subtotal {
|
724
|
+
text-align: right;
|
725
|
+
text-transform: uppercase;
|
726
|
+
margin-top: 10px;
|
727
|
+
|
728
|
+
span.order-total {
|
729
|
+
@extend span.price;
|
730
|
+
}
|
731
|
+
}
|
732
|
+
}
|
733
|
+
|
734
|
+
#empty-cart {
|
735
|
+
margin-top: 15px;
|
736
|
+
float: right;
|
737
|
+
}
|
738
|
+
|
739
|
+
/*--------------------------------------*/
|
740
|
+
/* Account
|
741
|
+
/*--------------------------------------*/
|
742
|
+
#existing-customer, #new-customer, #forgot-password {
|
743
|
+
h6 {
|
744
|
+
text-transform: uppercase;
|
745
|
+
color: $c_colored;
|
746
|
+
}
|
747
|
+
}
|
748
|
+
|
749
|
+
#registration {
|
750
|
+
h6 {
|
751
|
+
text-transform: uppercase;
|
752
|
+
color: $c_colored;
|
753
|
+
}
|
754
|
+
|
755
|
+
#existing-customer {
|
756
|
+
width: auto;
|
757
|
+
text-align: left;
|
758
|
+
}
|
759
|
+
}
|
760
|
+
|
761
|
+
#user-info {
|
762
|
+
margin-bottom: 15px;
|
763
|
+
border: 1px solid $c_border;
|
764
|
+
padding: 10px;
|
765
|
+
}
|
766
|
+
|
767
|
+
/*--------------------------------------*/
|
768
|
+
/* Order
|
769
|
+
/*--------------------------------------*/
|
770
|
+
#order_summary {
|
771
|
+
margin-top: 0;
|
772
|
+
}
|
773
|
+
#order {
|
774
|
+
p[data-hook="links"] {
|
775
|
+
margin-left: 10px;
|
776
|
+
overflow: auto;
|
777
|
+
}
|
778
|
+
}
|
779
|
+
|
780
|
+
table.order-summary {
|
781
|
+
tbody {
|
782
|
+
tr {
|
783
|
+
td {
|
784
|
+
width: 10%;
|
785
|
+
text-align: center;
|
786
|
+
|
787
|
+
&:first-child {
|
788
|
+
a {
|
789
|
+
text-transform: uppercase;
|
790
|
+
font-weight: bold;
|
791
|
+
color: $c_colored;
|
792
|
+
}
|
793
|
+
}
|
794
|
+
}
|
795
|
+
}
|
796
|
+
}
|
797
|
+
}
|
798
|
+
|
799
|
+
/* #Media Queries
|
800
|
+
================================================== */
|
801
|
+
|
802
|
+
/* Smaller than standard 960 (devices and browsers) */
|
803
|
+
@media only screen and (max-width: 959px) {}
|
804
|
+
|
805
|
+
/* Tablet Portrait size to standard 960 (devices and browsers) */
|
806
|
+
@media only screen and (min-width: 768px) and (max-width: 959px) {}
|
807
|
+
|
808
|
+
/* All Mobile Sizes (devices and browser) */
|
809
|
+
@media only screen and (max-width: 767px) {
|
810
|
+
nav#taxonomies {
|
811
|
+
text-align: center;
|
812
|
+
|
813
|
+
ul {
|
814
|
+
padding-left: 0 !important;
|
815
|
+
list-style: none !important;
|
816
|
+
}
|
817
|
+
}
|
818
|
+
|
819
|
+
ul#nav-bar {
|
820
|
+
text-align: center;
|
821
|
+
}
|
822
|
+
|
823
|
+
.steps-data div.columns {
|
824
|
+
margin-bottom: 15px;
|
825
|
+
text-align: center;
|
826
|
+
}
|
827
|
+
|
828
|
+
#order_details, #order {
|
829
|
+
table[data-hook="order_details"] {
|
830
|
+
width: 100%;
|
831
|
+
}
|
832
|
+
}
|
833
|
+
|
834
|
+
#update-cart {
|
835
|
+
#subtotal, .links {
|
836
|
+
width: 50%;
|
837
|
+
float: left;
|
838
|
+
text-align: left;
|
839
|
+
}
|
840
|
+
#subtotal {
|
841
|
+
text-align: right;
|
842
|
+
}
|
843
|
+
}
|
844
|
+
}
|
845
|
+
|
846
|
+
/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
|
847
|
+
@media only screen and (min-width: 480px) and (max-width: 767px) {
|
848
|
+
|
849
|
+
input, select {
|
850
|
+
vertical-align: baseline !important;
|
851
|
+
}
|
852
|
+
|
853
|
+
figure#logo {
|
854
|
+
text-align: center;
|
855
|
+
}
|
856
|
+
|
857
|
+
#link-to-login {
|
858
|
+
display: block;
|
859
|
+
text-align: center;
|
860
|
+
}
|
861
|
+
|
862
|
+
#search-bar {
|
863
|
+
display: block;
|
864
|
+
text-align: center;
|
865
|
+
|
866
|
+
select {
|
867
|
+
margin-bottom: 10px;
|
868
|
+
}
|
869
|
+
}
|
870
|
+
|
871
|
+
ul#products {
|
872
|
+
margin-left: 0;
|
873
|
+
margin-right: -20px;
|
874
|
+
|
875
|
+
li {
|
876
|
+
width: 133px;
|
877
|
+
margin-right: 10px;
|
878
|
+
}
|
879
|
+
}
|
880
|
+
|
881
|
+
}
|
882
|
+
|
883
|
+
|
884
|
+
/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
|
885
|
+
@media only screen and (max-width: 479px) {
|
886
|
+
|
887
|
+
.progress-steps li {
|
888
|
+
padding: 0;
|
889
|
+
margin: 0;
|
890
|
+
width: 50%;
|
891
|
+
|
892
|
+
span {
|
893
|
+
display: block;
|
894
|
+
padding: 10px 20px;
|
895
|
+
}
|
896
|
+
}
|
897
|
+
|
898
|
+
#shipping_method p label {
|
899
|
+
float: none;
|
900
|
+
display: block;
|
901
|
+
text-align: center;
|
902
|
+
margin-right: 0;
|
903
|
+
}
|
904
|
+
|
905
|
+
p[data-hook="use_billing"] {
|
906
|
+
float: none;
|
907
|
+
margin-top: 0;
|
908
|
+
}
|
909
|
+
|
910
|
+
table#cart-detail {
|
911
|
+
tbody {
|
912
|
+
tr {
|
913
|
+
td[data-hook="cart_item_description"] {
|
914
|
+
padding: 0 !important;
|
915
|
+
text-indent: -9999px;
|
916
|
+
|
917
|
+
h4 {
|
918
|
+
display: none;
|
919
|
+
}
|
920
|
+
}
|
921
|
+
td[data-hook="cart_item_image"] {
|
922
|
+
img {
|
923
|
+
width: 70px;
|
924
|
+
}
|
925
|
+
}
|
926
|
+
td[data-hook="cart_item_price"], td[data-hook="cart_item_total"] {
|
927
|
+
font-size: 14px !important;
|
928
|
+
}
|
929
|
+
}
|
930
|
+
}
|
931
|
+
}
|
932
|
+
|
933
|
+
table.order-summary {
|
934
|
+
display: block; position: relative; width: 100%;
|
935
|
+
|
936
|
+
thead { display: block; float: left; }
|
937
|
+
tbody { display: block; width: auto; position: relative; overflow-x: auto; white-space: nowrap; }
|
938
|
+
thead tr { display: block; }
|
939
|
+
th { display: block; }
|
940
|
+
tbody tr { display: inline-block; vertical-align: top; }
|
941
|
+
td { display: block; min-height: 1.25em; }
|
942
|
+
}
|
943
|
+
|
944
|
+
|
945
|
+
figure#logo {
|
946
|
+
text-align: center;
|
947
|
+
}
|
948
|
+
|
949
|
+
#link-to-login {
|
950
|
+
display: block;
|
951
|
+
text-align: center;
|
952
|
+
}
|
953
|
+
|
954
|
+
#search-bar {
|
955
|
+
display: block;
|
956
|
+
text-align: center;
|
957
|
+
|
958
|
+
select {
|
959
|
+
margin-bottom: 10px;
|
960
|
+
}
|
961
|
+
}
|
962
|
+
|
963
|
+
aside#sidebar {
|
964
|
+
text-align: center;
|
965
|
+
|
966
|
+
ul {
|
967
|
+
padding-left: 0 !important;
|
968
|
+
|
969
|
+
li {
|
970
|
+
list-style-type: none;
|
971
|
+
}
|
972
|
+
}
|
973
|
+
}
|
974
|
+
|
975
|
+
ul#products {
|
976
|
+
margin-left: 0;
|
977
|
+
|
978
|
+
li {
|
979
|
+
width: 140px;
|
980
|
+
margin-right: 15px;
|
981
|
+
}
|
982
|
+
}
|
983
|
+
|
984
|
+
#content {
|
985
|
+
text-align: center;
|
986
|
+
}
|
987
|
+
|
988
|
+
}
|