diff options
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 { |
