diff options
| author | Xavier Morel <xmo@openerp.com> | 2013-09-13 17:14:35 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2013-09-13 17:14:35 +0200 |
| commit | 5dc21fd044637b2fec3e212380fc6ffdfe84d436 (patch) | |
| tree | 3c2add5fad5ecefca821aae60ebd4d49d2ecdda0 /addons/website/static/src/css | |
| parent | ba99ab56c842542fdcf86daa05c3c2e13aaf3d2f (diff) | |
| parent | 243a9c559b7c603ee1cffb9a186401771e35c871 (diff) | |
[ADD] stacked image dialogs for selecting existing attachments
bzr revid: xmo@openerp.com-20130913151435-k4y9ozhyortdicsp
Diffstat (limited to 'addons/website/static/src/css')
| -rw-r--r-- | addons/website/static/src/css/editor.css | 21 | ||||
| -rw-r--r-- | addons/website/static/src/css/editor.sass | 21 |
2 files changed, 41 insertions, 1 deletions
diff --git a/addons/website/static/src/css/editor.css b/addons/website/static/src/css/editor.css index 9da978caa01..494931d9af0 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; @@ -100,6 +100,25 @@ table.editorbar-panel td.selected { user-select: auto; } +.modal .existing-attachments a.thumbnail { + position: relative; +} +.modal .existing-attachments a.thumbnail.selected:before { + text-decoration: none; + font-size: 150%; + background-color: rgba(0, 0, 0, 0.3); + color: #21dc0f; + content: "✔"; + height: 2em; + width: 2em; + text-align: center; + padding: 5px; + border-radius: 4px 0; + position: absolute; + top: 0; + left: 0; +} + /* ---- SNIPPET EDITOR ---- */ #oe_snippets { position: fixed; diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass index 81e82361d13..9b6bf982116 100644 --- a/addons/website/static/src/css/editor.sass +++ b/addons/website/static/src/css/editor.sass @@ -91,6 +91,27 @@ table.editorbar-panel -o-user-select: auto user-select: auto +.modal .existing-attachments a.thumbnail + position: relative + + &.selected:before + text-decoration: none + font-size: 150% + background-color: rgba(0, 0, 0, 0.3) + color: #21dc0f + content: "✔" + + height: 2em + width: 2em + text-align: center + padding: 5px + border-radius: 4px 0 + + position: absolute + top: 0 + left: 0 + + /* ---- SNIPPET EDITOR ---- */ #oe_snippets |
