summaryrefslogtreecommitdiff
path: root/addons/website/static/src/less
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2016-05-18 12:40:40 +0200
committerqsm-odoo <qsm@odoo.com>2016-07-04 17:23:59 +0200
commit8d012afb71fd27dd2f1e323d1b6ca32708da2ead (patch)
tree6adbc93d64cb2ade85128a2bdc6f2bffd8c78c64 /addons/website/static/src/less
parentaf25dfd27818fd8a7d10555e388ac05b3b2645f9 (diff)
[IMP] website: homepage welcome message when empty
Diffstat (limited to 'addons/website/static/src/less')
-rw-r--r--addons/website/static/src/less/website.edit_mode.less63
1 files changed, 2 insertions, 61 deletions
diff --git a/addons/website/static/src/less/website.edit_mode.less b/addons/website/static/src/less/website.edit_mode.less
index 0f3d2e726c6..9a95b90c5a7 100644
--- a/addons/website/static/src/less/website.edit_mode.less
+++ b/addons/website/static/src/less/website.edit_mode.less
@@ -1,43 +1,6 @@
-@-webkit-keyframes dragAndDrop {
- 0% {
- top: -10px;
- left: -20px;
- .rotate(0);
- opacity: 0;
- }
- 50% {
- top: -10px;
- left: -20px;
- .rotate(0);
- opacity: 0;
- }
- 100% {
- top: 30px;
- left: 20px;
- .rotate(45deg);
- opacity: 1;
- }
-}
-@keyframes dragAndDrop {
- 0% {
- top: -10px;
- left: -20px;
- .rotate(0);
- opacity: 0;
- }
- 50% {
- top: -10px;
- left: -20px;
- .rotate(0);
- opacity: 0;
- }
- 100% {
- top: 30px;
- left: 20px;
- .rotate(45deg);
- opacity: 1;
- }
+.o_homepage_editor_welcome_message {
+ font-family: Roboto, @font-family-sans-serif;
}
.o_editable {
@@ -68,25 +31,6 @@
color: #aaa;
}
}
- &.oe_structure.oe_empty, &[data-oe-type=html] {
- &:empty,
- > .oe_drop_zone.oe_insert:only-child,
- > p:empty:only-child {
- position: relative;
- &:before {
- display: block;
- font-family: FontAwesome;
- content: "\f061";
- color: @odoo-brand-primary;
- font-size: 30px;
-
- position: absolute;
- z-index: 1031;
- .o-animation(dragAndDrop, 1s, linear, 0s, infinite, alternate);
- }
- &:focus:before { display: none; }
- }
- }
}
.editor_enable [data-oe-readonly]:hover {
cursor: default;
@@ -111,9 +55,6 @@
[data-oe-type=html].oe_no_empty:empty {
height: 16px!important;
- &:before {
- content: ''!important;
- }
}
// EDITOR BAR