]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Updated test pages with new margin and padding classes!
authorharry <harmanmanchanda182@gmail.com>
Fri, 24 Feb 2017 10:39:47 +0000 (16:09 +0530)
committerharry <harmanmanchanda182@gmail.com>
Fri, 24 Feb 2017 10:39:47 +0000 (16:09 +0530)
14 files changed:
test/visual/prototype/display.html
test/visual/prototype/font-styling.html
test/visual/prototype/font-typescale.html
test/visual/prototype/image-replacement.html
test/visual/prototype/list-styling-ordered.html
test/visual/prototype/list-styling-unordered.html
test/visual/prototype/overflow.html
test/visual/prototype/rounded-bordered.html
test/visual/prototype/sizing-height.html
test/visual/prototype/sizing-width.html
test/visual/prototype/text-decoration.html
test/visual/prototype/text-transformation.html
test/visual/prototype/text-truncate.html
test/visual/prototype/text-wrapping.html

index d3ec28bc59d8694a4f79a8702b63a6620fa16acd..708360718ca415cf7cb62430ec73d0f66d4e255b 100644 (file)
   </head>
   <body>
     <div class="row column">
-      <h2 class="m-t-20">Display None</h2>
+      <h2 class="margin-top-1">Display None</h2>
       <span>A span element.</span>
       <span class="debug display-none">My Debugged span.</span>
       <span>Another span element</span>
     </div>
     <div class="row column">
-      <h2 class="m-t-20">Display Inline</h2>
+      <h2 class="margin-top-1">Display Inline</h2>
       <span>A span element.</span>
       <span class="debug display-inline">My Debugged span.</span>
       <span>Another span element</span>
     </div>
     <div class="row column">
-      <h2 class="m-t-20">Display Block</h2>
+      <h2 class="margin-top-1">Display Block</h2>
       <span>A span element.</span>
       <span class="debug display-block">My Debugged span.</span>
       <span>Another span element</span>
     </div>
 
     <div class="row column">
-      <h2 class="m-t-20">Display Inline Block</h2>
+      <h2 class="margin-top-1">Display Inline Block</h2>
       <div class="floating-box">Floating box</div>
       <div class="floating-box">Floating box</div>
       <div class="floating-box">Floating box</div>
@@ -64,7 +64,7 @@
       <div class="after-box">Another box, after the floating boxes...</div>
     </div>
     
-    <p class="m-y-30">&nbsp;</p>
+    <p class="margin-vertical-2">&nbsp;</p>
     <script src="../assets/js/vendor.js"></script>
     <script src="../assets/js/foundation.js"></script>
     <script>
index 65cfc2e3d9088cd579a5d85efdb215576b4b14a7..b783e61b5de56a03b6118bcaac1462ba7e8f45e0 100644 (file)
   </head>
   <body>
     <div class="row column">
-      <h2 class="m-t-20">Font Wide</h2>
+      <h2 class="margin-top-1">Font Wide</h2>
       <p class="font-wide">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
     </div>
     <div class="row column">
-      <h2 class="m-t-20">Font Normal</h2>
+      <h2 class="margin-top-1">Font Normal</h2>
       <p class="font-normal">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
     </div>
     <div class="row column">
-      <h2 class="m-t-20">Font Bold</h2>
+      <h2 class="margin-top-1">Font Bold</h2>
       <p class="font-bold">Perspiciatis tempore cumque, magni aspernatur, quidem. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse</p>
     </div>
     <div class="row column">
-      <h2 class="m-t-20">Font Italic</h2>
+      <h2 class="margin-top-1">Font Italic</h2>
       <p class="font-italic">Lorem minus, placeat, cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.iure voluptas aliquam tempora neque?</p>
     </div>
 
index 50eefb5ab9687f897905e4f68f786eba79775b11..139504d1f9e34f3d136acddef459f210a938e34b 100644 (file)
@@ -10,7 +10,7 @@
   </head>
   <body>
     <div class="row column">
-      <p class="m-t-20">&nbsp;</p>
+      <p class="margin-top-1">&nbsp;</p>
       <p class="font-h1">Font-H1: Lorem Ipsum Dolor</p>
       <p class="font-h2">Font-H2: Lorem Ipsum Dolor</p>
       <p class="font-h3">Font-H3: Lorem Ipsum Dolor</p>
index ea37ad2ab860c62c2b5f1ec1b9d809aa278ad963..ce3a861c2adb0d9332142c34ca9b07ed09d31137 100644 (file)
@@ -10,7 +10,7 @@
   </head>
   <body>
     <div class="row column">
