bullet_train-themes-light 1.0.20 → 1.0.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/light/tailwind/dark-mode.css +2 -4
- data/app/views/themes/light/_title.html.erb +1 -1
- data/app/views/themes/light/layouts/_account.html.erb +1 -1
- data/app/views/themes/light/layouts/_devise.html.erb +1 -1
- data/app/views/themes/light/layouts/_mailer.html.erb +429 -0
- data/lib/bullet_train/themes/light/version.rb +1 -1
- data/lib/tasks/bullet_train/themes/light_tasks.rake +1 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e115d85db405bc49a6ac24c8307be81d0b47578721204c3d3a46bff8dae9830
|
4
|
+
data.tar.gz: 1c3d99286f0cf02625aa34e7f4ad3db8342b61cdd9c5c679c80e3395fa648783
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12a7f99f570bdcfb26d3fade9bc5b88ec9d80d0345a8f546d60104469ca1aca2073160e5d702493b7628c6ca88535792ce40d1652e8fd60f633341ee92f9788c
|
7
|
+
data.tar.gz: 7d7d73ead2f224c97467f8b83c6a1e62ab6bef3ffb208d3df140a8304c3e2f1e1ba281d1b9ce1e6ce3bed8642b1cb3f5d8c1721aada8a664a5188c6a01e5811f
|
@@ -194,10 +194,8 @@
|
|
194
194
|
@apply bg-darkPrimary-800 border-darkPrimary-900 !important;
|
195
195
|
}
|
196
196
|
|
197
|
-
.trix-content {
|
198
|
-
|
199
|
-
@apply bg-darkPrimary-500 text-white;
|
200
|
-
}
|
197
|
+
.trix-content a[href^="bullettrain://"] {
|
198
|
+
@apply text-white bg-darkPrimary-500;
|
201
199
|
}
|
202
200
|
|
203
201
|
/* CKEditor */
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html class="theme-<%= BulletTrain::Themes::Light.color %>">
|
3
3
|
<head>
|
4
|
-
<%= render '
|
4
|
+
<%= render 'shared/layouts/head' %>
|
5
5
|
</head>
|
6
6
|
<body class="bg-light-gradient text-gray-700 text-sm font-normal dark:bg-dark-gradient dark:text-darkPrimary-300">
|
7
7
|
<div class="p-4 bg-primary-900 electron-draggable electron-title-bar hidden electron-mobile-only"></div>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html class="theme-<%= BulletTrain::Themes::Light.color %>">
|
3
3
|
<head>
|
4
|
-
<%= render '
|
4
|
+
<%= render 'shared/layouts/head' %>
|
5
5
|
</head>
|
6
6
|
<body class="bg-light-gradient text-gray-700 text-sm font-normal electron-draggable dark:bg-dark-gradient dark:text-darkPrimary-300">
|
7
7
|
<div data-turbo="false">
|
@@ -0,0 +1,429 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
|
+
<head>
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
6
|
+
<title>Welcome to <%= t('application.name') %>!</title>
|
7
|
+
|
8
|
+
<%= stylesheet_link_tag 'application', media: 'all'%>
|
9
|
+
<%= stylesheet_link_tag 'application.mailer.light', media: 'all' %>
|
10
|
+
|
11
|
+
<% # TODO replace with Tailwind CSS styles. %>
|
12
|
+
<style type="text/css">
|
13
|
+
*:not(br):not(tr):not(html) {
|
14
|
+
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
15
|
+
box-sizing: border-box;
|
16
|
+
}
|
17
|
+
|
18
|
+
body {
|
19
|
+
width: 100% !important;
|
20
|
+
height: 100%;
|
21
|
+
margin: 0;
|
22
|
+
line-height: 1.4;
|
23
|
+
background-color: #F6F7F8;
|
24
|
+
color: #3E4B5B;
|
25
|
+
font-size: 16px;
|
26
|
+
-webkit-text-size-adjust: none;
|
27
|
+
}
|
28
|
+
|
29
|
+
p,
|
30
|
+
ul,
|
31
|
+
ol,
|
32
|
+
blockquote {
|
33
|
+
line-height: 1.4;
|
34
|
+
text-align: left;
|
35
|
+
}
|
36
|
+
|
37
|
+
a {
|
38
|
+
color: #047BF8;
|
39
|
+
}
|
40
|
+
|
41
|
+
a img {
|
42
|
+
border: none;
|
43
|
+
}
|
44
|
+
/* Layout ------------------------------ */
|
45
|
+
|
46
|
+
.email-wrapper {
|
47
|
+
width: 100%;
|
48
|
+
margin: 0;
|
49
|
+
padding: 0;
|
50
|
+
background-color: #F6F7F8;
|
51
|
+
}
|
52
|
+
|
53
|
+
.email-content {
|
54
|
+
width: 100%;
|
55
|
+
margin: 0;
|
56
|
+
padding: 0;
|
57
|
+
}
|
58
|
+
/* Masthead ----------------------- */
|
59
|
+
|
60
|
+
.email-masthead {
|
61
|
+
padding: 25px 0;
|
62
|
+
text-align: center;
|
63
|
+
}
|
64
|
+
|
65
|
+
.email-masthead_logo {
|
66
|
+
width: 94px;
|
67
|
+
}
|
68
|
+
|
69
|
+
.email-masthead_name {
|
70
|
+
font-size: 16px;
|
71
|
+
/*font-weight: bold;*/
|
72
|
+
color: #bbbfc3;
|
73
|
+
text-decoration: none;
|
74
|
+
/*text-shadow: 0 1px 0 white;*/
|
75
|
+
}
|
76
|
+
/* Body ------------------------------ */
|
77
|
+
|
78
|
+
.email-body {
|
79
|
+
width: 100%;
|
80
|
+
margin: 0;
|
81
|
+
padding: 0;
|
82
|
+
border-top: 1px solid #EDEFF2;
|
83
|
+
border-bottom: 1px solid #EDEFF2;
|
84
|
+
background-color: #FFFFFF;
|
85
|
+
|
86
|
+
}
|
87
|
+
|
88
|
+
.email-body_inner {
|
89
|
+
width: 570px;
|
90
|
+
margin: 0 auto;
|
91
|
+
padding: 0;
|
92
|
+
background-color: #FFFFFF;
|
93
|
+
}
|
94
|
+
|
95
|
+
.email-footer {
|
96
|
+
width: 570px;
|
97
|
+
margin: 0 auto;
|
98
|
+
padding: 0;
|
99
|
+
text-align: center;
|
100
|
+
}
|
101
|
+
|
102
|
+
.email-footer p {
|
103
|
+
color: #AAAAAA;
|
104
|
+
}
|
105
|
+
|
106
|
+
.body-action {
|
107
|
+
width: 100%;
|
108
|
+
margin: 30px auto;
|
109
|
+
padding: 0;
|
110
|
+
text-align: center;
|
111
|
+
}
|
112
|
+
|
113
|
+
.body-sub {
|
114
|
+
margin-top: 25px;
|
115
|
+
padding-top: 25px;
|
116
|
+
border-top: 1px solid #EDEFF2;
|
117
|
+
}
|
118
|
+
|
119
|
+
.content-cell {
|
120
|
+
padding: 35px;
|
121
|
+
}
|
122
|
+
|
123
|
+
.preheader {
|
124
|
+
display: none !important;
|
125
|
+
}
|
126
|
+
/* Attribute list ------------------------------ */
|
127
|
+
|
128
|
+
.attributes {
|
129
|
+
margin: 0 0 21px;
|
130
|
+
}
|
131
|
+
|
132
|
+
.attributes_content {
|
133
|
+
background-color: #EDEFF2;
|
134
|
+
padding: 16px;
|
135
|
+
}
|
136
|
+
|
137
|
+
.attributes_item {
|
138
|
+
padding: 0;
|
139
|
+
}
|
140
|
+
/* Related Items ------------------------------ */
|
141
|
+
|
142
|
+
.related {
|
143
|
+
width: 100%;
|
144
|
+
margin: 0;
|
145
|
+
padding: 25px 0 0 0;
|
146
|
+
}
|
147
|
+
|
148
|
+
.related_item {
|
149
|
+
padding: 10px 0;
|
150
|
+
color: #3E4B5B;
|
151
|
+
font-size: 15px;
|
152
|
+
line-height: 18px;
|
153
|
+
}
|
154
|
+
|
155
|
+
.related_item-title {
|
156
|
+
display: block;
|
157
|
+
margin: .5em 0 0;
|
158
|
+
}
|
159
|
+
|
160
|
+
.related_item-thumb {
|
161
|
+
display: block;
|
162
|
+
padding-bottom: 10px;
|
163
|
+
}
|
164
|
+
|
165
|
+
.related_heading {
|
166
|
+
border-top: 1px solid #EDEFF2;
|
167
|
+
text-align: center;
|
168
|
+
padding: 25px 0 10px;
|
169
|
+
}
|
170
|
+
/* Discount Code ------------------------------ */
|
171
|
+
|
172
|
+
.discount {
|
173
|
+
width: 100%;
|
174
|
+
margin: 0;
|
175
|
+
padding: 24px;
|
176
|
+
background-color: #EDEFF2;
|
177
|
+
border: 2px dashed #9BA2AB;
|
178
|
+
}
|
179
|
+
|
180
|
+
.discount_heading {
|
181
|
+
text-align: center;
|
182
|
+
}
|
183
|
+
|
184
|
+
.discount_body {
|
185
|
+
text-align: center;
|
186
|
+
font-size: 15px;
|
187
|
+
}
|
188
|
+
/* Social Icons ------------------------------ */
|
189
|
+
|
190
|
+
.social {
|
191
|
+
width: auto;
|
192
|
+
}
|
193
|
+
|
194
|
+
.social td {
|
195
|
+
padding: 0;
|
196
|
+
width: auto;
|
197
|
+
}
|
198
|
+
|
199
|
+
.social_icon {
|
200
|
+
height: 20px;
|
201
|
+
margin: 0 8px 10px 8px;
|
202
|
+
padding: 0;
|
203
|
+
}
|
204
|
+
/* Data table ------------------------------ */
|
205
|
+
|
206
|
+
.purchase {
|
207
|
+
width: 100%;
|
208
|
+
margin: 0;
|
209
|
+
padding: 35px 0;
|
210
|
+
}
|
211
|
+
|
212
|
+
.purchase_content {
|
213
|
+
width: 100%;
|
214
|
+
margin: 0;
|
215
|
+
padding: 25px 0 0 0;
|
216
|
+
}
|
217
|
+
|
218
|
+
.purchase_item {
|
219
|
+
padding: 10px 0;
|
220
|
+
color: #3E4B5B;
|
221
|
+
font-size: 15px;
|
222
|
+
line-height: 18px;
|
223
|
+
}
|
224
|
+
|
225
|
+
.purchase_heading {
|
226
|
+
padding-bottom: 8px;
|
227
|
+
border-bottom: 1px solid #EDEFF2;
|
228
|
+
}
|
229
|
+
|
230
|
+
.purchase_heading p {
|
231
|
+
margin: 0;
|
232
|
+
color: #9BA2AB;
|
233
|
+
font-size: 12px;
|
234
|
+
}
|
235
|
+
|
236
|
+
.purchase_footer {
|
237
|
+
padding-top: 15px;
|
238
|
+
border-top: 1px solid #EDEFF2;
|
239
|
+
}
|
240
|
+
|
241
|
+
.purchase_total {
|
242
|
+
margin: 0;
|
243
|
+
text-align: right;
|
244
|
+
/*font-weight: bold;*/
|
245
|
+
color: #3E4B5B;
|
246
|
+
}
|
247
|
+
|
248
|
+
.purchase_total--label {
|
249
|
+
padding: 0 15px 0 0;
|
250
|
+
}
|
251
|
+
/* Utilities ------------------------------ */
|
252
|
+
|
253
|
+
.align-right {
|
254
|
+
text-align: right;
|
255
|
+
}
|
256
|
+
|
257
|
+
.align-left {
|
258
|
+
text-align: left;
|
259
|
+
}
|
260
|
+
|
261
|
+
.align-center {
|
262
|
+
text-align: center;
|
263
|
+
}
|
264
|
+
/*Media Queries ------------------------------ */
|
265
|
+
|
266
|
+
@media only screen and (max-width: 600px) {
|
267
|
+
.email-body_inner,
|
268
|
+
.email-footer {
|
269
|
+
width: 100% !important;
|
270
|
+
}
|
271
|
+
}
|
272
|
+
|
273
|
+
@media only screen and (max-width: 500px) {
|
274
|
+
.button {
|
275
|
+
width: 100% !important;
|
276
|
+
}
|
277
|
+
}
|
278
|
+
/* Buttons ------------------------------ */
|
279
|
+
|
280
|
+
.button {
|
281
|
+
background-color: #047BF8;
|
282
|
+
border-top: 10px solid #047BF8;
|
283
|
+
border-right: 18px solid #047BF8;
|
284
|
+
border-bottom: 10px solid #047BF8;
|
285
|
+
border-left: 18px solid #047BF8;
|
286
|
+
display: inline-block;
|
287
|
+
color: #FFF;
|
288
|
+
text-decoration: none;
|
289
|
+
border-radius: 3px;
|
290
|
+
-webkit-text-size-adjust: none;
|
291
|
+
line-height: 22px;
|
292
|
+
font-size: 16px;
|
293
|
+
color: #FFF;
|
294
|
+
}
|
295
|
+
|
296
|
+
.button--link {
|
297
|
+
background-color: transparent;
|
298
|
+
border-top: 10px solid transparent;
|
299
|
+
border-right: 18px solid transparent;
|
300
|
+
border-bottom: 10px solid transparent;
|
301
|
+
border-left: 18px solid transparent;
|
302
|
+
display: inline-block;
|
303
|
+
color: #047BF8;
|
304
|
+
text-decoration: underline;
|
305
|
+
border-radius: 3px;
|
306
|
+
/*box-shadow: 0 2px 3px rgba(0, 0, 0, 0.16);*/
|
307
|
+
-webkit-text-size-adjust: none;
|
308
|
+
}
|
309
|
+
|
310
|
+
.button--green {
|
311
|
+
background-color: #22BC66;
|
312
|
+
border-top: 10px solid #22BC66;
|
313
|
+
border-right: 18px solid #22BC66;
|
314
|
+
border-bottom: 10px solid #22BC66;
|
315
|
+
border-left: 18px solid #22BC66;
|
316
|
+
}
|
317
|
+
|
318
|
+
.button--red {
|
319
|
+
background-color: #FF6136;
|
320
|
+
border-top: 10px solid #FF6136;
|
321
|
+
border-right: 18px solid #FF6136;
|
322
|
+
border-bottom: 10px solid #FF6136;
|
323
|
+
border-left: 18px solid #FF6136;
|
324
|
+
}
|
325
|
+
/* Type ------------------------------ */
|
326
|
+
|
327
|
+
h1 {
|
328
|
+
margin-top: 0;
|
329
|
+
color: #3E4B5B;
|
330
|
+
font-size: 19px;
|
331
|
+
font-weight: bold;
|
332
|
+
text-align: left;
|
333
|
+
}
|
334
|
+
|
335
|
+
h2 {
|
336
|
+
margin-top: 0;
|
337
|
+
color: #3E4B5B;
|
338
|
+
font-size: 16px;
|
339
|
+
font-weight: bold;
|
340
|
+
text-align: left;
|
341
|
+
}
|
342
|
+
|
343
|
+
h3 {
|
344
|
+
margin-top: 0;
|
345
|
+
color: #3E4B5B;
|
346
|
+
font-size: 14px;
|
347
|
+
font-weight: bold;
|
348
|
+
text-align: left;
|
349
|
+
}
|
350
|
+
|
351
|
+
p {
|
352
|
+
margin-top: 0;
|
353
|
+
color: #3E4B5B;
|
354
|
+
font-size: 16px;
|
355
|
+
line-height: 1.5em;
|
356
|
+
text-align: left;
|
357
|
+
}
|
358
|
+
|
359
|
+
p.sub {
|
360
|
+
font-size: 12px;
|
361
|
+
}
|
362
|
+
|
363
|
+
p.center {
|
364
|
+
text-align: center;
|
365
|
+
}
|
366
|
+
|
367
|
+
.body-action.less-footer {
|
368
|
+
margin-bottom: 10px;
|
369
|
+
}
|
370
|
+
</style>
|
371
|
+
</head>
|
372
|
+
<body>
|
373
|
+
<% if content_for? :preheader %>
|
374
|
+
<span class="preheader"><% yield :preheader %></span>
|
375
|
+
<% end %>
|
376
|
+
<table class="email-wrapper" width="100%" cellpadding="0" cellspacing="0">
|
377
|
+
<tr>
|
378
|
+
<td align="center">
|
379
|
+
<table class="email-content" width="100%" cellpadding="0" cellspacing="0">
|
380
|
+
<tr>
|
381
|
+
<td class="email-masthead">
|
382
|
+
<a href="<%= root_url %>" class="email-masthead_name">
|
383
|
+
<%= email_image_tag("logo/logo.png", width: image_width_for_height("logo/logo.png", BulletTrain::Themes.logo_height), height: BulletTrain::Themes.logo_height, style: "width: #{image_width_for_height('logo/logo.png', BulletTrain::Themes.logo_height)}px; height: #{BulletTrain::Themes.logo_height}px;") %>
|
384
|
+
</a>
|
385
|
+
</td>
|
386
|
+
</tr>
|
387
|
+
<!-- Email Body -->
|
388
|
+
<tr>
|
389
|
+
<td class="email-body" width="100%" cellpadding="0" cellspacing="0">
|
390
|
+
<table class="email-body_inner" align="center" width="570" cellpadding="0" cellspacing="0">
|
391
|
+
<!-- Body content -->
|
392
|
+
<tr>
|
393
|
+
<td class="content-cell">
|
394
|
+
|
395
|
+
<%= yield %>
|
396
|
+
|
397
|
+
<% if false %>
|
398
|
+
<!-- Sub copy -->
|
399
|
+
<table class="body-sub">
|
400
|
+
<tr>
|
401
|
+
<td>
|
402
|
+
<p class="sub"><%= t('.trouble') %></p>
|
403
|
+
<p class="sub">{{action_url}}</p>
|
404
|
+
</td>
|
405
|
+
</tr>
|
406
|
+
</table>
|
407
|
+
<% end %>
|
408
|
+
</td>
|
409
|
+
</tr>
|
410
|
+
</table>
|
411
|
+
</td>
|
412
|
+
</tr>
|
413
|
+
<tr>
|
414
|
+
<td>
|
415
|
+
<table class="email-footer" align="center" width="570" cellpadding="0" cellspacing="0">
|
416
|
+
<tr>
|
417
|
+
<td class="content-cell" align="center">
|
418
|
+
<p class="sub align-center">© <%= t('layouts.mailer.all_rights_reserved', year: Date.today.year, product_name: t('application.name')) %></p>
|
419
|
+
</td>
|
420
|
+
</tr>
|
421
|
+
</table>
|
422
|
+
</td>
|
423
|
+
</tr>
|
424
|
+
</table>
|
425
|
+
</td>
|
426
|
+
</tr>
|
427
|
+
</table>
|
428
|
+
</body>
|
429
|
+
</html>
|
@@ -21,6 +21,7 @@ namespace :bullet_train do
|
|
21
21
|
puts "Ejecting all theme partials into `./app/views/themes/#{args[:destination]}`."
|
22
22
|
`mkdir #{Rails.root}/app/views/themes`
|
23
23
|
`cp -R #{theme_base_path}/app/views/themes/light #{Rails.root}/app/views/themes/#{args[:destination]}`
|
24
|
+
`sed -i #{'""' if `echo $OSTYPE`.include?("darwin")} "s/light/#{args[:destination]}/g" #{Rails.root}/app/views/themes/#{args[:destination]}/layouts/_head.html.erb`
|
24
25
|
|
25
26
|
puts "Cutting local `Procfile.dev` over from `light` to `#{args[:destination]}`."
|
26
27
|
`sed -i #{'""' if `echo $OSTYPE`.include?("darwin")} "s/light/#{args[:destination]}/g" #{Rails.root}/Procfile.dev`
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet_train-themes-light
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -91,6 +91,7 @@ files:
|
|
91
91
|
- app/views/themes/light/layouts/_account.html.erb
|
92
92
|
- app/views/themes/light/layouts/_devise.html.erb
|
93
93
|
- app/views/themes/light/layouts/_head.html.erb
|
94
|
+
- app/views/themes/light/layouts/_mailer.html.erb
|
94
95
|
- app/views/themes/light/memberships/_photos.html.erb
|
95
96
|
- app/views/themes/light/menu/_heading.html.erb
|
96
97
|
- app/views/themes/light/menu/_item.html.erb
|
@@ -123,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
124
|
- !ruby/object:Gem::Version
|
124
125
|
version: '0'
|
125
126
|
requirements: []
|
126
|
-
rubygems_version: 3.
|
127
|
+
rubygems_version: 3.2.22
|
127
128
|
signing_key:
|
128
129
|
specification_version: 4
|
129
130
|
summary: 'Bullet Train Themes: Light'
|