Skip to content
Permalink
Browse files

Revert ad templates (#806)

* Revert ad templates
* Delete ad_templates dir from views_redesigned
  • Loading branch information...
hopsoft committed Nov 13, 2019
1 parent 2314994 commit 1b6fcd1d0f808f481b07896685708faa5ab859f6
Showing with 72 additions and 1,909 deletions.
  1. +1 −2 app/views/ad_templates/bottom-bar/themes/dark.css
  2. +1 −2 app/views/ad_templates/bottom-bar/themes/light.css
  3. +1 −1 app/views/ad_templates/centered/themes/dark.css
  4. +1 −1 app/views/ad_templates/centered/themes/light.css
  5. +3 −0 app/views/ad_templates/default/show.html.erb
  6. +30 −33 app/views/ad_templates/default/themes/dark.css
  7. +26 −34 app/views/ad_templates/default/themes/light.css
  8. +1 −1 app/views/ad_templates/horizontal/themes/dark.css
  9. +1 −1 app/views/ad_templates/horizontal/themes/light.css
  10. +1 −1 app/views/ad_templates/image-centered/themes/dark.css
  11. +1 −1 app/views/ad_templates/image-centered/themes/light.css
  12. +1 −1 app/views/ad_templates/image-only/themes/dark.css
  13. +1 −1 app/views/ad_templates/image-only/themes/light.css
  14. +1 −1 app/views/ad_templates/square/themes/dark.css
  15. +1 −1 app/views/ad_templates/vertical/themes/dark.css
  16. +1 −1 app/views/ad_templates/vertical/themes/light.css
  17. +0 −14 app/views_redesigned/ad_templates/bottom_bar/show.html.erb
  18. +0 −50 app/views_redesigned/ad_templates/bottom_bar/themes/dark.css
  19. +0 −50 app/views_redesigned/ad_templates/bottom_bar/themes/light.css
  20. +0 −15 app/views_redesigned/ad_templates/centered/show.html.erb
  21. +0 −54 app/views_redesigned/ad_templates/centered/themes/dark.css
  22. +0 −54 app/views_redesigned/ad_templates/centered/themes/light.css
  23. +0 −18 app/views_redesigned/ad_templates/default/show.html.erb
  24. +0 −52 app/views_redesigned/ad_templates/default/themes/dark.css
  25. +0 −52 app/views_redesigned/ad_templates/default/themes/light.css
  26. +0 −21 app/views_redesigned/ad_templates/docsify/show.html.erb
  27. +0 −63 app/views_redesigned/ad_templates/docsify/themes/dark.css
  28. +0 −59 app/views_redesigned/ad_templates/docsify/themes/light.css
  29. +0 −14 app/views_redesigned/ad_templates/horizontal/show.html.erb
  30. +0 −77 app/views_redesigned/ad_templates/horizontal/themes/dark.css
  31. +0 −77 app/views_redesigned/ad_templates/horizontal/themes/light.css
  32. +0 −19 app/views_redesigned/ad_templates/image_centered/show.html.erb
  33. +0 −73 app/views_redesigned/ad_templates/image_centered/themes/dark.css
  34. +0 −69 app/views_redesigned/ad_templates/image_centered/themes/light.css
  35. +0 −14 app/views_redesigned/ad_templates/image_only/show.html.erb
  36. +0 −69 app/views_redesigned/ad_templates/image_only/themes/dark.css
  37. +0 −69 app/views_redesigned/ad_templates/image_only/themes/light.css
  38. +0 −22 app/views_redesigned/ad_templates/media/show.html.erb
  39. +0 −55 app/views_redesigned/ad_templates/media/themes/dark.css
  40. +0 −55 app/views_redesigned/ad_templates/media/themes/light.css
  41. +0 −21 app/views_redesigned/ad_templates/rectangle_narrow/show.html.erb
  42. +0 −46 app/views_redesigned/ad_templates/rectangle_narrow/themes/dark.css
  43. +0 −45 app/views_redesigned/ad_templates/rectangle_narrow/themes/light.css
  44. +0 −15 app/views_redesigned/ad_templates/responsive_footer/show.html.erb
  45. +0 −50 app/views_redesigned/ad_templates/responsive_footer/themes/dark.css
  46. +0 −49 app/views_redesigned/ad_templates/responsive_footer/themes/light.css
  47. +0 −31 app/views_redesigned/ad_templates/sponsored_text/show.html.erb
  48. +0 −49 app/views_redesigned/ad_templates/sponsored_text/themes/dark.css
  49. +0 −49 app/views_redesigned/ad_templates/sponsored_text/themes/light.css
  50. +0 −19 app/views_redesigned/ad_templates/square/show.html.erb
  51. +0 −69 app/views_redesigned/ad_templates/square/themes/dark.css
  52. +0 −69 app/views_redesigned/ad_templates/square/themes/light.css
  53. +0 −11 app/views_redesigned/ad_templates/text/show.html.erb
  54. +0 −27 app/views_redesigned/ad_templates/text/themes/dark.css
  55. +0 −27 app/views_redesigned/ad_templates/text/themes/light.css
  56. +0 −19 app/views_redesigned/ad_templates/vertical/show.html.erb
  57. +0 −60 app/views_redesigned/ad_templates/vertical/themes/dark.css
  58. +0 −56 app/views_redesigned/ad_templates/vertical/themes/light.css
@@ -1,5 +1,5 @@
#cf {
font-family: Helvetica, Arial, sans-serif;
font-family: Helvetica, Arial;
font-size: 13px;
}

