[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
This commit is contained in:
Kishan Gajjar
2018-06-18 12:09:49 +02:00
committed by qsm-odoo
parent a935d5bc83
commit 47b5c00181
@@ -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%