spree_frontend 4.1.10 → 4.2.0.rc2
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/info.svg +7 -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 +4 -1
- data/app/assets/javascripts/spree/frontend/cart.js +23 -1
- 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 +50 -23
- 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/product/related.js +2 -2
- 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.css +0 -1
- 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 +80 -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/helpers/spree/frontend_helper.scss +7 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/checkout/confirm.scss +0 -4
- data/app/assets/stylesheets/spree/frontend/views/spree/checkout/delivery.scss +6 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/checkout/edit.scss +6 -4
- 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/assets/stylesheets/spree/frontend/views/spree/users/show.scss +0 -6
- data/app/controllers/concerns/spree/checkout/address_book.rb +9 -7
- data/app/controllers/spree/addresses_controller.rb +1 -0
- data/app/controllers/spree/currency_controller.rb +17 -0
- data/app/controllers/spree/products_controller.rb +29 -13
- 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 +35 -5
- 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/addresses/edit.html.erb +13 -8
- data/app/views/spree/addresses/new.html.erb +5 -1
- data/app/views/spree/checkout/_address.html.erb +16 -18
- data/app/views/spree/checkout/_confirm.html.erb +5 -47
- 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 +5 -24
- data/app/views/spree/checkout/_payment_sources.html.erb +17 -0
- 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/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/_head.html.erb +2 -1
- 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 +16 -24
- data/app/views/spree/users/_address_controls.html.erb +11 -0
- data/app/views/spree/users/show.html.erb +14 -12
- data/config/routes.rb +2 -0
- data/spree_frontend.gemspec +4 -4
- metadata +301 -19
- data/app/assets/stylesheets/spree/frontend/_glyphicons_urls_fix.scss +0 -10
- data/app/assets/stylesheets/spree/frontend/address_book.scss +0 -8
@@ -1,6 +1,7 @@
|
|
1
1
|
#breadcrumbs {
|
2
2
|
padding: 0;
|
3
3
|
}
|
4
|
+
|
4
5
|
.breadcrumb {
|
5
6
|
background: none;
|
6
7
|
padding: 0.5rem 0;
|
@@ -23,3 +24,9 @@
|
|
23
24
|
.breadcrumb-product-name {
|
24
25
|
padding-right: 9.5px;
|
25
26
|
}
|
27
|
+
|
28
|
+
.truncate {
|
29
|
+
white-space: nowrap;
|
30
|
+
overflow: hidden;
|
31
|
+
text-overflow: ellipsis;
|
32
|
+
}
|
@@ -160,8 +160,11 @@
|
|
160
160
|
.nav-item {
|
161
161
|
color: theme-color('info');
|
162
162
|
font-weight: 600;
|
163
|
+
max-width: 70px;
|
164
|
+
text-align: center;
|
163
165
|
@include media-breakpoint-up(sm) {
|
164
166
|
font-weight: 500;
|
167
|
+
max-width: 100px;
|
165
168
|
}
|
166
169
|
a {
|
167
170
|
color: inherit;
|
@@ -494,9 +497,6 @@
|
|
494
497
|
font-size: font-px-to-rem(16px);
|
495
498
|
}
|
496
499
|
}
|
497
|
-
.delete-address-img {
|
498
|
-
color: $primary-color;
|
499
|
-
}
|
500
500
|
}
|
501
501
|
|
502
502
|
#checkout-summary {
|
@@ -508,7 +508,8 @@
|
|
508
508
|
height: 100%;
|
509
509
|
padding: 0;
|
510
510
|
max-width: 380px;
|
511
|
-
|
511
|
+
margin-right: 0;
|
512
|
+
margin-left: auto;
|
512
513
|
}
|
513
514
|
}
|
514
515
|
|
@@ -517,3 +518,4 @@
|
|
517
518
|
}
|
518
519
|
}
|
519
520
|
}
|
521
|
+
|
@@ -131,7 +131,7 @@
|
|
131
131
|
}
|
132
132
|
}
|
133
133
|
&-description {
|
134
|
-
|
134
|
+
h2 {
|
135
135
|
font-size: font-px-to-rem(14px);
|
136
136
|
@include media-breakpoint-up(sm) {
|
137
137
|
font-size: font-px-to-rem(22px);
|
@@ -359,7 +359,7 @@
|
|
359
359
|
}
|
360
360
|
}
|
361
361
|
}
|
362
|
-
input[type=text] {
|
362
|
+
input[type="text"] {
|
363
363
|
-webkit-appearance: none;
|
364
364
|
-moz-appearance: none;
|
365
365
|
appearance: none;
|
@@ -6,6 +6,11 @@
|
|
6
6
|
@include media-breakpoint-up(sm) {
|
7
7
|
font-size: font-px-to-rem(36px);
|
8
8
|
}
|
9
|
+
|
10
|
+
.compare-at-price {
|
11
|
+
color: theme-color("info");
|
12
|
+
text-decoration: line-through;
|
13
|
+
}
|
9
14
|
}
|
10
15
|
&-general-availability {
|
11
16
|
font-size: font-px-to-rem(12px);
|
@@ -87,6 +92,9 @@
|
|
87
92
|
border-color: theme-color("dark-text");
|
88
93
|
}
|
89
94
|
}
|
95
|
+
&:focus + label, &:focus + svg {
|
96
|
+
outline: theme-color("dark-text") dotted 2px;
|
97
|
+
}
|
90
98
|
&--bad-combination {
|
91
99
|
& + #{$self2}-label {
|
92
100
|
position: relative;
|
@@ -105,7 +105,9 @@
|
|
105
105
|
}
|
106
106
|
&-header {
|
107
107
|
background-color: $primary-background;
|
108
|
-
border
|
108
|
+
border: 0;
|
109
|
+
border-bottom: 1px solid $global-border-style;
|
110
|
+
text-align: left;
|
109
111
|
cursor: pointer;
|
110
112
|
font-size: font-px-to-rem(17px);
|
111
113
|
font-weight: bold;
|
@@ -133,12 +135,24 @@
|
|
133
135
|
}
|
134
136
|
}
|
135
137
|
}
|
138
|
+
&-scroller {
|
139
|
+
@include media-breakpoint-up('lg') {
|
140
|
+
max-height: calc(100vh - #{$spree-plp-filter-desktop-position});
|
141
|
+
overflow: auto;
|
142
|
+
}
|
143
|
+
}
|
136
144
|
}
|
137
145
|
|
138
146
|
&-sort {
|
139
147
|
font-size: font-px-to-rem(17px);
|
140
148
|
&-header {
|
149
|
+
color: $font-color;
|
141
150
|
cursor: pointer;
|
151
|
+
&:hover,
|
152
|
+
&:focus {
|
153
|
+
text-decoration: none;
|
154
|
+
color: $font-color;
|
155
|
+
}
|
142
156
|
&-arrow {
|
143
157
|
&--up {
|
144
158
|
display: none;
|
@@ -161,6 +175,16 @@
|
|
161
175
|
font-weight: bold;
|
162
176
|
}
|
163
177
|
}
|
178
|
+
.dropdown-item {
|
179
|
+
padding: 0;
|
180
|
+
color: inherit;
|
181
|
+
font-weight: inherit;
|
182
|
+
background-color: transparent;
|
183
|
+
&:hover,
|
184
|
+
&:focus {
|
185
|
+
background-color: transparent;
|
186
|
+
}
|
187
|
+
}
|
164
188
|
}
|
165
189
|
}
|
166
190
|
|
@@ -235,6 +259,9 @@
|
|
235
259
|
padding: 0;
|
236
260
|
margin: 0;
|
237
261
|
&-li {
|
262
|
+
.filled-dot {
|
263
|
+
display: none;
|
264
|
+
}
|
238
265
|
&--active {
|
239
266
|
.filled-dot {
|
240
267
|
z-index: 1px;
|
@@ -254,9 +281,6 @@
|
|
254
281
|
text-decoration: none;
|
255
282
|
}
|
256
283
|
}
|
257
|
-
.filled-dot {
|
258
|
-
display: none;
|
259
|
-
}
|
260
284
|
}
|
261
285
|
}
|
262
286
|
|
@@ -19,14 +19,15 @@
|
|
19
19
|
height: auto;
|
20
20
|
}
|
21
21
|
}
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
input:
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
22
|
+
input:checked,
|
23
|
+
input:focus,
|
24
|
+
input:active,
|
25
|
+
input:focus-within {
|
26
|
+
& + .color-select {
|
27
|
+
.color-select-border {
|
28
|
+
stroke: $secondary-color;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
31
32
|
}
|
32
33
|
}
|
@@ -3,7 +3,14 @@
|
|
3
3
|
position: relative;
|
4
4
|
display: inline-block;
|
5
5
|
padding-right: 7%;
|
6
|
-
|
6
|
+
svg {
|
7
|
+
width: 24px;
|
8
|
+
height: 24px;
|
9
|
+
@include media-breakpoint-up(xl) {
|
10
|
+
width: 36px;
|
11
|
+
height: 36px;
|
12
|
+
}
|
13
|
+
}
|
7
14
|
&,
|
8
15
|
&:hover {
|
9
16
|
color: $header-font-color;
|
@@ -26,9 +33,7 @@
|
|
26
33
|
padding: 0 2px;
|
27
34
|
font-size: font-px-to-rem(12px);
|
28
35
|
display: none;
|
29
|
-
|
30
|
-
&--xl {
|
31
|
-
#{$self}-count {
|
36
|
+
@include media-breakpoint-up(xl) {
|
32
37
|
$size: 26px;
|
33
38
|
$border-width: 2px;
|
34
39
|
border-radius: $size / 2;
|
@@ -1,12 +1,10 @@
|
|
1
1
|
.main-nav-bar {
|
2
|
-
@mixin active-category-button {
|
3
|
-
border-bottom-color: $header-font-color;
|
4
|
-
}
|
5
|
-
|
6
2
|
&-item {
|
7
3
|
text-transform: uppercase;
|
8
4
|
font-size: 20px;
|
9
5
|
font-weight: $font-weight-medium;
|
6
|
+
padding: 0 1.5rem;
|
7
|
+
height: 100%;
|
10
8
|
a {
|
11
9
|
color: theme-color('dark-text');
|
12
10
|
|
@@ -15,41 +13,49 @@
|
|
15
13
|
}
|
16
14
|
}
|
17
15
|
}
|
18
|
-
&-dropdown {
|
19
|
-
&-toggle {
|
20
|
-
background: none;
|
21
|
-
border: none;
|
22
|
-
padding: 0;
|
23
|
-
margin: 0;
|
24
|
-
&:focus {
|
25
|
-
outline: none;
|
26
|
-
}
|
27
|
-
}
|
28
|
-
}
|
29
16
|
&-category {
|
30
17
|
$self: &;
|
31
|
-
|
18
|
+
display: flex;
|
32
19
|
position: static;
|
33
20
|
|
34
|
-
&:hover {
|
35
|
-
#{$self}-dropdown {
|
36
|
-
display: block;
|
37
|
-
}
|
21
|
+
&:hover, &.show {
|
38
22
|
#{$self}-button {
|
39
23
|
color: $header-font-color;
|
40
24
|
text-decoration: none;
|
41
|
-
|
25
|
+
&:after {
|
26
|
+
border-bottom-color: $header-font-color;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
.dropdown-item {
|
32
|
+
width: auto;
|
33
|
+
padding: 0;
|
34
|
+
background-color: transparent;
|
35
|
+
&:hover, &:focus {
|
36
|
+
background-color: transparent;
|
42
37
|
}
|
43
38
|
}
|
44
39
|
|
45
40
|
&-button {
|
46
41
|
background: none;
|
47
42
|
border: none;
|
48
|
-
border-bottom: 3px solid transparent;
|
49
43
|
color: $header-font-color;
|
50
44
|
margin: 0;
|
51
|
-
|
52
|
-
|
45
|
+
display: flex;
|
46
|
+
align-items: center;
|
47
|
+
position: relative;
|
48
|
+
&:after {
|
49
|
+
content: '';
|
50
|
+
display: block;
|
51
|
+
width: calc(100% - 2rem);
|
52
|
+
position: absolute;
|
53
|
+
left: 1rem;
|
54
|
+
bottom: 0.75rem;
|
55
|
+
padding: 0;
|
56
|
+
margin: 0;
|
57
|
+
border: 0;
|
58
|
+
border-bottom: 3px solid transparent;
|
53
59
|
}
|
54
60
|
}
|
55
61
|
|
@@ -64,7 +70,6 @@
|
|
64
70
|
margin: 0;
|
65
71
|
border: none;
|
66
72
|
z-index: 1000;
|
67
|
-
display: none;
|
68
73
|
background: $meganav-background;
|
69
74
|
background-clip: padding-box;
|
70
75
|
border-top: 1px solid $global-border-style;
|
@@ -15,7 +15,8 @@
|
|
15
15
|
&.shown {
|
16
16
|
transform: translate(0);
|
17
17
|
}
|
18
|
-
&-list,
|
18
|
+
&-list,
|
19
|
+
&-sublist {
|
19
20
|
margin: 0;
|
20
21
|
overflow-y: auto;
|
21
22
|
overflow-x: hidden;
|
@@ -63,6 +64,17 @@
|
|
63
64
|
border-bottom: 1px solid $global-border-style;
|
64
65
|
}
|
65
66
|
}
|
67
|
+
|
68
|
+
&-category-link {
|
69
|
+
svg {
|
70
|
+
width: 16px;
|
71
|
+
height: 16px;
|
72
|
+
@include media-breakpoint-up(sm) {
|
73
|
+
width: 14px;
|
74
|
+
height: 27px;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
66
78
|
}
|
67
79
|
|
68
80
|
#mobile-navigation-close-button {
|
@@ -75,12 +87,18 @@
|
|
75
87
|
.cls-3 {
|
76
88
|
fill: theme-color("light-background");
|
77
89
|
}
|
90
|
+
svg {
|
91
|
+
width: 17px;
|
92
|
+
height: 17px;
|
93
|
+
@include media-breakpoint-up(sm) {
|
94
|
+
width: 26px;
|
95
|
+
height: 26px;
|
96
|
+
}
|
97
|
+
}
|
78
98
|
}
|
79
99
|
|
80
100
|
#mobile-navigation-back-button {
|
81
101
|
opacity: 0;
|
82
|
-
padding-left: 0;
|
83
|
-
padding-right: 0;
|
84
102
|
transition: basic-transition(opacity);
|
85
103
|
appearance: none;
|
86
104
|
border: none;
|
@@ -89,4 +107,12 @@
|
|
89
107
|
&.shown {
|
90
108
|
opacity: 1;
|
91
109
|
}
|
110
|
+
svg {
|
111
|
+
width: 18px;
|
112
|
+
height: 18px;
|
113
|
+
@include media-breakpoint-up(sm) {
|
114
|
+
width: 17px;
|
115
|
+
height: 28px;
|
116
|
+
}
|
117
|
+
}
|
92
118
|
}
|