rails_marketplace 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +20 -20
- data/README.rdoc +2 -2
- data/Rakefile +37 -37
- data/app/assets/javascripts/rails_marketplace/application.js +46 -46
- data/app/assets/javascripts/rails_marketplace/catalog.coffee +3 -3
- data/app/assets/javascripts/rails_marketplace/flash.js +6 -6
- data/app/assets/javascripts/rails_marketplace/footermanifest.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/autocomplete/countries.js +266 -266
- data/app/assets/javascripts/rails_marketplace/js/autocomplete/jquery.autocomplete.js +986 -986
- data/app/assets/javascripts/rails_marketplace/js/bootstrap.min.js +6 -6
- data/app/assets/javascripts/rails_marketplace/js/calendar/fullcalendar.min.js +8 -8
- data/app/assets/javascripts/rails_marketplace/js/chartjs/chart.min.js +13 -13
- data/app/assets/javascripts/rails_marketplace/js/colorpicker/bootstrap-colorpicker.min.js +1087 -1087
- data/app/assets/javascripts/rails_marketplace/js/colorpicker/docs.js +17 -17
- data/app/assets/javascripts/rails_marketplace/js/cropping/cropper.min.js +9 -9
- data/app/assets/javascripts/rails_marketplace/js/cropping/main.js +321 -321
- data/app/assets/javascripts/rails_marketplace/js/cropping/main2.js +160 -160
- data/app/assets/javascripts/rails_marketplace/js/custom.js +379 -379
- data/app/assets/javascripts/rails_marketplace/js/datatables/buttons.bootstrap.min.css +1 -1
- data/app/assets/javascripts/rails_marketplace/js/datatables/buttons.bootstrap.min.js +6 -6
- data/app/assets/javascripts/rails_marketplace/js/datatables/buttons.html5.min.js +22 -22
- data/app/assets/javascripts/rails_marketplace/js/datatables/buttons.print.min.js +4 -4
- data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.bootstrap.js +8 -8
- data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.buttons.min.js +36 -36
- data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.fixedHeader.min.js +17 -17
- data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.keyTable.min.js +18 -18
- data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.responsive.min.js +25 -25
- data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.scroller.min.js +26 -26
- data/app/assets/javascripts/rails_marketplace/js/datatables/fixedHeader.bootstrap.min.css +1 -1
- data/app/assets/javascripts/rails_marketplace/js/datatables/jquery.dataTables.min.css +333 -333
- data/app/assets/javascripts/rails_marketplace/js/datatables/jquery.dataTables.min.js +166 -166
- data/app/assets/javascripts/rails_marketplace/js/datatables/json/scroller-demo.json +2501 -2501
- data/app/assets/javascripts/rails_marketplace/js/datatables/jszip.min.js +14 -14
- data/app/assets/javascripts/rails_marketplace/js/datatables/pdfmake.min.js +21 -21
- data/app/assets/javascripts/rails_marketplace/js/datatables/responsive.bootstrap.min.css +1 -1
- data/app/assets/javascripts/rails_marketplace/js/datatables/responsive.bootstrap.min.js +7 -7
- data/app/assets/javascripts/rails_marketplace/js/datatables/scroller.bootstrap.min.css +1 -1
- data/app/assets/javascripts/rails_marketplace/js/dropzone/dropzone.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/easypie/jquery.easypiechart.min.js +9 -9
- data/app/assets/javascripts/rails_marketplace/js/echart/echarts-all.js +35 -35
- data/app/assets/javascripts/rails_marketplace/js/echart/green.js +212 -212
- data/app/assets/javascripts/rails_marketplace/js/editor/bootstrap-wysiwyg.js +200 -200
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-apollo.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-basic.js +3 -3
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-clj.js +18 -18
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-css.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-dart.js +3 -3
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-erlang.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-go.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-hs.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-lisp.js +3 -3
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-llvm.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-lua.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-matlab.js +6 -6
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-ml.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-mumps.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-n.js +4 -4
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-pascal.js +3 -3
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-proto.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-r.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-rd.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-scala.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-sql.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-tcl.js +3 -3
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-tex.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-vb.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-vhdl.js +3 -3
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-wiki.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-xq.js +3 -3
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-yaml.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/prettify.js +30 -30
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/run_prettify.js +34 -34
- data/app/assets/javascripts/rails_marketplace/js/editor/external/jquery.hotkeys.js +99 -99
- data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.orderBars.js +200 -200
- data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.pie.js +820 -820
- data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.resize.js +57 -57
- data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.stack.js +188 -188
- data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.tooltip.min.js +11 -11
- data/app/assets/javascripts/rails_marketplace/js/gauge/gauge.min.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/gauge/gauge_demo.js +21 -21
- data/app/assets/javascripts/rails_marketplace/js/icheck/icheck.min.js +11 -11
- data/app/assets/javascripts/rails_marketplace/js/input_mask/jquery.inputmask.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/jquery.min.js +5 -5
- data/app/assets/javascripts/rails_marketplace/js/maps/gdp-data.js +184 -184
- data/app/assets/javascripts/rails_marketplace/js/maps/jquery-jvectormap-2.0.3.min.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/moment/moment.min.js +6 -6
- data/app/assets/javascripts/rails_marketplace/js/moris/example.js +127 -127
- data/app/assets/javascripts/rails_marketplace/js/moris/morris.min.js +7 -7
- data/app/assets/javascripts/rails_marketplace/js/moris/raphael-min.js +11 -11
- data/app/assets/javascripts/rails_marketplace/js/notify/pnotify.buttons.js +132 -132
- data/app/assets/javascripts/rails_marketplace/js/notify/pnotify.nonblock.js +151 -151
- data/app/assets/javascripts/rails_marketplace/js/nprogress.js +476 -476
- data/app/assets/javascripts/rails_marketplace/js/pace/pace.min.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/parsley/parsley.min.js +8 -8
- data/app/assets/javascripts/rails_marketplace/js/progressbar/bootstrap-progressbar.min.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/select/select2.full.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/sidebar/classie.js +80 -80
- data/app/assets/javascripts/rails_marketplace/js/sidebar/component.css +569 -569
- data/app/assets/javascripts/rails_marketplace/js/sidebar/modernizr.custom.js +3 -3
- data/app/assets/javascripts/rails_marketplace/js/sidebar/sidebarEffects.js +62 -62
- data/app/assets/javascripts/rails_marketplace/js/skycons/skycons.min.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/sparkline/jquery.sparkline.min.js +4 -4
- data/app/assets/javascripts/rails_marketplace/js/textarea/autosize.min.js +5 -5
- data/app/assets/javascripts/rails_marketplace/less/custom.css +6355 -6355
- data/app/assets/javascripts/rails_marketplace/marketplace.js +17 -17
- data/app/assets/javascripts/rails_marketplace/welcome.coffee +3 -3
- data/app/assets/stylesheets/rails_marketplace/application.scss +30 -30
- data/app/assets/stylesheets/rails_marketplace/catalog.scss +131 -131
- data/app/assets/stylesheets/rails_marketplace/css/animate.min.css +11 -11
- data/app/assets/stylesheets/rails_marketplace/css/bootstrap.min.css +5 -5
- data/app/assets/stylesheets/rails_marketplace/css/calendar/fullcalendar.css +1116 -1116
- data/app/assets/stylesheets/rails_marketplace/css/calendar/fullcalendar.min.css +4 -4
- data/app/assets/stylesheets/rails_marketplace/css/calendar/fullcalendar.print.css +208 -208
- data/app/assets/stylesheets/rails_marketplace/css/colorpicker/bootstrap-colorpicker.min.css +8 -8
- data/app/assets/stylesheets/rails_marketplace/css/custom.css +5347 -5347
- data/app/assets/stylesheets/rails_marketplace/css/datatables/css/demo_page.css +103 -103
- data/app/assets/stylesheets/rails_marketplace/css/datatables/css/demo_table.css +258 -258
- data/app/assets/stylesheets/rails_marketplace/css/datatables/css/demo_table_jui.css +500 -500
- data/app/assets/stylesheets/rails_marketplace/css/datatables/css/jquery.dataTables.css +221 -221
- data/app/assets/stylesheets/rails_marketplace/css/datatables/css/jquery.dataTables_themeroller.css +244 -244
- data/app/assets/stylesheets/rails_marketplace/css/datatables/tools/css/dataTables.tableTools.css +336 -336
- data/app/assets/stylesheets/rails_marketplace/css/editor/index.css +42 -42
- data/app/assets/stylesheets/rails_marketplace/css/floatexamples.css +21 -21
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/_all.css +529 -529
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/aero.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/blue.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/flat.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/green.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/grey.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/orange.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/pink.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/purple.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/red.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/yellow.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/ion.rangeSlider.css +146 -146
- data/app/assets/stylesheets/rails_marketplace/css/ion.rangeSlider.skinFlat.css +106 -106
- data/app/assets/stylesheets/rails_marketplace/css/maps/jquery-jvectormap-2.0.3.css +135 -135
- data/app/assets/stylesheets/rails_marketplace/css/normalize.css +421 -421
- data/app/assets/stylesheets/rails_marketplace/css/nprogress.css +74 -74
- data/app/assets/stylesheets/rails_marketplace/css/progressbar/bootstrap-progressbar-3.3.0.css +161 -161
- data/app/assets/stylesheets/rails_marketplace/css/select/select2.min.css +403 -403
- data/app/assets/stylesheets/rails_marketplace/fonts/css/font-awesome.css +2086 -2086
- data/app/assets/stylesheets/rails_marketplace/fonts/css/font-awesome.min.css +4 -4
- data/app/assets/stylesheets/rails_marketplace/fonts/fonts/FontAwesome.otf +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.eot +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.svg +654 -654
- data/app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.ttf +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.woff +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.woff2 +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.svg +287 -287
- data/app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.woff +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/less/animated.less +34 -34
- data/app/assets/stylesheets/rails_marketplace/fonts/less/bordered-pulled.less +25 -25
- data/app/assets/stylesheets/rails_marketplace/fonts/less/core.less +12 -12
- data/app/assets/stylesheets/rails_marketplace/fonts/less/fixed-width.less +6 -6
- data/app/assets/stylesheets/rails_marketplace/fonts/less/font-awesome.less +17 -17
- data/app/assets/stylesheets/rails_marketplace/fonts/less/icons.less +697 -697
- data/app/assets/stylesheets/rails_marketplace/fonts/less/larger.less +13 -13
- data/app/assets/stylesheets/rails_marketplace/fonts/less/list.less +19 -19
- data/app/assets/stylesheets/rails_marketplace/fonts/less/mixins.less +26 -26
- data/app/assets/stylesheets/rails_marketplace/fonts/less/path.less +15 -15
- data/app/assets/stylesheets/rails_marketplace/fonts/less/rotated-flipped.less +20 -20
- data/app/assets/stylesheets/rails_marketplace/fonts/less/spinning.less +29 -29
- data/app/assets/stylesheets/rails_marketplace/fonts/less/stacked.less +20 -20
- data/app/assets/stylesheets/rails_marketplace/fonts/less/variables.less +708 -708
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_animated.scss +34 -34
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_bordered-pulled.scss +25 -25
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_core.scss +12 -12
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_fixed-width.scss +6 -6
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_icons.scss +697 -697
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_larger.scss +13 -13
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_list.scss +19 -19
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_mixins.scss +26 -26
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_path.scss +15 -15
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_rotated-flipped.scss +20 -20
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_spinning.scss +29 -29
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_stacked.scss +20 -20
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_variables.scss +708 -708
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/font-awesome.scss +17 -17
- data/app/assets/stylesheets/rails_marketplace/images/loading.gif +0 -0
- data/app/assets/stylesheets/rails_marketplace/marketplace.scss +19 -19
- data/app/assets/stylesheets/rails_marketplace/pace.css +76 -76
- data/app/assets/stylesheets/rails_marketplace/welcome.scss +3 -3
- data/app/assets/stylesheets/scaffold.css +56 -56
- data/app/controllers/rails_marketplace/admin_controller.rb +150 -150
- data/app/controllers/rails_marketplace/application_controller.rb +4 -4
- data/app/controllers/rails_marketplace/catalog_controller.rb +171 -171
- data/app/controllers/rails_marketplace/seller_controller.rb +180 -180
- data/app/helpers/rails_marketplace/admin_helper.rb +16 -16
- data/app/helpers/rails_marketplace/application_helper.rb +4 -4
- data/app/helpers/rails_marketplace/catalog_helper.rb +4 -4
- data/app/helpers/rails_marketplace/plainpage_helper.rb +4 -4
- data/app/helpers/rails_marketplace/seller_helper.rb +15 -15
- data/app/models/rails_marketplace/admin.rb +9 -9
- data/app/models/rails_marketplace/admin_setting.rb +13 -13
- data/app/models/rails_marketplace/cart.rb +48 -48
- data/app/models/rails_marketplace/cart_product.rb +6 -6
- data/app/models/rails_marketplace/category.rb +21 -21
- data/app/models/rails_marketplace/category_product.rb +5 -5
- data/app/models/rails_marketplace/customer.rb +5 -5
- data/app/models/rails_marketplace/order.rb +21 -21
- data/app/models/rails_marketplace/order_product.rb +6 -6
- data/app/models/rails_marketplace/product.rb +33 -33
- data/app/models/rails_marketplace/seller.rb +12 -12
- data/app/models/rails_marketplace/seller_setting.rb +5 -5
- data/app/views/layouts/rails_marketplace/application.html.erb +37 -37
- data/app/views/layouts/rails_marketplace/seller_central.html.erb +58 -58
- data/app/views/layouts/rails_marketplace/super_admin.html.erb +58 -58
- data/app/views/rails_marketplace/admin/add_category.html.erb +63 -63
- data/app/views/rails_marketplace/admin/categories.html.erb +50 -50
- data/app/views/rails_marketplace/admin/category_products.html.erb +54 -54
- data/app/views/rails_marketplace/admin/dashboard.html.erb +49 -49
- data/app/views/rails_marketplace/admin/edit_category.html.erb +63 -63
- data/app/views/rails_marketplace/admin/login_form.html.erb +19 -19
- data/app/views/rails_marketplace/admin/products.html.erb +54 -54
- data/app/views/rails_marketplace/admin/seller_products.html.erb +54 -54
- data/app/views/rails_marketplace/admin/sellers.html.erb +48 -48
- data/app/views/rails_marketplace/admin/settings_form.html.erb +38 -38
- data/app/views/rails_marketplace/admin/signup_form.html.erb +24 -24
- data/app/views/rails_marketplace/catalog/cart.html.erb +80 -80
- data/app/views/rails_marketplace/catalog/category_products.html.erb +52 -52
- data/app/views/rails_marketplace/catalog/checkout.html.erb +207 -207
- data/app/views/rails_marketplace/catalog/checkout_success.html.erb +14 -14
- data/app/views/rails_marketplace/catalog/index.html.erb +0 -0
- data/app/views/rails_marketplace/catalog/product_detail.html.erb +87 -87
- data/app/views/rails_marketplace/partials/_admin_sidenav.html.erb +80 -80
- data/app/views/rails_marketplace/partials/_admin_topnav.html.erb +111 -111
- data/app/views/rails_marketplace/partials/_footer.html.erb +19 -19
- data/app/views/rails_marketplace/partials/_menu.html.erb +41 -41
- data/app/views/rails_marketplace/partials/_sidenav.html.erb +77 -77
- data/app/views/rails_marketplace/partials/_topnav.html.erb +105 -105
- data/app/views/rails_marketplace/seller/add_bulk_products.html.erb +0 -0
- data/app/views/rails_marketplace/seller/add_product.html.erb +66 -66
- data/app/views/rails_marketplace/seller/dashboard.html.erb +50 -50
- data/app/views/rails_marketplace/seller/edit_product.html.erb +68 -68
- data/app/views/rails_marketplace/seller/login_form.html.erb +36 -36
- data/app/views/rails_marketplace/seller/order_details.html.erb +69 -69
- data/app/views/rails_marketplace/seller/orders.html.erb +68 -68
- data/app/views/rails_marketplace/seller/products.html.erb +55 -55
- data/app/views/rails_marketplace/seller/settings_general.html.erb +64 -64
- data/app/views/rails_marketplace/seller/settings_payment.html.erb +34 -34
- data/app/views/rails_marketplace/seller/settings_shipping.html.erb +34 -34
- data/app/views/rails_marketplace/seller/settings_tax.html.erb +34 -34
- data/app/views/rails_marketplace/seller/signup_form.html.erb +27 -27
- data/app/views/rails_marketplace/seller/step_two.html.erb +16 -16
- data/app/views/rails_marketplace/shared/_admin_error_messages.html.erb +11 -11
- data/app/views/rails_marketplace/shared/_product_error_messages.html.erb +11 -11
- data/app/views/rails_marketplace/shared/_seller_error_messages.html.erb +11 -11
- data/config/routes.rb +58 -58
- data/db/migrate/20161013194852_create_sellers.rb +13 -13
- data/db/migrate/20161013195006_create_customers.rb +13 -13
- data/db/migrate/20161013195758_create_orders.rb +8 -8
- data/db/migrate/20161014013032_create_category_products.rb +10 -10
- data/db/migrate/20161014013058_create_order_products.rb +13 -13
- data/db/migrate/20161017185755_create_admins.rb +12 -12
- data/db/migrate/20161017232347_create_products.rb +14 -14
- data/db/migrate/20161019012043_add_reference_product_seller.rb +5 -5
- data/db/migrate/20161019013502_change_data_type_images_files.rb +6 -6
- data/db/migrate/20161019022020_add_reference_order_customers.rb +5 -5
- data/db/migrate/20161109191644_create_categories.rb +15 -15
- data/db/migrate/20161110021043_create_friendly_id_slugs.rb +15 -15
- data/db/migrate/20161110021131_add_slug_to_category.rb +6 -6
- data/db/migrate/20161110024118_add_slug_to_product.rb +6 -6
- data/db/migrate/20161111001446_create_carts.rb +8 -8
- data/db/migrate/20161111004451_create_cart_products.rb +12 -12
- data/db/migrate/20161115013956_add_currency_format_to_price.rb +6 -6
- data/db/migrate/20161115015227_monetize_product.rb +5 -5
- data/db/migrate/20161115032905_add_stripe_key_to_admin.rb +6 -6
- data/db/migrate/20161124015608_add_order_fields.rb +16 -16
- data/db/migrate/20161207193917_add_seller_to_orders.rb +6 -6
- data/db/migrate/20161208012601_add_price_to_cart_products.rb +6 -6
- data/db/migrate/20161208013402_add_money_to_cart_products.rb +6 -6
- data/db/migrate/20170217183953_create_seller_settings.rb +29 -29
- data/db/migrate/20170218003202_create_admin_settings.rb +24 -24
- data/db/migrate/20170224230449_create_stripe_managed_accounts.rb +9 -9
- data/db/migrate/20170224233736_add_stripe_to_admin_settings.rb +9 -9
- data/db/migrate/20170224235259_add_id_to_settings.rb +6 -6
- data/db/migrate/20170225002939_delete_stripe_accounts.rb +8 -8
- data/db/migrate/20170225003252_add_stripe_account_id_to_seller_settings.rb +5 -5
- data/lib/rails_marketplace.rb +4 -4
- data/lib/rails_marketplace/engine.rb +9 -9
- data/lib/rails_marketplace/version.rb +3 -3
- data/lib/tasks/rails_marketplace_tasks.rake +4 -4
- data/spec/controllers/rails_marketplace/catalog_controller_spec.rb +75 -75
- data/spec/dummy/README.rdoc +28 -28
- data/spec/dummy/Rakefile +6 -6
- data/spec/dummy/app/assets/javascripts/application.js +13 -13
- data/spec/dummy/app/assets/stylesheets/application.css +15 -15
- data/spec/dummy/app/controllers/application_controller.rb +5 -5
- data/spec/dummy/app/helpers/application_helper.rb +2 -2
- data/spec/dummy/app/views/layouts/application.html.erb +14 -14
- data/spec/dummy/bin/bundle +3 -3
- data/spec/dummy/bin/rails +4 -4
- data/spec/dummy/bin/rake +4 -4
- data/spec/dummy/bin/setup +29 -29
- data/spec/dummy/config.ru +4 -4
- data/spec/dummy/config/application.rb +32 -32
- data/spec/dummy/config/boot.rb +5 -5
- data/spec/dummy/config/database.yml +25 -25
- data/spec/dummy/config/environment.rb +5 -5
- data/spec/dummy/config/environments/development.rb +41 -41
- data/spec/dummy/config/environments/production.rb +79 -79
- data/spec/dummy/config/environments/test.rb +42 -42
- data/spec/dummy/config/initializers/assets.rb +11 -11
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -7
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -3
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -4
- data/spec/dummy/config/initializers/inflections.rb +16 -16
- data/spec/dummy/config/initializers/mime_types.rb +4 -4
- data/spec/dummy/config/initializers/session_store.rb +3 -3
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -14
- data/spec/dummy/config/locales/en.yml +23 -23
- data/spec/dummy/config/routes.rb +4 -4
- data/spec/dummy/config/secrets.yml +22 -22
- data/spec/dummy/db/schema.rb +194 -194
- data/spec/dummy/log/development.log +889 -889
- data/spec/dummy/log/test.log +1229 -1229
- data/spec/dummy/public/404.html +67 -67
- data/spec/dummy/public/422.html +67 -67
- data/spec/dummy/public/500.html +66 -66
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/helpers/rails_marketplace/catalog_helper_spec.rb +17 -17
- data/spec/routing/rails_marketplace/catalog_routing_spec.rb +44 -44
- data/spec/spec_helper.rb +44 -44
- data/spec/views/rails_marketplace/catalog/edit.html.erb_spec.rb +15 -15
- data/spec/views/rails_marketplace/catalog/index.html.erb_spec.rb +15 -15
- data/spec/views/rails_marketplace/catalog/new.html.erb_spec.rb +15 -15
- data/spec/views/rails_marketplace/catalog/show.html.erb_spec.rb +12 -12
- metadata +37 -38
@@ -1,42 +1,42 @@
|
|
1
|
-
/* this CSS is not part of the widget, it is here just as an example of the demo page styling.... Don't copy this one, roll your own. One
|
2
|
-
* of the key things about the widget is that it allows you to do your own styling!
|
3
|
-
*/
|
4
|
-
|
5
|
-
#editor {
|
6
|
-
max-height: 250px;
|
7
|
-
height: 250px;
|
8
|
-
background-color: white;
|
9
|
-
border-collapse: separate;
|
10
|
-
border: 1px solid rgb(204, 204, 204);
|
11
|
-
padding: 4px;
|
12
|
-
box-sizing: content-box;
|
13
|
-
-webkit-box-shadow: rgba(0, 0, 0, 0.0745098) 0px 1px 1px 0px inset;
|
14
|
-
box-shadow: rgba(0, 0, 0, 0.0745098) 0px 1px 1px 0px inset;
|
15
|
-
border-top-right-radius: 3px; border-bottom-right-radius: 3px;
|
16
|
-
border-bottom-left-radius: 3px; border-top-left-radius: 3px;
|
17
|
-
overflow: scroll;
|
18
|
-
outline: none;
|
19
|
-
}
|
20
|
-
#voiceBtn {
|
21
|
-
width: 20px;
|
22
|
-
color: transparent;
|
23
|
-
background-color: transparent;
|
24
|
-
transform: scale(2.0, 2.0);
|
25
|
-
-webkit-transform: scale(2.0, 2.0);
|
26
|
-
-moz-transform: scale(2.0, 2.0);
|
27
|
-
border: transparent;
|
28
|
-
cursor: pointer;
|
29
|
-
box-shadow: none;
|
30
|
-
-webkit-box-shadow: none;
|
31
|
-
}
|
32
|
-
|
33
|
-
div[data-role="editor-toolbar"] {
|
34
|
-
-webkit-user-select: none;
|
35
|
-
-moz-user-select: none;
|
36
|
-
-ms-user-select: none;
|
37
|
-
user-select: none;
|
38
|
-
}
|
39
|
-
|
40
|
-
.dropdown-menu a {
|
41
|
-
cursor: pointer;
|
42
|
-
}
|
1
|
+
/* this CSS is not part of the widget, it is here just as an example of the demo page styling.... Don't copy this one, roll your own. One
|
2
|
+
* of the key things about the widget is that it allows you to do your own styling!
|
3
|
+
*/
|
4
|
+
|
5
|
+
#editor {
|
6
|
+
max-height: 250px;
|
7
|
+
height: 250px;
|
8
|
+
background-color: white;
|
9
|
+
border-collapse: separate;
|
10
|
+
border: 1px solid rgb(204, 204, 204);
|
11
|
+
padding: 4px;
|
12
|
+
box-sizing: content-box;
|
13
|
+
-webkit-box-shadow: rgba(0, 0, 0, 0.0745098) 0px 1px 1px 0px inset;
|
14
|
+
box-shadow: rgba(0, 0, 0, 0.0745098) 0px 1px 1px 0px inset;
|
15
|
+
border-top-right-radius: 3px; border-bottom-right-radius: 3px;
|
16
|
+
border-bottom-left-radius: 3px; border-top-left-radius: 3px;
|
17
|
+
overflow: scroll;
|
18
|
+
outline: none;
|
19
|
+
}
|
20
|
+
#voiceBtn {
|
21
|
+
width: 20px;
|
22
|
+
color: transparent;
|
23
|
+
background-color: transparent;
|
24
|
+
transform: scale(2.0, 2.0);
|
25
|
+
-webkit-transform: scale(2.0, 2.0);
|
26
|
+
-moz-transform: scale(2.0, 2.0);
|
27
|
+
border: transparent;
|
28
|
+
cursor: pointer;
|
29
|
+
box-shadow: none;
|
30
|
+
-webkit-box-shadow: none;
|
31
|
+
}
|
32
|
+
|
33
|
+
div[data-role="editor-toolbar"] {
|
34
|
+
-webkit-user-select: none;
|
35
|
+
-moz-user-select: none;
|
36
|
+
-ms-user-select: none;
|
37
|
+
user-select: none;
|
38
|
+
}
|
39
|
+
|
40
|
+
.dropdown-menu a {
|
41
|
+
cursor: pointer;
|
42
|
+
}
|
@@ -1,22 +1,22 @@
|
|
1
|
-
|
2
|
-
.demo-container {
|
3
|
-
box-sizing: border-box;
|
4
|
-
width: 100%;
|
5
|
-
height: 350px; display: block; margin-bottom: 10px;
|
6
|
-
}
|
7
|
-
|
8
|
-
.demo-placeholder {
|
9
|
-
width: 100%;
|
10
|
-
height: 100%;
|
11
|
-
font-size: 14px;
|
12
|
-
line-height: 1.2em;
|
13
|
-
}
|
14
|
-
|
15
|
-
.legend table {
|
16
|
-
border-spacing: 5px;
|
17
|
-
}
|
18
|
-
.pieLabel {
|
19
|
-
border: 1px solid #CAC9C9;
|
20
|
-
border-radius: 4px;
|
21
|
-
padding: 1px 1px;
|
1
|
+
|
2
|
+
.demo-container {
|
3
|
+
box-sizing: border-box;
|
4
|
+
width: 100%;
|
5
|
+
height: 350px; display: block; margin-bottom: 10px;
|
6
|
+
}
|
7
|
+
|
8
|
+
.demo-placeholder {
|
9
|
+
width: 100%;
|
10
|
+
height: 100%;
|
11
|
+
font-size: 14px;
|
12
|
+
line-height: 1.2em;
|
13
|
+
}
|
14
|
+
|
15
|
+
.legend table {
|
16
|
+
border-spacing: 5px;
|
17
|
+
}
|
18
|
+
.pieLabel {
|
19
|
+
border: 1px solid #CAC9C9;
|
20
|
+
border-radius: 4px;
|
21
|
+
padding: 1px 1px;
|
22
22
|
}
|
@@ -1,530 +1,530 @@
|
|
1
|
-
/* iCheck plugin Flat skin
|
2
|
-
----------------------------------- */
|
3
|
-
.icheckbox_flat,
|
4
|
-
.iradio_flat {
|
5
|
-
display: inline-block;
|
6
|
-
*display: inline;
|
7
|
-
vertical-align: middle;
|
8
|
-
margin: 0;
|
9
|
-
padding: 0;
|
10
|
-
width: 20px;
|
11
|
-
height: 20px;
|
12
|
-
background: url(flat.png) no-repeat;
|
13
|
-
border: none;
|
14
|
-
cursor: pointer;
|
15
|
-
}
|
16
|
-
|
17
|
-
.icheckbox_flat {
|
18
|
-
background-position: 0 0;
|
19
|
-
}
|
20
|
-
.icheckbox_flat.checked {
|
21
|
-
background-position: -22px 0;
|
22
|
-
}
|
23
|
-
.icheckbox_flat.disabled {
|
24
|
-
background-position: -44px 0;
|
25
|
-
cursor: default;
|
26
|
-
}
|
27
|
-
.icheckbox_flat.checked.disabled {
|
28
|
-
background-position: -66px 0;
|
29
|
-
}
|
30
|
-
|
31
|
-
.iradio_flat {
|
32
|
-
background-position: -88px 0;
|
33
|
-
}
|
34
|
-
.iradio_flat.checked {
|
35
|
-
background-position: -110px 0;
|
36
|
-
}
|
37
|
-
.iradio_flat.disabled {
|
38
|
-
background-position: -132px 0;
|
39
|
-
cursor: default;
|
40
|
-
}
|
41
|
-
.iradio_flat.checked.disabled {
|
42
|
-
background-position: -154px 0;
|
43
|
-
}
|
44
|
-
|
45
|
-
/* HiDPI support */
|
46
|
-
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
|
47
|
-
.icheckbox_flat,
|
48
|
-
.iradio_flat {
|
49
|
-
background-image: url(flat@2x.png);
|
50
|
-
-webkit-background-size: 176px 22px;
|
51
|
-
background-size: 176px 22px;
|
52
|
-
}
|
53
|
-
}
|
54
|
-
|
55
|
-
/* red */
|
56
|
-
.icheckbox_flat-red,
|
57
|
-
.iradio_flat-red {
|
58
|
-
display: inline-block;
|
59
|
-
*display: inline;
|
60
|
-
vertical-align: middle;
|
61
|
-
margin: 0;
|
62
|
-
padding: 0;
|
63
|
-
width: 20px;
|
64
|
-
height: 20px;
|
65
|
-
background: url(red.png) no-repeat;
|
66
|
-
border: none;
|
67
|
-
cursor: pointer;
|
68
|
-
}
|
69
|
-
|
70
|
-
.icheckbox_flat-red {
|
71
|
-
background-position: 0 0;
|
72
|
-
}
|
73
|
-
.icheckbox_flat-red.checked {
|
74
|
-
background-position: -22px 0;
|
75
|
-
}
|
76
|
-
.icheckbox_flat-red.disabled {
|
77
|
-
background-position: -44px 0;
|
78
|
-
cursor: default;
|
79
|
-
}
|
80
|
-
.icheckbox_flat-red.checked.disabled {
|
81
|
-
background-position: -66px 0;
|
82
|
-
}
|
83
|
-
|
84
|
-
.iradio_flat-red {
|
85
|
-
background-position: -88px 0;
|
86
|
-
}
|
87
|
-
.iradio_flat-red.checked {
|
88
|
-
background-position: -110px 0;
|
89
|
-
}
|
90
|
-
.iradio_flat-red.disabled {
|
91
|
-
background-position: -132px 0;
|
92
|
-
cursor: default;
|
93
|
-
}
|
94
|
-
.iradio_flat-red.checked.disabled {
|
95
|
-
background-position: -154px 0;
|
96
|
-
}
|
97
|
-
|
98
|
-
/* HiDPI support */
|
99
|
-
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
|
100
|
-
.icheckbox_flat-red,
|
101
|
-
.iradio_flat-red {
|
102
|
-
background-image: url(red@2x.png);
|
103
|
-
-webkit-background-size: 176px 22px;
|
104
|
-
background-size: 176px 22px;
|
105
|
-
}
|
106
|
-
}
|
107
|
-
|
108
|
-
/* green */
|
109
|
-
.icheckbox_flat-green,
|
110
|
-
.iradio_flat-green {
|
111
|
-
display: inline-block;
|
112
|
-
*display: inline;
|
113
|
-
vertical-align: middle;
|
114
|
-
margin: 0;
|
115
|
-
padding: 0;
|
116
|
-
width: 20px;
|
117
|
-
height: 20px;
|
118
|
-
background: url(green.png) no-repeat;
|
119
|
-
border: none;
|
120
|
-
cursor: pointer;
|
121
|
-
}
|
122
|
-
|
123
|
-
.icheckbox_flat-green {
|
124
|
-
background-position: 0 0;
|
125
|
-
}
|
126
|
-
.icheckbox_flat-green.checked {
|
127
|
-
background-position: -22px 0;
|
128
|
-
}
|
129
|
-
.icheckbox_flat-green.disabled {
|
130
|
-
background-position: -44px 0;
|
131
|
-
cursor: default;
|
132
|
-
}
|
133
|
-
.icheckbox_flat-green.checked.disabled {
|
134
|
-
background-position: -66px 0;
|
135
|
-
}
|
136
|
-
|
137
|
-
.iradio_flat-green {
|
138
|
-
background-position: -88px 0;
|
139
|
-
}
|
140
|
-
.iradio_flat-green.checked {
|
141
|
-
background-position: -110px 0;
|
142
|
-
}
|
143
|
-
.iradio_flat-green.disabled {
|
144
|
-
background-position: -132px 0;
|
145
|
-
cursor: default;
|
146
|
-
}
|
147
|
-
.iradio_flat-green.checked.disabled {
|
148
|
-
background-position: -154px 0;
|
149
|
-
}
|
150
|
-
|
151
|
-
/* HiDPI support */
|
152
|
-
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
|
153
|
-
.icheckbox_flat-green,
|
154
|
-
.iradio_flat-green {
|
155
|
-
background-image: url(green@2x.png);
|
156
|
-
-webkit-background-size: 176px 22px;
|
157
|
-
background-size: 176px 22px;
|
158
|
-
}
|
159
|
-
}
|
160
|
-
|
161
|
-
/* blue */
|
162
|
-
.icheckbox_flat-blue,
|
163
|
-
.iradio_flat-blue {
|
164
|
-
display: inline-block;
|
165
|
-
*display: inline;
|
166
|
-
vertical-align: middle;
|
167
|
-
margin: 0;
|
168
|
-
padding: 0;
|
169
|
-
width: 20px;
|
170
|
-
height: 20px;
|
171
|
-
background: url(blue.png) no-repeat;
|
172
|
-
border: none;
|
173
|
-
cursor: pointer;
|
174
|
-
}
|
175
|
-
|
176
|
-
.icheckbox_flat-blue {
|
177
|
-
background-position: 0 0;
|
178
|
-
}
|
179
|
-
.icheckbox_flat-blue.checked {
|
180
|
-
background-position: -22px 0;
|
181
|
-
}
|
182
|
-
.icheckbox_flat-blue.disabled {
|
183
|
-
background-position: -44px 0;
|
184
|
-
cursor: default;
|
185
|
-
}
|
186
|
-
.icheckbox_flat-blue.checked.disabled {
|
187
|
-
background-position: -66px 0;
|
188
|
-
}
|
189
|
-
|
190
|
-
.iradio_flat-blue {
|
191
|
-
background-position: -88px 0;
|
192
|
-
}
|
193
|
-
.iradio_flat-blue.checked {
|
194
|
-
background-position: -110px 0;
|
195
|
-
}
|
196
|
-
.iradio_flat-blue.disabled {
|
197
|
-
background-position: -132px 0;
|
198
|
-
cursor: default;
|
199
|
-
}
|
200
|
-
.iradio_flat-blue.checked.disabled {
|
201
|
-
background-position: -154px 0;
|
202
|
-
}
|
203
|
-
|
204
|
-
/* HiDPI support */
|
205
|
-
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
|
206
|
-
.icheckbox_flat-blue,
|
207
|
-
.iradio_flat-blue {
|
208
|
-
background-image: url(blue@2x.png);
|
209
|
-
-webkit-background-size: 176px 22px;
|
210
|
-
background-size: 176px 22px;
|
211
|
-
}
|
212
|
-
}
|
213
|
-
|
214
|
-
/* aero */
|
215
|
-
.icheckbox_flat-aero,
|
216
|
-
.iradio_flat-aero {
|
217
|
-
display: inline-block;
|
218
|
-
*display: inline;
|
219
|
-
vertical-align: middle;
|
220
|
-
margin: 0;
|
221
|
-
padding: 0;
|
222
|
-
width: 20px;
|
223
|
-
height: 20px;
|
224
|
-
background: url(aero.png) no-repeat;
|
225
|
-
border: none;
|
226
|
-
cursor: pointer;
|
227
|
-
}
|
228
|
-
|
229
|
-
.icheckbox_flat-aero {
|
230
|
-
background-position: 0 0;
|
231
|
-
}
|
232
|
-
.icheckbox_flat-aero.checked {
|
233
|
-
background-position: -22px 0;
|
234
|
-
}
|
235
|
-
.icheckbox_flat-aero.disabled {
|
236
|
-
background-position: -44px 0;
|
237
|
-
cursor: default;
|
238
|
-
}
|
239
|
-
.icheckbox_flat-aero.checked.disabled {
|
240
|
-
background-position: -66px 0;
|
241
|
-
}
|
242
|
-
|
243
|
-
.iradio_flat-aero {
|
244
|
-
background-position: -88px 0;
|
245
|
-
}
|
246
|
-
.iradio_flat-aero.checked {
|
247
|
-
background-position: -110px 0;
|
248
|
-
}
|
249
|
-
.iradio_flat-aero.disabled {
|
250
|
-
background-position: -132px 0;
|
251
|
-
cursor: default;
|
252
|
-
}
|
253
|
-
.iradio_flat-aero.checked.disabled {
|
254
|
-
background-position: -154px 0;
|
255
|
-
}
|
256
|
-
|
257
|
-
/* HiDPI support */
|
258
|
-
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
|
259
|
-
.icheckbox_flat-aero,
|
260
|
-
.iradio_flat-aero {
|
261
|
-
background-image: url(aero@2x.png);
|
262
|
-
-webkit-background-size: 176px 22px;
|
263
|
-
background-size: 176px 22px;
|
264
|
-
}
|
265
|
-
}
|
266
|
-
|
267
|
-
/* grey */
|
268
|
-
.icheckbox_flat-grey,
|
269
|
-
.iradio_flat-grey {
|
270
|
-
display: inline-block;
|
271
|
-
*display: inline;
|
272
|
-
vertical-align: middle;
|
273
|
-
margin: 0;
|
274
|
-
padding: 0;
|
275
|
-
width: 20px;
|
276
|
-
height: 20px;
|
277
|
-
background: url(grey.png) no-repeat;
|
278
|
-
border: none;
|
279
|
-
cursor: pointer;
|
280
|
-
}
|
281
|
-
|
282
|
-
.icheckbox_flat-grey {
|
283
|
-
background-position: 0 0;
|
284
|
-
}
|
285
|
-
.icheckbox_flat-grey.checked {
|
286
|
-
background-position: -22px 0;
|
287
|
-
}
|
288
|
-
.icheckbox_flat-grey.disabled {
|
289
|
-
background-position: -44px 0;
|
290
|
-
cursor: default;
|
291
|
-
}
|
292
|
-
.icheckbox_flat-grey.checked.disabled {
|
293
|
-
background-position: -66px 0;
|
294
|
-
}
|
295
|
-
|
296
|
-
.iradio_flat-grey {
|
297
|
-
background-position: -88px 0;
|
298
|
-
}
|
299
|
-
.iradio_flat-grey.checked {
|
300
|
-
background-position: -110px 0;
|
301
|
-
}
|
302
|
-
.iradio_flat-grey.disabled {
|
303
|
-
background-position: -132px 0;
|
304
|
-
cursor: default;
|
305
|
-
}
|
306
|
-
.iradio_flat-grey.checked.disabled {
|
307
|
-
background-position: -154px 0;
|
308
|
-
}
|
309
|
-
|
310
|
-
/* HiDPI support */
|
311
|
-
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
|
312
|
-
.icheckbox_flat-grey,
|
313
|
-
.iradio_flat-grey {
|
314
|
-
background-image: url(grey@2x.png);
|
315
|
-
-webkit-background-size: 176px 22px;
|
316
|
-
background-size: 176px 22px;
|
317
|
-
}
|
318
|
-
}
|
319
|
-
|
320
|
-
/* orange */
|
321
|
-
.icheckbox_flat-orange,
|
322
|
-
.iradio_flat-orange {
|
323
|
-
display: inline-block;
|
324
|
-
*display: inline;
|
325
|
-
vertical-align: middle;
|
326
|
-
margin: 0;
|
327
|
-
padding: 0;
|
328
|
-
width: 20px;
|
329
|
-
height: 20px;
|
330
|
-
background: url(orange.png) no-repeat;
|
331
|
-
border: none;
|
332
|
-
cursor: pointer;
|
333
|
-
}
|
334
|
-
|
335
|
-
.icheckbox_flat-orange {
|
336
|
-
background-position: 0 0;
|
337
|
-
}
|
338
|
-
.icheckbox_flat-orange.checked {
|
339
|
-
background-position: -22px 0;
|
340
|
-
}
|
341
|
-
.icheckbox_flat-orange.disabled {
|
342
|
-
background-position: -44px 0;
|
343
|
-
cursor: default;
|
344
|
-
}
|
345
|
-
.icheckbox_flat-orange.checked.disabled {
|
346
|
-
background-position: -66px 0;
|
347
|
-
}
|
348
|
-
|
349
|
-
.iradio_flat-orange {
|
350
|
-
background-position: -88px 0;
|
351
|
-
}
|
352
|
-
.iradio_flat-orange.checked {
|
353
|
-
background-position: -110px 0;
|
354
|
-
}
|
355
|
-
.iradio_flat-orange.disabled {
|
356
|
-
background-position: -132px 0;
|
357
|
-
cursor: default;
|
358
|
-
}
|
359
|
-
.iradio_flat-orange.checked.disabled {
|
360
|
-
background-position: -154px 0;
|
361
|
-
}
|
362
|
-
|
363
|
-
/* HiDPI support */
|
364
|
-
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
|
365
|
-
.icheckbox_flat-orange,
|
366
|
-
.iradio_flat-orange {
|
367
|
-
background-image: url(orange@2x.png);
|
368
|
-
-webkit-background-size: 176px 22px;
|
369
|
-
background-size: 176px 22px;
|
370
|
-
}
|
371
|
-
}
|
372
|
-
|
373
|
-
/* yellow */
|
374
|
-
.icheckbox_flat-yellow,
|
375
|
-
.iradio_flat-yellow {
|
376
|
-
display: inline-block;
|
377
|
-
*display: inline;
|
378
|
-
vertical-align: middle;
|
379
|
-
margin: 0;
|
380
|
-
padding: 0;
|
381
|
-
width: 20px;
|
382
|
-
height: 20px;
|
383
|
-
background: url(yellow.png) no-repeat;
|
384
|
-
border: none;
|
385
|
-
cursor: pointer;
|
386
|
-
}
|
387
|
-
|
388
|
-
.icheckbox_flat-yellow {
|
389
|
-
background-position: 0 0;
|
390
|
-
}
|
391
|
-
.icheckbox_flat-yellow.checked {
|
392
|
-
background-position: -22px 0;
|
393
|
-
}
|
394
|
-
.icheckbox_flat-yellow.disabled {
|
395
|
-
background-position: -44px 0;
|
396
|
-
cursor: default;
|
397
|
-
}
|
398
|
-
.icheckbox_flat-yellow.checked.disabled {
|
399
|
-
background-position: -66px 0;
|
400
|
-
}
|
401
|
-
|
402
|
-
.iradio_flat-yellow {
|
403
|
-
background-position: -88px 0;
|
404
|
-
}
|
405
|
-
.iradio_flat-yellow.checked {
|
406
|
-
background-position: -110px 0;
|
407
|
-
}
|
408
|
-
.iradio_flat-yellow.disabled {
|
409
|
-
background-position: -132px 0;
|
410
|
-
cursor: default;
|
411
|
-
}
|
412
|
-
.iradio_flat-yellow.checked.disabled {
|
413
|
-
background-position: -154px 0;
|
414
|
-
}
|
415
|
-
|
416
|
-
/* HiDPI support */
|
417
|
-
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
|
418
|
-
.icheckbox_flat-yellow,
|
419
|
-
.iradio_flat-yellow {
|
420
|
-
background-image: url(yellow@2x.png);
|
421
|
-
-webkit-background-size: 176px 22px;
|
422
|
-
background-size: 176px 22px;
|
423
|
-
}
|
424
|
-
}
|
425
|
-
|
426
|
-
/* pink */
|
427
|
-
.icheckbox_flat-pink,
|
428
|
-
.iradio_flat-pink {
|
429
|
-
display: inline-block;
|
430
|
-
*display: inline;
|
431
|
-
vertical-align: middle;
|
432
|
-
margin: 0;
|
433
|
-
padding: 0;
|
434
|
-
width: 20px;
|
435
|
-
height: 20px;
|
436
|
-
background: url(pink.png) no-repeat;
|
437
|
-
border: none;
|
438
|
-
cursor: pointer;
|
439
|
-
}
|
440
|
-
|
441
|
-
.icheckbox_flat-pink {
|
442
|
-
background-position: 0 0;
|
443
|
-
}
|
444
|
-
.icheckbox_flat-pink.checked {
|
445
|
-
background-position: -22px 0;
|
446
|
-
}
|
447
|
-
.icheckbox_flat-pink.disabled {
|
448
|
-
background-position: -44px 0;
|
449
|
-
cursor: default;
|
450
|
-
}
|
451
|
-
.icheckbox_flat-pink.checked.disabled {
|
452
|
-
background-position: -66px 0;
|
453
|
-
}
|
454
|
-
|
455
|
-
.iradio_flat-pink {
|
456
|
-
background-position: -88px 0;
|
457
|
-
}
|
458
|
-
.iradio_flat-pink.checked {
|
459
|
-
background-position: -110px 0;
|
460
|
-
}
|
461
|
-
.iradio_flat-pink.disabled {
|
462
|
-
background-position: -132px 0;
|
463
|
-
cursor: default;
|
464
|
-
}
|
465
|
-
.iradio_flat-pink.checked.disabled {
|
466
|
-
background-position: -154px 0;
|
467
|
-
}
|
468
|
-
|
469
|
-
/* HiDPI support */
|
470
|
-
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
|
471
|
-
.icheckbox_flat-pink,
|
472
|
-
.iradio_flat-pink {
|
473
|
-
background-image: url(pink@2x.png);
|
474
|
-
-webkit-background-size: 176px 22px;
|
475
|
-
background-size: 176px 22px;
|
476
|
-
}
|
477
|
-
}
|
478
|
-
|
479
|
-
/* purple */
|
480
|
-
.icheckbox_flat-purple,
|
481
|
-
.iradio_flat-purple {
|
482
|
-
display: inline-block;
|
483
|
-
*display: inline;
|
484
|
-
vertical-align: middle;
|
485
|
-
margin: 0;
|
486
|
-
padding: 0;
|
487
|
-
width: 20px;
|
488
|
-
height: 20px;
|
489
|
-
background: url(purple.png) no-repeat;
|
490
|
-
border: none;
|
491
|
-
cursor: pointer;
|
492
|
-
}
|
493
|
-
|
494
|
-
.icheckbox_flat-purple {
|
495
|
-
background-position: 0 0;
|
496
|
-
}
|
497
|
-
.icheckbox_flat-purple.checked {
|
498
|
-
background-position: -22px 0;
|
499
|
-
}
|
500
|
-
.icheckbox_flat-purple.disabled {
|
501
|
-
background-position: -44px 0;
|
502
|
-
cursor: default;
|
503
|
-
}
|
504
|
-
.icheckbox_flat-purple.checked.disabled {
|
505
|
-
background-position: -66px 0;
|
506
|
-
}
|
507
|
-
|
508
|
-
.iradio_flat-purple {
|
509
|
-
background-position: -88px 0;
|
510
|
-
}
|
511
|
-
.iradio_flat-purple.checked {
|
512
|
-
background-position: -110px 0;
|
513
|
-
}
|
514
|
-
.iradio_flat-purple.disabled {
|
515
|
-
background-position: -132px 0;
|
516
|
-
cursor: default;
|
517
|
-
}
|
518
|
-
.iradio_flat-purple.checked.disabled {
|
519
|
-
background-position: -154px 0;
|
520
|
-
}
|
521
|
-
|
522
|
-
/* HiDPI support */
|
523
|
-
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
|
524
|
-
.icheckbox_flat-purple,
|
525
|
-
.iradio_flat-purple {
|
526
|
-
background-image: url(purple@2x.png);
|
527
|
-
-webkit-background-size: 176px 22px;
|
528
|
-
background-size: 176px 22px;
|
529
|
-
}
|
1
|
+
/* iCheck plugin Flat skin
|
2
|
+
----------------------------------- */
|
3
|
+
.icheckbox_flat,
|
4
|
+
.iradio_flat {
|
5
|
+
display: inline-block;
|
6
|
+
*display: inline;
|
7
|
+
vertical-align: middle;
|
8
|
+
margin: 0;
|
9
|
+
padding: 0;
|
10
|
+
width: 20px;
|
11
|
+
height: 20px;
|
12
|
+
background: url(flat.png) no-repeat;
|
13
|
+
border: none;
|
14
|
+
cursor: pointer;
|
15
|
+
}
|
16
|
+
|
17
|
+
.icheckbox_flat {
|
18
|
+
background-position: 0 0;
|
19
|
+
}
|
20
|
+
.icheckbox_flat.checked {
|
21
|
+
background-position: -22px 0;
|
22
|
+
}
|
23
|
+
.icheckbox_flat.disabled {
|
24
|
+
background-position: -44px 0;
|
25
|
+
cursor: default;
|
26
|
+
}
|
27
|
+
.icheckbox_flat.checked.disabled {
|
28
|
+
background-position: -66px 0;
|
29
|
+
}
|
30
|
+
|
31
|
+
.iradio_flat {
|
32
|
+
background-position: -88px 0;
|
33
|
+
}
|
34
|
+
.iradio_flat.checked {
|
35
|
+
background-position: -110px 0;
|
36
|
+
}
|
37
|
+
.iradio_flat.disabled {
|
38
|
+
background-position: -132px 0;
|
39
|
+
cursor: default;
|
40
|
+
}
|
41
|
+
.iradio_flat.checked.disabled {
|
42
|
+
background-position: -154px 0;
|
43
|
+
}
|
44
|
+
|
45
|
+
/* HiDPI support */
|
46
|
+
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
|
47
|
+
.icheckbox_flat,
|
48
|
+
.iradio_flat {
|
49
|
+
background-image: url(flat@2x.png);
|
50
|
+
-webkit-background-size: 176px 22px;
|
51
|
+
background-size: 176px 22px;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
/* red */
|
56
|
+
.icheckbox_flat-red,
|
57
|
+
.iradio_flat-red {
|
58
|
+
display: inline-block;
|
59
|
+
*display: inline;
|
60
|
+
vertical-align: middle;
|
61
|
+
margin: 0;
|
62
|
+
padding: 0;
|
63
|
+
width: 20px;
|
64
|
+
height: 20px;
|
65
|
+
background: url(red.png) no-repeat;
|
66
|
+
border: none;
|
67
|
+
cursor: pointer;
|
68
|
+
}
|
69
|
+
|
70
|
+
.icheckbox_flat-red {
|
71
|
+
background-position: 0 0;
|
72
|
+
}
|
73
|
+
.icheckbox_flat-red.checked {
|
74
|
+
background-position: -22px 0;
|
75
|
+
}
|
76
|
+
.icheckbox_flat-red.disabled {
|
77
|
+
background-position: -44px 0;
|
78
|
+
cursor: default;
|
79
|
+
}
|
80
|
+
.icheckbox_flat-red.checked.disabled {
|
81
|
+
background-position: -66px 0;
|
82
|
+
}
|
83
|
+
|
84
|
+
.iradio_flat-red {
|
85
|
+
background-position: -88px 0;
|
86
|
+
}
|
87
|
+
.iradio_flat-red.checked {
|
88
|
+
background-position: -110px 0;
|
89
|
+
}
|
90
|
+
.iradio_flat-red.disabled {
|
91
|
+
background-position: -132px 0;
|
92
|
+
cursor: default;
|
93
|
+
}
|
94
|
+
.iradio_flat-red.checked.disabled {
|
95
|
+
background-position: -154px 0;
|
96
|
+
}
|
97
|
+
|
98
|
+
/* HiDPI support */
|
99
|
+
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
|
100
|
+
.icheckbox_flat-red,
|
101
|
+
.iradio_flat-red {
|
102
|
+
background-image: url(red@2x.png);
|
103
|
+
-webkit-background-size: 176px 22px;
|
104
|
+
background-size: 176px 22px;
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
/* green */
|
109
|
+
.icheckbox_flat-green,
|
110
|
+
.iradio_flat-green {
|
111
|
+
display: inline-block;
|
112
|
+
*display: inline;
|
113
|
+
vertical-align: middle;
|
114
|
+
margin: 0;
|
115
|
+
padding: 0;
|
116
|
+
width: 20px;
|
117
|
+
height: 20px;
|
118
|
+
background: url(green.png) no-repeat;
|
119
|
+
border: none;
|
120
|
+
cursor: pointer;
|
121
|
+
}
|
122
|
+
|
123
|
+
.icheckbox_flat-green {
|
124
|
+
background-position: 0 0;
|
125
|
+
}
|
126
|
+
.icheckbox_flat-green.checked {
|
127
|
+
background-position: -22px 0;
|
128
|
+
}
|
129
|
+
.icheckbox_flat-green.disabled {
|
130
|
+
background-position: -44px 0;
|
131
|
+
cursor: default;
|
132
|
+
}
|
133
|
+
.icheckbox_flat-green.checked.disabled {
|
134
|
+
background-position: -66px 0;
|
135
|
+
}
|
136
|
+
|
137
|
+
.iradio_flat-green {
|
138
|
+
background-position: -88px 0;
|
139
|
+
}
|
140
|
+
.iradio_flat-green.checked {
|
141
|
+
background-position: -110px 0;
|
142
|
+
}
|
143
|
+
.iradio_flat-green.disabled {
|
144
|
+
background-position: -132px 0;
|
145
|
+
cursor: default;
|
146
|
+
}
|
147
|
+
.iradio_flat-green.checked.disabled {
|
148
|
+
background-position: -154px 0;
|
149
|
+
}
|
150
|
+
|
151
|
+
/* HiDPI support */
|
152
|
+
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
|
153
|
+
.icheckbox_flat-green,
|
154
|
+
.iradio_flat-green {
|
155
|
+
background-image: url(green@2x.png);
|
156
|
+
-webkit-background-size: 176px 22px;
|
157
|
+
background-size: 176px 22px;
|
158
|
+
}
|
159
|
+
}
|
160
|
+
|
161
|
+
/* blue */
|
162
|
+
.icheckbox_flat-blue,
|
163
|
+
.iradio_flat-blue {
|
164
|
+
display: inline-block;
|
165
|
+
*display: inline;
|
166
|
+
vertical-align: middle;
|
167
|
+
margin: 0;
|
168
|
+
padding: 0;
|
169
|
+
width: 20px;
|
170
|
+
height: 20px;
|
171
|
+
background: url(blue.png) no-repeat;
|
172
|
+
border: none;
|
173
|
+
cursor: pointer;
|
174
|
+
}
|
175
|
+
|
176
|
+
.icheckbox_flat-blue {
|
177
|
+
background-position: 0 0;
|
178
|
+
}
|
179
|
+
.icheckbox_flat-blue.checked {
|
180
|
+
background-position: -22px 0;
|
181
|
+
}
|
182
|
+
.icheckbox_flat-blue.disabled {
|
183
|
+
background-position: -44px 0;
|
184
|
+
cursor: default;
|
185
|
+
}
|
186
|
+
.icheckbox_flat-blue.checked.disabled {
|
187
|
+
background-position: -66px 0;
|
188
|
+
}
|
189
|
+
|
190
|
+
.iradio_flat-blue {
|
191
|
+
background-position: -88px 0;
|
192
|
+
}
|
193
|
+
.iradio_flat-blue.checked {
|
194
|
+
background-position: -110px 0;
|
195
|
+
}
|
196
|
+
.iradio_flat-blue.disabled {
|
197
|
+
background-position: -132px 0;
|
198
|
+
cursor: default;
|
199
|
+
}
|
200
|
+
.iradio_flat-blue.checked.disabled {
|
201
|
+
background-position: -154px 0;
|
202
|
+
}
|
203
|
+
|
204
|
+
/* HiDPI support */
|
205
|
+
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
|
206
|
+
.icheckbox_flat-blue,
|
207
|
+
.iradio_flat-blue {
|
208
|
+
background-image: url(blue@2x.png);
|
209
|
+
-webkit-background-size: 176px 22px;
|
210
|
+
background-size: 176px 22px;
|
211
|
+
}
|
212
|
+
}
|
213
|
+
|
214
|
+
/* aero */
|
215
|
+
.icheckbox_flat-aero,
|
216
|
+
.iradio_flat-aero {
|
217
|
+
display: inline-block;
|
218
|
+
*display: inline;
|
219
|
+
vertical-align: middle;
|
220
|
+
margin: 0;
|
221
|
+
padding: 0;
|
222
|
+
width: 20px;
|
223
|
+
height: 20px;
|
224
|
+
background: url(aero.png) no-repeat;
|
225
|
+
border: none;
|
226
|
+
cursor: pointer;
|
227
|
+
}
|
228
|
+
|
229
|
+
.icheckbox_flat-aero {
|
230
|
+
background-position: 0 0;
|
231
|
+
}
|
232
|
+
.icheckbox_flat-aero.checked {
|
233
|
+
background-position: -22px 0;
|
234
|
+
}
|
235
|
+
.icheckbox_flat-aero.disabled {
|
236
|
+
background-position: -44px 0;
|
237
|
+
cursor: default;
|
238
|
+
}
|
239
|
+
.icheckbox_flat-aero.checked.disabled {
|
240
|
+
background-position: -66px 0;
|
241
|
+
}
|
242
|
+
|
243
|
+
.iradio_flat-aero {
|
244
|
+
background-position: -88px 0;
|
245
|
+
}
|
246
|
+
.iradio_flat-aero.checked {
|
247
|
+
background-position: -110px 0;
|
248
|
+
}
|
249
|
+
.iradio_flat-aero.disabled {
|
250
|
+
background-position: -132px 0;
|
251
|
+
cursor: default;
|
252
|
+
}
|
253
|
+
.iradio_flat-aero.checked.disabled {
|
254
|
+
background-position: -154px 0;
|
255
|
+
}
|
256
|
+
|
257
|
+
/* HiDPI support */
|
258
|
+
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
|
259
|
+
.icheckbox_flat-aero,
|
260
|
+
.iradio_flat-aero {
|
261
|
+
background-image: url(aero@2x.png);
|
262
|
+
-webkit-background-size: 176px 22px;
|
263
|
+
background-size: 176px 22px;
|
264
|
+
}
|
265
|
+
}
|
266
|
+
|
267
|
+
/* grey */
|
268
|
+
.icheckbox_flat-grey,
|
269
|
+
.iradio_flat-grey {
|
270
|
+
display: inline-block;
|
271
|
+
*display: inline;
|
272
|
+
vertical-align: middle;
|
273
|
+
margin: 0;
|
274
|
+
padding: 0;
|
275
|
+
width: 20px;
|
276
|
+
height: 20px;
|
277
|
+
background: url(grey.png) no-repeat;
|
278
|
+
border: none;
|
279
|
+
cursor: pointer;
|
280
|
+
}
|
281
|
+
|
282
|
+
.icheckbox_flat-grey {
|
283
|
+
background-position: 0 0;
|
284
|
+
}
|
285
|
+
.icheckbox_flat-grey.checked {
|
286
|
+
background-position: -22px 0;
|
287
|
+
}
|
288
|
+
.icheckbox_flat-grey.disabled {
|
289
|
+
background-position: -44px 0;
|
290
|
+
cursor: default;
|
291
|
+
}
|
292
|
+
.icheckbox_flat-grey.checked.disabled {
|
293
|
+
background-position: -66px 0;
|
294
|
+
}
|
295
|
+
|
296
|
+
.iradio_flat-grey {
|
297
|
+
background-position: -88px 0;
|
298
|
+
}
|
299
|
+
.iradio_flat-grey.checked {
|
300
|
+
background-position: -110px 0;
|
301
|
+
}
|
302
|
+
.iradio_flat-grey.disabled {
|
303
|
+
background-position: -132px 0;
|
304
|
+
cursor: default;
|
305
|
+
}
|
306
|
+
.iradio_flat-grey.checked.disabled {
|
307
|
+
background-position: -154px 0;
|
308
|
+
}
|
309
|
+
|
310
|
+
/* HiDPI support */
|
311
|
+
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
|
312
|
+
.icheckbox_flat-grey,
|
313
|
+
.iradio_flat-grey {
|
314
|
+
background-image: url(grey@2x.png);
|
315
|
+
-webkit-background-size: 176px 22px;
|
316
|
+
background-size: 176px 22px;
|
317
|
+
}
|
318
|
+
}
|
319
|
+
|
320
|
+
/* orange */
|
321
|
+
.icheckbox_flat-orange,
|
322
|
+
.iradio_flat-orange {
|
323
|
+
display: inline-block;
|
324
|
+
*display: inline;
|
325
|
+
vertical-align: middle;
|
326
|
+
margin: 0;
|
327
|
+
padding: 0;
|
328
|
+
width: 20px;
|
329
|
+
height: 20px;
|
330
|
+
background: url(orange.png) no-repeat;
|
331
|
+
border: none;
|
332
|
+
cursor: pointer;
|
333
|
+
}
|
334
|
+
|
335
|
+
.icheckbox_flat-orange {
|
336
|
+
background-position: 0 0;
|
337
|
+
}
|
338
|
+
.icheckbox_flat-orange.checked {
|
339
|
+
background-position: -22px 0;
|
340
|
+
}
|
341
|
+
.icheckbox_flat-orange.disabled {
|
342
|
+
background-position: -44px 0;
|
343
|
+
cursor: default;
|
344
|
+
}
|
345
|
+
.icheckbox_flat-orange.checked.disabled {
|
346
|
+
background-position: -66px 0;
|
347
|
+
}
|
348
|
+
|
349
|
+
.iradio_flat-orange {
|
350
|
+
background-position: -88px 0;
|
351
|
+
}
|
352
|
+
.iradio_flat-orange.checked {
|
353
|
+
background-position: -110px 0;
|
354
|
+
}
|
355
|
+
.iradio_flat-orange.disabled {
|
356
|
+
background-position: -132px 0;
|
357
|
+
cursor: default;
|
358
|
+
}
|
359
|
+
.iradio_flat-orange.checked.disabled {
|
360
|
+
background-position: -154px 0;
|
361
|
+
}
|
362
|
+
|
363
|
+
/* HiDPI support */
|
364
|
+
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
|
365
|
+
.icheckbox_flat-orange,
|
366
|
+
.iradio_flat-orange {
|
367
|
+
background-image: url(orange@2x.png);
|
368
|
+
-webkit-background-size: 176px 22px;
|
369
|
+
background-size: 176px 22px;
|
370
|
+
}
|
371
|
+
}
|
372
|
+
|
373
|
+
/* yellow */
|
374
|
+
.icheckbox_flat-yellow,
|
375
|
+
.iradio_flat-yellow {
|
376
|
+
display: inline-block;
|
377
|
+
*display: inline;
|
378
|
+
vertical-align: middle;
|
379
|
+
margin: 0;
|
380
|
+
padding: 0;
|
381
|
+
width: 20px;
|
382
|
+
height: 20px;
|
383
|
+
background: url(yellow.png) no-repeat;
|
384
|
+
border: none;
|
385
|
+
cursor: pointer;
|
386
|
+
}
|
387
|
+
|
388
|
+
.icheckbox_flat-yellow {
|
389
|
+
background-position: 0 0;
|
390
|
+
}
|
391
|
+
.icheckbox_flat-yellow.checked {
|
392
|
+
background-position: -22px 0;
|
393
|
+
}
|
394
|
+
.icheckbox_flat-yellow.disabled {
|
395
|
+
background-position: -44px 0;
|
396
|
+
cursor: default;
|
397
|
+
}
|
398
|
+
.icheckbox_flat-yellow.checked.disabled {
|
399
|
+
background-position: -66px 0;
|
400
|
+
}
|
401
|
+
|
402
|
+
.iradio_flat-yellow {
|
403
|
+
background-position: -88px 0;
|
404
|
+
}
|
405
|
+
.iradio_flat-yellow.checked {
|
406
|
+
background-position: -110px 0;
|
407
|
+
}
|
408
|
+
.iradio_flat-yellow.disabled {
|
409
|
+
background-position: -132px 0;
|
410
|
+
cursor: default;
|
411
|
+
}
|
412
|
+
.iradio_flat-yellow.checked.disabled {
|
413
|
+
background-position: -154px 0;
|
414
|
+
}
|
415
|
+
|
416
|
+
/* HiDPI support */
|
417
|
+
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
|
418
|
+
.icheckbox_flat-yellow,
|
419
|
+
.iradio_flat-yellow {
|
420
|
+
background-image: url(yellow@2x.png);
|
421
|
+
-webkit-background-size: 176px 22px;
|
422
|
+
background-size: 176px 22px;
|
423
|
+
}
|
424
|
+
}
|
425
|
+
|
426
|
+
/* pink */
|
427
|
+
.icheckbox_flat-pink,
|
428
|
+
.iradio_flat-pink {
|
429
|
+
display: inline-block;
|
430
|
+
*display: inline;
|
431
|
+
vertical-align: middle;
|
432
|
+
margin: 0;
|
433
|
+
padding: 0;
|
434
|
+
width: 20px;
|
435
|
+
height: 20px;
|
436
|
+
background: url(pink.png) no-repeat;
|
437
|
+
border: none;
|
438
|
+
cursor: pointer;
|
439
|
+
}
|
440
|
+
|
441
|
+
.icheckbox_flat-pink {
|
442
|
+
background-position: 0 0;
|
443
|
+
}
|
444
|
+
.icheckbox_flat-pink.checked {
|
445
|
+
background-position: -22px 0;
|
446
|
+
}
|
447
|
+
.icheckbox_flat-pink.disabled {
|
448
|
+
background-position: -44px 0;
|
449
|
+
cursor: default;
|
450
|
+
}
|
451
|
+
.icheckbox_flat-pink.checked.disabled {
|
452
|
+
background-position: -66px 0;
|
453
|
+
}
|
454
|
+
|
455
|
+
.iradio_flat-pink {
|
456
|
+
background-position: -88px 0;
|
457
|
+
}
|
458
|
+
.iradio_flat-pink.checked {
|
459
|
+
background-position: -110px 0;
|
460
|
+
}
|
461
|
+
.iradio_flat-pink.disabled {
|
462
|
+
background-position: -132px 0;
|
463
|
+
cursor: default;
|
464
|
+
}
|
465
|
+
.iradio_flat-pink.checked.disabled {
|
466
|
+
background-position: -154px 0;
|
467
|
+
}
|
468
|
+
|
469
|
+
/* HiDPI support */
|
470
|
+
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
|
471
|
+
.icheckbox_flat-pink,
|
472
|
+
.iradio_flat-pink {
|
473
|
+
background-image: url(pink@2x.png);
|
474
|
+
-webkit-background-size: 176px 22px;
|
475
|
+
background-size: 176px 22px;
|
476
|
+
}
|
477
|
+
}
|
478
|
+
|
479
|
+
/* purple */
|
480
|
+
.icheckbox_flat-purple,
|
481
|
+
.iradio_flat-purple {
|
482
|
+
display: inline-block;
|
483
|
+
*display: inline;
|
484
|
+
vertical-align: middle;
|
485
|
+
margin: 0;
|
486
|
+
padding: 0;
|
487
|
+
width: 20px;
|
488
|
+
height: 20px;
|
489
|
+
background: url(purple.png) no-repeat;
|
490
|
+
border: none;
|
491
|
+
cursor: pointer;
|
492
|
+
}
|
493
|
+
|
494
|
+
.icheckbox_flat-purple {
|
495
|
+
background-position: 0 0;
|
496
|
+
}
|
497
|
+
.icheckbox_flat-purple.checked {
|
498
|
+
background-position: -22px 0;
|
499
|
+
}
|
500
|
+
.icheckbox_flat-purple.disabled {
|
501
|
+
background-position: -44px 0;
|
502
|
+
cursor: default;
|
503
|
+
}
|
504
|
+
.icheckbox_flat-purple.checked.disabled {
|
505
|
+
background-position: -66px 0;
|
506
|
+
}
|
507
|
+
|
508
|
+
.iradio_flat-purple {
|
509
|
+
background-position: -88px 0;
|
510
|
+
}
|
511
|
+
.iradio_flat-purple.checked {
|
512
|
+
background-position: -110px 0;
|
513
|
+
}
|
514
|
+
.iradio_flat-purple.disabled {
|
515
|
+
background-position: -132px 0;
|
516
|
+
cursor: default;
|
517
|
+
}
|
518
|
+
.iradio_flat-purple.checked.disabled {
|
519
|
+
background-position: -154px 0;
|
520
|
+
}
|
521
|
+
|
522
|
+
/* HiDPI support */
|
523
|
+
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
|
524
|
+
.icheckbox_flat-purple,
|
525
|
+
.iradio_flat-purple {
|
526
|
+
background-image: url(purple@2x.png);
|
527
|
+
-webkit-background-size: 176px 22px;
|
528
|
+
background-size: 176px 22px;
|
529
|
+
}
|
530
530
|
}
|