Skip to content

Commit

Permalink
[REF] website: move edit mode s_popup rule into the right file
Browse files Browse the repository at this point in the history
Part of odoo#44500
  • Loading branch information
qsm-odoo committed Feb 3, 2020
1 parent a5281de commit 8cd6f08
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
15 changes: 15 additions & 0 deletions addons/website/static/src/scss/website.edit_mode.scss
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,18 @@ table.editorbar-panel {
cursor: pointer;
}
}

// s_popup in edit mode
.editor_has_snippets {
.s_popup_main {
z-index: 1000 !important;
left: $o-we-sidebar-width !important;
top: var(--o-we-toolbar-height) !important;

&.s_popup_fixed {
.s_popup_full .s_popup_content {
left: $o-we-sidebar-width !important;
}
}
}
}
15 changes: 0 additions & 15 deletions addons/website/static/src/scss/website.wysiwyg.scss
Original file line number Diff line number Diff line change
Expand Up @@ -159,18 +159,3 @@ html[lang] > body.editor_enable [data-oe-translation-state] {
opacity: 0;
}
}

// s_popup in edit mode
.editor_has_snippets {
.s_popup_main {
z-index: 1000 !important;
left: $o-we-sidebar-width !important;
top: var(--o-we-toolbar-height) !important;

&.s_popup_fixed {
.s_popup_full .s_popup_content {
left: $o-we-sidebar-width !important;
}
}
}
}

0 comments on commit 8cd6f08

Please sign in to comment.