diff options
| author | Thibault Delavallée <tde@openerp.com> | 2013-11-08 16:50:54 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2013-11-08 16:50:54 +0100 |
| commit | c5aea42e126c6bed7b4a973dd3d41712fdac8622 (patch) | |
| tree | 40c6f1a3e15b5b20c2e584062416e06194cf6eec /addons/website_payment/static/src/css | |
| parent | 825c6ec7c32bb668866cf5df2412c581beba7b79 (diff) | |
[IMP] website_payment: wip work to add credit card front-end management + jquery.payment library use
bzr revid: tde@openerp.com-20131108155054-t4wsnvfu5eb0o3hf
Diffstat (limited to 'addons/website_payment/static/src/css')
| -rw-r--r-- | addons/website_payment/static/src/css/Makefile | 2 | ||||
| -rw-r--r-- | addons/website_payment/static/src/css/website_payment.css | 24 | ||||
| -rw-r--r-- | addons/website_payment/static/src/css/website_payment.sass | 29 |
3 files changed, 55 insertions, 0 deletions
diff --git a/addons/website_payment/static/src/css/Makefile b/addons/website_payment/static/src/css/Makefile new file mode 100644 index 00000000000..7f7f16d3616 --- /dev/null +++ b/addons/website_payment/static/src/css/Makefile @@ -0,0 +1,2 @@ +sass: + sass --trace -t expanded website_payment.sass:website_payment.css diff --git a/addons/website_payment/static/src/css/website_payment.css b/addons/website_payment/static/src/css/website_payment.css new file mode 100644 index 00000000000..e61696fcd30 --- /dev/null +++ b/addons/website_payment/static/src/css/website_payment.css @@ -0,0 +1,24 @@ +@charset "UTF-8"; + +input#cc_number { + background-image: url('/website_payment/static/src/img/grey-dots.png'); + background-repeat: no-repeat; + background-position: 14px 14px; +} + +div.card_placeholder { + background-image: url('/website_payment/static/src/img/placeholder.png'); + background-repeat: no-repeat; + width: 32px; + height: 20px; +} + +/*div.visa { + background-image: url('/website_payment/static/src/img/placeholder.png'); + background-repeat: no-repeat; + background-position: 14px 14px; +}*/ + +input#cc_number:active, input#cc_number:focus { + background-image: none; +} diff --git a/addons/website_payment/static/src/css/website_payment.sass b/addons/website_payment/static/src/css/website_payment.sass new file mode 100644 index 00000000000..d467df2de47 --- /dev/null +++ b/addons/website_payment/static/src/css/website_payment.sass @@ -0,0 +1,29 @@ +@charset "utf-8" + +@import "compass/css3" + +.css_website_mail + .has-error + border-color: red + .css_nav_month + display: none + &:first-of-type + display: block + +.blog_content + a.oe_mail_expand:after + content: " →" + a.oe_mail_expand + font-weight: bold + +p.post-meta + position: relative + top: -5px + +.js_website_blog + div#right_column + section + +opacity(0.6) + section:hover + +opacity(1) + @include transition(all 0.2s ease-out) |
