]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
Clean up some code
authorRafal Proszowski <rafal@flipsports.com>
Fri, 10 Jun 2016 13:18:43 +0000 (14:18 +0100)
committerRafal Proszowski <rafal@flipsports.com>
Fri, 10 Jun 2016 13:18:43 +0000 (14:18 +0100)
scss/_global.scss
scss/components/_alignment.scss
scss/components/_button.scss
scss/components/_media-query.scss
scss/components/_menu.scss
scss/components/_typography.scss
scss/components/_visibility.scss
scss/grid/_grid.scss
scss/settings/_settings.scss

index 5457f20f67b432ed39c6d8b3525e68c61e7d2693..1d176927162e3d7ee9823a51ef5e232c91c9db97 100755 (executable)
@@ -90,7 +90,6 @@ $global-rounded: 500px !default;
 /// @type String
 $global-breakpoint: $global-width + $global-gutter !default;
 
-
 .wrapper {
   width: 100%;
 }
index 55b7b85ac273ae2bd6cc07dea705f8832a4f5a05..cee59e5f2891336f505a6286b0a27f1fe6bfbe50 100755 (executable)
@@ -66,7 +66,7 @@ img.float-right {
   text-align: right;
 }
 
-img.float-center, 
+img.float-center,
 img.text-center {
   margin: 0 auto;
   Margin: 0 auto;
index d57bbc2016139493797d31d7f17075364bf1ba6a..563a248e8ba4735cdb44e186a7aea8a611240b39 100755 (executable)
@@ -9,19 +9,19 @@
 /// Padding inside buttons at various sizes.
 /// @type Map
 $button-padding: (
-  tiny: 4px 8px 4px 8px,
-  small: 5px 10px 5px 10px,
-  default: 8px 16px 8px 16px,
-  large: 10px 20px 10px 20px,
+        tiny: 4px 8px 4px 8px,
+        small: 5px 10px 5px 10px,
+        default: 8px 16px 8px 16px,
+        large: 10px 20px 10px 20px,
 ) !default;
 
 /// Font sizes of buttons at various sizes.
 /// @type Map
 $button-font-size: (
-  tiny: 10px,
-  small: 12px,
-  default: 16px,
-  large: 20px,
+        tiny: 10px,
+        small: 12px,
+        default: 16px,
+        large: 20px,
 ) !default;
 
 /// Text color of buttons.
index a564b464d78a1da8ac92f306e52afd98428f0ffa..52c94fad18c389aba9c975294bf940a09b37121b 100755 (executable)
@@ -30,7 +30,7 @@
     box-sizing: border-box;
     padding-left: $global-gutter !important;
     padding-right: $global-gutter !important;
-    
+
     // Nested columns won't double the padding
     .column,
     .columns {
@@ -70,7 +70,7 @@
   @for $i from 1 through ($grid-column-count - 1) {
     table.body td.small-offset-#{$i},
     table.body th.small-offset-#{$i} {
-    //1.5 takes in effect a whole empty cell.
+      //1.5 takes in effect a whole empty cell.
       margin-left: -zf-grid-calc-pct($i, $grid-column-count) !important;
       Margin-left: -zf-grid-calc-pct($i, $grid-column-count) !important;
     }
   //menu
   table.menu {
     width: 100% !important;
-    
+
     td,
     th {
       width: auto !important;
       display: inline-block !important;
     }
 
-    &.vertical, 
+    &.vertical,
     &.small-vertical {
       td,
       th {
     width: auto !important;
   }
 
-
   // expands buttons for small only
   table.button.small-expand,
   table.button.small-expanded {
index fb3fe58389206a86a5db8107a58b8a72d1012a45..ff4f91215b31235cd541b036576ecb1302883027 100644 (file)
@@ -18,17 +18,16 @@ $menu-item-gutter: 10px !default;
 /// @type Color
 $menu-item-color: $primary-color !default;
 
-
 table.menu {
   width: $global-width;
 
   td.menu-item,
-  th.menu-item{
+  th.menu-item {
     padding: $menu-item-padding;
     padding-right: $menu-item-gutter;
 
     a {
-      color: $menu-item-color; 
+      color: $menu-item-color;
     }
   }
 }
index b206b4ec9a5f4abfb9c951a779039583d985adf4..d4950d363c81cd2351ce93f4586a2a6e36ddb4de 100755 (executable)
@@ -323,16 +323,16 @@ hr {
 
 // preheader styles
 span.preheader {
-  display:none !important;
-  visibility:hidden;
-  mso-hide:all !important;
-  font-size:1px;
+  display: none !important;
+  visibility: hidden;
+  mso-hide: all !important;
+  font-size: 1px;
   color: $body-background; // needs to match background color
-  line-height:1px;
-  max-height:0px;
-  max-width:0px;
-  opacity:0;
-  overflow:hidden;
+  line-height: 1px;
+  max-height: 0px;
+  max-width: 0px;
+  opacity: 0;
+  overflow: hidden;
 }
 
 
index 7a8e27610e25a4b9f421a8c19449ef178526a9c0..caab54a73d021d70fc797a4bfe22d9598c6515af 100644 (file)
@@ -8,26 +8,26 @@
 
 .hide-for-large {
   display: none !important;
-  width:0;
-  mso-hide:all; // hide selected elements in Outlook 2007-2013
-  overflow:hidden;
+  width: 0;
+  mso-hide: all; // hide selected elements in Outlook 2007-2013
+  overflow: hidden;
   max-height: 0;
   font-size: 0;
   width: 0;
-  line-height: 0; 
+  line-height: 0;
 
   @media only screen and (max-width: #{$global-breakpoint}) {
     display: block !important;
     width: auto !important;
     overflow: visible !important;
-    max-height: none !important; 
+    max-height: none !important;
     font-size: inherit !important;
     line-height: inherit !important;
   }
 }
 
 table.body table.container .hide-for-large * {
-  mso-hide:all; // hide selected elements in Outlook 2007-2013
+  mso-hide: all; // hide selected elements in Outlook 2007-2013
 }
 
 table.body table.container .hide-for-large,
@@ -48,9 +48,9 @@ table.body table.container .callout-inner.hide-for-large {
 table.body table.container .show-for-large {
   @media only screen and (max-width: #{$global-breakpoint}) {
     display: none !important;
-    width:0;
-    mso-hide:all; // hide selected elements in Outlook 2007-2013
-    overflow:hidden;
+    width: 0;
+    mso-hide: all; // hide selected elements in Outlook 2007-2013
+    overflow: hidden;
   }
 }
 
index 9f5b8e200b28ee79953fd15a20e150b7e9e2b627..db71f682b61985a4ada7cc835e0ceb4e68fd4965 100755 (executable)
@@ -42,7 +42,7 @@ table {
     width: 100%;
     position: relative;
   }
-  
+
   &.spacer {
     width: 100%;
     td {
index 50c74ef02f2972391394c8316a0e5116a32c8ab1..959db6d28e2c4c3dee6efebda6dc64e6015cec19 100644 (file)
@@ -12,7 +12,6 @@
 //   7. Menu
 //   8. Thumbnail
 
-
 // 1. Global
 // ---------
 
@@ -94,16 +93,16 @@ $stat-font-size: 40px;
 // ---------
 
 $button-padding: (
-  tiny: 4px 8px 4px 8px,
-  small: 5px 10px 5px 10px,
-  default: 8px 16px 8px 16px,
-  large: 10px 20px 10px 20px,
+        tiny: 4px 8px 4px 8px,
+        small: 5px 10px 5px 10px,
+        default: 8px 16px 8px 16px,
+        large: 10px 20px 10px 20px,
 );
 $button-font-size: (
-  tiny: 10px,
-  small: 12px,
-  default: 16px,
-  large: 20px,
+        tiny: 10px,
+        small: 12px,
+        default: 16px,
+        large: 20px,
 );
 $button-color: $white;
 $button-color-alt: $medium-gray;