making changes to off-canvas for potential float over effect
authorIan Weller <ian@gaslightmedia.com>
Thu, 7 Apr 2016 19:53:23 +0000 (15:53 -0400)
committerIan Weller <ian@gaslightmedia.com>
Thu, 7 Apr 2016 19:53:23 +0000 (15:53 -0400)
css/app.css
functions.php
scss/_right-off-canvas.scss
scss/_settings.scss

index 7a56e13..d279c03 100644 (file)
@@ -7420,7 +7420,7 @@ aside.right-off-canvas-menu ul.open {
 
 .right-off-canvas-menu {
   list-style: none;
-  transform: translate3d(100%, 0, 10px); }
+  z-index: 1010; }
   .right-off-canvas-menu .off-canvas-list li {
     color: #FFFFFF; }
     .right-off-canvas-menu .off-canvas-list li a {
index 1c2e5b9..f6bb51d 100644 (file)
@@ -136,7 +136,11 @@ function mytheme_search_loop() {
 
   <?php endwhile;
 }
-
+function is_post_type($type){
+    global $wp_query;
+    if($type == get_post_type($wp_query->post->ID)) return true;
+    return false;
+}
 add_action('thematic_searchloop', 'mytheme_search_loop');
 // End of the Contextual/Highlight Search functions
 ?>
index 641837e..9f7093c 100644 (file)
@@ -48,7 +48,7 @@ aside.right-off-canvas-menu ul.open {
 }
 .right-off-canvas-menu {
         list-style: none;
-    transform: translate3d(100%, 0, 10px);
+    z-index: 1010;
     .off-canvas-list {
         li {
             color: $white;
index a43237b..5130891 100644 (file)
@@ -896,7 +896,7 @@ $small-font-color: scale-color($header-font-color, $lightness: 35%);
 // $off-canvas-overlay-background-hover: rgba($white, 0.05);
 
 // Transition Variables
- $menu-slide: "transform 500ms ease";
+// $menu-slide: "transform 500ms ease";
 
 // 19. Orbit
 // - - - - - - - - - - - - - - - - - - - - - - - - -