@@ -11,7 +11,6 @@
box-sizing: border-box;
position: fixed;
bottom: 0;
left: 0;
z-index: 5000;
padding: 0.8em 1em 1em;
width: 100%;
@@ -1,5 +1,5 @@
#cf {
font-family: Helvetica, Arial, sans-serif;
font-family: Helvetica, Arial;
font-size: 13px;
}

@@ -11,7 +11,6 @@
box-sizing: border-box;
position: fixed;
bottom: 0;
left: 0;
z-index: 5000;
padding: 0.8em 1em 1em;
width: 100%;
@@ -9,7 +9,7 @@
font-size: 14px;
line-height: 1.4;
text-align: center;
font-family: Helvetica, Arial, sans-serif;
font-family: Helvetica, Arial;
margin-left: auto;
margin-right: auto;
}
@@ -9,7 +9,7 @@
font-size: 14px;
line-height: 1.4;
text-align: center;
font-family: Helvetica, Arial, sans-serif;
font-family: Helvetica, Arial;
margin-left: auto;
margin-right: auto;
}
@@ -3,6 +3,9 @@
<span>
<span class="cf-wrapper">
<a data-href="campaign_url" target="_blank" rel="sponsored noopener">
<span class="cf-img-wrapper">
<%= image_tag @creative.large_image.cloudfront_url, border: 0, height: 100, width: 130, class: "cf-img", alt: @creative.name rescue nil %>
</span>
<span class="cf-text">
<strong><%= @creative.headline %></strong>
<span><%= @creative.body %></span>
@@ -1,52 +1,49 @@
#cf {
font-family: Helvetica, Arial, sans-serif;
font-size: 14px;
margin: 0 auto;
max-width: 330px;
border: none;
background-color: rgba(0, 0, 0, 0.05);
}

#cf a {
box-shadow: none !important;
text-decoration: none;
color: inherit;
}

#cf .cf-wrapper {
box-sizing: border-box;
position: fixed;
bottom: 0;
left: 0;
z-index: 5000;
padding: 0.8em 1em 1em;
width: 100%;
border-top: solid 2px #4caf50;
background-color: #efefef;
text-align: center;
line-height: 1.5;
border-radius: 4px;
display: block;
padding: 15px;
overflow: hidden;
font-size: 14px;
line-height: 1.4;
text-align: left;
font-family: Helvetica;
}

#cf .cf-img-wrapper {
float: left;
margin-right: 15px;
}

#cf .cf-img {
vertical-align: middle;
border-style: none;
max-width: 130px;
position: relative;
}

#cf .cf-text {
color: inherit;
text-decoration: none;
box-shadow: none;
color: rgba(255, 255, 255, 0.7);
}

#cf .cf-text:before {
margin-right: 4px;
padding: 2px 6px;
border-radius: 3px;
background-color: #4caf50;
color: #fff;
content: 'Supporter';
#cf .cf-text strong {
color: rgba(255, 255, 255, 1);
}

#cf .cf-powered-by {
margin-top: 5px;
font-size: 12px;
text-decoration: none;
color: #999;
box-shadow: none;
}

