Compare commits
No commits in common. "dea875eadc9c9eed8f85f62352f2c1bafc9cce7d" and "4830cd443d0e8fab0b16bd282df41f4687a9662e" have entirely different histories.
dea875eadc
...
4830cd443d
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -6,7 +6,7 @@ jQuery(function ($) {
|
|||||||
|
|
||||||
let links;
|
let links;
|
||||||
|
|
||||||
links = document.querySelectorAll("#one, #two, #three, #four, #fivenav_menu-7")
|
links = document.querySelectorAll("#one, #two, #three")
|
||||||
|
|
||||||
let url = window.location.href;
|
let url = window.location.href;
|
||||||
|
|
||||||
@ -20,7 +20,7 @@ jQuery(function ($) {
|
|||||||
console.log(innerContent)
|
console.log(innerContent)
|
||||||
|
|
||||||
let menu;
|
let menu;
|
||||||
menu = document.getElementById("menu-scroll-spy");
|
menu = document.getElementById("menu-test-scroll-spy");
|
||||||
|
|
||||||
menu.innerHTML = innerContent
|
menu.innerHTML = innerContent
|
||||||
|
|
||||||
@ -29,43 +29,10 @@ jQuery(function ($) {
|
|||||||
$('.entry-content').scrollspy({
|
$('.entry-content').scrollspy({
|
||||||
target: '#nav_menu-4'
|
target: '#nav_menu-4'
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.entry-content').scrollspy({
|
|
||||||
target: '#nav_menu-7'
|
|
||||||
});
|
|
||||||
|
|
||||||
// Refresh Scrollspy
|
// Refresh Scrollspy
|
||||||
$('[data-spy="scroll"]').each(function () {
|
$('[data-spy="scroll"]').each(function () {
|
||||||
$(this).scrollspy("refresh");
|
$(this).scrollspy("refresh");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
document.addEventListener("DOMContentLoaded", function(event) {
|
|
||||||
var elements = document.querySelectorAll('.view-team-member-button');
|
|
||||||
|
|
||||||
|
|
||||||
elements.forEach(function(element) {
|
|
||||||
element.addEventListener('click', function() {
|
|
||||||
|
|
||||||
for (elem of document.getElementsByClassName("view-team-member-bio")) {
|
|
||||||
elem.classList.remove("view-team-member-bio");
|
|
||||||
}
|
|
||||||
|
|
||||||
this.closest(".team-member-wrapper").classList.add('view-team-member-bio');
|
|
||||||
this.parentNode.classList.remove('visible');
|
|
||||||
})
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
document.addEventListener("DOMContentLoaded", function(event) {
|
|
||||||
var elements = document.querySelectorAll('.hide-team-member-button');
|
|
||||||
elements.forEach(function(element) {
|
|
||||||
element.addEventListener('click', function() {
|
|
||||||
this.parentNode.parentNode.classList.remove('view-team-member-bio');
|
|
||||||
})
|
|
||||||
});
|
|
||||||
});
|
});
|
@ -13,11 +13,8 @@
|
|||||||
width: 1320px;
|
width: 1320px;
|
||||||
}
|
}
|
||||||
.nav-link {
|
.nav-link {
|
||||||
// text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
&.active {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -160,7 +157,7 @@
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
content: counter(item);
|
content: counter(item);
|
||||||
counter-increment: item;
|
counter-increment: item;
|
||||||
color: $primary;
|
color: red;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -177,218 +174,24 @@
|
|||||||
#secondary {
|
#secondary {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar {
|
#sidebar {
|
||||||
// padding-left: 8rem;
|
padding-left: 8rem;
|
||||||
// padding-right: 2rem;
|
padding-right: 2rem;
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
a:not(.active) {
|
a:not(.active) {
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
li {
|
li {
|
||||||
border-top: 1px dotted #000;
|
|
||||||
// border-bottom:
|
|
||||||
padding: 0.5rem 0;
|
padding: 0.5rem 0;
|
||||||
&:last-of-type {
|
|
||||||
border-bottom: 1px dotted #000;
|
|
||||||
}
|
|
||||||
a {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* CUSTOM BLOCK MOBILE SUPPORT */
|
/* CUSTOM BLOCK MOBILE SUPPORT */
|
||||||
@include media-breakpoint-up(xl) {
|
@include media-breakpoint-up(lg) {
|
||||||
#secondary {
|
#secondary {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
body:not(.wp-admin) .wp-block-group.team {
|
|
||||||
position: relative;
|
|
||||||
|
|
||||||
// turn into 1 column on mobile
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: 1fr;
|
|
||||||
|
|
||||||
div.team-member-wrapper {
|
|
||||||
// Ensure each item is a square
|
|
||||||
aspect-ratio: 1/1;
|
|
||||||
|
|
||||||
// Resetting height/width to ensure that team member's name covers entire square
|
|
||||||
.wp-block-cover,
|
|
||||||
.wp-block-cover__inner-container {
|
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
&:hover {
|
|
||||||
.team-member-name {
|
|
||||||
visibility: visible;
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Team member's name and bio styling
|
|
||||||
.team-member-name, .team-member-bio {
|
|
||||||
color: #fff;
|
|
||||||
display: none;
|
|
||||||
background-color: $primary;
|
|
||||||
|
|
||||||
button {
|
|
||||||
margin-top: 5px;
|
|
||||||
background: none;
|
|
||||||
fill: white;
|
|
||||||
border: 2px solid #fff;
|
|
||||||
border-radius: 50%;
|
|
||||||
width: 36px;
|
|
||||||
height: 36px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.team-member-name {
|
|
||||||
background-color: rgba($primary, 0.5);
|
|
||||||
display: flex;
|
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
|
||||||
transition: all .25s ease-in-out;
|
|
||||||
flex-direction: column;
|
|
||||||
align-content: center;
|
|
||||||
justify-content: center;
|
|
||||||
padding: 5px 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Styling for overlay block
|
|
||||||
.view-team-member-bio .team-member-bio {
|
|
||||||
display: block;
|
|
||||||
position: absolute;
|
|
||||||
z-index: 10;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
top: 0;
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
margin: 0;
|
|
||||||
padding: 20px;
|
|
||||||
overflow: scroll;
|
|
||||||
}
|
|
||||||
|
|
||||||
.team-member-bio {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@include media-breakpoint-up(sm) {
|
|
||||||
body:not(.wp-admin) .wp-block-group.team {
|
|
||||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
||||||
// Handing animation
|
|
||||||
// Start by hiding, then display by :hover and JS in custom.js
|
|
||||||
.team-member-name {
|
|
||||||
visibility: hidden;
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
.team-member-name, .team-member-bio {
|
|
||||||
background-color: $primary;
|
|
||||||
}
|
|
||||||
.view-team-member-bio .team-member-bio {
|
|
||||||
width: calc(200% + 24px);
|
|
||||||
height: calc(200% + 24px);
|
|
||||||
}
|
|
||||||
.view-team-member-bio:nth-of-type(odd) .team-member-bio {
|
|
||||||
top: 0;
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
}
|
|
||||||
.view-team-member-bio:nth-of-type(even) .team-member-bio {
|
|
||||||
top: 0;
|
|
||||||
bottom: 0;
|
|
||||||
left: auto;
|
|
||||||
right: 0;
|
|
||||||
}
|
|
||||||
// Targetting 7th item
|
|
||||||
.team-member-wrapper:nth-of-type(7) .team-member-bio {
|
|
||||||
top: auto;
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
}
|
|
||||||
// Targetting 8th item
|
|
||||||
.team-member-wrapper:nth-of-type(8) .team-member-bio {
|
|
||||||
top: auto;
|
|
||||||
bottom: 0;
|
|
||||||
left: auto;
|
|
||||||
right: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@include media-breakpoint-up(md) {
|
|
||||||
body:not(.wp-admin) .wp-block-group.team {
|
|
||||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
||||||
|
|
||||||
.view-team-member-bio .team-member-bio {
|
|
||||||
width: calc(200% + 24px);
|
|
||||||
height: calc(200% + 24px);
|
|
||||||
top: 0;
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
margin: 0;
|
|
||||||
padding: 20px;
|
|
||||||
overflow: scroll;
|
|
||||||
}
|
|
||||||
|
|
||||||
.view-team-member-bio .team-member-bio {
|
|
||||||
padding: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.team-member-wrapper:nth-of-type(4) {
|
|
||||||
.team-member-bio {
|
|
||||||
left: auto;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// Targetting first 3 items in the bottom row
|
|
||||||
.team-member-wrapper:nth-of-type(n+5):nth-child(-n+7) {
|
|
||||||
.team-member-bio {
|
|
||||||
top: auto;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// Targetting last item in the bottom row
|
|
||||||
.team-member-wrapper:nth-of-type(8) {
|
|
||||||
.team-member-bio {
|
|
||||||
left: auto;
|
|
||||||
top: auto;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@include media-breakpoint-up(lg) {
|
|
||||||
body:not(.wp-admin) .wp-block-group.team {
|
|
||||||
.team-member-name {
|
|
||||||
padding: 20px;
|
|
||||||
button {
|
|
||||||
margin-top: 20px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
@ -4,52 +4,9 @@ $primary: #e30613;
|
|||||||
$secondary: #cccccc;
|
$secondary: #cccccc;
|
||||||
$tertiary: #f5f5f5;
|
$tertiary: #f5f5f5;
|
||||||
|
|
||||||
/* Generated by ParaType (http://www.paratype.com)*/
|
|
||||||
/* Font DIN 2014: Copyright (c) ParaType, 2025. All rights reserved.*/
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'DIN2014WebRegular';
|
|
||||||
src:
|
|
||||||
url('../fonts/din-2014_regular.woff2') format('woff2'),
|
|
||||||
url('../fonts/din-2014_regular.woff') format('woff');
|
|
||||||
font-weight: normal;
|
|
||||||
font-style: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Generated by ParaType (http://www.paratype.com)*/
|
|
||||||
/* Font DIN 2014: Copyright (c) ParaType, 2025. All rights reserved.*/
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'DIN2014WebBold';
|
|
||||||
src:
|
|
||||||
url('../fonts/din-2014_bold.woff2') format('woff2'),
|
|
||||||
url('../fonts/din-2014_bold.woff') format('woff');
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Generated by ParaType (http://www.paratype.com)*/
|
|
||||||
/* Font DIN 2014: Copyright (c) ParaType, 2025. All rights reserved.*/
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'DIN2014WebExtraBold';
|
|
||||||
src:
|
|
||||||
url('../fonts/din-2014_extra-bold.woff2') format('woff2'),
|
|
||||||
url('../fonts/din-2014_extra-bold.woff') format('woff');
|
|
||||||
font-weight: bolder;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
$font-family-sans-serif: "DIN2014WebRegular", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
|
|
||||||
$headings-font-family: "DIN2014WebRegular";
|
|
||||||
|
|
||||||
b, strong {
|
|
||||||
font-family: "DIN2014WebBold";
|
|
||||||
}
|
|
||||||
|
|
||||||
$font-size-base: 1.3rem;
|
$font-size-base: 1.3rem;
|
||||||
|
|
||||||
|
|
||||||
$navbar-light-color: white;
|
$navbar-light-color: white;
|
||||||
$navbar-light-hover-color: darken(white, 10%);
|
$navbar-light-hover-color: darken(white, 10%);
|
||||||
$navbar-light-active-color: white;
|
$navbar-light-active-color: white;
|
||||||
@ -65,3 +22,4 @@ $container-max-widths: (
|
|||||||
xl: 1140px,
|
xl: 1140px,
|
||||||
xxl: 1400px
|
xxl: 1400px
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -48,44 +48,6 @@ function header_bg_class() {
|
|||||||
}
|
}
|
||||||
add_filter('bootscore/class/header', 'header_bg_class', 10, 2);
|
add_filter('bootscore/class/header', 'header_bg_class', 10, 2);
|
||||||
|
|
||||||
/**
|
|
||||||
* Change main content col
|
|
||||||
*/
|
|
||||||
function change_content_col_size($col_size) {
|
|
||||||
if (is_active_sidebar('sidebar-1')) {
|
|
||||||
return "col-xl-9 pe-xl-5";
|
|
||||||
}
|
|
||||||
return $col_size;
|
|
||||||
}
|
|
||||||
add_filter('bootscore/class/main/col', 'change_content_col_size', 11);
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Change sidebar col
|
|
||||||
*/
|
|
||||||
function change_sidebar_col_size($col_size) {
|
|
||||||
return "col-xl-3 ps-xl-5 order-first order-xl-2";
|
|
||||||
}
|
|
||||||
add_filter('bootscore/class/sidebar/col', 'change_sidebar_col_size');
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Change sidebar responsive offcanvas
|
|
||||||
*/
|
|
||||||
function change_sidebar_offcanvas($col_size) {
|
|
||||||
return "offcanvas-xl offcanvas-start";
|
|
||||||
}
|
|
||||||
add_filter('bootscore/class/sidebar/offcanvas', 'change_sidebar_offcanvas');
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Change sidebar toggler button breakpoint and class
|
|
||||||
*/
|
|
||||||
function change_sidebar_toggler($col_size) {
|
|
||||||
return "d-none";
|
|
||||||
}
|
|
||||||
add_filter('bootscore/class/sidebar/button', 'change_sidebar_toggler');
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Footer top classes
|
* Footer top classes
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
"title": "Featured Image Block",
|
"title": "Featured Image Block",
|
||||||
"category": "widgets",
|
"category": "widgets",
|
||||||
"icon": "format-image",
|
"icon": "format-image",
|
||||||
"description": "Block displaying featured image, heading and button.",
|
"description": "Example block scaffolded with Create Block tool.",
|
||||||
"supports": {
|
"supports": {
|
||||||
"html": false
|
"html": false
|
||||||
},
|
},
|
||||||
|
@ -1 +1 @@
|
|||||||
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => '1883412fb901aaa84d07');
|
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => '239178da82c0d8063b17');
|
||||||
|
@ -42057,7 +42057,7 @@ function combine (array, callback) {
|
|||||||
/***/ ((module) => {
|
/***/ ((module) => {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
module.exports = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"create-block/featured-image-block","version":"0.1.0","title":"Featured Image Block","category":"widgets","icon":"format-image","description":"Block displaying featured image, heading and button.","supports":{"html":false},"attributes":{"heading":{"type":"string"},"buttonText":{"type":"string","default":"Learn More"},"buttonLink":{"type":"string"},"backgroundImage":{"type":"integer"}},"textdomain":"double-image","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","render":"file:./render.php"}');
|
module.exports = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"create-block/featured-image-block","version":"0.1.0","title":"Featured Image Block","category":"widgets","icon":"format-image","description":"Example block scaffolded with Create Block tool.","supports":{"html":false},"attributes":{"heading":{"type":"string"},"buttonText":{"type":"string","default":"Learn More"},"buttonLink":{"type":"string"},"backgroundImage":{"type":"integer"}},"textdomain":"double-image","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","render":"file:./render.php"}');
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
@ -42107,6 +42107,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
* @see https://www.npmjs.com/package/@wordpress/scripts#using-css
|
* @see https://www.npmjs.com/package/@wordpress/scripts#using-css
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// import AttachmentImage from './AttachmentImage';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The edit function describes the structure of your block in the context of the
|
* The edit function describes the structure of your block in the context of the
|
||||||
|
File diff suppressed because one or more lines are too long
@ -11,7 +11,7 @@
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div <?php echo get_block_wrapper_attributes(); ?>
|
<div <?php echo get_block_wrapper_attributes(); ?>
|
||||||
style="background-image: url(<?php echo wp_get_attachment_image_url($attributes['backgroundImage'], size= = "large"); ?>"
|
style="background-image: url(<?php echo wp_get_attachment_image_url($attributes['backgroundImage']); ?>"
|
||||||
tabindex="0">
|
tabindex="0">
|
||||||
|
|
||||||
<div class="call-to-action">
|
<div class="call-to-action">
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div <?php echo get_block_wrapper_attributes(); ?>
|
<div <?php echo get_block_wrapper_attributes(); ?>
|
||||||
style="background-image: url(<?php echo wp_get_attachment_image_url($attributes['backgroundImage'], size= = "large"); ?>"
|
style="background-image: url(<?php echo wp_get_attachment_image_url($attributes['backgroundImage']); ?>"
|
||||||
tabindex="0">
|
tabindex="0">
|
||||||
|
|
||||||
<div class="call-to-action">
|
<div class="call-to-action">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user