diff options
| author | Frédéric van der Essen <fva@openerp.com> | 2013-08-23 10:38:43 +0200 |
|---|---|---|
| committer | Frédéric van der Essen <fva@openerp.com> | 2013-08-23 10:38:43 +0200 |
| commit | 84c0d68140d8df769c66b917b1c60e4ef8ab4e48 (patch) | |
| tree | 23009ee32a18e57027eab1bd1215948986e72ac2 /addons/website/static/src/css | |
| parent | fe45f507a2b0a2a1cff0a21a7d803ad4209e89c5 (diff) | |
| parent | 678bb7c4a0e7d68d37921ab0240279894f90961c (diff) | |
[MERGE] website: mutation snippets
bzr revid: fva@openerp.com-20130823083843-bky4qugrnb8jnidm
Diffstat (limited to 'addons/website/static/src/css')
| -rw-r--r-- | addons/website/static/src/css/editor.css | 13 | ||||
| -rw-r--r-- | addons/website/static/src/css/editor.sass | 11 | ||||
| -rw-r--r-- | addons/website/static/src/css/website.css | 7 | ||||
| -rw-r--r-- | addons/website/static/src/css/website.sass | 5 |
4 files changed, 30 insertions, 6 deletions
diff --git a/addons/website/static/src/css/editor.css b/addons/website/static/src/css/editor.css index e8e69a3a9ca..cd9ecc8f8a0 100644 --- a/addons/website/static/src/css/editor.css +++ b/addons/website/static/src/css/editor.css @@ -1,4 +1,3 @@ -@charset "utf-8"; .oe_hidden { display: none !important; } @@ -80,7 +79,6 @@ border-radius: 3px; margin: 10px; margin-right: 0px; - cursor: move; position: relative; box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2); overflow: hidden; @@ -146,6 +144,16 @@ border-top: dashed 2px rgba(116, 255, 161, 0.72); } +.oe_hover_zone { + position: absolute; + background: rgba(153, 0, 255, 0.17); + border-radius: 3px; +} +.oe_hover_zone.oe_hover { + background: rgba(0, 255, 133, 0.22); + z-index: 100000; +} + .oe_stop_scrolling { height: 100%; overflow: hidden; @@ -157,7 +165,6 @@ border: 2px solid; border-radius: 10px; margin: auto; - position: absolute; top: 0; left: 0; bottom: 0; diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass index f324cabc348..3c54a0d0aaf 100644 --- a/addons/website/static/src/css/editor.sass +++ b/addons/website/static/src/css/editor.sass @@ -71,7 +71,6 @@ border-radius: 3px margin: 10px margin-right: 0px - cursor: move position: relative box-shadow: 0px 3px 10px rgba(0,0,0,0.2) overflow: hidden @@ -128,6 +127,15 @@ &.oe_hover:before border-top: dashed 2px rgba(116, 255, 161, 0.72) +.oe_hover_zone + position: absolute + background: rgba(153, 0, 255, 0.17) + border-radius: 3px + + &.oe_hover + background: rgba(0, 255, 133, 0.22) + z-index: 100000 + .oe_stop_scrolling height: 100% overflow: hidden @@ -138,7 +146,6 @@ border: 2px solid border-radius: 10px margin: auto - position: absolute top: 0 left: 0 bottom: 0 diff --git a/addons/website/static/src/css/website.css b/addons/website/static/src/css/website.css index eea25bea19d..2ba763f402e 100644 --- a/addons/website/static/src/css/website.css +++ b/addons/website/static/src/css/website.css @@ -1,4 +1,3 @@ -@charset "utf-8"; /* THIS CSS FILE IS FOR WEBSITE THEMING CUSTOMIZATION ONLY * * css for editor buttons, openerp widget included in the website and other @@ -159,3 +158,9 @@ header.navbar-fixed-top { min-height: 300px; color: white; } + +.dark { + background: #eff8f8; + padding-top: 32px; + padding-bottom: 32px; +} diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass index 13037deb2d7..0440a71624f 100644 --- a/addons/website/static/src/css/website.sass +++ b/addons/website/static/src/css/website.sass @@ -119,4 +119,9 @@ header.navbar-fixed-top min-height: 300px color: white +.dark + background: rgb(239, 248, 248) + padding-top: 32px + padding-bottom: 32px + |
