diff options
| author | chm@openerp.com <> | 2014-03-18 14:04:14 +0100 |
|---|---|---|
| committer | chm@openerp.com <> | 2014-03-18 14:04:14 +0100 |
| commit | 1395c9ee0e14ce2c35dbf6258678d3b032d52c73 (patch) | |
| tree | b773deb021e4063bd6016d97c518d24fec84993e /addons/website/static/src/css | |
| parent | 8f8ca3bd843a02bf44fe04e96365818a0b4468c8 (diff) | |
[IMP] website: snippet editor: change size automatic button into a cross between resize handler
bzr revid: chm@openerp.com-20140318130414-yb29wtm7oo4bammz
Diffstat (limited to 'addons/website/static/src/css')
| -rw-r--r-- | addons/website/static/src/css/snippets.css | 16 | ||||
| -rw-r--r-- | addons/website/static/src/css/snippets.sass | 14 |
2 files changed, 22 insertions, 8 deletions
diff --git a/addons/website/static/src/css/snippets.css b/addons/website/static/src/css/snippets.css index 4121b70ef2e..726855f311b 100644 --- a/addons/website/static/src/css/snippets.css +++ b/addons/website/static/src/css/snippets.css @@ -328,14 +328,10 @@ } .oe_overlay .oe_handle.size .oe_handle_button { z-index: 3; - content: "Resize"; - width: 64px; text-align: center; margin-left: -32px; margin-top: -10px; - cursor: row-resize; left: 0px; - top: 9px; } .oe_overlay .oe_handle.size .oe_handle_button:hover { background: rgba(30, 30, 30, 0.8); @@ -344,6 +340,18 @@ -moz-box-shadow: 0 0 5px 3px rgba(255, 255, 255, 0.7); box-shadow: 0 0 5px 3px rgba(255, 255, 255, 0.7); } +.oe_overlay .oe_handle.size .size { + width: 64px; + cursor: row-resize; + top: 9px; +} +.oe_overlay .oe_handle.size .auto_size { + width: 20px; + padding: 0 5px; + top: 1px; + margin-left: 36px; + cursor: pointer; +} .oe_overlay .oe_handle.readonly { cursor: auto !important; } diff --git a/addons/website/static/src/css/snippets.sass b/addons/website/static/src/css/snippets.sass index d7442a5b0f7..9b12e9df246 100644 --- a/addons/website/static/src/css/snippets.sass +++ b/addons/website/static/src/css/snippets.sass @@ -240,18 +240,24 @@ bottom: -6px .oe_handle_button z-index: 3 - content: "Resize" - width: 64px text-align: center margin-left: -32px margin-top: -10px - cursor: row-resize left: 0px - top: 9px &:hover background: rgba(30, 30, 30, .8) color: #fff +box-shadow(0 0 5px 3px rgba(255,255,255,.7)) + .size + width: 64px + cursor: row-resize + top: 9px + .auto_size + width: 20px + padding: 0 5px + top: 1px + margin-left: 36px + cursor: pointer &.readonly cursor: auto !important &:before, &.size |
