From baf728b22b0d444dbeb5a66120691b79cdf30560 Mon Sep 17 00:00:00 2001 From: Haley Date: Thu, 9 Jan 2025 10:31:03 -0800 Subject: [PATCH] WIP --- .../acf-json/group_625dc5c18c6d5.json | 17 ++-- .../themes/medicalalert/dist/app.css | 16 ++-- .../medicalalert/dist/mix-manifest.json | 2 +- .../src/scss/testimonial-carousel.scss | 18 +++-- .../medicalalert/src/scss/testimonial.scss | 3 +- .../tpl/image_with_icon_info_grid.tpl | 4 +- .../themes/medicalalert/tpl/testimonial.tpl | 6 +- .../medicalalert/tpl/testimonial_carousel.tpl | 81 ++++++++++--------- .../medicalalert/tpl/text_highlights_col.tpl | 64 +++++++-------- 9 files changed, 110 insertions(+), 101 deletions(-) diff --git a/wp/wp-content/themes/medicalalert/acf-json/group_625dc5c18c6d5.json b/wp/wp-content/themes/medicalalert/acf-json/group_625dc5c18c6d5.json index 8ce8df82..1120efa5 100644 --- a/wp/wp-content/themes/medicalalert/acf-json/group_625dc5c18c6d5.json +++ b/wp/wp-content/themes/medicalalert/acf-json/group_625dc5c18c6d5.json @@ -7272,16 +7272,15 @@ "id": "" }, "choices": { - "none: No Border": "none: No Border", - "white": "White", - "red": "Red", - "black": "Black" + "none": "No Border", + "g-purple-border": "Purple Gradient" }, - "default_value": "red", - "allow_null": 0, - "multiple": 0, - "ui": 0, + "default_value": "g-purple-border", "return_format": "value", + "multiple": 0, + "allow_null": 0, + "allow_in_bindings": 1, + "ui": 0, "ajax": 0, "placeholder": "" }, @@ -8311,5 +8310,5 @@ "active": true, "description": "", "show_in_rest": 0, - "modified": 1736391849 + "modified": 1736445895 } diff --git a/wp/wp-content/themes/medicalalert/dist/app.css b/wp/wp-content/themes/medicalalert/dist/app.css index 6d2e9256..d99406b2 100644 --- a/wp/wp-content/themes/medicalalert/dist/app.css +++ b/wp/wp-content/themes/medicalalert/dist/app.css @@ -12476,12 +12476,11 @@ body { } .testimonial-carousel-slice-container .testimonials .testimonial-image img { - width: 225px; - height: 225px; - border-radius: 50%; + width: 250px; + height: 250px; } .testimonial-carousel-slice-container .testimonials .title { - color: #000066; + color: #7e5bef !important; text-align: start; } .testimonial-carousel-slice-container .testimonials .quote-attribution { @@ -12492,14 +12491,14 @@ body { } .consumer-brand .testimonial-carousel-slice-container .slick-dots li button::before { - color: rgba(102, 0, 55, 0.5); + color: #507CFF; } .consumer-brand .testimonial-carousel-slice-container .slick-dots .slick-active button::before { - color: #000066; + color: #507CFF; } .business-brand .testimonial-carousel-slice-container .slick-dots li button::before { - color: rgba(0, 68, 124, 0.5); + color: #507CFF; } .business-brand .testimonial-carousel-slice-container .slick-dots .slick-active button::before { color: #00447C; @@ -12518,9 +12517,10 @@ body { width: 100%; -o-object-fit: cover; object-fit: cover; + max-width: 350px; } .testimonial-slice-container .testimonial-inner-content-wrapper { - padding-left: 3em; + padding-left: 2em; } .testimonial-slice-container .testimonial-inner-content-wrapper .testimonial-title { font-size: 32px; diff --git a/wp/wp-content/themes/medicalalert/dist/mix-manifest.json b/wp/wp-content/themes/medicalalert/dist/mix-manifest.json index 4fe900c3..a1a77299 100644 --- a/wp/wp-content/themes/medicalalert/dist/mix-manifest.json +++ b/wp/wp-content/themes/medicalalert/dist/mix-manifest.json @@ -1,4 +1,4 @@ { "/app.js": "/app.js?id=def087bfee86b3ced20472c4fd21ee05", - "/app.css": "/app.css?id=ce0cb2dfa7a09d1c721b431100aa8cfe" + "/app.css": "/app.css?id=273836cfd783ff85befd47a49c8f0d58" } diff --git a/wp/wp-content/themes/medicalalert/src/scss/testimonial-carousel.scss b/wp/wp-content/themes/medicalalert/src/scss/testimonial-carousel.scss index cd038b6d..be3a96f1 100644 --- a/wp/wp-content/themes/medicalalert/src/scss/testimonial-carousel.scss +++ b/wp/wp-content/themes/medicalalert/src/scss/testimonial-carousel.scss @@ -2,18 +2,20 @@ .testimonials { .testimonial-image { img { - width: 225px; - height: 225px; - border-radius: 50%; + width: 250px; + height: 250px; } } + .title { - color: $consumer-primary; + color: $ma-purple !important; text-align: start; } + .quote-attribution { text-align: start; } + .slick-dots li button::before { font-size: 12px; } @@ -26,12 +28,13 @@ li { button { &::before { - color: rgba(102, 0, 55, 0.5); + color: #507CFF; } } } + .slick-active button::before { - color: $consumer-primary; + color: #507CFF; } } } @@ -43,10 +46,11 @@ li { button { &::before { - color: rgba(0, 68, 124, 0.5); + color: #507CFF; } } } + .slick-active button::before { color: $business-primary; } diff --git a/wp/wp-content/themes/medicalalert/src/scss/testimonial.scss b/wp/wp-content/themes/medicalalert/src/scss/testimonial.scss index 7875e04d..2d4e51b9 100644 --- a/wp/wp-content/themes/medicalalert/src/scss/testimonial.scss +++ b/wp/wp-content/themes/medicalalert/src/scss/testimonial.scss @@ -11,10 +11,11 @@ .testimonial-img { width: 100%; object-fit: cover; + max-width: 350px; } .testimonial-inner-content-wrapper { - padding-left: 3em; + padding-left: 2em; .testimonial-title { font-size: 32px; diff --git a/wp/wp-content/themes/medicalalert/tpl/image_with_icon_info_grid.tpl b/wp/wp-content/themes/medicalalert/tpl/image_with_icon_info_grid.tpl index a699937f..0ac0b8c0 100644 --- a/wp/wp-content/themes/medicalalert/tpl/image_with_icon_info_grid.tpl +++ b/wp/wp-content/themes/medicalalert/tpl/image_with_icon_info_grid.tpl @@ -1,9 +1,9 @@
-
+
-
+
{{image.alt}}
diff --git a/wp/wp-content/themes/medicalalert/tpl/testimonial.tpl b/wp/wp-content/themes/medicalalert/tpl/testimonial.tpl index ec4192d2..02f782b9 100644 --- a/wp/wp-content/themes/medicalalert/tpl/testimonial.tpl +++ b/wp/wp-content/themes/medicalalert/tpl/testimonial.tpl @@ -47,13 +47,13 @@
-
-
+
+
{{image.alt}}
-
+
diff --git a/wp/wp-content/themes/medicalalert/tpl/testimonial_carousel.tpl b/wp/wp-content/themes/medicalalert/tpl/testimonial_carousel.tpl index c7cface6..f8c721d8 100644 --- a/wp/wp-content/themes/medicalalert/tpl/testimonial_carousel.tpl +++ b/wp/wp-content/themes/medicalalert/tpl/testimonial_carousel.tpl @@ -1,48 +1,53 @@ \ No newline at end of file diff --git a/wp/wp-content/themes/medicalalert/tpl/text_highlights_col.tpl b/wp/wp-content/themes/medicalalert/tpl/text_highlights_col.tpl index c58e20aa..649d5d4d 100644 --- a/wp/wp-content/themes/medicalalert/tpl/text_highlights_col.tpl +++ b/wp/wp-content/themes/medicalalert/tpl/text_highlights_col.tpl @@ -1,39 +1,39 @@
-
-
- {{#each text_blocks}} -
-
-
-

{{title}}

+
+
+ {{#each text_blocks}} +
+
+
+

{{title}}

+
+ {{#if has_two_columns}} +
+
+
+
+ {{{column_one_highlights}}} +
+
+
+
+ {{{column_two_highlights}}} +
+
+
+
+ {{else}} +
+
+ {{{highlights}}} +
+
+ {{/if}} +
- {{#if has_two_columns}} -
-
-
-
- {{{column_one_highlights}}} -
-
-
-
- {{{column_two_highlights}}} -
-
-
-
- {{else}} -
-
- {{{highlights}}} -
-
- {{/if}} -
+ {{/each}}
- {{/each}}
-
\ No newline at end of file