spree_frontend 4.1.14 → 4.2.0.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/arrow-down.svg +12 -0
- data/app/assets/images/edit.svg +1 -1
- data/app/assets/images/flags/4x3/ad.svg +150 -0
- data/app/assets/images/flags/4x3/ae.svg +6 -0
- data/app/assets/images/flags/4x3/af.svg +81 -0
- data/app/assets/images/flags/4x3/ag.svg +14 -0
- data/app/assets/images/flags/4x3/ai.svg +763 -0
- data/app/assets/images/flags/4x3/al.svg +5 -0
- data/app/assets/images/flags/4x3/am.svg +5 -0
- data/app/assets/images/flags/4x3/ao.svg +13 -0
- data/app/assets/images/flags/4x3/aq.svg +5 -0
- data/app/assets/images/flags/4x3/ar.svg +31 -0
- data/app/assets/images/flags/4x3/as.svg +33 -0
- data/app/assets/images/flags/4x3/at.svg +6 -0
- data/app/assets/images/flags/4x3/au.svg +9 -0
- data/app/assets/images/flags/4x3/aw.svg +186 -0
- data/app/assets/images/flags/4x3/ax.svg +18 -0
- data/app/assets/images/flags/4x3/az.svg +8 -0
- data/app/assets/images/flags/4x3/ba.svg +12 -0
- data/app/assets/images/flags/4x3/bb.svg +6 -0
- data/app/assets/images/flags/4x3/bd.svg +4 -0
- data/app/assets/images/flags/4x3/be.svg +7 -0
- data/app/assets/images/flags/4x3/bf.svg +7 -0
- data/app/assets/images/flags/4x3/bg.svg +7 -0
- data/app/assets/images/flags/4x3/bh.svg +9 -0
- data/app/assets/images/flags/4x3/bi.svg +15 -0
- data/app/assets/images/flags/4x3/bj.svg +14 -0
- data/app/assets/images/flags/4x3/bl.svg +7 -0
- data/app/assets/images/flags/4x3/bm.svg +98 -0
- data/app/assets/images/flags/4x3/bn.svg +36 -0
- data/app/assets/images/flags/4x3/bo.svg +676 -0
- data/app/assets/images/flags/4x3/bq.svg +5 -0
- data/app/assets/images/flags/4x3/br.svg +45 -0
- data/app/assets/images/flags/4x3/bs.svg +13 -0
- data/app/assets/images/flags/4x3/bt.svg +89 -0
- data/app/assets/images/flags/4x3/bv.svg +13 -0
- data/app/assets/images/flags/4x3/bw.svg +7 -0
- data/app/assets/images/flags/4x3/by.svg +20 -0
- data/app/assets/images/flags/4x3/bz.svg +145 -0
- data/app/assets/images/flags/4x3/ca.svg +4 -0
- data/app/assets/images/flags/4x3/cc.svg +19 -0
- data/app/assets/images/flags/4x3/cd.svg +5 -0
- data/app/assets/images/flags/4x3/cf.svg +15 -0
- data/app/assets/images/flags/4x3/cg.svg +12 -0
- data/app/assets/images/flags/4x3/ch.svg +9 -0
- data/app/assets/images/flags/4x3/ci.svg +7 -0
- data/app/assets/images/flags/4x3/ck.svg +9 -0
- data/app/assets/images/flags/4x3/cl.svg +13 -0
- data/app/assets/images/flags/4x3/cm.svg +15 -0
- data/app/assets/images/flags/4x3/cn.svg +11 -0
- data/app/assets/images/flags/4x3/co.svg +7 -0
- data/app/assets/images/flags/4x3/cr.svg +7 -0
- data/app/assets/images/flags/4x3/cu.svg +13 -0
- data/app/assets/images/flags/4x3/cv.svg +13 -0
- data/app/assets/images/flags/4x3/cw.svg +14 -0
- data/app/assets/images/flags/4x3/cx.svg +15 -0
- data/app/assets/images/flags/4x3/cy.svg +6 -0
- data/app/assets/images/flags/4x3/cz.svg +5 -0
- data/app/assets/images/flags/4x3/de.svg +5 -0
- data/app/assets/images/flags/4x3/dj.svg +13 -0
- data/app/assets/images/flags/4x3/dk.svg +5 -0
- data/app/assets/images/flags/4x3/dm.svg +152 -0
- data/app/assets/images/flags/4x3/do.svg +6745 -0
- data/app/assets/images/flags/4x3/dz.svg +5 -0
- data/app/assets/images/flags/4x3/ec.svg +138 -0
- data/app/assets/images/flags/4x3/ee.svg +7 -0
- data/app/assets/images/flags/4x3/eg.svg +38 -0
- data/app/assets/images/flags/4x3/eh.svg +15 -0
- data/app/assets/images/flags/4x3/er.svg +8 -0
- data/app/assets/images/flags/4x3/es-ca.svg +4 -0
- data/app/assets/images/flags/4x3/es.svg +544 -0
- data/app/assets/images/flags/4x3/et.svg +14 -0
- data/app/assets/images/flags/4x3/eu.svg +28 -0
- data/app/assets/images/flags/4x3/fi.svg +5 -0
- data/app/assets/images/flags/4x3/fj.svg +122 -0
- data/app/assets/images/flags/4x3/fk.svg +90 -0
- data/app/assets/images/flags/4x3/fm.svg +11 -0
- data/app/assets/images/flags/4x3/fo.svg +12 -0
- data/app/assets/images/flags/4x3/fr.svg +7 -0
- data/app/assets/images/flags/4x3/ga.svg +7 -0
- data/app/assets/images/flags/4x3/gb-eng.svg +5 -0
- data/app/assets/images/flags/4x3/gb-nir.svg +132 -0
- data/app/assets/images/flags/4x3/gb-sct.svg +4 -0
- data/app/assets/images/flags/4x3/gb-wls.svg +9 -0
- data/app/assets/images/flags/4x3/gb.svg +7 -0
- data/app/assets/images/flags/4x3/gd.svg +27 -0
- data/app/assets/images/flags/4x3/ge.svg +6 -0
- data/app/assets/images/flags/4x3/gf.svg +7 -0
- data/app/assets/images/flags/4x3/gg.svg +9 -0
- data/app/assets/images/flags/4x3/gh.svg +6 -0
- data/app/assets/images/flags/4x3/gi.svg +32 -0
- data/app/assets/images/flags/4x3/gl.svg +4 -0
- data/app/assets/images/flags/4x3/gm.svg +14 -0
- data/app/assets/images/flags/4x3/gn.svg +7 -0
- data/app/assets/images/flags/4x3/gp.svg +7 -0
- data/app/assets/images/flags/4x3/gq.svg +23 -0
- data/app/assets/images/flags/4x3/gr.svg +16 -0
- data/app/assets/images/flags/4x3/gs.svg +201 -0
- data/app/assets/images/flags/4x3/gt.svg +204 -0
- data/app/assets/images/flags/4x3/gu.svg +39 -0
- data/app/assets/images/flags/4x3/gw.svg +13 -0
- data/app/assets/images/flags/4x3/gy.svg +9 -0
- data/app/assets/images/flags/4x3/hk.svg +30 -0
- data/app/assets/images/flags/4x3/hm.svg +9 -0
- data/app/assets/images/flags/4x3/hn.svg +18 -0
- data/app/assets/images/flags/4x3/hr.svg +58 -0
- data/app/assets/images/flags/4x3/ht.svg +116 -0
- data/app/assets/images/flags/4x3/hu.svg +7 -0
- data/app/assets/images/flags/4x3/id.svg +6 -0
- data/app/assets/images/flags/4x3/ie.svg +7 -0
- data/app/assets/images/flags/4x3/il.svg +14 -0
- data/app/assets/images/flags/4x3/im.svg +36 -0
- data/app/assets/images/flags/4x3/in.svg +25 -0
- data/app/assets/images/flags/4x3/io.svg +138 -0
- data/app/assets/images/flags/4x3/iq.svg +10 -0
- data/app/assets/images/flags/4x3/ir.svg +219 -0
- data/app/assets/images/flags/4x3/is.svg +12 -0
- data/app/assets/images/flags/4x3/it.svg +7 -0
- data/app/assets/images/flags/4x3/je.svg +29 -0
- data/app/assets/images/flags/4x3/jm.svg +8 -0
- data/app/assets/images/flags/4x3/jo.svg +16 -0
- data/app/assets/images/flags/4x3/jp.svg +11 -0
- data/app/assets/images/flags/4x3/ke.svg +23 -0
- data/app/assets/images/flags/4x3/kg.svg +15 -0
- data/app/assets/images/flags/4x3/kh.svg +61 -0
- data/app/assets/images/flags/4x3/ki.svg +36 -0
- data/app/assets/images/flags/4x3/km.svg +16 -0
- data/app/assets/images/flags/4x3/kn.svg +14 -0
- data/app/assets/images/flags/4x3/kp.svg +15 -0
- data/app/assets/images/flags/4x3/kr.svg +24 -0
- data/app/assets/images/flags/4x3/kw.svg +13 -0
- data/app/assets/images/flags/4x3/ky.svg +63 -0
- data/app/assets/images/flags/4x3/kz.svg +23 -0
- data/app/assets/images/flags/4x3/la.svg +12 -0
- data/app/assets/images/flags/4x3/lb.svg +15 -0
- data/app/assets/images/flags/4x3/lc.svg +8 -0
- data/app/assets/images/flags/4x3/li.svg +43 -0
- data/app/assets/images/flags/4x3/lk.svg +22 -0
- data/app/assets/images/flags/4x3/lr.svg +14 -0
- data/app/assets/images/flags/4x3/ls.svg +8 -0
- data/app/assets/images/flags/4x3/lt.svg +7 -0
- data/app/assets/images/flags/4x3/lu.svg +5 -0
- data/app/assets/images/flags/4x3/lv.svg +6 -0
- data/app/assets/images/flags/4x3/ly.svg +13 -0
- data/app/assets/images/flags/4x3/ma.svg +4 -0
- data/app/assets/images/flags/4x3/mc.svg +6 -0
- data/app/assets/images/flags/4x3/md.svg +70 -0
- data/app/assets/images/flags/4x3/me.svg +116 -0
- data/app/assets/images/flags/4x3/mf.svg +7 -0
- data/app/assets/images/flags/4x3/mg.svg +7 -0
- data/app/assets/images/flags/4x3/mh.svg +7 -0
- data/app/assets/images/flags/4x3/mk.svg +5 -0
- data/app/assets/images/flags/4x3/ml.svg +7 -0
- data/app/assets/images/flags/4x3/mm.svg +16 -0
- data/app/assets/images/flags/4x3/mn.svg +13 -0
- data/app/assets/images/flags/4x3/mo.svg +9 -0
- data/app/assets/images/flags/4x3/mp.svg +86 -0
- data/app/assets/images/flags/4x3/mq.svg +7 -0
- data/app/assets/images/flags/4x3/mr.svg +6 -0
- data/app/assets/images/flags/4x3/ms.svg +78 -0
- data/app/assets/images/flags/4x3/mt.svg +49 -0
- data/app/assets/images/flags/4x3/mu.svg +8 -0
- data/app/assets/images/flags/4x3/mv.svg +6 -0
- data/app/assets/images/flags/4x3/mw.svg +10 -0
- data/app/assets/images/flags/4x3/mx.svg +382 -0
- data/app/assets/images/flags/4x3/my.svg +15 -0
- data/app/assets/images/flags/4x3/mz.svg +21 -0
- data/app/assets/images/flags/4x3/na.svg +16 -0
- data/app/assets/images/flags/4x3/nc.svg +14 -0
- data/app/assets/images/flags/4x3/ne.svg +6 -0
- data/app/assets/images/flags/4x3/nf.svg +9 -0
- data/app/assets/images/flags/4x3/ng.svg +6 -0
- data/app/assets/images/flags/4x3/ni.svg +129 -0
- data/app/assets/images/flags/4x3/nl.svg +5 -0
- data/app/assets/images/flags/4x3/no.svg +7 -0
- data/app/assets/images/flags/4x3/np.svg +14 -0
- data/app/assets/images/flags/4x3/nr.svg +12 -0
- data/app/assets/images/flags/4x3/nu.svg +26 -0
- data/app/assets/images/flags/4x3/nz.svg +41 -0
- data/app/assets/images/flags/4x3/om.svg +115 -0
- data/app/assets/images/flags/4x3/pa.svg +14 -0
- data/app/assets/images/flags/4x3/pe.svg +244 -0
- data/app/assets/images/flags/4x3/pf.svg +19 -0
- data/app/assets/images/flags/4x3/pg.svg +9 -0
- data/app/assets/images/flags/4x3/ph.svg +9 -0
- data/app/assets/images/flags/4x3/pk.svg +15 -0
- data/app/assets/images/flags/4x3/pl.svg +6 -0
- data/app/assets/images/flags/4x3/pm.svg +7 -0
- data/app/assets/images/flags/4x3/pn.svg +62 -0
- data/app/assets/images/flags/4x3/pr.svg +13 -0
- data/app/assets/images/flags/4x3/ps.svg +15 -0
- data/app/assets/images/flags/4x3/pt.svg +57 -0
- data/app/assets/images/flags/4x3/pw.svg +11 -0
- data/app/assets/images/flags/4x3/py.svg +157 -0
- data/app/assets/images/flags/4x3/qa.svg +4 -0
- data/app/assets/images/flags/4x3/re.svg +7 -0
- data/app/assets/images/flags/4x3/ro.svg +7 -0
- data/app/assets/images/flags/4x3/rs.svg +292 -0
- data/app/assets/images/flags/4x3/ru.svg +7 -0
- data/app/assets/images/flags/4x3/rw.svg +13 -0
- data/app/assets/images/flags/4x3/sa.svg +26 -0
- data/app/assets/images/flags/4x3/sb.svg +13 -0
- data/app/assets/images/flags/4x3/sc.svg +14 -0
- data/app/assets/images/flags/4x3/sd.svg +13 -0
- data/app/assets/images/flags/4x3/se.svg +5 -0
- data/app/assets/images/flags/4x3/sg.svg +13 -0
- data/app/assets/images/flags/4x3/sh.svg +74 -0
- data/app/assets/images/flags/4x3/si.svg +18 -0
- data/app/assets/images/flags/4x3/sj.svg +7 -0
- data/app/assets/images/flags/4x3/sk.svg +9 -0
- data/app/assets/images/flags/4x3/sl.svg +7 -0
- data/app/assets/images/flags/4x3/sm.svg +91 -0
- data/app/assets/images/flags/4x3/sn.svg +8 -0
- data/app/assets/images/flags/4x3/so.svg +11 -0
- data/app/assets/images/flags/4x3/sr.svg +6 -0
- data/app/assets/images/flags/4x3/ss.svg +8 -0
- data/app/assets/images/flags/4x3/st.svg +16 -0
- data/app/assets/images/flags/4x3/sv.svg +594 -0
- data/app/assets/images/flags/4x3/sx.svg +56 -0
- data/app/assets/images/flags/4x3/sy.svg +6 -0
- data/app/assets/images/flags/4x3/sz.svg +45 -0
- data/app/assets/images/flags/4x3/tc.svg +67 -0
- data/app/assets/images/flags/4x3/td.svg +7 -0
- data/app/assets/images/flags/4x3/tf.svg +15 -0
- data/app/assets/images/flags/4x3/tg.svg +14 -0
- data/app/assets/images/flags/4x3/th.svg +7 -0
- data/app/assets/images/flags/4x3/tj.svg +22 -0
- data/app/assets/images/flags/4x3/tk.svg +5 -0
- data/app/assets/images/flags/4x3/tl.svg +13 -0
- data/app/assets/images/flags/4x3/tm.svg +206 -0
- data/app/assets/images/flags/4x3/tn.svg +13 -0
- data/app/assets/images/flags/4x3/to.svg +10 -0
- data/app/assets/images/flags/4x3/tr.svg +8 -0
- data/app/assets/images/flags/4x3/tt.svg +5 -0
- data/app/assets/images/flags/4x3/tv.svg +16 -0
- data/app/assets/images/flags/4x3/tw.svg +14 -0
- data/app/assets/images/flags/4x3/tz.svg +13 -0
- data/app/assets/images/flags/4x3/ua.svg +6 -0
- data/app/assets/images/flags/4x3/ug.svg +30 -0
- data/app/assets/images/flags/4x3/um.svg +15 -0
- data/app/assets/images/flags/4x3/un.svg +16 -0
- data/app/assets/images/flags/4x3/us.svg +10 -0
- data/app/assets/images/flags/4x3/uy.svg +28 -0
- data/app/assets/images/flags/4x3/uz.svg +30 -0
- data/app/assets/images/flags/4x3/va.svg +479 -0
- data/app/assets/images/flags/4x3/vc.svg +8 -0
- data/app/assets/images/flags/4x3/ve.svg +26 -0
- data/app/assets/images/flags/4x3/vg.svg +127 -0
- data/app/assets/images/flags/4x3/vi.svg +28 -0
- data/app/assets/images/flags/4x3/vn.svg +11 -0
- data/app/assets/images/flags/4x3/vu.svg +18 -0
- data/app/assets/images/flags/4x3/wf.svg +7 -0
- data/app/assets/images/flags/4x3/ws.svg +7 -0
- data/app/assets/images/flags/4x3/xk.svg +16 -0
- data/app/assets/images/flags/4x3/ye.svg +7 -0
- data/app/assets/images/flags/4x3/yt.svg +7 -0
- data/app/assets/images/flags/4x3/za.svg +17 -0
- data/app/assets/images/flags/4x3/zm.svg +27 -0
- data/app/assets/images/flags/4x3/zw.svg +21 -0
- data/app/assets/images/global.svg +1 -0
- data/app/assets/images/pagination-arrow-right.svg +3 -10
- data/app/assets/images/pagination-double-arrow-right.svg +6 -13
- data/app/assets/images/plus.svg +1 -1
- data/app/assets/images/search.svg +1 -1
- data/app/assets/javascripts/spree/frontend.js +3 -0
- data/app/assets/javascripts/spree/frontend/checkout.js +1 -1
- data/app/assets/javascripts/spree/frontend/checkout/address.js +19 -10
- data/app/assets/javascripts/spree/frontend/checkout/payment.js +31 -6
- data/app/assets/javascripts/spree/frontend/login.js +5 -0
- data/app/assets/javascripts/spree/frontend/main_nav_bar.js +86 -0
- data/app/assets/javascripts/spree/frontend/multi_currency.js +13 -0
- data/app/assets/javascripts/spree/frontend/views/spree/products/cart_form.js +53 -10
- data/app/assets/javascripts/spree/frontend/views/spree/products/index.js +84 -14
- data/app/assets/javascripts/spree/frontend/views/spree/shared/product_added_modal.js +7 -0
- data/app/assets/javascripts/spree/frontend/views/spree/shared/variant_select.js +93 -0
- data/app/assets/stylesheets/spree/frontend/application.scss +4 -0
- data/app/assets/stylesheets/spree/frontend/components-bootstrap/carousel.scss +4 -0
- data/app/assets/stylesheets/spree/frontend/components-custom/inputs.scss +74 -1
- data/app/assets/stylesheets/spree/frontend/flags/_flag-icon-base.scss +23 -0
- data/app/assets/stylesheets/spree/frontend/flags/_flag-icon-list.scss +265 -0
- data/app/assets/stylesheets/spree/frontend/flags/_variables.scss +2 -0
- data/app/assets/stylesheets/spree/frontend/flags/flag-icon.scss +3 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/checkout/delivery.scss +6 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/orders/edit.scss +2 -2
- data/app/assets/stylesheets/spree/frontend/views/spree/products/cart_form.scss +8 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/products/gallery_modal.scss +1 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/products/index.scss +28 -4
- data/app/assets/stylesheets/spree/frontend/views/spree/products/show.scss +7 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/_color_select.scss +10 -9
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/carousel/single.scss +1 -1
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/carousel/thumbnails.scss +1 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/cart.scss +9 -4
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/change_store.scss +7 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/main_nav_bar.scss +30 -25
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/mobile_navigation.scss +29 -3
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/nav_bar.scss +24 -7
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/quantity_select.scss +9 -12
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/search_form.scss +12 -0
- data/app/controllers/concerns/spree/checkout/address_book.rb +7 -9
- data/app/controllers/spree/addresses_controller.rb +0 -1
- data/app/controllers/spree/currency_controller.rb +17 -0
- data/app/controllers/spree/products_controller.rb +1 -1
- data/app/controllers/spree/store_controller.rb +4 -0
- data/app/helpers/spree/addresses_helper.rb +37 -7
- data/app/helpers/spree/frontend_helper.rb +26 -2
- data/app/helpers/spree/navigation_helper.rb +4 -1
- data/app/views/kaminari/twitter-bootstrap-4/_first_page.html.erb +1 -1
- data/app/views/kaminari/twitter-bootstrap-4/_last_page.html.erb +1 -1
- data/app/views/kaminari/twitter-bootstrap-4/_next_page.html.erb +1 -1
- data/app/views/kaminari/twitter-bootstrap-4/_prev_page.html.erb +1 -1
- data/app/views/spree/address/_form.html.erb +22 -22
- data/app/views/spree/addresses/_form.html.erb +15 -6
- data/app/views/spree/checkout/_address.html.erb +4 -7
- data/app/views/spree/checkout/_confirm.html.erb +4 -46
- data/app/views/spree/checkout/_delivery.html.erb +10 -3
- data/app/views/spree/checkout/_delivery_informations.html.erb +44 -0
- data/app/views/spree/checkout/_payment.html.erb +4 -4
- data/app/views/spree/checkout/_summary.html.erb +22 -17
- data/app/views/spree/checkout/edit.html.erb +1 -1
- data/app/views/spree/checkout/payment/_gateway.html.erb +1 -1
- data/app/views/spree/checkout/registration.html.erb +2 -2
- data/app/views/spree/errors/not_found.html.erb +2 -2
- data/app/views/spree/home/index.html.erb +29 -35
- data/app/views/spree/layouts/checkout.html.erb +3 -1
- data/app/views/spree/orders/_coupon_code.html.erb +1 -1
- data/app/views/spree/orders/_line_item.html.erb +1 -1
- data/app/views/spree/orders/_line_item_data.html.erb +2 -2
- data/app/views/spree/orders/show.html.erb +1 -1
- data/app/views/spree/products/_cart_form.html.erb +8 -2
- data/app/views/spree/products/_color_option_type.html.erb +15 -14
- data/app/views/spree/products/_description.html.erb +10 -2
- data/app/views/spree/products/_filters_desktop.html.erb +43 -41
- data/app/views/spree/products/_filters_mobile.html.erb +6 -6
- data/app/views/spree/products/_gallery_modal.html.erb +1 -1
- data/app/views/spree/products/_option_type.html.erb +0 -1
- data/app/views/spree/products/_properties.html.erb +6 -4
- data/app/views/spree/products/_sort_desktop.html.erb +6 -6
- data/app/views/spree/products/_sort_mobile.html.erb +8 -8
- data/app/views/spree/products/_vendor_info.html.erb +13 -0
- data/app/views/spree/products/show.html.erb +3 -0
- data/app/views/spree/shared/_breadcrumbs.html.erb +2 -2
- data/app/views/spree/shared/_carousel_4_products.html.erb +1 -1
- data/app/views/spree/shared/_cart.html.erb +1 -1
- data/app/views/spree/shared/_change_store.html.erb +25 -0
- data/app/views/spree/shared/_checkout_header.html.erb +2 -2
- data/app/views/spree/shared/_footer.html.erb +12 -8
- data/app/views/spree/shared/_link_to_account.html.erb +1 -0
- data/app/views/spree/shared/_link_to_cart.html.erb +1 -2
- data/app/views/spree/shared/_login.html.erb +4 -4
- data/app/views/spree/shared/_main_nav_bar.html.erb +46 -40
- data/app/views/spree/shared/_mobile_change_store.html.erb +30 -0
- data/app/views/spree/shared/_mobile_navigation.html.erb +29 -52
- data/app/views/spree/shared/_nav_bar.html.erb +6 -16
- data/app/views/spree/shared/_option_values.html.erb +2 -2
- data/app/views/spree/shared/_quantity_select.html.erb +1 -1
- data/app/views/spree/shared/_search.html.erb +8 -11
- data/app/views/spree/shared/_taxonomies.html.erb +1 -1
- data/app/views/spree/shared/carousel/_thumbnails.html.erb +32 -30
- data/app/views/spree/users/_address.html.erb +17 -21
- data/app/views/spree/users/show.html.erb +2 -2
- data/config/initializers/canonical_rails.rb +1 -1
- data/config/routes.rb +2 -0
- data/spree_frontend.gemspec +5 -5
- metadata +302 -21
- data/app/assets/stylesheets/spree/frontend/_glyphicons_urls_fix.scss +0 -10
@@ -8,6 +8,7 @@
|
|
8
8
|
@import "spree/frontend/mixins";
|
9
9
|
@import "spree/frontend/functions";
|
10
10
|
@import "spree/frontend/margins";
|
11
|
+
@import "spree/frontend/flags/flag-icon";
|
11
12
|
|
12
13
|
@import "spree/frontend/components-bootstrap/carousel";
|
13
14
|
@import "spree/frontend/components-bootstrap/button";
|
@@ -25,11 +26,13 @@
|
|
25
26
|
@import "spree/frontend/views/spree/shared/header";
|
26
27
|
@import "spree/frontend/views/spree/shared/login";
|
27
28
|
@import "spree/frontend/views/spree/shared/nav_bar";
|
29
|
+
@import "spree/frontend/views/spree/shared/search_form";
|
28
30
|
@import "spree/frontend/views/spree/shared/order_details";
|
29
31
|
@import "spree/frontend/views/spree/shared/main_nav_bar";
|
30
32
|
@import "spree/frontend/views/spree/errors/not_found";
|
31
33
|
@import "spree/frontend/views/spree/shared/carousel/thumbnails";
|
32
34
|
@import "spree/frontend/views/spree/shared/carousel/single";
|
35
|
+
@import "spree/frontend/views/spree/shared/change_store";
|
33
36
|
@import "spree/frontend/views/spree/home/index";
|
34
37
|
@import "spree/frontend/views/spree/user_passwords/user_passwords";
|
35
38
|
@import "spree/frontend/views/spree/user_sessions/new";
|
@@ -37,6 +40,7 @@
|
|
37
40
|
@import "spree/frontend/components-custom/headers";
|
38
41
|
@import "spree/frontend/components-custom/inputs";
|
39
42
|
@import "spree/frontend/views/spree/checkout/registration";
|
43
|
+
@import "spree/frontend/views/spree/checkout/delivery";
|
40
44
|
@import "spree/frontend/views/spree/checkout/confirm";
|
41
45
|
@import "spree/frontend/views/spree/checkout/payment";
|
42
46
|
@import "spree/frontend/views/spree/orders/edit";
|
@@ -15,6 +15,10 @@
|
|
15
15
|
}
|
16
16
|
&-vertically-animated {
|
17
17
|
// Source: https://stackoverflow.com/questions/42910076/bootstrap-4-alpha-6-vertical-carousel
|
18
|
+
.carousel-item {
|
19
|
+
-webkit-transform: translate3d(0, 0, 0);
|
20
|
+
transform: translate3d(0, 0, 0);
|
21
|
+
}
|
18
22
|
.carousel-item-next.carousel-item-left,
|
19
23
|
.carousel-item-prev.carousel-item-right {
|
20
24
|
-webkit-transform: translate3d(0, 0, 0);
|
@@ -33,6 +33,8 @@
|
|
33
33
|
.spree-flat-select {
|
34
34
|
@extend .spree-flat-input;
|
35
35
|
appearance: none;
|
36
|
+
padding-top:22px;
|
37
|
+
padding-bottom:21px;
|
36
38
|
-webkit-appearance: none;
|
37
39
|
-moz-appearance: none;
|
38
40
|
&-arrow {
|
@@ -83,7 +85,12 @@
|
|
83
85
|
}
|
84
86
|
|
85
87
|
input[type="checkbox"] {
|
86
|
-
|
88
|
+
opacity: 0;
|
89
|
+
position: absolute;
|
90
|
+
width: 100%;
|
91
|
+
height: 100%;
|
92
|
+
top: 0;
|
93
|
+
left: 0;
|
87
94
|
}
|
88
95
|
|
89
96
|
label {
|
@@ -138,6 +145,10 @@
|
|
138
145
|
}
|
139
146
|
}
|
140
147
|
|
148
|
+
input[type="checkbox"]:focus + label {
|
149
|
+
border-color: $primary-color;
|
150
|
+
}
|
151
|
+
|
141
152
|
input[type="checkbox"]:checked + label {
|
142
153
|
background-color: theme-color("secondary");
|
143
154
|
|
@@ -241,6 +252,10 @@
|
|
241
252
|
opacity: 0;
|
242
253
|
height: 0;
|
243
254
|
width: 0;
|
255
|
+
&:focus + span {
|
256
|
+
border-radius: 50%;
|
257
|
+
border: 2px solid $primary-color;
|
258
|
+
}
|
244
259
|
}
|
245
260
|
&-custom-input {
|
246
261
|
@include colored-circle-radio($secondary-color);
|
@@ -264,3 +279,61 @@
|
|
264
279
|
background-size: contain;
|
265
280
|
}
|
266
281
|
}
|
282
|
+
|
283
|
+
//Slide in labels
|
284
|
+
@mixin float-label-container {
|
285
|
+
display: block;
|
286
|
+
position: relative;
|
287
|
+
}
|
288
|
+
|
289
|
+
@mixin float-label {
|
290
|
+
label {
|
291
|
+
position: absolute;
|
292
|
+
left: 1em;
|
293
|
+
top: -0.5em;
|
294
|
+
cursor: text;
|
295
|
+
opacity: 1;
|
296
|
+
background: $input-background;
|
297
|
+
padding: 0 4px;
|
298
|
+
transition: all .2s;
|
299
|
+
@content;
|
300
|
+
&.state-select-label{
|
301
|
+
opacity: 1 !important;
|
302
|
+
left:1em !important;
|
303
|
+
}
|
304
|
+
}
|
305
|
+
}
|
306
|
+
|
307
|
+
@mixin float-label-input {
|
308
|
+
&::placeholder {
|
309
|
+
opacity: 0;
|
310
|
+
color: $secondary-font-color;
|
311
|
+
transition: all .2s;
|
312
|
+
}
|
313
|
+
&:placeholder-shown:not(:focus)::placeholder {
|
314
|
+
opacity: 0.3;
|
315
|
+
transition: all .2s;
|
316
|
+
}
|
317
|
+
}
|
318
|
+
|
319
|
+
@mixin float-label-scaled {
|
320
|
+
&:placeholder-shown:not(:focus) + * {
|
321
|
+
@content;
|
322
|
+
}
|
323
|
+
}
|
324
|
+
|
325
|
+
.has-float-label {
|
326
|
+
@include float-label-container;
|
327
|
+
@include float-label;
|
328
|
+
|
329
|
+
input, textarea {
|
330
|
+
@include float-label-input;
|
331
|
+
@include float-label-scaled {
|
332
|
+
opacity: 0;
|
333
|
+
left: 0em;
|
334
|
+
}
|
335
|
+
}
|
336
|
+
.form-control:focus {
|
337
|
+
box-shadow: none;
|
338
|
+
}
|
339
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
.flag-icon-background {
|
2
|
+
background-size: contain;
|
3
|
+
background-position: 50%;
|
4
|
+
background-repeat: no-repeat;
|
5
|
+
}
|
6
|
+
|
7
|
+
.flag-icon {
|
8
|
+
@extend .flag-icon-background;
|
9
|
+
position: relative;
|
10
|
+
display: inline-block;
|
11
|
+
width: (4 / 3) * 2.3em;
|
12
|
+
&:before {
|
13
|
+
content: "\00a0";
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
@mixin flag-icon($country) {
|
18
|
+
.flag-icon-#{$country} {
|
19
|
+
background-image: image-url(
|
20
|
+
"#{$flag-icon-css-path}#{$flag-icon-rect-path}/#{$country}.svg"
|
21
|
+
);
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,265 @@
|
|
1
|
+
@if variable-exists(include) {
|
2
|
+
@each $country in $include {
|
3
|
+
@include flag-icon($country);
|
4
|
+
}
|
5
|
+
} @else {
|
6
|
+
@include flag-icon(ad);
|
7
|
+
@include flag-icon(ae);
|
8
|
+
@include flag-icon(af);
|
9
|
+
@include flag-icon(ag);
|
10
|
+
@include flag-icon(ai);
|
11
|
+
@include flag-icon(al);
|
12
|
+
@include flag-icon(am);
|
13
|
+
@include flag-icon(ao);
|
14
|
+
@include flag-icon(aq);
|
15
|
+
@include flag-icon(ar);
|
16
|
+
@include flag-icon(as);
|
17
|
+
@include flag-icon(at);
|
18
|
+
@include flag-icon(au);
|
19
|
+
@include flag-icon(aw);
|
20
|
+
@include flag-icon(ax);
|
21
|
+
@include flag-icon(az);
|
22
|
+
@include flag-icon(ba);
|
23
|
+
@include flag-icon(bb);
|
24
|
+
@include flag-icon(bd);
|
25
|
+
@include flag-icon(be);
|
26
|
+
@include flag-icon(bf);
|
27
|
+
@include flag-icon(bg);
|
28
|
+
@include flag-icon(bh);
|
29
|
+
@include flag-icon(bi);
|
30
|
+
@include flag-icon(bj);
|
31
|
+
@include flag-icon(bl);
|
32
|
+
@include flag-icon(bm);
|
33
|
+
@include flag-icon(bn);
|
34
|
+
@include flag-icon(bo);
|
35
|
+
@include flag-icon(bq);
|
36
|
+
@include flag-icon(br);
|
37
|
+
@include flag-icon(bs);
|
38
|
+
@include flag-icon(bt);
|
39
|
+
@include flag-icon(bv);
|
40
|
+
@include flag-icon(bw);
|
41
|
+
@include flag-icon(by);
|
42
|
+
@include flag-icon(bz);
|
43
|
+
@include flag-icon(ca);
|
44
|
+
@include flag-icon(cc);
|
45
|
+
@include flag-icon(cd);
|
46
|
+
@include flag-icon(cf);
|
47
|
+
@include flag-icon(cg);
|
48
|
+
@include flag-icon(ch);
|
49
|
+
@include flag-icon(ci);
|
50
|
+
@include flag-icon(ck);
|
51
|
+
@include flag-icon(cl);
|
52
|
+
@include flag-icon(cm);
|
53
|
+
@include flag-icon(cn);
|
54
|
+
@include flag-icon(co);
|
55
|
+
@include flag-icon(cr);
|
56
|
+
@include flag-icon(cu);
|
57
|
+
@include flag-icon(cv);
|
58
|
+
@include flag-icon(cw);
|
59
|
+
@include flag-icon(cx);
|
60
|
+
@include flag-icon(cy);
|
61
|
+
@include flag-icon(cz);
|
62
|
+
@include flag-icon(de);
|
63
|
+
@include flag-icon(dj);
|
64
|
+
@include flag-icon(dk);
|
65
|
+
@include flag-icon(dm);
|
66
|
+
@include flag-icon(do);
|
67
|
+
@include flag-icon(dz);
|
68
|
+
@include flag-icon(ec);
|
69
|
+
@include flag-icon(ee);
|
70
|
+
@include flag-icon(eg);
|
71
|
+
@include flag-icon(eh);
|
72
|
+
@include flag-icon(er);
|
73
|
+
@include flag-icon(es);
|
74
|
+
@include flag-icon(et);
|
75
|
+
@include flag-icon(fi);
|
76
|
+
@include flag-icon(fj);
|
77
|
+
@include flag-icon(fk);
|
78
|
+
@include flag-icon(fm);
|
79
|
+
@include flag-icon(fo);
|
80
|
+
@include flag-icon(fr);
|
81
|
+
@include flag-icon(ga);
|
82
|
+
@include flag-icon(gb);
|
83
|
+
@include flag-icon(gd);
|
84
|
+
@include flag-icon(ge);
|
85
|
+
@include flag-icon(gf);
|
86
|
+
@include flag-icon(gg);
|
87
|
+
@include flag-icon(gh);
|
88
|
+
@include flag-icon(gi);
|
89
|
+
@include flag-icon(gl);
|
90
|
+
@include flag-icon(gm);
|
91
|
+
@include flag-icon(gn);
|
92
|
+
@include flag-icon(gp);
|
93
|
+
@include flag-icon(gq);
|
94
|
+
@include flag-icon(gr);
|
95
|
+
@include flag-icon(gs);
|
96
|
+
@include flag-icon(gt);
|
97
|
+
@include flag-icon(gu);
|
98
|
+
@include flag-icon(gw);
|
99
|
+
@include flag-icon(gy);
|
100
|
+
@include flag-icon(hk);
|
101
|
+
@include flag-icon(hm);
|
102
|
+
@include flag-icon(hn);
|
103
|
+
@include flag-icon(hr);
|
104
|
+
@include flag-icon(ht);
|
105
|
+
@include flag-icon(hu);
|
106
|
+
@include flag-icon(id);
|
107
|
+
@include flag-icon(ie);
|
108
|
+
@include flag-icon(il);
|
109
|
+
@include flag-icon(im);
|
110
|
+
@include flag-icon(in);
|
111
|
+
@include flag-icon(io);
|
112
|
+
@include flag-icon(iq);
|
113
|
+
@include flag-icon(ir);
|
114
|
+
@include flag-icon(is);
|
115
|
+
@include flag-icon(it);
|
116
|
+
@include flag-icon(je);
|
117
|
+
@include flag-icon(jm);
|
118
|
+
@include flag-icon(jo);
|
119
|
+
@include flag-icon(jp);
|
120
|
+
@include flag-icon(ke);
|
121
|
+
@include flag-icon(kg);
|
122
|
+
@include flag-icon(kh);
|
123
|
+
@include flag-icon(ki);
|
124
|
+
@include flag-icon(km);
|
125
|
+
@include flag-icon(kn);
|
126
|
+
@include flag-icon(kp);
|
127
|
+
@include flag-icon(kr);
|
128
|
+
@include flag-icon(kw);
|
129
|
+
@include flag-icon(ky);
|
130
|
+
@include flag-icon(kz);
|
131
|
+
@include flag-icon(la);
|
132
|
+
@include flag-icon(lb);
|
133
|
+
@include flag-icon(lc);
|
134
|
+
@include flag-icon(li);
|
135
|
+
@include flag-icon(lk);
|
136
|
+
@include flag-icon(lr);
|
137
|
+
@include flag-icon(ls);
|
138
|
+
@include flag-icon(lt);
|
139
|
+
@include flag-icon(lu);
|
140
|
+
@include flag-icon(lv);
|
141
|
+
@include flag-icon(ly);
|
142
|
+
@include flag-icon(ma);
|
143
|
+
@include flag-icon(mc);
|
144
|
+
@include flag-icon(md);
|
145
|
+
@include flag-icon(me);
|
146
|
+
@include flag-icon(mf);
|
147
|
+
@include flag-icon(mg);
|
148
|
+
@include flag-icon(mh);
|
149
|
+
@include flag-icon(mk);
|
150
|
+
@include flag-icon(ml);
|
151
|
+
@include flag-icon(mm);
|
152
|
+
@include flag-icon(mn);
|
153
|
+
@include flag-icon(mo);
|
154
|
+
@include flag-icon(mp);
|
155
|
+
@include flag-icon(mq);
|
156
|
+
@include flag-icon(mr);
|
157
|
+
@include flag-icon(ms);
|
158
|
+
@include flag-icon(mt);
|
159
|
+
@include flag-icon(mu);
|
160
|
+
@include flag-icon(mv);
|
161
|
+
@include flag-icon(mw);
|
162
|
+
@include flag-icon(mx);
|
163
|
+
@include flag-icon(my);
|
164
|
+
@include flag-icon(mz);
|
165
|
+
@include flag-icon(na);
|
166
|
+
@include flag-icon(nc);
|
167
|
+
@include flag-icon(ne);
|
168
|
+
@include flag-icon(nf);
|
169
|
+
@include flag-icon(ng);
|
170
|
+
@include flag-icon(ni);
|
171
|
+
@include flag-icon(nl);
|
172
|
+
@include flag-icon(no);
|
173
|
+
@include flag-icon(np);
|
174
|
+
@include flag-icon(nr);
|
175
|
+
@include flag-icon(nu);
|
176
|
+
@include flag-icon(nz);
|
177
|
+
@include flag-icon(om);
|
178
|
+
@include flag-icon(pa);
|
179
|
+
@include flag-icon(pe);
|
180
|
+
@include flag-icon(pf);
|
181
|
+
@include flag-icon(pg);
|
182
|
+
@include flag-icon(ph);
|
183
|
+
@include flag-icon(pk);
|
184
|
+
@include flag-icon(pl);
|
185
|
+
@include flag-icon(pm);
|
186
|
+
@include flag-icon(pn);
|
187
|
+
@include flag-icon(pr);
|
188
|
+
@include flag-icon(ps);
|
189
|
+
@include flag-icon(pt);
|
190
|
+
@include flag-icon(pw);
|
191
|
+
@include flag-icon(py);
|
192
|
+
@include flag-icon(qa);
|
193
|
+
@include flag-icon(re);
|
194
|
+
@include flag-icon(ro);
|
195
|
+
@include flag-icon(rs);
|
196
|
+
@include flag-icon(ru);
|
197
|
+
@include flag-icon(rw);
|
198
|
+
@include flag-icon(sa);
|
199
|
+
@include flag-icon(sb);
|
200
|
+
@include flag-icon(sc);
|
201
|
+
@include flag-icon(sd);
|
202
|
+
@include flag-icon(se);
|
203
|
+
@include flag-icon(sg);
|
204
|
+
@include flag-icon(sh);
|
205
|
+
@include flag-icon(si);
|
206
|
+
@include flag-icon(sj);
|
207
|
+
@include flag-icon(sk);
|
208
|
+
@include flag-icon(sl);
|
209
|
+
@include flag-icon(sm);
|
210
|
+
@include flag-icon(sn);
|
211
|
+
@include flag-icon(so);
|
212
|
+
@include flag-icon(sr);
|
213
|
+
@include flag-icon(ss);
|
214
|
+
@include flag-icon(st);
|
215
|
+
@include flag-icon(sv);
|
216
|
+
@include flag-icon(sx);
|
217
|
+
@include flag-icon(sy);
|
218
|
+
@include flag-icon(sz);
|
219
|
+
@include flag-icon(tc);
|
220
|
+
@include flag-icon(td);
|
221
|
+
@include flag-icon(tf);
|
222
|
+
@include flag-icon(tg);
|
223
|
+
@include flag-icon(th);
|
224
|
+
@include flag-icon(tj);
|
225
|
+
@include flag-icon(tk);
|
226
|
+
@include flag-icon(tl);
|
227
|
+
@include flag-icon(tm);
|
228
|
+
@include flag-icon(tn);
|
229
|
+
@include flag-icon(to);
|
230
|
+
@include flag-icon(tr);
|
231
|
+
@include flag-icon(tt);
|
232
|
+
@include flag-icon(tv);
|
233
|
+
@include flag-icon(tw);
|
234
|
+
@include flag-icon(tz);
|
235
|
+
@include flag-icon(ua);
|
236
|
+
@include flag-icon(ug);
|
237
|
+
@include flag-icon(um);
|
238
|
+
@include flag-icon(us);
|
239
|
+
@include flag-icon(uy);
|
240
|
+
@include flag-icon(uz);
|
241
|
+
@include flag-icon(va);
|
242
|
+
@include flag-icon(vc);
|
243
|
+
@include flag-icon(ve);
|
244
|
+
@include flag-icon(vg);
|
245
|
+
@include flag-icon(vi);
|
246
|
+
@include flag-icon(vn);
|
247
|
+
@include flag-icon(vu);
|
248
|
+
@include flag-icon(wf);
|
249
|
+
@include flag-icon(ws);
|
250
|
+
@include flag-icon(ye);
|
251
|
+
@include flag-icon(yt);
|
252
|
+
@include flag-icon(za);
|
253
|
+
@include flag-icon(zm);
|
254
|
+
@include flag-icon(zw);
|
255
|
+
|
256
|
+
// Other flags
|
257
|
+
@include flag-icon(es-ca);
|
258
|
+
@include flag-icon(eu);
|
259
|
+
@include flag-icon(gb-eng);
|
260
|
+
@include flag-icon(gb-nir);
|
261
|
+
@include flag-icon(gb-sct);
|
262
|
+
@include flag-icon(gb-wls);
|
263
|
+
@include flag-icon(un);
|
264
|
+
@include flag-icon(xk);
|
265
|
+
}
|