-      <h2 class="m-t-40">Text Hide</h2>
+      <h2 class="margin-top-2">Text Hide</h2>
       <a href="" class="text-hide">
         <img src="http://foundation.zurb.com/sites/docs/assets/img/logos/zurb-logo.svg">
         Zurb
index 74b058d89fd83c9f7ebd44d50cbe37ef4a96dae7..0d9b28b0e422b08f270f98bdd45807f2a10857dc 100644 (file)
@@ -10,7 +10,7 @@
   </head>
   <body>
     <div class="row column">
-      <h2 class="m-t-20">No Bullet</h2>
+      <h2 class="margin-top-1">No Bullet</h2>
       <ol class="no-bullet">
         <li>List item with a much longer description or more content.</li>
         <li>List item</li>
@@ -18,7 +18,7 @@
       </ol>
     </div>
     <div class="row column">
-      <h2 class="m-t-20">List Decimal</h2>
+      <h2 class="margin-top-1">List Decimal</h2>
       <ol class="list-decimal">
         <li>List item with a much longer description or more content.</li>
         <li>List item</li>
@@ -26,7 +26,7 @@
       </ol>
     </div>
     <div class="row column">
-      <h2 class="m-t-20">List Lower Alpha</h2>
+      <h2 class="margin-top-1">List Lower Alpha</h2>
       <ol class="list-lower-alpha">
         <li>List item with a much longer description or more content.</li>
         <li>List item</li>
@@ -34,7 +34,7 @@
       </ol>
     </div>
     <div class="row column">
-      <h2 class="m-t-20">List Lower Latin</h2>
+      <h2 class="margin-top-1">List Lower Latin</h2>
       <ol class="list-lower-latin">
         <li>List item with a much longer description or more content.</li>
         <li>List item</li>
@@ -42,7 +42,7 @@
       </ol>
     </div>
     <div class="row column">
-      <h2 class="m-t-20">List Lower Roman</h2>
+      <h2 class="margin-top-1">List Lower Roman</h2>
       <ol class="list-lower-roman">
         <li>List item with a much longer description or more content.</li>
         <li>List item</li>
@@ -50,7 +50,7 @@
       </ol>
     </div>
     <div class="row column">
-      <h2 class="m-t-20">List Upper Alpha</h2>
+      <h2 class="margin-top-1">List Upper Alpha</h2>
       <ol class="list-upper-alpha">
         <li>List item with a much longer description or more content.</li>
         <li>List item</li>
@@ -58,7 +58,7 @@
       </ol>
     </div>
     <div class="row column">
-      <h2 class="m-t-20">List Upper Latin</h2>
+      <h2 class="margin-top-1">List Upper Latin</h2>
       <ol class="list-upper-latin">
         <li>List item with a much longer description or more content.</li>
         <li>List item</li>
@@ -66,7 +66,7 @@
       </ol>
     </div>
     <div class="row column">
-      <h2 class="m-t-20">List Upper Roman</h2>
+      <h2 class="margin-top-1">List Upper Roman</h2>
       <ol class="list-upper-roman">
         <li>List item with a much longer description or more content.</li>
         <li>List item</li>
index 7c3d91a32eedd3abde014954cb3e6e94e44dcbd8..dc0ecba63de009a11cb29d0a2b1403e7dc0ff366 100644 (file)
@@ -10,7 +10,7 @@
   </head>
   <body>
     <div class="row column">
-      <h2 class="m-t-20">No Bullet</h2>
+      <h2 class="margin-top-1">No Bullet</h2>
       <ul class="no-bullet">
         <li>List item with a much longer description or more content.</li>
         <li>List item</li>
@@ -18,7 +18,7 @@
       </ul>
     </div>
     <div class="row column">
-      <h2 class="m-t-20">List Disc</h2>
+      <h2 class="margin-top-1">List Disc</h2>
       <ul class="list-disc">
         <li>List item with a much longer description or more content.</li>
         <li>List item</li>
@@ -26,7 +26,7 @@
       </ul>
     </div>
     <div class="row column">
-      <h2 class="m-t-20">List Circle</h2>
+      <h2 class="margin-top-1">List Circle</h2>
       <ul class="list-circle">
         <li>List item with a much longer description or more content.</li>
         <li>List item</li>
@@ -34,7 +34,7 @@
       </ul>
     </div>
     <div class="row column">
-      <h2 class="m-t-20">List Square</h2>
+      <h2 class="margin-top-1">List Square</h2>
       <ul class="list-square">
         <li>List item with a much longer description or more content.</li>
         <li>List item</li>
