kylekthompson-shoppe 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +55 -0
- data/Rakefile +36 -0
- data/app/assets/images/shoppe/chosen-sprite.png +0 -0
- data/app/assets/images/shoppe/chosen-sprite@2x.png +0 -0
- data/app/assets/images/shoppe/document.svg +1 -0
- data/app/assets/images/shoppe/icons/bag.svg +1 -0
- data/app/assets/images/shoppe/icons/balance.svg +1 -0
- data/app/assets/images/shoppe/icons/box.svg +1 -0
- data/app/assets/images/shoppe/icons/building.svg +1 -0
- data/app/assets/images/shoppe/icons/chart.svg +1 -0
- data/app/assets/images/shoppe/icons/chat.svg +1 -0
- data/app/assets/images/shoppe/icons/checkbox.svg +1 -0
- data/app/assets/images/shoppe/icons/checkbox2.svg +1 -0
- data/app/assets/images/shoppe/icons/cloud.svg +1 -0
- data/app/assets/images/shoppe/icons/cone.svg +1 -0
- data/app/assets/images/shoppe/icons/credit_card.svg +1 -0
- data/app/assets/images/shoppe/icons/currency.svg +1 -0
- data/app/assets/images/shoppe/icons/edit.svg +14 -0
- data/app/assets/images/shoppe/icons/flowchart.svg +1 -0
- data/app/assets/images/shoppe/icons/gift.svg +1 -0
- data/app/assets/images/shoppe/icons/globe.svg +1 -0
- data/app/assets/images/shoppe/icons/id.svg +1 -0
- data/app/assets/images/shoppe/icons/id2.svg +1 -0
- data/app/assets/images/shoppe/icons/locked.svg +1 -0
- data/app/assets/images/shoppe/icons/report.svg +1 -0
- data/app/assets/images/shoppe/icons/search.svg +1 -0
- data/app/assets/images/shoppe/icons/support.svg +1 -0
- data/app/assets/images/shoppe/icons/tags.svg +1 -0
- data/app/assets/images/shoppe/icons/toolbox.svg +1 -0
- data/app/assets/images/shoppe/icons/unlocked.svg +1 -0
- data/app/assets/images/shoppe/icons/wallet.svg +1 -0
- data/app/assets/images/shoppe/logo.svg +47 -0
- data/app/assets/images/shoppe/move.svg +1 -0
- data/app/assets/images/shoppe/shoppe.svg +25 -0
- data/app/assets/images/shoppe/square.svg +9 -0
- data/app/assets/images/shoppe/statuses/accepted.svg +14 -0
- data/app/assets/images/shoppe/statuses/paid.svg +16 -0
- data/app/assets/images/shoppe/statuses/received.svg +15 -0
- data/app/assets/images/shoppe/statuses/rejected.svg +14 -0
- data/app/assets/images/shoppe/statuses/shipped.svg +14 -0
- data/app/assets/images/shoppe/table-tear-off.png +0 -0
- data/app/assets/javascripts/shoppe/application.coffee +123 -0
- data/app/assets/javascripts/shoppe/chosen.jquery.js +1166 -0
- data/app/assets/javascripts/shoppe/jquery_ui.js +6 -0
- data/app/assets/javascripts/shoppe/mousetrap.js +9 -0
- data/app/assets/javascripts/shoppe/order_form.coffee +47 -0
- data/app/assets/stylesheets/shoppe/application.scss +601 -0
- data/app/assets/stylesheets/shoppe/chosen.scss +424 -0
- data/app/assets/stylesheets/shoppe/dialog.scss +25 -0
- data/app/assets/stylesheets/shoppe/elements.scss +79 -0
- data/app/assets/stylesheets/shoppe/printable.scss +67 -0
- data/app/assets/stylesheets/shoppe/reset.scss +93 -0
- data/app/assets/stylesheets/shoppe/sub.scss +106 -0
- data/app/assets/stylesheets/shoppe/variables.scss +1 -0
- data/app/controllers/shoppe/addresses_controller.rb +47 -0
- data/app/controllers/shoppe/application_controller.rb +46 -0
- data/app/controllers/shoppe/attachments_controller.rb +14 -0
- data/app/controllers/shoppe/countries_controller.rb +47 -0
- data/app/controllers/shoppe/customers_controller.rb +55 -0
- data/app/controllers/shoppe/dashboard_controller.rb +9 -0
- data/app/controllers/shoppe/delivery_service_prices_controller.rb +45 -0
- data/app/controllers/shoppe/delivery_services_controller.rb +47 -0
- data/app/controllers/shoppe/orders_controller.rb +119 -0
- data/app/controllers/shoppe/payments_controller.rb +33 -0
- data/app/controllers/shoppe/product_categories_controller.rb +47 -0
- data/app/controllers/shoppe/product_category_localisations_controller.rb +58 -0
- data/app/controllers/shoppe/product_localisations_controller.rb +58 -0
- data/app/controllers/shoppe/products_controller.rb +58 -0
- data/app/controllers/shoppe/sessions_controller.rb +34 -0
- data/app/controllers/shoppe/settings_controller.rb +16 -0
- data/app/controllers/shoppe/stock_level_adjustments_controller.rb +40 -0
- data/app/controllers/shoppe/tax_rates_controller.rb +49 -0
- data/app/controllers/shoppe/users_controller.rb +53 -0
- data/app/controllers/shoppe/variants_controller.rb +50 -0
- data/app/helpers/shoppe/application_helper.rb +60 -0
- data/app/helpers/shoppe/product_category_helper.rb +36 -0
- data/app/mailers/shoppe/order_mailer.rb +25 -0
- data/app/mailers/shoppe/user_mailer.rb +10 -0
- data/app/models/shoppe/address.rb +44 -0
- data/app/models/shoppe/country.rb +27 -0
- data/app/models/shoppe/customer.rb +41 -0
- data/app/models/shoppe/delivery_service.rb +33 -0
- data/app/models/shoppe/delivery_service_price.rb +31 -0
- data/app/models/shoppe/order.rb +100 -0
- data/app/models/shoppe/order/actions.rb +94 -0
- data/app/models/shoppe/order/billing.rb +105 -0
- data/app/models/shoppe/order/delivery.rb +229 -0
- data/app/models/shoppe/order/states.rb +69 -0
- data/app/models/shoppe/order_item.rb +239 -0
- data/app/models/shoppe/payment.rb +86 -0
- data/app/models/shoppe/product.rb +189 -0
- data/app/models/shoppe/product/product_attributes.rb +20 -0
- data/app/models/shoppe/product/variants.rb +51 -0
- data/app/models/shoppe/product_attribute.rb +66 -0
- data/app/models/shoppe/product_categorization.rb +14 -0
- data/app/models/shoppe/product_category.rb +75 -0
- data/app/models/shoppe/setting.rb +68 -0
- data/app/models/shoppe/stock_level_adjustment.rb +19 -0
- data/app/models/shoppe/tax_rate.rb +46 -0
- data/app/models/shoppe/user.rb +49 -0
- data/app/validators/permalink_validator.rb +7 -0
- data/app/views/layouts/shoppe/application.html.haml +34 -0
- data/app/views/layouts/shoppe/printable.html.haml +11 -0
- data/app/views/layouts/shoppe/sub.html.haml +10 -0
- data/app/views/shoppe/addresses/_form.html.haml +33 -0
- data/app/views/shoppe/addresses/edit.html.haml +5 -0
- data/app/views/shoppe/addresses/new.html.haml +5 -0
- data/app/views/shoppe/countries/_form.html.haml +35 -0
- data/app/views/shoppe/countries/edit.html.haml +6 -0
- data/app/views/shoppe/countries/index.html.haml +25 -0
- data/app/views/shoppe/countries/new.html.haml +7 -0
- data/app/views/shoppe/customers/_addresses.html.haml +20 -0
- data/app/views/shoppe/customers/_form.html.haml +30 -0
- data/app/views/shoppe/customers/_search_form.html.haml +13 -0
- data/app/views/shoppe/customers/edit.html.haml +5 -0
- data/app/views/shoppe/customers/index.html.haml +32 -0
- data/app/views/shoppe/customers/new.html.haml +5 -0
- data/app/views/shoppe/customers/show.html.haml +53 -0
- data/app/views/shoppe/delivery_service_prices/_form.html.haml +44 -0
- data/app/views/shoppe/delivery_service_prices/edit.html.haml +6 -0
- data/app/views/shoppe/delivery_service_prices/index.html.haml +23 -0
- data/app/views/shoppe/delivery_service_prices/new.html.haml +6 -0
- data/app/views/shoppe/delivery_services/_form.html.haml +38 -0
- data/app/views/shoppe/delivery_services/edit.html.haml +9 -0
- data/app/views/shoppe/delivery_services/index.html.haml +27 -0
- data/app/views/shoppe/delivery_services/new.html.haml +6 -0
- data/app/views/shoppe/order_mailer/accepted.text.erb +12 -0
- data/app/views/shoppe/order_mailer/received.text.erb +9 -0
- data/app/views/shoppe/order_mailer/rejected.text.erb +10 -0
- data/app/views/shoppe/order_mailer/shipped.text.erb +16 -0
- data/app/views/shoppe/orders/_form.html.haml +58 -0
- data/app/views/shoppe/orders/_order_details.html.haml +57 -0
- data/app/views/shoppe/orders/_order_items.html.haml +38 -0
- data/app/views/shoppe/orders/_order_items_form.html.haml +61 -0
- data/app/views/shoppe/orders/_payments_form.html.haml +15 -0
- data/app/views/shoppe/orders/_payments_table.html.haml +37 -0
- data/app/views/shoppe/orders/_search_form.html.haml +24 -0
- data/app/views/shoppe/orders/_status_bar.html.haml +35 -0
- data/app/views/shoppe/orders/despatch_note.html.haml +45 -0
- data/app/views/shoppe/orders/edit.html.haml +21 -0
- data/app/views/shoppe/orders/index.html.haml +39 -0
- data/app/views/shoppe/orders/new.html.haml +14 -0
- data/app/views/shoppe/orders/show.html.haml +25 -0
- data/app/views/shoppe/payments/refund.html.haml +13 -0
- data/app/views/shoppe/product_categories/_form.html.haml +50 -0
- data/app/views/shoppe/product_categories/edit.html.haml +8 -0
- data/app/views/shoppe/product_categories/index.html.haml +27 -0
- data/app/views/shoppe/product_categories/new.html.haml +6 -0
- data/app/views/shoppe/product_category_localisations/form.html.haml +29 -0
- data/app/views/shoppe/product_category_localisations/index.html.haml +26 -0
- data/app/views/shoppe/product_localisations/form.html.haml +32 -0
- data/app/views/shoppe/product_localisations/index.html.haml +26 -0
- data/app/views/shoppe/products/_form.html.haml +118 -0
- data/app/views/shoppe/products/_table.html.haml +42 -0
- data/app/views/shoppe/products/edit.html.haml +9 -0
- data/app/views/shoppe/products/import.html.haml +67 -0
- data/app/views/shoppe/products/index.html.haml +9 -0
- data/app/views/shoppe/products/new.html.haml +7 -0
- data/app/views/shoppe/sessions/new.html.haml +12 -0
- data/app/views/shoppe/sessions/reset.html.haml +12 -0
- data/app/views/shoppe/settings/edit.html.haml +19 -0
- data/app/views/shoppe/shared/error.html.haml +6 -0
- data/app/views/shoppe/stock_level_adjustments/index.html.haml +40 -0
- data/app/views/shoppe/tax_rates/form.html.haml +28 -0
- data/app/views/shoppe/tax_rates/index.html.haml +17 -0
- data/app/views/shoppe/user_mailer/new_password.text.erb +9 -0
- data/app/views/shoppe/users/_form.html.haml +27 -0
- data/app/views/shoppe/users/edit.html.haml +5 -0
- data/app/views/shoppe/users/index.html.haml +17 -0
- data/app/views/shoppe/users/new.html.haml +7 -0
- data/app/views/shoppe/variants/form.html.haml +68 -0
- data/app/views/shoppe/variants/index.html.haml +33 -0
- data/config/locales/de.yml +653 -0
- data/config/locales/en.yml +744 -0
- data/config/locales/es.yml +653 -0
- data/config/locales/pl.yml +662 -0
- data/config/locales/pt-BR.yml +655 -0
- data/config/routes.rb +53 -0
- data/db/countries.txt +252 -0
- data/db/migrate/20130926094549_create_shoppe_initial_schema.rb +175 -0
- data/db/migrate/20131024201501_add_address_type_to_shoppe_tax_rates.rb +5 -0
- data/db/migrate/20131024204815_create_shoppe_payments.rb +32 -0
- data/db/migrate/20131102143930_remove_default_on_order_item_weight.rb +9 -0
- data/db/migrate/20141013192427_create_shoppe_customers.rb +14 -0
- data/db/migrate/20141026175622_add_indexes_to_shoppe_order_items.rb +6 -0
- data/db/migrate/20141026175943_add_indexes_to_shoppe_orders.rb +7 -0
- data/db/migrate/20141026180333_add_indexes_to_shoppe_payments.rb +6 -0
- data/db/migrate/20141026180835_add_indexes_to_shoppe_product_attributes.rb +7 -0
- data/db/migrate/20141026180952_add_indexes_to_shoppe_product_categories.rb +5 -0
- data/db/migrate/20141026181040_add_indexes_to_shoppe_products.rb +8 -0
- data/db/migrate/20141026181312_add_indexes_to_shoppe_settings.rb +5 -0
- data/db/migrate/20141026181354_add_indexes_to_shoppe_stock_level_adjustments.rb +6 -0
- data/db/migrate/20141026181559_add_indexes_to_shoppe_users.rb +5 -0
- data/db/migrate/20141026181716_add_indexes_to_shoppe_delivery_services.rb +9 -0
- data/db/migrate/20141026181717_allow_multiple_shoppe_products_per_shoppe_product_category.rb +46 -0
- data/db/migrate/20141026181718_add_nested_to_product_categories.rb +30 -0
- data/db/migrate/20141027215005_create_shoppe_addresses.rb +17 -0
- data/db/migrate/20150315215633_add_customer_to_shoppe_orders.rb +5 -0
- data/db/migrate/20150513171350_create_shoppe_product_category_translation_table.rb +17 -0
- data/db/migrate/20150519173350_create_shoppe_product_translation_table.rb +18 -0
- data/db/schema.rb +308 -0
- data/db/seeds.rb +137 -0
- data/db/seeds_data/poe400.jpg +0 -0
- data/db/seeds_data/snom-870-blk.jpg +0 -0
- data/db/seeds_data/snom-870-grey.jpg +0 -0
- data/db/seeds_data/snom-mm2.jpg +0 -0
- data/db/seeds_data/spa303.jpg +0 -0
- data/db/seeds_data/t18p.jpg +0 -0
- data/db/seeds_data/t20p.jpg +0 -0
- data/db/seeds_data/t22p.jpg +0 -0
- data/db/seeds_data/t26p.jpg +0 -0
- data/db/seeds_data/t41pn.jpg +0 -0
- data/db/seeds_data/t46gn.jpg +0 -0
- data/db/seeds_data/w52p.jpg +0 -0
- data/db/seeds_data/yhs32.jpg +0 -0
- data/lib/shoppe.rb +60 -0
- data/lib/shoppe/associated_countries.rb +20 -0
- data/lib/shoppe/country_importer.rb +15 -0
- data/lib/shoppe/default_navigation.rb +21 -0
- data/lib/shoppe/engine.rb +55 -0
- data/lib/shoppe/error.rb +21 -0
- data/lib/shoppe/errors/inappropriate_delivery_service.rb +6 -0
- data/lib/shoppe/errors/insufficient_stock_to_fulfil.rb +15 -0
- data/lib/shoppe/errors/invalid_configuration.rb +6 -0
- data/lib/shoppe/errors/not_enough_stock.rb +15 -0
- data/lib/shoppe/errors/payment_declined.rb +6 -0
- data/lib/shoppe/errors/refund_failed.rb +6 -0
- data/lib/shoppe/errors/unorderable_item.rb +6 -0
- data/lib/shoppe/navigation_manager.rb +81 -0
- data/lib/shoppe/orderable_item.rb +39 -0
- data/lib/shoppe/settings.rb +26 -0
- data/lib/shoppe/settings_loader.rb +16 -0
- data/lib/shoppe/setup_generator.rb +10 -0
- data/lib/shoppe/version.rb +3 -0
- data/lib/shoppe/view_helpers.rb +16 -0
- data/lib/tasks/shoppe.rake +29 -0
- metadata +662 -0
@@ -0,0 +1,424 @@
|
|
1
|
+
/* @group Base */
|
2
|
+
.chosen-container {
|
3
|
+
position: relative;
|
4
|
+
display: inline-block;
|
5
|
+
vertical-align: middle;
|
6
|
+
font-size: 13px;
|
7
|
+
zoom: 1;
|
8
|
+
*display: inline;
|
9
|
+
-webkit-user-select: none;
|
10
|
+
-moz-user-select: none;
|
11
|
+
user-select: none;
|
12
|
+
}
|
13
|
+
.chosen-container .chosen-drop {
|
14
|
+
position: absolute;
|
15
|
+
top: 100%;
|
16
|
+
left: -9999px;
|
17
|
+
z-index: 1010;
|
18
|
+
-webkit-box-sizing: border-box;
|
19
|
+
-moz-box-sizing: border-box;
|
20
|
+
box-sizing: border-box;
|
21
|
+
width: 100%;
|
22
|
+
border: 1px solid #aaa;
|
23
|
+
border-top: 0;
|
24
|
+
background: #fff;
|
25
|
+
box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
|
26
|
+
}
|
27
|
+
.chosen-container.chosen-with-drop .chosen-drop {
|
28
|
+
left: 0;
|
29
|
+
}
|
30
|
+
.chosen-container a {
|
31
|
+
cursor: pointer;
|
32
|
+
}
|
33
|
+
|
34
|
+
/* @end */
|
35
|
+
/* @group Single Chosen */
|
36
|
+
.chosen-container-single .chosen-single {
|
37
|
+
position: relative;
|
38
|
+
display: block;
|
39
|
+
overflow: hidden;
|
40
|
+
padding: 0 0 0 8px;
|
41
|
+
height: 23px;
|
42
|
+
border: 1px solid #aaa;
|
43
|
+
border-radius: 5px;
|
44
|
+
background-color: #fff;
|
45
|
+
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #ffffff), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4));
|
46
|
+
background: -webkit-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
|
47
|
+
background: -moz-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
|
48
|
+
background: -o-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
|
49
|
+
background: linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
|
50
|
+
background-clip: padding-box;
|
51
|
+
box-shadow: 0 0 3px white inset, 0 1px 1px rgba(0, 0, 0, 0.1);
|
52
|
+
color: #444;
|
53
|
+
text-decoration: none;
|
54
|
+
white-space: nowrap;
|
55
|
+
line-height: 24px;
|
56
|
+
}
|
57
|
+
.chosen-container-single .chosen-default {
|
58
|
+
color: #999;
|
59
|
+
}
|
60
|
+
.chosen-container-single .chosen-single span {
|
61
|
+
display: block;
|
62
|
+
overflow: hidden;
|
63
|
+
margin-right: 26px;
|
64
|
+
text-overflow: ellipsis;
|
65
|
+
white-space: nowrap;
|
66
|
+
}
|
67
|
+
.chosen-container-single .chosen-single-with-deselect span {
|
68
|
+
margin-right: 38px;
|
69
|
+
}
|
70
|
+
.chosen-container-single .chosen-single abbr {
|
71
|
+
position: absolute;
|
72
|
+
top: 6px;
|
73
|
+
right: 26px;
|
74
|
+
display: block;
|
75
|
+
width: 12px;
|
76
|
+
height: 12px;
|
77
|
+
background: image-url('shoppe/chosen-sprite.png') -42px 1px no-repeat;
|
78
|
+
font-size: 1px;
|
79
|
+
}
|
80
|
+
.chosen-container-single .chosen-single abbr:hover {
|
81
|
+
background-position: -42px -10px;
|
82
|
+
}
|
83
|
+
.chosen-container-single.chosen-disabled .chosen-single abbr:hover {
|
84
|
+
background-position: -42px -10px;
|
85
|
+
}
|
86
|
+
.chosen-container-single .chosen-single div {
|
87
|
+
position: absolute;
|
88
|
+
top: 0;
|
89
|
+
right: 0;
|
90
|
+
display: block;
|
91
|
+
width: 18px;
|
92
|
+
height: 100%;
|
93
|
+
}
|
94
|
+
.chosen-container-single .chosen-single div b {
|
95
|
+
display: block;
|
96
|
+
width: 100%;
|
97
|
+
height: 100%;
|
98
|
+
background: image-url('shoppe/chosen-sprite.png') no-repeat 0px 2px;
|
99
|
+
}
|
100
|
+
.chosen-container-single .chosen-search {
|
101
|
+
position: relative;
|
102
|
+
z-index: 1010;
|
103
|
+
margin: 0;
|
104
|
+
padding: 3px 4px;
|
105
|
+
white-space: nowrap;
|
106
|
+
}
|
107
|
+
.chosen-container-single .chosen-search input[type="text"] {
|
108
|
+
-webkit-box-sizing: border-box;
|
109
|
+
-moz-box-sizing: border-box;
|
110
|
+
box-sizing: border-box;
|
111
|
+
margin: 1px 0;
|
112
|
+
padding: 4px 20px 4px 5px;
|
113
|
+
width: 100%;
|
114
|
+
height: auto;
|
115
|
+
outline: 0;
|
116
|
+
border: 1px solid #ccc;
|
117
|
+
background: white image-url('shoppe/chosen-sprite.png') no-repeat 100% -20px;
|
118
|
+
background: image-url('shoppe/chosen-sprite.png') no-repeat 100% -20px, -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
|
119
|
+
background: image-url('shoppe/chosen-sprite.png') no-repeat 100% -20px, -webkit-linear-gradient(#eeeeee 1%, #ffffff 15%);
|
120
|
+
background: image-url('shoppe/chosen-sprite.png') no-repeat 100% -20px, -moz-linear-gradient(#eeeeee 1%, #ffffff 15%);
|
121
|
+
background: image-url('shoppe/chosen-sprite.png') no-repeat 100% -20px, -o-linear-gradient(#eeeeee 1%, #ffffff 15%);
|
122
|
+
background: image-url('shoppe/chosen-sprite.png') no-repeat 100% -20px, linear-gradient(#eeeeee 1%, #ffffff 15%);
|
123
|
+
font-size: 1em;
|
124
|
+
font-family: sans-serif;
|
125
|
+
line-height: normal;
|
126
|
+
border-radius: 0;
|
127
|
+
}
|
128
|
+
.chosen-container-single .chosen-drop {
|
129
|
+
margin-top: -1px;
|
130
|
+
border-radius: 0 0 4px 4px;
|
131
|
+
background-clip: padding-box;
|
132
|
+
}
|
133
|
+
.chosen-container-single.chosen-container-single-nosearch .chosen-search {
|
134
|
+
position: absolute;
|
135
|
+
left: -9999px;
|
136
|
+
}
|
137
|
+
|
138
|
+
/* @end */
|
139
|
+
/* @group Results */
|
140
|
+
.chosen-container .chosen-results {
|
141
|
+
position: relative;
|
142
|
+
overflow-x: hidden;
|
143
|
+
overflow-y: auto;
|
144
|
+
margin: 0 4px 4px 0;
|
145
|
+
padding: 0 0 0 4px;
|
146
|
+
max-height: 240px;
|
147
|
+
-webkit-overflow-scrolling: touch;
|
148
|
+
}
|
149
|
+
.chosen-container .chosen-results li {
|
150
|
+
display: none;
|
151
|
+
margin: 0;
|
152
|
+
padding: 5px 6px;
|
153
|
+
list-style: none;
|
154
|
+
line-height: 15px;
|
155
|
+
}
|
156
|
+
.chosen-container .chosen-results li.active-result {
|
157
|
+
display: list-item;
|
158
|
+
cursor: pointer;
|
159
|
+
}
|
160
|
+
.chosen-container .chosen-results li.disabled-result {
|
161
|
+
display: list-item;
|
162
|
+
color: #ccc;
|
163
|
+
cursor: default;
|
164
|
+
}
|
165
|
+
.chosen-container .chosen-results li.highlighted {
|
166
|
+
background-color: #3875d7;
|
167
|
+
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc));
|
168
|
+
background-image: -webkit-linear-gradient(#3875d7 20%, #2a62bc 90%);
|
169
|
+
background-image: -moz-linear-gradient(#3875d7 20%, #2a62bc 90%);
|
170
|
+
background-image: -o-linear-gradient(#3875d7 20%, #2a62bc 90%);
|
171
|
+
background-image: linear-gradient(#3875d7 20%, #2a62bc 90%);
|
172
|
+
color: #fff;
|
173
|
+
}
|
174
|
+
.chosen-container .chosen-results li.no-results {
|
175
|
+
display: list-item;
|
176
|
+
background: #f4f4f4;
|
177
|
+
}
|
178
|
+
.chosen-container .chosen-results li.group-result {
|
179
|
+
display: list-item;
|
180
|
+
font-weight: bold;
|
181
|
+
cursor: default;
|
182
|
+
}
|
183
|
+
.chosen-container .chosen-results li.group-option {
|
184
|
+
padding-left: 15px;
|
185
|
+
}
|
186
|
+
.chosen-container .chosen-results li em {
|
187
|
+
font-style: normal;
|
188
|
+
text-decoration: underline;
|
189
|
+
}
|
190
|
+
|
191
|
+
/* @end */
|
192
|
+
/* @group Multi Chosen */
|
193
|
+
.chosen-container-multi .chosen-choices {
|
194
|
+
position: relative;
|
195
|
+
overflow: hidden;
|
196
|
+
-webkit-box-sizing: border-box;
|
197
|
+
-moz-box-sizing: border-box;
|
198
|
+
box-sizing: border-box;
|
199
|
+
margin: 0;
|
200
|
+
padding: 5px;
|
201
|
+
width: 100%;
|
202
|
+
height: auto !important;
|
203
|
+
height: 1%;
|
204
|
+
border: 1px solid #ccc;
|
205
|
+
background-color: #fff;
|
206
|
+
cursor: text;
|
207
|
+
}
|
208
|
+
.chosen-container-multi .chosen-choices li {
|
209
|
+
float: left;
|
210
|
+
list-style: none;
|
211
|
+
}
|
212
|
+
.chosen-container-multi .chosen-choices li.search-field {
|
213
|
+
margin: 0;
|
214
|
+
padding: 0;
|
215
|
+
white-space: nowrap;
|
216
|
+
}
|
217
|
+
.chosen-container-multi .chosen-choices li.search-field input[type="text"] {
|
218
|
+
margin: 1px 0;
|
219
|
+
padding: 5px;
|
220
|
+
height: 15px;
|
221
|
+
outline: 0;
|
222
|
+
border: 0 !important;
|
223
|
+
background: transparent !important;
|
224
|
+
box-shadow: none;
|
225
|
+
color: #666;
|
226
|
+
font-size: 100%;
|
227
|
+
font-family: sans-serif;
|
228
|
+
line-height: normal;
|
229
|
+
border-radius: 0;
|
230
|
+
}
|
231
|
+
.chosen-container-multi .chosen-choices li.search-field .default {
|
232
|
+
color: #999;
|
233
|
+
}
|
234
|
+
.chosen-container-multi .chosen-choices li.search-choice {
|
235
|
+
position: relative;
|
236
|
+
margin: 3px 0 3px 5px;
|
237
|
+
padding: 3px 20px 3px 5px;
|
238
|
+
border: 1px solid #ccc;
|
239
|
+
border-radius: 3px;
|
240
|
+
background-color: #e4e4e4;
|
241
|
+
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
|
242
|
+
background-image: -webkit-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
243
|
+
background-image: -moz-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
244
|
+
background-image: -o-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
245
|
+
background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
246
|
+
background-clip: padding-box;
|
247
|
+
box-shadow: 0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05);
|
248
|
+
color: #333;
|
249
|
+
line-height: 13px;
|
250
|
+
cursor: default;
|
251
|
+
}
|
252
|
+
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
|
253
|
+
position: absolute;
|
254
|
+
top: 4px;
|
255
|
+
right: 3px;
|
256
|
+
display: block;
|
257
|
+
width: 12px;
|
258
|
+
height: 12px;
|
259
|
+
background: image-url('shoppe/chosen-sprite.png') -42px 1px no-repeat;
|
260
|
+
font-size: 1px;
|
261
|
+
}
|
262
|
+
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover {
|
263
|
+
background-position: -42px -10px;
|
264
|
+
}
|
265
|
+
.chosen-container-multi .chosen-choices li.search-choice-disabled {
|
266
|
+
padding-right: 5px;
|
267
|
+
border: 1px solid #ccc;
|
268
|
+
background-color: #e4e4e4;
|
269
|
+
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
|
270
|
+
background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
271
|
+
background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
272
|
+
background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
273
|
+
background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
274
|
+
color: #666;
|
275
|
+
}
|
276
|
+
.chosen-container-multi .chosen-choices li.search-choice-focus {
|
277
|
+
background: #d4d4d4;
|
278
|
+
}
|
279
|
+
.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close {
|
280
|
+
background-position: -42px -10px;
|
281
|
+
}
|
282
|
+
.chosen-container-multi .chosen-results {
|
283
|
+
margin: 0;
|
284
|
+
padding: 0;
|
285
|
+
}
|
286
|
+
.chosen-container-multi .chosen-drop .result-selected {
|
287
|
+
display: list-item;
|
288
|
+
color: #ccc;
|
289
|
+
cursor: default;
|
290
|
+
}
|
291
|
+
|
292
|
+
/* @end */
|
293
|
+
/* @group Active */
|
294
|
+
.chosen-container-active .chosen-single {
|
295
|
+
border: 1px solid #9AC835;
|
296
|
+
//box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
|
297
|
+
}
|
298
|
+
.chosen-container-active.chosen-with-drop .chosen-single {
|
299
|
+
border: 1px solid #ccc;
|
300
|
+
-moz-border-radius-bottomright: 0;
|
301
|
+
border-bottom-right-radius: 0;
|
302
|
+
-moz-border-radius-bottomleft: 0;
|
303
|
+
border-bottom-left-radius: 0;
|
304
|
+
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #eeeeee), color-stop(80%, #ffffff));
|
305
|
+
background-image: -webkit-linear-gradient(#eeeeee 20%, #ffffff 80%);
|
306
|
+
background-image: -moz-linear-gradient(#eeeeee 20%, #ffffff 80%);
|
307
|
+
background-image: -o-linear-gradient(#eeeeee 20%, #ffffff 80%);
|
308
|
+
background-image: linear-gradient(#eeeeee 20%, #ffffff 80%);
|
309
|
+
box-shadow: 0 1px 0 #fff inset;
|
310
|
+
}
|
311
|
+
.chosen-container-active.chosen-with-drop .chosen-single div {
|
312
|
+
border-left: none;
|
313
|
+
background: transparent;
|
314
|
+
}
|
315
|
+
.chosen-container-active.chosen-with-drop .chosen-single div b {
|
316
|
+
background-position: -18px 2px;
|
317
|
+
}
|
318
|
+
.chosen-container-active .chosen-choices {
|
319
|
+
border: 1px solid #9AC835;
|
320
|
+
}
|
321
|
+
.chosen-container-active .chosen-choices li.search-field input[type="text"] {
|
322
|
+
color: #111 !important;
|
323
|
+
}
|
324
|
+
|
325
|
+
/* @end */
|
326
|
+
/* @group Disabled Support */
|
327
|
+
.chosen-disabled {
|
328
|
+
opacity: 0.5 !important;
|
329
|
+
cursor: default;
|
330
|
+
}
|
331
|
+
.chosen-disabled .chosen-single {
|
332
|
+
cursor: default;
|
333
|
+
}
|
334
|
+
.chosen-disabled .chosen-choices .search-choice .search-choice-close {
|
335
|
+
cursor: default;
|
336
|
+
}
|
337
|
+
|
338
|
+
/* @end */
|
339
|
+
/* @group Right to Left */
|
340
|
+
.chosen-rtl {
|
341
|
+
text-align: right;
|
342
|
+
}
|
343
|
+
.chosen-rtl .chosen-single {
|
344
|
+
overflow: visible;
|
345
|
+
padding: 0 8px 0 0;
|
346
|
+
}
|
347
|
+
.chosen-rtl .chosen-single span {
|
348
|
+
margin-right: 0;
|
349
|
+
margin-left: 26px;
|
350
|
+
direction: rtl;
|
351
|
+
}
|
352
|
+
.chosen-rtl .chosen-single-with-deselect span {
|
353
|
+
margin-left: 38px;
|
354
|
+
}
|
355
|
+
.chosen-rtl .chosen-single div {
|
356
|
+
right: auto;
|
357
|
+
left: 3px;
|
358
|
+
}
|
359
|
+
.chosen-rtl .chosen-single abbr {
|
360
|
+
right: auto;
|
361
|
+
left: 26px;
|
362
|
+
}
|
363
|
+
.chosen-rtl .chosen-choices li {
|
364
|
+
float: right;
|
365
|
+
}
|
366
|
+
.chosen-rtl .chosen-choices li.search-field input[type="text"] {
|
367
|
+
direction: rtl;
|
368
|
+
}
|
369
|
+
.chosen-rtl .chosen-choices li.search-choice {
|
370
|
+
margin: 3px 5px 3px 0;
|
371
|
+
padding: 3px 5px 3px 19px;
|
372
|
+
}
|
373
|
+
.chosen-rtl .chosen-choices li.search-choice .search-choice-close {
|
374
|
+
right: auto;
|
375
|
+
left: 4px;
|
376
|
+
}
|
377
|
+
.chosen-rtl.chosen-container-single-nosearch .chosen-search,
|
378
|
+
.chosen-rtl .chosen-drop {
|
379
|
+
left: 9999px;
|
380
|
+
}
|
381
|
+
.chosen-rtl.chosen-container-single .chosen-results {
|
382
|
+
margin: 0 0 4px 4px;
|
383
|
+
padding: 0 4px 0 0;
|
384
|
+
}
|
385
|
+
.chosen-rtl .chosen-results li.group-option {
|
386
|
+
padding-right: 15px;
|
387
|
+
padding-left: 0;
|
388
|
+
}
|
389
|
+
.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div {
|
390
|
+
border-right: none;
|
391
|
+
}
|
392
|
+
.chosen-rtl .chosen-search input[type="text"] {
|
393
|
+
padding: 4px 5px 4px 20px;
|
394
|
+
background: white image-url('shoppe/chosen-sprite.png') no-repeat -30px -20px;
|
395
|
+
background: image-url('shoppe/chosen-sprite.png') no-repeat -30px -20px, -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
|
396
|
+
background: image-url('shoppe/chosen-sprite.png') no-repeat -30px -20px, -webkit-linear-gradient(#eeeeee 1%, #ffffff 15%);
|
397
|
+
background: image-url('shoppe/chosen-sprite.png') no-repeat -30px -20px, -moz-linear-gradient(#eeeeee 1%, #ffffff 15%);
|
398
|
+
background: image-url('shoppe/chosen-sprite.png') no-repeat -30px -20px, -o-linear-gradient(#eeeeee 1%, #ffffff 15%);
|
399
|
+
background: image-url('shoppe/chosen-sprite.png') no-repeat -30px -20px, linear-gradient(#eeeeee 1%, #ffffff 15%);
|
400
|
+
direction: rtl;
|
401
|
+
}
|
402
|
+
.chosen-rtl.chosen-container-single .chosen-single div b {
|
403
|
+
background-position: 6px 2px;
|
404
|
+
}
|
405
|
+
.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b {
|
406
|
+
background-position: -12px 2px;
|
407
|
+
}
|
408
|
+
|
409
|
+
/* @end */
|
410
|
+
/* @group Retina compatibility */
|
411
|
+
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi) {
|
412
|
+
.chosen-rtl .chosen-search input[type="text"],
|
413
|
+
.chosen-container-single .chosen-single abbr,
|
414
|
+
.chosen-container-single .chosen-single div b,
|
415
|
+
.chosen-container-single .chosen-search input[type="text"],
|
416
|
+
.chosen-container-multi .chosen-choices .search-choice .search-choice-close,
|
417
|
+
.chosen-container .chosen-results-scroll-down span,
|
418
|
+
.chosen-container .chosen-results-scroll-up span {
|
419
|
+
background-image: image-url('shoppe/chosen-sprite@2x.png') !important;
|
420
|
+
background-size: 52px 37px !important;
|
421
|
+
background-repeat: no-repeat !important;
|
422
|
+
}
|
423
|
+
}
|
424
|
+
/* @end */
|
@@ -0,0 +1,25 @@
|
|
1
|
+
div.niftyDialog {
|
2
|
+
h2 {
|
3
|
+
background:#fff;
|
4
|
+
border:0;
|
5
|
+
padding:0;
|
6
|
+
font-size:1.3em;
|
7
|
+
border-bottom:1px solid #000;
|
8
|
+
padding-bottom:4px;
|
9
|
+
margin-bottom:10px;
|
10
|
+
color:#111;
|
11
|
+
}
|
12
|
+
padding:15px;
|
13
|
+
nav.pagination { margin:0; margin-top:15px;}
|
14
|
+
p.intro { line-height:1.5; color:#666; margin:6px 0;}
|
15
|
+
|
16
|
+
form.refundForm {
|
17
|
+
overflow:hidden;
|
18
|
+
margin:10px;
|
19
|
+
p.intro { margin-bottom:25px;}
|
20
|
+
.moneyInput { float:left; }
|
21
|
+
.moneyInput .currency { font-size:1.4em;}
|
22
|
+
.moneyInput input { font-size:1.4em}
|
23
|
+
p.submit { float:right;}
|
24
|
+
}
|
25
|
+
}
|
@@ -0,0 +1,79 @@
|
|
1
|
+
@import 'variables';
|
2
|
+
|
3
|
+
//
|
4
|
+
// Buttons styles
|
5
|
+
//
|
6
|
+
.button {
|
7
|
+
border:0;
|
8
|
+
padding:0;
|
9
|
+
background:none;
|
10
|
+
text-decoration:none;
|
11
|
+
font-size:12px;
|
12
|
+
font-weight:500 !important;
|
13
|
+
text-transform:uppercase;
|
14
|
+
font-family:$font;
|
15
|
+
color:#fff !important;
|
16
|
+
padding:8px 20px;
|
17
|
+
border-radius:30px;
|
18
|
+
background-color:#40454D;
|
19
|
+
display:inline-block;
|
20
|
+
&:active {
|
21
|
+
background:#535963;
|
22
|
+
}
|
23
|
+
|
24
|
+
&.green {
|
25
|
+
background-color:#96BF48;
|
26
|
+
border-color:#96BF48;
|
27
|
+
border-bottom-color:#86a350;
|
28
|
+
&:active { background-color:#A8D750}
|
29
|
+
}
|
30
|
+
|
31
|
+
&.loading {
|
32
|
+
background-image:url(/images/spinners/button-green.gif);
|
33
|
+
background-repeat:no-repeat;
|
34
|
+
background-position:50% 50%;
|
35
|
+
color:transparent !important;
|
36
|
+
}
|
37
|
+
|
38
|
+
&.purple {
|
39
|
+
background-color:#C17391;
|
40
|
+
border-color:#C17391;
|
41
|
+
border-bottom-color:#a7667f;
|
42
|
+
&:active { background:#DC83A6}
|
43
|
+
}
|
44
|
+
|
45
|
+
&.orange {
|
46
|
+
background-color:#c8541b;
|
47
|
+
border-color:#c8541b;
|
48
|
+
border-bottom-color:#974117;
|
49
|
+
&:active { background:#e75d19}
|
50
|
+
}
|
51
|
+
|
52
|
+
&.grey {
|
53
|
+
background-color:#777;
|
54
|
+
border-color:#777;
|
55
|
+
border-bottom-color:#777;
|
56
|
+
&:active { background:#888}
|
57
|
+
}
|
58
|
+
|
59
|
+
&.white {
|
60
|
+
background-color:#fff;
|
61
|
+
color:#333 !important;
|
62
|
+
}
|
63
|
+
|
64
|
+
&.white-green {
|
65
|
+
background-color:#fff;
|
66
|
+
color:#96BF48 !important;
|
67
|
+
}
|
68
|
+
|
69
|
+
|
70
|
+
&.button-mini {
|
71
|
+
font-size:11px;
|
72
|
+
padding:4px 10px;
|
73
|
+
box-shadow:none;
|
74
|
+
font-weight:normal;
|
75
|
+
text-shadow:none;
|
76
|
+
text-transform:none;
|
77
|
+
}
|
78
|
+
|
79
|
+
}
|