Skip to content

Commit

Permalink
Merge pull request #940 from equalizedigital/feature/local-dev-branch
Browse files Browse the repository at this point in the history
Feature/local dev branch
  • Loading branch information
tronsymphony authored Nov 9, 2023
2 parents 75a68ec + e15bb7a commit 144e87a
Show file tree
Hide file tree
Showing 28 changed files with 337 additions and 159 deletions.
2 changes: 1 addition & 1 deletion assets/css/editor-style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/main.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/main.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/global-min.js

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions assets/js/src/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -741,9 +741,9 @@ window.addEventListener("load", function () {
if (highlightButton) {
let items = document.querySelectorAll('.team-hightlight-block-container-team-hightlight-member');
let initText = highlightButtonText.innerText;
if (items.length >= 4) {
let tabOpen = false;

let tabOpen = false;
if (items.length >= 4) {

if (windowWidth <= 768) {
items.forEach(function (item, index) {
Expand All @@ -764,7 +764,6 @@ window.addEventListener("load", function () {
}

highlightButton.addEventListener('click', function () {
console.log('eee')
// Remove the "hidden" class and add an "animate" class for each item
items.forEach(function (item) {

Expand Down Expand Up @@ -909,7 +908,6 @@ window.addEventListener('DOMContentLoaded', () => {


const observer = new IntersectionObserver(entries => {
console.log(observer)
entries.forEach(entry => {
const id = entry.target.getAttribute('id');
if (entry.intersectionRatio > 0) {
Expand Down
2 changes: 2 additions & 0 deletions assets/scss/blocks/form-column.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@
position: relative;
border-radius: 10px;
z-index: 12;
box-shadow: 0px 15px 27px rgba(161,165,165,0.25);

@include media(">tablet") {
padding: 70px 85px;
}
Expand Down
3 changes: 2 additions & 1 deletion assets/scss/blocks/full-width-columns-background.scss
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,15 @@

&-content {
padding: 45px $container-padding;

// text-align: center;
@include media(">tablet") {
padding: 106px 80px;
width: 50%;
padding: 90px 20px 70px;
width: 50%;
max-width: 500px;
margin: 0 auto;
text-align: unset;

}

Expand Down
3 changes: 2 additions & 1 deletion assets/scss/blocks/full-width-columns-cta-inner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@

&-content {
padding: 45px $container-padding;
text-align: center;

@include media(">tablet") {
padding: 106px 80px;
Expand All @@ -77,7 +78,7 @@
width: 50%;
max-width: 500px;
margin: 0 auto;

text-align: unset;
}

.title {
Expand Down
2 changes: 1 addition & 1 deletion assets/scss/blocks/tab-block.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ button.tab-block-container__heading__button:hover {

.tab-block-container-tab-block_content_items_item_container:nth-last-child(1) {
//border: none;
padding-bottom: 0;
// padding-bottom: 0;
@include media(">tablet") {
padding-bottom: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion assets/scss/blocks/tabbed-content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
&__nav-item {
padding: 0;
display: flex;
min-width: 182px;
min-width: 120px;
@include media(">tablet") {
min-width: 137px;
}
Expand Down
18 changes: 7 additions & 11 deletions assets/scss/blocks/table-of-contents.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
.page {
.table-of-contents-block.post_format_style-standard {
.toc-nav-container {
display: block;
@include media(">tablet") {
display: block;
}
}

.table-of-contents-block-container-main {
Expand Down Expand Up @@ -153,18 +155,9 @@
/* These are technically the same, but use both */
overflow-wrap: break-word;
word-wrap: break-word;

-ms-word-break: break-all;
/* This is the dangerous one in WebKit, as it breaks things wherever */
word-break: break-all;
/* Instead use this non-standard one: */
word-break: break-word;
word-break: break-word;

/* Adds a hyphen where the word breaks, if supported (No Blink) */
-ms-hyphens: auto;
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}
}

Expand Down Expand Up @@ -323,6 +316,9 @@
display: inline-flex;
justify-content: flex-end;
align-items: center;
.btn, .wp-block-button__link{
min-width: 48px;
}
}

.contents-nav-mobile-header-dropdown-select .text {
Expand Down
16 changes: 8 additions & 8 deletions assets/scss/blocks/team-hightlight.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
padding: 40px 0 20px;

@include media(">tablet") {
padding: 100px 0 150px;
padding: 100px 0 50px;
}

&-styling-1 {
Expand All @@ -18,7 +18,6 @@
.team-hightlight-block-container-team-hightlight-member__photo img{
@include media("<tablet") {
height: 33vw;

}
}

Expand All @@ -36,6 +35,7 @@
}

.team-hightlight-block-container-team-hightlight {
grid-template-columns: repeat(2, 1fr);
@include media(">tablet") {
grid-template-columns: repeat(4, 1fr);
}
Expand All @@ -45,8 +45,11 @@
grid-template-columns: 1fr;
border: none;
max-height: none;


@include media(">tablet") {}
@include media("<tablet") {
border-radius: 0;
}
}

.team-hightlight-block-container-header__title {
Expand All @@ -68,12 +71,9 @@
width: 100%;
object-fit: cover;
object-position: center;
border-radius: 0px;

@include media(">tablet") {
height: 220px;
border-radius: 10px;

}
}
}
Expand All @@ -82,7 +82,7 @@
&-container {
max-width: 1168px;
margin: 0 auto;
padding: 0 24px;
// padding: 0 24px;

&-header {
margin-bottom: 20px;
Expand Down Expand Up @@ -111,7 +111,7 @@
&-hightlight {
padding: 0 !important;
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-columns: repeat(1, 1fr);
gap: 0 20px;
@include media(">tablet") {
gap: 20px;
Expand Down
11 changes: 5 additions & 6 deletions assets/scss/blocks/vendor-information-block.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,9 @@
display: flex;
justify-content: space-between;
align-items: center;

margin-top: 20px;
@include media("<tablet") {
flex-direction: column;
margin-top: 20px;
}

&.btn {
Expand All @@ -88,11 +87,12 @@
font-size: 15px;
font-style: normal;
font-weight: 400;
line-height: 70px;
line-height: 20px;
display: flex;
gap: 14px;
align-items: center;
justify-content: center;
margin-left: auto;

span {
display: inline-flex;
Expand Down Expand Up @@ -325,11 +325,10 @@
.subtext {
color: #000;
text-align: center;
font-size: 12px;
font-size: 16px;
font-style: normal;
font-weight: 300;
line-height: 13px;
//108.333%
line-height: 20px;
}
}

Expand Down
16 changes: 13 additions & 3 deletions assets/scss/blocks/vendor-repeater.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
justify-content: center;
}
}

&_container_items_table {
border: 1px solid #D9D9D9;
display: table;


@include media("<tablet") {
display: none;
Expand All @@ -19,12 +20,16 @@
thead {
display: none;
}

.btn {
min-width: 175px;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 15px;
line-height: 20px;
}

img {
max-width: 150px;
margin: 0 auto;
Expand Down Expand Up @@ -69,6 +74,7 @@
&:nth-last-child(1) {
border-right: none;
}

a {
text-decoration: none;
}
Expand Down Expand Up @@ -102,7 +108,8 @@
font-style: normal;
font-weight: 600;
line-height: 20px;
a{

a {
text-decoration: none;
color: inherit;
font-weight: inherit;
Expand Down Expand Up @@ -265,6 +272,7 @@
max-width: 160px;
margin: 0 auto;
display: inline-flex;

@include media("<tablet") {
margin: 0;
}
Expand Down Expand Up @@ -306,13 +314,15 @@ section.vendor_disclosure {
display: inline;
font-weight: bold;
}

}

li::marker {
font-weight: 700;
vertical-align: super;
font-size: 80%;
}

a {
color: var(--WCAG-Green, #547C2D);
}
Expand Down
2 changes: 1 addition & 1 deletion assets/scss/modules/_base-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
} @else if 2 == $size {
@include font-sizes( 25px, 25px, 35px );
} @else if 3 == $size {
@include font-sizes( 20px, 20px, 30px );
@include font-sizes( 20px, 20px, 20px );
} @else if 4 == $size {
@include font-sizes( 18px, 18px, 20px );
} @else if 5 == $size {
Expand Down
7 changes: 7 additions & 0 deletions assets/scss/partials/_archive.scss
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,13 @@
}
}
}

.press-archive-page{
.site-main-article-content {
padding-bottom: 0;
}
}

.archive {
.site-main-article-content {
max-width: 1168px;
Expand Down
Loading

0 comments on commit 144e87a

Please sign in to comment.