1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// /**
// * Copyright © Magento, Inc. All rights reserved.
// * See COPYING.txt for license details.
// */
//
// Email extend styles
// _____________________________________________
// This file should be used for theme-specific styles for emails that extend or modify the styles in _email.less
// This will allow you to edit email styles without copying and editing the _email.less file
// Importing fonts from an external CSS file, rather than embedding @font-face declarations inside the <style> tag,
// as the latter will cause font rendering issues if the web fonts are inaccessible.
@import url("@{baseUrl}css/email-fonts.css");
.header {
background-color: @email__background-color;
padding: @email-body__padding;
}
.footer {
background-color: @email__background-color;
padding: @email-body__padding;
table {
width: 100%;
td {
padding-bottom: @email-body__padding;
width: 33%;
p {
margin-bottom: 0;
&.phone {
font-size: @font-size__l;
a {
color: inherit;
}
}
}
}
}
}
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__xs) {
.header,
.main-content,
.footer {
padding: @email-body__padding @indent__s !important;
}
.footer {
td {
display: block;
width: auto !important;
}
}
}