]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Visual Regression: Added Rounded elements to testing
authorharry <harmanmanchanda182@gmail.com>
Wed, 8 Feb 2017 15:36:09 +0000 (21:06 +0530)
committerharry <harmanmanchanda182@gmail.com>
Wed, 8 Feb 2017 15:36:09 +0000 (21:06 +0530)
Also, created a template specific to `prototype.css` for re-use.

test/visual/prototype/_template.html [new file with mode: 0644]
test/visual/prototype/rounded.html [new file with mode: 0644]

diff --git a/test/visual/prototype/_template.html b/test/visual/prototype/_template.html
new file mode 100644 (file)
index 0000000..861c0e0
--- /dev/null
@@ -0,0 +1,22 @@
+<!doctype html>
+<!--[if IE 9]><html class="lt-ie10" lang="en" > <![endif]-->
+<html class="no-js" lang="en" dir="ltr">
+  <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <title>Foundation for Sites Testing</title>
+    <link href="../motion-ui/dist/motion-ui.css" rel="stylesheet" />
+    <link href="../assets/css/foundation-prototype.css" rel="stylesheet" />
+  </head>
+  <body>
+    <div class="row column">
+      
+    </div>
+
+    <script src="../assets/js/vendor.js"></script>
+    <script src="../assets/js/foundation.js"></script>
+    <script>
+      $(document).foundation();
+    </script>
+  </body>
+</html>
diff --git a/test/visual/prototype/rounded.html b/test/visual/prototype/rounded.html
new file mode 100644 (file)
index 0000000..339229e
--- /dev/null
@@ -0,0 +1,37 @@
+<!doctype html>
+<!--[if IE 9]><html class="lt-ie10" lang="en" > <![endif]-->
+<html class="no-js" lang="en" dir="ltr">
+  <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <title>Foundation for Sites Testing</title>
+    <link href="../motion-ui/dist/motion-ui.css" rel="stylesheet" />
+    <link href="../assets/css/foundation-prototype.css" rel="stylesheet" />
+
+  </head>
+  <body>
+    <div class="row column">
+      <h2 class="m-t-20">Rounded Buttons</h2>
+      <button type="button" class="button rounded primary">Primary</button>
+      <button type="button" class="button rounded secondary">Secondary</button>
+      <button type="button" class="button rounded success">Success</button>
+      <button type="button" class="button rounded alert">Alert</button>
+      <button type="button" class="button rounded warning">Warning</button>
+    </div>
+    <div class="row column">
+      <h2 class="m-t-20">Rounded Images</h2>
+      <img src="http://placehold.it/100x100" class="rounded m-r-10">
+      <img src="http://placehold.it/100x100" class="rounded-circle m-r-10">
+      <img src="http://placehold.it/100x100" class="rounded-top m-r-10">
+      <img src="http://placehold.it/100x100" class="rounded-right m-r-10">
+      <img src="http://placehold.it/100x100" class="rounded-bottom m-r-10">
+      <img src="http://placehold.it/100x100" class="rounded-left m-r-10">
+    </div>
+
+    <script src="../assets/js/vendor.js"></script>
+    <script src="../assets/js/foundation.js"></script>
+    <script>
+      $(document).foundation();
+    </script>
+  </body>
+</html>