Skip to content

Commit

Permalink
Sync main branch from pricefx-eds-qa, excluding fstab.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jun 13, 2024
2 parents 2af1599 + 45c8ecf commit 8624e8a
Show file tree
Hide file tree
Showing 6 changed files with 235 additions and 200 deletions.
11 changes: 11 additions & 0 deletions blocks/carousel/carousel.css
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,15 @@ main .carousel:has(.carousel[data-carousel-type='carousel-quote']) .carousel > p
padding: 0 60px 0 0;
}

.carousel[data-carousel-type='carousel-image'] .carousel-slide .columns .columns-img-col p,
.carousel[data-carousel-type='carousel-image'] .carousel-slide .columns .columns-img-col a,
.carousel[data-carousel-type='carousel-image'] .carousel-slide .columns .columns-img-col picture {
align-items: center;
display: flex;
height: 100%;
width: 100%;
}

.carousel[data-carousel-type='carousel-image'] .carousel-slide .columns .columns-img-col:last-child {
border: none;
margin: 0;
Expand All @@ -171,7 +180,9 @@ main .carousel:has(.carousel[data-carousel-type='carousel-quote']) .carousel > p

.carousel[data-carousel-type='carousel-image'] .carousel-slide img {
display: block;
height: 100%;
max-width: 200px;
object-fit: contain;
width: 100%;
}

Expand Down
6 changes: 5 additions & 1 deletion blocks/columns/columns.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ export default function decorate(block) {

if (environmentMode() === 'publish') {
linkwrapper.remove();
if (!isTarget.classList.contains('button-container')) {
if (isTarget === null) {
return;
}

if (!isTarget.querySelector('.download-btn')) {
isTarget.remove();
}
}
Expand Down
2 changes: 1 addition & 1 deletion blocks/hero/hero.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { environmentMode, replaceBasePath } from '../../scripts/global-functions
import { BASE_CONTENT_PATH } from '../../scripts/url-constants.js';

function decorateButton(heroLeftContainer) {
heroLeftContainer.querySelectorAll('.button-container').forEach((btn) => {
heroLeftContainer.querySelectorAll('div.button-container').forEach((btn) => {
const btnStyle = btn.children[0]?.textContent || 'primary';
const btnLink = btn.children[1]?.textContent;
const btnLabel = btn.children[2]?.textContent;
Expand Down
28 changes: 24 additions & 4 deletions blocks/marketo-form/marketo-form.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,24 @@
flex-direction: column;
}

.marketo-form-wrapper .mktoForm .mktoFieldWrap:has(.mktoCheckboxList) {
align-items: center;
flex-direction: row;
}

.marketo-form-wrapper .mktoForm .mktoFieldWrap:has(.mktoCheckboxList) label {
order: 2;
}

.marketo-form-wrapper .mktoForm .mktoFieldWrap:has(.mktoCheckboxList) .mktoGutter {
height: 8px;
order: 3;
}

.marketo-form-wrapper .mktoForm .mktoFieldWrap:has(.mktoCheckboxList) label br {
display: none;
}

.marketo-form-wrapper .mktoForm .mktoGutter {
height: var(--spacing-micro);
}
Expand Down Expand Up @@ -112,10 +130,6 @@
width: auto !important;
}

.marketo-form-wrapper .mktoForm .mktoFieldWrap:has(.mktoCheckboxList) .mktoGutter {
height: 8px;
}

.marketo-form-wrapper .mktoForm .mktoCheckboxList input[type='checkbox'] {
appearance: none;
background: #fafbfc;
Expand Down Expand Up @@ -271,6 +285,12 @@
color: rgba(53 53 53 / 80%);
}

.marketo-form-wrapper .marketo-form h2.form-title {
background: var(--c-dark-blue-gradient);
background-clip: text;
-webkit-text-fill-color: transparent;
}

/* RESPONSIVE STYLES */
@media (width <= 767px) {
.form-two-columns {
Expand Down
Loading

0 comments on commit 8624e8a

Please sign in to comment.