diff options
| author | Christophe Simonis <chs@odoo.com> | 2018-03-22 20:05:14 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2018-03-22 20:05:14 +0100 |
| commit | cdbee48888a9028ed54abc2c764d2b560e0af099 (patch) | |
| tree | 72dcd7ea458cd6ce14d2e365ee82bea53947dc4a /addons/web_editor/static/src/less/web_editor.ui.less | |
| parent | 7d86bdca2111e3aeec8d165814b086c43b62998e (diff) | |
| parent | 39d9c362c5b67a6c5a5d589daa13941e21358b1d (diff) | |
[MERGE] forward port branch 11.0 up to 39d9c362c5b
Diffstat (limited to 'addons/web_editor/static/src/less/web_editor.ui.less')
| -rw-r--r-- | addons/web_editor/static/src/less/web_editor.ui.less | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/less/web_editor.ui.less b/addons/web_editor/static/src/less/web_editor.ui.less index e86279a8034..76e86b98cb9 100644 --- a/addons/web_editor/static/src/less/web_editor.ui.less +++ b/addons/web_editor/static/src/less/web_editor.ui.less @@ -1141,7 +1141,7 @@ body.editor_enable { width: @o-switch-size - 0.2; height: @o-switch-size - 0.2; margin-top: 0.1ex; - margin-left: 0.3ex; + margin-left: 0.1ex; border-radius: 100rem; .transition(all 0.3s @o-we-md-ease); box-shadow: 0 1px 1px darken(@o-switch-inactive-color,35%), inset 0 0 0 1px lighten(@o-switch-inactive-color,10%); @@ -1157,6 +1157,14 @@ body.editor_enable { } } } + &.o_switch_danger { + > input { + &:not(:checked) + span { + box-shadow: none; + .o-linear-gradient(0deg, lighten(@brand-danger, 5%), darken(@brand-danger, 5%)); + } + } + } } .dropdown-menu label .o_switch { |
