[FIX] bootstrap makes buttons unselectable, which breaks RTE. Revert behavior when button in section being edited

bzr revid: xmo@openerp.com-20130906101658-m35uqghtvi3kd7bc
This commit is contained in:
Xavier Morel
2013-09-06 12:16:58 +02:00
parent f4c27f6332
commit 76409db724
2 changed files with 20 additions and 0 deletions
+9
View File
@@ -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;
+11
View File
@@ -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