myrails 4.0.0 → 5.0.0
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.
- checksums.yaml +4 -4
- data/lib/myrails.rb +366 -167
- data/lib/myrails/templates/capistrano/config/deploy/templates/maintenance/index.html +41 -0
- data/lib/myrails/templates/capistrano/config/deploy/templates/monit.conf.erb +4 -0
- data/lib/myrails/templates/capistrano/config/deploy/templates/nginx.conf.erb +69 -0
- data/lib/myrails/templates/capistrano/config/deploy/templates/unicorn.rb.erb +26 -0
- data/lib/myrails/templates/capistrano/config/deploy/templates/unicorn_init.sh.erb +71 -0
- data/lib/myrails/templates/capistrano/lib/capistrano/tasks/maintenance.rake +16 -0
- data/lib/myrails/templates/capistrano/lib/capistrano/tasks/monit.rake +64 -0
- data/lib/myrails/templates/capistrano/lib/capistrano/tasks/nginx.rake +68 -0
- data/lib/myrails/templates/capistrano/lib/capistrano/tasks/unicorn.rake +114 -0
- data/lib/myrails/templates/{assets → rails/app/assets/javascripts}/application.js +0 -1
- data/lib/myrails/templates/{assets → rails/app/assets/stylesheets}/animate.scss +0 -0
- data/lib/myrails/templates/{assets → rails/app/assets/stylesheets}/application.css.sass +0 -2
- data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/cerulean.scss +0 -0
- data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/cosmo.scss +0 -0
- data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/cyborg.scss +0 -0
- data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/darkly.scss +0 -0
- data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/flatly.scss +0 -0
- data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/journal.scss +0 -0
- data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/lumen.scss +0 -0
- data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/paper.scss +0 -0
- data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/readable.scss +0 -0
- data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/sandstone.scss +0 -0
- data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/simplex.scss +0 -0
- data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/slate.scss +0 -0
- data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/spacelab.scss +0 -0
- data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/superhero.scss +0 -0
- data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/united.scss +0 -0
- data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/yeti.scss +0 -0
- data/lib/myrails/templates/{assets → rails/app/assets/stylesheets}/will_paginate.scss +0 -0
- data/lib/myrails/templates/rails/{controller.rb → app/controllers/controller.rb} +0 -0
- data/lib/myrails/templates/rails/{namespace_controller.rb → app/controllers/namespace_controller.rb} +0 -0
- data/lib/myrails/templates/rails/{application_helper.rb → app/helpers/application_helper.rb} +0 -0
- data/lib/myrails/templates/{mailer → rails/app/mailers}/dev_mail_interceptor.rb +0 -0
- data/lib/myrails/templates/{mailer → rails/app/mailers}/sendgrid.rb +0 -0
- data/lib/myrails/templates/rails/{model.rb → app/models/model.rb} +0 -0
- data/lib/myrails/templates/rails/{namespace_model.rb → app/models/namespace_model.rb} +0 -0
- data/lib/myrails/templates/rails/{pundit.rb → app/policies/pundit.rb} +0 -0
- data/lib/myrails/templates/{presenters → rails/app/presenters}/base.rb +0 -0
- data/lib/myrails/templates/{presenters → rails/app/presenters}/presenter.rb +0 -0
- data/lib/myrails/templates/{presenters → rails/app/presenters}/presenter_config.rb +0 -0
- data/lib/myrails/templates/{presenters → rails/app/presenters}/presenter_spec.rb +0 -0
- data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/_error_messages.html.haml +0 -0
- data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/_footer.html.haml +0 -0
- data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/_info_messages.html.haml +0 -0
- data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/_nav.html.haml +0 -0
- data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/_success_message.html.haml +0 -0
- data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/application.html.haml +0 -0
- data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/footers/css/footer-distributed-with-address-and-phones.scss +0 -0
- data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/footers/css/footer-distributed-with-contact-form.scss +0 -0
- data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/footers/css/footer-distributed-with-search.scss +0 -0
- data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/footers/css/footer-distributed.scss +0 -0
- data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/footers/footer-distributed-with-address-and-phones.html.haml +0 -0
- data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/footers/footer-distributed-with-contact-form.html.haml +0 -0
- data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/footers/footer-distributed-with-search.html.haml +0 -0
- data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/footers/footer-distributed.html.haml +0 -0
- data/lib/myrails/templates/rails/app/views/layout/material/_detailed_pagination.html.haml +4 -0
- data/lib/myrails/templates/rails/app/views/layout/material/_error_messages.html.haml +9 -0
- data/lib/myrails/templates/rails/app/views/layout/material/_footer.html.haml +24 -0
- data/lib/myrails/templates/rails/app/views/layout/material/_info_messages.html.haml +14 -0
- data/lib/myrails/templates/rails/app/views/layout/material/_nav.html.haml +27 -0
- data/lib/myrails/templates/rails/app/views/layout/material/_simple_pagination.html.haml +2 -0
- data/lib/myrails/templates/rails/app/views/layout/material/_success_message.html.haml +7 -0
- data/lib/myrails/templates/rails/app/views/layout/material/application.html.haml +19 -0
- data/lib/myrails/templates/rails/app/views/layout/material/mailer.html.haml +246 -0
- data/lib/myrails/templates/rails/app/views/layout/material/mailer.text.haml +1 -0
- data/lib/myrails/templates/rails/config/application.example.yml +40 -0
- data/lib/myrails/templates/spec/controller.rb +123 -0
- data/lib/myrails/templates/{rspec → spec}/factory.rb +1 -1
- data/lib/myrails/templates/spec/feature.rb +8 -0
- data/lib/myrails/templates/{rspec → spec}/files.rb +0 -0
- data/lib/myrails/templates/spec/helper.rb +2 -0
- data/lib/myrails/templates/{rspec → spec}/model.rb +0 -0
- data/lib/myrails/templates/{rspec → spec}/pundit.rb +0 -0
- data/lib/myrails/templates/{rspec → spec}/request.rb +0 -0
- data/lib/myrails/templates/{rspec → spec}/request_shared_example.rb +0 -0
- data/lib/myrails/templates/{rspec → spec}/shared_example.rb +0 -0
- data/lib/myrails/templates/{rspec → spec/support/configs}/database_cleaner.rb +0 -0
- data/lib/myrails/templates/{rspec → spec/support/configs}/devise.rb +1 -1
- data/lib/myrails/templates/spec/support/configs/factory_bot.rb +3 -0
- data/lib/myrails/templates/{rspec → spec/support/configs}/mailer.rb +0 -0
- data/lib/myrails/templates/{rspec → spec/support/configs}/shoulda_matchers.rb +0 -0
- data/lib/myrails/templates/{rspec → spec/support/configs}/silence_backtrace.rb +0 -0
- data/lib/myrails/templates/spec/support/helpers/javascript.rb +12 -0
- data/lib/myrails/templates/spec/support/helpers/mailer.rb +9 -0
- data/lib/myrails/templates/spec/support/shared_examples/requires_authentication.rb +14 -0
- data/lib/myrails/templates/spec/support/shared_examples/requires_authorization.rb +16 -0
- data/lib/myrails/templates/spec/support/shared_examples/supports_file_type.rb +25 -0
- data/lib/myrails/version.rb +1 -1
- metadata +91 -68
- data/lib/myrails/templates/initializers/application_vars.rb +0 -2
- data/lib/myrails/templates/rails/application.yml +0 -19
- data/lib/myrails/templates/rspec/controller.rb +0 -98
- data/lib/myrails/templates/rspec/factory_girl.rb +0 -3
- data/lib/myrails/templates/rspec/javascript.rb +0 -8
- data/lib/myrails/templates/rspec/router.rb +0 -7
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/lib/myrails/templates/rails/{namespace_controller.rb → app/controllers/namespace_controller.rb}
RENAMED
|
File without changes
|
data/lib/myrails/templates/rails/{application_helper.rb → app/helpers/application_helper.rb}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/_error_messages.html.haml
RENAMED
|
File without changes
|
|
File without changes
|
data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/_info_messages.html.haml
RENAMED
|
File without changes
|
|
File without changes
|
data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/_success_message.html.haml
RENAMED
|
File without changes
|
data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/application.html.haml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
%footer.page-footer
|
|
2
|
+
.container
|
|
3
|
+
.row
|
|
4
|
+
.col.l6.s12
|
|
5
|
+
%h5.white-text Name
|
|
6
|
+
%p.grey-text.text-lighten-4 some text.
|
|
7
|
+
.col.l4.offset-l2.s12
|
|
8
|
+
%h5.white-text Connect With Me
|
|
9
|
+
%ul
|
|
10
|
+
%li
|
|
11
|
+
=link_to 'Contact Me', nil, class: 'grey-text text-lighten-3'
|
|
12
|
+
%li
|
|
13
|
+
=link_to :Github, nil, class: 'grey-text text-lighten-3', target: :blank
|
|
14
|
+
%li
|
|
15
|
+
=link_to :LinkedIn, nil, class: 'grey-text text-lighten-3', target: :blank
|
|
16
|
+
%li
|
|
17
|
+
=link_to :Twitter, nil, class: 'grey-text text-lighten-3', target: :blank
|
|
18
|
+
.footer-copyright
|
|
19
|
+
.container
|
|
20
|
+
© #{Date.today.year} Lovell McIlwain
|
|
21
|
+
-# %a.grey-text.text-lighten-4.right{:href => "#!"} More Links
|
|
22
|
+
%br/
|
|
23
|
+
Version:
|
|
24
|
+
=ENV['VERZION']
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
-if flash[:notice]
|
|
2
|
+
.row
|
|
3
|
+
.col.s12.m6
|
|
4
|
+
.card.teal.lighten-3
|
|
5
|
+
.card-content.white-text
|
|
6
|
+
%span.card-title Notice!
|
|
7
|
+
%p=flash[:notice]
|
|
8
|
+
-if flash[:alert]
|
|
9
|
+
.row
|
|
10
|
+
.col.s12.m6
|
|
11
|
+
.card.red.lighten-3
|
|
12
|
+
.card-content.white-text
|
|
13
|
+
%span.card-title Alert!
|
|
14
|
+
%p=flash[:alert]
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/ Dropdown Structure
|
|
2
|
+
%ul#admin-dropdown.dropdown-content
|
|
3
|
+
%li=link_to :Link1
|
|
4
|
+
%li.divider
|
|
5
|
+
%li=link_to :Contacts
|
|
6
|
+
.navbar-fixed
|
|
7
|
+
%nav
|
|
8
|
+
.nav-wrapper
|
|
9
|
+
=link_to 'App Name', nil, class: 'brand-logo'
|
|
10
|
+
%ul.right.hide-on-med-and-down
|
|
11
|
+
%li=link_to :About
|
|
12
|
+
%li=link_to :Link1
|
|
13
|
+
%li=link_to 'Contact Me'
|
|
14
|
+
-#if current_user && current_user.admin?
|
|
15
|
+
/ Dropdown Trigger
|
|
16
|
+
%li
|
|
17
|
+
%a.dropdown-button{"data-activates" => "admin-dropdown", :href => "#!"}
|
|
18
|
+
Administration
|
|
19
|
+
-# %i.material-icons.right arrow_drop_down
|
|
20
|
+
-if Rails.env.development?
|
|
21
|
+
%li=link_to :UI, '/ui/index'
|
|
22
|
+
%li=link_to 'Mailer Previews', '/rails/mailers'
|
|
23
|
+
-#%li
|
|
24
|
+
-if user_signed_in?
|
|
25
|
+
=link_to fa_icon('sign-out', text: 'Sign Out'), destroy_user_session_path, method: :delete
|
|
26
|
+
-else
|
|
27
|
+
=link_to fa_icon('sign-in', text: 'Sign In'), new_user_session_path
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
!!!
|
|
2
|
+
%head
|
|
3
|
+
%meta{'http-equiv' => "content-type", content: "text/html;charset=utf-8"}
|
|
4
|
+
%meta{name: "author", content: "Lovell McIlwain"}
|
|
5
|
+
%meta{name: "ROBOTS", content: "INDEX, NOFOLLOW"}
|
|
6
|
+
-if content_for?(:head)
|
|
7
|
+
=yield :head
|
|
8
|
+
-else
|
|
9
|
+
%meta{name: 'description', content: 'Site description'}
|
|
10
|
+
%title App Name
|
|
11
|
+
=stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
|
|
12
|
+
=javascript_include_tag 'application', 'data-turbolinks-track' => true
|
|
13
|
+
=csrf_meta_tags
|
|
14
|
+
%body
|
|
15
|
+
=render 'layouts/nav'
|
|
16
|
+
.container
|
|
17
|
+
=render 'layouts/info_messages'
|
|
18
|
+
=yield
|
|
19
|
+
=render 'layouts/footer'
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
!!!
|
|
2
|
+
%html
|
|
3
|
+
%head
|
|
4
|
+
%meta{:content => "width=device-width", :name => "viewport"}/
|
|
5
|
+
%meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
|
|
6
|
+
%title Simple Transactional Email
|
|
7
|
+
:css
|
|
8
|
+
/* -------------------------------------
|
|
9
|
+
GLOBAL RESETS
|
|
10
|
+
------------------------------------- */
|
|
11
|
+
img {
|
|
12
|
+
border: none;
|
|
13
|
+
-ms-interpolation-mode: bicubic;
|
|
14
|
+
max-width: 100%; }
|
|
15
|
+
body {
|
|
16
|
+
background-color: #f6f6f6;
|
|
17
|
+
font-family: sans-serif;
|
|
18
|
+
-webkit-font-smoothing: antialiased;
|
|
19
|
+
font-size: 14px;
|
|
20
|
+
line-height: 1.4;
|
|
21
|
+
margin: 0;
|
|
22
|
+
padding: 0;
|
|
23
|
+
-ms-text-size-adjust: 100%;
|
|
24
|
+
-webkit-text-size-adjust: 100%; }
|
|
25
|
+
table {
|
|
26
|
+
border-collapse: separate;
|
|
27
|
+
mso-table-lspace: 0pt;
|
|
28
|
+
mso-table-rspace: 0pt;
|
|
29
|
+
width: 100%; }
|
|
30
|
+
table td {
|
|
31
|
+
font-family: sans-serif;
|
|
32
|
+
font-size: 14px;
|
|
33
|
+
vertical-align: top; }
|
|
34
|
+
/* -------------------------------------
|
|
35
|
+
BODY & CONTAINER
|
|
36
|
+
------------------------------------- */
|
|
37
|
+
.body {
|
|
38
|
+
background-color: #f6f6f6;
|
|
39
|
+
width: 100%; }
|
|
40
|
+
/* Set a max-width, and make it display as block so it will automatically stretch to that width, but will also shrink down on a phone or something */
|
|
41
|
+
.container {
|
|
42
|
+
display: block;
|
|
43
|
+
Margin: 0 auto !important;
|
|
44
|
+
/* makes it centered */
|
|
45
|
+
max-width: 580px;
|
|
46
|
+
padding: 10px;
|
|
47
|
+
width: 580px; }
|
|
48
|
+
/* This should also be a block element, so that it will fill 100% of the .container */
|
|
49
|
+
.content {
|
|
50
|
+
box-sizing: border-box;
|
|
51
|
+
display: block;
|
|
52
|
+
Margin: 0 auto;
|
|
53
|
+
max-width: 580px;
|
|
54
|
+
padding: 10px; }
|
|
55
|
+
/* -------------------------------------
|
|
56
|
+
HEADER, FOOTER, MAIN
|
|
57
|
+
------------------------------------- */
|
|
58
|
+
.main {
|
|
59
|
+
background: #ffffff;
|
|
60
|
+
border-radius: 3px;
|
|
61
|
+
width: 100%; }
|
|
62
|
+
.wrapper {
|
|
63
|
+
box-sizing: border-box;
|
|
64
|
+
padding: 20px; }
|
|
65
|
+
.content-block {
|
|
66
|
+
padding-bottom: 10px;
|
|
67
|
+
padding-top: 10px;
|
|
68
|
+
}
|
|
69
|
+
.footer {
|
|
70
|
+
clear: both;
|
|
71
|
+
Margin-top: 10px;
|
|
72
|
+
text-align: center;
|
|
73
|
+
width: 100%; }
|
|
74
|
+
.footer td,
|
|
75
|
+
.footer p,
|
|
76
|
+
.footer span,
|
|
77
|
+
.footer a {
|
|
78
|
+
color: #999999;
|
|
79
|
+
font-size: 12px;
|
|
80
|
+
text-align: center; }
|
|
81
|
+
/* -------------------------------------
|
|
82
|
+
TYPOGRAPHY
|
|
83
|
+
------------------------------------- */
|
|
84
|
+
h1,
|
|
85
|
+
h2,
|
|
86
|
+
h3,
|
|
87
|
+
h4 {
|
|
88
|
+
color: #000000;
|
|
89
|
+
font-family: sans-serif;
|
|
90
|
+
font-weight: 400;
|
|
91
|
+
line-height: 1.4;
|
|
92
|
+
margin: 0;
|
|
93
|
+
Margin-bottom: 30px; }
|
|
94
|
+
h1 {
|
|
95
|
+
font-size: 35px;
|
|
96
|
+
font-weight: 300;
|
|
97
|
+
text-align: center;
|
|
98
|
+
text-transform: capitalize; }
|
|
99
|
+
p,
|
|
100
|
+
ul,
|
|
101
|
+
ol {
|
|
102
|
+
font-family: sans-serif;
|
|
103
|
+
font-size: 14px;
|
|
104
|
+
font-weight: normal;
|
|
105
|
+
margin: 0;
|
|
106
|
+
Margin-bottom: 15px; }
|
|
107
|
+
p li,
|
|
108
|
+
ul li,
|
|
109
|
+
ol li {
|
|
110
|
+
list-style-position: inside;
|
|
111
|
+
margin-left: 5px; }
|
|
112
|
+
a {
|
|
113
|
+
color: #3498db;
|
|
114
|
+
text-decoration: underline; }
|
|
115
|
+
/* -------------------------------------
|
|
116
|
+
BUTTONS
|
|
117
|
+
------------------------------------- */
|
|
118
|
+
.btn {
|
|
119
|
+
box-sizing: border-box;
|
|
120
|
+
width: 100%; }
|
|
121
|
+
.btn > tbody > tr > td {
|
|
122
|
+
padding-bottom: 15px; }
|
|
123
|
+
.btn table {
|
|
124
|
+
width: auto; }
|
|
125
|
+
.btn table td {
|
|
126
|
+
background-color: #ffffff;
|
|
127
|
+
border-radius: 5px;
|
|
128
|
+
text-align: center; }
|
|
129
|
+
.btn a {
|
|
130
|
+
background-color: #ffffff;
|
|
131
|
+
border: solid 1px #3498db;
|
|
132
|
+
border-radius: 5px;
|
|
133
|
+
box-sizing: border-box;
|
|
134
|
+
color: #3498db;
|
|
135
|
+
cursor: pointer;
|
|
136
|
+
display: inline-block;
|
|
137
|
+
font-size: 14px;
|
|
138
|
+
font-weight: bold;
|
|
139
|
+
margin: 0;
|
|
140
|
+
padding: 12px 25px;
|
|
141
|
+
text-decoration: none;
|
|
142
|
+
text-transform: capitalize; }
|
|
143
|
+
.btn-primary table td {
|
|
144
|
+
background-color: #3498db; }
|
|
145
|
+
.btn-primary a {
|
|
146
|
+
background-color: #3498db;
|
|
147
|
+
border-color: #3498db;
|
|
148
|
+
color: #ffffff; }
|
|
149
|
+
/* -------------------------------------
|
|
150
|
+
OTHER STYLES THAT MIGHT BE USEFUL
|
|
151
|
+
------------------------------------- */
|
|
152
|
+
.last {
|
|
153
|
+
margin-bottom: 0; }
|
|
154
|
+
.first {
|
|
155
|
+
margin-top: 0; }
|
|
156
|
+
.align-center {
|
|
157
|
+
text-align: center; }
|
|
158
|
+
.align-right {
|
|
159
|
+
text-align: right; }
|
|
160
|
+
.align-left {
|
|
161
|
+
text-align: left; }
|
|
162
|
+
.clear {
|
|
163
|
+
clear: both; }
|
|
164
|
+
.mt0 {
|
|
165
|
+
margin-top: 0; }
|
|
166
|
+
.mb0 {
|
|
167
|
+
margin-bottom: 0; }
|
|
168
|
+
.preheader {
|
|
169
|
+
color: transparent;
|
|
170
|
+
display: none;
|
|
171
|
+
height: 0;
|
|
172
|
+
max-height: 0;
|
|
173
|
+
max-width: 0;
|
|
174
|
+
opacity: 0;
|
|
175
|
+
overflow: hidden;
|
|
176
|
+
mso-hide: all;
|
|
177
|
+
visibility: hidden;
|
|
178
|
+
width: 0; }
|
|
179
|
+
.powered-by a {
|
|
180
|
+
text-decoration: none; }
|
|
181
|
+
hr {
|
|
182
|
+
border: 0;
|
|
183
|
+
border-bottom: 1px solid #f6f6f6;
|
|
184
|
+
Margin: 20px 0; }
|
|
185
|
+
/* -------------------------------------
|
|
186
|
+
RESPONSIVE AND MOBILE FRIENDLY STYLES
|
|
187
|
+
------------------------------------- */
|
|
188
|
+
@media only screen and (max-width: 620px) {
|
|
189
|
+
table[class=body] h1 {
|
|
190
|
+
font-size: 28px !important;
|
|
191
|
+
margin-bottom: 10px !important; }
|
|
192
|
+
table[class=body] p,
|
|
193
|
+
table[class=body] ul,
|
|
194
|
+
table[class=body] ol,
|
|
195
|
+
table[class=body] td,
|
|
196
|
+
table[class=body] span,
|
|
197
|
+
table[class=body] a {
|
|
198
|
+
font-size: 16px !important; }
|
|
199
|
+
table[class=body] .wrapper,
|
|
200
|
+
table[class=body] .article {
|
|
201
|
+
padding: 10px !important; }
|
|
202
|
+
table[class=body] .content {
|
|
203
|
+
padding: 0 !important; }
|
|
204
|
+
table[class=body] .container {
|
|
205
|
+
padding: 0 !important;
|
|
206
|
+
width: 100% !important; }
|
|
207
|
+
table[class=body] .main {
|
|
208
|
+
border-left-width: 0 !important;
|
|
209
|
+
border-radius: 0 !important;
|
|
210
|
+
border-right-width: 0 !important; }
|
|
211
|
+
table[class=body] .btn table {
|
|
212
|
+
width: 100% !important; }
|
|
213
|
+
table[class=body] .btn a {
|
|
214
|
+
width: 100% !important; }
|
|
215
|
+
table[class=body] .img-responsive {
|
|
216
|
+
height: auto !important;
|
|
217
|
+
max-width: 100% !important;
|
|
218
|
+
width: auto !important; }}
|
|
219
|
+
/* -------------------------------------
|
|
220
|
+
PRESERVE THESE STYLES IN THE HEAD
|
|
221
|
+
------------------------------------- */
|
|
222
|
+
@media all {
|
|
223
|
+
.ExternalClass {
|
|
224
|
+
width: 100%; }
|
|
225
|
+
.ExternalClass,
|
|
226
|
+
.ExternalClass p,
|
|
227
|
+
.ExternalClass span,
|
|
228
|
+
.ExternalClass font,
|
|
229
|
+
.ExternalClass td,
|
|
230
|
+
.ExternalClass div {
|
|
231
|
+
line-height: 100%; }
|
|
232
|
+
.apple-link a {
|
|
233
|
+
color: inherit !important;
|
|
234
|
+
font-family: inherit !important;
|
|
235
|
+
font-size: inherit !important;
|
|
236
|
+
font-weight: inherit !important;
|
|
237
|
+
line-height: inherit !important;
|
|
238
|
+
text-decoration: none !important; }
|
|
239
|
+
.btn-primary table td:hover {
|
|
240
|
+
background-color: #34495e !important; }
|
|
241
|
+
.btn-primary a:hover {
|
|
242
|
+
background-color: #34495e !important;
|
|
243
|
+
border-color: #34495e !important; } }
|
|
244
|
+
|
|
245
|
+
%body
|
|
246
|
+
= yield
|