summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@openerp.com>2014-01-24 10:28:53 +0100
committerChristophe Matthieu <chm@openerp.com>2014-01-24 10:28:53 +0100
commit8c5dda24801d5b95a6dc42ff30ded6fd699aba8c (patch)
tree980c46dc2cdc4e2c4db6990c983a0d6c1d91bc39 /addons/website/static/src/css
parentf45e0198a5a25527235f27ac5000b94c752650f3 (diff)
[FIX] website css: rev/fix: Page under construction css; Add a choice 'non' for background snippet
bzr revid: chm@openerp.com-20140124092853-taal585yz4v7fh20
Diffstat (limited to 'addons/website/static/src/css')
-rw-r--r--addons/website/static/src/css/website.css19
-rw-r--r--addons/website/static/src/css/website.sass16
2 files changed, 28 insertions, 7 deletions
diff --git a/addons/website/static/src/css/website.css b/addons/website/static/src/css/website.css
index ba04fed56f0..da599752679 100644
--- a/addons/website/static/src/css/website.css
+++ b/addons/website/static/src/css/website.css
@@ -1,3 +1,4 @@
+@charset "utf-8";
/* THIS CSS FILE IS FOR WEBSITE THEMING CUSTOMIZATION ONLY
*
* css for editor buttons, openerp widget included in the website and other
@@ -162,19 +163,29 @@ footer {
background-image: url("/website/static/src/img/drag_here.png");
}
-.oe_structure.oe_empty > .oe_drop_zone.oe_insert:only-child, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child {
- position: static;
+.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: none;
+ background-repeat: no-repeat;
+ background-position: center;
+ height: 220px !important;
}
-.oe_structure.oe_editable.oe_empty:empty:before, .oe_editable[data-oe-type=html]:empty:before, .oe_structure.oe_editable.oe_empty > .oe_drop_zone.oe_insert:only-child:before, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child:before {
- content: "Drag Building Blocks Here";
+.oe_structure.oe_empty > .oe_drop_zone.oe_insert:only-child, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child {
+ position: static;
}
.oe_structure.oe_empty:empty:before, [data-oe-type=html]:empty:before, .oe_structure.oe_empty > .oe_drop_zone.oe_insert:only-child:before, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child:before {
content: " ";
+ text-align: center;
display: block;
padding-top: 160px;
padding-bottom: 30px;
+ color: grey;
+ font-size: 24px;
+}
+
+.oe_structure.oe_editable.oe_empty:empty:before, .oe_editable[data-oe-type=html]:empty:before, .oe_structure.oe_editable.oe_empty > .oe_drop_zone.oe_insert:only-child:before, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child:before {
+ content: "Drag Building Blocks Here";
}
.css_editable_display {
diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass
index fe85e5bdd4c..fe3bc6fde56 100644
--- a/addons/website/static/src/css/website.sass
+++ b/addons/website/static/src/css/website.sass
@@ -122,17 +122,27 @@ footer
.oe_structure.oe_editable.oe_empty:empty, .oe_editable[data-oe-type=html]:empty, .oe_structure.oe_editable.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/drag_here.png')
+.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: none /*url('/website/static/src/img/under_construction.png')*/
+ background-repeat: no-repeat
+ background-position: center
+ height: 220px !important
+
.oe_structure.oe_empty > .oe_drop_zone.oe_insert:only-child, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child
position: static
-.oe_structure.oe_editable.oe_empty:empty:before, .oe_editable[data-oe-type=html]:empty:before, .oe_structure.oe_editable.oe_empty > .oe_drop_zone.oe_insert:only-child:before, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child:before
- content: 'Drag Building Blocks Here'
-
.oe_structure.oe_empty:empty:before, [data-oe-type=html]:empty:before, .oe_structure.oe_empty > .oe_drop_zone.oe_insert:only-child:before, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child:before
content: ' '
+ text-align: center
display: block
padding-top: 160px
padding-bottom: 30px
+ color: grey
+ font-size: 24px
+
+.oe_structure.oe_editable.oe_empty:empty:before, .oe_editable[data-oe-type=html]:empty:before, .oe_structure.oe_editable.oe_empty > .oe_drop_zone.oe_insert:only-child:before, [data-oe-type=html] > .oe_drop_zone.oe_insert:only-child:before
+ content: 'Drag Building Blocks Here'
+
.css_editable_display
display: none