index 89d540b22764916e9fde9fb27042d563e663f2d3..b3c697ab737a23792463f2e9d168175d34440c0e 100644 (file)
@@ -17,7 +17,7 @@
   </head>
   <body>
     <div class="row column">
-      <h2 class="m-t-20">Overflow Scroll</h2>
+      <h2 class="margin-top-1">Overflow Scroll</h2>
       <p>This first example uses <code>text-nowrap</code> also to show the scroll on both sides.</p>
       <div class="debug-box overflow-scroll text-nowrap">
         <div>
@@ -81,7 +81,7 @@
     </div>
 
     <div class="row column">
-      <h2 class="m-t-20">Overflow Hidden</h2>
+      <h2 class="margin-top-1">Overflow Hidden</h2>
       <div class="debug-box overflow-hidden">
         <div>
           <p>
     </div>
 
     <div class="row column">
-      <h2 class="m-t-20">Overflow Visible</h2>
+      <h2 class="margin-top-1">Overflow Visible</h2>
       <div class="debug-box overflow-visible">
         <div>
           <p>
index 407b78aa2bf1e9aff0d4b625ed9d0099a495e84e..471ee726a2c9302d030a4b28b5217622abdaf422 100644 (file)
@@ -11,7 +11,7 @@
   </head>
   <body>
     <div class="row column">
-      <h2 class="margin-top-20">Buttons</h2>
+      <h2 class="margin-top-1">Buttons</h2>
       <button type="button" class="button rounded bordered primary">Primary</button>
       <button type="button" class="button rounded bordered secondary">Secondary</button>
       <button type="button" class="button rounded bordered success">Success</button>
       <button type="button" class="button rounded bordered warning">Warning</button>
     </div>
     <div class="row column">
-      <h2 class="margin-top-20">Images</h2>
+      <h2 class="margin-top-1">Images</h2>
       <img src="http://placehold.it/100x100" class="rounded margin-right-1">
       <img src="http://placehold.it/100x100" class="rounded-circle">
     </div>
     <div class="row column">
-      <h2 class="margin-top-20">Cards</h2>
+      <h2 class="margin-top-1">Cards</h2>
       <div class="rounded bordered card" style="width: 300px;">
         <img src="../assets/img/generic/rectangle-1.jpg">
         <div class="card-divider">
@@ -37,7 +37,7 @@
       </div>
     </div>
     <div class="row column">
-      <h2 class="margin-top-20">Tables</h2>
+      <h2 class="margin-top-1">Tables</h2>
       <table class="rounded bordered">
         <thead>
           <tr>
@@ -75,7 +75,7 @@
         </tbody>
       </table>
     </div>
-    <p class="margin-vertical-20">&nbsp;</p>
+    <p class="margin-vertical-1">&nbsp;</p>
 
     <script src="../assets/js/vendor.js"></script>
     <script src="../assets/js/foundation.js"></script>
index a477cf9dbef916e78f48f522a127fcca6c73df3b..26ee4686088b144a012bd0bfa57501d39912bdeb 100644 (file)
@@ -35,7 +35,7 @@
   <body>
 
     <div class="row column">
-      <h2 class="m-t-20">Height</h2>
+      <h2 class="margin-top-1">Height</h2>
       <div class="demo-height-box">
         <div class="height-25 p-a-20">Height 25%</div>
         <div class="height-50 p-a-20">Height 50%</div>
     </div>
 
     <div class="row column">
-      <h2 class="m-t-30">Max Height 100</h2>
+      <h2 class="margin-vertical-2">Max Height 100</h2>
       <div class="demo-max-height-box">
         <div class="max-height-100 p-a-20">Max Height = 100%</div>
       </div>
     </div>
-
-    <p class="m-t-40">&nbsp;</p>
-
     <script src="../assets/js/vendor.js"></script>
     <script src="../assets/js/foundation.js"></script>
     <script>
index c736747d40e714e8c32d3e59a873de037c2058ea..9b01197ef98b48d65151c65cba3625e13feefc42 100644 (file)
@@ -16,7 +16,7 @@
   </head>
   <body>
     <div class="row column">
-      <h2 class="m-t-20">Width</h2>
+      <h2 class="margin-top-1">Width</h2>
       <div class="demo-width-box">
         <div class="width-25 p-a-20">Width 25%</div>
         <div class="width-50 p-a-20">Width 50%</div>
     </div>
 
     <div class="row column">
-      <h2 class="m-t-30">Max Width 100</h2>
+      <h2 class="margin-vertical-2">Max Width 100</h2>
       <img src="http://placehold.it/1500x200?text=Max+Width+=100%" class="max-width-100">
     </div>
 
