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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
|
<?php /** * Additional email styles that are added to every email template. * Override this template by copying it to yourtheme/automatewoo/email/ */
defined( 'ABSPATH' ) || exit;
$bg = get_option( 'woocommerce_email_background_color' ); $body = get_option( 'woocommerce_email_body_background_color' ); $base = get_option( 'woocommerce_email_base_color' ); $text = get_option( 'woocommerce_email_text_color' ); $base_text = wc_light_or_dark( $base, '#202020', '#ffffff' );
?>
<?php /** Basic */ ?>
img.aligncenter { margin: 0 auto 10px; display: block; }
img.alignleft { float: left; margin-right: 15px; margin-bottom: 10px; }
img.alignright { float: right; margin-left: 15px; margin-bottom: 10px; }
<?php /** Products display */ ?>
table.aw-product-grid { width: 100%; }
.aw-product-grid-container { font-size: 0px; margin: 10px 0 10px; }
.aw-product-grid-item-3-col { width: 30.5%; display: inline-block; text-align:left; padding: 0 0 30px; vertical-align:top; word-wrap:break-word; margin-right: 4%; font-size: 14px; }
.aw-product-grid-item-2-col { width: 46%; display: inline-block; text-align:left; padding: 0 0 30px; vertical-align:top; word-wrap:break-word; margin-right: 6%; font-size: 14px; }
table.aw-product-rows { margin: 10px 0; border-top: 1px solid #dddddd; }
table.aw-product-rows td { padding: 13px; border-bottom: 1px solid #dddddd; }
table.aw-product-rows td.image { padding-left: 0 !important; }
table.aw-product-rows td.last { padding-right: 0 !important; }
table.aw-order-table img, table.aw-product-grid img, table.aw-product-rows td img { max-width: 100%; height: auto; }
table.aw-product-rows h3, table.aw-product-rows p { margin: 5px 0 !important; }
table.aw-order-table { width: 100%; border: 1px solid #eee; }
table.aw-order-table tr td, table.aw-order-table tr th { text-align:left; vertical-align:middle; border: 1px solid #eee; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; word-wrap:break-word; }
.aw-coupon-code, .automatewoo-coupon { font-weight: bold; letter-spacing: 2px; display: inline-block; padding: 12px 25px 13px; font-size: 17px; color: <?php echo esc_attr( $text ); ?>; border: 2px solid <?php echo esc_attr( $text ); ?> }
a.aw-btn-1, a.automatewoo-button { background-color: <?php echo esc_attr( $base ); ?>; border-radius: 4px; font-weight: bold; display: inline-block; padding: 12px 35px 13px; margin: 8px auto; font-size: 14px; text-decoration: none !important; color: #ffffff !important; text-align: center; }
a.automatewoo-button--wide { display: block; }
a.automatewoo-button--small { font-size: 13px; padding: 6px 16px 7px; margin: 5px auto; }
a.automatewoo-button--large { font-size: 16px; margin: 10px auto; padding: 14px 40px 15px; }
.automatewoo-plain-email-footer { font-size: 75%; color:#999999; }
.automatewoo-plain-email-footer a { color:#999999; }
.aw-reviews-grid__item h3, .aw-reviews-grid__item p { text-align: center; }
.screen-reader-text { display: none; }
|