diff options
| author | Kishan Gajjar <kig@odoo.com> | 2018-06-13 19:10:36 +0530 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-06-18 12:09:49 +0200 |
| commit | 47b5c001814a7616e7b8951df46859ea7c1b09c9 (patch) | |
| tree | 692e3065ede9b106af7a0a4b5a2dda03c817c406 /addons/web_editor/static/src | |
| parent | a935d5bc832ea3c06feb2a5a652562c1a497846e (diff) | |
[FIX] web_editor: properly compute scss files
In LESS, 'fadeOut' function is used to make a color more transparent.
In SCSS, that function is called 'fade-out'.
Closes https://github.com/odoo/odoo/pull/25233
Diffstat (limited to 'addons/web_editor/static/src')
| -rw-r--r-- | addons/web_editor/static/src/scss/web_editor.ui.scss | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/web_editor/static/src/scss/web_editor.ui.scss b/addons/web_editor/static/src/scss/web_editor.ui.scss index 787cb95f0af..179f814c4b3 100644 --- a/addons/web_editor/static/src/scss/web_editor.ui.scss +++ b/addons/web_editor/static/src/scss/web_editor.ui.scss @@ -440,7 +440,7 @@ html[lang] > body.editor_enable [data-oe-translation-state] { > li { position: relative; &:hover { - background-color: fadeOut($o-we-color-dark, 50%); + background-color: fade-out($o-we-color-dark, 0.5); > a { color: white; background: transparent; @@ -468,7 +468,7 @@ html[lang] > body.editor_enable [data-oe-translation-state] { } &.active > a { color: white; - background-color: fadeOut($o-we-color-dark, 50%); + background-color: fade-out($o-we-color-dark, 0.5); &:before { @include o-position-absolute($top: 5px, $left: 5px); content: "\f00c"; @@ -793,7 +793,7 @@ html[lang] > body.editor_enable [data-oe-translation-state] { padding: 4px; border-radius: 2px; border: 1px solid #989898; - border-color: fadeOut($o-we-color-text-normal, 0.5); + border-color: fade-out($o-we-color-text-normal, 0.5); } .note-color-palette .note-color-row { height: auto!important; @@ -1587,7 +1587,7 @@ body .modal { display: block; width: 100%; height: 1px; - background: fadeOut(lighten($o-brand-optional, 30%), 50%); + background: fade-out(lighten($o-brand-optional, 30%), 0.5); pointer-events: none; &.grid-2 { top: 66.66% |
