summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css
diff options
context:
space:
mode:
authorchm@openerp.com <>2014-03-28 15:16:19 +0100
committerchm@openerp.com <>2014-03-28 15:16:19 +0100
commit31269ba52fafb2238b027b3c42e81acbaacfd9d4 (patch)
tree4a629327799abd288059ceabb355156352f339ee /addons/website/static/src/css
parentb0625b1191eaf24a191b8937327809bc0ca0e7d4 (diff)
[IMP] website: media editor doubleclick for video and begin to use snippet builder
bzr revid: chm@openerp.com-20140328141619-x9okgixai2v5dekr
Diffstat (limited to 'addons/website/static/src/css')
-rw-r--r--addons/website/static/src/css/editor.css4
-rw-r--r--addons/website/static/src/css/editor.sass3
-rw-r--r--addons/website/static/src/css/website.css6
-rw-r--r--addons/website/static/src/css/website.sass7
4 files changed, 19 insertions, 1 deletions
diff --git a/addons/website/static/src/css/editor.css b/addons/website/static/src/css/editor.css
index 208cde08b45..36de51db096 100644
--- a/addons/website/static/src/css/editor.css
+++ b/addons/website/static/src/css/editor.css
@@ -94,6 +94,10 @@
display: none;
}
+.cke_editable .css_editable_mode_display {
+ display: block !important;
+}
+
.oe_structure.oe_empty:empty, [data-oe-type=html]:empty, .oe_structure.oe_empty > .oe_drop_zone.oe_insert:only-child, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child {
background-image: url("/website/static/src/img/edit_here.png") !important;
}
diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass
index f3aeb492883..7a9c59d8167 100644
--- a/addons/website/static/src/css/editor.sass
+++ b/addons/website/static/src/css/editor.sass
@@ -77,6 +77,9 @@
.cke_editable .css_editable_mode_hidden
display: none
+.cke_editable .css_editable_mode_display
+ display: block !important
+
.oe_structure.oe_empty:empty, [data-oe-type=html]:empty, .oe_structure.oe_empty > .oe_drop_zone.oe_insert:only-child, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child
background-image: url('/website/static/src/img/edit_here.png') !important
diff --git a/addons/website/static/src/css/website.css b/addons/website/static/src/css/website.css
index 29d4e06eaff..90dddb9caf3 100644
--- a/addons/website/static/src/css/website.css
+++ b/addons/website/static/src/css/website.css
@@ -544,3 +544,9 @@ div.media_iframe_video iframe {
width: 100%;
height: 100%;
}
+div.media_iframe_video div {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ display: none;
+}
diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass
index 0d545e4362d..5923f619d86 100644
--- a/addons/website/static/src/css/website.sass
+++ b/addons/website/static/src/css/website.sass
@@ -444,4 +444,9 @@ div.media_iframe_video
padding-bottom: 66.5%
iframe
width: 100%
- height: 100% \ No newline at end of file
+ height: 100%
+ div
+ position: absolute
+ width: 100%
+ height: 100%
+ display: none \ No newline at end of file