]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Clean up nav responsiveness
authorKevin Ball <kmball11@gmail.com>
Sun, 14 May 2017 22:25:19 +0000 (15:25 -0700)
committerKevin Ball <kmball11@gmail.com>
Sun, 14 May 2017 22:25:19 +0000 (15:25 -0700)
docs/assets/img/logos/codepen-button.svg [new file with mode: 0644]
docs/partials/navigation.html
docs/partials/search-bar.html

diff --git a/docs/assets/img/logos/codepen-button.svg b/docs/assets/img/logos/codepen-button.svg
new file mode 100644 (file)
index 0000000..4ed099e
--- /dev/null
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+        width="180px" height="36px" viewBox="0 0 180 36" style="enable-background:new 0 0 180 36;" xml:space="preserve">
+<style type="text/css">
+       .st0{fill:#FFFFFF;}
+       .st1{fill:#CACACA;}
+       .st2{fill:#3F3F3F;}
+       .st3{enable-background:new    ;}
+       .st4{fill:#3C3C3C;}
+</style>
+<title>Group 2</title>
+<desc>Created with Sketch.</desc>
+<g id="Rectangle-8">
+       <g>
+               <g id="path-1">
+                       <rect class="st0" width="180" height="36"/>
+               </g>
+       </g>
+       <g>
+               <path class="st1" d="M180,36H0V0h180V36z M1,35h178V1H1V35z"/>
+       </g>
+</g>
+<g>
+       <g id="Shape">
+               <path class="st2" d="M79.6,14.9c1,0,1.9,0.4,2.6,1l1-1.2c-1-0.8-2.2-1.3-3.6-1.3c-3.1,0-5.6,2.5-5.6,5.6s2.5,5.6,5.6,5.6
+                       c1.4,0,2.6-0.5,3.6-1.3l-1-1.2c-0.7,0.6-1.6,1-2.6,1c-2.3,0-4.1-1.8-4.1-4.1C75.5,16.7,77.4,14.9,79.6,14.9z"/>
+       </g>
+       <g id="Shape_1_">
+               <path class="st2" d="M110.8,13.7h-3.1c-0.4,0-0.8,0.3-0.8,0.8v9.1c0,0.4,0.3,0.8,0.8,0.8h3.1c2.9,0,5.3-2.4,5.3-5.3
+                       C116.1,16.1,113.7,13.7,110.8,13.7z M110.8,22.8h-2.3v-7.6h2.3c2.1,0,3.8,1.7,3.8,3.8C114.6,21.1,112.9,22.8,110.8,22.8z"/>
+       </g>
+       <g id="Shape_2_">
+               <path class="st2" d="M120.2,14.5v9.1c0,0.4,0.3,0.8,0.8,0.8h6.3v-1.5h-5.6v-3h3.5v-1.5h-3.5v-3h5.6v-1.5H121
+                       C120.6,13.7,120.2,14,120.2,14.5z"/>
+       </g>
+       <g id="Shape_3_">
+               <path class="st2" d="M143.1,14.5v9.1c0,0.4,0.3,0.8,0.8,0.8h6.3v-1.5h-5.6v-3h3.5v-1.5h-3.5v-3h5.6v-1.5h-6.3
+                       C143.5,13.7,143.1,14,143.1,14.5z"/>
+       </g>
+       <g id="Shape_4_">
+               <path class="st2" d="M135.9,13.7h-3.3c-0.4,0-0.8,0.3-0.8,0.8v9.8h1.5v-4.5h2.5c1.7,0,3.1-1.3,3.1-3S137.6,13.7,135.9,13.7z
+                        M135.9,18.2h-2.5v-3h2.5c0.9,0,1.5,0.7,1.5,1.5C137.4,17.6,136.7,18.2,135.9,18.2z"/>
+       </g>
+       <g id="Shape_5_">
+               <path class="st2" d="M162,13.7v7.8l-6.2-7.5c-0.2-0.2-0.5-0.3-0.9-0.2c-0.3,0.1-0.5,0.4-0.5,0.7v9.8h1.5v-7.8l6.2,7.5
+                       c0.2,0.2,0.4,0.3,0.6,0.3c0.1,0,0.2,0,0.2,0c0.3-0.1,0.5-0.4,0.5-0.7v-9.8H162z"/>
+       </g>
+       <g id="Shape_6_">
+               <path class="st2" d="M102.7,16.4L102.7,16.4L102.7,16.4v-0.1v0c0,0,0,0,0,0v0c0,0,0,0,0,0c0,0,0,0,0,0l0,0c0,0,0,0,0,0l0,0
+                       c0,0,0,0,0,0l0,0L95,11c-0.2-0.2-0.5-0.2-0.8,0l-7.4,4.9l0,0c0,0,0,0,0,0l0,0c0,0,0,0,0,0l0,0c0,0,0,0,0,0c0,0,0,0,0,0v0
+                       c0,0,0,0,0,0v0v0v0v0c0,0,0,0,0,0v0.1v4.9v0.1c0,0,0,0,0,0v0v0v0v0c0,0,0,0,0,0v0c0,0,0,0,0,0c0,0,0,0,0,0l0,0c0,0,0,0,0,0l0,0
+                       c0,0,0,0,0,0l0,0l7.4,4.9c0.1,0.1,0.2,0.1,0.4,0.1c0.1,0,0.3,0,0.4-0.1l7.4-4.9l0,0c0,0,0,0,0,0l0,0c0,0,0,0,0,0l0,0c0,0,0,0,0,0
+                       c0,0,0,0,0,0v0c0,0,0,0,0,0v0v0v0v0c0,0,0,0,0,0v-0.1v-4.9C102.7,16.5,102.7,16.5,102.7,16.4L102.7,16.4z M94.7,20.6L92.2,19
+                       l2.4-1.6l2.4,1.6L94.7,20.6z M93.9,16.1l-3,2l-2.4-1.6l5.4-3.6V16.1L93.9,16.1z M89.7,19l-1.7,1.2v-2.3L89.7,19z M90.9,19.8l3,2
+                       v3.2l-5.4-3.6L90.9,19.8z M95.3,21.8l3-2l2.4,1.6L95.3,25C95.3,25.1,95.3,21.8,95.3,21.8z M99.6,19l1.7-1.2v2.3L99.6,19z
+                        M98.4,18.2l-3-2v-3.2l5.4,3.6L98.4,18.2z"/>
+       </g>
+</g>
+<g class="st3">
+       <path class="st4" d="M19.4,22.3V14h-3v-1h7.1v1h-3v8.3H19.4z"/>
+       <path class="st4" d="M23.8,22.3v-6.8h1.1v1.1c0.5-0.7,1.3-1.2,2.3-1.2v1.1c-0.1,0-0.3,0-0.4,0c-0.7,0-1.5,0.5-1.8,1.1v4.8H23.8z"/>
+       <path class="st4" d="M28.2,24c0.2,0.1,0.4,0.1,0.6,0.1c0.5,0,0.8-0.2,1-0.7l0.4-1l-2.8-6.8h1.1l2.2,5.5l2.3-5.5h1.1l-3.4,8.1
+               c-0.4,1-1.1,1.4-2,1.4c-0.2,0-0.6,0-0.8-0.1L28.2,24z"/>
+       <path class="st4" d="M38.8,13.9c0-0.4,0.3-0.7,0.7-0.7c0.4,0,0.7,0.3,0.7,0.7s-0.3,0.7-0.7,0.7C39.1,14.6,38.8,14.3,38.8,13.9z
+                M38.9,22.3v-6.8H40v6.8H38.9z"/>
+       <path class="st4" d="M42.3,20.9v-4.4h-1.1v-0.9h1.1v-1.8h1.1v1.8h1.4v0.9h-1.4v4.2c0,0.5,0.2,0.9,0.7,0.9c0.3,0,0.6-0.1,0.7-0.3
+               l0.3,0.8c-0.3,0.3-0.6,0.4-1.2,0.4C42.8,22.5,42.3,21.9,42.3,20.9z"/>
+       <path class="st4" d="M49.4,18.9c0-2,1.3-3.5,3.3-3.5s3.3,1.6,3.3,3.5s-1.3,3.6-3.3,3.6S49.4,20.9,49.4,18.9z M55,18.9
+               c0-1.4-0.8-2.6-2.2-2.6c-1.4,0-2.2,1.2-2.2,2.6c0,1.4,0.8,2.6,2.2,2.6C54.2,21.5,55,20.3,55,18.9z"/>
+       <path class="st4" d="M62.4,22.3v-4.4c0-1.2-0.6-1.6-1.5-1.6c-0.8,0-1.6,0.5-2,1.1v4.9h-1.1v-6.8h1.1v1c0.5-0.6,1.4-1.1,2.4-1.1
+               c1.4,0,2.1,0.7,2.1,2.2v4.7H62.4z"/>
+</g>
+</svg>
index 76525e6fff3cc62869e71a456bd26ba2cceb07b2..cc8614a4bdca3d97a29bcaaa3f2fb1cb4e31e695 100644 (file)
@@ -1,7 +1,7 @@
 <nav class="marketing-topbar show-for-medium">
 
   <ul class="menu">
-    <li class="topbar-title"><a href="http://foundation.zurb.com/index.html"><img src="assets/img/logos/zurb-logo.svg" alt="ZURB"> Foundation</a></li>
+    <li class="topbar-title"><a href="http://foundation.zurb.com/index.html"><img src="assets/img/logos/zurb-logo.svg" alt="ZURB"> <span class="show-for-large">Foundation</span></a></li>
   </ul>
 
   <ul class="dropdown menu" data-dropdown-menu data-click-open="false">
index 5c60ec884f8f2e0e09e701d65737cb1a1dcb2208..e6302dbdec3a87f89ce60151834485043905d1ee 100644 (file)
@@ -23,7 +23,7 @@
   <div class="medium-4 large-3 columns social-container hide-for-small-only">
     <ul class="social-list">
       <li><a class="github-button" href="https://github.com/zurb/foundation-sites" data-size="large" data-show-count="true" data-count-aria-label="# stargazers on GitHub" aria-label="Star zurb/foundation-sites on GitHub">Star</a></li>
-      <li class="social-button"><a href="https://twitter.com/share" class="twitter-share-button" data-size="large" data-via="ZURBFoundation" data-show-count="false">Tweet</a><script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script></li>
+      <li class="social-button show-for-large"><a href="https://twitter.com/share" class="twitter-share-button" data-size="large" data-via="ZURBFoundation" data-show-count="false">Tweet</a><script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script></li>
       <li class="social-button linkedin-button">
         <script src="//platform.linkedin.com/in.js" type="text/javascript"> lang: en_US</script>
         <script type="IN/Share"></script>