diff options
| author | qsm-odoo <qsm@odoo.com> | 2018-09-28 11:30:58 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-09-28 13:43:06 +0200 |
| commit | 7bcb7934a6eee77a2f0406449349ae41ada9e0ab (patch) | |
| tree | 0f5d44397530c4eeffed916a63ee108c2e759bef /addons/web_editor/static/src/scss | |
| parent | c4420253d7e1b047f76268bf070ad7028305e402 (diff) | |
[FIX] web_editor: restore white color for discard button
Fixing BS behavior in https://github.com/odoo/odoo/commit/e24c3409d915ed73d86077b723b6e0cd77134e80
broke that button color as the button bg was set to transparent, so the
text color was computed to dark instead of light (as it should).
Diffstat (limited to 'addons/web_editor/static/src/scss')
| -rw-r--r-- | addons/web_editor/static/src/scss/web_editor.ui.scss | 6 |
1 files changed, 1 insertions, 5 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 ccc92512a5f..f9c30b62c6f 100644 --- a/addons/web_editor/static/src/scss/web_editor.ui.scss +++ b/addons/web_editor/static/src/scss/web_editor.ui.scss @@ -62,11 +62,7 @@ @include button-variant($o-brand-odoo, $o-brand-odoo); } &.btn-secondary { - @include button-variant(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)); - - &:hover { - background: rgba(black, 0.5); - } + @include button-variant($o-we-color-dark, $o-we-color-dark); } &:focus, &:active, &:focus:active { |