-    <p class="m-t-40">&nbsp;</p>
-
     <script src="../assets/js/vendor.js"></script>
     <script src="../assets/js/foundation.js"></script>
     <script>
index 4c2d968aa31b91432ecf03d6aebf9e8f7a83be74..c9dfe44e7455cd8c77c400eb34613b0cee47e334 100644 (file)
   </head>
   <body>
     <div class="row column">
-      <h2 class="m-t-20">Text Uppercase</h2>
+      <h2 class="margin-top-1">Text Uppercase</h2>
       <p class="text-uppercase"><strong>This is a upper-cased text.</strong> Set in the year 0 F.E. ("Foundation Era"), The Psychohistorians opens on Trantor, the capital of the 12,000-year-old Galactic Empire. Though the empire appears stable and powerful, it is slowly decaying in ways that parallel the decline of the Western Roman Empire.</p>
     </div>
     <div class="row column">
-      <h2 class="m-t-20">Text Lowercase</h2>
+      <h2 class="margin-top-1">Text Lowercase</h2>
       <p class="text-lowercase"><strong>This is a lower-cased text.</strong> Set in the year 0 F.E. ("Foundation Era"), The Psychohistorians opens on Trantor, the capital of the 12,000-year-old Galactic Empire. Though the empire appears stable and powerful, it is slowly decaying in ways that parallel the decline of the Western Roman Empire.</p>
     </div>
     <div class="row column">
-      <h2 class="m-t-20">Text capitalize</h2>
+      <h2 class="margin-top-1">Text capitalize</h2>
       <p class="text-capitalize"><strong>This is a caPitAlized teXt.</strong> Set in the yEar 0 F.E. ("Foundation Era"), The PsychohisTorians opens on Trantor, the capital of the 12,000-year-old Galactic Empire. Though the empire appears stable and powerful, it is slowly decaying in ways that parallel the decline of the Western Roman Empire.</p>
     </div>
 
index ce204820cbd3ddd7ee9bb578c6dde8df94bd5c49..766eb8ab35d635606655fa2004e63fe688cff2e9 100644 (file)
   </head>
   <body>
     <div class="row column">
-      <h2 class="m-t-20">Text Underline</h2>
+      <h2 class="margin-top-1">Text Underline</h2>
       <p class="text-underline">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolorum eius delectus culpa illum consequatur, deserunt sapiente facilis dolores repellendus sunt!</p>
     </div>
     <div class="row column">
-      <h2 class="m-t-20">Text Overline</h2>
+      <h2 class="margin-top-1">Text Overline</h2>
       <p class="text-overline">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolorum eius delectus culpa illum consequatur, deserunt sapiente facilis dolores repellendus sunt!</p>
     </div>
     <div class="row column">
-      <h2 class="m-t-20">Text Line Through</h2>
+      <h2 class="margin-top-1">Text Line Through</h2>
       <p class="text-line-through">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolorum eius delectus culpa illum consequatur, deserunt sapiente facilis dolores repellendus sunt!</p>
     </div>
 
index b77635e395787c1d2d85ab92100a2746290db46c..924f6cabff5556c839eea11153744c4079d74ba6 100644 (file)
@@ -10,7 +10,7 @@
   </head>
   <body>
     <div class="row column">
-      <h2 class="m-t-20">Text Truncate</h2>
+      <h2 class="margin-top-1">Text Truncate</h2>
       <p class="text-truncate">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aperiam voluptatem similique officiis recusandae esse cum in totam quisquam perspiciatis quod! Magnam culpa vitae, tempore eos explicabo cupiditate. Deserunt, quisquam, quos!</p>
     </div>
 
index d8fe127dbf756dd4e0a75eadde47ab801d796a57..8d673bdd4ea3c8380860a241995e083bf8a21284 100644 (file)
   </head>
   <body>
     <div class="row column">
-      <h2 class="m-t-20">Text Wrap</h2>
+      <h2 class="margin-top-1">Text Wrap</h2>
       <p class="text-wrap">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aperiam voluptatem similique officiis recusandae esse cum in totam quisquam perspiciatis quod! Magnam culpa vitae, tempore eos explicabo cupiditate. Deserunt, quisquam, quos!</p>
     </div>
 
     <div class="row column">
-      <h2 class="m-t-20">Text No-wrap</h2>
+      <h2 class="margin-top-1">Text No-wrap</h2>
       <p class="text-nowrap">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aperiam voluptatem similique officiis recusandae esse cum in totam quisquam perspiciatis quod! Magnam culpa vitae, tempore eos explicabo cupiditate. Deserunt, quisquam, quos!</p>
     </div>