summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css/editor.sass
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@openerp.com>2013-09-10 12:01:59 +0200
committerChristophe Matthieu <chm@openerp.com>2013-09-10 12:01:59 +0200
commit5a16088b0b0477e619b97f203f7af4ec21543418 (patch)
treeec7901da28006d85b292bb13a108770138e24a23 /addons/website/static/src/css/editor.sass
parent819eb62490ca4db08d7e787e7de4bfd8f8c7b2f6 (diff)
parentbf09524def70b72059d5b7bfc1247a52a70ca9e1 (diff)
[MERGE] from website-al
bzr revid: chm@openerp.com-20130910100159-xs0d8zngz4ybl0y9
Diffstat (limited to 'addons/website/static/src/css/editor.sass')
-rw-r--r--addons/website/static/src/css/editor.sass24
1 files changed, 21 insertions, 3 deletions
diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass
index ea6bfeeab34..289ab1e6e54 100644
--- a/addons/website/static/src/css/editor.sass
+++ b/addons/website/static/src/css/editor.sass
@@ -21,11 +21,10 @@
position: fixed
top: 0
right: 0
- z-index: 10
display: block
width: 100%
padding: 2px
- margin: 0px
+ margin: 0
z-index: 10000
background-color: #414141
background: -webkit-linear-gradient(#646060, #262626)
@@ -73,6 +72,25 @@
position: relative !important
top: +2px
+/* ---- EDITOR BAR ---- */
+
+table.editorbar-panel
+ cursor: pointer
+ width: 100%
+ 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
@@ -308,4 +326,4 @@ $remove_color: $icon_close
.oe_remove
color: $remove_color
.oe_seo_suggestion
- cursor: pointer \ No newline at end of file
+ cursor: pointer