[FIX] website: stop website snippets CSS from affecting mailing snippets

CSS from website's snippets was affecting snippets in mass_mailing with
the same class. To counteract this, we adapted the selector to exclude
mailing snippets.

task-2554899

X-original-commit: 40348e9c314bb1211b8a49690311733abcb4ada6
Part-of: odoo/odoo#77724
This commit is contained in:
Elisabeth Dickinson
2021-10-04 15:31:10 +00:00
committed by Antoine Guenet
parent a9d4603b37
commit 62f766b36c
6 changed files with 6 additions and 6 deletions
@@ -1,5 +1,5 @@
.s_alert {
.s_alert:not(.o_mail_snippet_general) {
margin: $grid-gutter-width/2 0;
border: $alert-border-width solid;
border-radius: $alert-border-radius;
@@ -1,4 +1,4 @@
.s_blockquote {
.s_blockquote:not(.o_mail_snippet_general) {
// Reset
border: 0;
padding: 0;
@@ -1,4 +1,4 @@
.s_color_blocks_2 {
.s_color_blocks_2:not(.o_mail_snippet_general) {
// Needed to be able to stretch the inner container so that
// the snippet works with the 50% and 100% height
&.o_half_screen_height, &.o_full_screen_height {
@@ -1,5 +1,5 @@
.s_features_grid {
.s_features_grid:not(.o_mail_snippet_general) {
&_content {
overflow: hidden;
p {
@@ -1,5 +1,5 @@
.s_product_list {
.s_product_list:not(.o_mail_snippet_general) {
padding-top: 20px;
> div > .row > div {
@@ -1,4 +1,4 @@
.s_text_highlight {
.s_text_highlight:not(.o_mail_snippet_general) {
padding: 1.5rem;
border-radius: $border-radius;
:last-child {