diff options
| author | qsm-odoo <qsm@odoo.com> | 2020-07-06 15:22:12 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2020-07-06 15:47:06 +0000 |
| commit | 94b59b1972e1a18e18dfcd6c2ded495391380b9a (patch) | |
| tree | bcc8c43f5081a97189df18fda94deaab62f733b0 /addons/web_editor/static/src/scss/web_editor.variables.scss | |
| parent | d6a23e49e2cf73c0fc7db9e348fc51e0d81ca14c (diff) | |
[FIX] web, web_editor, *: review chess-like bg for transparency preview
*: website
The style to achieve the chess-like bg result was duplicated at many
places. The 'web' app was also actually using an image from the
'web_editor' app (we can live with it in stable as web_editor always
comes with web in auto_install but this was still a mistake).
closes odoo/odoo#54154
Also: fix some layout issue in the colorpicker widget.
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/scss/web_editor.variables.scss')
| -rw-r--r-- | addons/web_editor/static/src/scss/web_editor.variables.scss | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/addons/web_editor/static/src/scss/web_editor.variables.scss b/addons/web_editor/static/src/scss/web_editor.variables.scss index 9a980e9a392..c6301e6da2d 100644 --- a/addons/web_editor/static/src/scss/web_editor.variables.scss +++ b/addons/web_editor/static/src/scss/web_editor.variables.scss @@ -76,27 +76,6 @@ $o-we-toolbar-height: 32px; box-shadow: 0 0 15px 2px #000; } -// Mixins for buttons with alpha bg-color -@mixin o-alpha-button-preview { - position: relative; - z-index: 1; - - // Place an overlay that inherit the button's bg-color. - &::before { - content: ""; - @include o-position-absolute(0, 0, 0, 0); - background-color: inherit; - } - - &::after { - content: ""; - @include o-position-absolute(0, 0, 0, 0); - z-index: -1; - background-image: url('/web_editor/static/src/img/transparent.png'); - background-size: 10px auto; - } -} - // ============ Preservation mixins =============== // Used to preserve web_editor and website UI from themes customizations |
