diff options
| author | Christophe Matthieu <chm@odoo.com> | 2014-07-11 11:09:24 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2014-07-11 11:09:24 +0200 |
| commit | 1eee1d2c5100c71bfbd84b5866385e3e9d4942c3 (patch) | |
| tree | 3313c9a26530bc40c71305c24fa775d9d69b7f86 /addons/website/static/src/css | |
| parent | 67e15d8d865187aa54a0fdcae100f25044308f91 (diff) | |
[IMP] website: replace the select box into dropdown for link editor to have a preview
Diffstat (limited to 'addons/website/static/src/css')
| -rw-r--r-- | addons/website/static/src/css/editor.css | 17 | ||||
| -rw-r--r-- | addons/website/static/src/css/editor.sass | 13 |
2 files changed, 30 insertions, 0 deletions
diff --git a/addons/website/static/src/css/editor.css b/addons/website/static/src/css/editor.css index d38f26fd332..f789c7499f2 100644 --- a/addons/website/static/src/css/editor.css +++ b/addons/website/static/src/css/editor.css @@ -165,6 +165,23 @@ table.editorbar-panel td.selected { background-color: #b1c9d9; } +.link-style .dropdown > .btn { + min-width: 160px; +} +.link-style .link-style { + display: none; +} +.link-style li { + text-align: center; +} +.link-style li label { + width: 100px; + margin: 0 5px; +} +.link-style .col-sm-2 > * { + line-height: 2em; +} + /* ---- TRANSLATIONS ---- {{{ */ .oe_translate_or { color: white; diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass index b40907bc66c..2922c944d86 100644 --- a/addons/website/static/src/css/editor.sass +++ b/addons/website/static/src/css/editor.sass @@ -134,6 +134,19 @@ table.editorbar-panel td.selected background-color: #b1c9d9 +.link-style + .dropdown > .btn + min-width: 160px + .link-style + display: none + li + text-align: center + label + width: 100px + margin: 0 5px + .col-sm-2 > * + line-height: 2em + // }}} /* ---- TRANSLATIONS ---- {{{ */ |
