From: Marcus Date: Mon, 25 Apr 2016 12:05:13 +0000 (+0200) Subject: XHTML self-closing tags X-Git-Tag: v2.2.1~7^2~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F391%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-emails.git XHTML self-closing tags Remove units from 0 values Remove a duplicate width property Fix wrong padding selector --- diff --git a/dist/foundation.css b/dist/foundation.css index 1f72ecd1..185db90d 100755 --- a/dist/foundation.css +++ b/dist/foundation.css @@ -746,9 +746,8 @@ table.body table.container .hide-for-large { width: 0; mso-hide: all; overflow: hidden; - max-height: 0px; + max-height: 0; font-size: 0; - width: 0px; line-height: 0; } @media only screen and (max-width: 596px) { table.body table.container .hide-for-large { @@ -923,7 +922,7 @@ table.button { text-decoration: none; display: inline-block; padding: 8px 16px 8px 16px; - border: 0px solid #2199e8; + border: 0 solid #2199e8; border-radius: 3px; } table.button.radius table td { border-radius: 3px; @@ -988,7 +987,7 @@ table.button:active table td { table.button:hover table a, table.button:visited table a, table.button:active table a { - border: 0px solid #147dc2; } + border: 0 solid #147dc2; } table.button.secondary table td { background: #777777; @@ -997,14 +996,14 @@ table.button.secondary table td { table.button.secondary table a { color: #fefefe; - border: 0px solid #777777; } + border: 0 solid #777777; } table.button.secondary:hover table td { background: #919191; color: #fefefe; } table.button.secondary:hover table a { - border: 0px solid #919191; } + border: 0 solid #919191; } table.button.secondary:hover table td a { color: #fefefe; } @@ -1020,26 +1019,26 @@ table.button.success table td { border: 2px solid #3adb76; } table.button.success table a { - border: 0px solid #3adb76; } + border: 0 solid #3adb76; } table.button.success:hover table td { background: #23bf5d; } table.button.success:hover table a { - border: 0px solid #23bf5d; } + border: 0 solid #23bf5d; } table.button.alert table td { background: #ec5840; border: 2px solid #ec5840; } table.button.alert table a { - border: 0px solid #ec5840; } + border: 0 solid #ec5840; } table.button.alert:hover table td { background: #e23317; } table.button.alert:hover table a { - border: 0px solid #e23317; } + border: 0 solid #e23317; } table.callout { margin-bottom: 16px; diff --git a/docs/pages/typography.md b/docs/pages/typography.md index e64010d5..cf2ba667 100644 --- a/docs/pages/typography.md +++ b/docs/pages/typography.md @@ -69,5 +69,5 @@ Links are very standard, and the color is preset to the Foundation primary color Use dividers to define thematic breaks between paragraphs or sections of your email. ``` -
+
``` \ No newline at end of file diff --git a/scss/components/_button.scss b/scss/components/_button.scss index cd7d4cbe..5eb6a841 100755 --- a/scss/components/_button.scss +++ b/scss/components/_button.scss @@ -77,7 +77,7 @@ table.button { text-decoration: none; display: inline-block; padding: map-get($button-padding, default); - border: 0px solid $button-background; + border: 0 solid $button-background; border-radius: $button-radius; } } @@ -178,7 +178,7 @@ table.button:visited, table.button:active { table { a { - border: 0px solid darken($button-background, 10%); + border: 0 solid darken($button-background, 10%); } } } @@ -193,7 +193,7 @@ table.button.secondary { a { color: $button-color; - border: 0px solid $secondary-color; + border: 0 solid $secondary-color; } } } @@ -206,7 +206,7 @@ table.button.secondary:hover { } a { - border: 0px solid lighten($secondary-color, 10%); + border: 0 solid lighten($secondary-color, 10%); } } } @@ -243,7 +243,7 @@ table.button.success { } a { - border: 0px solid $success-color; + border: 0 solid $success-color; } } } @@ -255,7 +255,7 @@ table.button.success:hover { } a { - border: 0px solid darken($success-color, 10%); + border: 0 solid darken($success-color, 10%); } } } @@ -268,7 +268,7 @@ table.button.alert { } a { - border: 0px solid $alert-color; + border: 0 solid $alert-color; } } } @@ -280,7 +280,7 @@ table.button.alert:hover { } a { - border: 0px solid darken($alert-color, 10%); + border: 0 solid darken($alert-color, 10%); } } } diff --git a/scss/components/_visibility.scss b/scss/components/_visibility.scss index d2eeaa1a..60ae96f1 100644 --- a/scss/components/_visibility.scss +++ b/scss/components/_visibility.scss @@ -11,9 +11,9 @@ table.body table.container .hide-for-large { width:0; mso-hide:all; // hide selected elements in Outlook 2007-2013 overflow:hidden; - max-height: 0px; + max-height: 0; font-size: 0; - width: 0px; + width: 0; line-height: 0; @media only screen and (max-width: #{$global-breakpoint}) { diff --git a/templates/drip.html b/templates/drip.html index 33217ad9..54876774 100644 --- a/templates/drip.html +++ b/templates/drip.html @@ -40,7 +40,7 @@ -
+
@@ -54,7 +54,7 @@