From: RafiBomb Date: Tue, 12 Apr 2016 16:25:28 +0000 (-0700) Subject: adds emails to ga tracking code X-Git-Tag: v2.1.0~1^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1faf7f222a575e1bca55fbee89bf160aa898a5c6;p=thirdparty%2Ffoundation%2Ffoundation-emails.git adds emails to ga tracking code --- diff --git a/docs/assets/scss/docs.scss b/docs/assets/scss/docs.scss index af17a1c5..207bf751 100644 --- a/docs/assets/scss/docs.scss +++ b/docs/assets/scss/docs.scss @@ -42,3 +42,8 @@ $foundation-palette: ( .zurb-footer-top { background: #1C1F3A !important; } + +.callout.secondary.tip { + border: none; + border-left: 5px solid $primary-color; +} diff --git a/docs/layouts/default.html b/docs/layouts/default.html index 2565b682..cc10efa0 100644 --- a/docs/layouts/default.html +++ b/docs/layouts/default.html @@ -50,6 +50,7 @@ ['_setAccount', 'UA-2195009-2'], ['_trackPageview'], ['b._setAccount', 'UA-2195009-27'], + ['c._setAccount', 'UA-2195009-47'], ['b._trackPageview'] ); (function() { diff --git a/docs/pages/tips-tricks.md b/docs/pages/tips-tricks.md index 36a36a0e..b9f22d95 100644 --- a/docs/pages/tips-tricks.md +++ b/docs/pages/tips-tricks.md @@ -18,6 +18,8 @@ A framework is a collection of reusable code and design patterns which gives use The sad truth about creating or coding HTML emails is that tables are the only thing that is universally supported when it comes to email design. If you came from the world of building websites, this may seem like a stepping into Doc Brown's Delorean, charging up the Flux-capitor, and going back to the 1996. Suddenly your CSS is written with inline style tags, useful CSS properties don't work and you're burried in a sea of table tags. +
General rule of thumb: your email is not going to look identical in every client. And that’s OK.
+ It's not all doom and gloom though, and we're all in this together. Foundation for Emails helps by getting you away from tables (Sass version), helping you with an organized project structure, and a well tested codebase to make this much easier. We've put together this guide and [links to resources](http://foundation.zurb.com/emails/resources.html) from our friends to help you along as well as a new [Responsive Emails master class](http://zurb.com/university/responsive-emails-foundation) to become a HTML email pro. --- @@ -32,60 +34,6 @@ Foundation for Emails' default container with around 600px wide. That's because The height of your email doesn't matter as much because people scroll. It still helps to have your most compelling content towards the top. ---- - -## CSS - -#### CSS Support -Support of CSS properties varies greatly between email clients. You're best off sticking with the basics and not getting too fancy. - -This CSS compatibily chart will really save you some pain when writing CSS: -[CSS Support Chart](https://www.campaignmonitor.com/css/b/) - -For some things you can do and work-arounds, see the Progressive Enhancement section below. - ---- - -#### Inlining CSS - -Gmail strips the `` (and, consequently, `