diff options
| author | Xavier Morel <xmo@openerp.com> | 2013-09-06 12:16:58 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2013-09-06 12:16:58 +0200 |
| commit | 76409db72424734484acde5057cfa92d78ba899f (patch) | |
| tree | ddbbe0e5dc2ab1792e8f273e9b34b426647f84df /addons/website/static/src/css | |
| parent | f4c27f63324bdb61911ba02e25e21fd144ff0ac3 (diff) | |
[FIX] bootstrap makes buttons unselectable, which breaks RTE. Revert behavior when button in section being edited
bzr revid: xmo@openerp.com-20130906101658-m35uqghtvi3kd7bc
Diffstat (limited to 'addons/website/static/src/css')
| -rw-r--r-- | addons/website/static/src/css/editor.css | 9 | ||||
| -rw-r--r-- | addons/website/static/src/css/editor.sass | 11 |
2 files changed, 20 insertions, 0 deletions
diff --git a/addons/website/static/src/css/editor.css b/addons/website/static/src/css/editor.css index 5c798b36d57..df098f28353 100644 --- a/addons/website/static/src/css/editor.css +++ b/addons/website/static/src/css/editor.css @@ -90,6 +90,15 @@ table.editorbar-panel td.selected { background-color: #b1c9d9; } +/* ---- RTE ---- */ +.oe_editable .btn { + -webkit-user-select: auto; + -moz-user-select: auto; + -ms-user-select: auto; + -o-user-select: auto; + user-select: auto; +} + /* ---- 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 4897ff0c004..2da2b4bbeeb 100644 --- a/addons/website/static/src/css/editor.sass +++ b/addons/website/static/src/css/editor.sass @@ -80,6 +80,17 @@ table.editorbar-panel td.selected background-color: #b1c9d9 +/* ---- RTE ---- */ + +// bootstrap makes .btn elements unselectable -> RTE double-click can't know +// about them either +.oe_editable .btn + -webkit-user-select: auto + -moz-user-select: auto + -ms-user-select: auto + -o-user-select: auto + user-select: auto + /* ---- SNIPPET EDITOR ---- */ .oe_snippets |
