From 4fc0079f5f57bbbc272a8963b0691c852599d9be Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Tue, 9 Jan 2018 10:36:48 +0100 Subject: [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. --- .../static/src/less/web_editor.variables.less | 63 +--------------------- 1 file changed, 1 insertion(+), 62 deletions(-) (limited to 'addons/web_editor/static/src/less/web_editor.variables.less') 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; -- cgit v1.2.3