atpay_buttons 1.1.4 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,8 +4,8 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "atpay_buttons"
7
- spec.version = '1.1.4'
8
- spec.date = '2013-09-25'
7
+ spec.version = '1.1.5'
8
+ spec.date = '2013-09-30'
9
9
  spec.authors = ["Thomas Pastinsky", "Glen Holcomb", "James Kassemi", "Isaiah Baca"]
10
10
  spec.email = ["dev@atpay.com"]
11
11
  spec.description = 'Atpay button generator'
@@ -1,104 +1,47 @@
1
1
  <style>
2
- .ExternalClass a.outlook {display:inline; display: inline !important;font-size: 20px !important;}
3
- .ExternalClass a.outlooksm {display:inline; display: inline !important;font-size: 12px !important;}
4
- .ExternalClass a.not_outlook {display:none; display: none !important;}
5
- .ExternalClass a.outlook table {background-color:{{background_color}} !important; font-size:10px !important; }
6
- .ExternalClass a.outlook table td.main {width:145px !important; padding:3px 5px 5px 5px !important;}
7
- .ExternalClass a.outlook table td img {width:auto !important; height: 39px !important; margin-left: 5px !important; margin-right:10px !important; margin-top:8px !important;}
8
- .ExternalClass a.outlook table.sub {width: auto !important; height: auto !important;}
9
- .ExtenralClass a.outlook td.title {font-size: 11px !important ; color: {{foreground_color}} font-family: Tahoma; text-align:center; padding:0; margin:0;}
10
- .ExternalClass a.outlook table.subB{float:left; margin:0; margin-left:5px !important;}
11
- .ExternalClass a.outlook table.subB td.doll {line-height: 25px !important;}
12
-
2
+ .ExternalClass table.reg_mailto {display:none; display: none !important;}
3
+ .ExternalClass table.out_mailto {display: table; display: table !important; font-size: 18px !important;}
4
+ .ExternalClass table.out_mailto {font-family: Tahoma; color #ffffff; background-color:{{background_color}}; padding:10px 15px 10px 10px !important;}
5
+ .ExternalClass table.out_mailto td.dollar{color: {{foreground_color}}; font-size:24px !important; width: auto !important; height: auto !important; text-align:right; padding-top: 3px !important; padding-left:10px !important;}
6
+ .ExternalClass table.out_mailto td.cents{font-size:12px !important; color: {{foreground_color}}; padding-top: 6px!important; width: auto !important; height: auto !important; text-align:left; text-decoration:underline; padding-left:3px;}
7
+ .ExternalClass table.out_mailto td img {width:auto !important; height: 34px !important; margin-left: 5px !important; margin-right:10px !important; margin-top:8px !important;}
8
+ .ExternalClass table.out_mailto td.cart{width:45px !important; padding-left:10px !important; height:39px !important; text-align:right}
9
+ .ExternalClass table.out_mailto a {display: inline-block !important; width: auto !important; text-decoration: none !important; color:{{foreground_color}} !important;}
13
10
  </style>
14
- <center>
15
11
 
16
- <a border='0' class='not_outlook' href='{{url}}' style='text-underline:none;'>
17
- <table border='0' cellpadding='0' cellspacing='0' style='background-color:{{background_color}};'>
18
- <tr class='main'>
19
- <td class='main' style='padding:3px 5px 5px 5px;' width='145'>
20
- <table>
21
- <tr>
22
- <td>
23
- <a class='not_outlook' href='{{url}}' style='color:{{foreground_color}}; text-decoration:none; border:none; display:inline;'>
24
- <img src='{{image}}' style='margin-left: 5px; margin-right:10px; margin-top:8px;'>
25
- </a>
26
- </td>
27
- <td>
28
- <table border='0' cellpadding='0' cellspacing='0' style='float:left; margin:0; margin-left:5px;'>
29
- <tr>
30
- <td style='font-size: 11px; color: {{foreground_color}}; font-family: Tahoma; text-align:center; padding:0; margin:0;'>
31
- {{title}}
32
- </td>
33
- </tr>
34
- <tr>
35
- <td>
36
- <table border='0' cellpadding='0' cellspacing='0' style='margin:0; padding:0;'>
37
- <tr>
38
- <td style='padding:0; margin:0; font-size: 20px; color: {{foreground_color}}; font-family: Tahoma; vertical-align:top; line-height:25px;' valign='top'>
39
- <a class='not_outlook' href='{{url}}' style='color:{{foreground_color}}; text-decoration:none; border:none; display:inline;'>
40
- {{dollar}}
41
- </a>
42
- </td>
43
- <td style='padding:0; margin:0; font-size:14px; text-decoration:underline;padding-left:2px; color: {{foreground_color}}; font-family: Tahoma; vertical-align:top;' valign='top'>
44
- <a class='not_outlook' href='{{url}}' style='color:{{foreground_color}}; text-decoration:none; border:none; display:inline;'>
45
- {{cents}}
46
- </a>
47
- </td>
48
- </tr>
49
- </table>
50
- </td>
51
- </tr>
52
- </table>
53
- </td>
54
- </tr>
55
- </table>
12
+ <center>
13
+ <table class="reg_mailto" border='0' cellpadding='0' cellspacing='0' style='font-family: Tahoma; background-color:{{background_color}}; padding:10px 15px 10px 0; width:150px;'>
14
+ <tr>
15
+ <td style='width:45px; padding-left:10px; height:39px; text-align:right;'>
16
+ <a class='reg_mailto' href='{{url}}' style='display: inline-block; width:auto;' target="_blank"> <img src='{{image}}'> </a>
17
+ </td>
18
+ <td style='padding-right:0px; color: {{foreground_color}};font-size:24px; padding-top:3px; text-align:right;' valign='top'>
19
+ <a class='reg_mailto' href='{{url}}' style='display: inline-block; width:auto; text-decoration:none; color:{{foreground_color}};' target="_blank"> {{dollar}}</a>
20
+ </td>
21
+ <td class='cents' style='color:{{foreground_color}};font-size:12px; padding-left:3px; padding-top:6px; text-align:left; text-decoration:underline;' valign='top'>
22
+ <a class='reg_mailto' href='{{url}}' style='display: inline-block; width:auto; text-decoration:none; color:{{foreground_color}};' target="_blank"> {{cents}} </a>
56
23
  </td>
57
24
  </tr>
58
25
  </table>
59
- </a>
60
- <a border='0' class='outlook' href='{{outlook_url}}' style='text-underline:none; font-size:0px; width:0px; height: 0px;'>
61
- <table border='0' cellpadding='0' cellspacing='0' height='0' style='overflow: hidden; font-size: 0px; ' width='0'>
62
- <tr class='main'>
63
- <td class='main' style='padding: 0px;' width='0'>
64
- <table border='0' cellpadding='0' cellspacing='0' class='sub' height='' style='overflow: hidden;' width=''>
65
- <tr>
66
- <td style='line-height:1px;'>
67
- <a class='outlook' href='{{outlook_url}}' style='color:{{foreground_color}}; text-decoration:none; border:none;'>
68
- <img height='1' src='{{image}}' style='text-indent:-9999px; margin: 0px; width:1px; height:1px' width='1'>
69
- </a>
70
- </td>
71
- <td>
72
- <table border='0' cellpadding='0' cellspacing='0' class='subB' style='float:left; margin:0; margin-left:0px;'>
73
- <tr>
74
- <td class='title' style='font-size: 0px; color: {{foreground_color}}; font-family: Tahoma; text-align:center; padding:0; margin:0;'>
75
- {{title}}
76
- </td>
77
- </tr>
78
- <tr>
79
- <td>
80
- <table border='0' cellpadding='0' cellspacing='0' style='margin:0; padding:0;'>
81
- <tr>
82
- <td class="doll" style='padding:0; margin:0; font-size: 0px; color: {{foreground_color}}; font-family: Tahoma; vertical-align:top; line-height:0px;' valign='top'>
83
- <a class='outlook' href='{{outlook_url}}' style='color:{{foreground_color}}; text-decoration:none; border:none;'>
84
- {{dollar}}
85
- </a>
86
- </td>
87
- <td style='padding:0; margin:0; font-size:0px; text-decoration:underline;padding-left:0px; color: {{foreground_color}}; font-family: Tahoma; vertical-align:top;' valign='top'>
88
- <a class='outlooksm' href='{{outlook_url}}' style='color:{{foreground_color}}; text-decoration:none; border:none;'>
89
- {{cents}}
90
- </a>
91
- </td>
92
- </tr>
93
- </table>
94
- </td>
95
- </tr>
96
- </table>
97
- </td>
98
- </tr>
99
- </table>
26
+
27
+ <table class='out_mailto' border='0' cellpadding='0' cellspacing='0' style='width:0; height:0; padding:0; margin:0; font-size:0;'>
28
+ <tr>
29
+ <td class='cart'>
30
+ <a href='{{outlook_url}}' style='display:none;' target="_blank">
31
+ <img src='{{image}}' style='margin: 0px; width:0px; height:0px'>
32
+ </a>
33
+ </td>
34
+ <td class='dollar' style='width:0; height:0; padding:0; margin:0; font-size:0;' valign='top'>
35
+ <a href='{{outlook_url}}' style='display:none;' target="_blank">
36
+ {{dollar}}
37
+ </a>
38
+ </td>
39
+ <td class='cents' style='width:0; height:0; padding:0; margin:0; font-size:0;' valign='top'>
40
+ <a href='{{outlook_url}}' style='display:none;' target="_blank">
41
+ {{cents}}
42
+ </a>
100
43
  </td>
101
44
  </tr>
102
45
  </table>
103
46
  </a>
104
- </center>
47
+ </center>
@@ -1,16 +1,13 @@
1
1
  <!-- regular template with wrap -->
2
2
  <style>
3
- .ExternalClass a.outlook {display:inline; display: inline !important;font-size: 20px !important;}
4
- .ExternalClass a.outlooksm {display:inline; display: inline !important;font-size: 12px !important;}
5
- .ExternalClass a.not_outlook {display:none; display: none !important;}
6
- .ExternalClass a.outlook table {background-color:{{background_color}} !important; font-size:10px !important; }
7
- .ExternalClass a.outlook table td.main {width:145px !important; padding:3px 5px 5px 5px !important;}
8
- .ExternalClass a.outlook table td img {width:auto !important; height: 39px !important; margin-left: 5px !important; margin-right:10px !important; margin-top:8px !important;}
9
- .ExternalClass a.outlook table.sub {width: auto !important; height: auto !important;}
10
- .ExtenralClass a.outlook td.title {font-size: 11px !important ; color: {{foreground_color}}; font-family: Tahoma; text-align:center; padding:0; margin:0;}
11
- .ExternalClass a.outlook table.subB{float:left; margin:0; margin-left:5px !important;}
12
- .ExternalClass a.outlook table.subB td.doll {line-height: 25px !important;}
13
-
3
+ .ExternalClass table.reg_mailto {display:none; display: none !important;}
4
+ .ExternalClass table.out_mailto {display: table; display: table !important; font-size: 18px !important;}
5
+ .ExternalClass table.out_mailto {font-family: Tahoma; color #ffffff; background-color:{{background_color}}; padding:10px 15px 10px 10px !important;}
6
+ .ExternalClass table.out_mailto td.dollar{color: {{foreground_color}}; font-size:24px !important; width: auto !important; height: auto !important; text-align:right; padding-top: 3px !important; padding-left:10px !important;}
7
+ .ExternalClass table.out_mailto td.cents{font-size:12px !important; color: {{foreground_color}}; padding-top: 6px!important; width: auto !important; height: auto !important; text-align:left; text-decoration:underline; padding-left:3px;}
8
+ .ExternalClass table.out_mailto td img {width:auto !important; height: 34px !important; margin-left: 5px !important; margin-right:10px !important; margin-top:8px !important;}
9
+ .ExternalClass table.out_mailto td.cart{width:45px !important; padding-left:10px !important; height:39px !important; text-align:right}
10
+ .ExternalClass table.out_mailto a {display: inline-block !important; text-decoration: none !important; width: auto !important; color:{{foreground_color}} !important;}
14
11
  </style>
15
12
 
16
13
 
@@ -29,91 +26,38 @@
29
26
  <tr>
30
27
  <td>
31
28
  <!-- BUTTON CODE -->
29
+
32
30
  <center>
33
- <a border='0' class='not_outlook' href='{{url}}' style='text-underline:none;'>
34
- <table border='0' cellpadding='0' cellspacing='0' style='background-color:{{background_color}};'>
35
- <tr class='main'>
36
- <td class='main' style='padding:3px 5px 5px 5px;' width='145'>
37
- <table>
38
- <tr>
39
- <td>
40
- <a class='not_outlook' href='{{url}}' style='color:{{foreground_color}}; text-decoration:none; border:none; display:inline;'>
41
- <img src='{{image}}' style='margin-left: 5px; margin-right:10px; margin-top:8px;'>
42
- </a>
43
- </td>
44
- <td>
45
- <table border='0' cellpadding='0' cellspacing='0' style='float:left; margin:0; margin-left:5px;'>
46
- <tr>
47
- <td style='font-size: 11px; color: {{foreground_color}}; font-family: Tahoma; text-align:center; padding:0; margin:0;'>
48
- {{title}}
49
- </td>
50
- </tr>
51
- <tr>
52
- <td>
53
- <table border='0' cellpadding='0' cellspacing='0' style='margin:0; padding:0;'>
54
- <tr>
55
- <td style='padding:0; margin:0; font-size: 20px; color: {{foreground_color}}; font-family: Tahoma; vertical-align:top; line-height:25px;' valign='top'>
56
- <a class='not_outlook' href='{{url}}' style='color:{{foreground_color}}; text-decoration:none; border:none; display:inline;'>
57
- {{dollar}}
58
- </a>
59
- </td>
60
- <td style='padding:0; margin:0; font-size:14px; text-decoration:underline;padding-left:2px; color: {{foreground_color}}; font-family: Tahoma; vertical-align:top;' valign='top'>
61
- <a class='not_outlook' href='{{url}}' style='color:{{foreground_color}}; text-decoration:none; border:none; display:inline;'>
62
- {{cents}}
63
- </a>
64
- </td>
65
- </tr>
66
- </table>
67
- </td>
68
- </tr>
69
- </table>
70
- </td>
71
- </tr>
72
- </table>
31
+ <table class="reg_mailto" border='0' cellpadding='0' cellspacing='0' style='font-family: Tahoma; background-color:{{background_color}}; padding:10px 15px 10px 0; width:150px;'>
32
+ <tr>
33
+ <td style='width:45px; padding-left:10px; height:39px; text-align:right;'>
34
+ <a class='reg_mailto' href='{{url}}' style='display: inline-block; width:auto;' target="_blank"> <img src='{{image}}'> </a>
35
+ </td>
36
+ <td style='padding-right:0px; color: {{foreground_color}};font-size:24px; padding-top:3px; text-align:right;' valign='top'>
37
+ <a class='reg_mailto' href='{{url}}' style='display: inline-block; width:auto; text-decoration:none; color:{{foreground_color}};' target="_blank"> {{dollar}}</a>
38
+ </td>
39
+ <td class='cents' style='color:{{foreground_color}};font-size:12px; padding-left:3px; padding-top:6px; text-align:left; text-decoration:underline;' valign='top'>
40
+ <a class='reg_mailto' href='{{url}}' style='display: inline-block; width:auto; text-decoration:none; color:{{foreground_color}};' target="_blank"> {{cents}} </a>
73
41
  </td>
74
42
  </tr>
75
43
  </table>
76
- </a>
77
- <a border='0' class='outlook' href='{{outlook_url}}' style='text-underline:none; font-size:0px; width:0px; height: 0px;'>
78
- <table border='0' cellpadding='0' cellspacing='0' height='0' style='overflow: hidden; font-size: 0px; ' width='0'>
79
- <tr class='main'>
80
- <td class='main' style='padding: 0px;' width='0'>
81
- <table border='0' cellpadding='0' cellspacing='0' class='sub' height='' style='overflow: hidden;' width=''>
82
- <tr>
83
- <td style='line-height:1px;'>
84
- <a class='outlook' href='{{outlook_url}}' style='color:{{foreground_color}}; text-decoration:none; border:none;'>
85
- <img height='1' src='{{image}}' style='text-indent:-9999px; margin: 0px; width:1px; height:1px' width='1'>
86
- </a>
87
- </td>
88
- <td>
89
- <table border='0' cellpadding='0' cellspacing='0' class='subB' style='float:left; margin:0; margin-left:0px;'>
90
- <tr>
91
- <td class='title' style='font-size: 0px; color: {{foreground_color}}; font-family: Tahoma; text-align:center; padding:0; margin:0;'>
92
- {{title}}
93
- </td>
94
- </tr>
95
- <tr>
96
- <td>
97
- <table border='0' cellpadding='0' cellspacing='0' style='margin:0; padding:0;'>
98
- <tr>
99
- <td class="doll" style='padding:0; margin:0; font-size: 0px; color: {{foreground_color}}; font-family: Tahoma; vertical-align:top; line-height:0px;' valign='top'>
100
- <a class='outlook' href='{{outlook_url}}' style='color:{{foreground_color}}; text-decoration:none; border:none;'>
101
- {{dollar}}
102
- </a>
103
- </td>
104
- <td style='padding:0; margin:0; font-size:0px; text-decoration:underline;padding-left:0px; color: {{foreground_color}}; font-family: Tahoma; vertical-align:top;' valign='top'>
105
- <a class='outlooksm' href='{{outlook_url}}' style='color:{{foreground_color}}; text-decoration:none; border:none;'>
106
- {{cents}}
107
- </a>
108
- </td>
109
- </tr>
110
- </table>
111
- </td>
112
- </tr>
113
- </table>
114
- </td>
115
- </tr>
116
- </table>
44
+
45
+ <table class='out_mailto' border='0' cellpadding='0' cellspacing='0' style='width:0; height:0; padding:0; margin:0; font-size:0;'>
46
+ <tr>
47
+ <td class='cart'>
48
+ <a href='{{outlook_url}}' style='display:none;' target="_blank">
49
+ <img src='{{image}}' style='margin: 0px; width:0px; height:0px'>
50
+ </a>
51
+ </td>
52
+ <td class='dollar' style='width:0; height:0; padding:0; margin:0; font-size:0;' valign='top'>
53
+ <a href='{{outlook_url}}' style='display:none;' target="_blank">
54
+ {{dollar}}
55
+ </a>
56
+ </td>
57
+ <td class='cents' style='width:0; height:0; padding:0; margin:0; font-size:0;' valign='top'>
58
+ <a href='{{outlook_url}}' style='display:none;' target="_blank">
59
+ {{cents}}
60
+ </a>
117
61
  </td>
118
62
  </tr>
119
63
  </table>
@@ -122,7 +66,7 @@
122
66
 
123
67
  <!-- END BUTTON CODE -->
124
68
 
125
- </td>
69
+ </td>
126
70
  </tr>
127
71
  </table>
128
72
  </td>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atpay_buttons
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2013-09-25 00:00:00.000000000 Z
15
+ date: 2013-09-30 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: bundler
@@ -146,3 +146,4 @@ test_files:
146
146
  - spec/generator_spec.rb
147
147
  - spec/spec_helper.rb
148
148
  - spec/template_spec.rb
149
+ has_rdoc: