diff options
| author | Christophe Matthieu <chm@openerp.com> | 2013-09-17 15:31:44 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@openerp.com> | 2013-09-17 15:31:44 +0200 |
| commit | 7b190b1a56c268deea33a10d47573ec02b3828ac (patch) | |
| tree | 5d9e04aae68dad1cc0a4ddedf07b6adacb7d2d51 /addons/website/static/src/css/editor.sass | |
| parent | 3826e87296c04ba14537b5b416739cbd8a821162 (diff) | |
[IMP] website snippet: preview
bzr revid: chm@openerp.com-20130917133144-jbgre8v0g29kzrdy
Diffstat (limited to 'addons/website/static/src/css/editor.sass')
| -rw-r--r-- | addons/website/static/src/css/editor.sass | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass index 3c8511450ed..82bcb8ffd47 100644 --- a/addons/website/static/src/css/editor.sass +++ b/addons/website/static/src/css/editor.sass @@ -140,41 +140,36 @@ table.editorbar-panel .oe_snippet display: inline-block vertical-align: top - background: white width: 120px height: 120px border-radius: 3px margin: 10px margin-right: 0px position: relative - box-shadow: 0px 3px 10px rgba(0,0,0,0.2) overflow: hidden -webkit-user-select: none user-select: none cursor: move + pointer-events: none .oe_snippet_thumbnail.oe_label + pointer-events: auto text-align: center - background: rgb(116, 116, 116) - background-image: radial-gradient(rgba(0,0,0,0.25),rgba(0,0,0,0.4)) height: 100% line-height: 120px + background: transparent color: white text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.95) - box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.07) inset - - .oe_snippet_body - display: none - & > * - pointer-events: none - & > :not(.oe_snippet_body):not(.oe_snippet_thumbnail) + position: relative + span, div + line-height: 18px + & > :not(.oe_snippet_thumbnail) display: none !important - & > *:first-child:not(.oe_snippet_thumbnail) - display: block - -webkit-transform-origin-x: 5px - -webkit-transform-origin-y: 10px - -webkit-transform: scale(0.095) +#oe_snippets .oe_snippet_thumbnail.oe_label + background: rgb(116, 116, 116) + background-image: radial-gradient(rgba(0,0,0,0.25),rgba(0,0,0,0.4)) + box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.07) inset /* ---- SNIPPETS DROP ZONES ---- */ |
