}
}
-
.is-dropdown-submenu {
display: none;
position: absolute;
'Lightens a dark color');
}
}
+
+
+.top-bar {
+ padding: 90px;
+}
\ No newline at end of file
<body>
<div class="row column">
<h1>Foundation for Sites Component Testing</h1>
- <ul>
- <li><a href="responsive-menu.html">Responsive Menu</a></li>
+ <ul class="menu vertical">
+ <li><a href="responsive-menu.html">Responsive Menu - Drilldown Medium Dropdown</a></li>
+ <li><a href="responsive-menu-right-dropdown.html">Responsive Menu - Right Dropdown</a></li>
</ul>
</div>
--- /dev/null
+<html>
+
+<head>
+ <link href="http://cdnjs.cloudflare.com/ajax/libs/foundicons/3.0.0/foundation-icons.css" rel="stylesheet">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+
+ <link href="assets/css/foundation.css" rel="stylesheet" />
+
+ <style>
+
+
+ </style>
+</head>
+
+<body>
+ <div class="title-bar" data-responsive-toggle="main-menu" data-hide-for="medium">
+ <button class="menu-icon" type="button" data-toggle></button>
+ <div class="title-bar-title">Menu</div>
+ </div>
+
+ <div class="top-bar" id="main-menu">
+ <div class="top-bar-left">
+ <ul class="menu vertical medium-horizontal" data-responsive-menu="drilldown medium-dropdown">
+ <li class="has-submenu">
+ <a href="#">One</a>
+ <ul class="submenu menu vertical" data-submenu>
+ <li><a href="#">One</a></li>
+ <li><a href="#">Two</a></li>
+ <li>
+ <a href="#">Three</a>
+ <ul class="submenu menu vertical align-left" data-submenu>
+ <li><a href="#">One</a></li>
+ <li><a href="#">Two</a></li>
+ <li><a href="#">Three</a></li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ <li><a href="#">Two</a></li>
+ <li><a href="#">Three</a></li>
+ </ul>
+ </div>
+ <div class="top-bar-right">
+ <ul class="menu vertical medium-horizontal" data-responsive-menu="drilldown medium-dropdown">
+ <li><a href="#">One</a></li>
+ <li><a href="#">Two</a></li>
+ <li class="has-submenu">
+ <a href="#">Three</a>
+ <ul class="submenu menu vertical" data-submenu>
+ <li><a href="#">One</a></li>
+ <li><a href="#">Two</a></li>
+ <li>
+ <a href="#">Three</a>
+ <ul class="submenu menu vertical align-left" data-submenu>
+ <li><a href="#">One</a></li>
+ <li><a href="#">Two</a></li>
+ <li><a href="#">Three</a></li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </div>
+ </div>
+
+ <p>Horizontal menu on medium and up. Multiple dropdowns on the far right and left of the viewport. Drilldowns on small screens.</p>
+
+ <ul>
+ <li>The dropdowns should open underneath the parent element.</li>
+ <li>On the right side, the dropdown's right side should be aligned to the right of the parent element.</li>
+ <li>On the left side, the dropdown's left side should be aligned to the left of the parent element.</li>
+ <li>On the right side, submenu dropdowns should be aligned to left-top of the parent element and open toward the middle.</li>
+ <li>On the left side, submenu dropdowns should be aligned to right-top of the parent element and open toward the middle.</li>
+ <li>Dropdown parent element arrows should point down.</li>
+ <br>
+ <li>On mobile, the arrows to access submenu should be at the left of the dropdown.</li>
+ </ul>
+
+ <script src="assets/js/vendor.js"></script>
+ <script src="assets/js/foundation.js"></script>
+ <script>
+ $(document).foundation();
+ </script>
+</body>
+</html>
--- /dev/null
+<html>
+
+<head>
+ <link href="http://cdnjs.cloudflare.com/ajax/libs/foundicons/3.0.0/foundation-icons.css" rel="stylesheet">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+
+ <link href="assets/css/foundation.css" rel="stylesheet" />
+
+ <style>
+
+
+ </style>
+</head>
+
+<body>
+ <div class="title-bar" data-responsive-toggle="main-menu" data-hide-for="medium">
+ <button class="menu-icon" type="button" data-toggle></button>
+ <div class="title-bar-title">Menu</div>
+ </div>
+
+ <div class="top-bar" id="main-menu">
+ <div class="top-bar-left">
+ <ul class="menu vertical medium-horizontal" data-responsive-menu="drilldown medium-dropdown">
+ <li class="has-submenu">
+ <a href="#">One</a>
+ <ul class="submenu menu vertical" data-submenu>
+ <li><a href="#">One</a></li>
+ <li><a href="#">Two</a></li>
+ <li>
+ <a href="#">Three</a>
+ <ul class="submenu menu vertical align-left" data-submenu>
+ <li><a href="#">One</a></li>
+ <li><a href="#">Two</a></li>
+ <li><a href="#">Three</a></li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ <li><a href="#">Two</a></li>
+ <li><a href="#">Three</a></li>
+ </ul>
+ </div>
+ <div class="top-bar-right">
+ <ul class="menu vertical medium-horizontal" data-responsive-menu="drilldown medium-dropdown">
+ <li><a href="#">One</a></li>
+ <li><a href="#">Two</a></li>
+ <li class="has-submenu">
+ <a href="#">Three</a>
+ <ul class="submenu menu vertical" data-submenu>
+ <li><a href="#">One</a></li>
+ <li><a href="#">Two</a></li>
+ <li>
+ <a href="#">Three</a>
+ <ul class="submenu menu vertical align-left" data-submenu>
+ <li><a href="#">One</a></li>
+ <li><a href="#">Two</a></li>
+ <li><a href="#">Three</a></li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </div>
+ </div>
+
+ <p>Horizontal menu on medium and up. Multiple dropdowns on the far right and left of the viewport. Drilldowns on small screens.</p>
+
+ <ul>
+ <li>The dropdowns should open underneath the parent element.</li>
+ <li>On the right side, the dropdown's right side should be aligned to the right of the parent element.</li>
+ <li>On the left side, the dropdown's left side should be aligned to the left of the parent element.</li>
+ <li>On the right side, submenu dropdowns should be aligned to left-top of the parent element and open toward the middle.</li>
+ <li>On the left side, submenu dropdowns should be aligned to right-top of the parent element and open toward the middle.</li>
+ <li>Dropdown parent element arrows should point down.</li>
+ <br>
+ <li>On mobile, the arrows to access submenu should be at the left of the dropdown.</li>
+ </ul>
+
+ <script src="assets/js/vendor.js"></script>
+ <script src="assets/js/foundation.js"></script>
+ <script>
+ $(document).foundation();
+ </script>
+</body>
+</html>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="assets/css/foundation.css" rel="stylesheet" />
+
+ <style>
+
+ .top-bar {
+ padding: 75px 0;
+ }
+
+ </style>
</head>
<body>
<ul class="menu vertical medium-horizontal" data-responsive-menu="drilldown medium-dropdown">
<li class="has-submenu">
<a href="#">One</a>
- <ul class="submenu mega menu vertical" data-submenu>
+ <ul class="submenu menu vertical" data-submenu>
<li><a href="#">One</a></li>
<li><a href="#">Two</a></li>
<li><a href="#">Three</a></li>