cd23ef9f by Jeff Balicki

hover

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 6488e857
......@@ -19482,6 +19482,10 @@ ul.sf_date_field .sf-datepicker {
}
}
.side-menu ul li.page_item_has_children:hover .children {
display: block;
}
#content:not(.search-content) {
display: flex;
}
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
......@@ -20968,6 +20968,20 @@
return false;
}
});
// $(document).on({
// mouseenter: function () {
// $(this).find('.has-children').removeClass("closed");
// $(this).find('.has-children').addClass("opened");
// $(this).find('.children').slideDown();
// },
// mouseleave: function () {
// $(this).find('.has-children').removeClass("opened");
// $(this).find('.has-children').addClass("closed");
// $(this).find('.children').slideUp();
// }
// }, ".side-menu ul li.page_item_has_children"); //pass the element as an argument to .on
$(document).ready(function () {
$(window).scroll(function () {
if ($('.side-menu').length > 0) {
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
......@@ -4060,6 +4060,11 @@
"integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==",
"dev": true
},
"hoverintent": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/hoverintent/-/hoverintent-2.2.1.tgz",
"integrity": "sha512-VyU54L1xW5rSqpsv/LJ6ecymGXsXXeGs9iVEKot4kKBCq5UodSAuy3DqX686LZxEpaMEfeCHPu4LndsMX5Q9eQ=="
},
"http-errors": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz",
......
......@@ -44,6 +44,7 @@
"dependencies": {
"datatables.net-dt": "^1.13.6",
"datatables.net-plugins": "^1.13.6",
"hoverintent": "^2.2.1",
"rollup-plugin-postcss": "^4.0.2",
"swiper": "^8.4.2",
"vanilla-lazyload": "^17.8.4"
......
......@@ -31,6 +31,21 @@ var sideMenu = (function($) {
});
// $(document).on({
// mouseenter: function () {
// $(this).find('.has-children').removeClass("closed");
// $(this).find('.has-children').addClass("opened");
// $(this).find('.children').slideDown();
// },
// mouseleave: function () {
// $(this).find('.has-children').removeClass("opened");
// $(this).find('.has-children').addClass("closed");
// $(this).find('.children').slideUp();
// }
// }, ".side-menu ul li.page_item_has_children"); //pass the element as an argument to .on
$(document).ready(function(){
......
......@@ -25,7 +25,11 @@
}
}
}
.side-menu ul li.page_item_has_children:hover{
.children{
display: block;
}
}
#content:not(.search-content){
display: flex;
......
......@@ -2,6 +2,6 @@
Theme Name: MSF CA Child
Author: Tenzing Communications
Template: msf-ca
Version: 1.0.493
Version: 1.0.494
*/
......