summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/less/web_editor.variables.less
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-01-09 10:36:48 +0100
committerqsm-odoo <qsm@odoo.com>2018-01-10 17:54:22 +0100
commit4fc0079f5f57bbbc272a8963b0691c852599d9be (patch)
treecfc278871443dde575c3b60ef2965b5affbfc4af /addons/web_editor/static/src/less/web_editor.variables.less
parent5da89f6152aec95f5edba900165bffea46782be1 (diff)
[REF] web_editor, website: LESS simplification and correction
The variables.less file was producing CSS which was then multiplicated by the number of bundles (see less_helpers). Also simplify some LESS.
Diffstat (limited to 'addons/web_editor/static/src/less/web_editor.variables.less')
-rw-r--r--addons/web_editor/static/src/less/web_editor.variables.less63
1 files changed, 1 insertions, 62 deletions
diff --git a/addons/web_editor/static/src/less/web_editor.variables.less b/addons/web_editor/static/src/less/web_editor.variables.less
index c735967af86..382969d96b3 100644
--- a/addons/web_editor/static/src/less/web_editor.variables.less
+++ b/addons/web_editor/static/src/less/web_editor.variables.less
@@ -24,71 +24,10 @@
// Transitions
@o-we-md-ease: cubic-bezier(0.19, 1, 0.22, 1);
-// Animations
-@-webkit-keyframes fadeInDownSmall {
- 0% {
- opacity: 0;
- .translate(0, -5px);
- }
- 100% {
- opacity: 1;
- .translate(0, 0);
- }
-}
-@keyframes fadeInDownSmall {
- 0% {
- opacity: 0;
- .translate(0, -5px);
- }
- 100% {
- opacity: 1;
- .translate(0, 0);
- }
-}
-
-@-webkit-keyframes fadeInOut {
- 0% {
- opacity: 0;
- }
- 25% {
- opacity: 1;
- }
- 75% {
- opacity: 1;
- }
- 100% {
- opacity: 0;
- }
-}
-@keyframes fadeInOut {
- 0% {
- opacity: 0;
- }
- 25% {
- opacity: 1;
- }
- 75% {
- opacity: 1;
- }
- 100% {
- opacity: 0;
- }
-}
-
-@-webkit-keyframes inputHighlighter {
- from { background: @odoo-brand-optional; }
- to { width: 0; background: transparent; }
-}
-@keyframes inputHighlighter {
- from { background: @odoo-brand-optional; }
- to { width: 0; background: transparent; }
-}
-
-
// ============ 'Preview' component Mixins ===============
// Create a "preview" work-area to edit/customize specific elements
-.o-we-preview-box(@padding: 0px 25px 25px 25px, @color-text: white ) {
+.o-we-preview-box(@padding: 0px 25px 25px 25px, @color-text: white) {
padding: @padding;
border-top: 1px solid black;
border-bottom: 1px solid white;