You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2019/05/05 04:25:39 UTC

[maven-fluido-skin] branch master updated: [MSKIN-137] Make the hamburger menu work with the top-navigation enabled and sidebar-navigation disabled

This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-fluido-skin.git


The following commit(s) were added to refs/heads/master by this push:
     new ec4b18a  [MSKIN-137] Make the hamburger menu work with the top-navigation enabled and sidebar-navigation disabled
ec4b18a is described below

commit ec4b18a33ed4212761c05aa077a54797f25d0652
Author: Misty Stanley-Jones <ms...@cloudera.com>
AuthorDate: Mon Nov 9 13:19:56 2015 +1000

    [MSKIN-137] Make the hamburger menu work with the top-navigation enabled and sidebar-navigation disabled
    
    Credits to: Josh Elser (joshelser)
    Closes #1
---
 src/main/resources/META-INF/maven/site.vm | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/META-INF/maven/site.vm b/src/main/resources/META-INF/maven/site.vm
index 7f8f504..d7e2769 100644
--- a/src/main/resources/META-INF/maven/site.vm
+++ b/src/main/resources/META-INF/maven/site.vm
@@ -83,9 +83,21 @@
         </a>
 #*    *##else
 #*      *##if ( $decoration.getCustomValue( 'fluidoSkin.topBarContainerStyle' ) )
-            <div class="container" style="$decoration.getCustomValue( 'fluidoSkin.topBarContainerStyle' )"><div class="nav-collapse">
+            <div class="container" style="$decoration.getCustomValue( 'fluidoSkin.topBarContainerStyle' )">
+              <a data-target=".nav-collapse" data-toggle="collapse" class="btn btn-navbar">
+                  <span class="icon-bar"></span>
+                  <span class="icon-bar"></span>
+                  <span class="icon-bar"></span>
+              </a>
+          <div class="nav-collapse">
 #*      *##else
-            <div class="container"><div class="nav-collapse">
+            <div class="container">
+              <a data-target=".nav-collapse" data-toggle="collapse" class="btn btn-navbar">
+                  <span class="icon-bar"></span>
+                  <span class="icon-bar"></span>
+                  <span class="icon-bar"></span>
+              </a>
+          <div class="nav-collapse">
 #*      *##end
 #*    *##end
 #*    *##if ( $decoration.getCustomChild( 'fluidoSkin.topBarIcon' ) )