a3dae3b3 by Jeff Balicki

menu

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent ba4770c9
......@@ -17629,6 +17629,10 @@ select {
margin-top: 5px;
}
.wpcf7 form.sent .wpcf7-response-output {
border-color: #e00;
}
body {
font-family: "PT Sans", sans-serif;
}
......@@ -19597,6 +19601,7 @@ ul.sf_date_field .sf-datepicker {
}
.side-menu li {
margin-bottom: 0.875rem;
position: relative;
}
.side-menu li a {
text-decoration: none;
......@@ -19617,10 +19622,22 @@ ul.sf_date_field .sf-datepicker {
height: 0.5625rem;
background: #EE0000 0% 0% no-repeat padding-box;
}
.side-menu li:first-child a {
text-transform: uppercase;
}
.side-menu li:first-child ul li a {
text-transform: none;
}
.side-menu .children .has-children {
position: relative;
}
.side-menu .children .has-children:after {
.side-menu .children .toggle {
width: 30px;
height: 30px;
position: absolute;
display: inline-block;
}
.side-menu .children .toggle:after {
position: absolute;
content: "";
width: 0.875rem;
......@@ -20031,6 +20048,12 @@ ul.sf_date_field .sf-datepicker {
border-radius: 1.25rem;
}
}
.promo-area a {
color: #fff;
}
.promo-area a:hover {
text-decoration: none;
}
.promo-area .content {
width: 50%;
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.
......@@ -20951,20 +20951,23 @@
var sideMenu = function ($) {
function init() {
$(".side-menu li:has(.children) > a").addClass("has-children closed");
$(".side-menu li:has(.children) > a").after("<div class='toggle'></div>");
$(".side-menu li .children .current_page_ancestor a").removeClass("closed").addClass("opened");
$(document).on("click", ".side-menu .children li:has(.children) > a.has-children.closed", function (e) {
$(document).on("click", ".side-menu .toggle", function (e) {
e.preventDefault();
$(this).removeClass("closed");
$(this).addClass("opened");
$(this).next(".children").slideDown();
return false;
});
$(document).on("click", ".side-menu li:has(.children) > a.has-children.opened", function (e) {
e.preventDefault();
$(this).removeClass("opened");
$(this).addClass("closed");
$(this).next(".children").slideUp();
return false;
console.log('click');
console.log($(this).parent());
if ($(this).parent().hasClass("opened")) {
$(this).parent().removeClass("opened");
$(this).parent().addClass("closed");
$(this).next(".children").slideUp();
return false;
} else {
$(this).parent().removeClass("closed");
$(this).parent().addClass("opened");
$(this).next(".children").slideDown();
return false;
}
});
}
return {
......@@ -26214,6 +26217,10 @@
pageLength: 10
});
});
var wpcf7Elm = document.querySelector('.wpcf7');
wpcf7Elm.addEventListener('wpcf7submit', function (event) {
jQuery('.appArea.responsive').hide();
}, false);
exports.Alert = alert$1;
exports.Button = button;
......
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.
......@@ -8,23 +8,28 @@ var sideMenu = (function($) {
function init() {
$(".side-menu li:has(.children) > a").addClass("has-children closed");
$(".side-menu li:has(.children) > a").after("<div class='toggle'></div>");
$(".side-menu li .children .current_page_ancestor a").removeClass("closed").addClass("opened");
$(document).on("click", ".side-menu .children li:has(.children) > a.has-children.closed", function(e){
$(document).on("click", ".side-menu .toggle", function(e){
e.preventDefault();
$(this).removeClass("closed");
$(this).addClass("opened");
$(this).next(".children").slideDown();
return false;
});
$(document).on("click", ".side-menu li:has(.children) > a.has-children.opened", function(e){
e.preventDefault();
$(this).removeClass("opened");
$(this).addClass("closed");
$(this).next(".children").slideUp();
return false;
console.log('click');
console.log($(this).parent());
if($(this).parent().hasClass("opened")){
$(this).parent().removeClass("opened");
$(this).parent().addClass("closed");
$(this).next(".children").slideUp();
return false;
}else{
$(this).parent().removeClass("closed");
$(this).parent().addClass("opened");
$(this).next(".children").slideDown();
return false;
}
});
}
return {
......
......@@ -44,3 +44,11 @@ jQuery(document).ready(function() {
pageLength: 10
} );
} );
var wpcf7Elm = document.querySelector( '.wpcf7' );
wpcf7Elm.addEventListener( 'wpcf7submit', function( event ) {
jQuery('.appArea.responsive').hide();
}, false );
\ No newline at end of file
......
......@@ -680,4 +680,8 @@ select {
width: 100%;
margin-bottom: 2px;
margin-top: 5px;
}
.wpcf7 form.sent .wpcf7-response-output{
border-color:#e00;
}
\ No newline at end of file
......
......@@ -244,12 +244,13 @@ h1+p {
li{
margin-bottom: 0.875rem;
position: relative;
a{
text-decoration: none;
font-size: 1.25rem;
line-height: 1.5625rem;
}
a:hover{
text-decoration: underline;
position: relative;
......@@ -268,19 +269,39 @@ h1+p {
}
li:first-child {
a{
text-transform: uppercase;
}
ul{
li{
a{
text-transform:none;
}
}
}
}
.children{
.has-children{
position: relative;
&:after{
position: absolute;
content: "";
width: 0.875rem;
height: 0.5625rem;
top: 0.625rem;
margin-left: 0.625rem;
transform: rotateX(180deg);
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="14.462" height="8.769" viewBox="0 0 14.462 8.769"><path id="Path_1387" data-name="Path 1387" d="M18.55,187.453c.5.507.993,1.01,1.49,1.508q1.791,1.789,3.585,3.575a.8.8,0,0,0,1.188,0c.227-.234.46-.462.691-.692a.787.787,0,0,0,0-1.179l-3.223-3.224q-1.563-1.565-3.125-3.131a.872.872,0,0,0-.585-.279.833.833,0,0,0-.643.278q-1.206,1.21-2.413,2.42l-3.285,3.286c-.224.224-.448.446-.67.671a.783.783,0,0,0,.008,1.157l.685.684a.8.8,0,0,0,1.206,0l2.908-2.9,2.106-2.1Z" transform="translate(-11.305 -184.028)"/></svg>');
}
}
.toggle{
width:30px;
height:30px;
position: absolute;
display: inline-block;
}
.toggle:after{
position: absolute;
content: "";
width: 0.875rem;
height: 0.5625rem;
top: 0.625rem;
margin-left: 0.625rem;
transform: rotateX(180deg);
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="14.462" height="8.769" viewBox="0 0 14.462 8.769"><path id="Path_1387" data-name="Path 1387" d="M18.55,187.453c.5.507.993,1.01,1.49,1.508q1.791,1.789,3.585,3.575a.8.8,0,0,0,1.188,0c.227-.234.46-.462.691-.692a.787.787,0,0,0,0-1.179l-3.223-3.224q-1.563-1.565-3.125-3.131a.872.872,0,0,0-.585-.279.833.833,0,0,0-.643.278q-1.206,1.21-2.413,2.42l-3.285,3.286c-.224.224-.448.446-.67.671a.783.783,0,0,0,.008,1.157l.685.684a.8.8,0,0,0,1.206,0l2.908-2.9,2.106-2.1Z" transform="translate(-11.305 -184.028)"/></svg>');
}
.children{
padding-left: 1.25rem;
......
......@@ -12,6 +12,12 @@
flex-direction: column-reverse;
border-radius: 1.25rem;
}
a{
color: #fff;
}
a:hover{
text-decoration: none;
}
.content{
width: 50%;
......
......@@ -2,6 +2,6 @@
Theme Name: MSF CA Child
Author: Tenzing Communications
Template: msf-ca
Version: 1.0.437
Version: 1.0.438
*/
......