diff options
| author | Frédéric van der Essen <fva@openerp.com> | 2013-08-23 18:04:11 +0200 |
|---|---|---|
| committer | Frédéric van der Essen <fva@openerp.com> | 2013-08-23 18:04:11 +0200 |
| commit | 306138327ff4e54f1c403559378cfbde3014d0ae (patch) | |
| tree | 3f006fff46763f8aee2660d8d822783cad038e49 /addons/website/static/src/css/editor.sass | |
| parent | 8b23e7324135cd611699ffb170de4aa3125ac746 (diff) | |
[IMP] website: snippet resizing
bzr revid: fva@openerp.com-20130823160411-xoxek62wwhi5w3by
Diffstat (limited to 'addons/website/static/src/css/editor.sass')
| -rw-r--r-- | addons/website/static/src/css/editor.sass | 47 |
1 files changed, 46 insertions, 1 deletions
diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass index 45078e12b0b..dade66519a8 100644 --- a/addons/website/static/src/css/editor.sass +++ b/addons/website/static/src/css/editor.sass @@ -129,7 +129,7 @@ &.oe_hover:before border-top: dashed 2px rgba(116, 255, 161, 0.72) -.oe_drop_zone.oe_mutate +.oe_drop_zone.oe_overlay position: absolute background: rgba(153, 0, 255, 0.17) border-radius: 3px @@ -141,6 +141,51 @@ background: rgba(0, 255, 133, 0.22) z-index: 99 +/* ---- SNIPPET MANIPULATOR ---- */ + +.oe_snippet_manipulator + display: block + position: absolute + background: rgba(153, 0, 255, 0.1) + border-radius: 3px + border: solid 1px rgba(153, 0, 255, 0.5) + opacity: 0 + transition: opacity 100ms linear + & > .oe_handle + display: none + &:hover,&.oe_hover + opacity: 1 + & > .oe_handle + display: block + +.oe_handle + position: absolute + top: 50% + left: 50% + display: block + background: rgba(255, 255, 255, 1) + border: solid 1px rgba(153, 0, 255, 0.5) + box-sizing: border-box + border-radius: 2px + width: 16px + height: 16px + margin: -8px + cursor: move + -webkit-transition: background 100ms linear + &:hover + background: rgb(153, 0, 255) + +.oe_handle.nw,.oe_handle.n,.oe_handle.ne + top: 0px +.oe_handle.ne,.oe_handle.e,.oe_handle.se + left: auto + right: 0px +.oe_handle.sw,.oe_handle.s,.oe_handle.se + top: auto + bottom: 0px +.oe_handle.nw,.oe_handle.w,.oe_handle.sw + left: 0px + /* ---- MOBILE PREVIEW ---- */ .oe_stop_scrolling |
