@include foundation-prototype-rounded;
@include foundation-prototype-bordered;
@include foundation-prototype-shadow;
-@include foundation-prototype-titlebar;
+@include foundation-prototype-arrow;
+@include foundation-prototype-separator;
@include foundation-prototype-overflow;
@include foundation-prototype-display;
@include foundation-prototype-position;
---
+## Arrow Utility
+
+Mostly used as dropdown arrows for navigation.
+
+```html
+<div class="arrow-down"></div>
+<div class="arrow-up"></div>
+<div class="arrow-right"></div>
+<div class="arrow-left"></div>
+```
+
+<div class="arrow-down display-inline-block margin-right-1"></div>
+<div class="arrow-up display-inline-block margin-right-1"></div>
+<div class="arrow-right display-inline-block margin-right-1"></div>
+<div class="arrow-left display-inline-block"></div>
+
+---
+
## Separator
This creates a tiny separator below the heading of an element and is usually used within the heading of a section.
--- /dev/null
+// Foundation for Sites by ZURB
+// foundation.zurb.com
+// Licensed under MIT Open Source
+
+////
+/// @group prototype-arrow
+////
+
+/// Map containing all the `arrow` direction
+/// @type Map
+$prototype-arrow-directions: (
+ down,
+ up,
+ right,
+ left
+) !default;
+
+/// Width of the Arrow, `0.4375rem` by default.
+/// @type Number
+$prototype-arrow-size: 0.4375rem;
+
+/// Color of the Arrow, `$black` by default.
+/// @type Color
+$prototype-arrow-color: $black;
+
+@mixin foundation-prototype-arrow {
+ @each $prototype-arrow-direction in $prototype-arrow-directions {
+ .arrow-#{$prototype-arrow-direction} {
+ @include css-triangle(
+ $prototype-arrow-size,
+ $prototype-arrow-color,
+ $prototype-arrow-direction
+ );
+ }
+ }
+}
// Shadow Utility
@import 'shadow';
+// Arrow Utility
+@import 'arrow';
+
// Separator Utility
@import 'separator';
@include foundation-prototype-rounded;
@include foundation-prototype-bordered;
@include foundation-prototype-shadow;
+ @include foundation-prototype-arrow;
@include foundation-prototype-separator;
@include foundation-prototype-overflow;
@include foundation-prototype-display;
--- /dev/null
+<!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="grid padding-gutters">
+ <div class="cell">
+ <h2 class="margin-top-1">Arrow</h2>
+ <div class="arrow-down display-inline-block margin-right-1"></div>
+ <div class="arrow-up display-inline-block margin-right-1"></div>
+ <div class="arrow-right display-inline-block margin-right-1"></div>
+ <div class="arrow-left display-inline-block"></div>
+ </div>
+ </div>
+
+ <script src="../assets/js/vendor.js"></script>
+ <script src="../assets/js/foundation.js"></script>
+ <script>
+ $(document).foundation();
+ </script>
+ </body>
+</html>