radiant-shop-extension 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +5 -1
- data/VERSION +1 -1
- data/app/controllers/admin/shop/categories_controller.rb +32 -65
- data/app/controllers/admin/shop/customers_controller.rb +8 -7
- data/app/controllers/admin/shop/orders_controller.rb +37 -159
- data/app/controllers/admin/shop/packages/packings_controller.rb +90 -0
- data/app/controllers/admin/shop/packages_controller.rb +65 -0
- data/app/controllers/admin/shop/products/images_controller.rb +5 -8
- data/app/controllers/admin/shop/products/variant_templates_controller.rb +27 -0
- data/app/controllers/admin/shop/products/variants_controller.rb +60 -0
- data/app/controllers/admin/shop/products_controller.rb +67 -64
- data/app/controllers/admin/shop/variants_controller.rb +49 -0
- data/app/helpers/shop_helper.rb +5 -0
- data/app/models/form_address.rb +144 -0
- data/app/models/form_checkout.rb +200 -307
- data/app/models/form_line_item.rb +60 -0
- data/app/models/shop_address.rb +2 -2
- data/app/models/shop_category.rb +48 -51
- data/app/models/shop_customer.rb +25 -5
- data/app/models/shop_group.rb +15 -0
- data/app/models/shop_grouping.rb +6 -0
- data/app/models/shop_line_item.rb +7 -6
- data/app/models/shop_order.rb +44 -16
- data/app/models/shop_package.rb +74 -0
- data/app/models/shop_packing.rb +22 -0
- data/app/models/shop_page.rb +7 -0
- data/app/models/shop_payment.rb +5 -1
- data/app/models/shop_product.rb +86 -48
- data/app/models/shop_product_attachment.rb +5 -2
- data/app/models/shop_product_variant.rb +31 -0
- data/app/models/shop_variant.rb +25 -0
- data/app/views/admin/shop/categories/edit.html.haml +9 -10
- data/app/views/admin/shop/categories/edit/_foot.html.haml +9 -0
- data/app/views/admin/shop/categories/edit/_form.html.haml +14 -0
- data/app/views/admin/shop/categories/edit/_head.html.haml +4 -2
- data/app/views/admin/shop/categories/edit/_inputs.html.haml +2 -0
- data/app/views/admin/shop/categories/edit/_meta.html.haml +8 -7
- data/app/views/admin/shop/categories/edit/_parts.html.haml +9 -0
- data/app/views/admin/shop/categories/edit/_popups.html.haml +4 -0
- data/app/views/admin/shop/categories/edit/inputs/_name.html.haml +4 -0
- data/app/views/admin/shop/categories/edit/meta/_handle.html.haml +6 -5
- data/app/views/admin/shop/categories/edit/meta/_layouts.html.haml +6 -5
- data/app/views/admin/shop/categories/edit/meta/_page.html.haml +3 -0
- data/app/views/admin/shop/categories/edit/parts/_description.html.haml +4 -1
- data/app/views/admin/shop/categories/index/_category.html.haml +11 -10
- data/app/views/admin/shop/categories/new.html.haml +10 -9
- data/app/views/admin/shop/customers/edit.html.haml +8 -10
- data/app/views/admin/shop/customers/edit/_foot.html.haml +9 -0
- data/app/views/admin/shop/customers/edit/_form.html.haml +13 -0
- data/app/views/admin/shop/customers/edit/_head.html.haml +4 -2
- data/app/views/admin/shop/customers/edit/_inputs.html.haml +2 -0
- data/app/views/admin/shop/customers/edit/_parts.html.haml +9 -4
- data/app/views/admin/shop/customers/edit/inputs/_email.html.haml +3 -0
- data/app/views/admin/shop/customers/edit/inputs/_name.html.haml +3 -0
- data/app/views/admin/shop/customers/edit/parts/_orders.html.haml +10 -6
- data/app/views/admin/shop/customers/index.html.haml +4 -1
- data/app/views/admin/shop/customers/index/_customer.html.haml +3 -3
- data/app/views/admin/shop/customers/index/_foot.html.haml +4 -0
- data/app/views/admin/shop/customers/index/_head.html.haml +4 -0
- data/app/views/admin/shop/customers/new.html.haml +9 -9
- data/app/views/admin/shop/orders/edit.html.haml +11 -0
- data/app/views/admin/shop/orders/edit/_foot.html.haml +9 -0
- data/app/views/admin/shop/orders/edit/_form.html.haml +13 -0
- data/app/views/admin/shop/orders/edit/_head.html.haml +4 -0
- data/app/views/admin/shop/orders/edit/_inputs.html.haml +2 -0
- data/app/views/admin/shop/orders/edit/_meta.html.haml +8 -0
- data/app/views/admin/shop/orders/edit/_parts.html.haml +9 -0
- data/app/views/admin/shop/orders/edit/_popups.html.haml +4 -0
- data/app/views/admin/shop/orders/edit/parts/_address.html.haml +7 -0
- data/app/views/admin/shop/orders/edit/parts/_addresses.html.haml +9 -0
- data/app/views/admin/shop/orders/edit/parts/_customer.html.haml +3 -0
- data/app/views/admin/shop/orders/edit/parts/_items.html.haml +8 -0
- data/app/views/admin/shop/orders/index.html.haml +10 -30
- data/app/views/admin/shop/orders/index/_foot.html.haml +3 -0
- data/app/views/admin/shop/orders/index/_head.html.haml +4 -0
- data/app/views/admin/shop/orders/index/_order.html.haml +13 -0
- data/app/views/admin/shop/orders/index/buttons/_all.html.haml +1 -0
- data/app/views/admin/shop/orders/index/buttons/_new.html.haml +1 -0
- data/app/views/admin/shop/orders/index/buttons/_paid.html.haml +1 -0
- data/app/views/admin/shop/orders/index/buttons/_shipped.html.haml +1 -0
- data/app/views/admin/shop/packages/edit.html.haml +11 -0
- data/app/views/admin/shop/packages/edit/_foot.html.haml +17 -0
- data/app/views/admin/shop/packages/edit/_form.html.haml +15 -0
- data/app/views/admin/shop/packages/edit/_head.html.haml +4 -0
- data/app/views/admin/shop/packages/edit/_inputs.html.haml +2 -0
- data/app/views/admin/shop/packages/edit/_meta.html.haml +8 -0
- data/app/views/admin/shop/packages/edit/_parts.html.haml +9 -0
- data/app/views/admin/shop/packages/edit/_popups.html.haml +4 -0
- data/app/views/admin/shop/packages/edit/buttons/_browse_products.html.haml +1 -0
- data/app/views/admin/shop/packages/edit/inputs/_name.html.haml +3 -0
- data/app/views/admin/shop/packages/edit/inputs/_price.html.haml +3 -0
- data/app/views/admin/shop/packages/edit/meta/_sku.html.haml +5 -0
- data/app/views/admin/shop/packages/edit/parts/_description.html.haml +1 -0
- data/app/views/admin/shop/packages/edit/parts/_products.html.haml +3 -0
- data/app/views/admin/shop/packages/edit/popups/_browse_products.html.haml +7 -0
- data/app/views/admin/shop/packages/edit/shared/_product.html.haml +8 -0
- data/app/views/admin/shop/packages/index.html.haml +13 -0
- data/app/views/admin/shop/packages/index/_foot.html.haml +7 -0
- data/app/views/admin/shop/packages/index/_head.html.haml +4 -0
- data/app/views/admin/shop/packages/index/_package.html.haml +9 -0
- data/app/views/admin/shop/packages/new.html.haml +11 -0
- data/app/views/admin/shop/packages/remove.html.haml +12 -0
- data/app/views/admin/shop/products/edit.html.haml +9 -12
- data/app/views/admin/shop/products/edit/_foot.html.haml +19 -0
- data/app/views/admin/shop/products/edit/_form.html.haml +15 -0
- data/app/views/admin/shop/products/edit/_head.html.haml +4 -2
- data/app/views/admin/shop/products/edit/_inputs.html.haml +2 -0
- data/app/views/admin/shop/products/edit/_meta.html.haml +8 -8
- data/app/views/admin/shop/products/edit/_parts.html.haml +9 -0
- data/app/views/admin/shop/products/edit/_popups.html.haml +4 -0
- data/app/views/admin/shop/products/edit/buttons/_browse_images.html.haml +1 -1
- data/app/views/admin/shop/products/edit/buttons/_browse_templates.html.haml +1 -0
- data/app/views/admin/shop/products/edit/buttons/_new_image.html.haml +1 -1
- data/app/views/admin/shop/products/edit/buttons/_new_variant.html.haml +1 -0
- data/app/views/admin/shop/products/edit/inputs/_name.html.haml +4 -0
- data/app/views/admin/shop/products/edit/inputs/_price.html.haml +3 -0
- data/app/views/admin/shop/products/edit/meta/_category.html.haml +6 -5
- data/app/views/admin/shop/products/edit/meta/_page.html.haml +2 -0
- data/app/views/admin/shop/products/edit/meta/_sku.html.haml +6 -5
- data/app/views/admin/shop/products/edit/parts/_customers.html.haml +5 -0
- data/app/views/admin/shop/products/edit/parts/_description.html.haml +4 -1
- data/app/views/admin/shop/products/edit/parts/_images.html.haml +1 -1
- data/app/views/admin/shop/products/edit/parts/_variants.html.haml +3 -0
- data/app/views/admin/shop/products/edit/popups/_browse_images.html.haml +1 -1
- data/app/views/admin/shop/products/edit/popups/_browse_templates.html.haml +6 -0
- data/app/views/admin/shop/products/edit/popups/_new_image.html.haml +4 -4
- data/app/views/admin/shop/products/edit/popups/_new_variant.html.haml +16 -0
- data/app/views/admin/shop/products/edit/{_image.html.haml → shared/_image.html.haml} +0 -0
- data/app/views/admin/shop/products/edit/shared/_template.html.haml +6 -0
- data/app/views/admin/shop/products/edit/shared/_variant.html.haml +10 -0
- data/app/views/admin/shop/products/index.html.haml +6 -3
- data/app/views/admin/shop/products/index/_foot.html.haml +10 -0
- data/app/views/admin/shop/products/index/_head.html.haml +4 -0
- data/app/views/admin/shop/products/index/_product.html.haml +18 -10
- data/app/views/admin/shop/products/index/buttons/_discounts.html.haml +1 -0
- data/app/views/admin/shop/products/index/buttons/_packages.html.haml +1 -0
- data/app/views/admin/shop/products/index/buttons/_variants.html.haml +1 -0
- data/app/views/admin/shop/products/new.html.haml +10 -9
- data/app/views/admin/shop/variants/edit.html.haml +11 -0
- data/app/views/admin/shop/variants/edit/_foot.html.haml +9 -0
- data/app/views/admin/shop/variants/edit/_form.html.haml +13 -0
- data/app/views/admin/shop/variants/edit/_head.html.haml +4 -0
- data/app/views/admin/shop/variants/edit/_inputs.html.haml +2 -0
- data/app/views/admin/shop/variants/edit/_meta.html.haml +8 -0
- data/app/views/admin/shop/variants/edit/_parts.html.haml +9 -0
- data/app/views/admin/shop/variants/edit/_popups.html.haml +4 -0
- data/app/views/admin/shop/variants/edit/inputs/_name.html.haml +3 -0
- data/app/views/admin/shop/variants/edit/inputs/_options.html.haml +3 -0
- data/app/views/admin/shop/variants/index.html.haml +13 -0
- data/app/views/admin/shop/variants/index/_foot.html.haml +4 -0
- data/app/views/admin/shop/variants/index/_head.html.haml +4 -0
- data/app/views/admin/shop/variants/index/_variant.html.haml +9 -0
- data/app/views/admin/shop/variants/new.html.haml +11 -0
- data/app/views/admin/shop/variants/remove.html.haml +12 -0
- data/config/locales/en.yml +8 -1
- data/config/routes.rb +11 -22
- data/db/migrate/20100929011106_fix_relationship_foreign_keys.rb +101 -0
- data/db/migrate/20100929011607_drop_shop_addressables.rb +25 -0
- data/db/migrate/20100929030510_create_shop_groups.rb +19 -0
- data/db/migrate/20100929080301_shop_groups_change_add_description.rb +11 -0
- data/db/migrate/20100929081200_create_variants.rb +20 -0
- data/db/migrate/20100929143531_change_variants_add_updated_by.rb +25 -0
- data/db/migrate/20100929145641_change_created_by_to_id.rb +75 -0
- data/db/migrate/20100929235221_change_category_add_variant_id.rb +9 -0
- data/db/migrate/20100930235221_create_packages.rb +31 -0
- data/db/migrate/20101005231713_create_page_ids.rb +11 -0
- data/db/migrate/20101006051214_create_pages_for_products_and_categories.rb +73 -0
- data/db/migrate/20101007111845_add_default_position_to_attachment.rb +9 -0
- data/lib/shop/controllers/application_controller.rb +1 -1
- data/lib/shop/interface/categories.rb +29 -0
- data/lib/shop/interface/customers.rb +15 -15
- data/lib/shop/interface/orders.rb +34 -0
- data/lib/shop/interface/packages.rb +34 -0
- data/lib/shop/interface/products.rb +18 -31
- data/lib/shop/interface/variants.rb +34 -0
- data/lib/shop/models/form_extension.rb +23 -0
- data/lib/shop/models/page.rb +3 -2
- data/lib/shop/tags/address.rb +3 -3
- data/lib/shop/tags/cart.rb +12 -16
- data/lib/shop/tags/category.rb +4 -6
- data/lib/shop/tags/helpers.rb +131 -30
- data/lib/shop/tags/item.rb +16 -33
- data/lib/shop/tags/package.rb +95 -0
- data/lib/shop/tags/product.rb +11 -16
- data/lib/shop/tags/product_variant.rb +52 -0
- data/mockups/discounts/new-edit.bmml +492 -0
- data/public/javascripts/admin/extensions/shop/edit.js +20 -0
- data/public/javascripts/admin/extensions/shop/packages/edit.js +109 -0
- data/public/javascripts/admin/extensions/shop/products/edit.js +64 -65
- data/public/javascripts/admin/extensions/shop/products/index.js +31 -36
- data/public/stylesheets/sass/admin/extensions/shop/edit.sass +58 -11
- data/public/stylesheets/sass/admin/extensions/shop/index.sass +104 -53
- data/public/stylesheets/sass/admin/extensions/shop/packages/edit.sass +162 -0
- data/public/stylesheets/sass/admin/extensions/shop/products/edit.sass +115 -36
- data/public/stylesheets/sass/admin/extensions/shop/products/index.sass +12 -20
- data/radiant-shop-extension.gemspec +182 -38
- data/shop_extension.rb +29 -25
- data/spec/controllers/admin/shop/categories_controller_spec.rb +76 -191
- data/spec/controllers/admin/shop/customers_controller_spec.rb +67 -0
- data/spec/controllers/admin/shop/orders_controller_spec.rb +85 -0
- data/spec/controllers/admin/shop/packages/packings_controller_spec.rb +188 -0
- data/spec/controllers/admin/shop/packages_controller_spec.rb +32 -0
- data/spec/controllers/admin/shop/products/images_controller_spec.rb +10 -15
- data/spec/controllers/admin/shop/products/variant_templates_controller_spec.rb +53 -0
- data/spec/controllers/admin/shop/products/variants_controller_spec.rb +116 -0
- data/spec/controllers/admin/shop/products_controller_spec.rb +80 -148
- data/spec/controllers/admin/shop/variants_controller_spec.rb +67 -0
- data/spec/datasets/forms.rb +23 -8
- data/spec/datasets/shop_addresses.rb +1 -4
- data/spec/datasets/shop_categories.rb +25 -4
- data/spec/datasets/shop_groups.rb +15 -0
- data/spec/datasets/shop_line_items.rb +4 -3
- data/spec/datasets/shop_orders.rb +6 -15
- data/spec/datasets/shop_packages.rb +25 -0
- data/spec/datasets/shop_payments.rb +12 -0
- data/spec/datasets/{images.rb → shop_product_attachments.rb} +9 -1
- data/spec/datasets/shop_product_variants.rb +22 -0
- data/spec/datasets/shop_products.rb +28 -18
- data/spec/datasets/shop_variants.rb +17 -0
- data/spec/lib/shop/models/image_spec.rb +4 -4
- data/spec/lib/shop/tags/address_spec.rb +3 -3
- data/spec/lib/shop/tags/cart_spec.rb +32 -43
- data/spec/lib/shop/tags/category_spec.rb +58 -93
- data/spec/lib/shop/tags/helpers_spec.rb +162 -69
- data/spec/lib/shop/tags/item_spec.rb +116 -158
- data/spec/lib/shop/tags/package_spec.rb +342 -0
- data/spec/lib/shop/tags/product_spec.rb +29 -26
- data/spec/lib/shop/tags/product_variant_spec.rb +175 -0
- data/spec/models/form_address_spec.rb +166 -0
- data/spec/models/form_checkout_spec.rb +27 -157
- data/spec/models/shop_address_spec.rb +81 -0
- data/spec/models/shop_category_spec.rb +114 -31
- data/spec/models/shop_customer_spec.rb +105 -0
- data/spec/models/shop_group_spec.rb +38 -0
- data/spec/models/shop_line_item_spec.rb +5 -5
- data/spec/models/shop_order_spec.rb +89 -83
- data/spec/models/shop_package_spec.rb +117 -0
- data/spec/models/shop_packing_spec.rb +67 -0
- data/spec/models/shop_payment_spec.rb +19 -0
- data/spec/models/shop_product_attachment_spec.rb +4 -3
- data/spec/models/shop_product_spec.rb +171 -92
- data/spec/models/shop_product_variant_spec.rb +92 -0
- data/spec/models/shop_variant_spec.rb +47 -0
- metadata +183 -39
- data/app/controllers/shop/categories_controller.rb +0 -45
- data/app/controllers/shop/line_items_controller.rb +0 -165
- data/app/controllers/shop/orders_controller.rb +0 -16
- data/app/controllers/shop/products_controller.rb +0 -48
- data/app/models/shop_addressable.rb +0 -11
- data/app/views/admin/shop/categories/edit/_fields.html.haml +0 -28
- data/app/views/admin/shop/categories/edit/_part.html.haml +0 -3
- data/app/views/admin/shop/categories/edit/_popup.html.haml +0 -3
- data/app/views/admin/shop/customers/edit/_fields.html.haml +0 -33
- data/app/views/admin/shop/customers/index/_bottom.html.haml +0 -4
- data/app/views/admin/shop/products/edit/_fields.html.haml +0 -38
- data/app/views/admin/shop/products/edit/_part.html.haml +0 -3
- data/app/views/admin/shop/products/edit/_popup.html.haml +0 -3
- data/app/views/admin/shop/products/index/_bottom.html.haml +0 -5
- data/spec/controllers/shop/categories_controller_spec.rb +0 -42
- data/spec/controllers/shop/line_items_controller_spec.rb +0 -256
- data/spec/controllers/shop/orders_controller_specs.rb +0 -37
- data/spec/controllers/shop/products_controller_spec.rb +0 -51
- data/vendor/plugins/json_fields/.gitignore +0 -3
- data/vendor/plugins/json_fields/MIT-LICENSE +0 -20
- data/vendor/plugins/json_fields/README.rdoc +0 -65
- data/vendor/plugins/json_fields/Rakefile +0 -55
- data/vendor/plugins/json_fields/init.rb +0 -2
- data/vendor/plugins/json_fields/lib/json_fields.rb +0 -99
- data/vendor/plugins/json_fields/spec/lib/json_fields_spec.rb +0 -124
- data/vendor/plugins/json_fields/spec/spec.opts +0 -6
- data/vendor/plugins/json_fields/spec/spec_helper.rb +0 -29
- data/vendor/plugins/json_fields/spec/test_models.rb +0 -12
@@ -1,64 +1,115 @@
|
|
1
|
-
.
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
1
|
+
.outset
|
2
|
+
|
3
|
+
#head
|
4
|
+
height: 21px
|
5
|
+
background-color: #9E9E9E
|
6
|
+
|
7
|
+
&.full
|
8
|
+
height: 46px
|
9
|
+
padding-right: 20px
|
10
|
+
background-color: #7E7E7E
|
11
|
+
|
12
|
+
.button
|
13
|
+
float: right
|
14
|
+
margin-left: 10px
|
15
|
+
margin-top: 10px
|
16
|
+
display: block
|
17
|
+
height: 16px
|
18
|
+
padding: 6px 8px
|
19
|
+
font:
|
20
|
+
size: 12px
|
21
|
+
weight: bold
|
22
|
+
background:
|
23
|
+
color: #eeeeee
|
24
|
+
image: url(/images/admin/buttons_background.png)
|
25
|
+
position: 0 0
|
26
|
+
repeat: repeat-x
|
27
|
+
color: #555555
|
28
|
+
text:
|
29
|
+
decoration: none
|
30
|
+
shadow: 1px 1px 1px #eeeeee
|
31
|
+
cursor: pointer
|
16
32
|
border:
|
17
|
-
|
33
|
+
radius: 5px
|
34
|
+
-moz:
|
35
|
+
border:
|
36
|
+
radius: 5px
|
37
|
+
-webkit:
|
38
|
+
border:
|
39
|
+
radius: 5px
|
18
40
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
weight: bold
|
27
|
-
size: 16px
|
41
|
+
img
|
42
|
+
position: relative
|
43
|
+
top: -2px
|
44
|
+
|
45
|
+
&:hover, &.active
|
46
|
+
background: #ebebeb
|
47
|
+
color: #000000
|
28
48
|
text:
|
29
|
-
|
49
|
+
shadow: 1px 1px 1px #FFFFFF
|
30
50
|
|
51
|
+
.map
|
52
|
+
background-color: #FFFFFF
|
53
|
+
padding:
|
54
|
+
bottom: 5px
|
55
|
+
|
56
|
+
.object
|
57
|
+
position: relative
|
58
|
+
height: 45px
|
59
|
+
line:
|
60
|
+
height: 45px
|
61
|
+
margin:
|
62
|
+
bottom: 2px
|
63
|
+
|
64
|
+
.attributes
|
65
|
+
padding:
|
66
|
+
left: 5px
|
67
|
+
border:
|
68
|
+
bottom: 1px solid #cecece
|
69
|
+
|
31
70
|
&:hover
|
32
|
-
|
71
|
+
background:
|
72
|
+
color: #e0f0ff
|
73
|
+
|
74
|
+
.name, .name a
|
75
|
+
color: black
|
76
|
+
font:
|
77
|
+
weight: bold
|
78
|
+
size: 16px
|
33
79
|
text:
|
34
|
-
decoration:
|
80
|
+
decoration: none
|
35
81
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
82
|
+
&:hover
|
83
|
+
color: #0066ce
|
84
|
+
text:
|
85
|
+
decoration: underline
|
86
|
+
|
87
|
+
.modify
|
88
|
+
float: right
|
89
|
+
width: 200px
|
90
|
+
text:
|
91
|
+
align: right
|
92
|
+
font:
|
93
|
+
size: 10px
|
43
94
|
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
95
|
+
span
|
96
|
+
padding:
|
97
|
+
left: 15px
|
98
|
+
right: 15px
|
48
99
|
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
100
|
+
a
|
101
|
+
color: black
|
102
|
+
text:
|
103
|
+
decoration: none
|
53
104
|
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
105
|
+
.add_child
|
106
|
+
background:
|
107
|
+
image: url(/images/admin/plus.png)
|
108
|
+
repeat: no-repeat
|
109
|
+
position: 0 50%
|
59
110
|
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
111
|
+
.remove
|
112
|
+
background:
|
113
|
+
image: url(/images/admin/minus.png)
|
114
|
+
repeat: no-repeat
|
115
|
+
position: 0 50%
|
@@ -0,0 +1,162 @@
|
|
1
|
+
ol#package_products
|
2
|
+
overflow: hidden
|
3
|
+
padding:
|
4
|
+
top: 10px
|
5
|
+
|
6
|
+
li.product
|
7
|
+
float: left
|
8
|
+
position: relative
|
9
|
+
padding: 10px
|
10
|
+
height: 100px
|
11
|
+
width: 100px
|
12
|
+
margin:
|
13
|
+
right: 10px
|
14
|
+
border:
|
15
|
+
radius: 6px
|
16
|
+
-moz:
|
17
|
+
border:
|
18
|
+
radius: 6px
|
19
|
+
-webkit:
|
20
|
+
border:
|
21
|
+
radius: 6px
|
22
|
+
cursor: move
|
23
|
+
overflow: hidden
|
24
|
+
*
|
25
|
+
vertical:
|
26
|
+
align: middle
|
27
|
+
|
28
|
+
.wrapper
|
29
|
+
display: table-cell
|
30
|
+
height: 100px
|
31
|
+
width: 100px
|
32
|
+
text:
|
33
|
+
align: center
|
34
|
+
vertical:
|
35
|
+
align: middle
|
36
|
+
|
37
|
+
img
|
38
|
+
width: 100px
|
39
|
+
max:
|
40
|
+
height: 100px
|
41
|
+
|
42
|
+
.title
|
43
|
+
font-size: 10px
|
44
|
+
position: absolute
|
45
|
+
display: block
|
46
|
+
width: 96%
|
47
|
+
top: 37.5px
|
48
|
+
left: 0
|
49
|
+
padding: 4px 2%
|
50
|
+
overflow: hidden
|
51
|
+
|
52
|
+
.quantity
|
53
|
+
visibility: hidden
|
54
|
+
font-size: 10px
|
55
|
+
position: absolute
|
56
|
+
display: block
|
57
|
+
width: 30px
|
58
|
+
bottom: 14px
|
59
|
+
left: 18px
|
60
|
+
padding: 2px 0
|
61
|
+
|
62
|
+
.save_quantity
|
63
|
+
width: 45px
|
64
|
+
visibility: hidden
|
65
|
+
position: absolute
|
66
|
+
right: 14px
|
67
|
+
bottom: 14px
|
68
|
+
|
69
|
+
.actions
|
70
|
+
position: absolute
|
71
|
+
display: block
|
72
|
+
width: 100%
|
73
|
+
top: 0
|
74
|
+
left: 0
|
75
|
+
|
76
|
+
.delete
|
77
|
+
position: absolute
|
78
|
+
right: 2px
|
79
|
+
top: 4px
|
80
|
+
width: 20px
|
81
|
+
height: 20px
|
82
|
+
overflow: hidden
|
83
|
+
display: block
|
84
|
+
cursor: pointer
|
85
|
+
background:
|
86
|
+
image: url('/images/admin/minus_disabled.png')
|
87
|
+
repeat: no-repeat
|
88
|
+
position: 0 0
|
89
|
+
cursor: pointer
|
90
|
+
|
91
|
+
&:hover
|
92
|
+
background:
|
93
|
+
image: url('/images/admin/minus.png')
|
94
|
+
|
95
|
+
&:hover
|
96
|
+
background:
|
97
|
+
color: #f9f6fe
|
98
|
+
|
99
|
+
.title, .quantity, .save_quantity
|
100
|
+
visibility: visible
|
101
|
+
|
102
|
+
.title
|
103
|
+
background-color: #f9f6fe
|
104
|
+
|
105
|
+
#browse_products_popup
|
106
|
+
position: relative
|
107
|
+
overflow: hidden
|
108
|
+
|
109
|
+
ul#available_products
|
110
|
+
width: 700px
|
111
|
+
padding: 5px 0 10px
|
112
|
+
overflow: hidden
|
113
|
+
position: relative
|
114
|
+
|
115
|
+
li.product
|
116
|
+
position: relative
|
117
|
+
background-color: #f9f6fe
|
118
|
+
display: block
|
119
|
+
float: left
|
120
|
+
height: 70px
|
121
|
+
width: 70px
|
122
|
+
padding: 10px
|
123
|
+
margin: 0 5px 5px
|
124
|
+
border:
|
125
|
+
radius: 6px
|
126
|
+
-moz:
|
127
|
+
border:
|
128
|
+
radius: 6px
|
129
|
+
-webkit:
|
130
|
+
border:
|
131
|
+
radius: 6px
|
132
|
+
cursor: pointer
|
133
|
+
|
134
|
+
*
|
135
|
+
vertical:
|
136
|
+
align: middle
|
137
|
+
|
138
|
+
.wrapper
|
139
|
+
display: table-cell
|
140
|
+
height: 70px
|
141
|
+
width: 70px
|
142
|
+
text:
|
143
|
+
align: center
|
144
|
+
vertical:
|
145
|
+
algin: middle
|
146
|
+
|
147
|
+
img
|
148
|
+
width: 70px
|
149
|
+
|
150
|
+
.title
|
151
|
+
font-size: 10px
|
152
|
+
position: absolute
|
153
|
+
display: block
|
154
|
+
width: 96%
|
155
|
+
top: 37.5px
|
156
|
+
left: 0
|
157
|
+
background-color: #f9f6fe
|
158
|
+
padding: 4px 2%
|
159
|
+
overflow: hidden
|
160
|
+
|
161
|
+
.actions, .quantity, .save_quantity
|
162
|
+
display: none
|
@@ -50,22 +50,11 @@
|
|
50
50
|
|
51
51
|
.delete
|
52
52
|
position: absolute
|
53
|
+
overflow: hidden
|
53
54
|
right: -2px
|
54
55
|
top: 4px
|
55
56
|
width: 20px
|
56
57
|
height: 20px
|
57
|
-
overflow: hidden
|
58
|
-
display: block
|
59
|
-
cursor: pointer
|
60
|
-
background:
|
61
|
-
image: url('/images/admin/minus_disabled.png')
|
62
|
-
repeat: no-repeat
|
63
|
-
position: 0 0
|
64
|
-
cursor: pointer
|
65
|
-
|
66
|
-
&:hover
|
67
|
-
background:
|
68
|
-
image: url('/images/admin/minus.png')
|
69
58
|
|
70
59
|
&:first-child
|
71
60
|
|
@@ -79,6 +68,69 @@
|
|
79
68
|
background:
|
80
69
|
color: #f9f6fe
|
81
70
|
|
71
|
+
#variants
|
72
|
+
overflow: hidden
|
73
|
+
|
74
|
+
.variant
|
75
|
+
position: relative
|
76
|
+
width: 48%
|
77
|
+
margin: 5px 0
|
78
|
+
padding: 5px
|
79
|
+
float: left
|
80
|
+
border:
|
81
|
+
radius: 6px
|
82
|
+
-moz:
|
83
|
+
border:
|
84
|
+
radius: 6px
|
85
|
+
-webkit:
|
86
|
+
border:
|
87
|
+
radius: 6px
|
88
|
+
|
89
|
+
&:hover
|
90
|
+
background:
|
91
|
+
color: #f9f6fe
|
92
|
+
|
93
|
+
span
|
94
|
+
display: block
|
95
|
+
|
96
|
+
.name
|
97
|
+
float: left
|
98
|
+
margin: 5px
|
99
|
+
left: 5px
|
100
|
+
width: 35%
|
101
|
+
|
102
|
+
input
|
103
|
+
width: 100%
|
104
|
+
font-size: 18px
|
105
|
+
|
106
|
+
.price
|
107
|
+
position: absolute
|
108
|
+
top: 10px
|
109
|
+
left: 45%
|
110
|
+
width: 15%
|
111
|
+
|
112
|
+
label
|
113
|
+
position: absolute
|
114
|
+
top: 5px
|
115
|
+
|
116
|
+
input
|
117
|
+
font-size: 18px
|
118
|
+
width: 85%
|
119
|
+
margin-left: 15%
|
120
|
+
text-align: right
|
121
|
+
|
122
|
+
.value
|
123
|
+
position: absolute
|
124
|
+
right: 40px
|
125
|
+
top: 16px
|
126
|
+
text-align: right
|
127
|
+
font-style: italic
|
128
|
+
|
129
|
+
.actions
|
130
|
+
position: absolute
|
131
|
+
top: 16px
|
132
|
+
right: 25px
|
133
|
+
|
82
134
|
#browse_images_popup
|
83
135
|
width: 460px
|
84
136
|
padding:
|
@@ -126,33 +178,60 @@
|
|
126
178
|
|
127
179
|
.caption
|
128
180
|
display: none
|
181
|
+
|
182
|
+
.actions
|
183
|
+
.delete
|
184
|
+
display: none
|
129
185
|
|
130
186
|
&:hover
|
131
187
|
background:
|
132
|
-
color: #
|
133
|
-
|
134
|
-
#new_image_popup
|
135
|
-
color: #333333
|
188
|
+
color: #F8F7ED
|
136
189
|
|
137
|
-
|
138
|
-
|
190
|
+
#browse_templates_popup
|
191
|
+
width: 810px
|
192
|
+
|
193
|
+
#templates
|
194
|
+
overflow: hidden
|
195
|
+
padding: 5px
|
196
|
+
bottom: 15px
|
139
197
|
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
float: left
|
155
|
-
width: 70px
|
198
|
+
.template
|
199
|
+
position: relative
|
200
|
+
display: block
|
201
|
+
float: left
|
202
|
+
padding: 10px
|
203
|
+
border:
|
204
|
+
radius: 6px
|
205
|
+
-moz:
|
206
|
+
border:
|
207
|
+
radius: 6px
|
208
|
+
-webkit:
|
209
|
+
border:
|
210
|
+
radius: 6px
|
211
|
+
cursor: pointer
|
156
212
|
|
157
|
-
|
158
|
-
|
213
|
+
&:hover
|
214
|
+
background:
|
215
|
+
color: #F8F7ED
|
216
|
+
|
217
|
+
.wrapper
|
218
|
+
|
219
|
+
.options
|
220
|
+
|
221
|
+
.option
|
222
|
+
color: #444444
|
223
|
+
|
224
|
+
.wrapper
|
225
|
+
display: table-cell
|
226
|
+
width: 180px
|
227
|
+
|
228
|
+
.name
|
229
|
+
font-weight: bold
|
230
|
+
line-height: 20px
|
231
|
+
|
232
|
+
.options
|
233
|
+
|
234
|
+
.option
|
235
|
+
line-height: 16px
|
236
|
+
padding: 4px
|
237
|
+
color: #777777
|