@clay-design-system/email 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/asset-scoring.d.ts.map +1 -1
- package/dist/build/asset-scoring.js +2 -1
- package/dist/build/asset-scoring.js.map +1 -1
- package/dist/build/compile.js +1 -1
- package/dist/build/icon-registry-map.d.ts +2 -2
- package/dist/build/icon-registry-map.d.ts.map +1 -1
- package/dist/build/icon-registry-map.js +1 -1
- package/dist/build/visual-resolver.d.ts +2 -2
- package/dist/build/visual-resolver.js +2 -2
- package/dist/catalog.json +77 -77
- package/dist/emails/component-buttons-icons.html +9 -9
- package/dist/emails/component-buttons-integration.html +9 -9
- package/dist/emails/component-buttons-primary.html +9 -9
- package/dist/emails/component-buttons-secondary.html +9 -9
- package/dist/emails/component-buttons-two-integrations.html +9 -9
- package/dist/emails/component-images-card-280h.html +9 -9
- package/dist/emails/component-images-card-320h.html +9 -9
- package/dist/emails/component-images-card.html +9 -9
- package/dist/emails/component-images-full-bleed-280h.html +9 -9
- package/dist/emails/component-images-full-bleed-400h.html +9 -9
- package/dist/emails/component-images-full-bleed.html +9 -9
- package/dist/emails/component-text-h1.html +9 -9
- package/dist/emails/component-text-h2.html +9 -9
- package/dist/emails/component-text-h3.html +9 -9
- package/dist/emails/component-text-h4.html +9 -9
- package/dist/emails/component-text-h5.html +9 -9
- package/dist/emails/component-text-p2.html +9 -9
- package/dist/emails/component-text-p3.html +11 -11
- package/dist/emails/component-text-p4.html +11 -11
- package/dist/emails/container.html +10 -10
- package/dist/emails/section-changelog-icon-list.html +9 -9
- package/dist/emails/section-divider-line.html +11 -11
- package/dist/emails/section-feature-highlight-reversed.html +9 -9
- package/dist/emails/section-feature-highlight.html +9 -9
- package/dist/emails/section-feature-rows.html +9 -9
- package/dist/emails/section-feature-story-row-reversed.html +11 -11
- package/dist/emails/section-feature-story-row.html +11 -11
- package/dist/emails/section-footer-lifecycle.html +9 -9
- package/dist/emails/section-footer-two-column-minimal.html +11 -11
- package/dist/emails/section-footer.html +15 -15
- package/dist/emails/section-header.html +9 -9
- package/dist/emails/section-hero.html +9 -9
- package/dist/emails/section-icon-feature-list.html +9 -9
- package/dist/emails/section-image-caption-block.html +9 -9
- package/dist/emails/section-image-hero.html +10 -10
- package/dist/emails/section-lesson-card.html +11 -11
- package/dist/emails/section-list-action-items.html +9 -9
- package/dist/emails/section-list-feature-items.html +9 -9
- package/dist/emails/section-list-icon-items.html +13 -13
- package/dist/emails/section-list-numbered-items.html +9 -9
- package/dist/emails/section-logo-header.html +9 -9
- package/dist/emails/section-newsletter-hero.html +10 -10
- package/dist/emails/section-product-ui-hero.html +9 -9
- package/dist/emails/section-promo-banner.html +9 -9
- package/dist/emails/section-qa-block.html +9 -9
- package/dist/emails/section-resource-link-list.html +9 -9
- package/dist/emails/section-signoff.html +9 -9
- package/dist/emails/section-single-column-author.html +9 -9
- package/dist/emails/section-single-column-feature-card.html +9 -9
- package/dist/emails/section-single-column-product-card.html +10 -10
- package/dist/emails/section-single-column-promo-card.html +10 -10
- package/dist/emails/section-spacer-fill.html +12 -12
- package/dist/emails/section-testimonial-dark-card.html +9 -9
- package/dist/emails/section-text-h1-regular.html +9 -9
- package/dist/emails/section-text-h2-regular.html +9 -9
- package/dist/emails/section-text-h3-regular.html +9 -9
- package/dist/emails/section-text-h4-regular.html +9 -9
- package/dist/emails/section-text-h5-regular.html +9 -9
- package/dist/emails/section-text-mixed-heading.html +9 -9
- package/dist/emails/section-text-overline-heading.html +11 -11
- package/dist/emails/section-text-p1-bold.html +9 -9
- package/dist/emails/section-text-p1-regular.html +9 -9
- package/dist/emails/section-text-paragraph.html +9 -9
- package/dist/emails/section-text-quote-card.html +9 -9
- package/dist/emails/section-text-quote.html +9 -9
- package/dist/emails/section-text-small-headline.html +10 -10
- package/dist/emails/section-three-column-content-cards.html +9 -9
- package/dist/emails/section-three-column-icon-cards.html +9 -9
- package/dist/emails/section-three-column-image-grid.html +9 -9
- package/dist/emails/section-three-up-icon-benefits.html +9 -9
- package/dist/emails/section-two-column-feature-cards.html +9 -9
- package/dist/emails/section-two-column-grid.html +9 -9
- package/dist/emails/section-two-column-img-text.html +9 -9
- package/dist/emails/section-two-column-live-tags.html +10 -10
- package/dist/emails/section-two-column-stacked.html +9 -9
- package/dist/emails/section-upsell-cta.html +9 -9
- package/dist/emails/section-value-bullet-list.html +9 -9
- package/dist/generated/email-tokens.d.ts +1 -1
- package/dist/generated/email-tokens.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/tokens/build-email-assets.js +1 -1
- package/dist/tokens/build-email-assets.js.map +1 -1
- package/dist/tokens/build-email-tokens.js +10 -10
- package/dist/tokens/build-email-tokens.js.map +1 -1
- package/package.json +2 -2
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
|
|
63
63
|
/* Mobile heading step-down — one-notch scale at the DS phone-only breakpoint
|
|
64
64
|
@media(max-width:479px) (h1 56→48, h2 48→40, h3 40→32, h4 32→24). Keyed off the clay-h*
|
|
65
|
-
css-class on the mj-text
|
|
66
|
-
size is the inline fallback if
|
|
65
|
+
css-class on the mj-text td; targets the inner div where MJML places font-size. Desktop
|
|
66
|
+
size is the inline fallback if style is dropped. Per production emails, only the primary/
|
|
67
67
|
hero heading opts in — add css-class="clay-hN" (alongside mj-class) to the hero heading's
|
|
68
68
|
mj-text; secondary content headings keep mj-class alone and stay at desktop size. */
|
|
69
69
|
@media only screen and (max-width: 479px) {
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
.clay-h4 > div { font-size: 24px !important; }
|
|
74
74
|
|
|
75
75
|
/* Mobile H-padding utilities — apply as css-class on mj-wrapper or mj-section to reduce
|
|
76
|
-
the 40px horizontal padding to the source breakpoint value when columns stack (
|
|
76
|
+
the 40px horizontal padding to the source breakpoint value when columns stack (below 480px).
|
|
77
77
|
Source: emaillove export mobile CSS (.b98-68 → 24px, .d9b-0c → 16px, .fb5-e8 → 24px).
|
|
78
78
|
Targets the outer td MJML generates with inline padding-left/padding-right. */
|
|
79
79
|
.email-mobile-px-24 > table > tbody > tr > td { padding-right: 24px !important; padding-left: 24px !important; }
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
.email-mobile-pt-0 > table > tbody > tr > td { padding-top: 0 !important; }
|
|
83
83
|
|
|
84
84
|
/* Mobile text centering — apply as css-class on mj-text elements whose content should be
|
|
85
|
-
center-aligned on mobile (
|
|
86
|
-
Targets the inner
|
|
85
|
+
center-aligned on mobile (below 480px). Matches the source emaillove .s0>div{text-align:center}.
|
|
86
|
+
Targets the inner div MJML wraps text content in. */
|
|
87
87
|
.email-mobile-center > div { text-align: center !important; }
|
|
88
88
|
|
|
89
89
|
/* Mobile image centering — apply css-class="email-mobile-center-img" on mj-image.
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
.email-mobile-center-img > table { margin: 0 auto !important; }
|
|
95
95
|
|
|
96
96
|
/* Full-width button on mobile — apply css-class="email-btn-full" to mj-button.
|
|
97
|
-
Makes the button's inner
|
|
97
|
+
Makes the button's inner table fill the column width and centers it.
|
|
98
98
|
Matches emaillove .mj-b-full pattern. */
|
|
99
99
|
.email-btn-full > table { width: 100% !important; }
|
|
100
100
|
.email-btn-full > table > tbody > tr > td { text-align: center !important; }
|
|
@@ -122,10 +122,10 @@
|
|
|
122
122
|
* email-card: flip a section or column's background to dark.
|
|
123
123
|
*
|
|
124
124
|
* Three selectors cover every compiled MJML structure:
|
|
125
|
-
* 1. .email-card — the outer
|
|
126
|
-
* 2. .email-card > table — the direct child
|
|
125
|
+
* 1. .email-card — the outer div (mj-section or mj-column)
|
|
126
|
+
* 2. .email-card > table — the direct child table (mj-section has inline bg here)
|
|
127
127
|
* 3. .email-card > table > tbody > tr > td
|
|
128
|
-
* — the content
|
|
128
|
+
* — the content td inside mj-column (carries inline bg-color
|
|
129
129
|
* + border-radius when background-color is set on mj-column)
|
|
130
130
|
*
|
|
131
131
|
* Apply css-class="email-card" to any mj-section or mj-column that should
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
|
|
63
63
|
/* Mobile heading step-down — one-notch scale at the DS phone-only breakpoint
|
|
64
64
|
@media(max-width:479px) (h1 56→48, h2 48→40, h3 40→32, h4 32→24). Keyed off the clay-h*
|
|
65
|
-
css-class on the mj-text
|
|
66
|
-
size is the inline fallback if
|
|
65
|
+
css-class on the mj-text td; targets the inner div where MJML places font-size. Desktop
|
|
66
|
+
size is the inline fallback if style is dropped. Per production emails, only the primary/
|
|
67
67
|
hero heading opts in — add css-class="clay-hN" (alongside mj-class) to the hero heading's
|
|
68
68
|
mj-text; secondary content headings keep mj-class alone and stay at desktop size. */
|
|
69
69
|
@media only screen and (max-width: 479px) {
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
.clay-h4 > div { font-size: 24px !important; }
|
|
74
74
|
|
|
75
75
|
/* Mobile H-padding utilities — apply as css-class on mj-wrapper or mj-section to reduce
|
|
76
|
-
the 40px horizontal padding to the source breakpoint value when columns stack (
|
|
76
|
+
the 40px horizontal padding to the source breakpoint value when columns stack (below 480px).
|
|
77
77
|
Source: emaillove export mobile CSS (.b98-68 → 24px, .d9b-0c → 16px, .fb5-e8 → 24px).
|
|
78
78
|
Targets the outer td MJML generates with inline padding-left/padding-right. */
|
|
79
79
|
.email-mobile-px-24 > table > tbody > tr > td { padding-right: 24px !important; padding-left: 24px !important; }
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
.email-mobile-pt-0 > table > tbody > tr > td { padding-top: 0 !important; }
|
|
83
83
|
|
|
84
84
|
/* Mobile text centering — apply as css-class on mj-text elements whose content should be
|
|
85
|
-
center-aligned on mobile (
|
|
86
|
-
Targets the inner
|
|
85
|
+
center-aligned on mobile (below 480px). Matches the source emaillove .s0>div{text-align:center}.
|
|
86
|
+
Targets the inner div MJML wraps text content in. */
|
|
87
87
|
.email-mobile-center > div { text-align: center !important; }
|
|
88
88
|
|
|
89
89
|
/* Mobile image centering — apply css-class="email-mobile-center-img" on mj-image.
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
.email-mobile-center-img > table { margin: 0 auto !important; }
|
|
95
95
|
|
|
96
96
|
/* Full-width button on mobile — apply css-class="email-btn-full" to mj-button.
|
|
97
|
-
Makes the button's inner
|
|
97
|
+
Makes the button's inner table fill the column width and centers it.
|
|
98
98
|
Matches emaillove .mj-b-full pattern. */
|
|
99
99
|
.email-btn-full > table { width: 100% !important; }
|
|
100
100
|
.email-btn-full > table > tbody > tr > td { text-align: center !important; }
|
|
@@ -122,10 +122,10 @@
|
|
|
122
122
|
* email-card: flip a section or column's background to dark.
|
|
123
123
|
*
|
|
124
124
|
* Three selectors cover every compiled MJML structure:
|
|
125
|
-
* 1. .email-card — the outer
|
|
126
|
-
* 2. .email-card > table — the direct child
|
|
125
|
+
* 1. .email-card — the outer div (mj-section or mj-column)
|
|
126
|
+
* 2. .email-card > table — the direct child table (mj-section has inline bg here)
|
|
127
127
|
* 3. .email-card > table > tbody > tr > td
|
|
128
|
-
* — the content
|
|
128
|
+
* — the content td inside mj-column (carries inline bg-color
|
|
129
129
|
* + border-radius when background-color is set on mj-column)
|
|
130
130
|
*
|
|
131
131
|
* Apply css-class="email-card" to any mj-section or mj-column that should
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
|
|
63
63
|
/* Mobile heading step-down — one-notch scale at the DS phone-only breakpoint
|
|
64
64
|
@media(max-width:479px) (h1 56→48, h2 48→40, h3 40→32, h4 32→24). Keyed off the clay-h*
|
|
65
|
-
css-class on the mj-text
|
|
66
|
-
size is the inline fallback if
|
|
65
|
+
css-class on the mj-text td; targets the inner div where MJML places font-size. Desktop
|
|
66
|
+
size is the inline fallback if style is dropped. Per production emails, only the primary/
|
|
67
67
|
hero heading opts in — add css-class="clay-hN" (alongside mj-class) to the hero heading's
|
|
68
68
|
mj-text; secondary content headings keep mj-class alone and stay at desktop size. */
|
|
69
69
|
@media only screen and (max-width: 479px) {
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
.clay-h4 > div { font-size: 24px !important; }
|
|
74
74
|
|
|
75
75
|
/* Mobile H-padding utilities — apply as css-class on mj-wrapper or mj-section to reduce
|
|
76
|
-
the 40px horizontal padding to the source breakpoint value when columns stack (
|
|
76
|
+
the 40px horizontal padding to the source breakpoint value when columns stack (below 480px).
|
|
77
77
|
Source: emaillove export mobile CSS (.b98-68 → 24px, .d9b-0c → 16px, .fb5-e8 → 24px).
|
|
78
78
|
Targets the outer td MJML generates with inline padding-left/padding-right. */
|
|
79
79
|
.email-mobile-px-24 > table > tbody > tr > td { padding-right: 24px !important; padding-left: 24px !important; }
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
.email-mobile-pt-0 > table > tbody > tr > td { padding-top: 0 !important; }
|
|
83
83
|
|
|
84
84
|
/* Mobile text centering — apply as css-class on mj-text elements whose content should be
|
|
85
|
-
center-aligned on mobile (
|
|
86
|
-
Targets the inner
|
|
85
|
+
center-aligned on mobile (below 480px). Matches the source emaillove .s0>div{text-align:center}.
|
|
86
|
+
Targets the inner div MJML wraps text content in. */
|
|
87
87
|
.email-mobile-center > div { text-align: center !important; }
|
|
88
88
|
|
|
89
89
|
/* Mobile image centering — apply css-class="email-mobile-center-img" on mj-image.
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
.email-mobile-center-img > table { margin: 0 auto !important; }
|
|
95
95
|
|
|
96
96
|
/* Full-width button on mobile — apply css-class="email-btn-full" to mj-button.
|
|
97
|
-
Makes the button's inner
|
|
97
|
+
Makes the button's inner table fill the column width and centers it.
|
|
98
98
|
Matches emaillove .mj-b-full pattern. */
|
|
99
99
|
.email-btn-full > table { width: 100% !important; }
|
|
100
100
|
.email-btn-full > table > tbody > tr > td { text-align: center !important; }
|
|
@@ -122,10 +122,10 @@
|
|
|
122
122
|
* email-card: flip a section or column's background to dark.
|
|
123
123
|
*
|
|
124
124
|
* Three selectors cover every compiled MJML structure:
|
|
125
|
-
* 1. .email-card — the outer
|
|
126
|
-
* 2. .email-card > table — the direct child
|
|
125
|
+
* 1. .email-card — the outer div (mj-section or mj-column)
|
|
126
|
+
* 2. .email-card > table — the direct child table (mj-section has inline bg here)
|
|
127
127
|
* 3. .email-card > table > tbody > tr > td
|
|
128
|
-
* — the content
|
|
128
|
+
* — the content td inside mj-column (carries inline bg-color
|
|
129
129
|
* + border-radius when background-color is set on mj-column)
|
|
130
130
|
*
|
|
131
131
|
* Apply css-class="email-card" to any mj-section or mj-column that should
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
|
|
71
71
|
/* Mobile heading step-down — one-notch scale at the DS phone-only breakpoint
|
|
72
72
|
@media(max-width:479px) (h1 56→48, h2 48→40, h3 40→32, h4 32→24). Keyed off the clay-h*
|
|
73
|
-
css-class on the mj-text
|
|
74
|
-
size is the inline fallback if
|
|
73
|
+
css-class on the mj-text td; targets the inner div where MJML places font-size. Desktop
|
|
74
|
+
size is the inline fallback if style is dropped. Per production emails, only the primary/
|
|
75
75
|
hero heading opts in — add css-class="clay-hN" (alongside mj-class) to the hero heading's
|
|
76
76
|
mj-text; secondary content headings keep mj-class alone and stay at desktop size. */
|
|
77
77
|
@media only screen and (max-width: 479px) {
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
.clay-h4 > div { font-size: 24px !important; }
|
|
82
82
|
|
|
83
83
|
/* Mobile H-padding utilities — apply as css-class on mj-wrapper or mj-section to reduce
|
|
84
|
-
the 40px horizontal padding to the source breakpoint value when columns stack (
|
|
84
|
+
the 40px horizontal padding to the source breakpoint value when columns stack (below 480px).
|
|
85
85
|
Source: emaillove export mobile CSS (.b98-68 → 24px, .d9b-0c → 16px, .fb5-e8 → 24px).
|
|
86
86
|
Targets the outer td MJML generates with inline padding-left/padding-right. */
|
|
87
87
|
.email-mobile-px-24 > table > tbody > tr > td { padding-right: 24px !important; padding-left: 24px !important; }
|
|
@@ -90,8 +90,8 @@
|
|
|
90
90
|
.email-mobile-pt-0 > table > tbody > tr > td { padding-top: 0 !important; }
|
|
91
91
|
|
|
92
92
|
/* Mobile text centering — apply as css-class on mj-text elements whose content should be
|
|
93
|
-
center-aligned on mobile (
|
|
94
|
-
Targets the inner
|
|
93
|
+
center-aligned on mobile (below 480px). Matches the source emaillove .s0>div{text-align:center}.
|
|
94
|
+
Targets the inner div MJML wraps text content in. */
|
|
95
95
|
.email-mobile-center > div { text-align: center !important; }
|
|
96
96
|
|
|
97
97
|
/* Mobile image centering — apply css-class="email-mobile-center-img" on mj-image.
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
.email-mobile-center-img > table { margin: 0 auto !important; }
|
|
103
103
|
|
|
104
104
|
/* Full-width button on mobile — apply css-class="email-btn-full" to mj-button.
|
|
105
|
-
Makes the button's inner
|
|
105
|
+
Makes the button's inner table fill the column width and centers it.
|
|
106
106
|
Matches emaillove .mj-b-full pattern. */
|
|
107
107
|
.email-btn-full > table { width: 100% !important; }
|
|
108
108
|
.email-btn-full > table > tbody > tr > td { text-align: center !important; }
|
|
@@ -130,10 +130,10 @@
|
|
|
130
130
|
* email-card: flip a section or column's background to dark.
|
|
131
131
|
*
|
|
132
132
|
* Three selectors cover every compiled MJML structure:
|
|
133
|
-
* 1. .email-card — the outer
|
|
134
|
-
* 2. .email-card > table — the direct child
|
|
133
|
+
* 1. .email-card — the outer div (mj-section or mj-column)
|
|
134
|
+
* 2. .email-card > table — the direct child table (mj-section has inline bg here)
|
|
135
135
|
* 3. .email-card > table > tbody > tr > td
|
|
136
|
-
* — the content
|
|
136
|
+
* — the content td inside mj-column (carries inline bg-color
|
|
137
137
|
* + border-radius when background-color is set on mj-column)
|
|
138
138
|
*
|
|
139
139
|
* Apply css-class="email-card" to any mj-section or mj-column that should
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
|
|
63
63
|
/* Mobile heading step-down — one-notch scale at the DS phone-only breakpoint
|
|
64
64
|
@media(max-width:479px) (h1 56→48, h2 48→40, h3 40→32, h4 32→24). Keyed off the clay-h*
|
|
65
|
-
css-class on the mj-text
|
|
66
|
-
size is the inline fallback if
|
|
65
|
+
css-class on the mj-text td; targets the inner div where MJML places font-size. Desktop
|
|
66
|
+
size is the inline fallback if style is dropped. Per production emails, only the primary/
|
|
67
67
|
hero heading opts in — add css-class="clay-hN" (alongside mj-class) to the hero heading's
|
|
68
68
|
mj-text; secondary content headings keep mj-class alone and stay at desktop size. */
|
|
69
69
|
@media only screen and (max-width: 479px) {
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
.clay-h4 > div { font-size: 24px !important; }
|
|
74
74
|
|
|
75
75
|
/* Mobile H-padding utilities — apply as css-class on mj-wrapper or mj-section to reduce
|
|
76
|
-
the 40px horizontal padding to the source breakpoint value when columns stack (
|
|
76
|
+
the 40px horizontal padding to the source breakpoint value when columns stack (below 480px).
|
|
77
77
|
Source: emaillove export mobile CSS (.b98-68 → 24px, .d9b-0c → 16px, .fb5-e8 → 24px).
|
|
78
78
|
Targets the outer td MJML generates with inline padding-left/padding-right. */
|
|
79
79
|
.email-mobile-px-24 > table > tbody > tr > td { padding-right: 24px !important; padding-left: 24px !important; }
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
.email-mobile-pt-0 > table > tbody > tr > td { padding-top: 0 !important; }
|
|
83
83
|
|
|
84
84
|
/* Mobile text centering — apply as css-class on mj-text elements whose content should be
|
|
85
|
-
center-aligned on mobile (
|
|
86
|
-
Targets the inner
|
|
85
|
+
center-aligned on mobile (below 480px). Matches the source emaillove .s0>div{text-align:center}.
|
|
86
|
+
Targets the inner div MJML wraps text content in. */
|
|
87
87
|
.email-mobile-center > div { text-align: center !important; }
|
|
88
88
|
|
|
89
89
|
/* Mobile image centering — apply css-class="email-mobile-center-img" on mj-image.
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
.email-mobile-center-img > table { margin: 0 auto !important; }
|
|
95
95
|
|
|
96
96
|
/* Full-width button on mobile — apply css-class="email-btn-full" to mj-button.
|
|
97
|
-
Makes the button's inner
|
|
97
|
+
Makes the button's inner table fill the column width and centers it.
|
|
98
98
|
Matches emaillove .mj-b-full pattern. */
|
|
99
99
|
.email-btn-full > table { width: 100% !important; }
|
|
100
100
|
.email-btn-full > table > tbody > tr > td { text-align: center !important; }
|
|
@@ -122,10 +122,10 @@
|
|
|
122
122
|
* email-card: flip a section or column's background to dark.
|
|
123
123
|
*
|
|
124
124
|
* Three selectors cover every compiled MJML structure:
|
|
125
|
-
* 1. .email-card — the outer
|
|
126
|
-
* 2. .email-card > table — the direct child
|
|
125
|
+
* 1. .email-card — the outer div (mj-section or mj-column)
|
|
126
|
+
* 2. .email-card > table — the direct child table (mj-section has inline bg here)
|
|
127
127
|
* 3. .email-card > table > tbody > tr > td
|
|
128
|
-
* — the content
|
|
128
|
+
* — the content td inside mj-column (carries inline bg-color
|
|
129
129
|
* + border-radius when background-color is set on mj-column)
|
|
130
130
|
*
|
|
131
131
|
* Apply css-class="email-card" to any mj-section or mj-column that should
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
>
|
|
241
241
|
|
|
242
242
|
<div
|
|
243
|
-
style="font-family:Poppins, 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:14px;font-weight:400;line-height:1.5;text-align:center;color:#
|
|
243
|
+
style="font-family:Poppins, 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:14px;font-weight:400;line-height:1.5;text-align:center;color:#45454a;"
|
|
244
244
|
>Trusted by 245,000+ customers</div>
|
|
245
245
|
|
|
246
246
|
</td>
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
|
|
71
71
|
/* Mobile heading step-down — one-notch scale at the DS phone-only breakpoint
|
|
72
72
|
@media(max-width:479px) (h1 56→48, h2 48→40, h3 40→32, h4 32→24). Keyed off the clay-h*
|
|
73
|
-
css-class on the mj-text
|
|
74
|
-
size is the inline fallback if
|
|
73
|
+
css-class on the mj-text td; targets the inner div where MJML places font-size. Desktop
|
|
74
|
+
size is the inline fallback if style is dropped. Per production emails, only the primary/
|
|
75
75
|
hero heading opts in — add css-class="clay-hN" (alongside mj-class) to the hero heading's
|
|
76
76
|
mj-text; secondary content headings keep mj-class alone and stay at desktop size. */
|
|
77
77
|
@media only screen and (max-width: 479px) {
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
.clay-h4 > div { font-size: 24px !important; }
|
|
82
82
|
|
|
83
83
|
/* Mobile H-padding utilities — apply as css-class on mj-wrapper or mj-section to reduce
|
|
84
|
-
the 40px horizontal padding to the source breakpoint value when columns stack (
|
|
84
|
+
the 40px horizontal padding to the source breakpoint value when columns stack (below 480px).
|
|
85
85
|
Source: emaillove export mobile CSS (.b98-68 → 24px, .d9b-0c → 16px, .fb5-e8 → 24px).
|
|
86
86
|
Targets the outer td MJML generates with inline padding-left/padding-right. */
|
|
87
87
|
.email-mobile-px-24 > table > tbody > tr > td { padding-right: 24px !important; padding-left: 24px !important; }
|
|
@@ -90,8 +90,8 @@
|
|
|
90
90
|
.email-mobile-pt-0 > table > tbody > tr > td { padding-top: 0 !important; }
|
|
91
91
|
|
|
92
92
|
/* Mobile text centering — apply as css-class on mj-text elements whose content should be
|
|
93
|
-
center-aligned on mobile (
|
|
94
|
-
Targets the inner
|
|
93
|
+
center-aligned on mobile (below 480px). Matches the source emaillove .s0>div{text-align:center}.
|
|
94
|
+
Targets the inner div MJML wraps text content in. */
|
|
95
95
|
.email-mobile-center > div { text-align: center !important; }
|
|
96
96
|
|
|
97
97
|
/* Mobile image centering — apply css-class="email-mobile-center-img" on mj-image.
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
.email-mobile-center-img > table { margin: 0 auto !important; }
|
|
103
103
|
|
|
104
104
|
/* Full-width button on mobile — apply css-class="email-btn-full" to mj-button.
|
|
105
|
-
Makes the button's inner
|
|
105
|
+
Makes the button's inner table fill the column width and centers it.
|
|
106
106
|
Matches emaillove .mj-b-full pattern. */
|
|
107
107
|
.email-btn-full > table { width: 100% !important; }
|
|
108
108
|
.email-btn-full > table > tbody > tr > td { text-align: center !important; }
|
|
@@ -130,10 +130,10 @@
|
|
|
130
130
|
* email-card: flip a section or column's background to dark.
|
|
131
131
|
*
|
|
132
132
|
* Three selectors cover every compiled MJML structure:
|
|
133
|
-
* 1. .email-card — the outer
|
|
134
|
-
* 2. .email-card > table — the direct child
|
|
133
|
+
* 1. .email-card — the outer div (mj-section or mj-column)
|
|
134
|
+
* 2. .email-card > table — the direct child table (mj-section has inline bg here)
|
|
135
135
|
* 3. .email-card > table > tbody > tr > td
|
|
136
|
-
* — the content
|
|
136
|
+
* — the content td inside mj-column (carries inline bg-color
|
|
137
137
|
* + border-radius when background-color is set on mj-column)
|
|
138
138
|
*
|
|
139
139
|
* Apply css-class="email-card" to any mj-section or mj-column that should
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
|
|
73
73
|
/* Mobile heading step-down — one-notch scale at the DS phone-only breakpoint
|
|
74
74
|
@media(max-width:479px) (h1 56→48, h2 48→40, h3 40→32, h4 32→24). Keyed off the clay-h*
|
|
75
|
-
css-class on the mj-text
|
|
76
|
-
size is the inline fallback if
|
|
75
|
+
css-class on the mj-text td; targets the inner div where MJML places font-size. Desktop
|
|
76
|
+
size is the inline fallback if style is dropped. Per production emails, only the primary/
|
|
77
77
|
hero heading opts in — add css-class="clay-hN" (alongside mj-class) to the hero heading's
|
|
78
78
|
mj-text; secondary content headings keep mj-class alone and stay at desktop size. */
|
|
79
79
|
@media only screen and (max-width: 479px) {
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
.clay-h4 > div { font-size: 24px !important; }
|
|
84
84
|
|
|
85
85
|
/* Mobile H-padding utilities — apply as css-class on mj-wrapper or mj-section to reduce
|
|
86
|
-
the 40px horizontal padding to the source breakpoint value when columns stack (
|
|
86
|
+
the 40px horizontal padding to the source breakpoint value when columns stack (below 480px).
|
|
87
87
|
Source: emaillove export mobile CSS (.b98-68 → 24px, .d9b-0c → 16px, .fb5-e8 → 24px).
|
|
88
88
|
Targets the outer td MJML generates with inline padding-left/padding-right. */
|
|
89
89
|
.email-mobile-px-24 > table > tbody > tr > td { padding-right: 24px !important; padding-left: 24px !important; }
|
|
@@ -92,8 +92,8 @@
|
|
|
92
92
|
.email-mobile-pt-0 > table > tbody > tr > td { padding-top: 0 !important; }
|
|
93
93
|
|
|
94
94
|
/* Mobile text centering — apply as css-class on mj-text elements whose content should be
|
|
95
|
-
center-aligned on mobile (
|
|
96
|
-
Targets the inner
|
|
95
|
+
center-aligned on mobile (below 480px). Matches the source emaillove .s0>div{text-align:center}.
|
|
96
|
+
Targets the inner div MJML wraps text content in. */
|
|
97
97
|
.email-mobile-center > div { text-align: center !important; }
|
|
98
98
|
|
|
99
99
|
/* Mobile image centering — apply css-class="email-mobile-center-img" on mj-image.
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
.email-mobile-center-img > table { margin: 0 auto !important; }
|
|
105
105
|
|
|
106
106
|
/* Full-width button on mobile — apply css-class="email-btn-full" to mj-button.
|
|
107
|
-
Makes the button's inner
|
|
107
|
+
Makes the button's inner table fill the column width and centers it.
|
|
108
108
|
Matches emaillove .mj-b-full pattern. */
|
|
109
109
|
.email-btn-full > table { width: 100% !important; }
|
|
110
110
|
.email-btn-full > table > tbody > tr > td { text-align: center !important; }
|
|
@@ -132,10 +132,10 @@
|
|
|
132
132
|
* email-card: flip a section or column's background to dark.
|
|
133
133
|
*
|
|
134
134
|
* Three selectors cover every compiled MJML structure:
|
|
135
|
-
* 1. .email-card — the outer
|
|
136
|
-
* 2. .email-card > table — the direct child
|
|
135
|
+
* 1. .email-card — the outer div (mj-section or mj-column)
|
|
136
|
+
* 2. .email-card > table — the direct child table (mj-section has inline bg here)
|
|
137
137
|
* 3. .email-card > table > tbody > tr > td
|
|
138
|
-
* — the content
|
|
138
|
+
* — the content td inside mj-column (carries inline bg-color
|
|
139
139
|
* + border-radius when background-color is set on mj-column)
|
|
140
140
|
*
|
|
141
141
|
* Apply css-class="email-card" to any mj-section or mj-column that should
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
|
|
65
65
|
/* Mobile heading step-down — one-notch scale at the DS phone-only breakpoint
|
|
66
66
|
@media(max-width:479px) (h1 56→48, h2 48→40, h3 40→32, h4 32→24). Keyed off the clay-h*
|
|
67
|
-
css-class on the mj-text
|
|
68
|
-
size is the inline fallback if
|
|
67
|
+
css-class on the mj-text td; targets the inner div where MJML places font-size. Desktop
|
|
68
|
+
size is the inline fallback if style is dropped. Per production emails, only the primary/
|
|
69
69
|
hero heading opts in — add css-class="clay-hN" (alongside mj-class) to the hero heading's
|
|
70
70
|
mj-text; secondary content headings keep mj-class alone and stay at desktop size. */
|
|
71
71
|
@media only screen and (max-width: 479px) {
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
.clay-h4 > div { font-size: 24px !important; }
|
|
76
76
|
|
|
77
77
|
/* Mobile H-padding utilities — apply as css-class on mj-wrapper or mj-section to reduce
|
|
78
|
-
the 40px horizontal padding to the source breakpoint value when columns stack (
|
|
78
|
+
the 40px horizontal padding to the source breakpoint value when columns stack (below 480px).
|
|
79
79
|
Source: emaillove export mobile CSS (.b98-68 → 24px, .d9b-0c → 16px, .fb5-e8 → 24px).
|
|
80
80
|
Targets the outer td MJML generates with inline padding-left/padding-right. */
|
|
81
81
|
.email-mobile-px-24 > table > tbody > tr > td { padding-right: 24px !important; padding-left: 24px !important; }
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
.email-mobile-pt-0 > table > tbody > tr > td { padding-top: 0 !important; }
|
|
85
85
|
|
|
86
86
|
/* Mobile text centering — apply as css-class on mj-text elements whose content should be
|
|
87
|
-
center-aligned on mobile (
|
|
88
|
-
Targets the inner
|
|
87
|
+
center-aligned on mobile (below 480px). Matches the source emaillove .s0>div{text-align:center}.
|
|
88
|
+
Targets the inner div MJML wraps text content in. */
|
|
89
89
|
.email-mobile-center > div { text-align: center !important; }
|
|
90
90
|
|
|
91
91
|
/* Mobile image centering — apply css-class="email-mobile-center-img" on mj-image.
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
.email-mobile-center-img > table { margin: 0 auto !important; }
|
|
97
97
|
|
|
98
98
|
/* Full-width button on mobile — apply css-class="email-btn-full" to mj-button.
|
|
99
|
-
Makes the button's inner
|
|
99
|
+
Makes the button's inner table fill the column width and centers it.
|
|
100
100
|
Matches emaillove .mj-b-full pattern. */
|
|
101
101
|
.email-btn-full > table { width: 100% !important; }
|
|
102
102
|
.email-btn-full > table > tbody > tr > td { text-align: center !important; }
|
|
@@ -124,10 +124,10 @@
|
|
|
124
124
|
* email-card: flip a section or column's background to dark.
|
|
125
125
|
*
|
|
126
126
|
* Three selectors cover every compiled MJML structure:
|
|
127
|
-
* 1. .email-card — the outer
|
|
128
|
-
* 2. .email-card > table — the direct child
|
|
127
|
+
* 1. .email-card — the outer div (mj-section or mj-column)
|
|
128
|
+
* 2. .email-card > table — the direct child table (mj-section has inline bg here)
|
|
129
129
|
* 3. .email-card > table > tbody > tr > td
|
|
130
|
-
* — the content
|
|
130
|
+
* — the content td inside mj-column (carries inline bg-color
|
|
131
131
|
* + border-radius when background-color is set on mj-column)
|
|
132
132
|
*
|
|
133
133
|
* Apply css-class="email-card" to any mj-section or mj-column that should
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
|
|
71
71
|
/* Mobile heading step-down — one-notch scale at the DS phone-only breakpoint
|
|
72
72
|
@media(max-width:479px) (h1 56→48, h2 48→40, h3 40→32, h4 32→24). Keyed off the clay-h*
|
|
73
|
-
css-class on the mj-text
|
|
74
|
-
size is the inline fallback if
|
|
73
|
+
css-class on the mj-text td; targets the inner div where MJML places font-size. Desktop
|
|
74
|
+
size is the inline fallback if style is dropped. Per production emails, only the primary/
|
|
75
75
|
hero heading opts in — add css-class="clay-hN" (alongside mj-class) to the hero heading's
|
|
76
76
|
mj-text; secondary content headings keep mj-class alone and stay at desktop size. */
|
|
77
77
|
@media only screen and (max-width: 479px) {
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
.clay-h4 > div { font-size: 24px !important; }
|
|
82
82
|
|
|
83
83
|
/* Mobile H-padding utilities — apply as css-class on mj-wrapper or mj-section to reduce
|
|
84
|
-
the 40px horizontal padding to the source breakpoint value when columns stack (
|
|
84
|
+
the 40px horizontal padding to the source breakpoint value when columns stack (below 480px).
|
|
85
85
|
Source: emaillove export mobile CSS (.b98-68 → 24px, .d9b-0c → 16px, .fb5-e8 → 24px).
|
|
86
86
|
Targets the outer td MJML generates with inline padding-left/padding-right. */
|
|
87
87
|
.email-mobile-px-24 > table > tbody > tr > td { padding-right: 24px !important; padding-left: 24px !important; }
|
|
@@ -90,8 +90,8 @@
|
|
|
90
90
|
.email-mobile-pt-0 > table > tbody > tr > td { padding-top: 0 !important; }
|
|
91
91
|
|
|
92
92
|
/* Mobile text centering — apply as css-class on mj-text elements whose content should be
|
|
93
|
-
center-aligned on mobile (
|
|
94
|
-
Targets the inner
|
|
93
|
+
center-aligned on mobile (below 480px). Matches the source emaillove .s0>div{text-align:center}.
|
|
94
|
+
Targets the inner div MJML wraps text content in. */
|
|
95
95
|
.email-mobile-center > div { text-align: center !important; }
|
|
96
96
|
|
|
97
97
|
/* Mobile image centering — apply css-class="email-mobile-center-img" on mj-image.
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
.email-mobile-center-img > table { margin: 0 auto !important; }
|
|
103
103
|
|
|
104
104
|
/* Full-width button on mobile — apply css-class="email-btn-full" to mj-button.
|
|
105
|
-
Makes the button's inner
|
|
105
|
+
Makes the button's inner table fill the column width and centers it.
|
|
106
106
|
Matches emaillove .mj-b-full pattern. */
|
|
107
107
|
.email-btn-full > table { width: 100% !important; }
|
|
108
108
|
.email-btn-full > table > tbody > tr > td { text-align: center !important; }
|
|
@@ -130,10 +130,10 @@
|
|
|
130
130
|
* email-card: flip a section or column's background to dark.
|
|
131
131
|
*
|
|
132
132
|
* Three selectors cover every compiled MJML structure:
|
|
133
|
-
* 1. .email-card — the outer
|
|
134
|
-
* 2. .email-card > table — the direct child
|
|
133
|
+
* 1. .email-card — the outer div (mj-section or mj-column)
|
|
134
|
+
* 2. .email-card > table — the direct child table (mj-section has inline bg here)
|
|
135
135
|
* 3. .email-card > table > tbody > tr > td
|
|
136
|
-
* — the content
|
|
136
|
+
* — the content td inside mj-column (carries inline bg-color
|
|
137
137
|
* + border-radius when background-color is set on mj-column)
|
|
138
138
|
*
|
|
139
139
|
* Apply css-class="email-card" to any mj-section or mj-column that should
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
|
|
75
75
|
/* Mobile heading step-down — one-notch scale at the DS phone-only breakpoint
|
|
76
76
|
@media(max-width:479px) (h1 56→48, h2 48→40, h3 40→32, h4 32→24). Keyed off the clay-h*
|
|
77
|
-
css-class on the mj-text
|
|
78
|
-
size is the inline fallback if
|
|
77
|
+
css-class on the mj-text td; targets the inner div where MJML places font-size. Desktop
|
|
78
|
+
size is the inline fallback if style is dropped. Per production emails, only the primary/
|
|
79
79
|
hero heading opts in — add css-class="clay-hN" (alongside mj-class) to the hero heading's
|
|
80
80
|
mj-text; secondary content headings keep mj-class alone and stay at desktop size. */
|
|
81
81
|
@media only screen and (max-width: 479px) {
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
.clay-h4 > div { font-size: 24px !important; }
|
|
86
86
|
|
|
87
87
|
/* Mobile H-padding utilities — apply as css-class on mj-wrapper or mj-section to reduce
|
|
88
|
-
the 40px horizontal padding to the source breakpoint value when columns stack (
|
|
88
|
+
the 40px horizontal padding to the source breakpoint value when columns stack (below 480px).
|
|
89
89
|
Source: emaillove export mobile CSS (.b98-68 → 24px, .d9b-0c → 16px, .fb5-e8 → 24px).
|
|
90
90
|
Targets the outer td MJML generates with inline padding-left/padding-right. */
|
|
91
91
|
.email-mobile-px-24 > table > tbody > tr > td { padding-right: 24px !important; padding-left: 24px !important; }
|
|
@@ -94,8 +94,8 @@
|
|
|
94
94
|
.email-mobile-pt-0 > table > tbody > tr > td { padding-top: 0 !important; }
|
|
95
95
|
|
|
96
96
|
/* Mobile text centering — apply as css-class on mj-text elements whose content should be
|
|
97
|
-
center-aligned on mobile (
|
|
98
|
-
Targets the inner
|
|
97
|
+
center-aligned on mobile (below 480px). Matches the source emaillove .s0>div{text-align:center}.
|
|
98
|
+
Targets the inner div MJML wraps text content in. */
|
|
99
99
|
.email-mobile-center > div { text-align: center !important; }
|
|
100
100
|
|
|
101
101
|
/* Mobile image centering — apply css-class="email-mobile-center-img" on mj-image.
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
.email-mobile-center-img > table { margin: 0 auto !important; }
|
|
107
107
|
|
|
108
108
|
/* Full-width button on mobile — apply css-class="email-btn-full" to mj-button.
|
|
109
|
-
Makes the button's inner
|
|
109
|
+
Makes the button's inner table fill the column width and centers it.
|
|
110
110
|
Matches emaillove .mj-b-full pattern. */
|
|
111
111
|
.email-btn-full > table { width: 100% !important; }
|
|
112
112
|
.email-btn-full > table > tbody > tr > td { text-align: center !important; }
|
|
@@ -134,10 +134,10 @@
|
|
|
134
134
|
* email-card: flip a section or column's background to dark.
|
|
135
135
|
*
|
|
136
136
|
* Three selectors cover every compiled MJML structure:
|
|
137
|
-
* 1. .email-card — the outer
|
|
138
|
-
* 2. .email-card > table — the direct child
|
|
137
|
+
* 1. .email-card — the outer div (mj-section or mj-column)
|
|
138
|
+
* 2. .email-card > table — the direct child table (mj-section has inline bg here)
|
|
139
139
|
* 3. .email-card > table > tbody > tr > td
|
|
140
|
-
* — the content
|
|
140
|
+
* — the content td inside mj-column (carries inline bg-color
|
|
141
141
|
* + border-radius when background-color is set on mj-column)
|
|
142
142
|
*
|
|
143
143
|
* Apply css-class="email-card" to any mj-section or mj-column that should
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
|
|
77
77
|
/* Mobile heading step-down — one-notch scale at the DS phone-only breakpoint
|
|
78
78
|
@media(max-width:479px) (h1 56→48, h2 48→40, h3 40→32, h4 32→24). Keyed off the clay-h*
|
|
79
|
-
css-class on the mj-text
|
|
80
|
-
size is the inline fallback if
|
|
79
|
+
css-class on the mj-text td; targets the inner div where MJML places font-size. Desktop
|
|
80
|
+
size is the inline fallback if style is dropped. Per production emails, only the primary/
|
|
81
81
|
hero heading opts in — add css-class="clay-hN" (alongside mj-class) to the hero heading's
|
|
82
82
|
mj-text; secondary content headings keep mj-class alone and stay at desktop size. */
|
|
83
83
|
@media only screen and (max-width: 479px) {
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
.clay-h4 > div { font-size: 24px !important; }
|
|
88
88
|
|
|
89
89
|
/* Mobile H-padding utilities — apply as css-class on mj-wrapper or mj-section to reduce
|
|
90
|
-
the 40px horizontal padding to the source breakpoint value when columns stack (
|
|
90
|
+
the 40px horizontal padding to the source breakpoint value when columns stack (below 480px).
|
|
91
91
|
Source: emaillove export mobile CSS (.b98-68 → 24px, .d9b-0c → 16px, .fb5-e8 → 24px).
|
|
92
92
|
Targets the outer td MJML generates with inline padding-left/padding-right. */
|
|
93
93
|
.email-mobile-px-24 > table > tbody > tr > td { padding-right: 24px !important; padding-left: 24px !important; }
|
|
@@ -96,8 +96,8 @@
|
|
|
96
96
|
.email-mobile-pt-0 > table > tbody > tr > td { padding-top: 0 !important; }
|
|
97
97
|
|
|
98
98
|
/* Mobile text centering — apply as css-class on mj-text elements whose content should be
|
|
99
|
-
center-aligned on mobile (
|
|
100
|
-
Targets the inner
|
|
99
|
+
center-aligned on mobile (below 480px). Matches the source emaillove .s0>div{text-align:center}.
|
|
100
|
+
Targets the inner div MJML wraps text content in. */
|
|
101
101
|
.email-mobile-center > div { text-align: center !important; }
|
|
102
102
|
|
|
103
103
|
/* Mobile image centering — apply css-class="email-mobile-center-img" on mj-image.
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
.email-mobile-center-img > table { margin: 0 auto !important; }
|
|
109
109
|
|
|
110
110
|
/* Full-width button on mobile — apply css-class="email-btn-full" to mj-button.
|
|
111
|
-
Makes the button's inner
|
|
111
|
+
Makes the button's inner table fill the column width and centers it.
|
|
112
112
|
Matches emaillove .mj-b-full pattern. */
|
|
113
113
|
.email-btn-full > table { width: 100% !important; }
|
|
114
114
|
.email-btn-full > table > tbody > tr > td { text-align: center !important; }
|
|
@@ -136,10 +136,10 @@
|
|
|
136
136
|
* email-card: flip a section or column's background to dark.
|
|
137
137
|
*
|
|
138
138
|
* Three selectors cover every compiled MJML structure:
|
|
139
|
-
* 1. .email-card — the outer
|
|
140
|
-
* 2. .email-card > table — the direct child
|
|
139
|
+
* 1. .email-card — the outer div (mj-section or mj-column)
|
|
140
|
+
* 2. .email-card > table — the direct child table (mj-section has inline bg here)
|
|
141
141
|
* 3. .email-card > table > tbody > tr > td
|
|
142
|
-
* — the content
|
|
142
|
+
* — the content td inside mj-column (carries inline bg-color
|
|
143
143
|
* + border-radius when background-color is set on mj-column)
|
|
144
144
|
*
|
|
145
145
|
* Apply css-class="email-card" to any mj-section or mj-column that should
|