]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
simple is pretty good
authorTim Hartwick <tdhartwick2@gmail.com>
Tue, 19 Jan 2016 21:13:17 +0000 (13:13 -0800)
committerTim Hartwick <tdhartwick2@gmail.com>
Tue, 19 Jan 2016 21:13:17 +0000 (13:13 -0800)
scss/ink/components/_inline-list.scss
scss/ink/components/_media-query.scss
scss/ink/components/_type.scss
testing/src/pages/index.html

index 9fc7233d7ccfd3c4814b366b8a8142d35bf3a283..f2ad487641d6b8dfea2709783643647cb4153bbe 100644 (file)
@@ -8,14 +8,21 @@
 /// @group inline-list
 ////
 
-table.inline-list {
-  width: 100% !important;
-}
+table.menu {
+  width: 100%;
 
-td.vertical {
-  padding-top: 10px !important;
+  td,
+  th {
+    display: inline-block;
+    padding: 20px;
+  
+  }
 }
 
-table[class="body"] table.inline-list td.vertical {
-  display: block !important;
-}
+table.menu.simple {
+  td,
+  th {
+    padding: 0;
+    padding-right: 10px;
+  }
+}
\ No newline at end of file
index 8ae2541dc9e175b849ce39fb9763f5addbb8bc68..207966ac9b6124dad81313ad7769cad58c902152 100755 (executable)
@@ -121,7 +121,7 @@ table[class="body"] .hide-for-desktop {
 
 }
 
-// table[class="body"] table.inline-list {
+//  table.inline-list {
 //   td,
 //   th {
 //     width: auto !important;
index b4bc92afc711d117b267e754e0521c4a8fe87c04..a51c149e9a7768b7765e94ad9aa5ff15d8032b85 100755 (executable)
@@ -110,7 +110,8 @@ h5,
 h6,
 p,
 td,
-th {
+th,
+a {
   color: $global-font-color;
   font-family: $global-font-family;
   font-weight: $global-font-weight;
index 5a3a427e6c9b313e500bf3c19315473f1cb927ca..0322e0cbb7b29d6ce200ce677fc87d9a35313912 100644 (file)
@@ -2,68 +2,50 @@
   <tr>
     <td>
 
-    <table class="block-grid up-2" cellspacing="0">
+    <table class="row">
       <tr>
-        <td style="background:red;">
-          <p style="text-align: center;">one</p>
-        </td>
-        <td style="background: pink;">
-          <p style="text-align: center;">two</p>
+        <td class="large-12 small-12 columns">
+          <table class="menu">
+            <tr>
+            {{#repeat 10}}
+              <td>
+                <a href="http://google.com">One</a>
+              </td>
+            {{/repeat}}
+            </tr>
+          </table>
         </td>
       </tr>
     </table>
 
-    <table class="block-grid up-3">
+    <table class="row">
+      <th class="large-12 small-12 columns" style="background: pink;">
+        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Facilis quas, veritatis atque eligendi voluptatem natus fugiat! Iste officia ipsum sit quam, nam facere ea voluptatibus totam accusamus provident fugit reprehenderit!</p>
+      </th>
+    </table>
+
+    <table class="row">
       <tr>
-        <td style="background:red;">
-          <p style="text-align: center;">one</p>
-        </td>
-        <td style="background: pink;">
-          <p style="text-align: center;">two</p>
-        </td>
-        <td style="background:red;">
-          <p style="text-align: center;">three</p>
+        <td class="large-12 small-12 columns">
+          <table class="menu simple">
+            <tr>
+            {{#repeat 10}}
+              <td>
+                <a href="http://google.com">One</a>
+              </td>
+            {{/repeat}}
+            </tr>
+          </table>
         </td>
       </tr>
     </table>
 
-      <table class="block-grid up-4">
-        <tr>
-          <td style="background:red;">
-            <p style="text-align: center;">one</p>
-          </td>
-          <td style="background: pink;">
-            <p style="text-align: center;">two</p>
-          </td>
-          <td style="background:red;">
-            <p style="text-align: center;">three</p>
-          </td>
-          <td style="background: pink;">
-            <p style="text-align: center;">four</p>
-          </td>
-        </tr>
-      </table>
+    <table class="row">
+      <th class="large-12 small-12 columns" style="background: pink;">
+        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Facilis quas, veritatis atque eligendi voluptatem natus fugiat! Iste officia ipsum sit quam, nam facere ea voluptatibus totam accusamus provident fugit reprehenderit!</p>
+      </th>
+    </table>
 
-      <table class="block-grid up-5">
-        <tr>
-          <td style="background:red;">
-            <p style="text-align: center;">one</p>
-          </td>
-          <td style="background: pink;">
-            <p style="text-align: center;">two</p>
-          </td>
-          <td style="background:red;">
-            <p style="text-align: center;">three</p>
-          </td>
-          <td style="background: pink;">
-            <p style="text-align: center;">four</p>
-          </td>
-          <td style="background:red;">
-            <p style="text-align: center;">five</p>
-          </td>
-        </tr>
-      </table>
-    
 
     </td>
   </tr>