solidus_frontend 1.1.4 → 1.2.0.beta1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of solidus_frontend might be problematic. Click here for more details.

Files changed (283) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/icons/delete.png +0 -0
  3. data/app/assets/images/spree/frontend/cart.png +0 -0
  4. data/app/assets/javascripts/spree/frontend/checkout/address.js.coffee +0 -3
  5. data/app/assets/stylesheets/spree/frontend/screen.css.scss +0 -6
  6. data/app/controllers/spree/checkout_controller.rb +22 -3
  7. data/app/controllers/spree/orders_controller.rb +1 -1
  8. data/app/views/spree/address/_form.html.erb +15 -15
  9. data/app/views/spree/checkout/payment/_gateway.html.erb +4 -5
  10. data/app/views/spree/shared/_main_nav_bar.html.erb +1 -1
  11. data/app/views/spree/taxons/show.html.erb +0 -0
  12. data/lib/spree/frontend.rb +0 -3
  13. data/solidus_frontend.gemspec +4 -6
  14. data/spec/controllers/controller_helpers_spec.rb +1 -2
  15. data/spec/controllers/spree/checkout_controller_spec.rb +50 -49
  16. data/spec/controllers/spree/checkout_controller_with_views_spec.rb +1 -1
  17. data/spec/controllers/spree/orders_controller_spec.rb +1 -1
  18. data/spec/controllers/spree/orders_controller_transitions_spec.rb +1 -1
  19. data/spec/controllers/spree/products_controller_spec.rb +3 -3
  20. data/spec/features/cart_spec.rb +2 -2
  21. data/spec/features/checkout_spec.rb +8 -45
  22. data/spec/features/currency_spec.rb +2 -2
  23. data/spec/features/free_shipping_promotions_spec.rb +1 -1
  24. data/spec/features/order_spec.rb +4 -6
  25. data/spec/features/products_spec.rb +1 -5
  26. data/spec/features/taxons_spec.rb +2 -2
  27. data/spec/helpers/base_helper_spec.rb +1 -1
  28. data/spec/spec_helper.rb +1 -0
  29. data/spec/views/spree/checkout/_summary_spec.rb +3 -5
  30. metadata +9 -290
  31. data/app/assets/images/spree/frontend/select_arrow.gif +0 -0
  32. data/vendor/assets/images/datepicker/cal.gif +0 -0
  33. data/vendor/assets/images/flags/ad.png +0 -0
  34. data/vendor/assets/images/flags/ae.png +0 -0
  35. data/vendor/assets/images/flags/af.png +0 -0
  36. data/vendor/assets/images/flags/ag.png +0 -0
  37. data/vendor/assets/images/flags/ai.png +0 -0
  38. data/vendor/assets/images/flags/al.png +0 -0
  39. data/vendor/assets/images/flags/am.png +0 -0
  40. data/vendor/assets/images/flags/an.png +0 -0
  41. data/vendor/assets/images/flags/ao.png +0 -0
  42. data/vendor/assets/images/flags/ar.png +0 -0
  43. data/vendor/assets/images/flags/as.png +0 -0
  44. data/vendor/assets/images/flags/at.png +0 -0
  45. data/vendor/assets/images/flags/au.png +0 -0
  46. data/vendor/assets/images/flags/aw.png +0 -0
  47. data/vendor/assets/images/flags/ax.png +0 -0
  48. data/vendor/assets/images/flags/az.png +0 -0
  49. data/vendor/assets/images/flags/ba.png +0 -0
  50. data/vendor/assets/images/flags/bb.png +0 -0
  51. data/vendor/assets/images/flags/bd.png +0 -0
  52. data/vendor/assets/images/flags/be.png +0 -0
  53. data/vendor/assets/images/flags/bf.png +0 -0
  54. data/vendor/assets/images/flags/bg.png +0 -0
  55. data/vendor/assets/images/flags/bh.png +0 -0
  56. data/vendor/assets/images/flags/bi.png +0 -0
  57. data/vendor/assets/images/flags/bj.png +0 -0
  58. data/vendor/assets/images/flags/bm.png +0 -0
  59. data/vendor/assets/images/flags/bn.png +0 -0
  60. data/vendor/assets/images/flags/bo.png +0 -0
  61. data/vendor/assets/images/flags/br.png +0 -0
  62. data/vendor/assets/images/flags/bs.png +0 -0
  63. data/vendor/assets/images/flags/bt.png +0 -0
  64. data/vendor/assets/images/flags/bv.png +0 -0
  65. data/vendor/assets/images/flags/bw.png +0 -0
  66. data/vendor/assets/images/flags/by.png +0 -0
  67. data/vendor/assets/images/flags/bz.png +0 -0
  68. data/vendor/assets/images/flags/ca.png +0 -0
  69. data/vendor/assets/images/flags/catalonia.png +0 -0
  70. data/vendor/assets/images/flags/cc.png +0 -0
  71. data/vendor/assets/images/flags/cd.png +0 -0
  72. data/vendor/assets/images/flags/cf.png +0 -0
  73. data/vendor/assets/images/flags/cg.png +0 -0
  74. data/vendor/assets/images/flags/ch.png +0 -0
  75. data/vendor/assets/images/flags/ci.png +0 -0
  76. data/vendor/assets/images/flags/ck.png +0 -0
  77. data/vendor/assets/images/flags/cl.png +0 -0
  78. data/vendor/assets/images/flags/cm.png +0 -0
  79. data/vendor/assets/images/flags/cn.png +0 -0
  80. data/vendor/assets/images/flags/co.png +0 -0
  81. data/vendor/assets/images/flags/cr.png +0 -0
  82. data/vendor/assets/images/flags/cs.png +0 -0
  83. data/vendor/assets/images/flags/cu.png +0 -0
  84. data/vendor/assets/images/flags/cv.png +0 -0
  85. data/vendor/assets/images/flags/cx.png +0 -0
  86. data/vendor/assets/images/flags/cy.png +0 -0
  87. data/vendor/assets/images/flags/cz.png +0 -0
  88. data/vendor/assets/images/flags/de.png +0 -0
  89. data/vendor/assets/images/flags/dj.png +0 -0
  90. data/vendor/assets/images/flags/dk.png +0 -0
  91. data/vendor/assets/images/flags/dm.png +0 -0
  92. data/vendor/assets/images/flags/do.png +0 -0
  93. data/vendor/assets/images/flags/dz.png +0 -0
  94. data/vendor/assets/images/flags/ec.png +0 -0
  95. data/vendor/assets/images/flags/ee.png +0 -0
  96. data/vendor/assets/images/flags/eg.png +0 -0
  97. data/vendor/assets/images/flags/eh.png +0 -0
  98. data/vendor/assets/images/flags/england.png +0 -0
  99. data/vendor/assets/images/flags/er.png +0 -0
  100. data/vendor/assets/images/flags/es.png +0 -0
  101. data/vendor/assets/images/flags/et.png +0 -0
  102. data/vendor/assets/images/flags/europeanunion.png +0 -0
  103. data/vendor/assets/images/flags/fam.png +0 -0
  104. data/vendor/assets/images/flags/fi.png +0 -0
  105. data/vendor/assets/images/flags/fj.png +0 -0
  106. data/vendor/assets/images/flags/fk.png +0 -0
  107. data/vendor/assets/images/flags/fm.png +0 -0
  108. data/vendor/assets/images/flags/fo.png +0 -0
  109. data/vendor/assets/images/flags/fr.png +0 -0
  110. data/vendor/assets/images/flags/ga.png +0 -0
  111. data/vendor/assets/images/flags/gb.png +0 -0
  112. data/vendor/assets/images/flags/gd.png +0 -0
  113. data/vendor/assets/images/flags/ge.png +0 -0
  114. data/vendor/assets/images/flags/gf.png +0 -0
  115. data/vendor/assets/images/flags/gh.png +0 -0
  116. data/vendor/assets/images/flags/gi.png +0 -0
  117. data/vendor/assets/images/flags/gl.png +0 -0
  118. data/vendor/assets/images/flags/gm.png +0 -0
  119. data/vendor/assets/images/flags/gn.png +0 -0
  120. data/vendor/assets/images/flags/gp.png +0 -0
  121. data/vendor/assets/images/flags/gq.png +0 -0
  122. data/vendor/assets/images/flags/gr.png +0 -0
  123. data/vendor/assets/images/flags/gs.png +0 -0
  124. data/vendor/assets/images/flags/gt.png +0 -0
  125. data/vendor/assets/images/flags/gu.png +0 -0
  126. data/vendor/assets/images/flags/gw.png +0 -0
  127. data/vendor/assets/images/flags/gy.png +0 -0
  128. data/vendor/assets/images/flags/hk.png +0 -0
  129. data/vendor/assets/images/flags/hm.png +0 -0
  130. data/vendor/assets/images/flags/hn.png +0 -0
  131. data/vendor/assets/images/flags/hr.png +0 -0
  132. data/vendor/assets/images/flags/ht.png +0 -0
  133. data/vendor/assets/images/flags/hu.png +0 -0
  134. data/vendor/assets/images/flags/id.png +0 -0
  135. data/vendor/assets/images/flags/ie.png +0 -0
  136. data/vendor/assets/images/flags/il.png +0 -0
  137. data/vendor/assets/images/flags/in.png +0 -0
  138. data/vendor/assets/images/flags/io.png +0 -0
  139. data/vendor/assets/images/flags/iq.png +0 -0
  140. data/vendor/assets/images/flags/ir.png +0 -0
  141. data/vendor/assets/images/flags/is.png +0 -0
  142. data/vendor/assets/images/flags/it.png +0 -0
  143. data/vendor/assets/images/flags/ja.png +0 -0
  144. data/vendor/assets/images/flags/jm.png +0 -0
  145. data/vendor/assets/images/flags/jo.png +0 -0
  146. data/vendor/assets/images/flags/ke.png +0 -0
  147. data/vendor/assets/images/flags/kg.png +0 -0
  148. data/vendor/assets/images/flags/kh.png +0 -0
  149. data/vendor/assets/images/flags/ki.png +0 -0
  150. data/vendor/assets/images/flags/km.png +0 -0
  151. data/vendor/assets/images/flags/kn.png +0 -0
  152. data/vendor/assets/images/flags/kp.png +0 -0
  153. data/vendor/assets/images/flags/kr.png +0 -0
  154. data/vendor/assets/images/flags/kw.png +0 -0
  155. data/vendor/assets/images/flags/ky.png +0 -0
  156. data/vendor/assets/images/flags/kz.png +0 -0
  157. data/vendor/assets/images/flags/la.png +0 -0
  158. data/vendor/assets/images/flags/lb.png +0 -0
  159. data/vendor/assets/images/flags/lc.png +0 -0
  160. data/vendor/assets/images/flags/li.png +0 -0
  161. data/vendor/assets/images/flags/lk.png +0 -0
  162. data/vendor/assets/images/flags/lr.png +0 -0
  163. data/vendor/assets/images/flags/ls.png +0 -0
  164. data/vendor/assets/images/flags/lt.png +0 -0
  165. data/vendor/assets/images/flags/lu.png +0 -0
  166. data/vendor/assets/images/flags/lv.png +0 -0
  167. data/vendor/assets/images/flags/ly.png +0 -0
  168. data/vendor/assets/images/flags/ma.png +0 -0
  169. data/vendor/assets/images/flags/mc.png +0 -0
  170. data/vendor/assets/images/flags/md.png +0 -0
  171. data/vendor/assets/images/flags/me.png +0 -0
  172. data/vendor/assets/images/flags/mg.png +0 -0
  173. data/vendor/assets/images/flags/mh.png +0 -0
  174. data/vendor/assets/images/flags/mk.png +0 -0
  175. data/vendor/assets/images/flags/ml.png +0 -0
  176. data/vendor/assets/images/flags/mm.png +0 -0
  177. data/vendor/assets/images/flags/mn.png +0 -0
  178. data/vendor/assets/images/flags/mo.png +0 -0
  179. data/vendor/assets/images/flags/mp.png +0 -0
  180. data/vendor/assets/images/flags/mq.png +0 -0
  181. data/vendor/assets/images/flags/mr.png +0 -0
  182. data/vendor/assets/images/flags/ms.png +0 -0
  183. data/vendor/assets/images/flags/mt.png +0 -0
  184. data/vendor/assets/images/flags/mu.png +0 -0
  185. data/vendor/assets/images/flags/mv.png +0 -0
  186. data/vendor/assets/images/flags/mw.png +0 -0
  187. data/vendor/assets/images/flags/mx.png +0 -0
  188. data/vendor/assets/images/flags/my.png +0 -0
  189. data/vendor/assets/images/flags/mz.png +0 -0
  190. data/vendor/assets/images/flags/na.png +0 -0
  191. data/vendor/assets/images/flags/nc.png +0 -0
  192. data/vendor/assets/images/flags/ne.png +0 -0
  193. data/vendor/assets/images/flags/nf.png +0 -0
  194. data/vendor/assets/images/flags/ng.png +0 -0
  195. data/vendor/assets/images/flags/ni.png +0 -0
  196. data/vendor/assets/images/flags/nl.png +0 -0
  197. data/vendor/assets/images/flags/no.png +0 -0
  198. data/vendor/assets/images/flags/np.png +0 -0
  199. data/vendor/assets/images/flags/nr.png +0 -0
  200. data/vendor/assets/images/flags/nu.png +0 -0
  201. data/vendor/assets/images/flags/nz.png +0 -0
  202. data/vendor/assets/images/flags/om.png +0 -0
  203. data/vendor/assets/images/flags/pa.png +0 -0
  204. data/vendor/assets/images/flags/pe.png +0 -0
  205. data/vendor/assets/images/flags/pf.png +0 -0
  206. data/vendor/assets/images/flags/pg.png +0 -0
  207. data/vendor/assets/images/flags/ph.png +0 -0
  208. data/vendor/assets/images/flags/pk.png +0 -0
  209. data/vendor/assets/images/flags/pl.png +0 -0
  210. data/vendor/assets/images/flags/pm.png +0 -0
  211. data/vendor/assets/images/flags/pn.png +0 -0
  212. data/vendor/assets/images/flags/pr.png +0 -0
  213. data/vendor/assets/images/flags/ps.png +0 -0
  214. data/vendor/assets/images/flags/pt.png +0 -0
  215. data/vendor/assets/images/flags/pw.png +0 -0
  216. data/vendor/assets/images/flags/py.png +0 -0
  217. data/vendor/assets/images/flags/qa.png +0 -0
  218. data/vendor/assets/images/flags/re.png +0 -0
  219. data/vendor/assets/images/flags/ro.png +0 -0
  220. data/vendor/assets/images/flags/rs.png +0 -0
  221. data/vendor/assets/images/flags/ru.png +0 -0
  222. data/vendor/assets/images/flags/rw.png +0 -0
  223. data/vendor/assets/images/flags/sa.png +0 -0
  224. data/vendor/assets/images/flags/sb.png +0 -0
  225. data/vendor/assets/images/flags/sc.png +0 -0
  226. data/vendor/assets/images/flags/scotland.png +0 -0
  227. data/vendor/assets/images/flags/sd.png +0 -0
  228. data/vendor/assets/images/flags/se.png +0 -0
  229. data/vendor/assets/images/flags/sg.png +0 -0
  230. data/vendor/assets/images/flags/sh.png +0 -0
  231. data/vendor/assets/images/flags/si.png +0 -0
  232. data/vendor/assets/images/flags/sj.png +0 -0
  233. data/vendor/assets/images/flags/sk.png +0 -0
  234. data/vendor/assets/images/flags/sl.png +0 -0
  235. data/vendor/assets/images/flags/sm.png +0 -0
  236. data/vendor/assets/images/flags/sn.png +0 -0
  237. data/vendor/assets/images/flags/so.png +0 -0
  238. data/vendor/assets/images/flags/sr.png +0 -0
  239. data/vendor/assets/images/flags/st.png +0 -0
  240. data/vendor/assets/images/flags/sv.png +0 -0
  241. data/vendor/assets/images/flags/sy.png +0 -0
  242. data/vendor/assets/images/flags/sz.png +0 -0
  243. data/vendor/assets/images/flags/tc.png +0 -0
  244. data/vendor/assets/images/flags/td.png +0 -0
  245. data/vendor/assets/images/flags/tf.png +0 -0
  246. data/vendor/assets/images/flags/tg.png +0 -0
  247. data/vendor/assets/images/flags/th.png +0 -0
  248. data/vendor/assets/images/flags/tj.png +0 -0
  249. data/vendor/assets/images/flags/tk.png +0 -0
  250. data/vendor/assets/images/flags/tl.png +0 -0
  251. data/vendor/assets/images/flags/tm.png +0 -0
  252. data/vendor/assets/images/flags/tn.png +0 -0
  253. data/vendor/assets/images/flags/to.png +0 -0
  254. data/vendor/assets/images/flags/tr.png +0 -0
  255. data/vendor/assets/images/flags/tt.png +0 -0
  256. data/vendor/assets/images/flags/tv.png +0 -0
  257. data/vendor/assets/images/flags/tw.png +0 -0
  258. data/vendor/assets/images/flags/tz.png +0 -0
  259. data/vendor/assets/images/flags/ua.png +0 -0
  260. data/vendor/assets/images/flags/ug.png +0 -0
  261. data/vendor/assets/images/flags/um.png +0 -0
  262. data/vendor/assets/images/flags/us.png +0 -0
  263. data/vendor/assets/images/flags/uy.png +0 -0
  264. data/vendor/assets/images/flags/uz.png +0 -0
  265. data/vendor/assets/images/flags/va.png +0 -0
  266. data/vendor/assets/images/flags/vc.png +0 -0
  267. data/vendor/assets/images/flags/ve.png +0 -0
  268. data/vendor/assets/images/flags/vg.png +0 -0
  269. data/vendor/assets/images/flags/vi.png +0 -0
  270. data/vendor/assets/images/flags/vn.png +0 -0
  271. data/vendor/assets/images/flags/vu.png +0 -0
  272. data/vendor/assets/images/flags/wales.png +0 -0
  273. data/vendor/assets/images/flags/wf.png +0 -0
  274. data/vendor/assets/images/flags/ws.png +0 -0
  275. data/vendor/assets/images/flags/ye.png +0 -0
  276. data/vendor/assets/images/flags/yt.png +0 -0
  277. data/vendor/assets/images/flags/za.png +0 -0
  278. data/vendor/assets/images/flags/zm.png +0 -0
  279. data/vendor/assets/images/flags/zw.png +0 -0
  280. data/vendor/assets/images/jquery.formalize/button.png +0 -0
  281. data/vendor/assets/images/jquery.formalize/select_arrow.gif +0 -0
  282. data/vendor/assets/javascripts/jquery.formalize.min.js +0 -1
  283. data/vendor/assets/stylesheets/jquery.formalize.css.erb +0 -363
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1 +0,0 @@
1
- var FORMALIZE=function(a,b,c){function d(a){var b=c.createElement("b");return b.innerHTML="<!--[if IE "+a+"]><br><![endif]-->",!!b.getElementsByTagName("br").length}var e="placeholder"in c.createElement("input"),f="autofocus"in c.createElement("input"),g=d(6),h=d(7);return{go:function(){var a,b=this.init;for(a in b)b.hasOwnProperty(a)&&b[a]()},init:{full_input_size:function(){h&&a("textarea, input.input_full").length&&a("textarea, input.input_full").wrap('<span class="input_full_wrap"></span>')},ie6_skin_inputs:function(){if(g&&a("input, select, textarea").length){var b=/button|submit|reset/,c=/date|datetime|datetime-local|email|month|number|password|range|search|tel|text|time|url|week/;a("input").each(function(){var d=a(this);this.getAttribute("type").match(b)?(d.addClass("ie6_button"),this.disabled&&d.addClass("ie6_button_disabled")):this.getAttribute("type").match(c)&&(d.addClass("ie6_input"),this.disabled&&d.addClass("ie6_input_disabled"))}),a("textarea, select").each(function(){this.disabled&&a(this).addClass("ie6_input_disabled")})}},autofocus:function(){f||!a(":input[autofocus]").length||a(":input[autofocus]:visible:first").focus()},placeholder:function(){!e&&!!a(":input[placeholder]").length&&(FORMALIZE.misc.add_placeholder(),a(":input[placeholder]").each(function(){if(this.type!=="password"){var b=a(this),c=b.attr("placeholder");b.focus(function(){b.val()===c&&b.val("").removeClass("placeholder_text")}).blur(function(){FORMALIZE.misc.add_placeholder()}),b.closest("form").submit(function(){b.val()===c&&b.val("").removeClass("placeholder_text")}).bind("reset",function(){setTimeout(FORMALIZE.misc.add_placeholder,50)})}}))}},misc:{add_placeholder:function(){e||!a(":input[placeholder]").length||a(":input[placeholder]").each(function(){if(this.type!=="password"){var b=a(this),c=b.attr("placeholder");(!b.val()||b.val()===c)&&b.val(c).addClass("placeholder_text")}})}}}}(jQuery,this,this.document);jQuery(document).ready(function(){FORMALIZE.go()})
@@ -1,363 +0,0 @@
1
- .input_tiny {
2
- width: 50px;
3
- }
4
-
5
- .input_small {
6
- width: 100px;
7
- }
8
-
9
- .input_medium {
10
- width: 150px;
11
- }
12
-
13
- .input_large {
14
- width: 200px;
15
- }
16
-
17
- .input_xlarge {
18
- width: 250px;
19
- }
20
-
21
- .input_xxlarge {
22
- width: 300px;
23
- }
24
-
25
- .input_full {
26
- width: 100%;
27
- }
28
-
29
- .input_full_wrap {
30
- display: block;
31
- padding-right: 8px;
32
- }
33
-
34
- input[type="search"]::-webkit-search-decoration {
35
- display: none;
36
- }
37
-
38
- button:focus,
39
- input:focus,
40
- select:focus,
41
- textarea:focus {
42
- -webkit-box-shadow: #0066ff 0 0 7px 0;
43
- -moz-box-shadow: #0066ff 0 0 7px 0;
44
- -o-box-shadow: #0066ff 0 0 7px 0;
45
- box-shadow: #0066ff 0 0 7px 0;
46
- z-index: 1;
47
- }
48
-
49
- input[type="file"]:focus, input[type="file"]:active,
50
- input[type="radio"]:focus,
51
- input[type="radio"]:active,
52
- input[type="checkbox"]:focus,
53
- input[type="checkbox"]:active {
54
- -webkit-box-shadow: none;
55
- -moz-box-shadow: none;
56
- -o-box-shadow: none;
57
- box-shadow: none;
58
- }
59
- button,
60
- input[type="reset"],
61
- input[type="submit"],
62
- input[type="button"],
63
- a.button {
64
- -webkit-appearance: none;
65
- -webkit-border-radius: 4px;
66
- -ms-border-radius: 4px;
67
- -o-border-radius: 4px;
68
- border-radius: 4px;
69
- -webkit-background-clip: padding;
70
- -moz-background-clip: padding;
71
- -ms-background-clip: padding-box;
72
- -o-background-clip: padding-box;
73
- background-clip: padding-box;
74
- background: #dddddd url(<%= asset_path("jquery.formalize/button.png") %>) repeat-x;
75
- background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #dddddd));
76
- background-image: -webkit-linear-gradient(#ffffff, #dddddd);
77
- background-image: -moz-linear-gradient(#ffffff, #dddddd);
78
- background-image: -o-linear-gradient(#ffffff, #dddddd);
79
- background-image: -ms-linear-gradient(#ffffff, #dddddd);
80
- background-image: linear-gradient(#ffffff, #dddddd);
81
- border: 1px solid;
82
- border-color: #dddddd #bbbbbb #999999;
83
- cursor: pointer;
84
- color: #333333;
85
- font: bold 12px/1.3 "Helvetica Neue", Arial, "Liberation Sans", FreeSans, sans-serif;
86
- outline: 0;
87
- overflow: visible;
88
- margin: 0;
89
- padding: 3px 10px;
90
- text-shadow: white 0 1px 1px;
91
- vertical-align: top;
92
- width: auto;
93
- *padding-top: 2px;
94
- *padding-bottom: 0;
95
- }
96
- button:hover,
97
- input[type="reset"]:hover,
98
- input[type="submit"]:hover,
99
- input[type="button"]:hover,
100
- a.button:hover {
101
- background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(1px, #eeeeee), color-stop(100%, #cccccc));
102
- background-image: -webkit-linear-gradient(#ffffff, #eeeeee 1px, #cccccc);
103
- background-image: -moz-linear-gradient(#ffffff, #eeeeee 1px, #cccccc);
104
- background-image: -o-linear-gradient(#ffffff, #eeeeee 1px, #cccccc);
105
- background-image: -ms-linear-gradient(#ffffff, #eeeeee 1px, #cccccc);
106
- background-image: linear-gradient(#ffffff, #eeeeee 1px, #cccccc);
107
- }
108
- button:active,
109
- input[type="reset"]:active,
110
- input[type="submit"]:active,
111
- input[type="button"]:active,
112
- a.button:active {
113
- background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(1px, #dddddd), color-stop(100%, #eeeeee));
114
- background-image: -webkit-linear-gradient(#ffffff, #dddddd 1px, #eeeeee);
115
- background-image: -moz-linear-gradient(#ffffff, #dddddd 1px, #eeeeee);
116
- background-image: -o-linear-gradient(#ffffff, #dddddd 1px, #eeeeee);
117
- background-image: -ms-linear-gradient(#ffffff, #dddddd 1px, #eeeeee);
118
- background-image: linear-gradient(#ffffff, #dddddd 1px, #eeeeee);
119
- -webkit-box-shadow: inset rgba(0, 0, 0, 0.25) 0 1px 2px 0;
120
- -moz-box-shadow: inset rgba(0, 0, 0, 0.25) 0 1px 2px 0;
121
- -o-box-shadow: inset rgba(0, 0, 0, 0.25) 0 1px 2px 0;
122
- box-shadow: inset rgba(0, 0, 0, 0.25) 0 1px 2px 0;
123
- border-color: #999999 #bbbbbb #dddddd;
124
- }
125
- a.button::-moz-focus-inner,
126
- button::-moz-focus-inner,
127
- input[type="reset"]::-moz-focus-inner,
128
- input[type="submit"]::-moz-focus-inner,
129
- input[type="button"]::-moz-focus-inner {
130
- border: 0;
131
- padding: 0;
132
- }
133
-
134
- button, a.button {
135
- *padding-top: 1px;
136
- *padding-bottom: 1px;
137
- }
138
-
139
- textarea,
140
- select,
141
- input[type="date"],
142
- input[type="datetime"],
143
- input[type="datetime-local"],
144
- input[type="email"],
145
- input[type="month"],
146
- input[type="number"],
147
- input[type="password"],
148
- input[type="search"],
149
- input[type="tel"],
150
- input[type="text"],
151
- input[type="time"],
152
- input[type="url"],
153
- input[type="week"] {
154
- -webkit-box-sizing: border-box;
155
- -moz-box-sizing: border-box;
156
- -ms-box-sizing: border-box;
157
- box-sizing: border-box;
158
- -webkit-background-clip: padding;
159
- -moz-background-clip: padding;
160
- -ms-background-clip: padding-box;
161
- -o-background-clip: padding-box;
162
- background-clip: padding-box;
163
- -webkit-border-radius: 0;
164
- -moz-border-radius: 0;
165
- -ms-border-radius: 0;
166
- -o-border-radius: 0;
167
- border-radius: 0;
168
- -webkit-appearance: none;
169
- background-color: white;
170
- border: 1px solid;
171
- border-color: #848484 #c1c1c1 #e1e1e1;
172
- color: black;
173
- outline: 0;
174
- margin: 0;
175
- padding: 2px 3px;
176
- text-align: left;
177
- font-size: 13px;
178
- font-family: Arial, "Liberation Sans", FreeSans, sans-serif;
179
- height: 1.8em;
180
- vertical-align: top;
181
- *padding-top: 2px;
182
- *padding-bottom: 1px;
183
- *height: auto;
184
- }
185
- textarea[disabled],
186
- select[disabled],
187
- input[type="date"][disabled],
188
- input[type="datetime"][disabled],
189
- input[type="datetime-local"][disabled],
190
- input[type="email"][disabled],
191
- input[type="month"][disabled],
192
- input[type="number"][disabled],
193
- input[type="password"][disabled],
194
- input[type="search"][disabled],
195
- input[type="tel"][disabled],
196
- input[type="text"][disabled],
197
- input[type="time"][disabled],
198
- input[type="url"][disabled],
199
- input[type="week"][disabled] {
200
- background-color: #eeeeee;
201
- }
202
- a.button[disabled],
203
- button[disabled],
204
- input[disabled],
205
- select[disabled],
206
- select[disabled] option,
207
- select[disabled] optgroup,
208
- textarea[disabled] {
209
- -webkit-box-shadow: none;
210
- -moz-box-shadow: none;
211
- -o-box-shadow: none;
212
- box-shadow: none;
213
- -moz-user-select: -moz-none;
214
- -webkit-user-select: none;
215
- -khtml-user-select: none;
216
- user-select: none;
217
- color: #888888;
218
- cursor: default;
219
- }
220
-
221
- input::-webkit-input-placeholder,
222
- textarea::-webkit-input-placeholder {
223
- color: #888888;
224
- }
225
-
226
- input:-moz-placeholder,
227
- textarea:-moz-placeholder {
228
- color: #888888;
229
- }
230
-
231
- input.placeholder_text,
232
- textarea.placeholder_text {
233
- color: #888888;
234
- }
235
-
236
- textarea,
237
- select[size],
238
- select[multiple] {
239
- height: auto;
240
- }
241
-
242
- select[size="0"],
243
- select[size="1"] {
244
- height: 1.8em;
245
- *height: auto;
246
- }
247
-
248
- @media (-webkit-min-device-pixel-ratio: 0) {
249
- select[size],
250
- select[multiple],
251
- select[multiple][size] {
252
- background-image: none;
253
- padding-right: 3px;
254
- }
255
-
256
- select,
257
- select[size="0"],
258
- select[size="1"] {
259
- background-image: url(<%= asset_path("jquery.formalize/select_arrow.gif") %>);
260
- background-repeat: no-repeat;
261
- background-position: right center;
262
- padding-right: 20px;
263
- }
264
-
265
- ::-webkit-validation-bubble-message {
266
- -webkit-box-shadow: none;
267
- box-shadow: none;
268
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #666666), color-stop(1, black));
269
- border: 1px solid;
270
- border-color: #747474 #5e5e5e #4f4f4f;
271
- color: white;
272
- font: 13px/17px "Lucida Grande", Arial, "Liberation Sans", FreeSans, sans-serif;
273
- overflow: hidden;
274
- padding: 15px 15px 17px;
275
- text-shadow: black 0 0 1px;
276
- height: 16px;
277
- }
278
-
279
- ::-webkit-validation-bubble-arrow,
280
- ::-webkit-validation-bubble-top-outer-arrow,
281
- ::-webkit-validation-bubble-top-inner-arrow {
282
- -webkit-box-shadow: none;
283
- box-shadow: none;
284
- background: #666666;
285
- border: 0;
286
- }
287
- }
288
- textarea {
289
- min-height: 40px;
290
- overflow: auto;
291
- resize: vertical;
292
- width: 100%;
293
- }
294
-
295
- optgroup {
296
- color: black;
297
- font-style: normal;
298
- font-weight: normal;
299
- font-family: Arial, "Liberation Sans", FreeSans, sans-serif;
300
- }
301
-
302
- input:invalid,
303
- button:invalid,
304
- select:invalid,
305
- textarea:invalid {
306
- -webkit-box-shadow: none;
307
- -moz-box-shadow: none;
308
- -o-box-shadow: none;
309
- box-shadow: none;
310
- }
311
- input::-moz-focus-inner,
312
- button::-moz-focus-inner,
313
- a.button::-moz-focus-inner,
314
- select::-moz-focus-inner,
315
- textarea::-moz-focus-inner {
316
- border: 0;
317
- padding: 0;
318
- }
319
-
320
- .ie6_button,
321
- * html button {
322
- background: #dddddd url(<%= asset_path("jquery.formalize/button.png") %>) repeat-x;
323
- border: 1px solid;
324
- border-color: #dddddd #bbbbbb #999999;
325
- cursor: pointer;
326
- color: #333333;
327
- font: bold 12px/1.2 Arial, sans-serif;
328
- padding: 2px 10px 0px;
329
- overflow: visible;
330
- width: auto;
331
- }
332
-
333
- * html button {
334
- padding-top: 1px;
335
- padding-bottom: 1px;
336
- }
337
-
338
- .ie6_input,
339
- * html textarea,
340
- * html select {
341
- background: white;
342
- border: 1px solid;
343
- border-color: #848484 #c1c1c1 #e1e1e1;
344
- color: black;
345
- padding: 2px 3px 1px;
346
- font-size: 13px;
347
- font-family: Arial, sans-serif;
348
- vertical-align: top;
349
- }
350
-
351
- * html select {
352
- margin-top: 1px;
353
- }
354
-
355
- .placeholder_text,
356
- .ie6_input_disabled,
357
- .ie6_button_disabled {
358
- color: #888888;
359
- }
360
-
361
- .ie6_input_disabled {
362
- background: #eeeeee;
363
- }