diff options
| author | Antony Lesuisse <al@openerp.com> | 2013-07-02 17:13:57 +0200 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2013-07-02 17:13:57 +0200 |
| commit | ccab75ba98f38aaf4d2acaf5b6500d22bb924fcd (patch) | |
| tree | 81c5adb016e8ca98f46b1c8bb76da07a46cd87bc /addons/website/static/src | |
| parent | 8bb5042e4f529c7181b90c90ad624c614e005ac3 (diff) | |
fix css
bzr revid: al@openerp.com-20130702151357-jl07iivl285tpf10
Diffstat (limited to 'addons/website/static/src')
| -rw-r--r-- | addons/website/static/src/css/website.css | 72 | ||||
| -rw-r--r-- | addons/website/static/src/css/website.sass | 64 | ||||
| -rw-r--r-- | addons/website/static/src/js/website_bootstrap.js | 1 |
3 files changed, 137 insertions, 0 deletions
diff --git a/addons/website/static/src/css/website.css b/addons/website/static/src/css/website.css index fa61e0adaa2..f670ecf9178 100644 --- a/addons/website/static/src/css/website.css +++ b/addons/website/static/src/css/website.css @@ -1,4 +1,74 @@ @charset "utf-8"; +.oe_website { + background: #e9e9e9; + color: #646464; +} + +.oe_website_header { + background: white; + color: #333333; + padding-top: 8px; +} + +/* Body {{{ */ +.oe_website_body { + background: white; + color: #333333; + padding-bottom: 32px; + padding-top: 32px; +} + +/* }}} */ +/* Footer {{{ */ +.oe_website_footer { + border-top: solid 1px #e0e0e0; + padding-bottom: 32px; + padding-top: 32px; +} + +.oe_website_footer h5 { + border-bottom: solid 1px rgba(0, 0, 0, 0.06); + margin-right: 24px; + padding-bottom: 6px; + margin-bottom: 6px; + margin-top: 24px; +} + +.oe_website_footer ul { + list-style: none; + padding: 0; + margin: 0; +} + +.oe_website_footer ul li { + display: block; + margin-bottom: 4px; + font-size: 14px; + margin-right: 32px; +} + +.oe_website_footer ul li a { + color: inherit; + text-decoration: inherit; +} + +.oe_website_footer ul li a:visited { + color: inherit; + text-decoration: inherit; +} + +.oe_website_footer ul li a:hover { + color: black; + text-decoration: inherit; +} + +.oe_website_copy { + margin-top: 24px; + margin-bottom: 6px; +} + +/* }}} */ +/* Editor {{{ */ .oe_website_editorbar { position: fixed; top: 0; @@ -14,3 +84,5 @@ .oe_website_editorbar li { display: inline; } + +/* }}} */ diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass index 87a8973f901..1a7d28b3f77 100644 --- a/addons/website/static/src/css/website.sass +++ b/addons/website/static/src/css/website.sass @@ -1,5 +1,66 @@ @charset "utf-8" +// vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker:fdl=0 + +.oe_website + background: #e9e9e9 + color: #646464 + +.oe_website_header + background: #fff + color: #333 + padding-top: 8px + +/* Body {{{ */ +.oe_website_body + background: #fff + color: #333 + padding-bottom: 32px + padding-top: 32px +/* }}} */ + +/* Footer {{{ */ +.oe_website_footer + border-top: solid 1px #e0e0e0 + padding-bottom: 32px + padding-top: 32px + +.oe_website_footer h5 + border-bottom: solid 1px rgba(0, 0, 0, 0.06) + margin-right: 24px + padding-bottom: 6px + margin-bottom: 6px + margin-top: 24px + +.oe_website_footer ul + list-style: none + padding: 0 + margin: 0 + +.oe_website_footer ul li + display: block + margin-bottom: 4px + font-size: 14px + margin-right: 32px + +.oe_website_footer ul li a + color: inherit + text-decoration: inherit + +.oe_website_footer ul li a:visited + color: inherit + text-decoration: inherit + +.oe_website_footer ul li a:hover + color: black + text-decoration: inherit + +.oe_website_copy + margin-top: 24px + margin-bottom: 6px +/* }}} */ + +/* Editor {{{ */ .oe_website_editorbar position: fixed top: 0 @@ -14,4 +75,7 @@ li display: inline +/* }}} */ + + diff --git a/addons/website/static/src/js/website_bootstrap.js b/addons/website/static/src/js/website_bootstrap.js index e70183fe767..308c411d556 100644 --- a/addons/website/static/src/js/website_bootstrap.js +++ b/addons/website/static/src/js/website_bootstrap.js @@ -3,6 +3,7 @@ Aloha.ready(function() { // TODO: Webclient research : use iframe embedding mode // Meanwhile, let's HACK !!! var $web = $('<div style="display: none;"/>').appendTo('body'); + var $web = $('<div style="display: none;"/>').appendTo($web); var s = new openerp.init(['web', 'website']); s.web.WebClient.bind_hashchange = s.web.blockUI = s.web.unblockUI = function() {}; s.web.WebClient.include({ do_push_state: function() {} }); |