#cf .cf-powered-by::before {
content: '';
color: rgba(0, 0, 0, 0.3);
display: inline-block;
display: block;
color: rgba(255, 255, 255, 0.7);
}
@@ -1,52 +1,44 @@
#cf {
font-family: Helvetica, Arial, sans-serif;
font-size: 14px;
margin: 0 auto;
max-width: 330px;
}

#cf a {
box-shadow: none !important;
text-decoration: none;
color: inherit;
}

#cf .cf-wrapper {
box-sizing: border-box;
position: fixed;
bottom: 0;
left: 0;
z-index: 5000;
padding: 0.8em 1em 1em;
width: 100%;
border-top: solid 2px #4caf50;
background-color: #eeeeee;
text-align: center;
line-height: 1.5;
border-radius: 4px;
display: block;
padding: 15px;
overflow: hidden;
font-size: 14px;
line-height: 1.4;
text-align: left;
background-color: rgba(0, 0, 0, 0.05);
font-family: Helvetica;
}

#cf .cf-text {
color: inherit;
text-decoration: none;
box-shadow: none;
#cf .cf-img-wrapper {
float: left;
margin-right: 15px;
}

#cf .cf-text:before {
margin-right: 4px;
padding: 2px 6px;
border-radius: 3px;
background-color: #4caf50;
color: #fff;
content: 'Supporter';
#cf .cf-img {
vertical-align: middle;
border-style: none;
max-width: 130px;
position: relative;
}

#cf .cf-powered-by {
font-size: 12px;
text-decoration: none;
color: #999;
box-shadow: none;
#cf .cf-text {
color: #333;
}

#cf .cf-powered-by::before {
content: '';
color: rgba(0, 0, 0, 0.3);
display: inline-block;
#cf .cf-powered-by {
margin-top: 5px;
font-size: 12px;
display: block;
color: #777;
}
@@ -4,7 +4,7 @@

#cf .cf-wrapper {
z-index: 1;
font-family: Helvetica, Arial, sans-serif;
font-family: Helvetica, Arial;
font-size: 13px;
box-sizing: border-box;
width: 100%;
@@ -4,7 +4,7 @@

#cf .cf-wrapper {
z-index: 1;
font-family: Helvetica, Arial, sans-serif;
font-family: Helvetica, Arial;
font-size: 13px;
box-sizing: border-box;
width: 100%;
@@ -16,7 +16,7 @@
font-size: 14px;
line-height: 1.4;
text-align: center;
font-family: Helvetica, Arial, sans-serif;
font-family: Helvetica, Arial;
margin-left: auto;
margin-right: auto;
}
@@ -16,7 +16,7 @@
font-size: 14px;
line-height: 1.4;
text-align: center;
font-family: Helvetica, Arial, sans-serif;
font-family: Helvetica, Arial;
margin-left: auto;
margin-right: auto;
}
@@ -13,7 +13,7 @@
font-size: 14px;
line-height: 1.4;
text-align: center;
font-family: Helvetica, Arial, sans-serif;
font-family: Helvetica, Arial;
margin-left: auto;
margin-right: auto;
}
@@ -13,7 +13,7 @@
font-size: 14px;
line-height: 1.4;
text-align: center;
font-family: Helvetica, Arial, sans-serif;
font-family: Helvetica, Arial;
margin-left: auto;
margin-right: auto;
}
@@ -23,7 +23,7 @@
font-size: 14px;
line-height: 1.4;
text-align: left;
font-family: Helvetica, Arial, sans-serif;
font-family: Helvetica, Arial;
font-weight: 350;
margin-left: auto;
margin-right: auto;
@@ -16,7 +16,7 @@
font-size: 14px;
line-height: 1.4;
text-align: left;
font-family: Helvetica, Arial, sans-serif;
font-family: Helvetica, Arial;
font-weight: 350;
margin-left: auto;
margin-right: auto;
@@ -16,7 +16,7 @@
font-size: 14px;
line-height: 1.4;
text-align: left;
font-family: Helvetica, Arial, sans-serif;
font-family: Helvetica, Arial;
font-weight: 350;
margin-left: auto;
margin-right: auto;

This file was deleted.

This file was deleted.

0 comments on commit 1b6fcd1

Please sign in to comment.
You can’t perform that action at this time.