diff options
| author | Christophe Matthieu <chm@openerp.com> | 2013-09-27 14:41:16 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@openerp.com> | 2013-09-27 14:41:16 +0200 |
| commit | 60e2a03700a073b50bd31102b6b562d56f0cc5dc (patch) | |
| tree | 63f510b7483a0caafb432d15b50fc4f03aef9b22 /addons/website/static/src/css | |
| parent | 03348a0a9fb18db051afbba2cb7ad89546a9120d (diff) | |
[IMP] website snippet: background option for paralax and fix banner
bzr revid: chm@openerp.com-20130927124116-o2244s5ufu18pvcx
Diffstat (limited to 'addons/website/static/src/css')
| -rw-r--r-- | addons/website/static/src/css/editor.css | 5 | ||||
| -rw-r--r-- | addons/website/static/src/css/editor.sass | 3 | ||||
| -rw-r--r-- | addons/website/static/src/css/website.css | 14 | ||||
| -rw-r--r-- | addons/website/static/src/css/website.sass | 12 |
4 files changed, 27 insertions, 7 deletions
diff --git a/addons/website/static/src/css/editor.css b/addons/website/static/src/css/editor.css index 1fde0c25f3d..5a739cecb25 100644 --- a/addons/website/static/src/css/editor.css +++ b/addons/website/static/src/css/editor.css @@ -1,4 +1,4 @@ -@charset "UTF-8"; +@charset "utf-8"; /* ---- CKEditor Minimal Reset ---- */ .navbar.navbar-inverse .cke_chrome { border: none; @@ -268,7 +268,8 @@ table.editorbar-panel td.selected { display: block; height: 48px; margin: 0px; - margin-bottom: -48px; + margin-top: -4px; + margin-bottom: -44px; -webkit-transition: margin 250ms linear; width: 100%; position: absolute; diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass index 891630b63a4..bf8e7c1686c 100644 --- a/addons/website/static/src/css/editor.sass +++ b/addons/website/static/src/css/editor.sass @@ -232,7 +232,8 @@ table.editorbar-panel display: block height: 48px margin: 0px - margin-bottom: -48px + margin-top: -4px + margin-bottom: -44px -webkit-transition: margin 250ms linear width: 100% position: absolute diff --git a/addons/website/static/src/css/website.css b/addons/website/static/src/css/website.css index d5342cfdd74..b1c41225370 100644 --- a/addons/website/static/src/css/website.css +++ b/addons/website/static/src/css/website.css @@ -339,10 +339,16 @@ footer { /* Parallax Theme */ .parallax_full { - background: #eeeeee url(/website/static/src/img/parallax/parallax_bg.jpg) bottom center repeat fixed; + background: #eeeeee top left repeat; min-height: 650px; width: 100%; - z-index: -999; + overflow: hidden; + position: relative; +} +.parallax_full > img { + position: absolute; + top: 0; + left: 0; } /* -- Hack for removing double scrollbar from mobile preview -- */ @@ -388,3 +394,7 @@ ul.nav-stacked > li > a { top: -10px; display: none; } + +::selection { + background: rgba(150, 150, 220, 0.3); +} diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass index 25f45e3f7c4..d80d766bfbd 100644 --- a/addons/website/static/src/css/website.sass +++ b/addons/website/static/src/css/website.sass @@ -258,10 +258,15 @@ footer /* Parallax Theme */ .parallax_full - background: #eee url(/website/static/src/img/parallax/parallax_bg.jpg) bottom center repeat fixed + background: #eee top left repeat min-height: 650px width: 100% - z-index: -999 + overflow: hidden + position: relative + > img + position: absolute + top: 0 + left: 0 /* -- Hack for removing double scrollbar from mobile preview -- */ div#mobile-preview.modal @@ -296,3 +301,6 @@ ul.nav-stacked > li > a display: none /*&:hover .js_publish*/ /* display: block*/ + +::selection + background: rgba(150, 150, 220, 0.3)
\ No newline at end of file |
