From 2f35c9373b8060ffc090d377bbd6b6672222b66d Mon Sep 17 00:00:00 2001 From: Ian Monroe Date: Thu, 7 May 2020 09:08:46 -0600 Subject: [PATCH 01/40] updated readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4c4b22c..00bd9a6 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # [soe_paragraphs](https://github.com/SU-SWS/soe_paragraphs) -##### Version: 8.x-2.x +##### Version: 8.x-1.x Maintainers: [Mike Decker](https://github.com/pookmish), [sherakama](https://github.com/sherakama) From 25e8a5f3b7fa4491081515a7dc1fbf7b18cf40dd Mon Sep 17 00:00:00 2001 From: Ian Monroe Date: Thu, 7 May 2020 14:58:51 -0600 Subject: [PATCH 02/40] WIP --- composer.json | 7 ++- ...y.paragraph.cta_list_paragraph.default.yml | 44 +++++++++++++ ...y.paragraph.cta_list_paragraph.default.yml | 61 +++++++++++++++++++ ...ph.cta_list_paragraph.su_cta_list_deck.yml | 27 ++++++++ ....cta_list_paragraph.su_cta_list_header.yml | 19 ++++++ ...h.cta_list_paragraph.su_cta_list_links.yml | 23 +++++++ ...eld.storage.paragraph.su_cta_list_deck.yml | 19 ++++++ ...d.storage.paragraph.su_cta_list_header.yml | 21 +++++++ ...ld.storage.paragraph.su_cta_list_links.yml | 19 ++++++ ...phs.paragraphs_type.cta_list_paragraph.yml | 12 ++++ .../soe_paragraph_cta_list.info.yml | 11 ++++ .../soe_paragraph_cta_list.module | 15 +++++ soe_paragraphs.info.yml | 12 ++-- .../paragraph-cta-list-paragraph.html.twig | 9 +++ ...ragraph-cta-list-paragraph.ui_patterns.yml | 12 ++++ 15 files changed, 305 insertions(+), 6 deletions(-) create mode 100644 modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.cta_list_paragraph.default.yml create mode 100644 modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list_paragraph.default.yml create mode 100644 modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_deck.yml create mode 100644 modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_header.yml create mode 100644 modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_links.yml create mode 100644 modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_deck.yml create mode 100644 modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_header.yml create mode 100644 modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_links.yml create mode 100644 modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list_paragraph.yml create mode 100644 modules/soe_paragraph_cta_list/soe_paragraph_cta_list.info.yml create mode 100644 modules/soe_paragraph_cta_list/soe_paragraph_cta_list.module create mode 100644 templates/paragraph_cta_list/paragraph-cta-list-paragraph.html.twig create mode 100644 templates/paragraph_cta_list/paragraph-cta-list-paragraph.ui_patterns.yml diff --git a/composer.json b/composer.json index 5368030..04f3656 100644 --- a/composer.json +++ b/composer.json @@ -1,11 +1,14 @@ { "name": "su-sws/soe_paragraphs", - "description": "Stanford Module Example", + "description": "SOE Paragraphs", "type": "drupal-custom-module", "homepage": "https://github.com/SU-SWS/soe_paragraphs", "authors": [], "license": "GPL-2.0+", "minimum-stability": "dev", "prefer-stable": true, - "require": {} + "require": { + "drupal/paragraphs": "~1.8", + "su-sws/jumpstart_ui": "dev-8.x-1.x||*" + } } diff --git a/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.cta_list_paragraph.default.yml b/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.cta_list_paragraph.default.yml new file mode 100644 index 0000000..311ac51 --- /dev/null +++ b/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.cta_list_paragraph.default.yml @@ -0,0 +1,44 @@ +uuid: 1262dad2-6d65-4c95-865d-e6ee640db804 +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.cta_list_paragraph.su_cta_list_deck + - field.field.paragraph.cta_list_paragraph.su_cta_list_header + - field.field.paragraph.cta_list_paragraph.su_cta_list_links + - paragraphs.paragraphs_type.cta_list_paragraph + module: + - link + - text +id: paragraph.cta_list_paragraph.default +targetEntityType: paragraph +bundle: cta_list_paragraph +mode: default +content: + su_cta_list_deck: + weight: 1 + settings: + rows: 5 + placeholder: '' + third_party_settings: { } + type: text_textarea + region: content + su_cta_list_header: + weight: 0 + settings: + size: 60 + placeholder: '' + third_party_settings: { } + type: string_textfield + region: content + su_cta_list_links: + weight: 2 + settings: + placeholder_url: '' + placeholder_title: '' + third_party_settings: { } + type: link_default + region: content +hidden: + created: true + status: true diff --git a/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list_paragraph.default.yml b/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list_paragraph.default.yml new file mode 100644 index 0000000..20a5a6c --- /dev/null +++ b/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list_paragraph.default.yml @@ -0,0 +1,61 @@ +uuid: 480f0c4e-51dd-4e9b-8d03-33750d225713 +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.cta_list_paragraph.su_cta_list_deck + - field.field.paragraph.cta_list_paragraph.su_cta_list_header + - field.field.paragraph.cta_list_paragraph.su_cta_list_links + - paragraphs.paragraphs_type.cta_list_paragraph + module: + - ds + - link + - text +third_party_settings: + ds: + layout: + id: defaults + library: null + disable_css: false + entity_classes: no_classes + settings: + extra_classes: '' + centered: centered-container + regions: + main: + - su_cta_list_header + - su_cta_list_deck + - su_cta_list_links +id: paragraph.cta_list_paragraph.default +targetEntityType: paragraph +bundle: cta_list_paragraph +mode: default +content: + su_cta_list_deck: + weight: 1 + label: hidden + settings: { } + third_party_settings: { } + type: text_default + region: main + su_cta_list_header: + weight: 0 + label: hidden + settings: + link_to_entity: false + third_party_settings: { } + type: string + region: main + su_cta_list_links: + weight: 2 + label: hidden + settings: + trim_length: 80 + url_only: false + url_plain: false + rel: '' + target: '' + third_party_settings: { } + type: link + region: main +hidden: { } diff --git a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_deck.yml b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_deck.yml new file mode 100644 index 0000000..6116ad0 --- /dev/null +++ b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_deck.yml @@ -0,0 +1,27 @@ +uuid: de9b10d0-d54c-4b66-893f-aef3644362d3 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.su_cta_list_deck + - paragraphs.paragraphs_type.cta_list_paragraph + module: + - allowed_formats + - text +third_party_settings: + allowed_formats: + stanford_html: stanford_html + stanford_minimal_html: stanford_minimal_html + plain_text: plain_text +id: paragraph.cta_list_paragraph.su_cta_list_deck +field_name: su_cta_list_deck +entity_type: paragraph +bundle: cta_list_paragraph +label: Deck +description: 'The body text of the CTA List paragraph' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: text_long diff --git a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_header.yml b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_header.yml new file mode 100644 index 0000000..ccd0a44 --- /dev/null +++ b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_header.yml @@ -0,0 +1,19 @@ +uuid: 18037b44-27fd-4c75-87fb-90e646ab2508 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.su_cta_list_header + - paragraphs.paragraphs_type.cta_list_paragraph +id: paragraph.cta_list_paragraph.su_cta_list_header +field_name: su_cta_list_header +entity_type: paragraph +bundle: cta_list_paragraph +label: Header +description: 'The headline of the CTA List Paragraph' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_links.yml b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_links.yml new file mode 100644 index 0000000..bfb2dcd --- /dev/null +++ b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_links.yml @@ -0,0 +1,23 @@ +uuid: 65922105-8d04-43b5-9298-c2078c69e76b +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.su_cta_list_links + - paragraphs.paragraphs_type.cta_list_paragraph + module: + - link +id: paragraph.cta_list_paragraph.su_cta_list_links +field_name: su_cta_list_links +entity_type: paragraph +bundle: cta_list_paragraph +label: Links +description: 'The links to list in the CTA List paragraph' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: + link_type: 17 + title: 1 +field_type: link diff --git a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_deck.yml b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_deck.yml new file mode 100644 index 0000000..b191d9a --- /dev/null +++ b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_deck.yml @@ -0,0 +1,19 @@ +uuid: e6d32f53-7ff8-4c71-a084-07cfb1210d96 +langcode: en +status: true +dependencies: + module: + - paragraphs + - text +id: paragraph.su_cta_list_deck +field_name: su_cta_list_deck +entity_type: paragraph +type: text_long +settings: { } +module: text +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_header.yml b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_header.yml new file mode 100644 index 0000000..8b39e7e --- /dev/null +++ b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_header.yml @@ -0,0 +1,21 @@ +uuid: 6c86de22-8482-47a7-b2d9-c4834d907e31 +langcode: en +status: true +dependencies: + module: + - paragraphs +id: paragraph.su_cta_list_header +field_name: su_cta_list_header +entity_type: paragraph +type: string +settings: + max_length: 255 + is_ascii: false + case_sensitive: false +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_links.yml b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_links.yml new file mode 100644 index 0000000..75f199d --- /dev/null +++ b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_links.yml @@ -0,0 +1,19 @@ +uuid: cf553dbb-4d5c-42b0-979e-bcf23b048174 +langcode: en +status: true +dependencies: + module: + - link + - paragraphs +id: paragraph.su_cta_list_links +field_name: su_cta_list_links +entity_type: paragraph +type: link +settings: { } +module: link +locked: false +cardinality: -1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list_paragraph.yml b/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list_paragraph.yml new file mode 100644 index 0000000..edb6a44 --- /dev/null +++ b/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list_paragraph.yml @@ -0,0 +1,12 @@ +uuid: 1907ce6d-e96a-45b6-b658-88a39cad9de0 +langcode: en +status: true +dependencies: + content: + - 'file:file:a1a53248-7e28-4ed3-9a21-f7405d2ecfca' +id: cta_list_paragraph +label: 'CTA List Paragraph' +icon_uuid: a1a53248-7e28-4ed3-9a21-f7405d2ecfca +icon_default: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEoAAABFCAYAAADthnCkAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAMlSURBVHhe7ZuxaipBFEDHh9oIJq0iYm2iKRSxsZIUguQjtPEHUgip/QU7wQ9IGxGxV9BGsbDSSPIDEguDMtkrNy+Js7vegO57494Dl8xOZnaX4+54x93xSAPBHOQP/mUOwKKIsCgiLIoIiyLCoohYpgdQ3W63Ra/XEy8vLyKRSIjb21sRj8exhTndblc0Gg3x/v6ONXrg9/tFqVQS+Xwea/YAUfssFgtpdACBP8Lr9cqHhwdpSMCWKtFoVOmnS8C5W6GIWq/XMplMmu7oM0CWFdVqVRqfjmm//zngnOHcrVBE1Wo10x19D7iyJpMJ9nAHymDearWwZM1msxGdTge33IEiajQaYcme8XiMJXegiIpEIliyh9ruXFBEZbNZLNlDbXcuKHnU8/OzML71xHK5xBoVyDVgjPJ4PFjzhdN5VCaTEff397h1QnZD+h6Pj48yGAwq33YQkDpAnmXFv8ij+v0+Hv10mIoC5vO5LJfL8urqSl5cXMhcLrdLHSDPssPpPMq4ouTb2xse/XTwL5xEeFJMhEURYVFEWBQRFkWERRFhUURYFBEWRcQ2M99ut2I6nYrX11dxfX0tQqEQ/sea1Wq1mxjr+HABJvuBQABr9gBRZtTr9d0cD5p8xs3NjRwOh9jCHJh7fe+jU8C5W2EqqlKpmO4IwufzyaenJ2ypcq6ilFvPkCCKxSIIxBqVcDgsJpOJuLy8xJovXHPr3d3d/bBsFc1mE3u4A+VbbzAYYMkeY6zCkjvg9ICIIiqdTmPJnlQqhSV3oP1gDh9sLBbDrRMCovbRKT2Ax/uz2QyPfjpMRQG6JJxOidJ+CuPUrcdPYYhwekCERRFhUURYFBEWRYRFEWFRRFgUERZFBTJzM3R5kexY8esX8gHdXk08Vtgt8VDmerq97Hos4OHCrxYNwe0G1Yei1WphD3egDOaw7IwCtd25oIiCtXkUqO3OBUUUjE8UYKGjm1BEFQoFLFnj9Xp3q0FdBY5Vf9FtYSP8Ru/EC/mmeZRuS2WdWOJh+Zs5VOuw+Nq4ohxZNMQPF4jwpJgIiyLCooiwKCIsigiLIsKiSAjxAcQYluO5FOI/AAAAAElFTkSuQmCC' +description: 'CTA List Paragraph' +behavior_plugins: { } diff --git a/modules/soe_paragraph_cta_list/soe_paragraph_cta_list.info.yml b/modules/soe_paragraph_cta_list/soe_paragraph_cta_list.info.yml new file mode 100644 index 0000000..047e708 --- /dev/null +++ b/modules/soe_paragraph_cta_list/soe_paragraph_cta_list.info.yml @@ -0,0 +1,11 @@ +name: 'CTA List Paragraph' +description: 'A paragraph type which provides a list of text CTAs' +type: module +core: 8.x +package: Stanford +dependencies: + - ds + - field + - paragraphs + - text +version: 8.x-2.0-dev diff --git a/modules/soe_paragraph_cta_list/soe_paragraph_cta_list.module b/modules/soe_paragraph_cta_list/soe_paragraph_cta_list.module new file mode 100644 index 0000000..e38a3fd --- /dev/null +++ b/modules/soe_paragraph_cta_list/soe_paragraph_cta_list.module @@ -0,0 +1,15 @@ + +
+

My Custom Template

+ {{ content.main }} +
+ diff --git a/templates/paragraph_cta_list/paragraph-cta-list-paragraph.ui_patterns.yml b/templates/paragraph_cta_list/paragraph-cta-list-paragraph.ui_patterns.yml new file mode 100644 index 0000000..d3d21ce --- /dev/null +++ b/templates/paragraph_cta_list/paragraph-cta-list-paragraph.ui_patterns.yml @@ -0,0 +1,12 @@ +cta-list-paragraph: + label: CTA List Paragraph + description: CTA List Paragraph + variants: + default: + label: Default + Description: "Default" + fields: + deck: + type: text + label: "Deck" + description: "" From 8209c4848b39d180577c85eb64cda76d289b4db8 Mon Sep 17 00:00:00 2001 From: Ian Monroe Date: Mon, 11 May 2020 10:53:53 -0600 Subject: [PATCH 03/40] D8CORE-1553: Added files to support Image CTA paragraph. --- dist/css/cta-list-paragraph.styles.css | 180 ++++++++++++++++++ dist/css/image-cta-paragraph.styles.css | 14 ++ dist/css/soe_paragraphs.styles.css | 6 +- dist/js/soe_paragraphs.script.js | 132 ++++++++++++- lib/scss/_config.scss | 9 + lib/scss/components/cta-list/_cta-list.scss | 76 ++++++++ lib/scss/components/cta-list/index.scss | 7 + lib/scss/components/image-cta/_image_cta.scss | 5 + lib/scss/components/image-cta/index.scss | 6 + lib/scss/soe_paragraphs.scss | 1 + .../soe_paragraph_cta_list.info.yml | 3 +- .../soe_paragraph_cta_list.module | 15 -- .../templates/cta-list-paragraph.html.twig | 69 +++++++ .../cta-list-paragraph.ui_patterns.yml | 25 +++ .../soe_paragraph_image_cta.info.yml | 12 ++ .../templates/image-cta-paragraph.html.twig | 25 +++ .../image-cta-paragraph.ui_patterns.yml | 0 .../paragraph-cta-list-paragraph.html.twig | 9 - ...ragraph-cta-list-paragraph.ui_patterns.yml | 12 -- webpack.config.js | 4 + 20 files changed, 571 insertions(+), 39 deletions(-) create mode 100644 dist/css/cta-list-paragraph.styles.css create mode 100644 dist/css/image-cta-paragraph.styles.css create mode 100644 lib/scss/_config.scss create mode 100644 lib/scss/components/cta-list/_cta-list.scss create mode 100644 lib/scss/components/cta-list/index.scss create mode 100644 lib/scss/components/image-cta/_image_cta.scss create mode 100644 lib/scss/components/image-cta/index.scss delete mode 100644 modules/soe_paragraph_cta_list/soe_paragraph_cta_list.module create mode 100644 modules/soe_paragraph_cta_list/templates/cta-list-paragraph.html.twig create mode 100644 modules/soe_paragraph_cta_list/templates/cta-list-paragraph.ui_patterns.yml create mode 100644 modules/soe_paragraph_image_cta/soe_paragraph_image_cta.info.yml create mode 100644 modules/soe_paragraph_image_cta/templates/image-cta-paragraph.html.twig create mode 100644 modules/soe_paragraph_image_cta/templates/image-cta-paragraph.ui_patterns.yml delete mode 100644 templates/paragraph_cta_list/paragraph-cta-list-paragraph.html.twig delete mode 100644 templates/paragraph_cta_list/paragraph-cta-list-paragraph.ui_patterns.yml diff --git a/dist/css/cta-list-paragraph.styles.css b/dist/css/cta-list-paragraph.styles.css new file mode 100644 index 0000000..a0a48eb --- /dev/null +++ b/dist/css/cta-list-paragraph.styles.css @@ -0,0 +1,180 @@ +.su-cta-list-paragraph { + background-color: #eee; + border-top: 1px solid #d2d3d4; } + @media only screen and (min-width: 0) { + .su-cta-list-paragraph { + padding-top: 4rem; } } + @media only screen and (min-width: 768px) { + .su-cta-list-paragraph { + padding-top: 4.5rem; } } + @media only screen and (min-width: 1500px) { + .su-cta-list-paragraph { + padding-top: 4.75rem; } } + @media only screen and (min-width: 0) { + .su-cta-list-paragraph { + padding-left: 3.2rem; } } + @media only screen and (min-width: 768px) { + .su-cta-list-paragraph { + padding-left: 3.6rem; } } + @media only screen and (min-width: 1500px) { + .su-cta-list-paragraph { + padding-left: 3.8rem; } } + @media only screen and (min-width: 0) { + .su-cta-list-paragraph { + padding-right: 3.2rem; } } + @media only screen and (min-width: 768px) { + .su-cta-list-paragraph { + padding-right: 3.6rem; } } + @media only screen and (min-width: 1500px) { + .su-cta-list-paragraph { + padding-right: 3.8rem; } } + +@media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 0) { + .su-cta-list-paragraph { + padding-left: 1.6rem; } } + +@media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 768px) { + .su-cta-list-paragraph { + padding-left: 1.8rem; } } + +@media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 1500px) { + .su-cta-list-paragraph { + padding-left: 1.9rem; } } + +@media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 0) { + .su-cta-list-paragraph { + padding-right: 1.6rem; } } + +@media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 768px) { + .su-cta-list-paragraph { + padding-right: 1.8rem; } } + +@media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 1500px) { + .su-cta-list-paragraph { + padding-right: 1.9rem; } } + .su-cta-list-paragraph .su-cta-list-header { + font-size: 1.953125em; + letter-spacing: -0.016em; } + @media (max-width: 767px) { + .su-cta-list-paragraph .su-cta-list-header { + font-size: 1.66015625em; } } + @media only screen and (min-width: 0) { + .su-cta-list-paragraph .su-cta-list-header { + margin-bottom: 2.31rem; } } + @media only screen and (min-width: 768px) { + .su-cta-list-paragraph .su-cta-list-header { + margin-bottom: 2.6rem; } } + @media only screen and (min-width: 1500px) { + .su-cta-list-paragraph .su-cta-list-header { + margin-bottom: 2.74rem; } } + @media only screen and (min-width: 768px) { + .su-cta-list-paragraph .su-cta-list-deck { + font-size: 2.1rem; + line-height: 1.7; } } + @media only screen and (min-width: 0) { + .su-cta-list-paragraph .su-cta-list-deck { + margin-bottom: 4rem; } } + @media only screen and (min-width: 768px) { + .su-cta-list-paragraph .su-cta-list-deck { + margin-bottom: 4.5rem; } } + @media only screen and (min-width: 1500px) { + .su-cta-list-paragraph .su-cta-list-deck { + margin-bottom: 4.75rem; } } + .su-cta-list-paragraph .su-cta-list--links { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + width: 100%; } + @media only screen and (min-width: 0) { + .su-cta-list-paragraph .su-cta-list--links { + padding-bottom: 9.6rem; } } + @media only screen and (min-width: 768px) { + .su-cta-list-paragraph .su-cta-list--links { + padding-bottom: 10.8rem; } } + @media only screen and (min-width: 1500px) { + .su-cta-list-paragraph .su-cta-list--links { + padding-bottom: 11.4rem; } } + @media only screen and (min-width: 0) and (max-width: 575px) { + .su-cta-list-paragraph .su-cta-list--links { + display: block; + width: 100%; } } + .su-cta-list-paragraph .su-cta-list--links .su-link--action { + display: block; + width: 100%; } + @media only screen and (min-width: 0) { + .su-cta-list-paragraph .su-cta-list--links .su-link--action { + margin-bottom: 2.31rem; } } + @media only screen and (min-width: 768px) { + .su-cta-list-paragraph .su-cta-list--links .su-link--action { + margin-bottom: 2.6rem; } } + @media only screen and (min-width: 1500px) { + .su-cta-list-paragraph .su-cta-list--links .su-link--action { + margin-bottom: 2.74rem; } } + .su-cta-list-paragraph .su-cta-list--links .col-1 { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-flex: 1; + -ms-flex: 1; + flex: 1; } + @media only screen and (min-width: 0) { + .su-cta-list-paragraph .su-cta-list--links .col-1 { + margin-right: 2.31rem; } } + @media only screen and (min-width: 768px) { + .su-cta-list-paragraph .su-cta-list--links .col-1 { + margin-right: 2.6rem; } } + @media only screen and (min-width: 1500px) { + .su-cta-list-paragraph .su-cta-list--links .col-1 { + margin-right: 2.74rem; } } + .su-cta-list-paragraph .su-cta-list--links .col-1 a { + color: #b1040e; } + @media only screen and (min-width: 0) and (max-width: 575px) { + .su-cta-list-paragraph .su-cta-list--links .col-1 { + display: block; + width: 100%; } } + .su-cta-list-paragraph .su-cta-list--links .col-2 { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-flex: 1; + -ms-flex: 1; + flex: 1; } + @media only screen and (min-width: 0) { + .su-cta-list-paragraph .su-cta-list--links .col-2 { + margin-right: 11.2rem; } } + @media only screen and (min-width: 768px) { + .su-cta-list-paragraph .su-cta-list--links .col-2 { + margin-right: 12.6rem; } } + @media only screen and (min-width: 1500px) { + .su-cta-list-paragraph .su-cta-list--links .col-2 { + margin-right: 13.3rem; } } + .su-cta-list-paragraph .su-cta-list--links .col-2 a { + color: #b1040e; } + @media only screen and (min-width: 0) and (max-width: 575px) { + .su-cta-list-paragraph .su-cta-list--links .col-2 { + display: block; + width: 100%; } } + @media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 0) { + .su-cta-list-paragraph .su-cta-list--links .col-2 { + margin-right: 2.31rem; } } + @media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 768px) { + .su-cta-list-paragraph .su-cta-list--links .col-2 { + margin-right: 2.6rem; } } + @media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 1500px) { + .su-cta-list-paragraph .su-cta-list--links .col-2 { + margin-right: 2.74rem; } } + + +/*# sourceMappingURL=cta-list-paragraph.styles.css.map*/ \ No newline at end of file diff --git a/dist/css/image-cta-paragraph.styles.css b/dist/css/image-cta-paragraph.styles.css new file mode 100644 index 0000000..9cd3451 --- /dev/null +++ b/dist/css/image-cta-paragraph.styles.css @@ -0,0 +1,14 @@ +@media only screen and (min-width: 0) { + .su-image-cta-paragraph { + padding-top: 4rem; } } + +@media only screen and (min-width: 768px) { + .su-image-cta-paragraph { + padding-top: 4.5rem; } } + +@media only screen and (min-width: 1500px) { + .su-image-cta-paragraph { + padding-top: 4.75rem; } } + + +/*# sourceMappingURL=image-cta-paragraph.styles.css.map*/ \ No newline at end of file diff --git a/dist/css/soe_paragraphs.styles.css b/dist/css/soe_paragraphs.styles.css index 7a3d851..9f12fe1 100644 --- a/dist/css/soe_paragraphs.styles.css +++ b/dist/css/soe_paragraphs.styles.css @@ -1 +1,5 @@ -stanford{color:#b1040e} \ No newline at end of file +stanford { + color: #b1040e; } + + +/*# sourceMappingURL=soe_paragraphs.styles.css.map*/ \ No newline at end of file diff --git a/dist/js/soe_paragraphs.script.js b/dist/js/soe_paragraphs.script.js index 3f6bca9..ae5fdb3 100644 --- a/dist/js/soe_paragraphs.script.js +++ b/dist/js/soe_paragraphs.script.js @@ -1,2 +1,132 @@ -!function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=0)}([function(e,t,n){"use strict";n.r(t);n(1)},function(e,t){window.Drupal.behaviors.soe_paragraphs={attach:function(){},detach:function(){}}}]); +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./lib/js/soe_paragraphs.js"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./lib/js/soe_paragraphs.behavior.js": +/*!*******************************************!*\ + !*** ./lib/js/soe_paragraphs.behavior.js ***! + \*******************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +/** + * Behavior Example that works with Webpack. + * + * @see: https://www.npmjs.com/package/drupal-behaviors-loader + * + * Webpack wraps everything in enclosures and hides the global variables from + * scripts so special handling is needed. + */ +window.Drupal.behaviors.soe_paragraphs = { + // Attach Drupal Behavior. + attach: function attach(context, settings) {// console.log("Attached."); + }, + // Detach Example. + detach: function detach() {// console.log("Detached."); + } +}; + +/***/ }), + +/***/ "./lib/js/soe_paragraphs.js": +/*!**********************************!*\ + !*** ./lib/js/soe_paragraphs.js ***! + \**********************************/ +/*! no exports provided */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _soe_paragraphs_behavior_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./soe_paragraphs.behavior.js */ "./lib/js/soe_paragraphs.behavior.js"); +/* harmony import */ var _soe_paragraphs_behavior_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_soe_paragraphs_behavior_js__WEBPACK_IMPORTED_MODULE_0__); +// Main Webpack entry file. + // Your code goes below. + +/***/ }) + +/******/ }); //# sourceMappingURL=soe_paragraphs.script.js.map \ No newline at end of file diff --git a/lib/scss/_config.scss b/lib/scss/_config.scss new file mode 100644 index 0000000..4698e05 --- /dev/null +++ b/lib/scss/_config.scss @@ -0,0 +1,9 @@ +@charset 'UTF-8'; + +// Remove this variable if you are not using assets directly out of Decanter +// that need to be included in the webpack build. +$su-image-path: '~decanter/core/src/img/'; +$fa-font-path: '~@fortawesome/fontawesome-free/webfonts/'; + +// Import Decanter Library: +@import 'decanter/core/src/scss/decanter-no-markup'; diff --git a/lib/scss/components/cta-list/_cta-list.scss b/lib/scss/components/cta-list/_cta-list.scss new file mode 100644 index 0000000..5d05502 --- /dev/null +++ b/lib/scss/components/cta-list/_cta-list.scss @@ -0,0 +1,76 @@ +.su-cta-list-paragraph{ + + @include modular-spacing('padding-top', 3); + @include modular-spacing('padding-left', 2); + @include modular-spacing('padding-right', 2); + + background-color:#eee; + border-top: 1px solid $su-color-cool-grey-25; + + @include grid-media-only('xs'){ + @include modular-spacing('padding-left', 0); + @include modular-spacing('padding-right', 0); + } + + .su-cta-list-header { + @include type-b; + @include modular-spacing('margin-bottom', 1); + } + + .su-cta-list-deck { + @include big-paragraph; + @include modular-spacing('margin-bottom', 3); + } + + .su-cta-list--links{ + @include modular-spacing('padding-bottom', 7); + display: flex; + flex-direction: row; + width: 100%; + + @include grid-media-only('xs'){ + display: block; + width: 100%; + }; + + .su-link--action { + display: block; + width: 100%; + @include modular-spacing('margin-bottom', 1); + } + + .col-1{ + @include modular-spacing('margin-right', 1); + display: flex; + flex-direction: column; + flex: 1; + + a{ + color: $su-color-bright-red; + } + + @include grid-media-only('xs'){ + display: block; + width: 100%; + }; + } + + .col-2{ + @include modular-spacing('margin-right', 8); + display: flex; + flex-direction: column; + flex: 1; + + a{ + color: $su-color-bright-red; + } + + @include grid-media-only('xs'){ + display: block; + width: 100%; + @include modular-spacing('margin-right', 1); + }; + } + } + +} diff --git a/lib/scss/components/cta-list/index.scss b/lib/scss/components/cta-list/index.scss new file mode 100644 index 0000000..2a1b6a6 --- /dev/null +++ b/lib/scss/components/cta-list/index.scss @@ -0,0 +1,7 @@ +@charset 'UTF-8'; + +@import +'decanter/core/src/scss/decanter-no-markup', +'../../config.scss', +'cta-list.scss'; + diff --git a/lib/scss/components/image-cta/_image_cta.scss b/lib/scss/components/image-cta/_image_cta.scss new file mode 100644 index 0000000..ab4ff11 --- /dev/null +++ b/lib/scss/components/image-cta/_image_cta.scss @@ -0,0 +1,5 @@ +.su-image-cta-paragraph{ + + @include modular-spacing('padding-top', 3); + +} diff --git a/lib/scss/components/image-cta/index.scss b/lib/scss/components/image-cta/index.scss new file mode 100644 index 0000000..78a594f --- /dev/null +++ b/lib/scss/components/image-cta/index.scss @@ -0,0 +1,6 @@ +@charset 'UTF-8'; + +@import +'decanter/core/src/scss/decanter-no-markup', +'../../config.scss', +'image_cta.scss'; diff --git a/lib/scss/soe_paragraphs.scss b/lib/scss/soe_paragraphs.scss index 94441e8..42b1982 100644 --- a/lib/scss/soe_paragraphs.scss +++ b/lib/scss/soe_paragraphs.scss @@ -1,6 +1,7 @@ @charset 'UTF-8'; @import "./soe_paragraphs.config"; +@import 'decanter/core/src/scss/decanter-no-markup'; stanford { color: $su-color-bright-red; diff --git a/modules/soe_paragraph_cta_list/soe_paragraph_cta_list.info.yml b/modules/soe_paragraph_cta_list/soe_paragraph_cta_list.info.yml index 047e708..f8f367f 100644 --- a/modules/soe_paragraph_cta_list/soe_paragraph_cta_list.info.yml +++ b/modules/soe_paragraph_cta_list/soe_paragraph_cta_list.info.yml @@ -8,4 +8,5 @@ dependencies: - field - paragraphs - text -version: 8.x-2.0-dev + - soe_paragraphs +version: 8.x-1.0-dev diff --git a/modules/soe_paragraph_cta_list/soe_paragraph_cta_list.module b/modules/soe_paragraph_cta_list/soe_paragraph_cta_list.module deleted file mode 100644 index e38a3fd..0000000 --- a/modules/soe_paragraph_cta_list/soe_paragraph_cta_list.module +++ /dev/null @@ -1,15 +0,0 @@ - + {# kint(links.su_cta_list_links) #} + + {{ header }} + +
+ {{ deck }} +
+ + + + + diff --git a/modules/soe_paragraph_cta_list/templates/cta-list-paragraph.ui_patterns.yml b/modules/soe_paragraph_cta_list/templates/cta-list-paragraph.ui_patterns.yml new file mode 100644 index 0000000..da188ae --- /dev/null +++ b/modules/soe_paragraph_cta_list/templates/cta-list-paragraph.ui_patterns.yml @@ -0,0 +1,25 @@ +cta-list-paragraph: + label: CTA List Paragraph + description: CTA List Paragraph + variants: + default: + label: Default + Description: "Default" + fields: + header: + type: text + label: "Header" + description: "The headline text for the paragraph" + deck: + type: text + label: "Deck" + description: "The body text for the paragraph" + links: + type: text + label: "One or more hyperlinks" + use: "@soe_paragraph_cta_list/cta-list-paragraph.html.twig" + libraries: + - cta-list-paragraph: + css: + component: + ../../../dist/css/cta-list-paragraph.styles.css: {} diff --git a/modules/soe_paragraph_image_cta/soe_paragraph_image_cta.info.yml b/modules/soe_paragraph_image_cta/soe_paragraph_image_cta.info.yml new file mode 100644 index 0000000..5b5a30f --- /dev/null +++ b/modules/soe_paragraph_image_cta/soe_paragraph_image_cta.info.yml @@ -0,0 +1,12 @@ +name: 'Image CTA Paragraph' +description: 'A paragraph type which provides an image and CTA button' +type: module +core: 8.x +package: Stanford +dependencies: + - ds + - field + - paragraphs + - text + - soe_paragraphs +version: 8.x-1.0-dev diff --git a/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.html.twig b/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.html.twig new file mode 100644 index 0000000..2265ed0 --- /dev/null +++ b/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.html.twig @@ -0,0 +1,25 @@ +image-cta-paragraph: + label: Image CTA Paragraph + description: Image CTA Paragraph + variants: + minimal: + label: Minimal + Description: "Minimal" + fields: + header: + type: text + label: "Header" + description: "The headline text for the paragraph" + deck: + type: text + label: "Deck" + description: "The body text for the paragraph" + links: + type: text + label: "One or more hyperlinks" + use: "@soe_paragraph_image_cta/image-cat-paragraph.html.twig" + libraries: + - image-cta-paragraphy: + css: + component: + ../../../dist/css/image-cta-paragraph.styles.css: {} diff --git a/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.ui_patterns.yml b/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.ui_patterns.yml new file mode 100644 index 0000000..e69de29 diff --git a/templates/paragraph_cta_list/paragraph-cta-list-paragraph.html.twig b/templates/paragraph_cta_list/paragraph-cta-list-paragraph.html.twig deleted file mode 100644 index 80b831b..0000000 --- a/templates/paragraph_cta_list/paragraph-cta-list-paragraph.html.twig +++ /dev/null @@ -1,9 +0,0 @@ - - - - -
-

My Custom Template

- {{ content.main }} -
- diff --git a/templates/paragraph_cta_list/paragraph-cta-list-paragraph.ui_patterns.yml b/templates/paragraph_cta_list/paragraph-cta-list-paragraph.ui_patterns.yml deleted file mode 100644 index d3d21ce..0000000 --- a/templates/paragraph_cta_list/paragraph-cta-list-paragraph.ui_patterns.yml +++ /dev/null @@ -1,12 +0,0 @@ -cta-list-paragraph: - label: CTA List Paragraph - description: CTA List Paragraph - variants: - default: - label: Default - Description: "Default" - fields: - deck: - type: text - label: "Deck" - description: "" diff --git a/webpack.config.js b/webpack.config.js index add52d0..9a0e469 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -29,6 +29,8 @@ const srcSass = path.resolve(srcDir, 'scss'); const distSass = path.resolve(distDir, 'css'); const srcJS = path.resolve(srcDir, 'js'); const distJS = path.resolve(distDir, 'js'); +const srcAssets = path.resolve(__dirname, "lib/assets"); +const distAssets = path.resolve(__dirname, "dist/assets") // ///////////////////////////////////////////////////////////////////////////// // Functions /////////////////////////////////////////////////////////////////// @@ -48,6 +50,8 @@ var webpackConfig = { entry: { "soe_paragraphs.script": path.resolve(srcJS, "soe_paragraphs.js"), "soe_paragraphs.styles": path.resolve(srcSass, "soe_paragraphs.scss"), + "cta-list-paragraph.styles": path.resolve(srcSass, "components/cta-list/index.scss"), + "image-cta-paragraph.styles": path.resolve(srcSass, "components/image-cta/index.scss") }, // Where put build? output: { From ee5dc8278625cd0b4a6ee7e490570561ecef71af Mon Sep 17 00:00:00 2001 From: Ian Monroe Date: Mon, 11 May 2020 10:55:30 -0600 Subject: [PATCH 04/40] Updated readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 00bd9a6..3dd4767 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # [soe_paragraphs](https://github.com/SU-SWS/soe_paragraphs) ##### Version: 8.x-1.x -Maintainers: [Mike Decker](https://github.com/pookmish), [sherakama](https://github.com/sherakama) +Maintainers: [Ian Monroe](https://github.com/imonroe), [Mike Decker](https://github.com/pookmish), [sherakama](https://github.com/sherakama) Changelog: [Changelog.txt](CHANGELOG.txt) From 83ac05477f00cab846f9fdca2319e9043b363329 Mon Sep 17 00:00:00 2001 From: Ian Monroe Date: Wed, 13 May 2020 09:55:59 -0600 Subject: [PATCH 05/40] catching up with work --- lib/scss/components/image-cta/_image_cta.scss | 1 + ...y.paragraph.cta_list_paragraph.default.yml | 2 ++ ...y.paragraph.cta_list_paragraph.default.yml | 30 ++++++++++++------- ...ph.cta_list_paragraph.su_cta_list_deck.yml | 4 ++- ....cta_list_paragraph.su_cta_list_header.yml | 2 ++ ...h.cta_list_paragraph.su_cta_list_links.yml | 2 ++ ...eld.storage.paragraph.su_cta_list_deck.yml | 2 ++ ...d.storage.paragraph.su_cta_list_header.yml | 2 ++ ...ld.storage.paragraph.su_cta_list_links.yml | 2 ++ ...phs.paragraphs_type.cta_list_paragraph.yml | 2 ++ 10 files changed, 38 insertions(+), 11 deletions(-) diff --git a/lib/scss/components/image-cta/_image_cta.scss b/lib/scss/components/image-cta/_image_cta.scss index ab4ff11..da7e3c7 100644 --- a/lib/scss/components/image-cta/_image_cta.scss +++ b/lib/scss/components/image-cta/_image_cta.scss @@ -1,5 +1,6 @@ .su-image-cta-paragraph{ @include modular-spacing('padding-top', 3); + background-color: red; } diff --git a/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.cta_list_paragraph.default.yml b/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.cta_list_paragraph.default.yml index 311ac51..2ea6154 100644 --- a/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.cta_list_paragraph.default.yml +++ b/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.cta_list_paragraph.default.yml @@ -10,6 +10,8 @@ dependencies: module: - link - text +_core: + default_config_hash: Jt9oeFoPBQgseAXLL8E5QD-cisKgNyP_z5GkrbEChbI id: paragraph.cta_list_paragraph.default targetEntityType: paragraph bundle: cta_list_paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list_paragraph.default.yml b/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list_paragraph.default.yml index 20a5a6c..82105a2 100644 --- a/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list_paragraph.default.yml +++ b/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list_paragraph.default.yml @@ -9,23 +9,29 @@ dependencies: - paragraphs.paragraphs_type.cta_list_paragraph module: - ds + - field_formatter_class - link - text third_party_settings: ds: layout: - id: defaults + id: pattern_cta-list-paragraph library: null disable_css: false entity_classes: no_classes settings: - extra_classes: '' - centered: centered-container + pattern: + field_templates: default + variant: default regions: - main: + header: - su_cta_list_header + deck: - su_cta_list_deck + links: - su_cta_list_links +_core: + default_config_hash: uqX8D0bL_-XofYaaKu5MdU_x5o_PMTLyL3dGbwmLskA id: paragraph.cta_list_paragraph.default targetEntityType: paragraph bundle: cta_list_paragraph @@ -37,7 +43,7 @@ content: settings: { } third_party_settings: { } type: text_default - region: main + region: deck su_cta_list_header: weight: 0 label: hidden @@ -45,7 +51,7 @@ content: link_to_entity: false third_party_settings: { } type: string - region: main + region: header su_cta_list_links: weight: 2 label: hidden @@ -53,9 +59,13 @@ content: trim_length: 80 url_only: false url_plain: false - rel: '' - target: '' - third_party_settings: { } + rel: '0' + target: '0' + third_party_settings: + field_formatter_class: + class: '' + ds: + ds_limit: '' type: link - region: main + region: links hidden: { } diff --git a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_deck.yml b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_deck.yml index 6116ad0..1cbd7a2 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_deck.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_deck.yml @@ -13,11 +13,13 @@ third_party_settings: stanford_html: stanford_html stanford_minimal_html: stanford_minimal_html plain_text: plain_text +_core: + default_config_hash: 1OnKNynwJWC4uF4TkhgzxhVNebtK6OHUy4YlXrnD4K4 id: paragraph.cta_list_paragraph.su_cta_list_deck field_name: su_cta_list_deck entity_type: paragraph bundle: cta_list_paragraph -label: Deck +label: Description description: 'The body text of the CTA List paragraph' required: false translatable: false diff --git a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_header.yml b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_header.yml index ccd0a44..4ca4357 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_header.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_header.yml @@ -5,6 +5,8 @@ dependencies: config: - field.storage.paragraph.su_cta_list_header - paragraphs.paragraphs_type.cta_list_paragraph +_core: + default_config_hash: 2oev1ZQybBcDmmjr0NIPvMKSkNLHtQOOjzzEIBwd0To id: paragraph.cta_list_paragraph.su_cta_list_header field_name: su_cta_list_header entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_links.yml b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_links.yml index bfb2dcd..51e9a88 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_links.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_links.yml @@ -7,6 +7,8 @@ dependencies: - paragraphs.paragraphs_type.cta_list_paragraph module: - link +_core: + default_config_hash: 380Qxta3cNroZtCNYHes4EZbvml8SOHZDcN_L04LkYA id: paragraph.cta_list_paragraph.su_cta_list_links field_name: su_cta_list_links entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_deck.yml b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_deck.yml index b191d9a..0ca39d5 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_deck.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_deck.yml @@ -5,6 +5,8 @@ dependencies: module: - paragraphs - text +_core: + default_config_hash: 66aeH6eVzEridoT4-MTOhOdeCdgSw5PoTo0-1U1u-Z0 id: paragraph.su_cta_list_deck field_name: su_cta_list_deck entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_header.yml b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_header.yml index 8b39e7e..c110156 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_header.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_header.yml @@ -4,6 +4,8 @@ status: true dependencies: module: - paragraphs +_core: + default_config_hash: 8RYQUBfuo8J2GbZgMrbXLkjBq-v4usDtpwYU-dB2dmg id: paragraph.su_cta_list_header field_name: su_cta_list_header entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_links.yml b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_links.yml index 75f199d..a3e85a6 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_links.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_links.yml @@ -5,6 +5,8 @@ dependencies: module: - link - paragraphs +_core: + default_config_hash: 19ZNN0-PqoV0A-UVQf2u7lKRiYgd877T-jGS69iOqQ0 id: paragraph.su_cta_list_links field_name: su_cta_list_links entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list_paragraph.yml b/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list_paragraph.yml index edb6a44..0b5d85f 100644 --- a/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list_paragraph.yml +++ b/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list_paragraph.yml @@ -4,6 +4,8 @@ status: true dependencies: content: - 'file:file:a1a53248-7e28-4ed3-9a21-f7405d2ecfca' +_core: + default_config_hash: uBUig54skoS_hJzyBIo9JR1qQNUoh0J8zI-UzKbKIlQ id: cta_list_paragraph label: 'CTA List Paragraph' icon_uuid: a1a53248-7e28-4ed3-9a21-f7405d2ecfca From a5a7693e199093b9ab5c51312a31e2b6395ec5a2 Mon Sep 17 00:00:00 2001 From: Ian Monroe Date: Wed, 13 May 2020 11:45:58 -0600 Subject: [PATCH 06/40] Added config for first try at schedule --- lib/scss/components/schedule/_schedule.scss | 6 ++ lib/scss/components/schedule/index.scss | 6 ++ ...rm_display.paragraph.cta_list.default.yml} | 16 ++--- ...iew_display.paragraph.cta_list.default.yml | 45 ++++++++++++ ...y.paragraph.cta_list_paragraph.default.yml | 71 ------------------- ...d.paragraph.cta_list.su_cta_list_deck.yml} | 14 ++-- ....paragraph.cta_list.su_cta_list_header.yml | 19 +++++ ...d.paragraph.cta_list.su_cta_list_links.yml | 23 ++++++ ....cta_list_paragraph.su_cta_list_header.yml | 21 ------ ...h.cta_list_paragraph.su_cta_list_links.yml | 25 ------- ...eld.storage.paragraph.su_cta_list_deck.yml | 4 +- ...d.storage.paragraph.su_cta_list_header.yml | 4 +- ...ld.storage.paragraph.su_cta_list_links.yml | 4 +- .../paragraphs.paragraphs_type.cta_list.yml | 10 +++ ...phs.paragraphs_type.cta_list_paragraph.yml | 14 ---- ...rm_display.paragraph.image_cta.default.yml | 34 +++++++++ ...ew_display.paragraph.image_cta.default.yml | 37 ++++++++++ ...paragraph.image_cta.su_image_cta_image.yml | 28 ++++++++ ....paragraph.image_cta.su_image_cta_link.yml | 23 ++++++ ...d.storage.paragraph.su_image_cta_image.yml | 20 ++++++ ...ld.storage.paragraph.su_image_cta_link.yml | 19 +++++ .../paragraphs.paragraphs_type.image_cta.yml | 10 +++ ...orm_display.paragraph.schedule.default.yml | 34 +++++++++ ...splay.paragraph.schedule_event.default.yml | 57 +++++++++++++++ ...iew_display.paragraph.schedule.default.yml | 24 +++++++ ...splay.paragraph.schedule_event.default.yml | 61 ++++++++++++++++ ....paragraph.schedule.su_schedule_events.yml | 61 ++++++++++++++++ ....schedule_event.su_schedule_event_deck.yml | 27 +++++++ ...h.schedule_event.su_schedule_event_end.yml | 21 ++++++ ....schedule_event.su_schedule_event_head.yml | 19 +++++ ...h.schedule_event.su_schedule_event_loc.yml | 27 +++++++ ...schedule_event.su_schedule_event_start.yml | 21 ++++++ ...orage.paragraph.su_schedule_event_deck.yml | 19 +++++ ...torage.paragraph.su_schedule_event_end.yml | 18 +++++ ...orage.paragraph.su_schedule_event_head.yml | 21 ++++++ ...torage.paragraph.su_schedule_event_loc.yml | 19 +++++ ...rage.paragraph.su_schedule_event_start.yml | 18 +++++ ...d.storage.paragraph.su_schedule_events.yml | 20 ++++++ .../paragraphs.paragraphs_type.schedule.yml | 10 +++ ...agraphs.paragraphs_type.schedule_event.yml | 10 +++ .../soe_paragraph_schedule.info.yml | 12 ++++ .../templates/schedule-paragraph.html.twig | 0 .../schedule-paragraph.ui_patterns.yml | 0 43 files changed, 795 insertions(+), 157 deletions(-) create mode 100644 lib/scss/components/schedule/_schedule.scss create mode 100644 lib/scss/components/schedule/index.scss rename modules/soe_paragraph_cta_list/config/install/{core.entity_form_display.paragraph.cta_list_paragraph.default.yml => core.entity_form_display.paragraph.cta_list.default.yml} (60%) create mode 100644 modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list.default.yml delete mode 100644 modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list_paragraph.default.yml rename modules/soe_paragraph_cta_list/config/install/{field.field.paragraph.cta_list_paragraph.su_cta_list_deck.yml => field.field.paragraph.cta_list.su_cta_list_deck.yml} (58%) create mode 100644 modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_header.yml create mode 100644 modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_links.yml delete mode 100644 modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_header.yml delete mode 100644 modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_links.yml create mode 100644 modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list.yml delete mode 100644 modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list_paragraph.yml create mode 100644 modules/soe_paragraph_image_cta/config/install/core.entity_form_display.paragraph.image_cta.default.yml create mode 100644 modules/soe_paragraph_image_cta/config/install/core.entity_view_display.paragraph.image_cta.default.yml create mode 100644 modules/soe_paragraph_image_cta/config/install/field.field.paragraph.image_cta.su_image_cta_image.yml create mode 100644 modules/soe_paragraph_image_cta/config/install/field.field.paragraph.image_cta.su_image_cta_link.yml create mode 100644 modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.su_image_cta_image.yml create mode 100644 modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.su_image_cta_link.yml create mode 100644 modules/soe_paragraph_image_cta/config/install/paragraphs.paragraphs_type.image_cta.yml create mode 100644 modules/soe_paragraph_schedule/config/install/core.entity_form_display.paragraph.schedule.default.yml create mode 100644 modules/soe_paragraph_schedule/config/install/core.entity_form_display.paragraph.schedule_event.default.yml create mode 100644 modules/soe_paragraph_schedule/config/install/core.entity_view_display.paragraph.schedule.default.yml create mode 100644 modules/soe_paragraph_schedule/config/install/core.entity_view_display.paragraph.schedule_event.default.yml create mode 100644 modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule.su_schedule_events.yml create mode 100644 modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule_event.su_schedule_event_deck.yml create mode 100644 modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule_event.su_schedule_event_end.yml create mode 100644 modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule_event.su_schedule_event_head.yml create mode 100644 modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule_event.su_schedule_event_loc.yml create mode 100644 modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule_event.su_schedule_event_start.yml create mode 100644 modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_event_deck.yml create mode 100644 modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_event_end.yml create mode 100644 modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_event_head.yml create mode 100644 modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_event_loc.yml create mode 100644 modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_event_start.yml create mode 100644 modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_events.yml create mode 100644 modules/soe_paragraph_schedule/config/install/paragraphs.paragraphs_type.schedule.yml create mode 100644 modules/soe_paragraph_schedule/config/install/paragraphs.paragraphs_type.schedule_event.yml create mode 100644 modules/soe_paragraph_schedule/soe_paragraph_schedule.info.yml create mode 100644 modules/soe_paragraph_schedule/templates/schedule-paragraph.html.twig create mode 100644 modules/soe_paragraph_schedule/templates/schedule-paragraph.ui_patterns.yml diff --git a/lib/scss/components/schedule/_schedule.scss b/lib/scss/components/schedule/_schedule.scss new file mode 100644 index 0000000..fbe91ca --- /dev/null +++ b/lib/scss/components/schedule/_schedule.scss @@ -0,0 +1,6 @@ +.su-schedule-paragraph{ + + background-color: green; + + +} diff --git a/lib/scss/components/schedule/index.scss b/lib/scss/components/schedule/index.scss new file mode 100644 index 0000000..f992c92 --- /dev/null +++ b/lib/scss/components/schedule/index.scss @@ -0,0 +1,6 @@ +@charset 'UTF-8'; + +@import +'decanter/core/src/scss/decanter-no-markup', +'../../config.scss', +'schedule.scss'; diff --git a/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.cta_list_paragraph.default.yml b/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.cta_list.default.yml similarity index 60% rename from modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.cta_list_paragraph.default.yml rename to modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.cta_list.default.yml index 2ea6154..e0279fa 100644 --- a/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.cta_list_paragraph.default.yml +++ b/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.cta_list.default.yml @@ -1,20 +1,18 @@ -uuid: 1262dad2-6d65-4c95-865d-e6ee640db804 +uuid: 18bddd88-f407-4c08-aad0-3f792823976f langcode: en status: true dependencies: config: - - field.field.paragraph.cta_list_paragraph.su_cta_list_deck - - field.field.paragraph.cta_list_paragraph.su_cta_list_header - - field.field.paragraph.cta_list_paragraph.su_cta_list_links - - paragraphs.paragraphs_type.cta_list_paragraph + - field.field.paragraph.cta_list.su_cta_list_deck + - field.field.paragraph.cta_list.su_cta_list_header + - field.field.paragraph.cta_list.su_cta_list_links + - paragraphs.paragraphs_type.cta_list module: - link - text -_core: - default_config_hash: Jt9oeFoPBQgseAXLL8E5QD-cisKgNyP_z5GkrbEChbI -id: paragraph.cta_list_paragraph.default +id: paragraph.cta_list.default targetEntityType: paragraph -bundle: cta_list_paragraph +bundle: cta_list mode: default content: su_cta_list_deck: diff --git a/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list.default.yml b/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list.default.yml new file mode 100644 index 0000000..05772fa --- /dev/null +++ b/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list.default.yml @@ -0,0 +1,45 @@ +uuid: 7196d7f2-398a-4822-9eca-1ecd9395a26b +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.cta_list.su_cta_list_deck + - field.field.paragraph.cta_list.su_cta_list_header + - field.field.paragraph.cta_list.su_cta_list_links + - paragraphs.paragraphs_type.cta_list + module: + - link + - text +id: paragraph.cta_list.default +targetEntityType: paragraph +bundle: cta_list +mode: default +content: + su_cta_list_deck: + weight: 1 + label: hidden + settings: { } + third_party_settings: { } + type: text_default + region: content + su_cta_list_header: + weight: 0 + label: hidden + settings: + link_to_entity: false + third_party_settings: { } + type: string + region: content + su_cta_list_links: + weight: 2 + label: hidden + settings: + trim_length: 80 + url_only: false + url_plain: false + rel: '' + target: '' + third_party_settings: { } + type: link + region: content +hidden: { } diff --git a/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list_paragraph.default.yml b/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list_paragraph.default.yml deleted file mode 100644 index 82105a2..0000000 --- a/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list_paragraph.default.yml +++ /dev/null @@ -1,71 +0,0 @@ -uuid: 480f0c4e-51dd-4e9b-8d03-33750d225713 -langcode: en -status: true -dependencies: - config: - - field.field.paragraph.cta_list_paragraph.su_cta_list_deck - - field.field.paragraph.cta_list_paragraph.su_cta_list_header - - field.field.paragraph.cta_list_paragraph.su_cta_list_links - - paragraphs.paragraphs_type.cta_list_paragraph - module: - - ds - - field_formatter_class - - link - - text -third_party_settings: - ds: - layout: - id: pattern_cta-list-paragraph - library: null - disable_css: false - entity_classes: no_classes - settings: - pattern: - field_templates: default - variant: default - regions: - header: - - su_cta_list_header - deck: - - su_cta_list_deck - links: - - su_cta_list_links -_core: - default_config_hash: uqX8D0bL_-XofYaaKu5MdU_x5o_PMTLyL3dGbwmLskA -id: paragraph.cta_list_paragraph.default -targetEntityType: paragraph -bundle: cta_list_paragraph -mode: default -content: - su_cta_list_deck: - weight: 1 - label: hidden - settings: { } - third_party_settings: { } - type: text_default - region: deck - su_cta_list_header: - weight: 0 - label: hidden - settings: - link_to_entity: false - third_party_settings: { } - type: string - region: header - su_cta_list_links: - weight: 2 - label: hidden - settings: - trim_length: 80 - url_only: false - url_plain: false - rel: '0' - target: '0' - third_party_settings: - field_formatter_class: - class: '' - ds: - ds_limit: '' - type: link - region: links -hidden: { } diff --git a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_deck.yml b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_deck.yml similarity index 58% rename from modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_deck.yml rename to modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_deck.yml index 1cbd7a2..4b80f77 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_deck.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_deck.yml @@ -1,10 +1,10 @@ -uuid: de9b10d0-d54c-4b66-893f-aef3644362d3 +uuid: 2c1953b8-c160-4f04-a74b-612a6470886f langcode: en status: true dependencies: config: - field.storage.paragraph.su_cta_list_deck - - paragraphs.paragraphs_type.cta_list_paragraph + - paragraphs.paragraphs_type.cta_list module: - allowed_formats - text @@ -12,15 +12,13 @@ third_party_settings: allowed_formats: stanford_html: stanford_html stanford_minimal_html: stanford_minimal_html - plain_text: plain_text -_core: - default_config_hash: 1OnKNynwJWC4uF4TkhgzxhVNebtK6OHUy4YlXrnD4K4 -id: paragraph.cta_list_paragraph.su_cta_list_deck + plain_text: '0' +id: paragraph.cta_list.su_cta_list_deck field_name: su_cta_list_deck entity_type: paragraph -bundle: cta_list_paragraph +bundle: cta_list label: Description -description: 'The body text of the CTA List paragraph' +description: 'The body text of the paragraph' required: false translatable: false default_value: { } diff --git a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_header.yml b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_header.yml new file mode 100644 index 0000000..b1bc02b --- /dev/null +++ b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_header.yml @@ -0,0 +1,19 @@ +uuid: 0101e1e8-ef37-4c17-9585-ab704fbdaae9 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.su_cta_list_header + - paragraphs.paragraphs_type.cta_list +id: paragraph.cta_list.su_cta_list_header +field_name: su_cta_list_header +entity_type: paragraph +bundle: cta_list +label: Header +description: 'The headline text' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_links.yml b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_links.yml new file mode 100644 index 0000000..f1d252e --- /dev/null +++ b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_links.yml @@ -0,0 +1,23 @@ +uuid: f53233e6-68e8-4c83-85f5-8f9f0f4ee00b +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.su_cta_list_links + - paragraphs.paragraphs_type.cta_list + module: + - link +id: paragraph.cta_list.su_cta_list_links +field_name: su_cta_list_links +entity_type: paragraph +bundle: cta_list +label: Links +description: 'The links to include in the paragraph' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: + link_type: 17 + title: 2 +field_type: link diff --git a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_header.yml b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_header.yml deleted file mode 100644 index 4ca4357..0000000 --- a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_header.yml +++ /dev/null @@ -1,21 +0,0 @@ -uuid: 18037b44-27fd-4c75-87fb-90e646ab2508 -langcode: en -status: true -dependencies: - config: - - field.storage.paragraph.su_cta_list_header - - paragraphs.paragraphs_type.cta_list_paragraph -_core: - default_config_hash: 2oev1ZQybBcDmmjr0NIPvMKSkNLHtQOOjzzEIBwd0To -id: paragraph.cta_list_paragraph.su_cta_list_header -field_name: su_cta_list_header -entity_type: paragraph -bundle: cta_list_paragraph -label: Header -description: 'The headline of the CTA List Paragraph' -required: false -translatable: false -default_value: { } -default_value_callback: '' -settings: { } -field_type: string diff --git a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_links.yml b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_links.yml deleted file mode 100644 index 51e9a88..0000000 --- a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list_paragraph.su_cta_list_links.yml +++ /dev/null @@ -1,25 +0,0 @@ -uuid: 65922105-8d04-43b5-9298-c2078c69e76b -langcode: en -status: true -dependencies: - config: - - field.storage.paragraph.su_cta_list_links - - paragraphs.paragraphs_type.cta_list_paragraph - module: - - link -_core: - default_config_hash: 380Qxta3cNroZtCNYHes4EZbvml8SOHZDcN_L04LkYA -id: paragraph.cta_list_paragraph.su_cta_list_links -field_name: su_cta_list_links -entity_type: paragraph -bundle: cta_list_paragraph -label: Links -description: 'The links to list in the CTA List paragraph' -required: true -translatable: false -default_value: { } -default_value_callback: '' -settings: - link_type: 17 - title: 1 -field_type: link diff --git a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_deck.yml b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_deck.yml index 0ca39d5..826f950 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_deck.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_deck.yml @@ -1,12 +1,10 @@ -uuid: e6d32f53-7ff8-4c71-a084-07cfb1210d96 +uuid: bffa6a6e-63b2-4409-ba54-48511a2801bf langcode: en status: true dependencies: module: - paragraphs - text -_core: - default_config_hash: 66aeH6eVzEridoT4-MTOhOdeCdgSw5PoTo0-1U1u-Z0 id: paragraph.su_cta_list_deck field_name: su_cta_list_deck entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_header.yml b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_header.yml index c110156..ba0863d 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_header.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_header.yml @@ -1,11 +1,9 @@ -uuid: 6c86de22-8482-47a7-b2d9-c4834d907e31 +uuid: 43f5087a-d74c-46cf-9334-80dd67d04bd7 langcode: en status: true dependencies: module: - paragraphs -_core: - default_config_hash: 8RYQUBfuo8J2GbZgMrbXLkjBq-v4usDtpwYU-dB2dmg id: paragraph.su_cta_list_header field_name: su_cta_list_header entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_links.yml b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_links.yml index a3e85a6..ebd5d8a 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_links.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_links.yml @@ -1,12 +1,10 @@ -uuid: cf553dbb-4d5c-42b0-979e-bcf23b048174 +uuid: 5504ddcf-8ab8-4278-bd90-1eb1866967c2 langcode: en status: true dependencies: module: - link - paragraphs -_core: - default_config_hash: 19ZNN0-PqoV0A-UVQf2u7lKRiYgd877T-jGS69iOqQ0 id: paragraph.su_cta_list_links field_name: su_cta_list_links entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list.yml b/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list.yml new file mode 100644 index 0000000..f3f743c --- /dev/null +++ b/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list.yml @@ -0,0 +1,10 @@ +uuid: 720f8414-f928-430d-b01f-5691a02dcf56 +langcode: en +status: true +dependencies: { } +id: cta_list +label: 'CTA List' +icon_uuid: null +icon_default: null +description: 'A paragraph which provides a list of CTA links.' +behavior_plugins: { } diff --git a/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list_paragraph.yml b/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list_paragraph.yml deleted file mode 100644 index 0b5d85f..0000000 --- a/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list_paragraph.yml +++ /dev/null @@ -1,14 +0,0 @@ -uuid: 1907ce6d-e96a-45b6-b658-88a39cad9de0 -langcode: en -status: true -dependencies: - content: - - 'file:file:a1a53248-7e28-4ed3-9a21-f7405d2ecfca' -_core: - default_config_hash: uBUig54skoS_hJzyBIo9JR1qQNUoh0J8zI-UzKbKIlQ -id: cta_list_paragraph -label: 'CTA List Paragraph' -icon_uuid: a1a53248-7e28-4ed3-9a21-f7405d2ecfca -icon_default: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEoAAABFCAYAAADthnCkAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAMlSURBVHhe7ZuxaipBFEDHh9oIJq0iYm2iKRSxsZIUguQjtPEHUgip/QU7wQ9IGxGxV9BGsbDSSPIDEguDMtkrNy+Js7vegO57494Dl8xOZnaX4+54x93xSAPBHOQP/mUOwKKIsCgiLIoIiyLCoohYpgdQ3W63Ra/XEy8vLyKRSIjb21sRj8exhTndblc0Gg3x/v6ONXrg9/tFqVQS+Xwea/YAUfssFgtpdACBP8Lr9cqHhwdpSMCWKtFoVOmnS8C5W6GIWq/XMplMmu7oM0CWFdVqVRqfjmm//zngnOHcrVBE1Wo10x19D7iyJpMJ9nAHymDearWwZM1msxGdTge33IEiajQaYcme8XiMJXegiIpEIliyh9ruXFBEZbNZLNlDbXcuKHnU8/OzML71xHK5xBoVyDVgjPJ4PFjzhdN5VCaTEff397h1QnZD+h6Pj48yGAwq33YQkDpAnmXFv8ij+v0+Hv10mIoC5vO5LJfL8urqSl5cXMhcLrdLHSDPssPpPMq4ouTb2xse/XTwL5xEeFJMhEURYVFEWBQRFkWERRFhUURYFBEWRcQ2M99ut2I6nYrX11dxfX0tQqEQ/sea1Wq1mxjr+HABJvuBQABr9gBRZtTr9d0cD5p8xs3NjRwOh9jCHJh7fe+jU8C5W2EqqlKpmO4IwufzyaenJ2ypcq6ilFvPkCCKxSIIxBqVcDgsJpOJuLy8xJovXHPr3d3d/bBsFc1mE3u4A+VbbzAYYMkeY6zCkjvg9ICIIiqdTmPJnlQqhSV3oP1gDh9sLBbDrRMCovbRKT2Ax/uz2QyPfjpMRQG6JJxOidJ+CuPUrcdPYYhwekCERRFhUURYFBEWRYRFEWFRRFgUERZFBTJzM3R5kexY8esX8gHdXk08Vtgt8VDmerq97Hos4OHCrxYNwe0G1Yei1WphD3egDOaw7IwCtd25oIiCtXkUqO3OBUUUjE8UYKGjm1BEFQoFLFnj9Xp3q0FdBY5Vf9FtYSP8Ru/EC/mmeZRuS2WdWOJh+Zs5VOuw+Nq4ohxZNMQPF4jwpJgIiyLCooiwKCIsigiLIsKiSAjxAcQYluO5FOI/AAAAAElFTkSuQmCC' -description: 'CTA List Paragraph' -behavior_plugins: { } diff --git a/modules/soe_paragraph_image_cta/config/install/core.entity_form_display.paragraph.image_cta.default.yml b/modules/soe_paragraph_image_cta/config/install/core.entity_form_display.paragraph.image_cta.default.yml new file mode 100644 index 0000000..80b74f1 --- /dev/null +++ b/modules/soe_paragraph_image_cta/config/install/core.entity_form_display.paragraph.image_cta.default.yml @@ -0,0 +1,34 @@ +uuid: 68e5b84a-fb16-4f95-9f0c-2730b8de4c74 +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.image_cta.su_image_cta_image + - field.field.paragraph.image_cta.su_image_cta_link + - paragraphs.paragraphs_type.image_cta + module: + - link + - media_library +id: paragraph.image_cta.default +targetEntityType: paragraph +bundle: image_cta +mode: default +content: + su_image_cta_image: + type: media_library_widget + weight: 0 + settings: + media_types: { } + third_party_settings: { } + region: content + su_image_cta_link: + weight: 1 + settings: + placeholder_url: '' + placeholder_title: '' + third_party_settings: { } + type: link_default + region: content +hidden: + created: true + status: true diff --git a/modules/soe_paragraph_image_cta/config/install/core.entity_view_display.paragraph.image_cta.default.yml b/modules/soe_paragraph_image_cta/config/install/core.entity_view_display.paragraph.image_cta.default.yml new file mode 100644 index 0000000..1a0ff31 --- /dev/null +++ b/modules/soe_paragraph_image_cta/config/install/core.entity_view_display.paragraph.image_cta.default.yml @@ -0,0 +1,37 @@ +uuid: fd610401-fad6-4ad4-b46b-d94fbcea34ba +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.image_cta.su_image_cta_image + - field.field.paragraph.image_cta.su_image_cta_link + - paragraphs.paragraphs_type.image_cta + module: + - link +id: paragraph.image_cta.default +targetEntityType: paragraph +bundle: image_cta +mode: default +content: + su_image_cta_image: + type: entity_reference_entity_view + weight: 0 + label: hidden + settings: + view_mode: default + link: false + third_party_settings: { } + region: content + su_image_cta_link: + weight: 1 + label: hidden + settings: + trim_length: 80 + url_only: false + url_plain: false + rel: '' + target: '' + third_party_settings: { } + type: link + region: content +hidden: { } diff --git a/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.image_cta.su_image_cta_image.yml b/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.image_cta.su_image_cta_image.yml new file mode 100644 index 0000000..e81e71e --- /dev/null +++ b/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.image_cta.su_image_cta_image.yml @@ -0,0 +1,28 @@ +uuid: 8fc08725-331f-4e58-b727-5fcfd0bba908 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.su_image_cta_image + - media.type.image + - paragraphs.paragraphs_type.image_cta +id: paragraph.image_cta.su_image_cta_image +field_name: su_image_cta_image +entity_type: paragraph +bundle: image_cta +label: Image +description: 'The image to display' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:media' + handler_settings: + target_bundles: + image: image + sort: + field: _none + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.image_cta.su_image_cta_link.yml b/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.image_cta.su_image_cta_link.yml new file mode 100644 index 0000000..72096c3 --- /dev/null +++ b/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.image_cta.su_image_cta_link.yml @@ -0,0 +1,23 @@ +uuid: f4fc7b7c-dee4-4650-87cd-191060d59d59 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.su_image_cta_link + - paragraphs.paragraphs_type.image_cta + module: + - link +id: paragraph.image_cta.su_image_cta_link +field_name: su_image_cta_link +entity_type: paragraph +bundle: image_cta +label: Link +description: 'The CTA link.' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: + link_type: 17 + title: 2 +field_type: link diff --git a/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.su_image_cta_image.yml b/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.su_image_cta_image.yml new file mode 100644 index 0000000..d403bcd --- /dev/null +++ b/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.su_image_cta_image.yml @@ -0,0 +1,20 @@ +uuid: 2e04493d-23e4-4016-94ff-e932ac73fd4c +langcode: en +status: true +dependencies: + module: + - media + - paragraphs +id: paragraph.su_image_cta_image +field_name: su_image_cta_image +entity_type: paragraph +type: entity_reference +settings: + target_type: media +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.su_image_cta_link.yml b/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.su_image_cta_link.yml new file mode 100644 index 0000000..3120991 --- /dev/null +++ b/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.su_image_cta_link.yml @@ -0,0 +1,19 @@ +uuid: 40efa3c8-b2b9-48d0-9f14-d203816d4809 +langcode: en +status: true +dependencies: + module: + - link + - paragraphs +id: paragraph.su_image_cta_link +field_name: su_image_cta_link +entity_type: paragraph +type: link +settings: { } +module: link +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/modules/soe_paragraph_image_cta/config/install/paragraphs.paragraphs_type.image_cta.yml b/modules/soe_paragraph_image_cta/config/install/paragraphs.paragraphs_type.image_cta.yml new file mode 100644 index 0000000..4c5cdce --- /dev/null +++ b/modules/soe_paragraph_image_cta/config/install/paragraphs.paragraphs_type.image_cta.yml @@ -0,0 +1,10 @@ +uuid: 18119ae3-66fa-4c8f-b670-1ec7975e6744 +langcode: en +status: true +dependencies: { } +id: image_cta +label: 'Image CTA' +icon_uuid: null +icon_default: null +description: 'A paragraph which provides an image with a CTA button beneath it.' +behavior_plugins: { } diff --git a/modules/soe_paragraph_schedule/config/install/core.entity_form_display.paragraph.schedule.default.yml b/modules/soe_paragraph_schedule/config/install/core.entity_form_display.paragraph.schedule.default.yml new file mode 100644 index 0000000..e94fbcc --- /dev/null +++ b/modules/soe_paragraph_schedule/config/install/core.entity_form_display.paragraph.schedule.default.yml @@ -0,0 +1,34 @@ +uuid: f0b32555-a934-48dd-bcc9-0f3fb51d2f69 +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.schedule.su_schedule_events + - paragraphs.paragraphs_type.schedule + module: + - inline_entity_form +id: paragraph.schedule.default +targetEntityType: paragraph +bundle: schedule +mode: default +content: + su_schedule_events: + type: inline_entity_form_complex + weight: 0 + settings: + form_mode: default + label_singular: '' + label_plural: '' + allow_new: true + match_operator: CONTAINS + revision: false + override_labels: false + collapsible: false + collapsed: false + allow_existing: false + allow_duplicate: false + third_party_settings: { } + region: content +hidden: + created: true + status: true diff --git a/modules/soe_paragraph_schedule/config/install/core.entity_form_display.paragraph.schedule_event.default.yml b/modules/soe_paragraph_schedule/config/install/core.entity_form_display.paragraph.schedule_event.default.yml new file mode 100644 index 0000000..41a6c49 --- /dev/null +++ b/modules/soe_paragraph_schedule/config/install/core.entity_form_display.paragraph.schedule_event.default.yml @@ -0,0 +1,57 @@ +uuid: 2e8a50df-bde1-4c22-8888-67222ac4d08c +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.schedule_event.su_schedule_event_deck + - field.field.paragraph.schedule_event.su_schedule_event_end + - field.field.paragraph.schedule_event.su_schedule_event_head + - field.field.paragraph.schedule_event.su_schedule_event_loc + - field.field.paragraph.schedule_event.su_schedule_event_start + - paragraphs.paragraphs_type.schedule_event + module: + - text +id: paragraph.schedule_event.default +targetEntityType: paragraph +bundle: schedule_event +mode: default +content: + su_schedule_event_deck: + weight: 1 + settings: + rows: 5 + placeholder: '' + third_party_settings: { } + type: text_textarea + region: content + su_schedule_event_end: + weight: 4 + settings: { } + third_party_settings: { } + type: datetime_timestamp + region: content + su_schedule_event_head: + weight: 0 + settings: + size: 60 + placeholder: '' + third_party_settings: { } + type: string_textfield + region: content + su_schedule_event_loc: + weight: 2 + settings: + rows: 5 + placeholder: '' + third_party_settings: { } + type: text_textarea + region: content + su_schedule_event_start: + weight: 3 + settings: { } + third_party_settings: { } + type: datetime_timestamp + region: content +hidden: + created: true + status: true diff --git a/modules/soe_paragraph_schedule/config/install/core.entity_view_display.paragraph.schedule.default.yml b/modules/soe_paragraph_schedule/config/install/core.entity_view_display.paragraph.schedule.default.yml new file mode 100644 index 0000000..5629d10 --- /dev/null +++ b/modules/soe_paragraph_schedule/config/install/core.entity_view_display.paragraph.schedule.default.yml @@ -0,0 +1,24 @@ +uuid: 7af88cf7-a826-44c3-b7ae-4b664ff310a1 +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.schedule.su_schedule_events + - paragraphs.paragraphs_type.schedule + module: + - entity_reference_revisions +id: paragraph.schedule.default +targetEntityType: paragraph +bundle: schedule +mode: default +content: + su_schedule_events: + type: entity_reference_revisions_entity_view + weight: 0 + label: hidden + settings: + view_mode: default + link: '' + third_party_settings: { } + region: content +hidden: { } diff --git a/modules/soe_paragraph_schedule/config/install/core.entity_view_display.paragraph.schedule_event.default.yml b/modules/soe_paragraph_schedule/config/install/core.entity_view_display.paragraph.schedule_event.default.yml new file mode 100644 index 0000000..2ae4d79 --- /dev/null +++ b/modules/soe_paragraph_schedule/config/install/core.entity_view_display.paragraph.schedule_event.default.yml @@ -0,0 +1,61 @@ +uuid: cabb7230-fa26-4dbf-82ba-4f6d3ab6d0aa +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.schedule_event.su_schedule_event_deck + - field.field.paragraph.schedule_event.su_schedule_event_end + - field.field.paragraph.schedule_event.su_schedule_event_head + - field.field.paragraph.schedule_event.su_schedule_event_loc + - field.field.paragraph.schedule_event.su_schedule_event_start + - paragraphs.paragraphs_type.schedule_event + module: + - text +id: paragraph.schedule_event.default +targetEntityType: paragraph +bundle: schedule_event +mode: default +content: + su_schedule_event_deck: + weight: 1 + label: above + settings: { } + third_party_settings: { } + type: text_default + region: content + su_schedule_event_end: + weight: 4 + label: above + settings: + date_format: medium + custom_date_format: '' + timezone: '' + third_party_settings: { } + type: timestamp + region: content + su_schedule_event_head: + weight: 0 + label: above + settings: + link_to_entity: false + third_party_settings: { } + type: string + region: content + su_schedule_event_loc: + weight: 5 + label: above + settings: { } + third_party_settings: { } + type: text_default + region: content + su_schedule_event_start: + weight: 3 + label: above + settings: + date_format: medium + custom_date_format: '' + timezone: '' + third_party_settings: { } + type: timestamp + region: content +hidden: { } diff --git a/modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule.su_schedule_events.yml b/modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule.su_schedule_events.yml new file mode 100644 index 0000000..b8a66a7 --- /dev/null +++ b/modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule.su_schedule_events.yml @@ -0,0 +1,61 @@ +uuid: ad1f9144-3472-4f0a-82d6-bf622b63a253 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.su_schedule_events + - paragraphs.paragraphs_type.schedule + - paragraphs.paragraphs_type.schedule_event + module: + - entity_reference_revisions +id: paragraph.schedule.su_schedule_events +field_name: su_schedule_events +entity_type: paragraph +bundle: schedule +label: Events +description: 'The events for this schedule' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:paragraph' + handler_settings: + negate: 0 + target_bundles: + schedule_event: schedule_event + target_bundles_drag_drop: + cta_list: + weight: 12 + enabled: false + image_cta: + weight: 13 + enabled: false + news_image: + weight: 14 + enabled: false + news_views: + weight: 15 + enabled: false + schedule: + weight: 16 + enabled: false + schedule_event: + enabled: true + weight: 17 + stanford_banner: + weight: 18 + enabled: false + stanford_card: + weight: 19 + enabled: false + stanford_media_caption: + weight: 20 + enabled: false + stanford_news_banner: + weight: 21 + enabled: false + stanford_wysiwyg: + weight: 22 + enabled: false +field_type: entity_reference_revisions diff --git a/modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule_event.su_schedule_event_deck.yml b/modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule_event.su_schedule_event_deck.yml new file mode 100644 index 0000000..f05f6d9 --- /dev/null +++ b/modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule_event.su_schedule_event_deck.yml @@ -0,0 +1,27 @@ +uuid: 0b4f337c-4925-476d-adf0-7622a06c9071 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.su_schedule_event_deck + - paragraphs.paragraphs_type.schedule_event + module: + - allowed_formats + - text +third_party_settings: + allowed_formats: + stanford_html: stanford_html + stanford_minimal_html: stanford_minimal_html + plain_text: plain_text +id: paragraph.schedule_event.su_schedule_event_deck +field_name: su_schedule_event_deck +entity_type: paragraph +bundle: schedule_event +label: 'Event Description' +description: 'A brief description of the event' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: text_long diff --git a/modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule_event.su_schedule_event_end.yml b/modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule_event.su_schedule_event_end.yml new file mode 100644 index 0000000..8158db4 --- /dev/null +++ b/modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule_event.su_schedule_event_end.yml @@ -0,0 +1,21 @@ +uuid: f3043a14-7475-4123-a30e-fb708ad3d0c0 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.su_schedule_event_end + - paragraphs.paragraphs_type.schedule_event +id: paragraph.schedule_event.su_schedule_event_end +field_name: su_schedule_event_end +entity_type: paragraph +bundle: schedule_event +label: 'End Time' +description: 'The time and date the event ends' +required: true +translatable: false +default_value: + - + value: 1589388715 +default_value_callback: '' +settings: { } +field_type: timestamp diff --git a/modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule_event.su_schedule_event_head.yml b/modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule_event.su_schedule_event_head.yml new file mode 100644 index 0000000..8f984a9 --- /dev/null +++ b/modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule_event.su_schedule_event_head.yml @@ -0,0 +1,19 @@ +uuid: 5c57cd29-8b42-4305-879a-b845f952f92a +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.su_schedule_event_head + - paragraphs.paragraphs_type.schedule_event +id: paragraph.schedule_event.su_schedule_event_head +field_name: su_schedule_event_head +entity_type: paragraph +bundle: schedule_event +label: 'Event Headline' +description: 'The event title or headline' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule_event.su_schedule_event_loc.yml b/modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule_event.su_schedule_event_loc.yml new file mode 100644 index 0000000..6797011 --- /dev/null +++ b/modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule_event.su_schedule_event_loc.yml @@ -0,0 +1,27 @@ +uuid: 4ea8152b-949b-479a-bf63-ae540dc12d6f +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.su_schedule_event_loc + - paragraphs.paragraphs_type.schedule_event + module: + - allowed_formats + - text +third_party_settings: + allowed_formats: + stanford_html: stanford_html + stanford_minimal_html: stanford_minimal_html + plain_text: plain_text +id: paragraph.schedule_event.su_schedule_event_loc +field_name: su_schedule_event_loc +entity_type: paragraph +bundle: schedule_event +label: 'Event Location' +description: 'The event the location occurs' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: text_long diff --git a/modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule_event.su_schedule_event_start.yml b/modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule_event.su_schedule_event_start.yml new file mode 100644 index 0000000..c297b9e --- /dev/null +++ b/modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule_event.su_schedule_event_start.yml @@ -0,0 +1,21 @@ +uuid: 31f5a837-90e1-46e0-94b2-11617b11ea61 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.su_schedule_event_start + - paragraphs.paragraphs_type.schedule_event +id: paragraph.schedule_event.su_schedule_event_start +field_name: su_schedule_event_start +entity_type: paragraph +bundle: schedule_event +label: 'Start Time' +description: 'The time and date the event starts.' +required: false +translatable: false +default_value: + - + value: 1589388626 +default_value_callback: '' +settings: { } +field_type: timestamp diff --git a/modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_event_deck.yml b/modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_event_deck.yml new file mode 100644 index 0000000..13b1cab --- /dev/null +++ b/modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_event_deck.yml @@ -0,0 +1,19 @@ +uuid: e07176a8-f0cf-41ee-9754-5581a5a9a1c8 +langcode: en +status: true +dependencies: + module: + - paragraphs + - text +id: paragraph.su_schedule_event_deck +field_name: su_schedule_event_deck +entity_type: paragraph +type: text_long +settings: { } +module: text +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_event_end.yml b/modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_event_end.yml new file mode 100644 index 0000000..a3dad3d --- /dev/null +++ b/modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_event_end.yml @@ -0,0 +1,18 @@ +uuid: 34f8c758-328c-406a-a217-bea96b93d982 +langcode: en +status: true +dependencies: + module: + - paragraphs +id: paragraph.su_schedule_event_end +field_name: su_schedule_event_end +entity_type: paragraph +type: timestamp +settings: { } +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_event_head.yml b/modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_event_head.yml new file mode 100644 index 0000000..cd5eaa1 --- /dev/null +++ b/modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_event_head.yml @@ -0,0 +1,21 @@ +uuid: 8e2b2976-b422-4fa2-810b-120ce41b88d7 +langcode: en +status: true +dependencies: + module: + - paragraphs +id: paragraph.su_schedule_event_head +field_name: su_schedule_event_head +entity_type: paragraph +type: string +settings: + max_length: 255 + is_ascii: false + case_sensitive: false +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_event_loc.yml b/modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_event_loc.yml new file mode 100644 index 0000000..a3ec401 --- /dev/null +++ b/modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_event_loc.yml @@ -0,0 +1,19 @@ +uuid: 1652431a-2a0e-4a34-b14c-950e819b8d74 +langcode: en +status: true +dependencies: + module: + - paragraphs + - text +id: paragraph.su_schedule_event_loc +field_name: su_schedule_event_loc +entity_type: paragraph +type: text_long +settings: { } +module: text +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_event_start.yml b/modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_event_start.yml new file mode 100644 index 0000000..9489bf7 --- /dev/null +++ b/modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_event_start.yml @@ -0,0 +1,18 @@ +uuid: 4cf090df-696c-4310-a1e1-e2626077fce2 +langcode: en +status: true +dependencies: + module: + - paragraphs +id: paragraph.su_schedule_event_start +field_name: su_schedule_event_start +entity_type: paragraph +type: timestamp +settings: { } +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_events.yml b/modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_events.yml new file mode 100644 index 0000000..1166e5f --- /dev/null +++ b/modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_events.yml @@ -0,0 +1,20 @@ +uuid: f174314d-93d4-44a0-85f1-46d0767abb05 +langcode: en +status: true +dependencies: + module: + - entity_reference_revisions + - paragraphs +id: paragraph.su_schedule_events +field_name: su_schedule_events +entity_type: paragraph +type: entity_reference_revisions +settings: + target_type: paragraph +module: entity_reference_revisions +locked: false +cardinality: -1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/modules/soe_paragraph_schedule/config/install/paragraphs.paragraphs_type.schedule.yml b/modules/soe_paragraph_schedule/config/install/paragraphs.paragraphs_type.schedule.yml new file mode 100644 index 0000000..5213b32 --- /dev/null +++ b/modules/soe_paragraph_schedule/config/install/paragraphs.paragraphs_type.schedule.yml @@ -0,0 +1,10 @@ +uuid: 1553eba3-e24f-4ab5-9cf3-0eedfc36aecb +langcode: en +status: true +dependencies: { } +id: schedule +label: Schedule +icon_uuid: null +icon_default: null +description: 'A schedule of events' +behavior_plugins: { } diff --git a/modules/soe_paragraph_schedule/config/install/paragraphs.paragraphs_type.schedule_event.yml b/modules/soe_paragraph_schedule/config/install/paragraphs.paragraphs_type.schedule_event.yml new file mode 100644 index 0000000..b832a87 --- /dev/null +++ b/modules/soe_paragraph_schedule/config/install/paragraphs.paragraphs_type.schedule_event.yml @@ -0,0 +1,10 @@ +uuid: edc4ba85-158e-4aab-b017-31b1b697e0c6 +langcode: en +status: true +dependencies: { } +id: schedule_event +label: 'Schedule Event' +icon_uuid: null +icon_default: null +description: 'A single event in a schedule' +behavior_plugins: { } diff --git a/modules/soe_paragraph_schedule/soe_paragraph_schedule.info.yml b/modules/soe_paragraph_schedule/soe_paragraph_schedule.info.yml new file mode 100644 index 0000000..d415a02 --- /dev/null +++ b/modules/soe_paragraph_schedule/soe_paragraph_schedule.info.yml @@ -0,0 +1,12 @@ +name: 'Schedule Paragraph' +description: 'A paragraph type which holds events in a schedule' +type: module +core: 8.x +package: Stanford +dependencies: + - ds + - field + - paragraphs + - text + - soe_paragraphs +version: 8.x-1.0-dev diff --git a/modules/soe_paragraph_schedule/templates/schedule-paragraph.html.twig b/modules/soe_paragraph_schedule/templates/schedule-paragraph.html.twig new file mode 100644 index 0000000..e69de29 diff --git a/modules/soe_paragraph_schedule/templates/schedule-paragraph.ui_patterns.yml b/modules/soe_paragraph_schedule/templates/schedule-paragraph.ui_patterns.yml new file mode 100644 index 0000000..e69de29 From ecb559dfb1b8300ab9a1d3de0351010229b9528a Mon Sep 17 00:00:00 2001 From: Ian Monroe Date: Thu, 21 May 2020 15:07:09 -0600 Subject: [PATCH 07/40] wip --- dist/css/image-cta-paragraph.styles.css | 22 ++++++++-------- .../image-cta-paragraph.ui_patterns.yml | 25 +++++++++++++++++++ .../schedule-paragraph.ui_patterns.yml | 25 +++++++++++++++++++ 3 files changed, 61 insertions(+), 11 deletions(-) diff --git a/dist/css/image-cta-paragraph.styles.css b/dist/css/image-cta-paragraph.styles.css index 9cd3451..7825048 100644 --- a/dist/css/image-cta-paragraph.styles.css +++ b/dist/css/image-cta-paragraph.styles.css @@ -1,14 +1,14 @@ -@media only screen and (min-width: 0) { - .su-image-cta-paragraph { - padding-top: 4rem; } } - -@media only screen and (min-width: 768px) { - .su-image-cta-paragraph { - padding-top: 4.5rem; } } - -@media only screen and (min-width: 1500px) { - .su-image-cta-paragraph { - padding-top: 4.75rem; } } +.su-image-cta-paragraph { + background-color: red; } + @media only screen and (min-width: 0) { + .su-image-cta-paragraph { + padding-top: 4rem; } } + @media only screen and (min-width: 768px) { + .su-image-cta-paragraph { + padding-top: 4.5rem; } } + @media only screen and (min-width: 1500px) { + .su-image-cta-paragraph { + padding-top: 4.75rem; } } /*# sourceMappingURL=image-cta-paragraph.styles.css.map*/ \ No newline at end of file diff --git a/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.ui_patterns.yml b/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.ui_patterns.yml index e69de29..bbf3edb 100644 --- a/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.ui_patterns.yml +++ b/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.ui_patterns.yml @@ -0,0 +1,25 @@ +image-cta-paragraph: + label: Image CTA Paragraph + description: Image CTA Paragraph + variants: + default: + label: Default + Description: "Default" + fields: + header: + type: text + label: "Header" + description: "The headline text for the paragraph" + deck: + type: text + label: "Deck" + description: "The body text for the paragraph" + links: + type: text + label: "One or more hyperlinks" + use: "@soe_paragraph_image_cta/image-cta-paragraph.html.twig" + libraries: + - image-cat-paragraph: + css: + component: + ../../../dist/css/image-cta-paragraph.styles.css: {} diff --git a/modules/soe_paragraph_schedule/templates/schedule-paragraph.ui_patterns.yml b/modules/soe_paragraph_schedule/templates/schedule-paragraph.ui_patterns.yml index e69de29..3a522f1 100644 --- a/modules/soe_paragraph_schedule/templates/schedule-paragraph.ui_patterns.yml +++ b/modules/soe_paragraph_schedule/templates/schedule-paragraph.ui_patterns.yml @@ -0,0 +1,25 @@ +schedule-paragraph: + label: Schedule Paragraph + description: Schedule Paragraph + variants: + default: + label: Default + Description: "Default" + fields: + header: + type: text + label: "Header" + description: "The headline text for the paragraph" + deck: + type: text + label: "Deck" + description: "The body text for the paragraph" + links: + type: text + label: "One or more hyperlinks" + use: "@soe_paragraph_schedule/schedule-paragraph.html.twig" + libraries: + - schedule-paragraph: + css: + component: + ../../../dist/css/schedule-paragraph.styles.css: {} From a2afbf87ba4450428df2af666c124cf266d65097 Mon Sep 17 00:00:00 2001 From: Ian Monroe Date: Wed, 27 May 2020 10:15:04 -0600 Subject: [PATCH 08/40] wip --- .../templates/image-cta-paragraph.html.twig | 51 ++++++++++--------- .../image-cta-paragraph.ui_patterns.yml | 15 +++--- 2 files changed, 32 insertions(+), 34 deletions(-) diff --git a/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.html.twig b/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.html.twig index 2265ed0..d7f915c 100644 --- a/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.html.twig +++ b/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.html.twig @@ -1,25 +1,26 @@ -image-cta-paragraph: - label: Image CTA Paragraph - description: Image CTA Paragraph - variants: - minimal: - label: Minimal - Description: "Minimal" - fields: - header: - type: text - label: "Header" - description: "The headline text for the paragraph" - deck: - type: text - label: "Deck" - description: "The body text for the paragraph" - links: - type: text - label: "One or more hyperlinks" - use: "@soe_paragraph_image_cta/image-cat-paragraph.html.twig" - libraries: - - image-cta-paragraphy: - css: - component: - ../../../dist/css/image-cta-paragraph.styles.css: {} + +{# +/** + * @file + * Image CTA Paragraph + * + * Template for the Image CTA paragraph type. + * + * Available variables: + * + * {{ image }} + * {{ link }} + * + */ +#} + +{%- set attributes = attributes.addClass(['su-image-cta-paragraph', modifier_class]) -%} + + + {{ kint() }} + + {{ image }} + + {{ link }} + + diff --git a/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.ui_patterns.yml b/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.ui_patterns.yml index bbf3edb..e3863cc 100644 --- a/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.ui_patterns.yml +++ b/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.ui_patterns.yml @@ -6,17 +6,14 @@ image-cta-paragraph: label: Default Description: "Default" fields: - header: + image: type: text - label: "Header" - description: "The headline text for the paragraph" - deck: + label: "Image" + description: "The image to display for the Paragraph" + link: type: text - label: "Deck" - description: "The body text for the paragraph" - links: - type: text - label: "One or more hyperlinks" + label: "CTA Link" + description: "The link to display for the Paragraph" use: "@soe_paragraph_image_cta/image-cta-paragraph.html.twig" libraries: - image-cat-paragraph: From 188ad47aa6ace6ab25539911a00a91f5cb73c249 Mon Sep 17 00:00:00 2001 From: Ian Monroe Date: Wed, 27 May 2020 13:29:50 -0600 Subject: [PATCH 09/40] wip --- dist/css/cta-list-paragraph.styles.css | 180 ------------------ dist/css/image-cta-paragraph.styles.css | 70 ++++++- dist/css/soe_paragraphs.styles.css | 5 - dist/js/soe_paragraphs.script.js | 132 ------------- lib/scss/components/image-cta/_image_cta.scss | 47 ++++- .../templates/image-cta-paragraph.html.twig | 2 +- 6 files changed, 107 insertions(+), 329 deletions(-) delete mode 100644 dist/css/cta-list-paragraph.styles.css delete mode 100644 dist/css/soe_paragraphs.styles.css delete mode 100644 dist/js/soe_paragraphs.script.js diff --git a/dist/css/cta-list-paragraph.styles.css b/dist/css/cta-list-paragraph.styles.css deleted file mode 100644 index a0a48eb..0000000 --- a/dist/css/cta-list-paragraph.styles.css +++ /dev/null @@ -1,180 +0,0 @@ -.su-cta-list-paragraph { - background-color: #eee; - border-top: 1px solid #d2d3d4; } - @media only screen and (min-width: 0) { - .su-cta-list-paragraph { - padding-top: 4rem; } } - @media only screen and (min-width: 768px) { - .su-cta-list-paragraph { - padding-top: 4.5rem; } } - @media only screen and (min-width: 1500px) { - .su-cta-list-paragraph { - padding-top: 4.75rem; } } - @media only screen and (min-width: 0) { - .su-cta-list-paragraph { - padding-left: 3.2rem; } } - @media only screen and (min-width: 768px) { - .su-cta-list-paragraph { - padding-left: 3.6rem; } } - @media only screen and (min-width: 1500px) { - .su-cta-list-paragraph { - padding-left: 3.8rem; } } - @media only screen and (min-width: 0) { - .su-cta-list-paragraph { - padding-right: 3.2rem; } } - @media only screen and (min-width: 768px) { - .su-cta-list-paragraph { - padding-right: 3.6rem; } } - @media only screen and (min-width: 1500px) { - .su-cta-list-paragraph { - padding-right: 3.8rem; } } - -@media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 0) { - .su-cta-list-paragraph { - padding-left: 1.6rem; } } - -@media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 768px) { - .su-cta-list-paragraph { - padding-left: 1.8rem; } } - -@media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 1500px) { - .su-cta-list-paragraph { - padding-left: 1.9rem; } } - -@media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 0) { - .su-cta-list-paragraph { - padding-right: 1.6rem; } } - -@media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 768px) { - .su-cta-list-paragraph { - padding-right: 1.8rem; } } - -@media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 1500px) { - .su-cta-list-paragraph { - padding-right: 1.9rem; } } - .su-cta-list-paragraph .su-cta-list-header { - font-size: 1.953125em; - letter-spacing: -0.016em; } - @media (max-width: 767px) { - .su-cta-list-paragraph .su-cta-list-header { - font-size: 1.66015625em; } } - @media only screen and (min-width: 0) { - .su-cta-list-paragraph .su-cta-list-header { - margin-bottom: 2.31rem; } } - @media only screen and (min-width: 768px) { - .su-cta-list-paragraph .su-cta-list-header { - margin-bottom: 2.6rem; } } - @media only screen and (min-width: 1500px) { - .su-cta-list-paragraph .su-cta-list-header { - margin-bottom: 2.74rem; } } - @media only screen and (min-width: 768px) { - .su-cta-list-paragraph .su-cta-list-deck { - font-size: 2.1rem; - line-height: 1.7; } } - @media only screen and (min-width: 0) { - .su-cta-list-paragraph .su-cta-list-deck { - margin-bottom: 4rem; } } - @media only screen and (min-width: 768px) { - .su-cta-list-paragraph .su-cta-list-deck { - margin-bottom: 4.5rem; } } - @media only screen and (min-width: 1500px) { - .su-cta-list-paragraph .su-cta-list-deck { - margin-bottom: 4.75rem; } } - .su-cta-list-paragraph .su-cta-list--links { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - width: 100%; } - @media only screen and (min-width: 0) { - .su-cta-list-paragraph .su-cta-list--links { - padding-bottom: 9.6rem; } } - @media only screen and (min-width: 768px) { - .su-cta-list-paragraph .su-cta-list--links { - padding-bottom: 10.8rem; } } - @media only screen and (min-width: 1500px) { - .su-cta-list-paragraph .su-cta-list--links { - padding-bottom: 11.4rem; } } - @media only screen and (min-width: 0) and (max-width: 575px) { - .su-cta-list-paragraph .su-cta-list--links { - display: block; - width: 100%; } } - .su-cta-list-paragraph .su-cta-list--links .su-link--action { - display: block; - width: 100%; } - @media only screen and (min-width: 0) { - .su-cta-list-paragraph .su-cta-list--links .su-link--action { - margin-bottom: 2.31rem; } } - @media only screen and (min-width: 768px) { - .su-cta-list-paragraph .su-cta-list--links .su-link--action { - margin-bottom: 2.6rem; } } - @media only screen and (min-width: 1500px) { - .su-cta-list-paragraph .su-cta-list--links .su-link--action { - margin-bottom: 2.74rem; } } - .su-cta-list-paragraph .su-cta-list--links .col-1 { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; } - @media only screen and (min-width: 0) { - .su-cta-list-paragraph .su-cta-list--links .col-1 { - margin-right: 2.31rem; } } - @media only screen and (min-width: 768px) { - .su-cta-list-paragraph .su-cta-list--links .col-1 { - margin-right: 2.6rem; } } - @media only screen and (min-width: 1500px) { - .su-cta-list-paragraph .su-cta-list--links .col-1 { - margin-right: 2.74rem; } } - .su-cta-list-paragraph .su-cta-list--links .col-1 a { - color: #b1040e; } - @media only screen and (min-width: 0) and (max-width: 575px) { - .su-cta-list-paragraph .su-cta-list--links .col-1 { - display: block; - width: 100%; } } - .su-cta-list-paragraph .su-cta-list--links .col-2 { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; } - @media only screen and (min-width: 0) { - .su-cta-list-paragraph .su-cta-list--links .col-2 { - margin-right: 11.2rem; } } - @media only screen and (min-width: 768px) { - .su-cta-list-paragraph .su-cta-list--links .col-2 { - margin-right: 12.6rem; } } - @media only screen and (min-width: 1500px) { - .su-cta-list-paragraph .su-cta-list--links .col-2 { - margin-right: 13.3rem; } } - .su-cta-list-paragraph .su-cta-list--links .col-2 a { - color: #b1040e; } - @media only screen and (min-width: 0) and (max-width: 575px) { - .su-cta-list-paragraph .su-cta-list--links .col-2 { - display: block; - width: 100%; } } - @media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 0) { - .su-cta-list-paragraph .su-cta-list--links .col-2 { - margin-right: 2.31rem; } } - @media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 768px) { - .su-cta-list-paragraph .su-cta-list--links .col-2 { - margin-right: 2.6rem; } } - @media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 1500px) { - .su-cta-list-paragraph .su-cta-list--links .col-2 { - margin-right: 2.74rem; } } - - -/*# sourceMappingURL=cta-list-paragraph.styles.css.map*/ \ No newline at end of file diff --git a/dist/css/image-cta-paragraph.styles.css b/dist/css/image-cta-paragraph.styles.css index 7825048..894aaa6 100644 --- a/dist/css/image-cta-paragraph.styles.css +++ b/dist/css/image-cta-paragraph.styles.css @@ -1,14 +1,68 @@ -.su-image-cta-paragraph { - background-color: red; } +@media (max-width: 767px) { + .ptype-image-cta { + margin-bottom: 0rem !important; } } + +@media only screen and (min-width: 0) { + .ptype-image-cta .field-media-image { + margin-bottom: 2.31rem; } } + +@media only screen and (min-width: 768px) { + .ptype-image-cta .field-media-image { + margin-bottom: 2.6rem; } } + +@media only screen and (min-width: 1500px) { + .ptype-image-cta .field-media-image { + margin-bottom: 2.74rem; } } + +@media (max-width: 767px) { + .ptype-image-cta .field-media-image { + display: none; } } + +.ptype-image-cta .link { + color: #b1040e; } @media only screen and (min-width: 0) { - .su-image-cta-paragraph { - padding-top: 4rem; } } + .ptype-image-cta .link { + margin-bottom: 9.6rem; } } @media only screen and (min-width: 768px) { - .su-image-cta-paragraph { - padding-top: 4.5rem; } } + .ptype-image-cta .link { + margin-bottom: 10.8rem; } } @media only screen and (min-width: 1500px) { - .su-image-cta-paragraph { - padding-top: 4.75rem; } } + .ptype-image-cta .link { + margin-bottom: 11.4rem; } } + .ptype-image-cta .link a { + color: #b1040e; } + .ptype-image-cta .link:after { + background-color: #b1040e; } + .ptype-image-cta .link:after:hover { + background-color: #b1040e; } + .ptype-image-cta .link:after:focus { + background-color: #b1040e; } + .ptype-image-cta .link:after:active { + background-color: #b1040e; } + +@media only screen and (min-width: 768px) and (max-width: 1199px) and (min-width: 0) { + .ptype-image-cta .link { + margin-bottom: 8rem; } } + +@media only screen and (min-width: 768px) and (max-width: 1199px) and (min-width: 768px) { + .ptype-image-cta .link { + margin-bottom: 9rem; } } + +@media only screen and (min-width: 768px) and (max-width: 1199px) and (min-width: 1500px) { + .ptype-image-cta .link { + margin-bottom: 9.5rem; } } + +@media only screen and (max-width: 767px) and (min-width: 0) { + .ptype-image-cta .link { + margin-bottom: 1.6rem; } } + +@media only screen and (max-width: 767px) and (min-width: 768px) { + .ptype-image-cta .link { + margin-bottom: 1.8rem; } } + +@media only screen and (max-width: 767px) and (min-width: 1500px) { + .ptype-image-cta .link { + margin-bottom: 1.9rem; } } /*# sourceMappingURL=image-cta-paragraph.styles.css.map*/ \ No newline at end of file diff --git a/dist/css/soe_paragraphs.styles.css b/dist/css/soe_paragraphs.styles.css deleted file mode 100644 index 9f12fe1..0000000 --- a/dist/css/soe_paragraphs.styles.css +++ /dev/null @@ -1,5 +0,0 @@ -stanford { - color: #b1040e; } - - -/*# sourceMappingURL=soe_paragraphs.styles.css.map*/ \ No newline at end of file diff --git a/dist/js/soe_paragraphs.script.js b/dist/js/soe_paragraphs.script.js deleted file mode 100644 index ae5fdb3..0000000 --- a/dist/js/soe_paragraphs.script.js +++ /dev/null @@ -1,132 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./lib/js/soe_paragraphs.js"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./lib/js/soe_paragraphs.behavior.js": -/*!*******************************************!*\ - !*** ./lib/js/soe_paragraphs.behavior.js ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -/** - * Behavior Example that works with Webpack. - * - * @see: https://www.npmjs.com/package/drupal-behaviors-loader - * - * Webpack wraps everything in enclosures and hides the global variables from - * scripts so special handling is needed. - */ -window.Drupal.behaviors.soe_paragraphs = { - // Attach Drupal Behavior. - attach: function attach(context, settings) {// console.log("Attached."); - }, - // Detach Example. - detach: function detach() {// console.log("Detached."); - } -}; - -/***/ }), - -/***/ "./lib/js/soe_paragraphs.js": -/*!**********************************!*\ - !*** ./lib/js/soe_paragraphs.js ***! - \**********************************/ -/*! no exports provided */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var _soe_paragraphs_behavior_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./soe_paragraphs.behavior.js */ "./lib/js/soe_paragraphs.behavior.js"); -/* harmony import */ var _soe_paragraphs_behavior_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_soe_paragraphs_behavior_js__WEBPACK_IMPORTED_MODULE_0__); -// Main Webpack entry file. - // Your code goes below. - -/***/ }) - -/******/ }); -//# sourceMappingURL=soe_paragraphs.script.js.map \ No newline at end of file diff --git a/lib/scss/components/image-cta/_image_cta.scss b/lib/scss/components/image-cta/_image_cta.scss index da7e3c7..1b31ede 100644 --- a/lib/scss/components/image-cta/_image_cta.scss +++ b/lib/scss/components/image-cta/_image_cta.scss @@ -1,6 +1,47 @@ -.su-image-cta-paragraph{ +.ptype-image-cta { - @include modular-spacing('padding-top', 3); - background-color: red; + @include grid-media-between('xs', 'sm'){ + margin-bottom: 0rem !important; + }; + + .field-media-image { + @include modular-spacing('margin-bottom', 1); + + @include grid-media-between('xs', 'sm'){ + display: none; + }; + } + + .link { + @include modular-spacing('margin-bottom', 7); + color: $su-color-bright-red; + + a { + color: $su-color-bright-red; + } + + &:after{ + background-color: $su-color-bright-red; + + &:hover { + background-color: $su-color-bright-red; + } + &:focus { + background-color: $su-color-bright-red; + } + &:active { + background-color: $su-color-bright-red; + } + } + + @include grid-media-between('md', 'lg'){ + @include modular-spacing('margin-bottom', 6); + }; + + @include grid-media-between('xs', 'sm'){ + @include modular-spacing('margin-bottom', 0); + }; + + } } diff --git a/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.html.twig b/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.html.twig index d7f915c..9675417 100644 --- a/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.html.twig +++ b/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.html.twig @@ -17,7 +17,7 @@ {%- set attributes = attributes.addClass(['su-image-cta-paragraph', modifier_class]) -%} - {{ kint() }} + {# kint() #} {{ image }} From 82724c6a40fc36fe359df49c526a9edffc0e2aa8 Mon Sep 17 00:00:00 2001 From: Ian Monroe Date: Thu, 4 Jun 2020 09:43:46 -0600 Subject: [PATCH 10/40] wip --- dist/css/cta-list-paragraph.styles.css | 195 ++++++++++++++++++++ dist/css/soe_paragraphs.styles.css | 5 + dist/js/soe_paragraphs.script.js | 132 +++++++++++++ lib/scss/components/cta-list/_cta-list.scss | 29 ++- 4 files changed, 360 insertions(+), 1 deletion(-) create mode 100644 dist/css/cta-list-paragraph.styles.css create mode 100644 dist/css/soe_paragraphs.styles.css create mode 100644 dist/js/soe_paragraphs.script.js diff --git a/dist/css/cta-list-paragraph.styles.css b/dist/css/cta-list-paragraph.styles.css new file mode 100644 index 0000000..8847fc2 --- /dev/null +++ b/dist/css/cta-list-paragraph.styles.css @@ -0,0 +1,195 @@ +.su-cta-list-paragraph { + border-top: 1px solid #d2d3d4; } + @media only screen and (min-width: 0) { + .su-cta-list-paragraph { + padding-top: 4rem; } } + @media only screen and (min-width: 768px) { + .su-cta-list-paragraph { + padding-top: 4.5rem; } } + @media only screen and (min-width: 1500px) { + .su-cta-list-paragraph { + padding-top: 4.75rem; } } + @media only screen and (min-width: 0) { + .su-cta-list-paragraph { + padding-left: 3.2rem; } } + @media only screen and (min-width: 768px) { + .su-cta-list-paragraph { + padding-left: 3.6rem; } } + @media only screen and (min-width: 1500px) { + .su-cta-list-paragraph { + padding-left: 3.8rem; } } + @media only screen and (min-width: 0) { + .su-cta-list-paragraph { + padding-right: 3.2rem; } } + @media only screen and (min-width: 768px) { + .su-cta-list-paragraph { + padding-right: 3.6rem; } } + @media only screen and (min-width: 1500px) { + .su-cta-list-paragraph { + padding-right: 3.8rem; } } + +@media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 0) { + .su-cta-list-paragraph { + padding-left: 1.6rem; } } + +@media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 768px) { + .su-cta-list-paragraph { + padding-left: 1.8rem; } } + +@media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 1500px) { + .su-cta-list-paragraph { + padding-left: 1.9rem; } } + +@media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 0) { + .su-cta-list-paragraph { + padding-right: 1.6rem; } } + +@media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 768px) { + .su-cta-list-paragraph { + padding-right: 1.8rem; } } + +@media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 1500px) { + .su-cta-list-paragraph { + padding-right: 1.9rem; } } + .su-cta-list-paragraph .su-cta-list-header { + font-size: 1.953125em; + letter-spacing: -0.016em; } + @media (max-width: 767px) { + .su-cta-list-paragraph .su-cta-list-header { + font-size: 1.66015625em; } } + @media only screen and (min-width: 0) { + .su-cta-list-paragraph .su-cta-list-header { + margin-bottom: 2.31rem; } } + @media only screen and (min-width: 768px) { + .su-cta-list-paragraph .su-cta-list-header { + margin-bottom: 2.6rem; } } + @media only screen and (min-width: 1500px) { + .su-cta-list-paragraph .su-cta-list-header { + margin-bottom: 2.74rem; } } + @media only screen and (min-width: 768px) { + .su-cta-list-paragraph .su-cta-list-deck { + font-size: 2.1rem; + line-height: 1.7; } } + @media only screen and (min-width: 0) { + .su-cta-list-paragraph .su-cta-list-deck { + margin-bottom: 4rem; } } + @media only screen and (min-width: 768px) { + .su-cta-list-paragraph .su-cta-list-deck { + margin-bottom: 4.5rem; } } + @media only screen and (min-width: 1500px) { + .su-cta-list-paragraph .su-cta-list-deck { + margin-bottom: 4.75rem; } } + .su-cta-list-paragraph .su-cta-list--links { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + width: 100%; } + @media only screen and (min-width: 0) { + .su-cta-list-paragraph .su-cta-list--links { + padding-bottom: 9.6rem; } } + @media only screen and (min-width: 768px) { + .su-cta-list-paragraph .su-cta-list--links { + padding-bottom: 10.8rem; } } + @media only screen and (min-width: 1500px) { + .su-cta-list-paragraph .su-cta-list--links { + padding-bottom: 11.4rem; } } + @media only screen and (min-width: 0) and (max-width: 575px) { + .su-cta-list-paragraph .su-cta-list--links { + display: block; + width: 100%; } } + .su-cta-list-paragraph .su-cta-list--links .su-link--action { + display: block; + width: 100%; } + @media only screen and (min-width: 0) { + .su-cta-list-paragraph .su-cta-list--links .su-link--action { + margin-bottom: 2.31rem; } } + @media only screen and (min-width: 768px) { + .su-cta-list-paragraph .su-cta-list--links .su-link--action { + margin-bottom: 2.6rem; } } + @media only screen and (min-width: 1500px) { + .su-cta-list-paragraph .su-cta-list--links .su-link--action { + margin-bottom: 2.74rem; } } + .su-cta-list-paragraph .su-cta-list--links .col-1 { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-flex: 1; + -ms-flex: 1; + flex: 1; } + @media only screen and (min-width: 0) { + .su-cta-list-paragraph .su-cta-list--links .col-1 { + margin-right: 2.31rem; } } + @media only screen and (min-width: 768px) { + .su-cta-list-paragraph .su-cta-list--links .col-1 { + margin-right: 2.6rem; } } + @media only screen and (min-width: 1500px) { + .su-cta-list-paragraph .su-cta-list--links .col-1 { + margin-right: 2.74rem; } } + .su-cta-list-paragraph .su-cta-list--links .col-1 a { + color: #b1040e; } + .su-cta-list-paragraph .su-cta-list--links .col-1 a:after { + background-color: #b1040e; } + .su-cta-list-paragraph .su-cta-list--links .col-1 a:after:hover { + background-color: #b1040e; } + .su-cta-list-paragraph .su-cta-list--links .col-1 a:after:focus { + background-color: #b1040e; } + .su-cta-list-paragraph .su-cta-list--links .col-1 a:after:active { + background-color: #b1040e; } + @media only screen and (min-width: 0) and (max-width: 575px) { + .su-cta-list-paragraph .su-cta-list--links .col-1 { + display: block; + width: 100%; } } + .su-cta-list-paragraph .su-cta-list--links .col-2 { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-flex: 1; + -ms-flex: 1; + flex: 1; } + @media only screen and (min-width: 0) { + .su-cta-list-paragraph .su-cta-list--links .col-2 { + margin-right: 11.2rem; } } + @media only screen and (min-width: 768px) { + .su-cta-list-paragraph .su-cta-list--links .col-2 { + margin-right: 12.6rem; } } + @media only screen and (min-width: 1500px) { + .su-cta-list-paragraph .su-cta-list--links .col-2 { + margin-right: 13.3rem; } } + .su-cta-list-paragraph .su-cta-list--links .col-2 a { + color: #b1040e; } + .su-cta-list-paragraph .su-cta-list--links .col-2 a:after { + background-color: #b1040e; } + .su-cta-list-paragraph .su-cta-list--links .col-2 a:after:hover { + background-color: #b1040e; } + .su-cta-list-paragraph .su-cta-list--links .col-2 a:after:focus { + background-color: #b1040e; } + .su-cta-list-paragraph .su-cta-list--links .col-2 a:after:active { + background-color: #b1040e; } + @media only screen and (min-width: 0) and (max-width: 575px) { + .su-cta-list-paragraph .su-cta-list--links .col-2 { + display: block; + width: 100%; } } + @media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 0) { + .su-cta-list-paragraph .su-cta-list--links .col-2 { + margin-right: 2.31rem; } } + @media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 768px) { + .su-cta-list-paragraph .su-cta-list--links .col-2 { + margin-right: 2.6rem; } } + @media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 1500px) { + .su-cta-list-paragraph .su-cta-list--links .col-2 { + margin-right: 2.74rem; } } + + +/*# sourceMappingURL=cta-list-paragraph.styles.css.map*/ \ No newline at end of file diff --git a/dist/css/soe_paragraphs.styles.css b/dist/css/soe_paragraphs.styles.css new file mode 100644 index 0000000..9f12fe1 --- /dev/null +++ b/dist/css/soe_paragraphs.styles.css @@ -0,0 +1,5 @@ +stanford { + color: #b1040e; } + + +/*# sourceMappingURL=soe_paragraphs.styles.css.map*/ \ No newline at end of file diff --git a/dist/js/soe_paragraphs.script.js b/dist/js/soe_paragraphs.script.js new file mode 100644 index 0000000..ae5fdb3 --- /dev/null +++ b/dist/js/soe_paragraphs.script.js @@ -0,0 +1,132 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./lib/js/soe_paragraphs.js"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./lib/js/soe_paragraphs.behavior.js": +/*!*******************************************!*\ + !*** ./lib/js/soe_paragraphs.behavior.js ***! + \*******************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +/** + * Behavior Example that works with Webpack. + * + * @see: https://www.npmjs.com/package/drupal-behaviors-loader + * + * Webpack wraps everything in enclosures and hides the global variables from + * scripts so special handling is needed. + */ +window.Drupal.behaviors.soe_paragraphs = { + // Attach Drupal Behavior. + attach: function attach(context, settings) {// console.log("Attached."); + }, + // Detach Example. + detach: function detach() {// console.log("Detached."); + } +}; + +/***/ }), + +/***/ "./lib/js/soe_paragraphs.js": +/*!**********************************!*\ + !*** ./lib/js/soe_paragraphs.js ***! + \**********************************/ +/*! no exports provided */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _soe_paragraphs_behavior_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./soe_paragraphs.behavior.js */ "./lib/js/soe_paragraphs.behavior.js"); +/* harmony import */ var _soe_paragraphs_behavior_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_soe_paragraphs_behavior_js__WEBPACK_IMPORTED_MODULE_0__); +// Main Webpack entry file. + // Your code goes below. + +/***/ }) + +/******/ }); +//# sourceMappingURL=soe_paragraphs.script.js.map \ No newline at end of file diff --git a/lib/scss/components/cta-list/_cta-list.scss b/lib/scss/components/cta-list/_cta-list.scss index 5d05502..1c51f45 100644 --- a/lib/scss/components/cta-list/_cta-list.scss +++ b/lib/scss/components/cta-list/_cta-list.scss @@ -4,7 +4,6 @@ @include modular-spacing('padding-left', 2); @include modular-spacing('padding-right', 2); - background-color:#eee; border-top: 1px solid $su-color-cool-grey-25; @include grid-media-only('xs'){ @@ -47,6 +46,20 @@ a{ color: $su-color-bright-red; + + &:after{ + background-color: $su-color-bright-red; + + &:hover { + background-color: $su-color-bright-red; + } + &:focus { + background-color: $su-color-bright-red; + } + &:active { + background-color: $su-color-bright-red; + } + } } @include grid-media-only('xs'){ @@ -63,6 +76,20 @@ a{ color: $su-color-bright-red; + + &:after{ + background-color: $su-color-bright-red; + + &:hover { + background-color: $su-color-bright-red; + } + &:focus { + background-color: $su-color-bright-red; + } + &:active { + background-color: $su-color-bright-red; + } + } } @include grid-media-only('xs'){ From 9eeec4b6f4e00672c177cca5da85c39e14d2de8b Mon Sep 17 00:00:00 2001 From: Ian Monroe Date: Fri, 5 Jun 2020 08:59:17 -0600 Subject: [PATCH 11/40] CTA list and Image CTA working --- dist/css/cta-list-paragraph.styles.css | 21 ++++--- lib/scss/components/cta-list/_cta-list.scss | 5 +- ...orm_display.paragraph.cta_list.default.yml | 2 + ...iew_display.paragraph.cta_list.default.yml | 27 +++++++- ...ld.paragraph.cta_list.su_cta_list_deck.yml | 2 + ....paragraph.cta_list.su_cta_list_header.yml | 2 + ...d.paragraph.cta_list.su_cta_list_links.yml | 2 + ...eld.storage.paragraph.su_cta_list_deck.yml | 2 + ...d.storage.paragraph.su_cta_list_header.yml | 2 + ...ld.storage.paragraph.su_cta_list_links.yml | 2 + .../paragraphs.paragraphs_type.cta_list.yml | 2 + .../templates/cta-list-paragraph.html.twig | 19 ++++-- .../cta-list-paragraph.ui_patterns.yml | 3 +- ...rm_display.paragraph.image_cta.default.yml | 2 + ...ew_display.paragraph.image_cta.default.yml | 40 +++++++++--- ...paragraph.image_cta.su_image_cta_image.yml | 2 + ....paragraph.image_cta.su_image_cta_link.yml | 2 + ...d.storage.paragraph.su_image_cta_image.yml | 2 + ...ld.storage.paragraph.su_image_cta_link.yml | 2 + .../paragraphs.paragraphs_type.image_cta.yml | 2 + .../image-cta-paragraph.ui_patterns.yml | 20 +++++- ...orm_display.paragraph.schedule.default.yml | 34 ----------- ...splay.paragraph.schedule_event.default.yml | 57 ----------------- ...iew_display.paragraph.schedule.default.yml | 24 -------- ...splay.paragraph.schedule_event.default.yml | 61 ------------------- ....paragraph.schedule.su_schedule_events.yml | 61 ------------------- ....schedule_event.su_schedule_event_deck.yml | 27 -------- ...h.schedule_event.su_schedule_event_end.yml | 21 ------- ....schedule_event.su_schedule_event_head.yml | 19 ------ ...h.schedule_event.su_schedule_event_loc.yml | 27 -------- ...schedule_event.su_schedule_event_start.yml | 21 ------- ...orage.paragraph.su_schedule_event_deck.yml | 19 ------ ...torage.paragraph.su_schedule_event_end.yml | 18 ------ ...orage.paragraph.su_schedule_event_head.yml | 21 ------- ...torage.paragraph.su_schedule_event_loc.yml | 19 ------ ...rage.paragraph.su_schedule_event_start.yml | 18 ------ ...d.storage.paragraph.su_schedule_events.yml | 20 ------ .../paragraphs.paragraphs_type.schedule.yml | 10 --- ...agraphs.paragraphs_type.schedule_event.yml | 10 --- .../soe_paragraph_schedule.info.yml | 12 ---- .../templates/schedule-paragraph.html.twig | 0 .../schedule-paragraph.ui_patterns.yml | 25 -------- 42 files changed, 136 insertions(+), 551 deletions(-) delete mode 100644 modules/soe_paragraph_schedule/config/install/core.entity_form_display.paragraph.schedule.default.yml delete mode 100644 modules/soe_paragraph_schedule/config/install/core.entity_form_display.paragraph.schedule_event.default.yml delete mode 100644 modules/soe_paragraph_schedule/config/install/core.entity_view_display.paragraph.schedule.default.yml delete mode 100644 modules/soe_paragraph_schedule/config/install/core.entity_view_display.paragraph.schedule_event.default.yml delete mode 100644 modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule.su_schedule_events.yml delete mode 100644 modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule_event.su_schedule_event_deck.yml delete mode 100644 modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule_event.su_schedule_event_end.yml delete mode 100644 modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule_event.su_schedule_event_head.yml delete mode 100644 modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule_event.su_schedule_event_loc.yml delete mode 100644 modules/soe_paragraph_schedule/config/install/field.field.paragraph.schedule_event.su_schedule_event_start.yml delete mode 100644 modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_event_deck.yml delete mode 100644 modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_event_end.yml delete mode 100644 modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_event_head.yml delete mode 100644 modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_event_loc.yml delete mode 100644 modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_event_start.yml delete mode 100644 modules/soe_paragraph_schedule/config/install/field.storage.paragraph.su_schedule_events.yml delete mode 100644 modules/soe_paragraph_schedule/config/install/paragraphs.paragraphs_type.schedule.yml delete mode 100644 modules/soe_paragraph_schedule/config/install/paragraphs.paragraphs_type.schedule_event.yml delete mode 100644 modules/soe_paragraph_schedule/soe_paragraph_schedule.info.yml delete mode 100644 modules/soe_paragraph_schedule/templates/schedule-paragraph.html.twig delete mode 100644 modules/soe_paragraph_schedule/templates/schedule-paragraph.ui_patterns.yml diff --git a/dist/css/cta-list-paragraph.styles.css b/dist/css/cta-list-paragraph.styles.css index 8847fc2..5891bc2 100644 --- a/dist/css/cta-list-paragraph.styles.css +++ b/dist/css/cta-list-paragraph.styles.css @@ -177,19 +177,22 @@ background-color: #b1040e; } .su-cta-list-paragraph .su-cta-list--links .col-2 a:after:active { background-color: #b1040e; } + +@media only screen and (max-width: 991px) and (min-width: 0) { + .su-cta-list-paragraph .su-cta-list--links .col-2 { + margin-right: 2.31rem; } } + +@media only screen and (max-width: 991px) and (min-width: 768px) { + .su-cta-list-paragraph .su-cta-list--links .col-2 { + margin-right: 2.6rem; } } + +@media only screen and (max-width: 991px) and (min-width: 1500px) { + .su-cta-list-paragraph .su-cta-list--links .col-2 { + margin-right: 2.74rem; } } @media only screen and (min-width: 0) and (max-width: 575px) { .su-cta-list-paragraph .su-cta-list--links .col-2 { display: block; width: 100%; } } - @media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 0) { - .su-cta-list-paragraph .su-cta-list--links .col-2 { - margin-right: 2.31rem; } } - @media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 768px) { - .su-cta-list-paragraph .su-cta-list--links .col-2 { - margin-right: 2.6rem; } } - @media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 1500px) { - .su-cta-list-paragraph .su-cta-list--links .col-2 { - margin-right: 2.74rem; } } /*# sourceMappingURL=cta-list-paragraph.styles.css.map*/ \ No newline at end of file diff --git a/lib/scss/components/cta-list/_cta-list.scss b/lib/scss/components/cta-list/_cta-list.scss index 1c51f45..337e5df 100644 --- a/lib/scss/components/cta-list/_cta-list.scss +++ b/lib/scss/components/cta-list/_cta-list.scss @@ -92,10 +92,13 @@ } } + @include grid-media-between('xs', 'md'){ + @include modular-spacing('margin-right', 1); + } + @include grid-media-only('xs'){ display: block; width: 100%; - @include modular-spacing('margin-right', 1); }; } } diff --git a/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.cta_list.default.yml b/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.cta_list.default.yml index e0279fa..3711481 100644 --- a/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.cta_list.default.yml +++ b/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.cta_list.default.yml @@ -10,6 +10,8 @@ dependencies: module: - link - text +_core: + default_config_hash: cYI2m3MjkBX_Hsl4iQLTBXnNxlSYO5CPa0Ts4b_3ZTM id: paragraph.cta_list.default targetEntityType: paragraph bundle: cta_list diff --git a/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list.default.yml b/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list.default.yml index 05772fa..c739c4f 100644 --- a/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list.default.yml +++ b/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list.default.yml @@ -8,8 +8,29 @@ dependencies: - field.field.paragraph.cta_list.su_cta_list_links - paragraphs.paragraphs_type.cta_list module: + - ds - link - text +third_party_settings: + ds: + layout: + id: pattern_cta-list-paragraph + library: null + disable_css: false + entity_classes: all_classes + settings: + pattern: + field_templates: default + variant: default + regions: + header: + - su_cta_list_header + deck: + - su_cta_list_deck + links: + - su_cta_list_links +_core: + default_config_hash: H5URs120HzqlqumTNKdBAhvQmvrYyJ-G2TtWe1gtfp0 id: paragraph.cta_list.default targetEntityType: paragraph bundle: cta_list @@ -21,7 +42,7 @@ content: settings: { } third_party_settings: { } type: text_default - region: content + region: deck su_cta_list_header: weight: 0 label: hidden @@ -29,7 +50,7 @@ content: link_to_entity: false third_party_settings: { } type: string - region: content + region: header su_cta_list_links: weight: 2 label: hidden @@ -41,5 +62,5 @@ content: target: '' third_party_settings: { } type: link - region: content + region: links hidden: { } diff --git a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_deck.yml b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_deck.yml index 4b80f77..d8e0666 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_deck.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_deck.yml @@ -13,6 +13,8 @@ third_party_settings: stanford_html: stanford_html stanford_minimal_html: stanford_minimal_html plain_text: '0' +_core: + default_config_hash: 5LEPGoJ0WCGwr-_nO7VUJT1iOSFvG40DXhAWjC_hIHI id: paragraph.cta_list.su_cta_list_deck field_name: su_cta_list_deck entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_header.yml b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_header.yml index b1bc02b..785a459 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_header.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_header.yml @@ -5,6 +5,8 @@ dependencies: config: - field.storage.paragraph.su_cta_list_header - paragraphs.paragraphs_type.cta_list +_core: + default_config_hash: umR_LoZOcrIIoAouiG4P1ulcQ1o72zhXbeCaJo-0t9Q id: paragraph.cta_list.su_cta_list_header field_name: su_cta_list_header entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_links.yml b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_links.yml index f1d252e..b42aa8a 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_links.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_links.yml @@ -7,6 +7,8 @@ dependencies: - paragraphs.paragraphs_type.cta_list module: - link +_core: + default_config_hash: zsI2S3R-K4ja2z0Y72Gm0Vsil0gyLtmBS8fcniXXLuo id: paragraph.cta_list.su_cta_list_links field_name: su_cta_list_links entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_deck.yml b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_deck.yml index 826f950..ce9d10d 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_deck.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_deck.yml @@ -5,6 +5,8 @@ dependencies: module: - paragraphs - text +_core: + default_config_hash: cejMuVOLyZzpWTRXS78r5fwORNVg-1d2XdiJbCevAjk id: paragraph.su_cta_list_deck field_name: su_cta_list_deck entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_header.yml b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_header.yml index ba0863d..db843d2 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_header.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_header.yml @@ -4,6 +4,8 @@ status: true dependencies: module: - paragraphs +_core: + default_config_hash: 3OZOHteQY9VI_WYXCEdQk8a1PWrALSubn4S2fnju2LM id: paragraph.su_cta_list_header field_name: su_cta_list_header entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_links.yml b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_links.yml index ebd5d8a..043f683 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_links.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_links.yml @@ -5,6 +5,8 @@ dependencies: module: - link - paragraphs +_core: + default_config_hash: pRqX8994pwzz9zlhgi_uPI1RxFOrCazuXmKLAUa-JR4 id: paragraph.su_cta_list_links field_name: su_cta_list_links entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list.yml b/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list.yml index f3f743c..4c340d6 100644 --- a/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list.yml +++ b/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list.yml @@ -2,6 +2,8 @@ uuid: 720f8414-f928-430d-b01f-5691a02dcf56 langcode: en status: true dependencies: { } +_core: + default_config_hash: w0RdTG1ifpSPTPZRRZRK4Xb5o9b2M_PV4zdglnseRHQ id: cta_list label: 'CTA List' icon_uuid: null diff --git a/modules/soe_paragraph_cta_list/templates/cta-list-paragraph.html.twig b/modules/soe_paragraph_cta_list/templates/cta-list-paragraph.html.twig index 4e1e5ee..2a87fc2 100644 --- a/modules/soe_paragraph_cta_list/templates/cta-list-paragraph.html.twig +++ b/modules/soe_paragraph_cta_list/templates/cta-list-paragraph.html.twig @@ -42,24 +42,35 @@ diff --git a/modules/soe_paragraph_stories/templates/stories-paragraph.ui_patterns.yml b/modules/soe_paragraph_stories/templates/stories-paragraph.ui_patterns.yml index 4e3f080..d45f9fe 100644 --- a/modules/soe_paragraph_stories/templates/stories-paragraph.ui_patterns.yml +++ b/modules/soe_paragraph_stories/templates/stories-paragraph.ui_patterns.yml @@ -10,10 +10,18 @@ stories-paragraph: type: text label: "Image" description: "The image to display for the Paragraph" - link: + name: type: text - label: "CTA Link" - description: "The link to display for the Paragraph" + label: "Name" + description: "The name and title of the person" + quote: + type: text + label: "Quote" + description: "The quote to feature" + links: + type: text + label: "Links" + description: "The link to the full story, and optional CTA button" use: "@soe_paragraph_stories/stories-paragraph.html.twig" libraries: - stories-paragraph: From 5e64f5fa468916bd5aca6039dba4d0699b91438e Mon Sep 17 00:00:00 2001 From: Ian Monroe Date: Tue, 9 Jun 2020 15:02:23 -0600 Subject: [PATCH 14/40] D8CORE-1592: Working versions of image cta, cta list, and stories paragraphs --- dist/css/cta-list-paragraph.styles.css | 74 +++-- dist/css/image-cta-paragraph.styles.css | 74 +++-- dist/css/stories-paragraph.styles.css | 302 ++++++++++++++---- lib/scss/components/cta-list/_cta-list.scss | 15 +- lib/scss/components/image-cta/_image_cta.scss | 13 +- lib/scss/components/stories/_stories.scss | 116 ++++--- .../templates/cta-list-paragraph.html.twig | 51 +-- .../templates/stories-paragraph.html.twig | 26 +- .../stories-paragraph.ui_patterns.yml | 8 +- 9 files changed, 461 insertions(+), 218 deletions(-) diff --git a/dist/css/cta-list-paragraph.styles.css b/dist/css/cta-list-paragraph.styles.css index 5891bc2..de0b7e2 100644 --- a/dist/css/cta-list-paragraph.styles.css +++ b/dist/css/cta-list-paragraph.styles.css @@ -28,56 +28,56 @@ .su-cta-list-paragraph { padding-right: 3.8rem; } } -@media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 0) { +@media only screen and (max-width: 991px) and (min-width: 0) { .su-cta-list-paragraph { padding-left: 1.6rem; } } -@media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 768px) { +@media only screen and (max-width: 991px) and (min-width: 768px) { .su-cta-list-paragraph { padding-left: 1.8rem; } } -@media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 1500px) { +@media only screen and (max-width: 991px) and (min-width: 1500px) { .su-cta-list-paragraph { padding-left: 1.9rem; } } -@media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 0) { +@media only screen and (max-width: 991px) and (min-width: 0) { .su-cta-list-paragraph { padding-right: 1.6rem; } } -@media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 768px) { +@media only screen and (max-width: 991px) and (min-width: 768px) { .su-cta-list-paragraph { padding-right: 1.8rem; } } -@media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 1500px) { +@media only screen and (max-width: 991px) and (min-width: 1500px) { .su-cta-list-paragraph { padding-right: 1.9rem; } } - .su-cta-list-paragraph .su-cta-list-header { + .su-cta-list-paragraph .su-cta-list-paragraph--header { font-size: 1.953125em; letter-spacing: -0.016em; } @media (max-width: 767px) { - .su-cta-list-paragraph .su-cta-list-header { + .su-cta-list-paragraph .su-cta-list-paragraph--header { font-size: 1.66015625em; } } @media only screen and (min-width: 0) { - .su-cta-list-paragraph .su-cta-list-header { + .su-cta-list-paragraph .su-cta-list-paragraph--header { margin-bottom: 2.31rem; } } @media only screen and (min-width: 768px) { - .su-cta-list-paragraph .su-cta-list-header { + .su-cta-list-paragraph .su-cta-list-paragraph--header { margin-bottom: 2.6rem; } } @media only screen and (min-width: 1500px) { - .su-cta-list-paragraph .su-cta-list-header { + .su-cta-list-paragraph .su-cta-list-paragraph--header { margin-bottom: 2.74rem; } } @media only screen and (min-width: 768px) { - .su-cta-list-paragraph .su-cta-list-deck { + .su-cta-list-paragraph .su-cta-list-paragraph--description { font-size: 2.1rem; line-height: 1.7; } } @media only screen and (min-width: 0) { - .su-cta-list-paragraph .su-cta-list-deck { + .su-cta-list-paragraph .su-cta-list-paragraph--description { margin-bottom: 4rem; } } @media only screen and (min-width: 768px) { - .su-cta-list-paragraph .su-cta-list-deck { + .su-cta-list-paragraph .su-cta-list-paragraph--description { margin-bottom: 4.5rem; } } @media only screen and (min-width: 1500px) { - .su-cta-list-paragraph .su-cta-list-deck { + .su-cta-list-paragraph .su-cta-list-paragraph--description { margin-bottom: 4.75rem; } } .su-cta-list-paragraph .su-cta-list--links { display: -webkit-box; @@ -87,6 +87,8 @@ -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; + -ms-flex-wrap: wrap; + flex-wrap: wrap; width: 100%; } @media only screen and (min-width: 0) { .su-cta-list-paragraph .su-cta-list--links { @@ -101,6 +103,15 @@ .su-cta-list-paragraph .su-cta-list--links { display: block; width: 100%; } } + @media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 0) { + .su-cta-list-paragraph .su-cta-list--links { + padding-bottom: 2.31rem; } } + @media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 768px) { + .su-cta-list-paragraph .su-cta-list--links { + padding-bottom: 2.6rem; } } + @media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 1500px) { + .su-cta-list-paragraph .su-cta-list--links { + padding-bottom: 2.74rem; } } .su-cta-list-paragraph .su-cta-list--links .su-link--action { display: block; width: 100%; } @@ -123,7 +134,8 @@ flex-direction: column; -webkit-box-flex: 1; -ms-flex: 1; - flex: 1; } + flex: 1; + min-width: 200px; } @media only screen and (min-width: 0) { .su-cta-list-paragraph .su-cta-list--links .col-1 { margin-right: 2.31rem; } } @@ -160,13 +172,13 @@ flex: 1; } @media only screen and (min-width: 0) { .su-cta-list-paragraph .su-cta-list--links .col-2 { - margin-right: 11.2rem; } } + margin-right: 9.6rem; } } @media only screen and (min-width: 768px) { .su-cta-list-paragraph .su-cta-list--links .col-2 { - margin-right: 12.6rem; } } + margin-right: 10.8rem; } } @media only screen and (min-width: 1500px) { .su-cta-list-paragraph .su-cta-list--links .col-2 { - margin-right: 13.3rem; } } + margin-right: 11.4rem; } } .su-cta-list-paragraph .su-cta-list--links .col-2 a { color: #b1040e; } .su-cta-list-paragraph .su-cta-list--links .col-2 a:after { @@ -177,18 +189,18 @@ background-color: #b1040e; } .su-cta-list-paragraph .su-cta-list--links .col-2 a:after:active { background-color: #b1040e; } - -@media only screen and (max-width: 991px) and (min-width: 0) { - .su-cta-list-paragraph .su-cta-list--links .col-2 { - margin-right: 2.31rem; } } - -@media only screen and (max-width: 991px) and (min-width: 768px) { - .su-cta-list-paragraph .su-cta-list--links .col-2 { - margin-right: 2.6rem; } } - -@media only screen and (max-width: 991px) and (min-width: 1500px) { - .su-cta-list-paragraph .su-cta-list--links .col-2 { - margin-right: 2.74rem; } } + @media (max-width: 1199px) { + .su-cta-list-paragraph .su-cta-list--links .col-2 { + min-width: 150px; } } + @media only screen and (max-width: 1199px) and (min-width: 0) { + .su-cta-list-paragraph .su-cta-list--links .col-2 { + margin-right: 2.31rem; } } + @media only screen and (max-width: 1199px) and (min-width: 768px) { + .su-cta-list-paragraph .su-cta-list--links .col-2 { + margin-right: 2.6rem; } } + @media only screen and (max-width: 1199px) and (min-width: 1500px) { + .su-cta-list-paragraph .su-cta-list--links .col-2 { + margin-right: 2.74rem; } } @media only screen and (min-width: 0) and (max-width: 575px) { .su-cta-list-paragraph .su-cta-list--links .col-2 { display: block; diff --git a/dist/css/image-cta-paragraph.styles.css b/dist/css/image-cta-paragraph.styles.css index 894aaa6..743362d 100644 --- a/dist/css/image-cta-paragraph.styles.css +++ b/dist/css/image-cta-paragraph.styles.css @@ -1,67 +1,81 @@ @media (max-width: 767px) { .ptype-image-cta { - margin-bottom: 0rem !important; } } + margin-bottom: 0px !important; } } + +@media only screen and (max-width: 767px) and (min-width: 0) { + .su-image-cta-paragraph { + margin-bottom: 2.31rem; } } + +@media only screen and (max-width: 767px) and (min-width: 768px) { + .su-image-cta-paragraph { + margin-bottom: 2.6rem; } } + +@media only screen and (max-width: 767px) and (min-width: 1500px) { + .su-image-cta-paragraph { + margin-bottom: 2.74rem; } } @media only screen and (min-width: 0) { - .ptype-image-cta .field-media-image { + .su-image-cta-paragraph .su-image-cta-paragraph--image { margin-bottom: 2.31rem; } } @media only screen and (min-width: 768px) { - .ptype-image-cta .field-media-image { + .su-image-cta-paragraph .su-image-cta-paragraph--image { margin-bottom: 2.6rem; } } @media only screen and (min-width: 1500px) { - .ptype-image-cta .field-media-image { + .su-image-cta-paragraph .su-image-cta-paragraph--image { margin-bottom: 2.74rem; } } @media (max-width: 767px) { - .ptype-image-cta .field-media-image { + .su-image-cta-paragraph .su-image-cta-paragraph--image { display: none; } } -.ptype-image-cta .link { +@media only screen and (min-width: 0) { + .su-image-cta-paragraph .su-image-cta-paragraph--link { + margin-bottom: 9.6rem; } } + +@media only screen and (min-width: 768px) { + .su-image-cta-paragraph .su-image-cta-paragraph--link { + margin-bottom: 10.8rem; } } + +@media only screen and (min-width: 1500px) { + .su-image-cta-paragraph .su-image-cta-paragraph--link { + margin-bottom: 11.4rem; } } + +.su-image-cta-paragraph .su-image-cta-paragraph--link a { color: #b1040e; } - @media only screen and (min-width: 0) { - .ptype-image-cta .link { - margin-bottom: 9.6rem; } } - @media only screen and (min-width: 768px) { - .ptype-image-cta .link { - margin-bottom: 10.8rem; } } - @media only screen and (min-width: 1500px) { - .ptype-image-cta .link { - margin-bottom: 11.4rem; } } - .ptype-image-cta .link a { - color: #b1040e; } - .ptype-image-cta .link:after { + +.su-image-cta-paragraph .su-image-cta-paragraph--link:after { + background-color: #b1040e; } + .su-image-cta-paragraph .su-image-cta-paragraph--link:after:hover { + background-color: #b1040e; } + .su-image-cta-paragraph .su-image-cta-paragraph--link:after:focus { + background-color: #b1040e; } + .su-image-cta-paragraph .su-image-cta-paragraph--link:after:active { background-color: #b1040e; } - .ptype-image-cta .link:after:hover { - background-color: #b1040e; } - .ptype-image-cta .link:after:focus { - background-color: #b1040e; } - .ptype-image-cta .link:after:active { - background-color: #b1040e; } @media only screen and (min-width: 768px) and (max-width: 1199px) and (min-width: 0) { - .ptype-image-cta .link { + .su-image-cta-paragraph .su-image-cta-paragraph--link { margin-bottom: 8rem; } } @media only screen and (min-width: 768px) and (max-width: 1199px) and (min-width: 768px) { - .ptype-image-cta .link { + .su-image-cta-paragraph .su-image-cta-paragraph--link { margin-bottom: 9rem; } } @media only screen and (min-width: 768px) and (max-width: 1199px) and (min-width: 1500px) { - .ptype-image-cta .link { + .su-image-cta-paragraph .su-image-cta-paragraph--link { margin-bottom: 9.5rem; } } @media only screen and (max-width: 767px) and (min-width: 0) { - .ptype-image-cta .link { + .su-image-cta-paragraph .su-image-cta-paragraph--link { margin-bottom: 1.6rem; } } @media only screen and (max-width: 767px) and (min-width: 768px) { - .ptype-image-cta .link { + .su-image-cta-paragraph .su-image-cta-paragraph--link { margin-bottom: 1.8rem; } } @media only screen and (max-width: 767px) and (min-width: 1500px) { - .ptype-image-cta .link { + .su-image-cta-paragraph .su-image-cta-paragraph--link { margin-bottom: 1.9rem; } } diff --git a/dist/css/stories-paragraph.styles.css b/dist/css/stories-paragraph.styles.css index 08f0252..d2c04ac 100644 --- a/dist/css/stories-paragraph.styles.css +++ b/dist/css/stories-paragraph.styles.css @@ -1,96 +1,288 @@ -.su-stories-paragraph { - background-color: #eee; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; } +@media (max-width: 767px) { + .su-stories-paragraph .su-stories--grid-spacer { + display: none; } } + +.su-stories-paragraph .su-stories--card { + border: 1px solid #e3e3e3; + -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.13), 0px 3px 6px rgba(0, 0, 0, 0.1); + box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.13), 0px 3px 6px rgba(0, 0, 0, 0.1); + display: block; + background-color: #ffffff; } + @media only screen and (min-width: 0) and (max-width: 575px) { + .su-stories-paragraph .su-stories--card img, + .su-stories-paragraph .su-stories--card figure { + display: none; } } + .su-stories-paragraph .su-stories--card .su-card__contents { + font-family: "Source Sans Pro", "Helvetica Neue", "Helvetica", "Arial", sans-serif; } + @media only screen and (min-width: 0) { + .su-stories-paragraph .su-stories--card .su-card__contents { + padding: 3.2rem; } } + @media only screen and (min-width: 768px) { + .su-stories-paragraph .su-stories--card .su-card__contents { + padding: 3.6rem; } } + @media only screen and (min-width: 1500px) { + .su-stories-paragraph .su-stories--card .su-card__contents { + padding: 3.8rem; } } + .su-stories-paragraph .su-stories--card .su-card__contents p { + font-size: 1.8rem; + line-height: 1.3; } + @media (max-width: 767px) { + .su-stories-paragraph .su-stories--card .su-card__contents p { + font-size: 1.6rem; } } + .su-stories-paragraph .su-stories--card .su-card__contents > *:first-child { + padding-top: 0; + margin-top: -0.3em; } + .su-stories-paragraph .su-stories--card .su-card__contents > *:last-child:not(.su-card__button) { + padding-bottom: 0; + margin-bottom: 0; } + .su-stories-paragraph .su-stories--card .su-card__contents > span { + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + margin-top: 0; + clear: both; + font-weight: 700; + line-height: 1.2; + font-size: 0.9em; + display: block; } + @media only screen and (min-width: 0) { + .su-stories-paragraph .su-stories--card .su-card__contents > span { + margin-bottom: 0.53rem; } } + @media only screen and (min-width: 768px) { + .su-stories-paragraph .su-stories--card .su-card__contents > span { + margin-bottom: 0.6rem; } } + @media only screen and (min-width: 1500px) { + .su-stories-paragraph .su-stories--card .su-card__contents > span { + margin-bottom: 0.63rem; } } + .su-stories-paragraph .su-stories--card .su-card__contents > span a { + text-decoration: none; + font-weight: 700; } + .su-stories-paragraph .su-stories--card .su-card__contents > h2 { + font-size: 1.5625em; + letter-spacing: -0.012em; } + @media only screen and (min-width: 0) { + .su-stories-paragraph .su-stories--card .su-card__contents > h2 { + margin-bottom: 1.07rem; } } + @media only screen and (min-width: 768px) { + .su-stories-paragraph .su-stories--card .su-card__contents > h2 { + margin-bottom: 1.2rem; } } + @media only screen and (min-width: 1500px) { + .su-stories-paragraph .su-stories--card .su-card__contents > h2 { + margin-bottom: 1.27rem; } } + .su-stories-paragraph .su-stories--card .su-card__contents > h2 > a { + font-weight: 700; + -webkit-transition: color 0.3s ease-out; + transition: color 0.3s ease-out; } + .su-stories-paragraph .su-stories--card .su-card__contents > h2 > a:hover, .su-stories-paragraph .su-stories--card .su-card__contents > h2 > a:focus { + color: #b1040e; + text-decoration: underline; } + .su-stories-paragraph .su-stories--card .su-card__contents > div:not(.su-card__button) { + line-height: 1.4; } + .su-stories-paragraph .su-stories--card .su-card__contents > div:not(.su-card__button), + .su-stories-paragraph .su-stories--card .su-card__contents > p:last-of-type { + margin-bottom: 0; } + .su-stories-paragraph .su-stories--card .su-card__contents > .su-link--action:not(:first-child), + .su-stories-paragraph .su-stories--card .su-card__contents > a:not(:first-child) { + display: inline-block; } + @media only screen and (min-width: 0) { + .su-stories-paragraph .su-stories--card .su-card__contents > .su-link--action:not(:first-child), + .su-stories-paragraph .su-stories--card .su-card__contents > a:not(:first-child) { + margin-top: 1.07rem; } } + @media only screen and (min-width: 768px) { + .su-stories-paragraph .su-stories--card .su-card__contents > .su-link--action:not(:first-child), + .su-stories-paragraph .su-stories--card .su-card__contents > a:not(:first-child) { + margin-top: 1.2rem; } } + @media only screen and (min-width: 1500px) { + .su-stories-paragraph .su-stories--card .su-card__contents > .su-link--action:not(:first-child), + .su-stories-paragraph .su-stories--card .su-card__contents > a:not(:first-child) { + margin-top: 1.27rem; } } @media only screen and (min-width: 0) { - .su-stories-paragraph { - padding-top: 3.2rem; } } + .su-stories-paragraph .su-stories--card .su-card__button { + margin-top: 2.31rem; + margin-bottom: 0.53rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph { - padding-top: 3.6rem; } } + .su-stories-paragraph .su-stories--card .su-card__button { + margin-top: 2.6rem; + margin-bottom: 0.6rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph { - padding-top: 3.8rem; } } - .su-stories-paragraph .su-stories-photo { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; } + .su-stories-paragraph .su-stories--card .su-card__button { + margin-top: 2.74rem; + margin-bottom: 0.63rem; } } + @media only screen and (min-width: 0) and (max-width: 575px) { + .su-stories-paragraph .su-stories--card .su-card__button .su-button { + width: auto; } } + .su-stories-paragraph .su-stories--card a .su-media__wrapper img { + -webkit-transition: -webkit-transform 0.3s ease-in-out; + transition: -webkit-transform 0.3s ease-in-out; + transition: transform 0.3s ease-in-out; + transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out; } + .su-stories-paragraph .su-stories--card a:hover .su-media__wrapper img, .su-stories-paragraph .su-stories--card a:focus .su-media__wrapper img { + -webkit-transform: scale(1.03); + transform: scale(1.03); } + .su-stories-paragraph .su-stories--card .su-stories--content { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories-photo { + .su-stories-paragraph .su-stories--card .su-stories--content { padding: 3.2rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-photo { + .su-stories-paragraph .su-stories--card .su-stories--content { padding: 3.6rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories-photo { + .su-stories-paragraph .su-stories--card .su-stories--content { padding: 3.8rem; } } - .su-stories-paragraph .su-stories-photo img { - width: 290px; - height: 290px; - border-radius: 50%; - border: 6px black solid; - overflow: hidden; } - .su-stories-paragraph .su-stories--details { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; } - .su-stories-paragraph .su-stories-name { + @media (max-width: 767px) { + .su-stories-paragraph .su-stories--card .su-stories--content { + display: block; } } + @media only screen and (max-width: 767px) and (min-width: 0) { + .su-stories-paragraph .su-stories--card .su-stories--content { + padding-top: 1.6rem; } } + @media only screen and (max-width: 767px) and (min-width: 768px) { + .su-stories-paragraph .su-stories--card .su-stories--content { + padding-top: 1.8rem; } } + @media only screen and (max-width: 767px) and (min-width: 1500px) { + .su-stories-paragraph .su-stories--card .su-stories--content { + padding-top: 1.9rem; } } + .su-stories-paragraph .su-stories--card .su-stories-photo img { + width: 290px; + height: 290px; + min-width: 290px; + min-height: 290px; + border-radius: 50%; + border: 6px black solid; + overflow: hidden; } + @media only screen and (min-width: 0) { + .su-stories-paragraph .su-stories--card .su-stories-photo img { + margin-left: 3.2rem; } } + @media only screen and (min-width: 768px) { + .su-stories-paragraph .su-stories--card .su-stories-photo img { + margin-left: 3.6rem; } } + @media only screen and (min-width: 1500px) { + .su-stories-paragraph .su-stories--card .su-stories-photo img { + margin-left: 3.8rem; } } + @media only screen and (min-width: 0) { + .su-stories-paragraph .su-stories--card .su-stories-photo img { + margin-right: 6.4rem; } } + @media only screen and (min-width: 768px) { + .su-stories-paragraph .su-stories--card .su-stories-photo img { + margin-right: 7.2rem; } } + @media only screen and (min-width: 1500px) { + .su-stories-paragraph .su-stories--card .su-stories-photo img { + margin-right: 7.6rem; } } + @media (min-width: 768px) and (max-width: 1199px) { + .su-stories-paragraph .su-stories--card .su-stories-photo img { + width: 255px; + height: 255px; + min-width: 255px; + min-height: 255px; } } + @media (max-width: 767px) { + .su-stories-paragraph .su-stories--card .su-stories-photo img { + display: block; + margin-left: auto; + margin-right: auto; + padding: 0px; + width: 220px; + height: 220px; + min-width: 220px; + min-height: 220px; } } + @media only screen and (max-width: 767px) and (min-width: 0) { + .su-stories-paragraph .su-stories--card .su-stories-photo img { + margin-top: 3.2rem; } } + @media only screen and (max-width: 767px) and (min-width: 768px) { + .su-stories-paragraph .su-stories--card .su-stories-photo img { + margin-top: 3.6rem; } } + @media only screen and (max-width: 767px) and (min-width: 1500px) { + .su-stories-paragraph .su-stories--card .su-stories-photo img { + margin-top: 3.8rem; } } + @media only screen and (max-width: 767px) and (min-width: 0) { + .su-stories-paragraph .su-stories--card .su-stories-photo img { + margin-bottom: 3.2rem; } } + @media only screen and (max-width: 767px) and (min-width: 768px) { + .su-stories-paragraph .su-stories--card .su-stories-photo img { + margin-bottom: 3.6rem; } } + @media only screen and (max-width: 767px) and (min-width: 1500px) { + .su-stories-paragraph .su-stories--card .su-stories-photo img { + margin-bottom: 3.8rem; } } + @media (max-width: 767px) { + .su-stories-paragraph .su-stories--card .su-stories--details { + display: block; } } + .su-stories-paragraph .su-stories--card .su-stories-name { font-size: 1.953125em; letter-spacing: -0.016em; } @media (max-width: 767px) { - .su-stories-paragraph .su-stories-name { + .su-stories-paragraph .su-stories--card .su-stories-name { font-size: 1.66015625em; } } + @media only screen and (min-width: 0) { + .su-stories-paragraph .su-stories--card .su-stories-name { + margin-top: 1.6rem; } } + @media only screen and (min-width: 768px) { + .su-stories-paragraph .su-stories--card .su-stories-name { + margin-top: 1.8rem; } } + @media only screen and (min-width: 1500px) { + .su-stories-paragraph .su-stories--card .su-stories-name { + margin-top: 1.9rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-title { + .su-stories-paragraph .su-stories--card .su-stories-title { font-size: 2.1rem; line-height: 1.7; } } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories-title { + .su-stories-paragraph .su-stories--card .su-stories-title { margin-bottom: 1.6rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-title { + .su-stories-paragraph .su-stories--card .su-stories-title { margin-bottom: 1.8rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories-title { + .su-stories-paragraph .su-stories--card .su-stories-title { margin-bottom: 1.9rem; } } - .su-stories-paragraph .su-stories-quote { + .su-stories-paragraph .su-stories--card .su-stories-quote { font-size: 2.44140625em; letter-spacing: -0.016em; } @media (max-width: 767px) { - .su-stories-paragraph .su-stories-quote { + .su-stories-paragraph .su-stories--card .su-stories-quote { font-size: 2.0751953125em; } } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories-quote { + .su-stories-paragraph .su-stories--card .su-stories-quote { margin-bottom: 4rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-quote { + .su-stories-paragraph .su-stories--card .su-stories-quote { margin-bottom: 4.5rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories-quote { + .su-stories-paragraph .su-stories--card .su-stories-quote { margin-bottom: 4.75rem; } } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories-node-link { + .su-stories-paragraph .su-stories--card .su-stories-node-link { margin-bottom: 8rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-node-link { + .su-stories-paragraph .su-stories--card .su-stories-node-link { margin-bottom: 9rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories-node-link { + .su-stories-paragraph .su-stories--card .su-stories-node-link { margin-bottom: 9.5rem; } } - @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories-cta-link { - margin-bottom: 6.4rem; } } - @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-cta-link { - margin-bottom: 7.2rem; } } - @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories-cta-link { - margin-bottom: 7.6rem; } } + .su-stories-paragraph .su-stories--card .su-stories--cta { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; } + @media only screen and (min-width: 0) { + .su-stories-paragraph .su-stories--card .su-stories--cta { + padding-bottom: 6.4rem; } } + @media only screen and (min-width: 768px) { + .su-stories-paragraph .su-stories--card .su-stories--cta { + padding-bottom: 7.2rem; } } + @media only screen and (min-width: 1500px) { + .su-stories-paragraph .su-stories--card .su-stories--cta { + padding-bottom: 7.6rem; } } + .su-stories-paragraph .su-stories--card .su-stories--cta .su-stories-cta-link a { + color: #fff; } /*# sourceMappingURL=stories-paragraph.styles.css.map*/ \ No newline at end of file diff --git a/lib/scss/components/cta-list/_cta-list.scss b/lib/scss/components/cta-list/_cta-list.scss index 337e5df..45604fd 100644 --- a/lib/scss/components/cta-list/_cta-list.scss +++ b/lib/scss/components/cta-list/_cta-list.scss @@ -6,17 +6,17 @@ border-top: 1px solid $su-color-cool-grey-25; - @include grid-media-only('xs'){ + @include grid-media-between('xs', 'md'){ @include modular-spacing('padding-left', 0); @include modular-spacing('padding-right', 0); } - .su-cta-list-header { + .su-cta-list-paragraph--header { @include type-b; @include modular-spacing('margin-bottom', 1); } - .su-cta-list-deck { + .su-cta-list-paragraph--description{ @include big-paragraph; @include modular-spacing('margin-bottom', 3); } @@ -25,11 +25,13 @@ @include modular-spacing('padding-bottom', 7); display: flex; flex-direction: row; + flex-wrap: wrap; width: 100%; @include grid-media-only('xs'){ display: block; width: 100%; + @include modular-spacing('padding-bottom', 1); }; .su-link--action { @@ -43,6 +45,7 @@ display: flex; flex-direction: column; flex: 1; + min-width: 200px; a{ color: $su-color-bright-red; @@ -69,11 +72,12 @@ } .col-2{ - @include modular-spacing('margin-right', 8); + @include modular-spacing('margin-right', 7); display: flex; flex-direction: column; flex: 1; + a{ color: $su-color-bright-red; @@ -92,7 +96,8 @@ } } - @include grid-media-between('xs', 'md'){ + @include grid-media-between('xs', 'lg'){ + min-width: 150px; @include modular-spacing('margin-right', 1); } diff --git a/lib/scss/components/image-cta/_image_cta.scss b/lib/scss/components/image-cta/_image_cta.scss index 1b31ede..cd98eef 100644 --- a/lib/scss/components/image-cta/_image_cta.scss +++ b/lib/scss/components/image-cta/_image_cta.scss @@ -1,10 +1,16 @@ .ptype-image-cta { + @include grid-media-between('xs', 'sm'){ + margin-bottom: 0px !important; + }; +} + +.su-image-cta-paragraph { @include grid-media-between('xs', 'sm'){ - margin-bottom: 0rem !important; + @include modular-spacing('margin-bottom', 1); }; - .field-media-image { + .su-image-cta-paragraph--image { @include modular-spacing('margin-bottom', 1); @include grid-media-between('xs', 'sm'){ @@ -12,9 +18,8 @@ }; } - .link { + .su-image-cta-paragraph--link { @include modular-spacing('margin-bottom', 7); - color: $su-color-bright-red; a { color: $su-color-bright-red; diff --git a/lib/scss/components/stories/_stories.scss b/lib/scss/components/stories/_stories.scss index 75e08a4..5202138 100644 --- a/lib/scss/components/stories/_stories.scss +++ b/lib/scss/components/stories/_stories.scss @@ -1,54 +1,96 @@ .su-stories-paragraph{ - background-color: #eee; - @include modular-spacing('padding-top', 2); - - display: flex; - flex-direction: row; + .su-stories--grid-spacer{ + @include grid-media-between('xs', 'sm'){ + display: none; + }; + } - .su-stories-photo{ - @include modular-spacing('padding', 2); - flex: 1; - img { - width: 290px; - height: 290px; - border-radius: 50%; - border: 6px black solid; - overflow: hidden; + .su-stories--card{ + @include card(); + .su-stories--content{ + display: flex; + flex-direction: row; + justify-content: flex-start; + @include modular-spacing('padding', 2); + @include grid-media-between('xs', 'sm'){ + display: block; + @include modular-spacing('padding-top', 0); + }; } - } + .su-stories-photo{ - .su-stories--details { - flex: 1; - } - .su-stories-name{ - @include type-b; - } + img { + width: 290px; + height: 290px; + min-width: 290px; + min-height: 290px; + border-radius: 50%; + border: 6px black solid; + overflow: hidden; + @include modular-spacing('margin-left', 2); + @include modular-spacing('margin-right', 5); - .su-stories-title{ - @include big-paragraph; - @include modular-spacing('margin-bottom', 0); - } + @include grid-media-between('md', 'lg'){ + width: 255px; + height: 255px; + min-width: 255px; + min-height: 255px; + }; - .su-stories-quote{ - @include type-a; - @include modular-spacing('margin-bottom', 3); - } + @include grid-media-between('xs', 'sm'){ + display: block; + @include modular-spacing('margin-top', 2); + @include modular-spacing('margin-bottom', 2); + margin-left: auto; + margin-right: auto; + padding:0px; + width: 220px; + height: 220px; + min-width: 220px; + min-height: 220px; + }; + } + } - .su-stories-node-link{ - @include modular-spacing('margin-bottom', 6); - } + .su-stories--details { - .su-stories-cta-link{ - @include modular-spacing('margin-bottom', 5); - @include modular-spacing('padding', 0); - background-color: ; - } + @include grid-media-between('xs', 'sm'){ + display: block; + }; + } + .su-stories-name{ + @include type-b; + @include modular-spacing('margin-top', 0); + } + .su-stories-title{ + @include big-paragraph; + @include modular-spacing('margin-bottom', 0); + } + .su-stories-quote{ + @include type-a; + @include modular-spacing('margin-bottom', 3); + } + .su-stories-node-link{ + @include modular-spacing('margin-bottom', 6); + } + + .su-stories--cta{ + display: flex; + justify-content: center; + @include modular-spacing('padding-bottom', 5); + .su-stories-cta-link{ + a { + color: #fff; + } + } + } + } } diff --git a/modules/soe_paragraph_cta_list/templates/cta-list-paragraph.html.twig b/modules/soe_paragraph_cta_list/templates/cta-list-paragraph.html.twig index 2a87fc2..d44eea5 100644 --- a/modules/soe_paragraph_cta_list/templates/cta-list-paragraph.html.twig +++ b/modules/soe_paragraph_cta_list/templates/cta-list-paragraph.html.twig @@ -14,67 +14,34 @@ * */ #} - {%- set attributes = attributes.addClass(['su-cta-list-paragraph', modifier_class]) -%} {%- set link_count = links.su_cta_list_links['#items']|length -%} - {# We need to figure out how many links go in each column. #} - - -{% if link_count%2 == 0 %} +{%- if link_count%2 == 0 -%} {%- set col_1_link_count = link_count/2 -%} - {%- set col_2_link_count = link_count/2 -%} -{% else %} - {%- set col_1_link_count = (link_count/2)+1 -%} - {%- set col_2_link_count = link_count/2 -%} -{% endif %} - +{%- else -%} + {%- set col_1_link_count = ((link_count/2)-(1/2))+1 -%} +{%- endif -%} - {# kint(links.su_cta_list_links) #} - {{ header }} - -
- {{ deck }} -
- - + {{ deck }} - diff --git a/modules/soe_paragraph_stories/templates/stories-paragraph.html.twig b/modules/soe_paragraph_stories/templates/stories-paragraph.html.twig index 507b341..74d521d 100644 --- a/modules/soe_paragraph_stories/templates/stories-paragraph.html.twig +++ b/modules/soe_paragraph_stories/templates/stories-paragraph.html.twig @@ -10,7 +10,8 @@ * {{ image }} * {{ name }} * {{ quote }} - * {{ links }} + * {{ link }} + * {{ cta }} * {{ attributes }} * {{ variant }} * @@ -20,16 +21,17 @@ {%- set attributes = attributes.addClass(['su-stories-paragraph', modifier_class]) -%} - {{ kint(_context|keys) }} - - {{ image }} - -
- {{ name }} - - {{ quote }} - - {{ links }} +
+
+ {{ image }} +
+ {{ name }} + {{ quote }} + {{ link }} +
+
+
+ {{ cta }} +
-
diff --git a/modules/soe_paragraph_stories/templates/stories-paragraph.ui_patterns.yml b/modules/soe_paragraph_stories/templates/stories-paragraph.ui_patterns.yml index d45f9fe..cac65cc 100644 --- a/modules/soe_paragraph_stories/templates/stories-paragraph.ui_patterns.yml +++ b/modules/soe_paragraph_stories/templates/stories-paragraph.ui_patterns.yml @@ -18,10 +18,14 @@ stories-paragraph: type: text label: "Quote" description: "The quote to feature" - links: + link: type: text label: "Links" - description: "The link to the full story, and optional CTA button" + description: "The link to the full story" + cta: + type: text + label: "CTA" + description: "An optional CTA button" use: "@soe_paragraph_stories/stories-paragraph.html.twig" libraries: - stories-paragraph: From f491e95757784a7f2585c6129fb427aef4468918 Mon Sep 17 00:00:00 2001 From: Ian Monroe Date: Tue, 9 Jun 2020 15:57:23 -0600 Subject: [PATCH 15/40] D8CORE-1656: updating composer namespace --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 04f3656..b60b5bc 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "su-sws/soe_paragraphs", + "name": "su-soe/soe_paragraphs", "description": "SOE Paragraphs", "type": "drupal-custom-module", "homepage": "https://github.com/SU-SWS/soe_paragraphs", From fe46b51500f770fccc352840d682d14633a1451c Mon Sep 17 00:00:00 2001 From: Ian Monroe Date: Tue, 9 Jun 2020 18:04:12 -0600 Subject: [PATCH 16/40] Update composer.json --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 04f3656..1951636 100644 --- a/composer.json +++ b/composer.json @@ -1,8 +1,8 @@ { - "name": "su-sws/soe_paragraphs", + "name": "su-soe/soe_paragraphs", "description": "SOE Paragraphs", "type": "drupal-custom-module", - "homepage": "https://github.com/SU-SWS/soe_paragraphs", + "homepage": "https://github.com/SU-SOE/soe_paragraphs", "authors": [], "license": "GPL-2.0+", "minimum-stability": "dev", From 68a0e13c3a8b944c350849fc5a50a38c6b63cbce Mon Sep 17 00:00:00 2001 From: Ian Monroe Date: Wed, 10 Jun 2020 15:47:33 -0600 Subject: [PATCH 17/40] Correcting composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index b60b5bc..1951636 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "su-soe/soe_paragraphs", "description": "SOE Paragraphs", "type": "drupal-custom-module", - "homepage": "https://github.com/SU-SWS/soe_paragraphs", + "homepage": "https://github.com/SU-SOE/soe_paragraphs", "authors": [], "license": "GPL-2.0+", "minimum-stability": "dev", From 42475be5189f81e41ac67a368f5c3e2d9a1d0f9f Mon Sep 17 00:00:00 2001 From: Ian Monroe Date: Thu, 11 Jun 2020 18:45:16 -0600 Subject: [PATCH 18/40] D8CORE-000: finishing up initial configs --- ...orm_display.paragraph.cta_list.default.yml | 2 +- ...iew_display.paragraph.cta_list.default.yml | 23 +++++++++++++------ ...ld.paragraph.cta_list.su_cta_list_deck.yml | 2 +- ....paragraph.cta_list.su_cta_list_header.yml | 2 +- ...d.paragraph.cta_list.su_cta_list_links.yml | 2 +- ...eld.storage.paragraph.su_cta_list_deck.yml | 2 +- ...d.storage.paragraph.su_cta_list_header.yml | 2 +- ...ld.storage.paragraph.su_cta_list_links.yml | 2 +- .../paragraphs.paragraphs_type.cta_list.yml | 10 ++++---- ...rm_display.paragraph.image_cta.default.yml | 2 +- ...ew_display.paragraph.image_cta.default.yml | 6 ++--- ...paragraph.image_cta.su_image_cta_image.yml | 2 +- ....paragraph.image_cta.su_image_cta_link.yml | 2 +- ...d.storage.paragraph.su_image_cta_image.yml | 2 +- ...ld.storage.paragraph.su_image_cta_link.yml | 2 +- .../paragraphs.paragraphs_type.image_cta.yml | 10 ++++---- ..._display.paragraph.soe_stories.default.yml | 13 ++++++----- 17 files changed, 50 insertions(+), 36 deletions(-) diff --git a/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.cta_list.default.yml b/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.cta_list.default.yml index 3711481..05e3c37 100644 --- a/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.cta_list.default.yml +++ b/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.cta_list.default.yml @@ -11,7 +11,7 @@ dependencies: - link - text _core: - default_config_hash: cYI2m3MjkBX_Hsl4iQLTBXnNxlSYO5CPa0Ts4b_3ZTM + default_config_hash: mpkYLQiF3YOEyv3YucHgRTJ2GnVHarLmHH_RxLMUB-Q id: paragraph.cta_list.default targetEntityType: paragraph bundle: cta_list diff --git a/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list.default.yml b/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list.default.yml index c739c4f..11a600a 100644 --- a/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list.default.yml +++ b/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list.default.yml @@ -9,6 +9,7 @@ dependencies: - paragraphs.paragraphs_type.cta_list module: - ds + - field_formatter_class - link - text third_party_settings: @@ -17,7 +18,7 @@ third_party_settings: id: pattern_cta-list-paragraph library: null disable_css: false - entity_classes: all_classes + entity_classes: no_classes settings: pattern: field_templates: default @@ -30,7 +31,7 @@ third_party_settings: links: - su_cta_list_links _core: - default_config_hash: H5URs120HzqlqumTNKdBAhvQmvrYyJ-G2TtWe1gtfp0 + default_config_hash: PLmkh9jzI6OU7Zi057Qf3WyUwD-vIVaEe0MnzqBfDms id: paragraph.cta_list.default targetEntityType: paragraph bundle: cta_list @@ -40,7 +41,9 @@ content: weight: 1 label: hidden settings: { } - third_party_settings: { } + third_party_settings: + field_formatter_class: + class: su-cta-list-paragraph--description type: text_default region: deck su_cta_list_header: @@ -48,7 +51,9 @@ content: label: hidden settings: link_to_entity: false - third_party_settings: { } + third_party_settings: + field_formatter_class: + class: su-cta-list-paragraph--header type: string region: header su_cta_list_links: @@ -58,9 +63,13 @@ content: trim_length: 80 url_only: false url_plain: false - rel: '' - target: '' - third_party_settings: { } + rel: '0' + target: '0' + third_party_settings: + field_formatter_class: + class: 'su-cta-list-paragraph--links su-link--action' + ds: + ds_limit: '' type: link region: links hidden: { } diff --git a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_deck.yml b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_deck.yml index d8e0666..825bea1 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_deck.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_deck.yml @@ -14,7 +14,7 @@ third_party_settings: stanford_minimal_html: stanford_minimal_html plain_text: '0' _core: - default_config_hash: 5LEPGoJ0WCGwr-_nO7VUJT1iOSFvG40DXhAWjC_hIHI + default_config_hash: p9Bf_-CWTOBDMXcTqVL7qhX5kx25z9_Ty1wYg4KbWWo id: paragraph.cta_list.su_cta_list_deck field_name: su_cta_list_deck entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_header.yml b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_header.yml index 785a459..7f191aa 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_header.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_header.yml @@ -6,7 +6,7 @@ dependencies: - field.storage.paragraph.su_cta_list_header - paragraphs.paragraphs_type.cta_list _core: - default_config_hash: umR_LoZOcrIIoAouiG4P1ulcQ1o72zhXbeCaJo-0t9Q + default_config_hash: Rr4fnDHW1aIu8zLU0wQyXR3iT03Qw7xSUgnI67sjb2o id: paragraph.cta_list.su_cta_list_header field_name: su_cta_list_header entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_links.yml b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_links.yml index b42aa8a..ea739be 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_links.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_links.yml @@ -8,7 +8,7 @@ dependencies: module: - link _core: - default_config_hash: zsI2S3R-K4ja2z0Y72Gm0Vsil0gyLtmBS8fcniXXLuo + default_config_hash: 1vOrSEFtzm6rA5mw96sEn8T05i9P-DPkYy99C6wecDk id: paragraph.cta_list.su_cta_list_links field_name: su_cta_list_links entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_deck.yml b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_deck.yml index ce9d10d..fd9b6ca 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_deck.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_deck.yml @@ -6,7 +6,7 @@ dependencies: - paragraphs - text _core: - default_config_hash: cejMuVOLyZzpWTRXS78r5fwORNVg-1d2XdiJbCevAjk + default_config_hash: gyhOj3z9nel3P1plyLM_otVsdpOKLOQgStN5X7eh6qk id: paragraph.su_cta_list_deck field_name: su_cta_list_deck entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_header.yml b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_header.yml index db843d2..9d359b0 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_header.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_header.yml @@ -5,7 +5,7 @@ dependencies: module: - paragraphs _core: - default_config_hash: 3OZOHteQY9VI_WYXCEdQk8a1PWrALSubn4S2fnju2LM + default_config_hash: 3hifLqiklAhlRVJD_Um0FX91G4o13vkQ47oPJPPFeYU id: paragraph.su_cta_list_header field_name: su_cta_list_header entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_links.yml b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_links.yml index 043f683..225da14 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_links.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_links.yml @@ -6,7 +6,7 @@ dependencies: - link - paragraphs _core: - default_config_hash: pRqX8994pwzz9zlhgi_uPI1RxFOrCazuXmKLAUa-JR4 + default_config_hash: I6pgQ7_zPiWO7gscVylgGncHeZoiyZQkE2TgtpJSKdM id: paragraph.su_cta_list_links field_name: su_cta_list_links entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list.yml b/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list.yml index 4c340d6..fe07bf3 100644 --- a/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list.yml +++ b/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list.yml @@ -1,12 +1,14 @@ uuid: 720f8414-f928-430d-b01f-5691a02dcf56 langcode: en status: true -dependencies: { } +dependencies: + content: + - 'file:file:c3718e90-6b13-40c4-961a-bb0a28f6ad1c' _core: - default_config_hash: w0RdTG1ifpSPTPZRRZRK4Xb5o9b2M_PV4zdglnseRHQ + default_config_hash: '-PxPJz2He0UqrQXYVGm9QVGMw9nrviZLOmcSPaE4_Bw' id: cta_list label: 'CTA List' -icon_uuid: null -icon_default: null +icon_uuid: c3718e90-6b13-40c4-961a-bb0a28f6ad1c +icon_default: 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAgEAkACQAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/wAARCADcAZADAREAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD+/igAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgD+Yr4wf8HLPw58HfEXxV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AoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAP/Z' description: 'A paragraph which provides a list of CTA links.' behavior_plugins: { } diff --git a/modules/soe_paragraph_image_cta/config/install/core.entity_form_display.paragraph.image_cta.default.yml b/modules/soe_paragraph_image_cta/config/install/core.entity_form_display.paragraph.image_cta.default.yml index 958ba9e..94518e9 100644 --- a/modules/soe_paragraph_image_cta/config/install/core.entity_form_display.paragraph.image_cta.default.yml +++ b/modules/soe_paragraph_image_cta/config/install/core.entity_form_display.paragraph.image_cta.default.yml @@ -10,7 +10,7 @@ dependencies: - link - media_library _core: - default_config_hash: eyySx7hWKQAddWUHTEH6HljT3ntrayYyW-yK7scjcBc + default_config_hash: WGy-emJw-zxlb0arGBdCooGabZhJsSA6nOJmJ0rboKw id: paragraph.image_cta.default targetEntityType: paragraph bundle: image_cta diff --git a/modules/soe_paragraph_image_cta/config/install/core.entity_view_display.paragraph.image_cta.default.yml b/modules/soe_paragraph_image_cta/config/install/core.entity_view_display.paragraph.image_cta.default.yml index 31e78d8..6c45a6c 100644 --- a/modules/soe_paragraph_image_cta/config/install/core.entity_view_display.paragraph.image_cta.default.yml +++ b/modules/soe_paragraph_image_cta/config/install/core.entity_view_display.paragraph.image_cta.default.yml @@ -28,7 +28,7 @@ third_party_settings: link: - su_image_cta_link _core: - default_config_hash: UrDCC9g7Uz_yKHyPIi91ZLRcO0GzLFw7_sVVz4aRHgw + default_config_hash: BpSjneacUWnuKWYre5UiKK7BeIDibO6xRBvmVWcsdIU id: paragraph.image_cta.default targetEntityType: paragraph bundle: image_cta @@ -44,7 +44,7 @@ content: link: false third_party_settings: field_formatter_class: - class: '' + class: su-image-cta-paragraph--image region: image su_image_cta_link: weight: 1 @@ -57,7 +57,7 @@ content: target: '0' third_party_settings: field_formatter_class: - class: 'su-link su-card__link su-link--action' + class: 'su-image-cta-paragraph--link su-link--action' type: link region: link hidden: { } diff --git a/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.image_cta.su_image_cta_image.yml b/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.image_cta.su_image_cta_image.yml index 922be72..5316df1 100644 --- a/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.image_cta.su_image_cta_image.yml +++ b/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.image_cta.su_image_cta_image.yml @@ -7,7 +7,7 @@ dependencies: - media.type.image - paragraphs.paragraphs_type.image_cta _core: - default_config_hash: MVqqnpMpk4Yi8IFrVyoHnrKWrxf4L_FN-Yyr49aI0y0 + default_config_hash: FSXP5Gc0Hcn7OmnHWRrT-TIjW_qhhdNT9DGBNi0ZxP8 id: paragraph.image_cta.su_image_cta_image field_name: su_image_cta_image entity_type: paragraph diff --git a/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.image_cta.su_image_cta_link.yml b/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.image_cta.su_image_cta_link.yml index c481c8b..9ff674b 100644 --- a/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.image_cta.su_image_cta_link.yml +++ b/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.image_cta.su_image_cta_link.yml @@ -8,7 +8,7 @@ dependencies: module: - link _core: - default_config_hash: 2z_z-U6nT6_gxW18jqQPs9d2A_zy0wE9WAutvQegIxw + default_config_hash: zKndToKcolk_vCqAIc1JNDMpQRlP0gR7NweS-N_Vtj8 id: paragraph.image_cta.su_image_cta_link field_name: su_image_cta_link entity_type: paragraph diff --git a/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.su_image_cta_image.yml b/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.su_image_cta_image.yml index ef533c9..737eee2 100644 --- a/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.su_image_cta_image.yml +++ b/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.su_image_cta_image.yml @@ -6,7 +6,7 @@ dependencies: - media - paragraphs _core: - default_config_hash: N4CroLxKNcGjN7dvoTwEdYyPGAV3-sL5tvN33Ajloz0 + default_config_hash: YRnvQ6yz4j3CohCFnKEeQyfP30eYppKEv8tMNBMgTeQ id: paragraph.su_image_cta_image field_name: su_image_cta_image entity_type: paragraph diff --git a/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.su_image_cta_link.yml b/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.su_image_cta_link.yml index 664f67f..b68cc06 100644 --- a/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.su_image_cta_link.yml +++ b/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.su_image_cta_link.yml @@ -6,7 +6,7 @@ dependencies: - link - paragraphs _core: - default_config_hash: PzDHnGmyVKPrUcx-Awl_WfD52wf-WObueKPhHv-2RAg + default_config_hash: Grayuth8KxguFlK1T8E6QjvJU6STrM2o4fSJqXfCwj4 id: paragraph.su_image_cta_link field_name: su_image_cta_link entity_type: paragraph diff --git a/modules/soe_paragraph_image_cta/config/install/paragraphs.paragraphs_type.image_cta.yml b/modules/soe_paragraph_image_cta/config/install/paragraphs.paragraphs_type.image_cta.yml index e03625e..45a0d03 100644 --- a/modules/soe_paragraph_image_cta/config/install/paragraphs.paragraphs_type.image_cta.yml +++ b/modules/soe_paragraph_image_cta/config/install/paragraphs.paragraphs_type.image_cta.yml @@ -1,12 +1,14 @@ uuid: 18119ae3-66fa-4c8f-b670-1ec7975e6744 langcode: en status: true -dependencies: { } +dependencies: + content: + - 'file:file:14078cff-fbb6-4169-910e-4a2120f908ae' _core: - default_config_hash: yRQYSu2j_VMw4uLQRf2O7Pk0DZ6UZzhhl4yGMPUTQx4 + default_config_hash: dlhEqvVrYnZ0RbiQMedBtwJBQ6NErvMrfLfwBmmDmxA id: image_cta label: 'Image CTA' -icon_uuid: null -icon_default: null +icon_uuid: 14078cff-fbb6-4169-910e-4a2120f908ae +icon_default: 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAgEAkACQAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/wAARCADcAZADARE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z9X6yLCgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKAP8n6vTOQKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgD/Qi/4Ie/8ouv2YPp8af/AFob4s1w1v4kvl/6Sjoh8K+f5s/V+siwoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgD/J+r0zkCgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoA/0Iv+CHv/KLr9mD6fGn/wBaG+LNcNb+JL5f+ko6IfCvn+bP1frIsKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoA/yfq9M5AoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKAP9CL/gh7/yi6/Zg+nxp/8AWhvizXDW/iS+X/pKOiHwr5/mz9X6yLCgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKAP8n6vTOQKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgD/Qi/4Ie/8ouv2YPp8af/AFob4s1w1v4kvl/6Sjoh8K+f5s/V+siwoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgD/J+r0zkCgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoA/0Iv+CHv/KLr9mD6fGn/wBaG+LNcNb+JL5f+ko6IfCvn+bP1frIsKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoA/yfq9M5AoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKAP9CL/gh7/yi6/Zg+nxp/8AWhvizXDW/iS+X/pKOiHwr5/mz9X6yLCgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKAP8n6vTOQKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgD/Qi/4Ie/8ouv2YPp8af/AFob4s1w1v4kvl/6Sjoh8K+f5s/V+siwoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgD/J+r0zkP7s/+IeX/AIJ6/wDPH43f+HMtv/mYri9vP+793/BOj2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7z+Tj/gpf8As8/D39lP9tr41/AP4VLra+AvAR+HP9gjxHqa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Y/uf+Tf/AGoey/vfh/wQ/wCIYfQv+jz9W/8ADB2f/wA+Cj6x/c/8m/8AtQ9l/e/D/gh/xDD6F/0efq3/AIYOz/8AnwUfWP7n/k3/ANqHsv734f8ABD/iGH0L/o8/Vv8Awwdn/wDPgo+sf3P/ACb/AO1D2X978P8AgntvwH/4Nvf2ffh9450rxX8ZvjV4w+OWh6LeW+oW/gO18Iaf8NvDusz20qSJZ+LLiDxH4w1nVdFk2t9p0/R9Q8N3FyfLjm1BrX7Ra3SliJNWjFR873+7RfqCprq7/K3+Z/RnYWFjpVjZaXpdlaabpmm2ltYadp1hbQ2djYWNnClvaWVlaW6R29raWtvHHBbW0EccMEMaRRIqKqjnNS3QAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAP/Z' description: 'A paragraph which provides an image with a CTA button beneath it.' behavior_plugins: { } diff --git a/modules/soe_paragraph_stories/config/install/core.entity_view_display.paragraph.soe_stories.default.yml b/modules/soe_paragraph_stories/config/install/core.entity_view_display.paragraph.soe_stories.default.yml index 075046d..5a5b1c2 100644 --- a/modules/soe_paragraph_stories/config/install/core.entity_view_display.paragraph.soe_stories.default.yml +++ b/modules/soe_paragraph_stories/config/install/core.entity_view_display.paragraph.soe_stories.default.yml @@ -35,8 +35,9 @@ third_party_settings: - su_stories_title quote: - su_stories_quote - links: + link: - su_stories_node_link + cta: - su_stories_cta_link id: paragraph.soe_stories.default targetEntityType: paragraph @@ -44,7 +45,9 @@ bundle: soe_stories mode: default content: su_stories_cta_link: + type: link weight: 5 + region: cta label: hidden settings: trim_length: 80 @@ -54,9 +57,7 @@ content: target: '0' third_party_settings: field_formatter_class: - class: su-stories-paragraph--cta-link - type: link - region: links + class: 'su-stories-paragraph--cta su-button' su_stories_name: weight: 1 label: hidden @@ -78,9 +79,9 @@ content: target: '0' third_party_settings: field_formatter_class: - class: su-stories-paragraph--story-link + class: 'su-stories-paragraph--story-link su-link--external' type: link - region: links + region: link su_stories_photo: type: entity_reference_entity_view weight: 0 From feb596410db99c35d6e784ea500a2f98463e8fa9 Mon Sep 17 00:00:00 2001 From: Sherakama Date: Thu, 11 Jun 2020 20:52:39 -0700 Subject: [PATCH 19/40] Update _cta-list.scss --- lib/scss/components/cta-list/_cta-list.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/scss/components/cta-list/_cta-list.scss b/lib/scss/components/cta-list/_cta-list.scss index 45604fd..cfcd930 100644 --- a/lib/scss/components/cta-list/_cta-list.scss +++ b/lib/scss/components/cta-list/_cta-list.scss @@ -1,3 +1,5 @@ +@charset "UTF-8"; + .su-cta-list-paragraph{ @include modular-spacing('padding-top', 3); @@ -107,5 +109,4 @@ }; } } - } From a73badc1bef67e57f8e1bfbc10cd136ddd3564d8 Mon Sep 17 00:00:00 2001 From: Sherakama Date: Thu, 11 Jun 2020 21:08:29 -0700 Subject: [PATCH 20/40] Update .codeclimate.yml --- .codeclimate.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.codeclimate.yml b/.codeclimate.yml index bbe78a1..b147e12 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -122,3 +122,4 @@ exclude_patterns: - "webpack.config.js" - "**.min.*" - "spec/" +- "dist" From 98544904f518ffc249986fe0a25eef781207a2aa Mon Sep 17 00:00:00 2001 From: Sherakama Date: Thu, 11 Jun 2020 21:12:29 -0700 Subject: [PATCH 21/40] Update soe_paragraphs.info.yml --- soe_paragraphs.info.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soe_paragraphs.info.yml b/soe_paragraphs.info.yml index c9c8277..a61bbf4 100644 --- a/soe_paragraphs.info.yml +++ b/soe_paragraphs.info.yml @@ -1,7 +1,7 @@ name: 'SOE Paragraphs' type: module description: 'Provides custom paragraph types for SOE' -core_version_requirement: ^8 || ^9 +core_version_requirement: ^8.8 || ^9 package: Stanford version: 8.x-1.0-dev dependencies: From b31ee6c13257139786df449e54d8953b8c801353 Mon Sep 17 00:00:00 2001 From: Sherakama Date: Thu, 11 Jun 2020 21:21:36 -0700 Subject: [PATCH 22/40] Update soe_paragraph_stories.info.yml --- modules/soe_paragraph_stories/soe_paragraph_stories.info.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/soe_paragraph_stories/soe_paragraph_stories.info.yml b/modules/soe_paragraph_stories/soe_paragraph_stories.info.yml index 09d37ba..ec08eb6 100644 --- a/modules/soe_paragraph_stories/soe_paragraph_stories.info.yml +++ b/modules/soe_paragraph_stories/soe_paragraph_stories.info.yml @@ -1,7 +1,7 @@ name: 'Stories Paragraph' description: 'A paragraph type to display a person to highlight' type: module -core: 8.x +core_version_requirement: ^8.8 || ^9 package: Stanford dependencies: - ds From 3b5f045b1a273edd8a1be58a850b19c7554ed411 Mon Sep 17 00:00:00 2001 From: Sherakama Date: Thu, 11 Jun 2020 21:22:24 -0700 Subject: [PATCH 23/40] Update soe_paragraph_cta_list.info.yml --- modules/soe_paragraph_cta_list/soe_paragraph_cta_list.info.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/soe_paragraph_cta_list/soe_paragraph_cta_list.info.yml b/modules/soe_paragraph_cta_list/soe_paragraph_cta_list.info.yml index f8f367f..dd88b88 100644 --- a/modules/soe_paragraph_cta_list/soe_paragraph_cta_list.info.yml +++ b/modules/soe_paragraph_cta_list/soe_paragraph_cta_list.info.yml @@ -1,7 +1,7 @@ name: 'CTA List Paragraph' description: 'A paragraph type which provides a list of text CTAs' type: module -core: 8.x +core_version_requirement: ^8.8 || ^9 package: Stanford dependencies: - ds From 589e3b9503f5cd6ce80eb1ab7a5abcbae6282f82 Mon Sep 17 00:00:00 2001 From: Sherakama Date: Thu, 11 Jun 2020 21:22:42 -0700 Subject: [PATCH 24/40] Update soe_paragraph_image_cta.info.yml --- .../soe_paragraph_image_cta/soe_paragraph_image_cta.info.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/soe_paragraph_image_cta/soe_paragraph_image_cta.info.yml b/modules/soe_paragraph_image_cta/soe_paragraph_image_cta.info.yml index 5b5a30f..436bd07 100644 --- a/modules/soe_paragraph_image_cta/soe_paragraph_image_cta.info.yml +++ b/modules/soe_paragraph_image_cta/soe_paragraph_image_cta.info.yml @@ -1,7 +1,7 @@ name: 'Image CTA Paragraph' description: 'A paragraph type which provides an image and CTA button' type: module -core: 8.x +core_version_requirement: ^8.8 || ^9 package: Stanford dependencies: - ds From 97065f2174baebbf84a097410e8abb15bccb506b Mon Sep 17 00:00:00 2001 From: Ian Monroe Date: Fri, 12 Jun 2020 07:54:20 -0600 Subject: [PATCH 25/40] Apply suggestions from code review Co-authored-by: Sherakama --- lib/scss/components/cta-list/_cta-list.scss | 5 +++-- lib/scss/components/cta-list/index.scss | 6 ++---- lib/scss/components/image-cta/_image_cta.scss | 3 +++ .../soe_paragraph_stories.info.yml | 10 +++++----- 4 files changed, 13 insertions(+), 11 deletions(-) diff --git a/lib/scss/components/cta-list/_cta-list.scss b/lib/scss/components/cta-list/_cta-list.scss index cfcd930..917cf20 100644 --- a/lib/scss/components/cta-list/_cta-list.scss +++ b/lib/scss/components/cta-list/_cta-list.scss @@ -1,6 +1,6 @@ @charset "UTF-8"; -.su-cta-list-paragraph{ +.su-cta-list-paragraph { @include modular-spacing('padding-top', 3); @include modular-spacing('padding-left', 2); @@ -8,7 +8,8 @@ border-top: 1px solid $su-color-cool-grey-25; - @include grid-media-between('xs', 'md'){ + @include grid-media-max('md') { + @include modular-spacing('padding-left', 0); @include modular-spacing('padding-right', 0); } diff --git a/lib/scss/components/cta-list/index.scss b/lib/scss/components/cta-list/index.scss index 2a1b6a6..b70f7eb 100644 --- a/lib/scss/components/cta-list/index.scss +++ b/lib/scss/components/cta-list/index.scss @@ -1,7 +1,5 @@ @charset 'UTF-8'; @import -'decanter/core/src/scss/decanter-no-markup', -'../../config.scss', -'cta-list.scss'; - +'../../config', +'cta-list'; diff --git a/lib/scss/components/image-cta/_image_cta.scss b/lib/scss/components/image-cta/_image_cta.scss index cd98eef..30eff89 100644 --- a/lib/scss/components/image-cta/_image_cta.scss +++ b/lib/scss/components/image-cta/_image_cta.scss @@ -1,4 +1,7 @@ +@charset 'UTF-8'; + .ptype-image-cta { + @include grid-media-between('xs', 'sm'){ margin-bottom: 0px !important; }; diff --git a/modules/soe_paragraph_stories/soe_paragraph_stories.info.yml b/modules/soe_paragraph_stories/soe_paragraph_stories.info.yml index ec08eb6..ee09d63 100644 --- a/modules/soe_paragraph_stories/soe_paragraph_stories.info.yml +++ b/modules/soe_paragraph_stories/soe_paragraph_stories.info.yml @@ -4,9 +4,9 @@ type: module core_version_requirement: ^8.8 || ^9 package: Stanford dependencies: - - ds - - field - - paragraphs - - text - - soe_paragraphs + - ds:ds + - drupal:field + - paragraphs:paragraphs + - drupal:text + - soe_paragraphs:soe_paragraphs version: 8.x-1.0-dev From b7f630029764dac92a4c9678d5a068f83fcc2572 Mon Sep 17 00:00:00 2001 From: Ian Monroe Date: Fri, 12 Jun 2020 10:22:49 -0600 Subject: [PATCH 26/40] D8CORE-000: SASS linting --- .sass-lint-fix.yml | 17 ++ dist/css/cta-list-paragraph.styles.css | 16 +- dist/css/image-cta-paragraph.styles.css | 10 +- dist/css/stories-paragraph.styles.css | 4 +- lib/scss/components/cta-list/_cta-list.scss | 194 ++++++------ lib/scss/components/image-cta/_image_cta.scss | 70 ++--- lib/scss/components/stories/_stories.scss | 156 +++++----- package-lock.json | 286 +++++++++++++++++- package.json | 6 +- 9 files changed, 530 insertions(+), 229 deletions(-) create mode 100644 .sass-lint-fix.yml diff --git a/.sass-lint-fix.yml b/.sass-lint-fix.yml new file mode 100644 index 0000000..c3c44ea --- /dev/null +++ b/.sass-lint-fix.yml @@ -0,0 +1,17 @@ +files: + include: "**/*.s+(a|c)ss" + ignore: + - vendor/**/*.scss + - node_modules/**/*.scss +syntax: + include: + - scss + - sass +resolvers: + empty-line-between-blocks: 1 + final-newline: 1 + space-after-colon: 1 + space-before-colon: 1 + space-between-parens: 1 +options: + optOut: false diff --git a/dist/css/cta-list-paragraph.styles.css b/dist/css/cta-list-paragraph.styles.css index de0b7e2..1256a28 100644 --- a/dist/css/cta-list-paragraph.styles.css +++ b/dist/css/cta-list-paragraph.styles.css @@ -147,13 +147,13 @@ margin-right: 2.74rem; } } .su-cta-list-paragraph .su-cta-list--links .col-1 a { color: #b1040e; } - .su-cta-list-paragraph .su-cta-list--links .col-1 a:after { + .su-cta-list-paragraph .su-cta-list--links .col-1 a::after { background-color: #b1040e; } - .su-cta-list-paragraph .su-cta-list--links .col-1 a:after:hover { + .su-cta-list-paragraph .su-cta-list--links .col-1 a::after:hover { background-color: #b1040e; } - .su-cta-list-paragraph .su-cta-list--links .col-1 a:after:focus { + .su-cta-list-paragraph .su-cta-list--links .col-1 a::after:focus { background-color: #b1040e; } - .su-cta-list-paragraph .su-cta-list--links .col-1 a:after:active { + .su-cta-list-paragraph .su-cta-list--links .col-1 a::after:active { background-color: #b1040e; } @media only screen and (min-width: 0) and (max-width: 575px) { .su-cta-list-paragraph .su-cta-list--links .col-1 { @@ -181,13 +181,13 @@ margin-right: 11.4rem; } } .su-cta-list-paragraph .su-cta-list--links .col-2 a { color: #b1040e; } - .su-cta-list-paragraph .su-cta-list--links .col-2 a:after { + .su-cta-list-paragraph .su-cta-list--links .col-2 a::after { background-color: #b1040e; } - .su-cta-list-paragraph .su-cta-list--links .col-2 a:after:hover { + .su-cta-list-paragraph .su-cta-list--links .col-2 a::after:hover { background-color: #b1040e; } - .su-cta-list-paragraph .su-cta-list--links .col-2 a:after:focus { + .su-cta-list-paragraph .su-cta-list--links .col-2 a::after:focus { background-color: #b1040e; } - .su-cta-list-paragraph .su-cta-list--links .col-2 a:after:active { + .su-cta-list-paragraph .su-cta-list--links .col-2 a::after:active { background-color: #b1040e; } @media (max-width: 1199px) { .su-cta-list-paragraph .su-cta-list--links .col-2 { diff --git a/dist/css/image-cta-paragraph.styles.css b/dist/css/image-cta-paragraph.styles.css index 743362d..c50cdc0 100644 --- a/dist/css/image-cta-paragraph.styles.css +++ b/dist/css/image-cta-paragraph.styles.css @@ -1,6 +1,6 @@ @media (max-width: 767px) { .ptype-image-cta { - margin-bottom: 0px !important; } } + margin-bottom: 0; } } @media only screen and (max-width: 767px) and (min-width: 0) { .su-image-cta-paragraph { @@ -45,13 +45,13 @@ .su-image-cta-paragraph .su-image-cta-paragraph--link a { color: #b1040e; } -.su-image-cta-paragraph .su-image-cta-paragraph--link:after { +.su-image-cta-paragraph .su-image-cta-paragraph--link::after { background-color: #b1040e; } - .su-image-cta-paragraph .su-image-cta-paragraph--link:after:hover { + .su-image-cta-paragraph .su-image-cta-paragraph--link::after:hover { background-color: #b1040e; } - .su-image-cta-paragraph .su-image-cta-paragraph--link:after:focus { + .su-image-cta-paragraph .su-image-cta-paragraph--link::after:focus { background-color: #b1040e; } - .su-image-cta-paragraph .su-image-cta-paragraph--link:after:active { + .su-image-cta-paragraph .su-image-cta-paragraph--link::after:active { background-color: #b1040e; } @media only screen and (min-width: 768px) and (max-width: 1199px) and (min-width: 0) { diff --git a/dist/css/stories-paragraph.styles.css b/dist/css/stories-paragraph.styles.css index d2c04ac..5c0b486 100644 --- a/dist/css/stories-paragraph.styles.css +++ b/dist/css/stories-paragraph.styles.css @@ -156,7 +156,7 @@ min-width: 290px; min-height: 290px; border-radius: 50%; - border: 6px black solid; + border: 6px #000000 solid; overflow: hidden; } @media only screen and (min-width: 0) { .su-stories-paragraph .su-stories--card .su-stories-photo img { @@ -187,7 +187,7 @@ display: block; margin-left: auto; margin-right: auto; - padding: 0px; + padding: 0; width: 220px; height: 220px; min-width: 220px; diff --git a/lib/scss/components/cta-list/_cta-list.scss b/lib/scss/components/cta-list/_cta-list.scss index 917cf20..03a6ee6 100644 --- a/lib/scss/components/cta-list/_cta-list.scss +++ b/lib/scss/components/cta-list/_cta-list.scss @@ -2,112 +2,116 @@ .su-cta-list-paragraph { - @include modular-spacing('padding-top', 3); - @include modular-spacing('padding-left', 2); - @include modular-spacing('padding-right', 2); + @include modular-spacing('padding-top', 3); + @include modular-spacing('padding-left', 2); + @include modular-spacing('padding-right', 2); + + border-top: 1px solid $su-color-cool-grey-25; + + @include grid-media-max('md') { + + @include modular-spacing('padding-left', 0); + @include modular-spacing('padding-right', 0); + } + + .su-cta-list-paragraph--header { + @include type-b; + @include modular-spacing('margin-bottom', 1); + } + + .su-cta-list-paragraph--description { + @include big-paragraph; + @include modular-spacing('margin-bottom', 3); + } + + .su-cta-list--links { + @include modular-spacing('padding-bottom', 7); + display: flex; + flex-direction: row; + flex-wrap: wrap; + width: 100%; + + @include grid-media-only('xs') { + display: block; + width: 100%; + @include modular-spacing('padding-bottom', 1); + }; + + .su-link--action { + display: block; + width: 100%; + @include modular-spacing('margin-bottom', 1); + } - border-top: 1px solid $su-color-cool-grey-25; + .col-1 { + @include modular-spacing('margin-right', 1); + display: flex; + flex-direction: column; + flex: 1; + min-width: 200px; - @include grid-media-max('md') { + a { + color: $su-color-bright-red; - @include modular-spacing('padding-left', 0); - @include modular-spacing('padding-right', 0); - } + &::after { + background-color: $su-color-bright-red; - .su-cta-list-paragraph--header { - @include type-b; - @include modular-spacing('margin-bottom', 1); - } + &:hover { + background-color: $su-color-bright-red; + } - .su-cta-list-paragraph--description{ - @include big-paragraph; - @include modular-spacing('margin-bottom', 3); - } + &:focus { + background-color: $su-color-bright-red; + } - .su-cta-list--links{ - @include modular-spacing('padding-bottom', 7); - display: flex; - flex-direction: row; - flex-wrap: wrap; + &:active { + background-color: $su-color-bright-red; + } + } + } + + @include grid-media-only('xs') { + display: block; width: 100%; + }; + } - @include grid-media-only('xs'){ - display: block; - width: 100%; - @include modular-spacing('padding-bottom', 1); - }; + .col-2 { + @include modular-spacing('margin-right', 7); + display: flex; + flex-direction: column; + flex: 1; - .su-link--action { - display: block; - width: 100%; - @include modular-spacing('margin-bottom', 1); - } - .col-1{ - @include modular-spacing('margin-right', 1); - display: flex; - flex-direction: column; - flex: 1; - min-width: 200px; - - a{ - color: $su-color-bright-red; - - &:after{ - background-color: $su-color-bright-red; - - &:hover { - background-color: $su-color-bright-red; - } - &:focus { - background-color: $su-color-bright-red; - } - &:active { - background-color: $su-color-bright-red; - } - } - } - - @include grid-media-only('xs'){ - display: block; - width: 100%; - }; - } + a { + color: $su-color-bright-red; + + &::after { + background-color: $su-color-bright-red; + + &:hover { + background-color: $su-color-bright-red; + } + + &:focus { + background-color: $su-color-bright-red; + } - .col-2{ - @include modular-spacing('margin-right', 7); - display: flex; - flex-direction: column; - flex: 1; - - - a{ - color: $su-color-bright-red; - - &:after{ - background-color: $su-color-bright-red; - - &:hover { - background-color: $su-color-bright-red; - } - &:focus { - background-color: $su-color-bright-red; - } - &:active { - background-color: $su-color-bright-red; - } - } - } - - @include grid-media-between('xs', 'lg'){ - min-width: 150px; - @include modular-spacing('margin-right', 1); - } - - @include grid-media-only('xs'){ - display: block; - width: 100%; - }; + &:active { + background-color: $su-color-bright-red; + } } + } + + @include grid-media-between('xs', 'lg') { + min-width: 150px; + @include modular-spacing('margin-right', 1); + } + + @include grid-media-only('xs') { + display: block; + width: 100%; + }; } + } } diff --git a/lib/scss/components/image-cta/_image_cta.scss b/lib/scss/components/image-cta/_image_cta.scss index 30eff89..ae92800 100644 --- a/lib/scss/components/image-cta/_image_cta.scss +++ b/lib/scss/components/image-cta/_image_cta.scss @@ -2,54 +2,56 @@ .ptype-image-cta { - @include grid-media-between('xs', 'sm'){ - margin-bottom: 0px !important; - }; + @include grid-media-between('xs', 'sm') { + margin-bottom: 0; + }; } .su-image-cta-paragraph { - @include grid-media-between('xs', 'sm'){ - @include modular-spacing('margin-bottom', 1); + @include grid-media-between('xs', 'sm') { + @include modular-spacing('margin-bottom', 1); + }; + + .su-image-cta-paragraph--image { + @include modular-spacing('margin-bottom', 1); + + @include grid-media-between('xs', 'sm') { + display: none; }; + } - .su-image-cta-paragraph--image { - @include modular-spacing('margin-bottom', 1); + .su-image-cta-paragraph--link { + @include modular-spacing('margin-bottom', 7); - @include grid-media-between('xs', 'sm'){ - display: none; - }; + a { + color: $su-color-bright-red; } - .su-image-cta-paragraph--link { - @include modular-spacing('margin-bottom', 7); + &::after { + background-color: $su-color-bright-red; - a { - color: $su-color-bright-red; - } + &:hover { + background-color: $su-color-bright-red; + } - &:after{ - background-color: $su-color-bright-red; + &:focus { + background-color: $su-color-bright-red; + } - &:hover { - background-color: $su-color-bright-red; - } - &:focus { - background-color: $su-color-bright-red; - } - &:active { - background-color: $su-color-bright-red; - } - } + &:active { + background-color: $su-color-bright-red; + } + } - @include grid-media-between('md', 'lg'){ - @include modular-spacing('margin-bottom', 6); - }; + @include grid-media-between('md', 'lg') { + @include modular-spacing('margin-bottom', 6); + }; - @include grid-media-between('xs', 'sm'){ - @include modular-spacing('margin-bottom', 0); - }; + @include grid-media-between('xs', 'sm') { + @include modular-spacing('margin-bottom', 0); + }; - } + } } diff --git a/lib/scss/components/stories/_stories.scss b/lib/scss/components/stories/_stories.scss index 5202138..5b1cd6d 100644 --- a/lib/scss/components/stories/_stories.scss +++ b/lib/scss/components/stories/_stories.scss @@ -1,96 +1,96 @@ -.su-stories-paragraph{ +.su-stories-paragraph { - .su-stories--grid-spacer{ - @include grid-media-between('xs', 'sm'){ - display: none; - }; - } + .su-stories--grid-spacer { + @include grid-media-between('xs', 'sm') { + display: none; + }; + } - .su-stories--card{ - @include card(); - .su-stories--content{ - display: flex; - flex-direction: row; - justify-content: flex-start; - @include modular-spacing('padding', 2); - @include grid-media-between('xs', 'sm'){ - display: block; - @include modular-spacing('padding-top', 0); - }; - } + .su-stories--card { + @include card; - .su-stories-photo{ + .su-stories--content { + display: flex; + flex-direction: row; + justify-content: flex-start; + @include modular-spacing('padding', 2); + @include grid-media-between('xs', 'sm') { + display: block; + @include modular-spacing('padding-top', 0); + }; + } + .su-stories-photo { - img { - width: 290px; - height: 290px; - min-width: 290px; - min-height: 290px; - border-radius: 50%; - border: 6px black solid; - overflow: hidden; - @include modular-spacing('margin-left', 2); - @include modular-spacing('margin-right', 5); + img { + width: 290px; + height: 290px; + min-width: 290px; + min-height: 290px; + border-radius: 50%; + border: 6px #000000 solid; + overflow: hidden; + @include modular-spacing('margin-left', 2); + @include modular-spacing('margin-right', 5); - @include grid-media-between('md', 'lg'){ - width: 255px; - height: 255px; - min-width: 255px; - min-height: 255px; - }; + @include grid-media-between('md', 'lg') { + width: 255px; + height: 255px; + min-width: 255px; + min-height: 255px; + }; - @include grid-media-between('xs', 'sm'){ - display: block; - @include modular-spacing('margin-top', 2); - @include modular-spacing('margin-bottom', 2); - margin-left: auto; - margin-right: auto; - padding:0px; - width: 220px; - height: 220px; - min-width: 220px; - min-height: 220px; - }; - } - } + @include grid-media-between('xs', 'sm') { + display: block; + @include modular-spacing('margin-top', 2); + @include modular-spacing('margin-bottom', 2); + margin-left: auto; + margin-right: auto; + padding: 0; + width: 220px; + height: 220px; + min-width: 220px; + min-height: 220px; + }; + } + } - .su-stories--details { + .su-stories--details { - @include grid-media-between('xs', 'sm'){ - display: block; - }; - } + @include grid-media-between('xs', 'sm') { + display: block; + }; + } - .su-stories-name{ - @include type-b; - @include modular-spacing('margin-top', 0); - } + .su-stories-name { + @include type-b; + @include modular-spacing('margin-top', 0); + } - .su-stories-title{ - @include big-paragraph; - @include modular-spacing('margin-bottom', 0); - } + .su-stories-title { + @include big-paragraph; + @include modular-spacing('margin-bottom', 0); + } - .su-stories-quote{ - @include type-a; - @include modular-spacing('margin-bottom', 3); - } + .su-stories-quote { + @include type-a; + @include modular-spacing('margin-bottom', 3); + } - .su-stories-node-link{ - @include modular-spacing('margin-bottom', 6); - } + .su-stories-node-link { + @include modular-spacing('margin-bottom', 6); + } - .su-stories--cta{ - display: flex; - justify-content: center; - @include modular-spacing('padding-bottom', 5); + .su-stories--cta { + display: flex; + justify-content: center; + @include modular-spacing('padding-bottom', 5); - .su-stories-cta-link{ - a { - color: #fff; - } - } + .su-stories-cta-link { + a { + color: #fff; } + } } + } } diff --git a/package-lock.json b/package-lock.json index f1ef9d4..ba77624 100644 --- a/package-lock.json +++ b/package-lock.json @@ -988,6 +988,114 @@ "integrity": "sha512-xKOeQEl5O47GPZYIMToj6uuA2syyFlq9EMSl2ui0uytjY9xbe8XS0pexNWmxrdcCyNGyDmLyYw5FtKsalBUeOg==", "dev": true }, + "@sentry/apm": { + "version": "5.17.0", + "resolved": "https://registry.npmjs.org/@sentry/apm/-/apm-5.17.0.tgz", + "integrity": "sha512-raJcPa04TP8mVocSTHe0PdULpRWhw0NaLq9Rk8KCTFBJvLsgzY2krph5/LgEfBBX78vWt70FrwSw+DdIfYIJ6g==", + "dev": true, + "requires": { + "@sentry/browser": "5.17.0", + "@sentry/hub": "5.17.0", + "@sentry/minimal": "5.17.0", + "@sentry/types": "5.17.0", + "@sentry/utils": "5.17.0", + "tslib": "^1.9.3" + } + }, + "@sentry/browser": { + "version": "5.17.0", + "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-5.17.0.tgz", + "integrity": "sha512-++pXpCHtdek1cRUwVeLvlxUJ2w1s+eiC9qN1N+7+HdAjHpBz2/tA1sKBCqwwVQZ490Cf2GLll9Ao7fuPPmveRQ==", + "dev": true, + "requires": { + "@sentry/core": "5.17.0", + "@sentry/types": "5.17.0", + "@sentry/utils": "5.17.0", + "tslib": "^1.9.3" + } + }, + "@sentry/core": { + "version": "5.17.0", + "resolved": "https://registry.npmjs.org/@sentry/core/-/core-5.17.0.tgz", + "integrity": "sha512-Kfx4rGKDC7V1YJjTGJXyl12VVHxM8Cjpu61YOyF8kXoXXg9u06C3n0G1dmfzLQERKXasUVMtXRBdKx/OjYpl1g==", + "dev": true, + "requires": { + "@sentry/hub": "5.17.0", + "@sentry/minimal": "5.17.0", + "@sentry/types": "5.17.0", + "@sentry/utils": "5.17.0", + "tslib": "^1.9.3" + } + }, + "@sentry/hub": { + "version": "5.17.0", + "resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-5.17.0.tgz", + "integrity": "sha512-lyUbEmshwaMYdAzy4iwgizgvKODVVloB2trnefpq90AuWCdvzcxMLIGULx1ou+KohccqdNorYICKWeuRscKq5A==", + "dev": true, + "requires": { + "@sentry/types": "5.17.0", + "@sentry/utils": "5.17.0", + "tslib": "^1.9.3" + } + }, + "@sentry/minimal": { + "version": "5.17.0", + "resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-5.17.0.tgz", + "integrity": "sha512-v8xfkySXKrliZO6er6evlVe/ViUcqN0O8BhGyauK28Mf+KnKEOs5W6oWbt4qCDIttw9ynKIYyRrkAl/9oUR76A==", + "dev": true, + "requires": { + "@sentry/hub": "5.17.0", + "@sentry/types": "5.17.0", + "tslib": "^1.9.3" + } + }, + "@sentry/node": { + "version": "5.17.0", + "resolved": "https://registry.npmjs.org/@sentry/node/-/node-5.17.0.tgz", + "integrity": "sha512-gaM+LNjQc7Wm+RG4f7KGZ/+An8RQ9/8CkJDB/DP4qwufsaIrcg1dZa6KeAUnh3KaXZ+ZuPji+agCIV/AQU4x8g==", + "dev": true, + "requires": { + "@sentry/apm": "5.17.0", + "@sentry/core": "5.17.0", + "@sentry/hub": "5.17.0", + "@sentry/types": "5.17.0", + "@sentry/utils": "5.17.0", + "cookie": "^0.3.1", + "https-proxy-agent": "^4.0.0", + "lru_map": "^0.3.3", + "tslib": "^1.9.3" + }, + "dependencies": { + "cookie": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz", + "integrity": "sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s=", + "dev": true + } + } + }, + "@sentry/types": { + "version": "5.17.0", + "resolved": "https://registry.npmjs.org/@sentry/types/-/types-5.17.0.tgz", + "integrity": "sha512-1z8EXzvg8GcsBNnSXgB5/G7mz2PwmMt9mjOrVG1jhtSGH1c7WvB32F5boqoMcjIJmy5MrBGaaXwrF/RRJrwUQg==", + "dev": true + }, + "@sentry/utils": { + "version": "5.17.0", + "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-5.17.0.tgz", + "integrity": "sha512-qn8WgZcSkV/rx0ezp9q/xFjP7aMaYZO1/JYLXV4o6pYrQ9tvMmmwAZT39FpJunhhbkR36WNEuRB9C2K250cb/A==", + "dev": true, + "requires": { + "@sentry/types": "5.17.0", + "tslib": "^1.9.3" + } + }, + "@types/color-name": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz", + "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==", + "dev": true + }, "@types/events": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz", @@ -1017,6 +1125,12 @@ "integrity": "sha512-x26ur3dSXgv5AwKS0lNfbjpCakGIduWU1DU91Zz58ONRWrIKGunmZBNv4P7N+e27sJkiGDsw/3fT4AtsqQBrBA==", "dev": true }, + "@types/parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==", + "dev": true + }, "@types/q": { "version": "1.5.2", "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.2.tgz", @@ -1259,6 +1373,12 @@ } } }, + "agent-base": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-5.1.1.tgz", + "integrity": "sha512-TMeqbNl2fMW0nMjTEPOwe3J/PRFP4vqeoNuQMG0HlMrtm5QxKqdvAkZ1pRBQ/ulIyDD5Yq0nJ7YbdD8ey0TO3g==", + "dev": true + }, "ajv": { "version": "6.10.0", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.0.tgz", @@ -3675,14 +3795,14 @@ } }, "es6-weak-map": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.2.tgz", - "integrity": "sha1-XjqzIlH/0VOKH45f+hNXdy+S2W8=", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz", + "integrity": "sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==", "dev": true, "requires": { "d": "1", - "es5-ext": "^0.10.14", - "es6-iterator": "^2.0.1", + "es5-ext": "^0.10.46", + "es6-iterator": "^2.0.3", "es6-symbol": "^3.1.1" } }, @@ -6141,6 +6261,16 @@ "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=", "dev": true }, + "https-proxy-agent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-4.0.0.tgz", + "integrity": "sha512-zoDhWrkR3of1l9QAL8/scJZyLu8j/gBkcwcaQOZh7Gyh/+uJQzGVETdgT30akuwkpL8HTRfssqI3BZuV18teDg==", + "dev": true, + "requires": { + "agent-base": "5", + "debug": "4" + } + }, "iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", @@ -6913,6 +7043,12 @@ "type-check": "~0.3.2" } }, + "lines-and-columns": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", + "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", + "dev": true + }, "load-json-file": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", @@ -7091,6 +7227,12 @@ "yallist": "^2.1.2" } }, + "lru_map": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/lru_map/-/lru_map-0.3.3.tgz", + "integrity": "sha1-tcg1G5Rky9dQM1p5ZQoOwOVhGN0=", + "dev": true + }, "make-dir": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", @@ -10418,6 +10560,134 @@ } } }, + "sass-lint-auto-fix": { + "version": "0.21.0", + "resolved": "https://registry.npmjs.org/sass-lint-auto-fix/-/sass-lint-auto-fix-0.21.0.tgz", + "integrity": "sha512-AKkNdCeCuDQOom+j74sWKLyjPVEhT1XOYUwH6CWjz03rh7ioWk9Ey/svZT/U8rgHIK7nLO+hBWOmbXPzIec1Ng==", + "dev": true, + "requires": { + "@sentry/node": "^5.7.0", + "chalk": "^3.0.0", + "commander": "^4.0.1", + "cosmiconfig": "^6.0.0", + "glob": "^7.1.4", + "gonzales-pe-sl": "github:srowhani/gonzales-pe#dev", + "sass-lint": "^1.13.1" + }, + "dependencies": { + "ansi-styles": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", + "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", + "dev": true, + "requires": { + "@types/color-name": "^1.1.1", + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", + "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "commander": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "dev": true + }, + "cosmiconfig": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-6.0.0.tgz", + "integrity": "sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg==", + "dev": true, + "requires": { + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.1.0", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.7.2" + } + }, + "gonzales-pe-sl": { + "version": "github:srowhani/gonzales-pe#3b052416074edc280f7d04bbe40b2e410693c4a3", + "from": "github:srowhani/gonzales-pe#dev", + "dev": true, + "requires": { + "minimist": "1.1.x" + } + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "import-fresh": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz", + "integrity": "sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==", + "dev": true, + "requires": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + } + }, + "minimist": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.1.3.tgz", + "integrity": "sha1-O+39kaktOQFvz6ocaB6Pqhoe/ag=", + "dev": true + }, + "parse-json": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.0.0.tgz", + "integrity": "sha512-OOY5b7PAEFV0E2Fir1KOkxchnZNCdowAJgQ5NuxjpBKTRP3pQhwkrkxqQjeoKJ+fO7bCpmIZaogI4eZGDMEGOw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1", + "lines-and-columns": "^1.1.6" + } + }, + "path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true + }, + "supports-color": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", + "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, "sass-loader": { "version": "7.3.1", "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-7.3.1.tgz", @@ -13675,6 +13945,12 @@ "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", "dev": true }, + "yaml": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.0.tgz", + "integrity": "sha512-yr2icI4glYaNG+KWONODapy2/jDdMSDnrONSjblABjD9B4Z5LgiircSt8m8sRZFNi08kG9Sm0uSHtEmP3zaEGg==", + "dev": true + }, "yargs": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/yargs/-/yargs-7.1.0.tgz", diff --git a/package.json b/package.json index 49b5470..4cb180c 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "publish": "webpack --mode=production", "watch": "webpack --mode=development --watch", "lint:js": "eslint -c .eslintrc 'src/js'", - "lint:sass": "sass-lint -c .sass-lint.yml '**/*.scss' -v -q -i 'vendor/**/*.scss, node_modules/**/*.scss'" + "lint:sass": "sass-lint -c .sass-lint.yml '**/*.scss' -v -q -i 'vendor/**/*.scss, node_modules/**/*.scss'", + "lint:sass:fix": "sass-lint-auto-fix -c .sass-lint-fix.yml" }, "devDependencies": { "@babel/core": "^7.8.6", @@ -28,7 +29,8 @@ "optimize-css-assets-webpack-plugin": "^5.0.3", "postcss-loader": "^3.0.0", "resolve-url-loader": "^3.1.1", - "sass-lint": "^1.12.1", + "sass-lint": "^1.13.1", + "sass-lint-auto-fix": "^0.21.0", "sass-loader": "^7.3.1", "style-loader": "^0.23.1", "uglifyjs-webpack-plugin": "^2.2.0", From eeb31066673388bd08f241de1398f02283493079 Mon Sep 17 00:00:00 2001 From: Ian Monroe Date: Fri, 12 Jun 2020 16:00:39 -0600 Subject: [PATCH 27/40] D8CORE-000: renaming things via configs --- ...y.paragraph.stanford_cta_list.default.yml} | 19 ++++---- ...y.paragraph.stanford_cta_list.default.yml} | 25 +++++----- ...nford_cta_list.stanford_cta_list_deck.yml} | 11 ++--- ...ord_cta_list.stanford_cta_list_header.yml} | 11 ++--- ...ford_cta_list.stanford_cta_list_links.yml} | 11 ++--- ...rage.paragraph.stanford_cta_list_deck.yml} | 5 +- ...ge.paragraph.stanford_cta_list_header.yml} | 5 +- ...age.paragraph.stanford_cta_list_links.yml} | 5 +- ...phs.paragraphs_type.stanford_cta_list.yml} | 3 +- ....paragraph.stanford_image_cta.default.yml} | 15 +++--- ....paragraph.stanford_image_cta.default.yml} | 19 ++++---- ...rd_image_cta.stanford_image_cta_image.yml} | 11 ++--- ...ord_image_cta.stanford_image_cta_link.yml} | 11 ++--- ...ge.paragraph.stanford_image_cta_image.yml} | 5 +- ...age.paragraph.stanford_image_cta_link.yml} | 5 +- ...hs.paragraphs_type.stanford_image_cta.yml} | 3 +- ...l.settings.paragraph.stanford_stories.yml} | 2 +- ...ay.paragraph.stanford_stories.default.yml} | 35 +++++++------- ...ay.paragraph.stanford_stories.default.yml} | 47 +++++++++---------- ...ord_stories.stanford_stories_cta_link.yml} | 11 ++--- ...tanford_stories.stanford_stories_name.yml} | 11 ++--- ...rd_stories.stanford_stories_node_link.yml} | 11 ++--- ...anford_stories.stanford_stories_photo.yml} | 11 ++--- ...stories.stanford_stories_photo_border.yml} | 11 ++--- ...anford_stories.stanford_stories_quote.yml} | 11 ++--- ...anford_stories.stanford_stories_title.yml} | 11 ++--- ...e.paragraph.stanford_stories_cta_link.yml} | 5 +- ...orage.paragraph.stanford_stories_name.yml} | 5 +- ....paragraph.stanford_stories_node_link.yml} | 5 +- ...rage.paragraph.stanford_stories_photo.yml} | 5 +- ...ragraph.stanford_stories_photo_border.yml} | 5 +- ...rage.paragraph.stanford_stories_quote.yml} | 5 +- ...rage.paragraph.stanford_stories_title.yml} | 5 +- ...aphs.paragraphs_type.stanford_stories.yml} | 3 +- 34 files changed, 165 insertions(+), 198 deletions(-) rename modules/soe_paragraph_cta_list/config/install/{core.entity_form_display.paragraph.cta_list.default.yml => core.entity_form_display.paragraph.stanford_cta_list.default.yml} (62%) rename modules/soe_paragraph_cta_list/config/install/{core.entity_view_display.paragraph.cta_list.default.yml => core.entity_view_display.paragraph.stanford_cta_list.default.yml} (71%) rename modules/soe_paragraph_cta_list/config/install/{field.field.paragraph.cta_list.su_cta_list_deck.yml => field.field.paragraph.stanford_cta_list.stanford_cta_list_deck.yml} (70%) rename modules/soe_paragraph_cta_list/config/install/{field.field.paragraph.cta_list.su_cta_list_header.yml => field.field.paragraph.stanford_cta_list.stanford_cta_list_header.yml} (57%) rename modules/soe_paragraph_cta_list/config/install/{field.field.paragraph.cta_list.su_cta_list_links.yml => field.field.paragraph.stanford_cta_list.stanford_cta_list_links.yml} (62%) rename modules/soe_paragraph_cta_list/config/install/{field.storage.paragraph.su_cta_list_deck.yml => field.storage.paragraph.stanford_cta_list_deck.yml} (76%) rename modules/soe_paragraph_cta_list/config/install/{field.storage.paragraph.su_cta_list_header.yml => field.storage.paragraph.stanford_cta_list_header.yml} (77%) rename modules/soe_paragraph_cta_list/config/install/{field.storage.paragraph.su_cta_list_links.yml => field.storage.paragraph.stanford_cta_list_links.yml} (75%) rename modules/soe_paragraph_cta_list/config/install/{paragraphs.paragraphs_type.cta_list.yml => paragraphs.paragraphs_type.stanford_cta_list.yml} (99%) rename modules/soe_paragraph_image_cta/config/install/{core.entity_form_display.paragraph.image_cta.default.yml => core.entity_form_display.paragraph.stanford_image_cta.default.yml} (63%) rename modules/soe_paragraph_image_cta/config/install/{core.entity_view_display.paragraph.image_cta.default.yml => core.entity_view_display.paragraph.stanford_image_cta.default.yml} (74%) rename modules/soe_paragraph_image_cta/config/install/{field.field.paragraph.image_cta.su_image_cta_image.yml => field.field.paragraph.stanford_image_cta.stanford_image_cta_image.yml} (68%) rename modules/soe_paragraph_image_cta/config/install/{field.field.paragraph.image_cta.su_image_cta_link.yml => field.field.paragraph.stanford_image_cta.stanford_image_cta_link.yml} (60%) rename modules/soe_paragraph_image_cta/config/install/{field.storage.paragraph.su_image_cta_image.yml => field.storage.paragraph.stanford_image_cta_image.yml} (76%) rename modules/soe_paragraph_image_cta/config/install/{field.storage.paragraph.su_image_cta_link.yml => field.storage.paragraph.stanford_image_cta_link.yml} (75%) rename modules/soe_paragraph_image_cta/config/install/{paragraphs.paragraphs_type.image_cta.yml => paragraphs.paragraphs_type.stanford_image_cta.yml} (99%) rename modules/soe_paragraph_stories/config/install/{auto_entitylabel.settings.paragraph.soe_stories.yml => auto_entitylabel.settings.paragraph.stanford_stories.yml} (54%) rename modules/soe_paragraph_stories/config/install/{core.entity_form_display.paragraph.soe_stories.default.yml => core.entity_form_display.paragraph.stanford_stories.default.yml} (59%) rename modules/soe_paragraph_stories/config/install/{core.entity_view_display.paragraph.soe_stories.default.yml => core.entity_view_display.paragraph.stanford_stories.default.yml} (64%) rename modules/soe_paragraph_stories/config/install/{field.field.paragraph.soe_stories.su_stories_cta_link.yml => field.field.paragraph.stanford_stories.stanford_stories_cta_link.yml} (57%) rename modules/soe_paragraph_stories/config/install/{field.field.paragraph.soe_stories.su_stories_name.yml => field.field.paragraph.stanford_stories.stanford_stories_name.yml} (52%) rename modules/soe_paragraph_stories/config/install/{field.field.paragraph.soe_stories.su_stories_node_link.yml => field.field.paragraph.stanford_stories.stanford_stories_node_link.yml} (55%) rename modules/soe_paragraph_stories/config/install/{field.field.paragraph.soe_stories.su_stories_photo.yml => field.field.paragraph.stanford_stories.stanford_stories_photo.yml} (66%) rename modules/soe_paragraph_stories/config/install/{field.field.paragraph.soe_stories.su_stories_photo_border.yml => field.field.paragraph.stanford_stories.stanford_stories_photo_border.yml} (55%) rename modules/soe_paragraph_stories/config/install/{field.field.paragraph.soe_stories.su_stories_quote.yml => field.field.paragraph.stanford_stories.stanford_stories_quote.yml} (65%) rename modules/soe_paragraph_stories/config/install/{field.field.paragraph.soe_stories.su_stories_title.yml => field.field.paragraph.stanford_stories.stanford_stories_title.yml} (54%) rename modules/soe_paragraph_stories/config/install/{field.storage.paragraph.su_stories_cta_link.yml => field.storage.paragraph.stanford_stories_cta_link.yml} (69%) rename modules/soe_paragraph_stories/config/install/{field.storage.paragraph.su_stories_name.yml => field.storage.paragraph.stanford_stories_name.yml} (74%) rename modules/soe_paragraph_stories/config/install/{field.storage.paragraph.su_stories_node_link.yml => field.storage.paragraph.stanford_stories_node_link.yml} (69%) rename modules/soe_paragraph_stories/config/install/{field.storage.paragraph.su_stories_photo.yml => field.storage.paragraph.stanford_stories_photo.yml} (73%) rename modules/soe_paragraph_stories/config/install/{field.storage.paragraph.su_stories_photo_border.yml => field.storage.paragraph.stanford_stories_photo_border.yml} (79%) rename modules/soe_paragraph_stories/config/install/{field.storage.paragraph.su_stories_quote.yml => field.storage.paragraph.stanford_stories_quote.yml} (72%) rename modules/soe_paragraph_stories/config/install/{field.storage.paragraph.su_stories_title.yml => field.storage.paragraph.stanford_stories_title.yml} (74%) rename modules/soe_paragraph_stories/config/install/{paragraphs.paragraphs_type.soe_stories.yml => paragraphs.paragraphs_type.stanford_stories.yml} (71%) diff --git a/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.cta_list.default.yml b/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.stanford_cta_list.default.yml similarity index 62% rename from modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.cta_list.default.yml rename to modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.stanford_cta_list.default.yml index 05e3c37..f24b18e 100644 --- a/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.cta_list.default.yml +++ b/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.stanford_cta_list.default.yml @@ -1,23 +1,22 @@ -uuid: 18bddd88-f407-4c08-aad0-3f792823976f langcode: en status: true dependencies: config: - - field.field.paragraph.cta_list.su_cta_list_deck - - field.field.paragraph.cta_list.su_cta_list_header - - field.field.paragraph.cta_list.su_cta_list_links - - paragraphs.paragraphs_type.cta_list + - field.field.paragraph.stanford_cta_list.stanford_cta_list_deck + - field.field.paragraph.stanford_cta_list.stanford_cta_list_header + - field.field.paragraph.stanford_cta_list.stanford_cta_list_links + - paragraphs.paragraphs_type.stanford_cta_list module: - link - text _core: default_config_hash: mpkYLQiF3YOEyv3YucHgRTJ2GnVHarLmHH_RxLMUB-Q -id: paragraph.cta_list.default +id: paragraph.stanford_cta_list.default targetEntityType: paragraph -bundle: cta_list +bundle: stanford_cta_list mode: default content: - su_cta_list_deck: + stanford_cta_list_deck: weight: 1 settings: rows: 5 @@ -25,7 +24,7 @@ content: third_party_settings: { } type: text_textarea region: content - su_cta_list_header: + stanford_cta_list_header: weight: 0 settings: size: 60 @@ -33,7 +32,7 @@ content: third_party_settings: { } type: string_textfield region: content - su_cta_list_links: + stanford_cta_list_links: weight: 2 settings: placeholder_url: '' diff --git a/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list.default.yml b/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.stanford_cta_list.default.yml similarity index 71% rename from modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list.default.yml rename to modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.stanford_cta_list.default.yml index 11a600a..5a10dfa 100644 --- a/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.cta_list.default.yml +++ b/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.stanford_cta_list.default.yml @@ -1,12 +1,11 @@ -uuid: 7196d7f2-398a-4822-9eca-1ecd9395a26b langcode: en status: true dependencies: config: - - field.field.paragraph.cta_list.su_cta_list_deck - - field.field.paragraph.cta_list.su_cta_list_header - - field.field.paragraph.cta_list.su_cta_list_links - - paragraphs.paragraphs_type.cta_list + - field.field.paragraph.stanford_cta_list.stanford_cta_list_deck + - field.field.paragraph.stanford_cta_list.stanford_cta_list_header + - field.field.paragraph.stanford_cta_list.stanford_cta_list_links + - paragraphs.paragraphs_type.stanford_cta_list module: - ds - field_formatter_class @@ -25,19 +24,19 @@ third_party_settings: variant: default regions: header: - - su_cta_list_header + - stanford_cta_list_header deck: - - su_cta_list_deck + - stanford_cta_list_deck links: - - su_cta_list_links + - stanford_cta_list_links _core: default_config_hash: PLmkh9jzI6OU7Zi057Qf3WyUwD-vIVaEe0MnzqBfDms -id: paragraph.cta_list.default +id: paragraph.stanford_cta_list.default targetEntityType: paragraph -bundle: cta_list +bundle: stanford_cta_list mode: default content: - su_cta_list_deck: + stanford_cta_list_deck: weight: 1 label: hidden settings: { } @@ -46,7 +45,7 @@ content: class: su-cta-list-paragraph--description type: text_default region: deck - su_cta_list_header: + stanford_cta_list_header: weight: 0 label: hidden settings: @@ -56,7 +55,7 @@ content: class: su-cta-list-paragraph--header type: string region: header - su_cta_list_links: + stanford_cta_list_links: weight: 2 label: hidden settings: diff --git a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_deck.yml b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_deck.yml similarity index 70% rename from modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_deck.yml rename to modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_deck.yml index 825bea1..e474f71 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_deck.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_deck.yml @@ -1,10 +1,9 @@ -uuid: 2c1953b8-c160-4f04-a74b-612a6470886f langcode: en status: true dependencies: config: - - field.storage.paragraph.su_cta_list_deck - - paragraphs.paragraphs_type.cta_list + - field.storage.paragraph.stanford_cta_list_deck + - paragraphs.paragraphs_type.stanford_cta_list module: - allowed_formats - text @@ -15,10 +14,10 @@ third_party_settings: plain_text: '0' _core: default_config_hash: p9Bf_-CWTOBDMXcTqVL7qhX5kx25z9_Ty1wYg4KbWWo -id: paragraph.cta_list.su_cta_list_deck -field_name: su_cta_list_deck +id: paragraph.stanford_cta_list.stanford_cta_list_deck +field_name: stanford_cta_list_deck entity_type: paragraph -bundle: cta_list +bundle: stanford_cta_list label: Description description: 'The body text of the paragraph' required: false diff --git a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_header.yml b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_header.yml similarity index 57% rename from modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_header.yml rename to modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_header.yml index 7f191aa..128e708 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_header.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_header.yml @@ -1,16 +1,15 @@ -uuid: 0101e1e8-ef37-4c17-9585-ab704fbdaae9 langcode: en status: true dependencies: config: - - field.storage.paragraph.su_cta_list_header - - paragraphs.paragraphs_type.cta_list + - field.storage.paragraph.stanford_cta_list_header + - paragraphs.paragraphs_type.stanford_cta_list _core: default_config_hash: Rr4fnDHW1aIu8zLU0wQyXR3iT03Qw7xSUgnI67sjb2o -id: paragraph.cta_list.su_cta_list_header -field_name: su_cta_list_header +id: paragraph.stanford_cta_list.stanford_cta_list_header +field_name: stanford_cta_list_header entity_type: paragraph -bundle: cta_list +bundle: stanford_cta_list label: Header description: 'The headline text' required: true diff --git a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_links.yml b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_links.yml similarity index 62% rename from modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_links.yml rename to modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_links.yml index ea739be..dd6d6eb 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.cta_list.su_cta_list_links.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_links.yml @@ -1,18 +1,17 @@ -uuid: f53233e6-68e8-4c83-85f5-8f9f0f4ee00b langcode: en status: true dependencies: config: - - field.storage.paragraph.su_cta_list_links - - paragraphs.paragraphs_type.cta_list + - field.storage.paragraph.stanford_cta_list_links + - paragraphs.paragraphs_type.stanford_cta_list module: - link _core: default_config_hash: 1vOrSEFtzm6rA5mw96sEn8T05i9P-DPkYy99C6wecDk -id: paragraph.cta_list.su_cta_list_links -field_name: su_cta_list_links +id: paragraph.stanford_cta_list.stanford_cta_list_links +field_name: stanford_cta_list_links entity_type: paragraph -bundle: cta_list +bundle: stanford_cta_list label: Links description: 'The links to include in the paragraph' required: true diff --git a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_deck.yml b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_deck.yml similarity index 76% rename from modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_deck.yml rename to modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_deck.yml index fd9b6ca..7b74b77 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_deck.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_deck.yml @@ -1,4 +1,3 @@ -uuid: bffa6a6e-63b2-4409-ba54-48511a2801bf langcode: en status: true dependencies: @@ -7,8 +6,8 @@ dependencies: - text _core: default_config_hash: gyhOj3z9nel3P1plyLM_otVsdpOKLOQgStN5X7eh6qk -id: paragraph.su_cta_list_deck -field_name: su_cta_list_deck +id: paragraph.stanford_cta_list_deck +field_name: stanford_cta_list_deck entity_type: paragraph type: text_long settings: { } diff --git a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_header.yml b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_header.yml similarity index 77% rename from modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_header.yml rename to modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_header.yml index 9d359b0..b11576c 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_header.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_header.yml @@ -1,4 +1,3 @@ -uuid: 43f5087a-d74c-46cf-9334-80dd67d04bd7 langcode: en status: true dependencies: @@ -6,8 +5,8 @@ dependencies: - paragraphs _core: default_config_hash: 3hifLqiklAhlRVJD_Um0FX91G4o13vkQ47oPJPPFeYU -id: paragraph.su_cta_list_header -field_name: su_cta_list_header +id: paragraph.stanford_cta_list_header +field_name: stanford_cta_list_header entity_type: paragraph type: string settings: diff --git a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_links.yml b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_links.yml similarity index 75% rename from modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_links.yml rename to modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_links.yml index 225da14..e794349 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.su_cta_list_links.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_links.yml @@ -1,4 +1,3 @@ -uuid: 5504ddcf-8ab8-4278-bd90-1eb1866967c2 langcode: en status: true dependencies: @@ -7,8 +6,8 @@ dependencies: - paragraphs _core: default_config_hash: I6pgQ7_zPiWO7gscVylgGncHeZoiyZQkE2TgtpJSKdM -id: paragraph.su_cta_list_links -field_name: su_cta_list_links +id: paragraph.stanford_cta_list_links +field_name: stanford_cta_list_links entity_type: paragraph type: link settings: { } diff --git a/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list.yml b/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.stanford_cta_list.yml similarity index 99% rename from modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list.yml rename to modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.stanford_cta_list.yml index fe07bf3..cae47c6 100644 --- a/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.cta_list.yml +++ b/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.stanford_cta_list.yml @@ -1,4 +1,3 @@ -uuid: 720f8414-f928-430d-b01f-5691a02dcf56 langcode: en status: true dependencies: @@ -6,7 +5,7 @@ dependencies: - 'file:file:c3718e90-6b13-40c4-961a-bb0a28f6ad1c' _core: default_config_hash: '-PxPJz2He0UqrQXYVGm9QVGMw9nrviZLOmcSPaE4_Bw' -id: cta_list +id: stanford_cta_list label: 'CTA List' icon_uuid: c3718e90-6b13-40c4-961a-bb0a28f6ad1c icon_default: 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAgEAkACQAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/wAARCADcAZADAREAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD+/igAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAK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4j1Mal9o/tFb6OVo7pL4XX+krdxzK6XC3GJllVlkAcEV3nMf2lf8G5g/aLH7OfxZHxSPiwfBRfFnhaP9n9PFZvfLR4rHxAnxLXwgupxi6XwWt0PB8dkNPlbw6PESeKE06OLVE14y8lfl5la3Nb3rfK3z3/A3p3s+3T9T+imsDQKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAP/Z' diff --git a/modules/soe_paragraph_image_cta/config/install/core.entity_form_display.paragraph.image_cta.default.yml b/modules/soe_paragraph_image_cta/config/install/core.entity_form_display.paragraph.stanford_image_cta.default.yml similarity index 63% rename from modules/soe_paragraph_image_cta/config/install/core.entity_form_display.paragraph.image_cta.default.yml rename to modules/soe_paragraph_image_cta/config/install/core.entity_form_display.paragraph.stanford_image_cta.default.yml index 94518e9..9996891 100644 --- a/modules/soe_paragraph_image_cta/config/install/core.entity_form_display.paragraph.image_cta.default.yml +++ b/modules/soe_paragraph_image_cta/config/install/core.entity_form_display.paragraph.stanford_image_cta.default.yml @@ -1,29 +1,28 @@ -uuid: 68e5b84a-fb16-4f95-9f0c-2730b8de4c74 langcode: en status: true dependencies: config: - - field.field.paragraph.image_cta.su_image_cta_image - - field.field.paragraph.image_cta.su_image_cta_link - - paragraphs.paragraphs_type.image_cta + - field.field.paragraph.stanford_image_cta.stanford_image_cta_image + - field.field.paragraph.stanford_image_cta.stanford_image_cta_link + - paragraphs.paragraphs_type.stanford_image_cta module: - link - media_library _core: default_config_hash: WGy-emJw-zxlb0arGBdCooGabZhJsSA6nOJmJ0rboKw -id: paragraph.image_cta.default +id: paragraph.stanford_image_cta.default targetEntityType: paragraph -bundle: image_cta +bundle: stanford_image_cta mode: default content: - su_image_cta_image: + stanford_image_cta_image: type: media_library_widget weight: 0 settings: media_types: { } third_party_settings: { } region: content - su_image_cta_link: + stanford_image_cta_link: weight: 1 settings: placeholder_url: '' diff --git a/modules/soe_paragraph_image_cta/config/install/core.entity_view_display.paragraph.image_cta.default.yml b/modules/soe_paragraph_image_cta/config/install/core.entity_view_display.paragraph.stanford_image_cta.default.yml similarity index 74% rename from modules/soe_paragraph_image_cta/config/install/core.entity_view_display.paragraph.image_cta.default.yml rename to modules/soe_paragraph_image_cta/config/install/core.entity_view_display.paragraph.stanford_image_cta.default.yml index 6c45a6c..4ec7d4f 100644 --- a/modules/soe_paragraph_image_cta/config/install/core.entity_view_display.paragraph.image_cta.default.yml +++ b/modules/soe_paragraph_image_cta/config/install/core.entity_view_display.paragraph.stanford_image_cta.default.yml @@ -1,11 +1,10 @@ -uuid: fd610401-fad6-4ad4-b46b-d94fbcea34ba langcode: en status: true dependencies: config: - - field.field.paragraph.image_cta.su_image_cta_image - - field.field.paragraph.image_cta.su_image_cta_link - - paragraphs.paragraphs_type.image_cta + - field.field.paragraph.stanford_image_cta.stanford_image_cta_image + - field.field.paragraph.stanford_image_cta.stanford_image_cta_link + - paragraphs.paragraphs_type.stanford_image_cta module: - ds - field_formatter_class @@ -24,17 +23,17 @@ third_party_settings: variant: default regions: image: - - su_image_cta_image + - stanford_image_cta_image link: - - su_image_cta_link + - stanford_image_cta_link _core: default_config_hash: BpSjneacUWnuKWYre5UiKK7BeIDibO6xRBvmVWcsdIU -id: paragraph.image_cta.default +id: paragraph.stanford_image_cta.default targetEntityType: paragraph -bundle: image_cta +bundle: stanford_image_cta mode: default content: - su_image_cta_image: + stanford_image_cta_image: type: media_responsive_image_formatter weight: 0 label: hidden @@ -46,7 +45,7 @@ content: field_formatter_class: class: su-image-cta-paragraph--image region: image - su_image_cta_link: + stanford_image_cta_link: weight: 1 label: hidden settings: diff --git a/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.image_cta.su_image_cta_image.yml b/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.stanford_image_cta.stanford_image_cta_image.yml similarity index 68% rename from modules/soe_paragraph_image_cta/config/install/field.field.paragraph.image_cta.su_image_cta_image.yml rename to modules/soe_paragraph_image_cta/config/install/field.field.paragraph.stanford_image_cta.stanford_image_cta_image.yml index 5316df1..25f3ef5 100644 --- a/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.image_cta.su_image_cta_image.yml +++ b/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.stanford_image_cta.stanford_image_cta_image.yml @@ -1,17 +1,16 @@ -uuid: 8fc08725-331f-4e58-b727-5fcfd0bba908 langcode: en status: true dependencies: config: - - field.storage.paragraph.su_image_cta_image + - field.storage.paragraph.stanford_image_cta_image - media.type.image - - paragraphs.paragraphs_type.image_cta + - paragraphs.paragraphs_type.stanford_image_cta _core: default_config_hash: FSXP5Gc0Hcn7OmnHWRrT-TIjW_qhhdNT9DGBNi0ZxP8 -id: paragraph.image_cta.su_image_cta_image -field_name: su_image_cta_image +id: paragraph.stanford_image_cta.stanford_image_cta_image +field_name: stanford_image_cta_image entity_type: paragraph -bundle: image_cta +bundle: stanford_image_cta label: Image description: 'The image to display' required: true diff --git a/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.image_cta.su_image_cta_link.yml b/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.stanford_image_cta.stanford_image_cta_link.yml similarity index 60% rename from modules/soe_paragraph_image_cta/config/install/field.field.paragraph.image_cta.su_image_cta_link.yml rename to modules/soe_paragraph_image_cta/config/install/field.field.paragraph.stanford_image_cta.stanford_image_cta_link.yml index 9ff674b..f199b69 100644 --- a/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.image_cta.su_image_cta_link.yml +++ b/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.stanford_image_cta.stanford_image_cta_link.yml @@ -1,18 +1,17 @@ -uuid: f4fc7b7c-dee4-4650-87cd-191060d59d59 langcode: en status: true dependencies: config: - - field.storage.paragraph.su_image_cta_link - - paragraphs.paragraphs_type.image_cta + - field.storage.paragraph.stanford_image_cta_link + - paragraphs.paragraphs_type.stanford_image_cta module: - link _core: default_config_hash: zKndToKcolk_vCqAIc1JNDMpQRlP0gR7NweS-N_Vtj8 -id: paragraph.image_cta.su_image_cta_link -field_name: su_image_cta_link +id: paragraph.stanford_image_cta.stanford_image_cta_link +field_name: stanford_image_cta_link entity_type: paragraph -bundle: image_cta +bundle: stanford_image_cta label: Link description: 'The CTA link.' required: true diff --git a/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.su_image_cta_image.yml b/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.stanford_image_cta_image.yml similarity index 76% rename from modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.su_image_cta_image.yml rename to modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.stanford_image_cta_image.yml index 737eee2..ce72b03 100644 --- a/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.su_image_cta_image.yml +++ b/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.stanford_image_cta_image.yml @@ -1,4 +1,3 @@ -uuid: 2e04493d-23e4-4016-94ff-e932ac73fd4c langcode: en status: true dependencies: @@ -7,8 +6,8 @@ dependencies: - paragraphs _core: default_config_hash: YRnvQ6yz4j3CohCFnKEeQyfP30eYppKEv8tMNBMgTeQ -id: paragraph.su_image_cta_image -field_name: su_image_cta_image +id: paragraph.stanford_image_cta_image +field_name: stanford_image_cta_image entity_type: paragraph type: entity_reference settings: diff --git a/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.su_image_cta_link.yml b/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.stanford_image_cta_link.yml similarity index 75% rename from modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.su_image_cta_link.yml rename to modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.stanford_image_cta_link.yml index b68cc06..10a2b34 100644 --- a/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.su_image_cta_link.yml +++ b/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.stanford_image_cta_link.yml @@ -1,4 +1,3 @@ -uuid: 40efa3c8-b2b9-48d0-9f14-d203816d4809 langcode: en status: true dependencies: @@ -7,8 +6,8 @@ dependencies: - paragraphs _core: default_config_hash: Grayuth8KxguFlK1T8E6QjvJU6STrM2o4fSJqXfCwj4 -id: paragraph.su_image_cta_link -field_name: su_image_cta_link +id: paragraph.stanford_image_cta_link +field_name: stanford_image_cta_link entity_type: paragraph type: link settings: { } diff --git a/modules/soe_paragraph_image_cta/config/install/paragraphs.paragraphs_type.image_cta.yml b/modules/soe_paragraph_image_cta/config/install/paragraphs.paragraphs_type.stanford_image_cta.yml similarity index 99% rename from modules/soe_paragraph_image_cta/config/install/paragraphs.paragraphs_type.image_cta.yml rename to modules/soe_paragraph_image_cta/config/install/paragraphs.paragraphs_type.stanford_image_cta.yml index 45a0d03..f7f208c 100644 --- a/modules/soe_paragraph_image_cta/config/install/paragraphs.paragraphs_type.image_cta.yml +++ b/modules/soe_paragraph_image_cta/config/install/paragraphs.paragraphs_type.stanford_image_cta.yml @@ -1,4 +1,3 @@ -uuid: 18119ae3-66fa-4c8f-b670-1ec7975e6744 langcode: en status: true dependencies: @@ -6,7 +5,7 @@ dependencies: - 'file:file:14078cff-fbb6-4169-910e-4a2120f908ae' _core: default_config_hash: dlhEqvVrYnZ0RbiQMedBtwJBQ6NErvMrfLfwBmmDmxA -id: image_cta +id: stanford_image_cta label: 'Image CTA' icon_uuid: 14078cff-fbb6-4169-910e-4a2120f908ae icon_default: 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAgEAkACQAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/wAARCADcAZADAREAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eX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793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7w/4h5f+Cev/PH43f8AhzLb/wCZij28/wC793/BD2cfP7z+Tj/gpf8As8/D39lP9tr41/AP4VLra+AvAR+HP9gjxHqa6xrI/wCEo+EvgPxnqn2zUUtbJbnOs+ItRNvi2j8m18iA7zEZG6qcnKCk93fbybRjJJSaXl+R/Zt/wQ9/5RdfswfT40/+tDfFmuSt/El8v/SUbQ+FfP8ANn6v1kWFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAf5P1emch/rA15h1hQAUAFABQAUAF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6LeW+oW/gO18Iaf8NvDusz20qSJZ+LLiDxH4w1nVdFk2t9p0/R9Q8N3FyfLjm1BrX7Ra3SliJNWjFR873+7RfqCprq7/K3+Z/RnYWFjpVjZaXpdlaabpmm2ltYadp1hbQ2djYWNnClvaWVlaW6R29raWtvHHBbW0EccMEMaRRIqKqjnNS3QAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAP/Z' diff --git a/modules/soe_paragraph_stories/config/install/auto_entitylabel.settings.paragraph.soe_stories.yml b/modules/soe_paragraph_stories/config/install/auto_entitylabel.settings.paragraph.stanford_stories.yml similarity index 54% rename from modules/soe_paragraph_stories/config/install/auto_entitylabel.settings.paragraph.soe_stories.yml rename to modules/soe_paragraph_stories/config/install/auto_entitylabel.settings.paragraph.stanford_stories.yml index 130c024..4264263 100644 --- a/modules/soe_paragraph_stories/config/install/auto_entitylabel.settings.paragraph.soe_stories.yml +++ b/modules/soe_paragraph_stories/config/install/auto_entitylabel.settings.paragraph.stanford_stories.yml @@ -3,4 +3,4 @@ pattern: '' escape: false dependencies: config: - - paragraphs.paragraphs_type.soe_stories + - paragraphs.paragraphs_type.stanford_stories diff --git a/modules/soe_paragraph_stories/config/install/core.entity_form_display.paragraph.soe_stories.default.yml b/modules/soe_paragraph_stories/config/install/core.entity_form_display.paragraph.stanford_stories.default.yml similarity index 59% rename from modules/soe_paragraph_stories/config/install/core.entity_form_display.paragraph.soe_stories.default.yml rename to modules/soe_paragraph_stories/config/install/core.entity_form_display.paragraph.stanford_stories.default.yml index 34f48e8..79623a1 100644 --- a/modules/soe_paragraph_stories/config/install/core.entity_form_display.paragraph.soe_stories.default.yml +++ b/modules/soe_paragraph_stories/config/install/core.entity_form_display.paragraph.stanford_stories.default.yml @@ -1,26 +1,25 @@ -uuid: 6940b97b-d888-47a0-bc2b-fa7d2a4cf822 langcode: en status: true dependencies: config: - - field.field.paragraph.soe_stories.su_stories_cta_link - - field.field.paragraph.soe_stories.su_stories_name - - field.field.paragraph.soe_stories.su_stories_node_link - - field.field.paragraph.soe_stories.su_stories_photo - - field.field.paragraph.soe_stories.su_stories_photo_border - - field.field.paragraph.soe_stories.su_stories_quote - - field.field.paragraph.soe_stories.su_stories_title - - paragraphs.paragraphs_type.soe_stories + - field.field.paragraph.stanford_stories.stanford_stories_cta_link + - field.field.paragraph.stanford_stories.stanford_stories_name + - field.field.paragraph.stanford_stories.stanford_stories_node_link + - field.field.paragraph.stanford_stories.stanford_stories_photo + - field.field.paragraph.stanford_stories.stanford_stories_photo_border + - field.field.paragraph.stanford_stories.stanford_stories_quote + - field.field.paragraph.stanford_stories.stanford_stories_title + - paragraphs.paragraphs_type.stanford_stories module: - link - media_library - text -id: paragraph.soe_stories.default +id: paragraph.stanford_stories.default targetEntityType: paragraph -bundle: soe_stories +bundle: stanford_stories mode: default content: - su_stories_cta_link: + stanford_stories_cta_link: weight: 6 settings: placeholder_url: '' @@ -28,7 +27,7 @@ content: third_party_settings: { } type: link_default region: content - su_stories_name: + stanford_stories_name: weight: 0 settings: size: 60 @@ -36,7 +35,7 @@ content: third_party_settings: { } type: string_textfield region: content - su_stories_node_link: + stanford_stories_node_link: weight: 5 settings: placeholder_url: '' @@ -44,20 +43,20 @@ content: third_party_settings: { } type: link_default region: content - su_stories_photo: + stanford_stories_photo: type: media_library_widget weight: 2 settings: media_types: { } third_party_settings: { } region: content - su_stories_photo_border: + stanford_stories_photo_border: weight: 3 settings: { } third_party_settings: { } type: options_select region: content - su_stories_quote: + stanford_stories_quote: weight: 4 settings: size: 60 @@ -65,7 +64,7 @@ content: third_party_settings: { } type: text_textfield region: content - su_stories_title: + stanford_stories_title: weight: 1 settings: size: 60 diff --git a/modules/soe_paragraph_stories/config/install/core.entity_view_display.paragraph.soe_stories.default.yml b/modules/soe_paragraph_stories/config/install/core.entity_view_display.paragraph.stanford_stories.default.yml similarity index 64% rename from modules/soe_paragraph_stories/config/install/core.entity_view_display.paragraph.soe_stories.default.yml rename to modules/soe_paragraph_stories/config/install/core.entity_view_display.paragraph.stanford_stories.default.yml index 5a5b1c2..f99129f 100644 --- a/modules/soe_paragraph_stories/config/install/core.entity_view_display.paragraph.soe_stories.default.yml +++ b/modules/soe_paragraph_stories/config/install/core.entity_view_display.paragraph.stanford_stories.default.yml @@ -1,16 +1,15 @@ -uuid: 3c079e61-363b-4722-a2a4-d358be07c1a8 langcode: en status: true dependencies: config: - - field.field.paragraph.soe_stories.su_stories_cta_link - - field.field.paragraph.soe_stories.su_stories_name - - field.field.paragraph.soe_stories.su_stories_node_link - - field.field.paragraph.soe_stories.su_stories_photo - - field.field.paragraph.soe_stories.su_stories_photo_border - - field.field.paragraph.soe_stories.su_stories_quote - - field.field.paragraph.soe_stories.su_stories_title - - paragraphs.paragraphs_type.soe_stories + - field.field.paragraph.stanford_stories.stanford_stories_cta_link + - field.field.paragraph.stanford_stories.stanford_stories_name + - field.field.paragraph.stanford_stories.stanford_stories_node_link + - field.field.paragraph.stanford_stories.stanford_stories_photo + - field.field.paragraph.stanford_stories.stanford_stories_photo_border + - field.field.paragraph.stanford_stories.stanford_stories_quote + - field.field.paragraph.stanford_stories.stanford_stories_title + - paragraphs.paragraphs_type.stanford_stories module: - ds - field_formatter_class @@ -29,22 +28,22 @@ third_party_settings: variant: default regions: image: - - su_stories_photo + - stanford_stories_photo name: - - su_stories_name - - su_stories_title + - stanford_stories_name + - stanford_stories_title quote: - - su_stories_quote + - stanford_stories_quote link: - - su_stories_node_link + - stanford_stories_node_link cta: - - su_stories_cta_link -id: paragraph.soe_stories.default + - stanford_stories_cta_link +id: paragraph.stanford_stories.default targetEntityType: paragraph -bundle: soe_stories +bundle: stanford_stories mode: default content: - su_stories_cta_link: + stanford_stories_cta_link: type: link weight: 5 region: cta @@ -58,7 +57,7 @@ content: third_party_settings: field_formatter_class: class: 'su-stories-paragraph--cta su-button' - su_stories_name: + stanford_stories_name: weight: 1 label: hidden settings: @@ -68,7 +67,7 @@ content: class: su-stories-paragraph--name type: string region: name - su_stories_node_link: + stanford_stories_node_link: weight: 4 label: hidden settings: @@ -82,7 +81,7 @@ content: class: 'su-stories-paragraph--story-link su-link--external' type: link region: link - su_stories_photo: + stanford_stories_photo: type: entity_reference_entity_view weight: 0 label: hidden @@ -91,7 +90,7 @@ content: link: false third_party_settings: { } region: image - su_stories_quote: + stanford_stories_quote: weight: 3 label: hidden settings: { } @@ -100,7 +99,7 @@ content: class: su-stories-paragraph--quote type: text_default region: quote - su_stories_title: + stanford_stories_title: weight: 2 label: hidden settings: @@ -111,4 +110,4 @@ content: type: string region: name hidden: - su_stories_photo_border: true + stanford_stories_photo_border: true diff --git a/modules/soe_paragraph_stories/config/install/field.field.paragraph.soe_stories.su_stories_cta_link.yml b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_cta_link.yml similarity index 57% rename from modules/soe_paragraph_stories/config/install/field.field.paragraph.soe_stories.su_stories_cta_link.yml rename to modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_cta_link.yml index 482a06d..141d898 100644 --- a/modules/soe_paragraph_stories/config/install/field.field.paragraph.soe_stories.su_stories_cta_link.yml +++ b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_cta_link.yml @@ -1,16 +1,15 @@ -uuid: 1edf331a-4205-4a65-bf91-b6349f355701 langcode: en status: true dependencies: config: - - field.storage.paragraph.su_stories_cta_link - - paragraphs.paragraphs_type.soe_stories + - field.storage.paragraph.stanford_stories_cta_link + - paragraphs.paragraphs_type.stanford_stories module: - link -id: paragraph.soe_stories.su_stories_cta_link -field_name: su_stories_cta_link +id: paragraph.stanford_stories.stanford_stories_cta_link +field_name: stanford_stories_cta_link entity_type: paragraph -bundle: soe_stories +bundle: stanford_stories label: 'CTA Link' description: 'An optional link which will be displayed as a button' required: false diff --git a/modules/soe_paragraph_stories/config/install/field.field.paragraph.soe_stories.su_stories_name.yml b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_name.yml similarity index 52% rename from modules/soe_paragraph_stories/config/install/field.field.paragraph.soe_stories.su_stories_name.yml rename to modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_name.yml index 6e293f5..820be90 100644 --- a/modules/soe_paragraph_stories/config/install/field.field.paragraph.soe_stories.su_stories_name.yml +++ b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_name.yml @@ -1,14 +1,13 @@ -uuid: 4a56fec1-12cc-4f3c-bae2-94f6712916d1 langcode: en status: true dependencies: config: - - field.storage.paragraph.su_stories_name - - paragraphs.paragraphs_type.soe_stories -id: paragraph.soe_stories.su_stories_name -field_name: su_stories_name + - field.storage.paragraph.stanford_stories_name + - paragraphs.paragraphs_type.stanford_stories +id: paragraph.stanford_stories.stanford_stories_name +field_name: stanford_stories_name entity_type: paragraph -bundle: soe_stories +bundle: stanford_stories label: Name description: 'The name of the person profiled.' required: true diff --git a/modules/soe_paragraph_stories/config/install/field.field.paragraph.soe_stories.su_stories_node_link.yml b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_node_link.yml similarity index 55% rename from modules/soe_paragraph_stories/config/install/field.field.paragraph.soe_stories.su_stories_node_link.yml rename to modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_node_link.yml index 844146f..74313b6 100644 --- a/modules/soe_paragraph_stories/config/install/field.field.paragraph.soe_stories.su_stories_node_link.yml +++ b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_node_link.yml @@ -1,16 +1,15 @@ -uuid: 94bd09f0-9e47-47ee-a060-c35a1a8b1949 langcode: en status: true dependencies: config: - - field.storage.paragraph.su_stories_node_link - - paragraphs.paragraphs_type.soe_stories + - field.storage.paragraph.stanford_stories_node_link + - paragraphs.paragraphs_type.stanford_stories module: - link -id: paragraph.soe_stories.su_stories_node_link -field_name: su_stories_node_link +id: paragraph.stanford_stories.stanford_stories_node_link +field_name: stanford_stories_node_link entity_type: paragraph -bundle: soe_stories +bundle: stanford_stories label: 'Link to Story Node' description: 'A link to the full story node' required: true diff --git a/modules/soe_paragraph_stories/config/install/field.field.paragraph.soe_stories.su_stories_photo.yml b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_photo.yml similarity index 66% rename from modules/soe_paragraph_stories/config/install/field.field.paragraph.soe_stories.su_stories_photo.yml rename to modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_photo.yml index 960633b..24eac17 100644 --- a/modules/soe_paragraph_stories/config/install/field.field.paragraph.soe_stories.su_stories_photo.yml +++ b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_photo.yml @@ -1,15 +1,14 @@ -uuid: 5cfed5f9-f429-4ab5-912a-c50668dce5af langcode: en status: true dependencies: config: - - field.storage.paragraph.su_stories_photo + - field.storage.paragraph.stanford_stories_photo - media.type.image - - paragraphs.paragraphs_type.soe_stories -id: paragraph.soe_stories.su_stories_photo -field_name: su_stories_photo + - paragraphs.paragraphs_type.stanford_stories +id: paragraph.stanford_stories.stanford_stories_photo +field_name: stanford_stories_photo entity_type: paragraph -bundle: soe_stories +bundle: stanford_stories label: Photo description: 'A photo of the person. 290px X 290px minimum.' required: true diff --git a/modules/soe_paragraph_stories/config/install/field.field.paragraph.soe_stories.su_stories_photo_border.yml b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_photo_border.yml similarity index 55% rename from modules/soe_paragraph_stories/config/install/field.field.paragraph.soe_stories.su_stories_photo_border.yml rename to modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_photo_border.yml index e5511ad..63650f6 100644 --- a/modules/soe_paragraph_stories/config/install/field.field.paragraph.soe_stories.su_stories_photo_border.yml +++ b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_photo_border.yml @@ -1,16 +1,15 @@ -uuid: 4ed1c2d6-25d4-4d3a-b813-188100772a6a langcode: en status: true dependencies: config: - - field.storage.paragraph.su_stories_photo_border - - paragraphs.paragraphs_type.soe_stories + - field.storage.paragraph.stanford_stories_photo_border + - paragraphs.paragraphs_type.stanford_stories module: - options -id: paragraph.soe_stories.su_stories_photo_border -field_name: su_stories_photo_border +id: paragraph.stanford_stories.stanford_stories_photo_border +field_name: stanford_stories_photo_border entity_type: paragraph -bundle: soe_stories +bundle: stanford_stories label: 'Photo Border Color' description: 'The color of the photo border' required: true diff --git a/modules/soe_paragraph_stories/config/install/field.field.paragraph.soe_stories.su_stories_quote.yml b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_quote.yml similarity index 65% rename from modules/soe_paragraph_stories/config/install/field.field.paragraph.soe_stories.su_stories_quote.yml rename to modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_quote.yml index 91e2e16..831bce3 100644 --- a/modules/soe_paragraph_stories/config/install/field.field.paragraph.soe_stories.su_stories_quote.yml +++ b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_quote.yml @@ -1,10 +1,9 @@ -uuid: 710f7045-be99-4649-b3bf-cb7246afba38 langcode: en status: true dependencies: config: - - field.storage.paragraph.su_stories_quote - - paragraphs.paragraphs_type.soe_stories + - field.storage.paragraph.stanford_stories_quote + - paragraphs.paragraphs_type.stanford_stories module: - allowed_formats - text @@ -13,10 +12,10 @@ third_party_settings: stanford_html: stanford_html stanford_minimal_html: stanford_minimal_html plain_text: plain_text -id: paragraph.soe_stories.su_stories_quote -field_name: su_stories_quote +id: paragraph.stanford_stories.stanford_stories_quote +field_name: stanford_stories_quote entity_type: paragraph -bundle: soe_stories +bundle: stanford_stories label: Quote description: 'Limited to 101 characters' required: true diff --git a/modules/soe_paragraph_stories/config/install/field.field.paragraph.soe_stories.su_stories_title.yml b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_title.yml similarity index 54% rename from modules/soe_paragraph_stories/config/install/field.field.paragraph.soe_stories.su_stories_title.yml rename to modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_title.yml index 5073ac4..01025de 100644 --- a/modules/soe_paragraph_stories/config/install/field.field.paragraph.soe_stories.su_stories_title.yml +++ b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_title.yml @@ -1,14 +1,13 @@ -uuid: fc19d8b3-0317-4a0b-9151-d0ede43ee0dc langcode: en status: true dependencies: config: - - field.storage.paragraph.su_stories_title - - paragraphs.paragraphs_type.soe_stories -id: paragraph.soe_stories.su_stories_title -field_name: su_stories_title + - field.storage.paragraph.stanford_stories_title + - paragraphs.paragraphs_type.stanford_stories +id: paragraph.stanford_stories.stanford_stories_title +field_name: stanford_stories_title entity_type: paragraph -bundle: soe_stories +bundle: stanford_stories label: 'Title and/or Dept' description: 'The title and/or department of the person' required: false diff --git a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.su_stories_cta_link.yml b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_cta_link.yml similarity index 69% rename from modules/soe_paragraph_stories/config/install/field.storage.paragraph.su_stories_cta_link.yml rename to modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_cta_link.yml index dcf5af4..8cb6cc1 100644 --- a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.su_stories_cta_link.yml +++ b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_cta_link.yml @@ -1,12 +1,11 @@ -uuid: f46502da-48a7-44e8-810f-18cee64650f1 langcode: en status: true dependencies: module: - link - paragraphs -id: paragraph.su_stories_cta_link -field_name: su_stories_cta_link +id: paragraph.stanford_stories_cta_link +field_name: stanford_stories_cta_link entity_type: paragraph type: link settings: { } diff --git a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.su_stories_name.yml b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_name.yml similarity index 74% rename from modules/soe_paragraph_stories/config/install/field.storage.paragraph.su_stories_name.yml rename to modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_name.yml index e3f9f58..bcb5f12 100644 --- a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.su_stories_name.yml +++ b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_name.yml @@ -1,11 +1,10 @@ -uuid: 28da393c-1915-4b0f-bc04-bc755be8978a langcode: en status: true dependencies: module: - paragraphs -id: paragraph.su_stories_name -field_name: su_stories_name +id: paragraph.stanford_stories_name +field_name: stanford_stories_name entity_type: paragraph type: string settings: diff --git a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.su_stories_node_link.yml b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_node_link.yml similarity index 69% rename from modules/soe_paragraph_stories/config/install/field.storage.paragraph.su_stories_node_link.yml rename to modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_node_link.yml index 1c59110..c50e6dc 100644 --- a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.su_stories_node_link.yml +++ b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_node_link.yml @@ -1,12 +1,11 @@ -uuid: bedbb3f1-a71e-43e5-b23a-c93d42bf87ca langcode: en status: true dependencies: module: - link - paragraphs -id: paragraph.su_stories_node_link -field_name: su_stories_node_link +id: paragraph.stanford_stories_node_link +field_name: stanford_stories_node_link entity_type: paragraph type: link settings: { } diff --git a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.su_stories_photo.yml b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_photo.yml similarity index 73% rename from modules/soe_paragraph_stories/config/install/field.storage.paragraph.su_stories_photo.yml rename to modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_photo.yml index 76e34d0..6120b1c 100644 --- a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.su_stories_photo.yml +++ b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_photo.yml @@ -1,12 +1,11 @@ -uuid: a5e8bf0d-457f-4027-bd2e-a7bb54edac33 langcode: en status: true dependencies: module: - media - paragraphs -id: paragraph.su_stories_photo -field_name: su_stories_photo +id: paragraph.stanford_stories_photo +field_name: stanford_stories_photo entity_type: paragraph type: entity_reference settings: diff --git a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.su_stories_photo_border.yml b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_photo_border.yml similarity index 79% rename from modules/soe_paragraph_stories/config/install/field.storage.paragraph.su_stories_photo_border.yml rename to modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_photo_border.yml index d8a7c93..e1fd009 100644 --- a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.su_stories_photo_border.yml +++ b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_photo_border.yml @@ -1,12 +1,11 @@ -uuid: 64b2f165-0a24-4b8c-9840-1e1f33c2a2fd langcode: en status: true dependencies: module: - options - paragraphs -id: paragraph.su_stories_photo_border -field_name: su_stories_photo_border +id: paragraph.stanford_stories_photo_border +field_name: stanford_stories_photo_border entity_type: paragraph type: list_string settings: diff --git a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.su_stories_quote.yml b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_quote.yml similarity index 72% rename from modules/soe_paragraph_stories/config/install/field.storage.paragraph.su_stories_quote.yml rename to modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_quote.yml index 9f24bdd..e82d803 100644 --- a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.su_stories_quote.yml +++ b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_quote.yml @@ -1,12 +1,11 @@ -uuid: 99ca2283-3bed-4156-8feb-64d0cc9e6959 langcode: en status: true dependencies: module: - paragraphs - text -id: paragraph.su_stories_quote -field_name: su_stories_quote +id: paragraph.stanford_stories_quote +field_name: stanford_stories_quote entity_type: paragraph type: text settings: diff --git a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.su_stories_title.yml b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_title.yml similarity index 74% rename from modules/soe_paragraph_stories/config/install/field.storage.paragraph.su_stories_title.yml rename to modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_title.yml index a5d9fda..a328c03 100644 --- a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.su_stories_title.yml +++ b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_title.yml @@ -1,11 +1,10 @@ -uuid: 6adfbb5a-7799-407c-87c3-fe517f15e438 langcode: en status: true dependencies: module: - paragraphs -id: paragraph.su_stories_title -field_name: su_stories_title +id: paragraph.stanford_stories_title +field_name: stanford_stories_title entity_type: paragraph type: string settings: diff --git a/modules/soe_paragraph_stories/config/install/paragraphs.paragraphs_type.soe_stories.yml b/modules/soe_paragraph_stories/config/install/paragraphs.paragraphs_type.stanford_stories.yml similarity index 71% rename from modules/soe_paragraph_stories/config/install/paragraphs.paragraphs_type.soe_stories.yml rename to modules/soe_paragraph_stories/config/install/paragraphs.paragraphs_type.stanford_stories.yml index da7bc4d..970e174 100644 --- a/modules/soe_paragraph_stories/config/install/paragraphs.paragraphs_type.soe_stories.yml +++ b/modules/soe_paragraph_stories/config/install/paragraphs.paragraphs_type.stanford_stories.yml @@ -1,8 +1,7 @@ -uuid: 6e81ffa8-9797-4da8-851f-00c6a4827502 langcode: en status: true dependencies: { } -id: soe_stories +id: stanford_stories label: Stories icon_uuid: null icon_default: null From d3451845066628470e87e2fec553a1ad7dae7acc Mon Sep 17 00:00:00 2001 From: Ian Monroe Date: Tue, 16 Jun 2020 10:08:46 -0600 Subject: [PATCH 28/40] D8CORE-000: updates and fixes for soe paragraphs --- dist/css/cta-list-paragraph.styles.css | 17 +- dist/css/image-cta-paragraph.styles.css | 21 +- dist/css/stories-paragraph.styles.css | 208 ++++++++++-------- lib/scss/components/cta-list/_cta-list.scss | 5 +- lib/scss/components/image-cta/_image_cta.scss | 22 +- lib/scss/components/stories/_stories.scss | 61 ++++- .../templates/cta-list-paragraph.html.twig | 70 +++--- .../cta-list-paragraph.ui_patterns.yml | 10 +- .../templates/image-cta-paragraph.html.twig | 10 +- .../image-cta-paragraph.ui_patterns.yml | 24 +- .../templates/stories-paragraph.html.twig | 40 ++-- .../stories-paragraph.ui_patterns.yml | 14 +- 12 files changed, 270 insertions(+), 232 deletions(-) diff --git a/dist/css/cta-list-paragraph.styles.css b/dist/css/cta-list-paragraph.styles.css index 1256a28..4fc13a2 100644 --- a/dist/css/cta-list-paragraph.styles.css +++ b/dist/css/cta-list-paragraph.styles.css @@ -52,11 +52,9 @@ .su-cta-list-paragraph { padding-right: 1.9rem; } } .su-cta-list-paragraph .su-cta-list-paragraph--header { - font-size: 1.953125em; - letter-spacing: -0.016em; } - @media (max-width: 767px) { - .su-cta-list-paragraph .su-cta-list-paragraph--header { - font-size: 1.66015625em; } } + font-size: 1.5625em; + letter-spacing: -0.012em; + font-weight: 700; } @media only screen and (min-width: 0) { .su-cta-list-paragraph .su-cta-list-paragraph--header { margin-bottom: 2.31rem; } } @@ -90,15 +88,6 @@ -ms-flex-wrap: wrap; flex-wrap: wrap; width: 100%; } - @media only screen and (min-width: 0) { - .su-cta-list-paragraph .su-cta-list--links { - padding-bottom: 9.6rem; } } - @media only screen and (min-width: 768px) { - .su-cta-list-paragraph .su-cta-list--links { - padding-bottom: 10.8rem; } } - @media only screen and (min-width: 1500px) { - .su-cta-list-paragraph .su-cta-list--links { - padding-bottom: 11.4rem; } } @media only screen and (min-width: 0) and (max-width: 575px) { .su-cta-list-paragraph .su-cta-list--links { display: block; diff --git a/dist/css/image-cta-paragraph.styles.css b/dist/css/image-cta-paragraph.styles.css index c50cdc0..fc6c920 100644 --- a/dist/css/image-cta-paragraph.styles.css +++ b/dist/css/image-cta-paragraph.styles.css @@ -1,7 +1,3 @@ -@media (max-width: 767px) { - .ptype-image-cta { - margin-bottom: 0; } } - @media only screen and (max-width: 767px) and (min-width: 0) { .su-image-cta-paragraph { margin-bottom: 2.31rem; } } @@ -16,15 +12,15 @@ @media only screen and (min-width: 0) { .su-image-cta-paragraph .su-image-cta-paragraph--image { - margin-bottom: 2.31rem; } } + margin-bottom: 1.6rem; } } @media only screen and (min-width: 768px) { .su-image-cta-paragraph .su-image-cta-paragraph--image { - margin-bottom: 2.6rem; } } + margin-bottom: 1.8rem; } } @media only screen and (min-width: 1500px) { .su-image-cta-paragraph .su-image-cta-paragraph--image { - margin-bottom: 2.74rem; } } + margin-bottom: 1.9rem; } } @media (max-width: 767px) { .su-image-cta-paragraph .su-image-cta-paragraph--image { @@ -43,14 +39,19 @@ margin-bottom: 11.4rem; } } .su-image-cta-paragraph .su-image-cta-paragraph--link a { - color: #b1040e; } + color: #b1040e; + text-decoration: none; } + .su-image-cta-paragraph .su-image-cta-paragraph--link a:hover { + color: #2e2d29; } + .su-image-cta-paragraph .su-image-cta-paragraph--link a:focus { + color: #2e2d29; } .su-image-cta-paragraph .su-image-cta-paragraph--link::after { background-color: #b1040e; } .su-image-cta-paragraph .su-image-cta-paragraph--link::after:hover { - background-color: #b1040e; } + background-color: #2e2d29; } .su-image-cta-paragraph .su-image-cta-paragraph--link::after:focus { - background-color: #b1040e; } + background-color: #2e2d29; } .su-image-cta-paragraph .su-image-cta-paragraph--link::after:active { background-color: #b1040e; } diff --git a/dist/css/stories-paragraph.styles.css b/dist/css/stories-paragraph.styles.css index 5c0b486..df14039 100644 --- a/dist/css/stories-paragraph.styles.css +++ b/dist/css/stories-paragraph.styles.css @@ -2,40 +2,40 @@ .su-stories-paragraph .su-stories--grid-spacer { display: none; } } -.su-stories-paragraph .su-stories--card { +.su-stories-paragraph .su-stories-paragraph--card { border: 1px solid #e3e3e3; -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.13), 0px 3px 6px rgba(0, 0, 0, 0.1); box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.13), 0px 3px 6px rgba(0, 0, 0, 0.1); display: block; background-color: #ffffff; } @media only screen and (min-width: 0) and (max-width: 575px) { - .su-stories-paragraph .su-stories--card img, - .su-stories-paragraph .su-stories--card figure { + .su-stories-paragraph .su-stories-paragraph--card img, + .su-stories-paragraph .su-stories-paragraph--card figure { display: none; } } - .su-stories-paragraph .su-stories--card .su-card__contents { + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents { font-family: "Source Sans Pro", "Helvetica Neue", "Helvetica", "Arial", sans-serif; } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories--card .su-card__contents { + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents { padding: 3.2rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories--card .su-card__contents { + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents { padding: 3.6rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories--card .su-card__contents { + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents { padding: 3.8rem; } } - .su-stories-paragraph .su-stories--card .su-card__contents p { + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents p { font-size: 1.8rem; line-height: 1.3; } @media (max-width: 767px) { - .su-stories-paragraph .su-stories--card .su-card__contents p { + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents p { font-size: 1.6rem; } } - .su-stories-paragraph .su-stories--card .su-card__contents > *:first-child { + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > *:first-child { padding-top: 0; margin-top: -0.3em; } - .su-stories-paragraph .su-stories--card .su-card__contents > *:last-child:not(.su-card__button) { + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > *:last-child:not(.su-card__button) { padding-bottom: 0; margin-bottom: 0; } - .su-stories-paragraph .su-stories--card .su-card__contents > span { + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > span { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; margin-top: 0; @@ -45,80 +45,80 @@ font-size: 0.9em; display: block; } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories--card .su-card__contents > span { + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > span { margin-bottom: 0.53rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories--card .su-card__contents > span { + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > span { margin-bottom: 0.6rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories--card .su-card__contents > span { + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > span { margin-bottom: 0.63rem; } } - .su-stories-paragraph .su-stories--card .su-card__contents > span a { + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > span a { text-decoration: none; font-weight: 700; } - .su-stories-paragraph .su-stories--card .su-card__contents > h2 { + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > h2 { font-size: 1.5625em; letter-spacing: -0.012em; } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories--card .su-card__contents > h2 { + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > h2 { margin-bottom: 1.07rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories--card .su-card__contents > h2 { + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > h2 { margin-bottom: 1.2rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories--card .su-card__contents > h2 { + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > h2 { margin-bottom: 1.27rem; } } - .su-stories-paragraph .su-stories--card .su-card__contents > h2 > a { + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > h2 > a { font-weight: 700; -webkit-transition: color 0.3s ease-out; transition: color 0.3s ease-out; } - .su-stories-paragraph .su-stories--card .su-card__contents > h2 > a:hover, .su-stories-paragraph .su-stories--card .su-card__contents > h2 > a:focus { + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > h2 > a:hover, .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > h2 > a:focus { color: #b1040e; text-decoration: underline; } - .su-stories-paragraph .su-stories--card .su-card__contents > div:not(.su-card__button) { + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > div:not(.su-card__button) { line-height: 1.4; } - .su-stories-paragraph .su-stories--card .su-card__contents > div:not(.su-card__button), - .su-stories-paragraph .su-stories--card .su-card__contents > p:last-of-type { + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > div:not(.su-card__button), + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > p:last-of-type { margin-bottom: 0; } - .su-stories-paragraph .su-stories--card .su-card__contents > .su-link--action:not(:first-child), - .su-stories-paragraph .su-stories--card .su-card__contents > a:not(:first-child) { + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > .su-link--action:not(:first-child), + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > a:not(:first-child) { display: inline-block; } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories--card .su-card__contents > .su-link--action:not(:first-child), - .su-stories-paragraph .su-stories--card .su-card__contents > a:not(:first-child) { + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > .su-link--action:not(:first-child), + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > a:not(:first-child) { margin-top: 1.07rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories--card .su-card__contents > .su-link--action:not(:first-child), - .su-stories-paragraph .su-stories--card .su-card__contents > a:not(:first-child) { + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > .su-link--action:not(:first-child), + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > a:not(:first-child) { margin-top: 1.2rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories--card .su-card__contents > .su-link--action:not(:first-child), - .su-stories-paragraph .su-stories--card .su-card__contents > a:not(:first-child) { + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > .su-link--action:not(:first-child), + .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > a:not(:first-child) { margin-top: 1.27rem; } } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories--card .su-card__button { + .su-stories-paragraph .su-stories-paragraph--card .su-card__button { margin-top: 2.31rem; margin-bottom: 0.53rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories--card .su-card__button { + .su-stories-paragraph .su-stories-paragraph--card .su-card__button { margin-top: 2.6rem; margin-bottom: 0.6rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories--card .su-card__button { + .su-stories-paragraph .su-stories-paragraph--card .su-card__button { margin-top: 2.74rem; margin-bottom: 0.63rem; } } @media only screen and (min-width: 0) and (max-width: 575px) { - .su-stories-paragraph .su-stories--card .su-card__button .su-button { + .su-stories-paragraph .su-stories-paragraph--card .su-card__button .su-button { width: auto; } } - .su-stories-paragraph .su-stories--card a .su-media__wrapper img { + .su-stories-paragraph .su-stories-paragraph--card a .su-media__wrapper img { -webkit-transition: -webkit-transform 0.3s ease-in-out; transition: -webkit-transform 0.3s ease-in-out; transition: transform 0.3s ease-in-out; transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out; } - .su-stories-paragraph .su-stories--card a:hover .su-media__wrapper img, .su-stories-paragraph .su-stories--card a:focus .su-media__wrapper img { + .su-stories-paragraph .su-stories-paragraph--card a:hover .su-media__wrapper img, .su-stories-paragraph .su-stories-paragraph--card a:focus .su-media__wrapper img { -webkit-transform: scale(1.03); transform: scale(1.03); } - .su-stories-paragraph .su-stories--card .su-stories--content { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--content { display: -webkit-box; display: -ms-flexbox; display: flex; @@ -130,60 +130,69 @@ -ms-flex-pack: start; justify-content: flex-start; } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories--card .su-stories--content { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--content { padding: 3.2rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories--card .su-stories--content { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--content { padding: 3.6rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories--card .su-stories--content { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--content { padding: 3.8rem; } } @media (max-width: 767px) { - .su-stories-paragraph .su-stories--card .su-stories--content { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--content { display: block; } } @media only screen and (max-width: 767px) and (min-width: 0) { - .su-stories-paragraph .su-stories--card .su-stories--content { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--content { padding-top: 1.6rem; } } @media only screen and (max-width: 767px) and (min-width: 768px) { - .su-stories-paragraph .su-stories--card .su-stories--content { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--content { padding-top: 1.8rem; } } @media only screen and (max-width: 767px) and (min-width: 1500px) { - .su-stories-paragraph .su-stories--card .su-stories--content { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--content { padding-top: 1.9rem; } } - .su-stories-paragraph .su-stories--card .su-stories-photo img { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo .stanford-stories-photo-border { + display: none; } + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo.border-color-default img { + border: 6px #000000 solid; } + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo.border-color-1 img { + border: 6px #00ECE9 solid; } + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo.border-color-2 img { + border: 6px #FF525C solid; } + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo.border-color-3 img { + border: 6px #FFBD54 solid; } + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { width: 290px; height: 290px; min-width: 290px; min-height: 290px; border-radius: 50%; - border: 6px #000000 solid; overflow: hidden; } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories--card .su-stories-photo img { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { margin-left: 3.2rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories--card .su-stories-photo img { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { margin-left: 3.6rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories--card .su-stories-photo img { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { margin-left: 3.8rem; } } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories--card .su-stories-photo img { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { margin-right: 6.4rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories--card .su-stories-photo img { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { margin-right: 7.2rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories--card .su-stories-photo img { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { margin-right: 7.6rem; } } @media (min-width: 768px) and (max-width: 1199px) { - .su-stories-paragraph .su-stories--card .su-stories-photo img { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { width: 255px; height: 255px; min-width: 255px; min-height: 255px; } } @media (max-width: 767px) { - .su-stories-paragraph .su-stories--card .su-stories-photo img { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { display: block; margin-left: auto; margin-right: auto; @@ -193,79 +202,84 @@ min-width: 220px; min-height: 220px; } } @media only screen and (max-width: 767px) and (min-width: 0) { - .su-stories-paragraph .su-stories--card .su-stories-photo img { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { margin-top: 3.2rem; } } @media only screen and (max-width: 767px) and (min-width: 768px) { - .su-stories-paragraph .su-stories--card .su-stories-photo img { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { margin-top: 3.6rem; } } @media only screen and (max-width: 767px) and (min-width: 1500px) { - .su-stories-paragraph .su-stories--card .su-stories-photo img { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { margin-top: 3.8rem; } } @media only screen and (max-width: 767px) and (min-width: 0) { - .su-stories-paragraph .su-stories--card .su-stories-photo img { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { margin-bottom: 3.2rem; } } @media only screen and (max-width: 767px) and (min-width: 768px) { - .su-stories-paragraph .su-stories--card .su-stories-photo img { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { margin-bottom: 3.6rem; } } @media only screen and (max-width: 767px) and (min-width: 1500px) { - .su-stories-paragraph .su-stories--card .su-stories-photo img { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { margin-bottom: 3.8rem; } } @media (max-width: 767px) { - .su-stories-paragraph .su-stories--card .su-stories--details { + .su-stories-paragraph .su-stories-paragraph--card .su-stories--details { display: block; } } - .su-stories-paragraph .su-stories--card .su-stories-name { - font-size: 1.953125em; - letter-spacing: -0.016em; } - @media (max-width: 767px) { - .su-stories-paragraph .su-stories--card .su-stories-name { - font-size: 1.66015625em; } } + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--name { + font-size: 1.25em; + letter-spacing: -0.01em; + font-weight: 800; } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories--card .su-stories-name { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--name { margin-top: 1.6rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories--card .su-stories-name { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--name { margin-top: 1.8rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories--card .su-stories-name { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--name { margin-top: 1.9rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories--card .su-stories-title { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--title { font-size: 2.1rem; line-height: 1.7; } } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories--card .su-stories-title { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--title { margin-bottom: 1.6rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories--card .su-stories-title { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--title { margin-bottom: 1.8rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories--card .su-stories-title { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--title { margin-bottom: 1.9rem; } } - .su-stories-paragraph .su-stories--card .su-stories-quote { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--quote { font-size: 2.44140625em; - letter-spacing: -0.016em; } + letter-spacing: -0.016em; + font-weight: 800; } @media (max-width: 767px) { - .su-stories-paragraph .su-stories--card .su-stories-quote { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--quote { font-size: 2.0751953125em; } } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories--card .su-stories-quote { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--quote { margin-bottom: 4rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories--card .su-stories-quote { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--quote { margin-bottom: 4.5rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories--card .su-stories-quote { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--quote { margin-bottom: 4.75rem; } } - @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories--card .su-stories-node-link { - margin-bottom: 8rem; } } - @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories--card .su-stories-node-link { - margin-bottom: 9rem; } } - @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories--card .su-stories-node-link { - margin-bottom: 9.5rem; } } - .su-stories-paragraph .su-stories--card .su-stories--cta { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--node-link { + text-decoration: none; } + @media only screen and (min-width: 0) { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--node-link { + margin-bottom: 8rem; } } + @media only screen and (min-width: 768px) { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--node-link { + margin-bottom: 9rem; } } + @media only screen and (min-width: 1500px) { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--node-link { + margin-bottom: 9.5rem; } } + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--node-link:hover { + text-decoration: underline; } + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--node-link:active { + text-decoration: underline; } + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--cta-region { display: -webkit-box; display: -ms-flexbox; display: flex; @@ -273,15 +287,15 @@ -ms-flex-pack: center; justify-content: center; } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories--card .su-stories--cta { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--cta-region { padding-bottom: 6.4rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories--card .su-stories--cta { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--cta-region { padding-bottom: 7.2rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories--card .su-stories--cta { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--cta-region { padding-bottom: 7.6rem; } } - .su-stories-paragraph .su-stories--card .su-stories--cta .su-stories-cta-link a { + .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--cta-region .su-stories-paragraph--cta a { color: #fff; } diff --git a/lib/scss/components/cta-list/_cta-list.scss b/lib/scss/components/cta-list/_cta-list.scss index 03a6ee6..e52d39d 100644 --- a/lib/scss/components/cta-list/_cta-list.scss +++ b/lib/scss/components/cta-list/_cta-list.scss @@ -9,13 +9,13 @@ border-top: 1px solid $su-color-cool-grey-25; @include grid-media-max('md') { - @include modular-spacing('padding-left', 0); @include modular-spacing('padding-right', 0); } .su-cta-list-paragraph--header { - @include type-b; + @include type-c; + font-weight: 700; @include modular-spacing('margin-bottom', 1); } @@ -25,7 +25,6 @@ } .su-cta-list--links { - @include modular-spacing('padding-bottom', 7); display: flex; flex-direction: row; flex-wrap: wrap; diff --git a/lib/scss/components/image-cta/_image_cta.scss b/lib/scss/components/image-cta/_image_cta.scss index ae92800..9161a92 100644 --- a/lib/scss/components/image-cta/_image_cta.scss +++ b/lib/scss/components/image-cta/_image_cta.scss @@ -1,12 +1,5 @@ @charset 'UTF-8'; -.ptype-image-cta { - - @include grid-media-between('xs', 'sm') { - margin-bottom: 0; - }; -} - .su-image-cta-paragraph { @include grid-media-between('xs', 'sm') { @@ -14,7 +7,7 @@ }; .su-image-cta-paragraph--image { - @include modular-spacing('margin-bottom', 1); + @include modular-spacing('margin-bottom', 0); @include grid-media-between('xs', 'sm') { display: none; @@ -26,17 +19,26 @@ a { color: $su-color-bright-red; + text-decoration: none; + + &:hover { + color: $su-color-black; + } + + &:focus { + color: $su-color-black; + } } &::after { background-color: $su-color-bright-red; &:hover { - background-color: $su-color-bright-red; + background-color: $su-color-black; } &:focus { - background-color: $su-color-bright-red; + background-color: $su-color-black; } &:active { diff --git a/lib/scss/components/stories/_stories.scss b/lib/scss/components/stories/_stories.scss index 5b1cd6d..40860d5 100644 --- a/lib/scss/components/stories/_stories.scss +++ b/lib/scss/components/stories/_stories.scss @@ -6,10 +6,10 @@ }; } - .su-stories--card { + .su-stories-paragraph--card { @include card; - .su-stories--content { + .su-stories-paragraph--content { display: flex; flex-direction: row; justify-content: flex-start; @@ -20,7 +20,35 @@ }; } - .su-stories-photo { + .su-stories-paragraph--photo { + + .stanford-stories-photo-border { + display: none; + } + + &.border-color-default { + img { + border: 6px #000000 solid; + } + } + + &.border-color-1 { + img { + border: 6px #00ECE9 solid; + } + } + + &.border-color-2 { + img { + border: 6px #FF525C solid; + } + } + + &.border-color-3 { + img { + border: 6px #FFBD54 solid; + } + } img { width: 290px; @@ -28,7 +56,6 @@ min-width: 290px; min-height: 290px; border-radius: 50%; - border: 6px #000000 solid; overflow: hidden; @include modular-spacing('margin-left', 2); @include modular-spacing('margin-right', 5); @@ -56,37 +83,47 @@ } .su-stories--details { - @include grid-media-between('xs', 'sm') { display: block; }; } - .su-stories-name { - @include type-b; + .su-stories-paragraph--name { + @include type-d; + font-weight: 800; @include modular-spacing('margin-top', 0); } - .su-stories-title { + .su-stories-paragraph--title { @include big-paragraph; @include modular-spacing('margin-bottom', 0); } - .su-stories-quote { + .su-stories-paragraph--quote { @include type-a; + font-weight: 800; @include modular-spacing('margin-bottom', 3); } - .su-stories-node-link { + .su-stories-paragraph--node-link { @include modular-spacing('margin-bottom', 6); + text-decoration: none; + + &:hover { + text-decoration: underline; + } + + &:active { + text-decoration: underline; + } } - .su-stories--cta { + .su-stories-paragraph--cta-region { display: flex; justify-content: center; @include modular-spacing('padding-bottom', 5); - .su-stories-cta-link { + .su-stories-paragraph--cta { a { color: #fff; } diff --git a/modules/soe_paragraph_cta_list/templates/cta-list-paragraph.html.twig b/modules/soe_paragraph_cta_list/templates/cta-list-paragraph.html.twig index d44eea5..aa375ad 100644 --- a/modules/soe_paragraph_cta_list/templates/cta-list-paragraph.html.twig +++ b/modules/soe_paragraph_cta_list/templates/cta-list-paragraph.html.twig @@ -8,40 +8,60 @@ * * Available variables: * - * {{ header }} - * {{ deck }} + * {{ paragraph_content }} * {{ links }} * */ #} {%- set attributes = attributes.addClass(['su-cta-list-paragraph', modifier_class]) -%} -{%- set link_count = links.su_cta_list_links['#items']|length -%} +{%- set field_keys = links|keys -%} +{%- set field_name = field_keys[0] -%} +{%- set field_info = links[field_name] -%} +{%- set field_items = field_info["#items"] -%} +{%- set link_count = field_items|length -%} +{%- set formatter_class = field_info['#third_party_settings']['field_formatter_class']['class'] -%} + {# We need to figure out how many links go in each column. #} {%- if link_count%2 == 0 -%} - {%- set col_1_link_count = link_count/2 -%} + {%- set col_1_link_count = link_count/2 -%} {%- else -%} - {%- set col_1_link_count = ((link_count/2)-(1/2))+1 -%} + {%- set col_1_link_count = link_count//2 + 1 -%} {%- endif -%} - {{ header }} - {{ deck }} - + + {{ paragraph_content }} + + diff --git a/modules/soe_paragraph_cta_list/templates/cta-list-paragraph.ui_patterns.yml b/modules/soe_paragraph_cta_list/templates/cta-list-paragraph.ui_patterns.yml index de46da9..242f8b4 100644 --- a/modules/soe_paragraph_cta_list/templates/cta-list-paragraph.ui_patterns.yml +++ b/modules/soe_paragraph_cta_list/templates/cta-list-paragraph.ui_patterns.yml @@ -6,14 +6,10 @@ cta-list-paragraph: label: Default Description: "Default" fields: - header: + paragraph_content: type: text - label: "Header" - description: "The headline text for the paragraph" - deck: - type: text - label: "Deck" - description: "The body text for the paragraph" + label: "Content" + description: "The headline and description text for the paragraph" links: type: text label: "Links" diff --git a/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.html.twig b/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.html.twig index 9675417..9e168f8 100644 --- a/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.html.twig +++ b/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.html.twig @@ -8,8 +8,7 @@ * * Available variables: * - * {{ image }} - * {{ link }} + * {{ paragraph_content }} * */ #} @@ -17,10 +16,5 @@ {%- set attributes = attributes.addClass(['su-image-cta-paragraph', modifier_class]) -%} - {# kint() #} - - {{ image }} - - {{ link }} - + {{ paragraph_content }} diff --git a/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.ui_patterns.yml b/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.ui_patterns.yml index 5b768d6..17c212f 100644 --- a/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.ui_patterns.yml +++ b/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.ui_patterns.yml @@ -5,31 +5,11 @@ image-cta-paragraph: default: label: Minimal description: "Minimal" - minimal: - label: Card - description: "Card" - modifier_class: su-image-cta-paragraph--card - color1: - label: "Color 1" - description: "Color Button Variant 1" - modifier_class: su-image-cta-paragraph--color-1 - color2: - label: "Color 2" - description: "Color Button Variant 2" - modifier_class: su-image-cta-paragraph--color-2 - color3: - label: "Color 3" - description: "Color Button Variant 3" - modifier_class: su-image-cta-paragraph--color-3 fields: - image: + paragraph_content: type: text - label: "Image" + label: "Content" description: "The image to display for the Paragraph" - link: - type: text - label: "CTA Link" - description: "The link to display for the Paragraph" use: "@soe_paragraph_image_cta/image-cta-paragraph.html.twig" libraries: - image-cta-paragraph: diff --git a/modules/soe_paragraph_stories/templates/stories-paragraph.html.twig b/modules/soe_paragraph_stories/templates/stories-paragraph.html.twig index 74d521d..b217a04 100644 --- a/modules/soe_paragraph_stories/templates/stories-paragraph.html.twig +++ b/modules/soe_paragraph_stories/templates/stories-paragraph.html.twig @@ -8,29 +8,43 @@ * Available variables: * * {{ image }} - * {{ name }} - * {{ quote }} - * {{ link }} + * {{ paragraph_content }} * {{ cta }} - * {{ attributes }} - * {{ variant }} * */ #} {%- set attributes = attributes.addClass(['su-stories-paragraph', modifier_class]) -%} +{%- set img_variant_keys = image|keys -%} +{%- set img_variant_field_name = img_variant_keys[1] -%} +{%- set img_variant_field = image[img_variant_field_name] -%} +{%- set img_variant_value = img_variant_field['#items'][0].value -%} + +{%- if img_variant_value == 1 -%} +{%- set border_color = 'border-color-1' -%} +{%- elseif img_variant_value == 2 -%} +{%- set border_color = 'border-color-2' -%} +{%- elseif img_variant_value == 3 -%} +{%- set border_color = 'border-color-3' -%} +{%- else -%} +{%- set border_color = 'border-color-default' -%} +{%- endif -%} + +{%- set img_attributes = attributes.addClass('su-stories-paragraph--photo', border_color) -%} + -
-
- {{ image }} -
- {{ name }} - {{ quote }} - {{ link }} + {{ kint(border_color) }} +
+
+ + {{ image }} +
+
+ {{ paragraph_content }}
-
+
{{ cta }}
diff --git a/modules/soe_paragraph_stories/templates/stories-paragraph.ui_patterns.yml b/modules/soe_paragraph_stories/templates/stories-paragraph.ui_patterns.yml index cac65cc..4f4c1f2 100644 --- a/modules/soe_paragraph_stories/templates/stories-paragraph.ui_patterns.yml +++ b/modules/soe_paragraph_stories/templates/stories-paragraph.ui_patterns.yml @@ -10,18 +10,10 @@ stories-paragraph: type: text label: "Image" description: "The image to display for the Paragraph" - name: + paragraph_content: type: text - label: "Name" - description: "The name and title of the person" - quote: - type: text - label: "Quote" - description: "The quote to feature" - link: - type: text - label: "Links" - description: "The link to the full story" + label: "Content" + description: "The main content area" cta: type: text label: "CTA" From 62d4ee976bf14f42dfd4a5389c35dc524d253b3b Mon Sep 17 00:00:00 2001 From: Ian Monroe Date: Tue, 16 Jun 2020 14:19:48 -0600 Subject: [PATCH 29/40] D8CORE-000: finished styling fixes --- dist/css/stories-paragraph.styles.css | 206 +++++++++--------- lib/scss/components/stories/_stories.scss | 179 ++++++++------- .../templates/stories-paragraph.html.twig | 35 +-- .../stories-paragraph.ui_patterns.yml | 10 +- 4 files changed, 217 insertions(+), 213 deletions(-) diff --git a/dist/css/stories-paragraph.styles.css b/dist/css/stories-paragraph.styles.css index df14039..27b01f5 100644 --- a/dist/css/stories-paragraph.styles.css +++ b/dist/css/stories-paragraph.styles.css @@ -1,41 +1,37 @@ -@media (max-width: 767px) { - .su-stories-paragraph .su-stories--grid-spacer { - display: none; } } - -.su-stories-paragraph .su-stories-paragraph--card { +.su-stories-paragraph { border: 1px solid #e3e3e3; -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.13), 0px 3px 6px rgba(0, 0, 0, 0.1); box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.13), 0px 3px 6px rgba(0, 0, 0, 0.1); display: block; background-color: #ffffff; } @media only screen and (min-width: 0) and (max-width: 575px) { - .su-stories-paragraph .su-stories-paragraph--card img, - .su-stories-paragraph .su-stories-paragraph--card figure { + .su-stories-paragraph img, + .su-stories-paragraph figure { display: none; } } - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents { + .su-stories-paragraph .su-card__contents { font-family: "Source Sans Pro", "Helvetica Neue", "Helvetica", "Arial", sans-serif; } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents { + .su-stories-paragraph .su-card__contents { padding: 3.2rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents { + .su-stories-paragraph .su-card__contents { padding: 3.6rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents { + .su-stories-paragraph .su-card__contents { padding: 3.8rem; } } - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents p { + .su-stories-paragraph .su-card__contents p { font-size: 1.8rem; line-height: 1.3; } @media (max-width: 767px) { - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents p { + .su-stories-paragraph .su-card__contents p { font-size: 1.6rem; } } - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > *:first-child { + .su-stories-paragraph .su-card__contents > *:first-child { padding-top: 0; margin-top: -0.3em; } - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > *:last-child:not(.su-card__button) { + .su-stories-paragraph .su-card__contents > *:last-child:not(.su-card__button) { padding-bottom: 0; margin-bottom: 0; } - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > span { + .su-stories-paragraph .su-card__contents > span { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; margin-top: 0; @@ -45,80 +41,80 @@ font-size: 0.9em; display: block; } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > span { + .su-stories-paragraph .su-card__contents > span { margin-bottom: 0.53rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > span { + .su-stories-paragraph .su-card__contents > span { margin-bottom: 0.6rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > span { + .su-stories-paragraph .su-card__contents > span { margin-bottom: 0.63rem; } } - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > span a { + .su-stories-paragraph .su-card__contents > span a { text-decoration: none; font-weight: 700; } - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > h2 { + .su-stories-paragraph .su-card__contents > h2 { font-size: 1.5625em; letter-spacing: -0.012em; } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > h2 { + .su-stories-paragraph .su-card__contents > h2 { margin-bottom: 1.07rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > h2 { + .su-stories-paragraph .su-card__contents > h2 { margin-bottom: 1.2rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > h2 { + .su-stories-paragraph .su-card__contents > h2 { margin-bottom: 1.27rem; } } - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > h2 > a { + .su-stories-paragraph .su-card__contents > h2 > a { font-weight: 700; -webkit-transition: color 0.3s ease-out; transition: color 0.3s ease-out; } - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > h2 > a:hover, .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > h2 > a:focus { + .su-stories-paragraph .su-card__contents > h2 > a:hover, .su-stories-paragraph .su-card__contents > h2 > a:focus { color: #b1040e; text-decoration: underline; } - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > div:not(.su-card__button) { + .su-stories-paragraph .su-card__contents > div:not(.su-card__button) { line-height: 1.4; } - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > div:not(.su-card__button), - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > p:last-of-type { + .su-stories-paragraph .su-card__contents > div:not(.su-card__button), + .su-stories-paragraph .su-card__contents > p:last-of-type { margin-bottom: 0; } - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > .su-link--action:not(:first-child), - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > a:not(:first-child) { + .su-stories-paragraph .su-card__contents > .su-link--action:not(:first-child), + .su-stories-paragraph .su-card__contents > a:not(:first-child) { display: inline-block; } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > .su-link--action:not(:first-child), - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > a:not(:first-child) { + .su-stories-paragraph .su-card__contents > .su-link--action:not(:first-child), + .su-stories-paragraph .su-card__contents > a:not(:first-child) { margin-top: 1.07rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > .su-link--action:not(:first-child), - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > a:not(:first-child) { + .su-stories-paragraph .su-card__contents > .su-link--action:not(:first-child), + .su-stories-paragraph .su-card__contents > a:not(:first-child) { margin-top: 1.2rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > .su-link--action:not(:first-child), - .su-stories-paragraph .su-stories-paragraph--card .su-card__contents > a:not(:first-child) { + .su-stories-paragraph .su-card__contents > .su-link--action:not(:first-child), + .su-stories-paragraph .su-card__contents > a:not(:first-child) { margin-top: 1.27rem; } } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--card .su-card__button { + .su-stories-paragraph .su-card__button { margin-top: 2.31rem; margin-bottom: 0.53rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--card .su-card__button { + .su-stories-paragraph .su-card__button { margin-top: 2.6rem; margin-bottom: 0.6rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--card .su-card__button { + .su-stories-paragraph .su-card__button { margin-top: 2.74rem; margin-bottom: 0.63rem; } } @media only screen and (min-width: 0) and (max-width: 575px) { - .su-stories-paragraph .su-stories-paragraph--card .su-card__button .su-button { + .su-stories-paragraph .su-card__button .su-button { width: auto; } } - .su-stories-paragraph .su-stories-paragraph--card a .su-media__wrapper img { + .su-stories-paragraph a .su-media__wrapper img { -webkit-transition: -webkit-transform 0.3s ease-in-out; transition: -webkit-transform 0.3s ease-in-out; transition: transform 0.3s ease-in-out; transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out; } - .su-stories-paragraph .su-stories-paragraph--card a:hover .su-media__wrapper img, .su-stories-paragraph .su-stories-paragraph--card a:focus .su-media__wrapper img { + .su-stories-paragraph a:hover .su-media__wrapper img, .su-stories-paragraph a:focus .su-media__wrapper img { -webkit-transform: scale(1.03); transform: scale(1.03); } - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--content { + .su-stories-paragraph .su-stories-paragraph--content { display: -webkit-box; display: -ms-flexbox; display: flex; @@ -130,37 +126,37 @@ -ms-flex-pack: start; justify-content: flex-start; } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--content { + .su-stories-paragraph .su-stories-paragraph--content { padding: 3.2rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--content { + .su-stories-paragraph .su-stories-paragraph--content { padding: 3.6rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--content { + .su-stories-paragraph .su-stories-paragraph--content { padding: 3.8rem; } } @media (max-width: 767px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--content { + .su-stories-paragraph .su-stories-paragraph--content { display: block; } } @media only screen and (max-width: 767px) and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--content { + .su-stories-paragraph .su-stories-paragraph--content { padding-top: 1.6rem; } } @media only screen and (max-width: 767px) and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--content { + .su-stories-paragraph .su-stories-paragraph--content { padding-top: 1.8rem; } } @media only screen and (max-width: 767px) and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--content { + .su-stories-paragraph .su-stories-paragraph--content { padding-top: 1.9rem; } } - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo .stanford-stories-photo-border { + .su-stories-paragraph .su-stories-paragraph--photo .stanford-stories-photo-border { display: none; } - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo.border-color-default img { + .su-stories-paragraph .su-stories-paragraph--photo.border-color-default img { border: 6px #000000 solid; } - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo.border-color-1 img { - border: 6px #00ECE9 solid; } - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo.border-color-2 img { - border: 6px #FF525C solid; } - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo.border-color-3 img { - border: 6px #FFBD54 solid; } - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { + .su-stories-paragraph .su-stories-paragraph--photo.border-color-1 img { + border: 6px #00ece9 solid; } + .su-stories-paragraph .su-stories-paragraph--photo.border-color-2 img { + border: 6px #ff525c solid; } + .su-stories-paragraph .su-stories-paragraph--photo.border-color-3 img { + border: 6px #ffbd54 solid; } + .su-stories-paragraph .su-stories-paragraph--photo img { width: 290px; height: 290px; min-width: 290px; @@ -168,31 +164,31 @@ border-radius: 50%; overflow: hidden; } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { + .su-stories-paragraph .su-stories-paragraph--photo img { margin-left: 3.2rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { + .su-stories-paragraph .su-stories-paragraph--photo img { margin-left: 3.6rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { + .su-stories-paragraph .su-stories-paragraph--photo img { margin-left: 3.8rem; } } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { + .su-stories-paragraph .su-stories-paragraph--photo img { margin-right: 6.4rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { + .su-stories-paragraph .su-stories-paragraph--photo img { margin-right: 7.2rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { + .su-stories-paragraph .su-stories-paragraph--photo img { margin-right: 7.6rem; } } @media (min-width: 768px) and (max-width: 1199px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { + .su-stories-paragraph .su-stories-paragraph--photo img { width: 255px; height: 255px; min-width: 255px; min-height: 255px; } } @media (max-width: 767px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { + .su-stories-paragraph .su-stories-paragraph--photo img { display: block; margin-left: auto; margin-right: auto; @@ -202,84 +198,84 @@ min-width: 220px; min-height: 220px; } } @media only screen and (max-width: 767px) and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { + .su-stories-paragraph .su-stories-paragraph--photo img { margin-top: 3.2rem; } } @media only screen and (max-width: 767px) and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { + .su-stories-paragraph .su-stories-paragraph--photo img { margin-top: 3.6rem; } } @media only screen and (max-width: 767px) and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { + .su-stories-paragraph .su-stories-paragraph--photo img { margin-top: 3.8rem; } } @media only screen and (max-width: 767px) and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { + .su-stories-paragraph .su-stories-paragraph--photo img { margin-bottom: 3.2rem; } } @media only screen and (max-width: 767px) and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { + .su-stories-paragraph .su-stories-paragraph--photo img { margin-bottom: 3.6rem; } } @media only screen and (max-width: 767px) and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--photo img { + .su-stories-paragraph .su-stories-paragraph--photo img { margin-bottom: 3.8rem; } } @media (max-width: 767px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories--details { + .su-stories-paragraph .su-stories--details { display: block; } } - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--name { + .su-stories-paragraph .su-stories-paragraph--name { font-size: 1.25em; letter-spacing: -0.01em; font-weight: 800; } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--name { + .su-stories-paragraph .su-stories-paragraph--name { margin-top: 1.6rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--name { + .su-stories-paragraph .su-stories-paragraph--name { margin-top: 1.8rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--name { + .su-stories-paragraph .su-stories-paragraph--name { margin-top: 1.9rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--title { + .su-stories-paragraph .su-stories-paragraph--title { font-size: 2.1rem; line-height: 1.7; } } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--title { + .su-stories-paragraph .su-stories-paragraph--title { margin-bottom: 1.6rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--title { + .su-stories-paragraph .su-stories-paragraph--title { margin-bottom: 1.8rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--title { + .su-stories-paragraph .su-stories-paragraph--title { margin-bottom: 1.9rem; } } - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--quote { + .su-stories-paragraph .su-stories-paragraph--quote { font-size: 2.44140625em; letter-spacing: -0.016em; font-weight: 800; } @media (max-width: 767px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--quote { + .su-stories-paragraph .su-stories-paragraph--quote { font-size: 2.0751953125em; } } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--quote { + .su-stories-paragraph .su-stories-paragraph--quote { margin-bottom: 4rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--quote { + .su-stories-paragraph .su-stories-paragraph--quote { margin-bottom: 4.5rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--quote { + .su-stories-paragraph .su-stories-paragraph--quote { margin-bottom: 4.75rem; } } - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--node-link { + @media only screen and (min-width: 0) { + .su-stories-paragraph .su-stories-paragraph--node-link { + margin-bottom: 8rem; } } + @media only screen and (min-width: 768px) { + .su-stories-paragraph .su-stories-paragraph--node-link { + margin-bottom: 9rem; } } + @media only screen and (min-width: 1500px) { + .su-stories-paragraph .su-stories-paragraph--node-link { + margin-bottom: 9.5rem; } } + .su-stories-paragraph .su-stories-paragraph--node-link a { text-decoration: none; } - @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--node-link { - margin-bottom: 8rem; } } - @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--node-link { - margin-bottom: 9rem; } } - @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--node-link { - margin-bottom: 9.5rem; } } - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--node-link:hover { + .su-stories-paragraph .su-stories-paragraph--node-link a:hover { text-decoration: underline; } - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--node-link:active { + .su-stories-paragraph .su-stories-paragraph--node-link a:active { text-decoration: underline; } - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--cta-region { + .su-stories-paragraph .su-stories-paragraph--cta-region { display: -webkit-box; display: -ms-flexbox; display: flex; @@ -287,15 +283,15 @@ -ms-flex-pack: center; justify-content: center; } @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--cta-region { + .su-stories-paragraph .su-stories-paragraph--cta-region { padding-bottom: 6.4rem; } } @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--cta-region { + .su-stories-paragraph .su-stories-paragraph--cta-region { padding-bottom: 7.2rem; } } @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--cta-region { + .su-stories-paragraph .su-stories-paragraph--cta-region { padding-bottom: 7.6rem; } } - .su-stories-paragraph .su-stories-paragraph--card .su-stories-paragraph--cta-region .su-stories-paragraph--cta a { + .su-stories-paragraph .su-stories-paragraph--cta-region .su-stories-paragraph--cta a { color: #fff; } diff --git a/lib/scss/components/stories/_stories.scss b/lib/scss/components/stories/_stories.scss index 40860d5..84d0678 100644 --- a/lib/scss/components/stories/_stories.scss +++ b/lib/scss/components/stories/_stories.scss @@ -1,112 +1,106 @@ .su-stories-paragraph { + @include card; - .su-stories--grid-spacer { + .su-stories-paragraph--content { + display: flex; + flex-direction: row; + justify-content: flex-start; + @include modular-spacing('padding', 2); @include grid-media-between('xs', 'sm') { - display: none; + display: block; + @include modular-spacing('padding-top', 0); }; } - .su-stories-paragraph--card { - @include card; + .su-stories-paragraph--photo { - .su-stories-paragraph--content { - display: flex; - flex-direction: row; - justify-content: flex-start; - @include modular-spacing('padding', 2); - @include grid-media-between('xs', 'sm') { - display: block; - @include modular-spacing('padding-top', 0); - }; + .stanford-stories-photo-border { + display: none; } - .su-stories-paragraph--photo { - - .stanford-stories-photo-border { - display: none; - } - - &.border-color-default { - img { - border: 6px #000000 solid; - } - } - - &.border-color-1 { - img { - border: 6px #00ECE9 solid; - } + &.border-color-default { + img { + border: 6px #000000 solid; } + } - &.border-color-2 { - img { - border: 6px #FF525C solid; - } + &.border-color-1 { + img { + border: 6px #00ece9 solid; } + } - &.border-color-3 { - img { - border: 6px #FFBD54 solid; - } + &.border-color-2 { + img { + border: 6px #ff525c solid; } + } + &.border-color-3 { img { - width: 290px; - height: 290px; - min-width: 290px; - min-height: 290px; - border-radius: 50%; - overflow: hidden; - @include modular-spacing('margin-left', 2); - @include modular-spacing('margin-right', 5); - - @include grid-media-between('md', 'lg') { - width: 255px; - height: 255px; - min-width: 255px; - min-height: 255px; - }; - - @include grid-media-between('xs', 'sm') { - display: block; - @include modular-spacing('margin-top', 2); - @include modular-spacing('margin-bottom', 2); - margin-left: auto; - margin-right: auto; - padding: 0; - width: 220px; - height: 220px; - min-width: 220px; - min-height: 220px; - }; + border: 6px #ffbd54 solid; + } } - } - .su-stories--details { + img { + width: 290px; + height: 290px; + min-width: 290px; + min-height: 290px; + border-radius: 50%; + overflow: hidden; + @include modular-spacing('margin-left', 2); + @include modular-spacing('margin-right', 5); + + @include grid-media-between('md', 'lg') { + width: 255px; + height: 255px; + min-width: 255px; + min-height: 255px; + }; + @include grid-media-between('xs', 'sm') { display: block; + @include modular-spacing('margin-top', 2); + @include modular-spacing('margin-bottom', 2); + margin-left: auto; + margin-right: auto; + padding: 0; + width: 220px; + height: 220px; + min-width: 220px; + min-height: 220px; }; - } + } +} - .su-stories-paragraph--name { - @include type-d; - font-weight: 800; - @include modular-spacing('margin-top', 0); - } + .su-stories--details { + @include grid-media-between('xs', 'sm') { + display: block; + }; + } - .su-stories-paragraph--title { - @include big-paragraph; - @include modular-spacing('margin-bottom', 0); - } + .su-stories-paragraph--name { + @include type-d; + font-weight: 800; + @include modular-spacing('margin-top', 0); + } - .su-stories-paragraph--quote { - @include type-a; - font-weight: 800; - @include modular-spacing('margin-bottom', 3); - } + .su-stories-paragraph--title { + @include big-paragraph; + @include modular-spacing('margin-bottom', 0); + } - .su-stories-paragraph--node-link { - @include modular-spacing('margin-bottom', 6); + .su-stories-paragraph--quote { + @include type-a; + font-weight: 800; + @include modular-spacing('margin-bottom', 3); + } + + .su-stories-paragraph--node-link { + @include modular-spacing('margin-bottom', 6); + + a { text-decoration: none; &:hover { @@ -117,17 +111,18 @@ text-decoration: underline; } } + } - .su-stories-paragraph--cta-region { - display: flex; - justify-content: center; - @include modular-spacing('padding-bottom', 5); + .su-stories-paragraph--cta-region { + display: flex; + justify-content: center; + @include modular-spacing('padding-bottom', 5); - .su-stories-paragraph--cta { - a { - color: #fff; - } + .su-stories-paragraph--cta { + a { + color: #fff; } } } } + diff --git a/modules/soe_paragraph_stories/templates/stories-paragraph.html.twig b/modules/soe_paragraph_stories/templates/stories-paragraph.html.twig index b217a04..7877b17 100644 --- a/modules/soe_paragraph_stories/templates/stories-paragraph.html.twig +++ b/modules/soe_paragraph_stories/templates/stories-paragraph.html.twig @@ -13,7 +13,6 @@ * */ #} - {%- set attributes = attributes.addClass(['su-stories-paragraph', modifier_class]) -%} {%- set img_variant_keys = image|keys -%} @@ -30,22 +29,28 @@ {%- else -%} {%- set border_color = 'border-color-default' -%} {%- endif -%} +{%- set img_attributes = create_attribute() -%} +{%- set img_classes = ['su-stories-paragraph--photo', border_color] -%} -{%- set img_attributes = attributes.addClass('su-stories-paragraph--photo', border_color) -%} +{%- set quote_keys = quote|keys -%} +{%- set quote_field_name = quote_keys[0] -%} +{%- set quote_field = quote[quote_field_name] -%} +{%- set quote_value = quote_field['#items'][0].value -%} - {{ kint(border_color) }} -
-
- - {{ image }} -
-
- {{ paragraph_content }} -
-
-
- {{ cta }} -
+
+ + {{ image }} +
+
+ {{ person_content }} +
+

"{{ quote_value }} ..."

+
+ {{ link }}
+
+
+ {{ cta }} +
diff --git a/modules/soe_paragraph_stories/templates/stories-paragraph.ui_patterns.yml b/modules/soe_paragraph_stories/templates/stories-paragraph.ui_patterns.yml index 4f4c1f2..d40bb8f 100644 --- a/modules/soe_paragraph_stories/templates/stories-paragraph.ui_patterns.yml +++ b/modules/soe_paragraph_stories/templates/stories-paragraph.ui_patterns.yml @@ -10,10 +10,18 @@ stories-paragraph: type: text label: "Image" description: "The image to display for the Paragraph" - paragraph_content: + person_content: type: text label: "Content" description: "The main content area" + quote: + type: text + label: "Quote" + description: "The quote for the story" + link: + type: text + label: "Link" + description: "Link to the story node" cta: type: text label: "CTA" From 9468571216f53579e371ed57bd4a75aba4998084 Mon Sep 17 00:00:00 2001 From: Ian Monroe Date: Tue, 16 Jun 2020 14:34:53 -0600 Subject: [PATCH 30/40] D8CORE-000: updated install configs --- ...ay.paragraph.stanford_cta_list.default.yml | 2 +- ...ay.paragraph.stanford_cta_list.default.yml | 17 +++--- ...anford_cta_list.stanford_cta_list_deck.yml | 2 +- ...ford_cta_list.stanford_cta_list_header.yml | 2 +- ...nford_cta_list.stanford_cta_list_links.yml | 2 +- ...orage.paragraph.stanford_cta_list_deck.yml | 2 +- ...age.paragraph.stanford_cta_list_header.yml | 2 +- ...rage.paragraph.stanford_cta_list_links.yml | 2 +- ...aphs.paragraphs_type.stanford_cta_list.yml | 2 +- ...y.paragraph.stanford_image_cta.default.yml | 2 +- ...y.paragraph.stanford_image_cta.default.yml | 15 +++--- ...ord_image_cta.stanford_image_cta_image.yml | 2 +- ...ford_image_cta.stanford_image_cta_link.yml | 2 +- ...age.paragraph.stanford_image_cta_image.yml | 2 +- ...rage.paragraph.stanford_image_cta_link.yml | 2 +- ...phs.paragraphs_type.stanford_image_cta.yml | 2 +- ...el.settings.paragraph.stanford_stories.yml | 2 + ...lay.paragraph.stanford_stories.default.yml | 2 + ...lay.paragraph.stanford_stories.default.yml | 54 +++++++++++-------- ...ford_stories.stanford_stories_cta_link.yml | 2 + ...stanford_stories.stanford_stories_name.yml | 2 + ...ord_stories.stanford_stories_node_link.yml | 2 + ...tanford_stories.stanford_stories_photo.yml | 2 + ..._stories.stanford_stories_photo_border.yml | 2 + ...tanford_stories.stanford_stories_quote.yml | 2 + ...tanford_stories.stanford_stories_title.yml | 2 + ...ge.paragraph.stanford_stories_cta_link.yml | 2 + ...torage.paragraph.stanford_stories_name.yml | 2 + ...e.paragraph.stanford_stories_node_link.yml | 2 + ...orage.paragraph.stanford_stories_photo.yml | 2 + ...aragraph.stanford_stories_photo_border.yml | 8 +-- ...orage.paragraph.stanford_stories_quote.yml | 2 + ...orage.paragraph.stanford_stories_title.yml | 2 + ...raphs.paragraphs_type.stanford_stories.yml | 2 + 34 files changed, 100 insertions(+), 54 deletions(-) diff --git a/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.stanford_cta_list.default.yml b/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.stanford_cta_list.default.yml index f24b18e..12a8f54 100644 --- a/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.stanford_cta_list.default.yml +++ b/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.stanford_cta_list.default.yml @@ -10,7 +10,7 @@ dependencies: - link - text _core: - default_config_hash: mpkYLQiF3YOEyv3YucHgRTJ2GnVHarLmHH_RxLMUB-Q + default_config_hash: 8-3k3Re6RhoAeNiBzg8L-mRpnI3Pd5Mad54fiisIy50 id: paragraph.stanford_cta_list.default targetEntityType: paragraph bundle: stanford_cta_list diff --git a/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.stanford_cta_list.default.yml b/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.stanford_cta_list.default.yml index 5a10dfa..0c92ff5 100644 --- a/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.stanford_cta_list.default.yml +++ b/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.stanford_cta_list.default.yml @@ -10,6 +10,7 @@ dependencies: - ds - field_formatter_class - link + - stanford_fields - text third_party_settings: ds: @@ -23,38 +24,38 @@ third_party_settings: field_templates: default variant: default regions: - header: + paragraph_content: - stanford_cta_list_header - deck: - stanford_cta_list_deck links: - stanford_cta_list_links _core: - default_config_hash: PLmkh9jzI6OU7Zi057Qf3WyUwD-vIVaEe0MnzqBfDms + default_config_hash: xISn3fHI5NABbqI3RBPYtT8Qsdy-0ihpqrcBOK06h0s id: paragraph.stanford_cta_list.default targetEntityType: paragraph bundle: stanford_cta_list mode: default content: stanford_cta_list_deck: + type: text_default weight: 1 + region: paragraph_content label: hidden settings: { } third_party_settings: field_formatter_class: class: su-cta-list-paragraph--description - type: text_default - region: deck stanford_cta_list_header: weight: 0 label: hidden settings: - link_to_entity: false + tag: h2 + linked: false third_party_settings: field_formatter_class: class: su-cta-list-paragraph--header - type: string - region: header + type: entity_title_heading + region: paragraph_content stanford_cta_list_links: weight: 2 label: hidden diff --git a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_deck.yml b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_deck.yml index e474f71..67fbd74 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_deck.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_deck.yml @@ -13,7 +13,7 @@ third_party_settings: stanford_minimal_html: stanford_minimal_html plain_text: '0' _core: - default_config_hash: p9Bf_-CWTOBDMXcTqVL7qhX5kx25z9_Ty1wYg4KbWWo + default_config_hash: lsrxQ_Cq4Q5_5nj_y1qM-D5A8gCPeJcXaGXQyxBlXXM id: paragraph.stanford_cta_list.stanford_cta_list_deck field_name: stanford_cta_list_deck entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_header.yml b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_header.yml index 128e708..7cee465 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_header.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_header.yml @@ -5,7 +5,7 @@ dependencies: - field.storage.paragraph.stanford_cta_list_header - paragraphs.paragraphs_type.stanford_cta_list _core: - default_config_hash: Rr4fnDHW1aIu8zLU0wQyXR3iT03Qw7xSUgnI67sjb2o + default_config_hash: MmhdcgpmwNhcvxOHFU4EmdyclaHQ7T1yNbvDJ-EM3eo id: paragraph.stanford_cta_list.stanford_cta_list_header field_name: stanford_cta_list_header entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_links.yml b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_links.yml index dd6d6eb..f70f9ca 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_links.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_links.yml @@ -7,7 +7,7 @@ dependencies: module: - link _core: - default_config_hash: 1vOrSEFtzm6rA5mw96sEn8T05i9P-DPkYy99C6wecDk + default_config_hash: 2yjary7iXepayh1cg6Ocl-hHM42XiZoOhtrwhNuCFL4 id: paragraph.stanford_cta_list.stanford_cta_list_links field_name: stanford_cta_list_links entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_deck.yml b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_deck.yml index 7b74b77..08fd4f8 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_deck.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_deck.yml @@ -5,7 +5,7 @@ dependencies: - paragraphs - text _core: - default_config_hash: gyhOj3z9nel3P1plyLM_otVsdpOKLOQgStN5X7eh6qk + default_config_hash: LtlZ42J-qHkAQ7eB5Eel9sZR_SzfJRbj63uEPox2y6M id: paragraph.stanford_cta_list_deck field_name: stanford_cta_list_deck entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_header.yml b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_header.yml index b11576c..6ada7f9 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_header.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_header.yml @@ -4,7 +4,7 @@ dependencies: module: - paragraphs _core: - default_config_hash: 3hifLqiklAhlRVJD_Um0FX91G4o13vkQ47oPJPPFeYU + default_config_hash: hXv_nKb7SHyTvptscg4Sl3-IY5JX1Rzc78TBhtvlEiY id: paragraph.stanford_cta_list_header field_name: stanford_cta_list_header entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_links.yml b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_links.yml index e794349..dcb9a08 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_links.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_links.yml @@ -5,7 +5,7 @@ dependencies: - link - paragraphs _core: - default_config_hash: I6pgQ7_zPiWO7gscVylgGncHeZoiyZQkE2TgtpJSKdM + default_config_hash: 5sVPzuyUMJiWakSZh16cumCdYJ9CoaqLTwehWmCG7W4 id: paragraph.stanford_cta_list_links field_name: stanford_cta_list_links entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.stanford_cta_list.yml b/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.stanford_cta_list.yml index cae47c6..c15d9d8 100644 --- a/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.stanford_cta_list.yml +++ b/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.stanford_cta_list.yml @@ -4,7 +4,7 @@ dependencies: content: - 'file:file:c3718e90-6b13-40c4-961a-bb0a28f6ad1c' _core: - default_config_hash: '-PxPJz2He0UqrQXYVGm9QVGMw9nrviZLOmcSPaE4_Bw' + default_config_hash: iCof49g28pulKoK92MKJwHbAmWOijq1QBc1VQuxYCK0 id: stanford_cta_list label: 'CTA List' icon_uuid: c3718e90-6b13-40c4-961a-bb0a28f6ad1c diff --git a/modules/soe_paragraph_image_cta/config/install/core.entity_form_display.paragraph.stanford_image_cta.default.yml b/modules/soe_paragraph_image_cta/config/install/core.entity_form_display.paragraph.stanford_image_cta.default.yml index 9996891..65e1824 100644 --- a/modules/soe_paragraph_image_cta/config/install/core.entity_form_display.paragraph.stanford_image_cta.default.yml +++ b/modules/soe_paragraph_image_cta/config/install/core.entity_form_display.paragraph.stanford_image_cta.default.yml @@ -9,7 +9,7 @@ dependencies: - link - media_library _core: - default_config_hash: WGy-emJw-zxlb0arGBdCooGabZhJsSA6nOJmJ0rboKw + default_config_hash: SSiFjKqCzs4FY8jobbiFxfzMruv4_c4g3pNMvVDbQGA id: paragraph.stanford_image_cta.default targetEntityType: paragraph bundle: stanford_image_cta diff --git a/modules/soe_paragraph_image_cta/config/install/core.entity_view_display.paragraph.stanford_image_cta.default.yml b/modules/soe_paragraph_image_cta/config/install/core.entity_view_display.paragraph.stanford_image_cta.default.yml index 4ec7d4f..f1fc676 100644 --- a/modules/soe_paragraph_image_cta/config/install/core.entity_view_display.paragraph.stanford_image_cta.default.yml +++ b/modules/soe_paragraph_image_cta/config/install/core.entity_view_display.paragraph.stanford_image_cta.default.yml @@ -22,19 +22,18 @@ third_party_settings: field_templates: default variant: default regions: - image: + paragraph_content: - stanford_image_cta_image - link: - stanford_image_cta_link _core: - default_config_hash: BpSjneacUWnuKWYre5UiKK7BeIDibO6xRBvmVWcsdIU + default_config_hash: N8C8SLINs76Viq8HFAM9cUDyNPmLiK_5TvBTlTTMnEI id: paragraph.stanford_image_cta.default targetEntityType: paragraph bundle: stanford_image_cta mode: default content: stanford_image_cta_image: - type: media_responsive_image_formatter + type: media_image_formatter weight: 0 label: hidden settings: @@ -44,9 +43,11 @@ content: third_party_settings: field_formatter_class: class: su-image-cta-paragraph--image - region: image + region: paragraph_content stanford_image_cta_link: + type: link weight: 1 + region: paragraph_content label: hidden settings: trim_length: 80 @@ -56,7 +57,5 @@ content: target: '0' third_party_settings: field_formatter_class: - class: 'su-image-cta-paragraph--link su-link--action' - type: link - region: link + class: 'su-link--action su-image-cta-paragraph--link' hidden: { } diff --git a/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.stanford_image_cta.stanford_image_cta_image.yml b/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.stanford_image_cta.stanford_image_cta_image.yml index 25f3ef5..2378f48 100644 --- a/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.stanford_image_cta.stanford_image_cta_image.yml +++ b/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.stanford_image_cta.stanford_image_cta_image.yml @@ -6,7 +6,7 @@ dependencies: - media.type.image - paragraphs.paragraphs_type.stanford_image_cta _core: - default_config_hash: FSXP5Gc0Hcn7OmnHWRrT-TIjW_qhhdNT9DGBNi0ZxP8 + default_config_hash: f4nPxPxVFqzQF7iquqUf2sNaAa51pAqZ6N2JUyPyltA id: paragraph.stanford_image_cta.stanford_image_cta_image field_name: stanford_image_cta_image entity_type: paragraph diff --git a/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.stanford_image_cta.stanford_image_cta_link.yml b/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.stanford_image_cta.stanford_image_cta_link.yml index f199b69..0e51448 100644 --- a/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.stanford_image_cta.stanford_image_cta_link.yml +++ b/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.stanford_image_cta.stanford_image_cta_link.yml @@ -7,7 +7,7 @@ dependencies: module: - link _core: - default_config_hash: zKndToKcolk_vCqAIc1JNDMpQRlP0gR7NweS-N_Vtj8 + default_config_hash: YZ3ijPyoTxLHZgucaD4xwah5BNQaykkhUVq4z4Hd74Q id: paragraph.stanford_image_cta.stanford_image_cta_link field_name: stanford_image_cta_link entity_type: paragraph diff --git a/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.stanford_image_cta_image.yml b/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.stanford_image_cta_image.yml index ce72b03..ae574b9 100644 --- a/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.stanford_image_cta_image.yml +++ b/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.stanford_image_cta_image.yml @@ -5,7 +5,7 @@ dependencies: - media - paragraphs _core: - default_config_hash: YRnvQ6yz4j3CohCFnKEeQyfP30eYppKEv8tMNBMgTeQ + default_config_hash: V_ar39-OQHcjMjBUDZkr7GXO9Y3VRyFKXEpKglBpw5k id: paragraph.stanford_image_cta_image field_name: stanford_image_cta_image entity_type: paragraph diff --git a/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.stanford_image_cta_link.yml b/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.stanford_image_cta_link.yml index 10a2b34..13bfe89 100644 --- a/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.stanford_image_cta_link.yml +++ b/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.stanford_image_cta_link.yml @@ -5,7 +5,7 @@ dependencies: - link - paragraphs _core: - default_config_hash: Grayuth8KxguFlK1T8E6QjvJU6STrM2o4fSJqXfCwj4 + default_config_hash: 5IzQU2RCSqeeOjzXyJBdcYbBVxSvePycRmxZBmLIunI id: paragraph.stanford_image_cta_link field_name: stanford_image_cta_link entity_type: paragraph diff --git a/modules/soe_paragraph_image_cta/config/install/paragraphs.paragraphs_type.stanford_image_cta.yml b/modules/soe_paragraph_image_cta/config/install/paragraphs.paragraphs_type.stanford_image_cta.yml index f7f208c..9cd9282 100644 --- a/modules/soe_paragraph_image_cta/config/install/paragraphs.paragraphs_type.stanford_image_cta.yml +++ b/modules/soe_paragraph_image_cta/config/install/paragraphs.paragraphs_type.stanford_image_cta.yml @@ -4,7 +4,7 @@ dependencies: content: - 'file:file:14078cff-fbb6-4169-910e-4a2120f908ae' _core: - default_config_hash: dlhEqvVrYnZ0RbiQMedBtwJBQ6NErvMrfLfwBmmDmxA + default_config_hash: R9DE8aBxaEVrkl0M0dIDZt_JThL0nyHc3JWkoyat-IQ id: stanford_image_cta label: 'Image CTA' icon_uuid: 14078cff-fbb6-4169-910e-4a2120f908ae diff --git a/modules/soe_paragraph_stories/config/install/auto_entitylabel.settings.paragraph.stanford_stories.yml b/modules/soe_paragraph_stories/config/install/auto_entitylabel.settings.paragraph.stanford_stories.yml index 4264263..492acf9 100644 --- a/modules/soe_paragraph_stories/config/install/auto_entitylabel.settings.paragraph.stanford_stories.yml +++ b/modules/soe_paragraph_stories/config/install/auto_entitylabel.settings.paragraph.stanford_stories.yml @@ -4,3 +4,5 @@ escape: false dependencies: config: - paragraphs.paragraphs_type.stanford_stories +_core: + default_config_hash: e8Eja5nTh7L_xKj2v4Ec-qND-dg85AcxbItMj922PrM diff --git a/modules/soe_paragraph_stories/config/install/core.entity_form_display.paragraph.stanford_stories.default.yml b/modules/soe_paragraph_stories/config/install/core.entity_form_display.paragraph.stanford_stories.default.yml index 79623a1..0353af8 100644 --- a/modules/soe_paragraph_stories/config/install/core.entity_form_display.paragraph.stanford_stories.default.yml +++ b/modules/soe_paragraph_stories/config/install/core.entity_form_display.paragraph.stanford_stories.default.yml @@ -14,6 +14,8 @@ dependencies: - link - media_library - text +_core: + default_config_hash: '--S9HShOJu52GqNrdV6ztXkBcZybZO0a7QGqUbG7QHI' id: paragraph.stanford_stories.default targetEntityType: paragraph bundle: stanford_stories diff --git a/modules/soe_paragraph_stories/config/install/core.entity_view_display.paragraph.stanford_stories.default.yml b/modules/soe_paragraph_stories/config/install/core.entity_view_display.paragraph.stanford_stories.default.yml index f99129f..c002173 100644 --- a/modules/soe_paragraph_stories/config/install/core.entity_view_display.paragraph.stanford_stories.default.yml +++ b/modules/soe_paragraph_stories/config/install/core.entity_view_display.paragraph.stanford_stories.default.yml @@ -14,6 +14,8 @@ dependencies: - ds - field_formatter_class - link + - options + - stanford_media - text third_party_settings: ds: @@ -29,7 +31,8 @@ third_party_settings: regions: image: - stanford_stories_photo - name: + - stanford_stories_photo_border + person_content: - stanford_stories_name - stanford_stories_title quote: @@ -38,6 +41,8 @@ third_party_settings: - stanford_stories_node_link cta: - stanford_stories_cta_link +_core: + default_config_hash: 02O7gZXP9P8m2VofA9QrJ45HCimNF5Doy4bCTJgr8R8 id: paragraph.stanford_stories.default targetEntityType: paragraph bundle: stanford_stories @@ -45,7 +50,7 @@ mode: default content: stanford_stories_cta_link: type: link - weight: 5 + weight: 6 region: cta label: hidden settings: @@ -58,7 +63,7 @@ content: field_formatter_class: class: 'su-stories-paragraph--cta su-button' stanford_stories_name: - weight: 1 + weight: 2 label: hidden settings: link_to_entity: false @@ -66,9 +71,11 @@ content: field_formatter_class: class: su-stories-paragraph--name type: string - region: name + region: person_content stanford_stories_node_link: - weight: 4 + type: link + weight: 5 + region: link label: hidden settings: trim_length: 80 @@ -78,36 +85,41 @@ content: target: '0' third_party_settings: field_formatter_class: - class: 'su-stories-paragraph--story-link su-link--external' - type: link - region: link + class: 'su-link--external su-stories-paragraph--node-link' stanford_stories_photo: - type: entity_reference_entity_view + type: media_responsive_image_formatter weight: 0 label: hidden settings: - view_mode: default + view_mode: stanford_image_large_square + image_style: '' link: false - third_party_settings: { } + third_party_settings: + field_formatter_class: + class: su-stories-paragraph--photo + region: image + stanford_stories_photo_border: + type: list_key + weight: 1 region: image - stanford_stories_quote: - weight: 3 label: hidden settings: { } - third_party_settings: - field_formatter_class: - class: su-stories-paragraph--quote + third_party_settings: { } + stanford_stories_quote: type: text_default + weight: 4 region: quote + label: hidden + settings: { } + third_party_settings: { } stanford_stories_title: - weight: 2 + type: string + weight: 3 + region: person_content label: hidden settings: link_to_entity: false third_party_settings: field_formatter_class: class: su-stories-paragraph--title - type: string - region: name -hidden: - stanford_stories_photo_border: true +hidden: { } diff --git a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_cta_link.yml b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_cta_link.yml index 141d898..b65e013 100644 --- a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_cta_link.yml +++ b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_cta_link.yml @@ -6,6 +6,8 @@ dependencies: - paragraphs.paragraphs_type.stanford_stories module: - link +_core: + default_config_hash: orQ61VVge669iPVXTBJq1sO_fL-K8SSK_UVtr2OmFyk id: paragraph.stanford_stories.stanford_stories_cta_link field_name: stanford_stories_cta_link entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_name.yml b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_name.yml index 820be90..c85ab66 100644 --- a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_name.yml +++ b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_name.yml @@ -4,6 +4,8 @@ dependencies: config: - field.storage.paragraph.stanford_stories_name - paragraphs.paragraphs_type.stanford_stories +_core: + default_config_hash: GFullkNsmnmTxSQ-zHgKWih-8T6xcxMfonGgyJmVBow id: paragraph.stanford_stories.stanford_stories_name field_name: stanford_stories_name entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_node_link.yml b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_node_link.yml index 74313b6..8018d9d 100644 --- a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_node_link.yml +++ b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_node_link.yml @@ -6,6 +6,8 @@ dependencies: - paragraphs.paragraphs_type.stanford_stories module: - link +_core: + default_config_hash: mmUfF2xGXg57cqGTs-fBJruOwikCOWIRRHJesYPB9dI id: paragraph.stanford_stories.stanford_stories_node_link field_name: stanford_stories_node_link entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_photo.yml b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_photo.yml index 24eac17..5892139 100644 --- a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_photo.yml +++ b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_photo.yml @@ -5,6 +5,8 @@ dependencies: - field.storage.paragraph.stanford_stories_photo - media.type.image - paragraphs.paragraphs_type.stanford_stories +_core: + default_config_hash: bEG4W7OC7hFFMLvX90mum0scF-KALgwe0t5jv9j-gn0 id: paragraph.stanford_stories.stanford_stories_photo field_name: stanford_stories_photo entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_photo_border.yml b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_photo_border.yml index 63650f6..1eade79 100644 --- a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_photo_border.yml +++ b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_photo_border.yml @@ -6,6 +6,8 @@ dependencies: - paragraphs.paragraphs_type.stanford_stories module: - options +_core: + default_config_hash: 2NcGP23QBbNNKNesP3UqMp4DUOvaqwLLWSbV89227F4 id: paragraph.stanford_stories.stanford_stories_photo_border field_name: stanford_stories_photo_border entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_quote.yml b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_quote.yml index 831bce3..93b342f 100644 --- a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_quote.yml +++ b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_quote.yml @@ -12,6 +12,8 @@ third_party_settings: stanford_html: stanford_html stanford_minimal_html: stanford_minimal_html plain_text: plain_text +_core: + default_config_hash: cv1zWZbup9taBOmLI_CNxrivZgFt5LIrlVxFowGkonA id: paragraph.stanford_stories.stanford_stories_quote field_name: stanford_stories_quote entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_title.yml b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_title.yml index 01025de..fa71089 100644 --- a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_title.yml +++ b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_title.yml @@ -4,6 +4,8 @@ dependencies: config: - field.storage.paragraph.stanford_stories_title - paragraphs.paragraphs_type.stanford_stories +_core: + default_config_hash: AjP0sVtiXpb6RAeru4BxHz0CIEIkzvF5SY79ijaMXNM id: paragraph.stanford_stories.stanford_stories_title field_name: stanford_stories_title entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_cta_link.yml b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_cta_link.yml index 8cb6cc1..5505dbb 100644 --- a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_cta_link.yml +++ b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_cta_link.yml @@ -4,6 +4,8 @@ dependencies: module: - link - paragraphs +_core: + default_config_hash: h_BKAMi6HijtG1lqLiNVAfdwT5z3I8K9OAZNF9vlF9o id: paragraph.stanford_stories_cta_link field_name: stanford_stories_cta_link entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_name.yml b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_name.yml index bcb5f12..a62de8a 100644 --- a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_name.yml +++ b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_name.yml @@ -3,6 +3,8 @@ status: true dependencies: module: - paragraphs +_core: + default_config_hash: LawDlttDSAiueFtLfWJgqxiC5BMh-eWknZ-7WLYhWEw id: paragraph.stanford_stories_name field_name: stanford_stories_name entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_node_link.yml b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_node_link.yml index c50e6dc..919cf3e 100644 --- a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_node_link.yml +++ b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_node_link.yml @@ -4,6 +4,8 @@ dependencies: module: - link - paragraphs +_core: + default_config_hash: Dtw7AH8ZghzDldI4vWNKVPG555xpP62uWJXFI8R_6ls id: paragraph.stanford_stories_node_link field_name: stanford_stories_node_link entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_photo.yml b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_photo.yml index 6120b1c..bc848a1 100644 --- a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_photo.yml +++ b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_photo.yml @@ -4,6 +4,8 @@ dependencies: module: - media - paragraphs +_core: + default_config_hash: rbmn9Wk8h6L1yWcRiQTHhBYS83pBPHTfQ1HeJcvB0MQ id: paragraph.stanford_stories_photo field_name: stanford_stories_photo entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_photo_border.yml b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_photo_border.yml index e1fd009..c4f0a8a 100644 --- a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_photo_border.yml +++ b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_photo_border.yml @@ -4,6 +4,8 @@ dependencies: module: - options - paragraphs +_core: + default_config_hash: ejiB_vH-1pxHKYUtWGpNHJYZWWlgzoYE7zF9gqffuPI id: paragraph.stanford_stories_photo_border field_name: stanford_stories_photo_border entity_type: paragraph @@ -12,13 +14,13 @@ settings: allowed_values: - value: '1' - label: 'Color 1' + label: Turquoise - value: '2' - label: 'Color 2' + label: Pink - value: '3' - label: 'Color 3' + label: Orange allowed_values_function: '' module: options locked: false diff --git a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_quote.yml b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_quote.yml index e82d803..430ae5a 100644 --- a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_quote.yml +++ b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_quote.yml @@ -4,6 +4,8 @@ dependencies: module: - paragraphs - text +_core: + default_config_hash: lpCOldC0gOmbzlsBbUZzVctIol5osfBj_bt4ldbpXSk id: paragraph.stanford_stories_quote field_name: stanford_stories_quote entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_title.yml b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_title.yml index a328c03..0c97f06 100644 --- a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_title.yml +++ b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_title.yml @@ -3,6 +3,8 @@ status: true dependencies: module: - paragraphs +_core: + default_config_hash: pWztsy2d_dsGSCW0oJY3s7-uknxPOemIE528GByxzuk id: paragraph.stanford_stories_title field_name: stanford_stories_title entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/paragraphs.paragraphs_type.stanford_stories.yml b/modules/soe_paragraph_stories/config/install/paragraphs.paragraphs_type.stanford_stories.yml index 970e174..cfadfe2 100644 --- a/modules/soe_paragraph_stories/config/install/paragraphs.paragraphs_type.stanford_stories.yml +++ b/modules/soe_paragraph_stories/config/install/paragraphs.paragraphs_type.stanford_stories.yml @@ -1,6 +1,8 @@ langcode: en status: true dependencies: { } +_core: + default_config_hash: 5cp5IbJ7U3_c2y98UV68feejH7tSkB98IZ6vyX0gQOI id: stanford_stories label: Stories icon_uuid: null From dd1c4bc0a5448b6829e5ad9906704aea673e85fe Mon Sep 17 00:00:00 2001 From: Ian Monroe Date: Tue, 16 Jun 2020 14:50:47 -0600 Subject: [PATCH 31/40] D8CORE-000: Removed _core config hashes. --- composer.json | 3 ++- ...y_form_display.paragraph.stanford_cta_list.default.yml | 2 -- ...y_view_display.paragraph.stanford_cta_list.default.yml | 2 -- ...paragraph.stanford_cta_list.stanford_cta_list_deck.yml | 2 -- ...ragraph.stanford_cta_list.stanford_cta_list_header.yml | 2 -- ...aragraph.stanford_cta_list.stanford_cta_list_links.yml | 2 -- .../field.storage.paragraph.stanford_cta_list_deck.yml | 2 -- .../field.storage.paragraph.stanford_cta_list_header.yml | 2 -- .../field.storage.paragraph.stanford_cta_list_links.yml | 2 -- .../paragraphs.paragraphs_type.stanford_cta_list.yml | 2 -- ..._form_display.paragraph.stanford_image_cta.default.yml | 2 -- ..._view_display.paragraph.stanford_image_cta.default.yml | 2 -- ...agraph.stanford_image_cta.stanford_image_cta_image.yml | 2 -- ...ragraph.stanford_image_cta.stanford_image_cta_link.yml | 2 -- .../field.storage.paragraph.stanford_image_cta_image.yml | 2 -- .../field.storage.paragraph.stanford_image_cta_link.yml | 2 -- .../paragraphs.paragraphs_type.stanford_image_cta.yml | 2 -- ...to_entitylabel.settings.paragraph.stanford_stories.yml | 8 -------- ...ty_form_display.paragraph.stanford_stories.default.yml | 2 -- ...ty_view_display.paragraph.stanford_stories.default.yml | 2 -- ...ragraph.stanford_stories.stanford_stories_cta_link.yml | 2 -- ...d.paragraph.stanford_stories.stanford_stories_name.yml | 2 -- ...agraph.stanford_stories.stanford_stories_node_link.yml | 2 -- ....paragraph.stanford_stories.stanford_stories_photo.yml | 2 -- ...aph.stanford_stories.stanford_stories_photo_border.yml | 2 -- ....paragraph.stanford_stories.stanford_stories_quote.yml | 2 -- ....paragraph.stanford_stories.stanford_stories_title.yml | 2 -- .../field.storage.paragraph.stanford_stories_cta_link.yml | 2 -- .../field.storage.paragraph.stanford_stories_name.yml | 2 -- ...field.storage.paragraph.stanford_stories_node_link.yml | 2 -- .../field.storage.paragraph.stanford_stories_photo.yml | 2 -- ...ld.storage.paragraph.stanford_stories_photo_border.yml | 2 -- .../field.storage.paragraph.stanford_stories_quote.yml | 2 -- .../field.storage.paragraph.stanford_stories_title.yml | 2 -- .../paragraphs.paragraphs_type.stanford_stories.yml | 2 -- soe_paragraphs.info.yml | 1 + 36 files changed, 3 insertions(+), 75 deletions(-) delete mode 100644 modules/soe_paragraph_stories/config/install/auto_entitylabel.settings.paragraph.stanford_stories.yml diff --git a/composer.json b/composer.json index 1951636..02c4a19 100644 --- a/composer.json +++ b/composer.json @@ -9,6 +9,7 @@ "prefer-stable": true, "require": { "drupal/paragraphs": "~1.8", - "su-sws/jumpstart_ui": "dev-8.x-1.x||*" + "su-sws/jumpstart_ui": "dev-8.x-1.x", + "su-sws/stanford_text_editor": "dev-8.x-1.x" } } diff --git a/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.stanford_cta_list.default.yml b/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.stanford_cta_list.default.yml index 12a8f54..e33ea8b 100644 --- a/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.stanford_cta_list.default.yml +++ b/modules/soe_paragraph_cta_list/config/install/core.entity_form_display.paragraph.stanford_cta_list.default.yml @@ -9,8 +9,6 @@ dependencies: module: - link - text -_core: - default_config_hash: 8-3k3Re6RhoAeNiBzg8L-mRpnI3Pd5Mad54fiisIy50 id: paragraph.stanford_cta_list.default targetEntityType: paragraph bundle: stanford_cta_list diff --git a/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.stanford_cta_list.default.yml b/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.stanford_cta_list.default.yml index 0c92ff5..d64ec6e 100644 --- a/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.stanford_cta_list.default.yml +++ b/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.stanford_cta_list.default.yml @@ -29,8 +29,6 @@ third_party_settings: - stanford_cta_list_deck links: - stanford_cta_list_links -_core: - default_config_hash: xISn3fHI5NABbqI3RBPYtT8Qsdy-0ihpqrcBOK06h0s id: paragraph.stanford_cta_list.default targetEntityType: paragraph bundle: stanford_cta_list diff --git a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_deck.yml b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_deck.yml index 67fbd74..4603659 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_deck.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_deck.yml @@ -12,8 +12,6 @@ third_party_settings: stanford_html: stanford_html stanford_minimal_html: stanford_minimal_html plain_text: '0' -_core: - default_config_hash: lsrxQ_Cq4Q5_5nj_y1qM-D5A8gCPeJcXaGXQyxBlXXM id: paragraph.stanford_cta_list.stanford_cta_list_deck field_name: stanford_cta_list_deck entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_header.yml b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_header.yml index 7cee465..8d962c2 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_header.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_header.yml @@ -4,8 +4,6 @@ dependencies: config: - field.storage.paragraph.stanford_cta_list_header - paragraphs.paragraphs_type.stanford_cta_list -_core: - default_config_hash: MmhdcgpmwNhcvxOHFU4EmdyclaHQ7T1yNbvDJ-EM3eo id: paragraph.stanford_cta_list.stanford_cta_list_header field_name: stanford_cta_list_header entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_links.yml b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_links.yml index f70f9ca..113a380 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_links.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.field.paragraph.stanford_cta_list.stanford_cta_list_links.yml @@ -6,8 +6,6 @@ dependencies: - paragraphs.paragraphs_type.stanford_cta_list module: - link -_core: - default_config_hash: 2yjary7iXepayh1cg6Ocl-hHM42XiZoOhtrwhNuCFL4 id: paragraph.stanford_cta_list.stanford_cta_list_links field_name: stanford_cta_list_links entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_deck.yml b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_deck.yml index 08fd4f8..b7c9e2c 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_deck.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_deck.yml @@ -4,8 +4,6 @@ dependencies: module: - paragraphs - text -_core: - default_config_hash: LtlZ42J-qHkAQ7eB5Eel9sZR_SzfJRbj63uEPox2y6M id: paragraph.stanford_cta_list_deck field_name: stanford_cta_list_deck entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_header.yml b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_header.yml index 6ada7f9..90c34f7 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_header.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_header.yml @@ -3,8 +3,6 @@ status: true dependencies: module: - paragraphs -_core: - default_config_hash: hXv_nKb7SHyTvptscg4Sl3-IY5JX1Rzc78TBhtvlEiY id: paragraph.stanford_cta_list_header field_name: stanford_cta_list_header entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_links.yml b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_links.yml index dcb9a08..8535af7 100644 --- a/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_links.yml +++ b/modules/soe_paragraph_cta_list/config/install/field.storage.paragraph.stanford_cta_list_links.yml @@ -4,8 +4,6 @@ dependencies: module: - link - paragraphs -_core: - default_config_hash: 5sVPzuyUMJiWakSZh16cumCdYJ9CoaqLTwehWmCG7W4 id: paragraph.stanford_cta_list_links field_name: stanford_cta_list_links entity_type: paragraph diff --git a/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.stanford_cta_list.yml b/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.stanford_cta_list.yml index c15d9d8..ffa4bb7 100644 --- a/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.stanford_cta_list.yml +++ b/modules/soe_paragraph_cta_list/config/install/paragraphs.paragraphs_type.stanford_cta_list.yml @@ -3,8 +3,6 @@ status: true dependencies: content: - 'file:file:c3718e90-6b13-40c4-961a-bb0a28f6ad1c' -_core: - default_config_hash: iCof49g28pulKoK92MKJwHbAmWOijq1QBc1VQuxYCK0 id: stanford_cta_list label: 'CTA List' icon_uuid: c3718e90-6b13-40c4-961a-bb0a28f6ad1c diff --git a/modules/soe_paragraph_image_cta/config/install/core.entity_form_display.paragraph.stanford_image_cta.default.yml b/modules/soe_paragraph_image_cta/config/install/core.entity_form_display.paragraph.stanford_image_cta.default.yml index 65e1824..78e2af6 100644 --- a/modules/soe_paragraph_image_cta/config/install/core.entity_form_display.paragraph.stanford_image_cta.default.yml +++ b/modules/soe_paragraph_image_cta/config/install/core.entity_form_display.paragraph.stanford_image_cta.default.yml @@ -8,8 +8,6 @@ dependencies: module: - link - media_library -_core: - default_config_hash: SSiFjKqCzs4FY8jobbiFxfzMruv4_c4g3pNMvVDbQGA id: paragraph.stanford_image_cta.default targetEntityType: paragraph bundle: stanford_image_cta diff --git a/modules/soe_paragraph_image_cta/config/install/core.entity_view_display.paragraph.stanford_image_cta.default.yml b/modules/soe_paragraph_image_cta/config/install/core.entity_view_display.paragraph.stanford_image_cta.default.yml index f1fc676..cdb637b 100644 --- a/modules/soe_paragraph_image_cta/config/install/core.entity_view_display.paragraph.stanford_image_cta.default.yml +++ b/modules/soe_paragraph_image_cta/config/install/core.entity_view_display.paragraph.stanford_image_cta.default.yml @@ -25,8 +25,6 @@ third_party_settings: paragraph_content: - stanford_image_cta_image - stanford_image_cta_link -_core: - default_config_hash: N8C8SLINs76Viq8HFAM9cUDyNPmLiK_5TvBTlTTMnEI id: paragraph.stanford_image_cta.default targetEntityType: paragraph bundle: stanford_image_cta diff --git a/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.stanford_image_cta.stanford_image_cta_image.yml b/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.stanford_image_cta.stanford_image_cta_image.yml index 2378f48..0d56c55 100644 --- a/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.stanford_image_cta.stanford_image_cta_image.yml +++ b/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.stanford_image_cta.stanford_image_cta_image.yml @@ -5,8 +5,6 @@ dependencies: - field.storage.paragraph.stanford_image_cta_image - media.type.image - paragraphs.paragraphs_type.stanford_image_cta -_core: - default_config_hash: f4nPxPxVFqzQF7iquqUf2sNaAa51pAqZ6N2JUyPyltA id: paragraph.stanford_image_cta.stanford_image_cta_image field_name: stanford_image_cta_image entity_type: paragraph diff --git a/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.stanford_image_cta.stanford_image_cta_link.yml b/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.stanford_image_cta.stanford_image_cta_link.yml index 0e51448..7a5ba1c 100644 --- a/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.stanford_image_cta.stanford_image_cta_link.yml +++ b/modules/soe_paragraph_image_cta/config/install/field.field.paragraph.stanford_image_cta.stanford_image_cta_link.yml @@ -6,8 +6,6 @@ dependencies: - paragraphs.paragraphs_type.stanford_image_cta module: - link -_core: - default_config_hash: YZ3ijPyoTxLHZgucaD4xwah5BNQaykkhUVq4z4Hd74Q id: paragraph.stanford_image_cta.stanford_image_cta_link field_name: stanford_image_cta_link entity_type: paragraph diff --git a/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.stanford_image_cta_image.yml b/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.stanford_image_cta_image.yml index ae574b9..3c0f433 100644 --- a/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.stanford_image_cta_image.yml +++ b/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.stanford_image_cta_image.yml @@ -4,8 +4,6 @@ dependencies: module: - media - paragraphs -_core: - default_config_hash: V_ar39-OQHcjMjBUDZkr7GXO9Y3VRyFKXEpKglBpw5k id: paragraph.stanford_image_cta_image field_name: stanford_image_cta_image entity_type: paragraph diff --git a/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.stanford_image_cta_link.yml b/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.stanford_image_cta_link.yml index 13bfe89..c997581 100644 --- a/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.stanford_image_cta_link.yml +++ b/modules/soe_paragraph_image_cta/config/install/field.storage.paragraph.stanford_image_cta_link.yml @@ -4,8 +4,6 @@ dependencies: module: - link - paragraphs -_core: - default_config_hash: 5IzQU2RCSqeeOjzXyJBdcYbBVxSvePycRmxZBmLIunI id: paragraph.stanford_image_cta_link field_name: stanford_image_cta_link entity_type: paragraph diff --git a/modules/soe_paragraph_image_cta/config/install/paragraphs.paragraphs_type.stanford_image_cta.yml b/modules/soe_paragraph_image_cta/config/install/paragraphs.paragraphs_type.stanford_image_cta.yml index 9cd9282..9aae304 100644 --- a/modules/soe_paragraph_image_cta/config/install/paragraphs.paragraphs_type.stanford_image_cta.yml +++ b/modules/soe_paragraph_image_cta/config/install/paragraphs.paragraphs_type.stanford_image_cta.yml @@ -3,8 +3,6 @@ status: true dependencies: content: - 'file:file:14078cff-fbb6-4169-910e-4a2120f908ae' -_core: - default_config_hash: R9DE8aBxaEVrkl0M0dIDZt_JThL0nyHc3JWkoyat-IQ id: stanford_image_cta label: 'Image CTA' icon_uuid: 14078cff-fbb6-4169-910e-4a2120f908ae diff --git a/modules/soe_paragraph_stories/config/install/auto_entitylabel.settings.paragraph.stanford_stories.yml b/modules/soe_paragraph_stories/config/install/auto_entitylabel.settings.paragraph.stanford_stories.yml deleted file mode 100644 index 492acf9..0000000 --- a/modules/soe_paragraph_stories/config/install/auto_entitylabel.settings.paragraph.stanford_stories.yml +++ /dev/null @@ -1,8 +0,0 @@ -status: 0 -pattern: '' -escape: false -dependencies: - config: - - paragraphs.paragraphs_type.stanford_stories -_core: - default_config_hash: e8Eja5nTh7L_xKj2v4Ec-qND-dg85AcxbItMj922PrM diff --git a/modules/soe_paragraph_stories/config/install/core.entity_form_display.paragraph.stanford_stories.default.yml b/modules/soe_paragraph_stories/config/install/core.entity_form_display.paragraph.stanford_stories.default.yml index 0353af8..79623a1 100644 --- a/modules/soe_paragraph_stories/config/install/core.entity_form_display.paragraph.stanford_stories.default.yml +++ b/modules/soe_paragraph_stories/config/install/core.entity_form_display.paragraph.stanford_stories.default.yml @@ -14,8 +14,6 @@ dependencies: - link - media_library - text -_core: - default_config_hash: '--S9HShOJu52GqNrdV6ztXkBcZybZO0a7QGqUbG7QHI' id: paragraph.stanford_stories.default targetEntityType: paragraph bundle: stanford_stories diff --git a/modules/soe_paragraph_stories/config/install/core.entity_view_display.paragraph.stanford_stories.default.yml b/modules/soe_paragraph_stories/config/install/core.entity_view_display.paragraph.stanford_stories.default.yml index c002173..b34ada6 100644 --- a/modules/soe_paragraph_stories/config/install/core.entity_view_display.paragraph.stanford_stories.default.yml +++ b/modules/soe_paragraph_stories/config/install/core.entity_view_display.paragraph.stanford_stories.default.yml @@ -41,8 +41,6 @@ third_party_settings: - stanford_stories_node_link cta: - stanford_stories_cta_link -_core: - default_config_hash: 02O7gZXP9P8m2VofA9QrJ45HCimNF5Doy4bCTJgr8R8 id: paragraph.stanford_stories.default targetEntityType: paragraph bundle: stanford_stories diff --git a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_cta_link.yml b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_cta_link.yml index b65e013..141d898 100644 --- a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_cta_link.yml +++ b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_cta_link.yml @@ -6,8 +6,6 @@ dependencies: - paragraphs.paragraphs_type.stanford_stories module: - link -_core: - default_config_hash: orQ61VVge669iPVXTBJq1sO_fL-K8SSK_UVtr2OmFyk id: paragraph.stanford_stories.stanford_stories_cta_link field_name: stanford_stories_cta_link entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_name.yml b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_name.yml index c85ab66..820be90 100644 --- a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_name.yml +++ b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_name.yml @@ -4,8 +4,6 @@ dependencies: config: - field.storage.paragraph.stanford_stories_name - paragraphs.paragraphs_type.stanford_stories -_core: - default_config_hash: GFullkNsmnmTxSQ-zHgKWih-8T6xcxMfonGgyJmVBow id: paragraph.stanford_stories.stanford_stories_name field_name: stanford_stories_name entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_node_link.yml b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_node_link.yml index 8018d9d..74313b6 100644 --- a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_node_link.yml +++ b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_node_link.yml @@ -6,8 +6,6 @@ dependencies: - paragraphs.paragraphs_type.stanford_stories module: - link -_core: - default_config_hash: mmUfF2xGXg57cqGTs-fBJruOwikCOWIRRHJesYPB9dI id: paragraph.stanford_stories.stanford_stories_node_link field_name: stanford_stories_node_link entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_photo.yml b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_photo.yml index 5892139..24eac17 100644 --- a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_photo.yml +++ b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_photo.yml @@ -5,8 +5,6 @@ dependencies: - field.storage.paragraph.stanford_stories_photo - media.type.image - paragraphs.paragraphs_type.stanford_stories -_core: - default_config_hash: bEG4W7OC7hFFMLvX90mum0scF-KALgwe0t5jv9j-gn0 id: paragraph.stanford_stories.stanford_stories_photo field_name: stanford_stories_photo entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_photo_border.yml b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_photo_border.yml index 1eade79..63650f6 100644 --- a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_photo_border.yml +++ b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_photo_border.yml @@ -6,8 +6,6 @@ dependencies: - paragraphs.paragraphs_type.stanford_stories module: - options -_core: - default_config_hash: 2NcGP23QBbNNKNesP3UqMp4DUOvaqwLLWSbV89227F4 id: paragraph.stanford_stories.stanford_stories_photo_border field_name: stanford_stories_photo_border entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_quote.yml b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_quote.yml index 93b342f..831bce3 100644 --- a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_quote.yml +++ b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_quote.yml @@ -12,8 +12,6 @@ third_party_settings: stanford_html: stanford_html stanford_minimal_html: stanford_minimal_html plain_text: plain_text -_core: - default_config_hash: cv1zWZbup9taBOmLI_CNxrivZgFt5LIrlVxFowGkonA id: paragraph.stanford_stories.stanford_stories_quote field_name: stanford_stories_quote entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_title.yml b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_title.yml index fa71089..01025de 100644 --- a/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_title.yml +++ b/modules/soe_paragraph_stories/config/install/field.field.paragraph.stanford_stories.stanford_stories_title.yml @@ -4,8 +4,6 @@ dependencies: config: - field.storage.paragraph.stanford_stories_title - paragraphs.paragraphs_type.stanford_stories -_core: - default_config_hash: AjP0sVtiXpb6RAeru4BxHz0CIEIkzvF5SY79ijaMXNM id: paragraph.stanford_stories.stanford_stories_title field_name: stanford_stories_title entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_cta_link.yml b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_cta_link.yml index 5505dbb..8cb6cc1 100644 --- a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_cta_link.yml +++ b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_cta_link.yml @@ -4,8 +4,6 @@ dependencies: module: - link - paragraphs -_core: - default_config_hash: h_BKAMi6HijtG1lqLiNVAfdwT5z3I8K9OAZNF9vlF9o id: paragraph.stanford_stories_cta_link field_name: stanford_stories_cta_link entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_name.yml b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_name.yml index a62de8a..bcb5f12 100644 --- a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_name.yml +++ b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_name.yml @@ -3,8 +3,6 @@ status: true dependencies: module: - paragraphs -_core: - default_config_hash: LawDlttDSAiueFtLfWJgqxiC5BMh-eWknZ-7WLYhWEw id: paragraph.stanford_stories_name field_name: stanford_stories_name entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_node_link.yml b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_node_link.yml index 919cf3e..c50e6dc 100644 --- a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_node_link.yml +++ b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_node_link.yml @@ -4,8 +4,6 @@ dependencies: module: - link - paragraphs -_core: - default_config_hash: Dtw7AH8ZghzDldI4vWNKVPG555xpP62uWJXFI8R_6ls id: paragraph.stanford_stories_node_link field_name: stanford_stories_node_link entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_photo.yml b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_photo.yml index bc848a1..6120b1c 100644 --- a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_photo.yml +++ b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_photo.yml @@ -4,8 +4,6 @@ dependencies: module: - media - paragraphs -_core: - default_config_hash: rbmn9Wk8h6L1yWcRiQTHhBYS83pBPHTfQ1HeJcvB0MQ id: paragraph.stanford_stories_photo field_name: stanford_stories_photo entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_photo_border.yml b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_photo_border.yml index c4f0a8a..49408f9 100644 --- a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_photo_border.yml +++ b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_photo_border.yml @@ -4,8 +4,6 @@ dependencies: module: - options - paragraphs -_core: - default_config_hash: ejiB_vH-1pxHKYUtWGpNHJYZWWlgzoYE7zF9gqffuPI id: paragraph.stanford_stories_photo_border field_name: stanford_stories_photo_border entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_quote.yml b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_quote.yml index 430ae5a..e82d803 100644 --- a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_quote.yml +++ b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_quote.yml @@ -4,8 +4,6 @@ dependencies: module: - paragraphs - text -_core: - default_config_hash: lpCOldC0gOmbzlsBbUZzVctIol5osfBj_bt4ldbpXSk id: paragraph.stanford_stories_quote field_name: stanford_stories_quote entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_title.yml b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_title.yml index 0c97f06..a328c03 100644 --- a/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_title.yml +++ b/modules/soe_paragraph_stories/config/install/field.storage.paragraph.stanford_stories_title.yml @@ -3,8 +3,6 @@ status: true dependencies: module: - paragraphs -_core: - default_config_hash: pWztsy2d_dsGSCW0oJY3s7-uknxPOemIE528GByxzuk id: paragraph.stanford_stories_title field_name: stanford_stories_title entity_type: paragraph diff --git a/modules/soe_paragraph_stories/config/install/paragraphs.paragraphs_type.stanford_stories.yml b/modules/soe_paragraph_stories/config/install/paragraphs.paragraphs_type.stanford_stories.yml index cfadfe2..970e174 100644 --- a/modules/soe_paragraph_stories/config/install/paragraphs.paragraphs_type.stanford_stories.yml +++ b/modules/soe_paragraph_stories/config/install/paragraphs.paragraphs_type.stanford_stories.yml @@ -1,8 +1,6 @@ langcode: en status: true dependencies: { } -_core: - default_config_hash: 5cp5IbJ7U3_c2y98UV68feejH7tSkB98IZ6vyX0gQOI id: stanford_stories label: Stories icon_uuid: null diff --git a/soe_paragraphs.info.yml b/soe_paragraphs.info.yml index a61bbf4..0accfb5 100644 --- a/soe_paragraphs.info.yml +++ b/soe_paragraphs.info.yml @@ -10,3 +10,4 @@ dependencies: - ds - field - text + - stanford_text_editor From 4679da9f157745d3e89dabdfb47eff71beb5a708 Mon Sep 17 00:00:00 2001 From: Ian Monroe Date: Tue, 16 Jun 2020 19:21:23 -0600 Subject: [PATCH 32/40] D8CORE-000: Cleaning up remaning code climate issues --- lib/js/soe_paragraphs.behavior.js | 6 +++--- lib/js/soe_paragraphs.js | 2 +- soe_paragraphs.module | 4 +--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/lib/js/soe_paragraphs.behavior.js b/lib/js/soe_paragraphs.behavior.js index 12bce00..271b34d 100644 --- a/lib/js/soe_paragraphs.behavior.js +++ b/lib/js/soe_paragraphs.behavior.js @@ -10,12 +10,12 @@ export default { // Attach Drupal Behavior. - attach (context, settings) { + attach(context, settings) { // console.log("Attached."); }, // Detach Example. - detach () { + detach() { // console.log("Detached."); } -} +}; diff --git a/lib/js/soe_paragraphs.js b/lib/js/soe_paragraphs.js index 707b608..1c8afab 100644 --- a/lib/js/soe_paragraphs.js +++ b/lib/js/soe_paragraphs.js @@ -1,4 +1,4 @@ // Main Webpack entry file. -import "./soe_paragraphs.behavior.js"; +import './soe_paragraphs.behavior.js'; // Your code goes below. diff --git a/soe_paragraphs.module b/soe_paragraphs.module index 2460427..409b380 100644 --- a/soe_paragraphs.module +++ b/soe_paragraphs.module @@ -8,7 +8,7 @@ */ /** - * Implements hook_page_attachments. + * Implements hook_page_attachments(). */ function soe_paragraphs_page_attachments(array &$page) { @@ -16,7 +16,5 @@ function soe_paragraphs_page_attachments(array &$page) { // just add a library to all pages but rather, conditionally require this // library only where it is needed. // See: https://www.drupal.org/node/2274843 - // $page['#attached']['library'][] = 'soe_paragraphs/soe_paragraphs'; - } From 56331d2f6a41ec64f51a5538cd050ceb953c9577 Mon Sep 17 00:00:00 2001 From: Shea McKinney Date: Wed, 17 Jun 2020 14:53:27 -0700 Subject: [PATCH 33/40] D8CORE-000: Feedback fixups. --- CHANGELOG.md | 2 +- composer.json | 84 ++++- dist/css/cta-list-paragraph.styles.css | 200 +----------- dist/css/image-cta-paragraph.styles.css | 84 +---- dist/css/soe_paragraphs.styles.css | 5 - dist/css/stories-paragraph.styles.css | 299 +----------------- dist/js/soe_paragraphs.script.js | 132 +------- lib/scss/components/stories/_stories.scss | 253 ++++++++------- lib/scss/soe_paragraphs.scss | 5 - .../soe_paragraph_image_cta.info.yml | 24 +- .../templates/image-cta-paragraph.html.twig | 39 ++- ...lay.paragraph.stanford_stories.default.yml | 20 +- .../soe_paragraph_stories.info.yml | 24 +- .../templates/stories-paragraph.html.twig | 56 ++-- .../stories-paragraph.ui_patterns.yml | 72 +++-- soe_paragraphs.info.yml | 12 +- src/Form/.gitkeep | 0 src/Plugin/.gitkeep | 0 src/README.md | 3 - tests/behat/features/README.md | 3 - tests/behat/media/README.md | 3 - tests/phpunit/ExampleTest.php | 14 - 22 files changed, 339 insertions(+), 995 deletions(-) delete mode 100644 src/Form/.gitkeep delete mode 100644 src/Plugin/.gitkeep delete mode 100644 src/README.md delete mode 100644 tests/behat/features/README.md delete mode 100644 tests/behat/media/README.md delete mode 100644 tests/phpunit/ExampleTest.php diff --git a/CHANGELOG.md b/CHANGELOG.md index dcd9705..1193051 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# Stanford Module Example +# SOE Paragraphs 8.x-1.0 -------------------------------------------------------------------------------- diff --git a/composer.json b/composer.json index 02c4a19..12faa4c 100644 --- a/composer.json +++ b/composer.json @@ -7,9 +7,91 @@ "license": "GPL-2.0+", "minimum-stability": "dev", "prefer-stable": true, + "repositories": [ + { + "type": "composer", + "url": "https://packages.drupal.org/8" + }, + { + "type": "package", + "package": { + "name": "ckeditor-plugin/a11ychecker", + "version": "1.1.1", + "type": "drupal-library", + "dist": { + "url": "https://download.ckeditor.com/a11ychecker/releases/a11ychecker_1.1.1.zip", + "type": "zip" + }, + "require": { + "composer/installers": "~1.0" + } + } + }, + { + "type": "package", + "package": { + "name": "ckeditor-plugin/balloonpanel", + "version": "4.14.0", + "type": "drupal-library", + "dist": { + "url": "https://download.ckeditor.com/balloonpanel/releases/balloonpanel_4.14.0.zip", + "type": "zip" + }, + "require": { + "composer/installers": "~1.0" + } + } + }, + { + "type": "package", + "package": { + "name": "ckeditor-plugin/link", + "version": "4.14.0", + "type": "drupal-library", + "dist": { + "url": "https://download.ckeditor.com/link/releases/link_4.14.0.zip", + "type": "zip" + }, + "require": { + "composer/installers": "~1.0" + } + } + }, + { + "type": "package", + "package": { + "name": "ckeditor-plugin/fakeobjects", + "version": "4.14.0", + "type": "drupal-library", + "dist": { + "url": "https://download.ckeditor.com/fakeobjects/releases/fakeobjects_4.14.0.zip", + "type": "zip" + }, + "require": { + "composer/installers": "~1.0" + } + } + } + ], "require": { - "drupal/paragraphs": "~1.8", + "drupal/paragraphs": "^1.11", "su-sws/jumpstart_ui": "dev-8.x-1.x", "su-sws/stanford_text_editor": "dev-8.x-1.x" + }, + "autoload": { + "psr-4": { + "Drupal\\soe_paragraphs\\": "./src", + "Drupal\\soe_paragraph_cta_list\\": "./modules/soe_paragraph_cta_list/src", + "Drupal\\soe_paragraph_image_cta\\": "./modules/soe_paragraph_image_cta/src", + "Drupal\\soe_paragraph_stories\\": "./modules/soe_paragraph_stories/src" + } + }, + "autoload-dev": { + "psr-4": { + "Drupal\\soe_paragraphs\\": "./tests/src", + "Drupal\\soe_paragraph_cta_list\\": "./modules/soe_paragraph_cta_list/tests/src", + "Drupal\\soe_paragraph_image_cta\\": "./modules/soe_paragraph_image_cta/tests/src", + "Drupal\\soe_paragraph_stories\\": "./modules/soe_paragraph_stories/tests/src" + } } } diff --git a/dist/css/cta-list-paragraph.styles.css b/dist/css/cta-list-paragraph.styles.css index 4fc13a2..a22cc5e 100644 --- a/dist/css/cta-list-paragraph.styles.css +++ b/dist/css/cta-list-paragraph.styles.css @@ -1,199 +1 @@ -.su-cta-list-paragraph { - border-top: 1px solid #d2d3d4; } - @media only screen and (min-width: 0) { - .su-cta-list-paragraph { - padding-top: 4rem; } } - @media only screen and (min-width: 768px) { - .su-cta-list-paragraph { - padding-top: 4.5rem; } } - @media only screen and (min-width: 1500px) { - .su-cta-list-paragraph { - padding-top: 4.75rem; } } - @media only screen and (min-width: 0) { - .su-cta-list-paragraph { - padding-left: 3.2rem; } } - @media only screen and (min-width: 768px) { - .su-cta-list-paragraph { - padding-left: 3.6rem; } } - @media only screen and (min-width: 1500px) { - .su-cta-list-paragraph { - padding-left: 3.8rem; } } - @media only screen and (min-width: 0) { - .su-cta-list-paragraph { - padding-right: 3.2rem; } } - @media only screen and (min-width: 768px) { - .su-cta-list-paragraph { - padding-right: 3.6rem; } } - @media only screen and (min-width: 1500px) { - .su-cta-list-paragraph { - padding-right: 3.8rem; } } - -@media only screen and (max-width: 991px) and (min-width: 0) { - .su-cta-list-paragraph { - padding-left: 1.6rem; } } - -@media only screen and (max-width: 991px) and (min-width: 768px) { - .su-cta-list-paragraph { - padding-left: 1.8rem; } } - -@media only screen and (max-width: 991px) and (min-width: 1500px) { - .su-cta-list-paragraph { - padding-left: 1.9rem; } } - -@media only screen and (max-width: 991px) and (min-width: 0) { - .su-cta-list-paragraph { - padding-right: 1.6rem; } } - -@media only screen and (max-width: 991px) and (min-width: 768px) { - .su-cta-list-paragraph { - padding-right: 1.8rem; } } - -@media only screen and (max-width: 991px) and (min-width: 1500px) { - .su-cta-list-paragraph { - padding-right: 1.9rem; } } - .su-cta-list-paragraph .su-cta-list-paragraph--header { - font-size: 1.5625em; - letter-spacing: -0.012em; - font-weight: 700; } - @media only screen and (min-width: 0) { - .su-cta-list-paragraph .su-cta-list-paragraph--header { - margin-bottom: 2.31rem; } } - @media only screen and (min-width: 768px) { - .su-cta-list-paragraph .su-cta-list-paragraph--header { - margin-bottom: 2.6rem; } } - @media only screen and (min-width: 1500px) { - .su-cta-list-paragraph .su-cta-list-paragraph--header { - margin-bottom: 2.74rem; } } - @media only screen and (min-width: 768px) { - .su-cta-list-paragraph .su-cta-list-paragraph--description { - font-size: 2.1rem; - line-height: 1.7; } } - @media only screen and (min-width: 0) { - .su-cta-list-paragraph .su-cta-list-paragraph--description { - margin-bottom: 4rem; } } - @media only screen and (min-width: 768px) { - .su-cta-list-paragraph .su-cta-list-paragraph--description { - margin-bottom: 4.5rem; } } - @media only screen and (min-width: 1500px) { - .su-cta-list-paragraph .su-cta-list-paragraph--description { - margin-bottom: 4.75rem; } } - .su-cta-list-paragraph .su-cta-list--links { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - width: 100%; } - @media only screen and (min-width: 0) and (max-width: 575px) { - .su-cta-list-paragraph .su-cta-list--links { - display: block; - width: 100%; } } - @media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 0) { - .su-cta-list-paragraph .su-cta-list--links { - padding-bottom: 2.31rem; } } - @media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 768px) { - .su-cta-list-paragraph .su-cta-list--links { - padding-bottom: 2.6rem; } } - @media only screen and (min-width: 0) and (max-width: 575px) and (min-width: 1500px) { - .su-cta-list-paragraph .su-cta-list--links { - padding-bottom: 2.74rem; } } - .su-cta-list-paragraph .su-cta-list--links .su-link--action { - display: block; - width: 100%; } - @media only screen and (min-width: 0) { - .su-cta-list-paragraph .su-cta-list--links .su-link--action { - margin-bottom: 2.31rem; } } - @media only screen and (min-width: 768px) { - .su-cta-list-paragraph .su-cta-list--links .su-link--action { - margin-bottom: 2.6rem; } } - @media only screen and (min-width: 1500px) { - .su-cta-list-paragraph .su-cta-list--links .su-link--action { - margin-bottom: 2.74rem; } } - .su-cta-list-paragraph .su-cta-list--links .col-1 { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - min-width: 200px; } - @media only screen and (min-width: 0) { - .su-cta-list-paragraph .su-cta-list--links .col-1 { - margin-right: 2.31rem; } } - @media only screen and (min-width: 768px) { - .su-cta-list-paragraph .su-cta-list--links .col-1 { - margin-right: 2.6rem; } } - @media only screen and (min-width: 1500px) { - .su-cta-list-paragraph .su-cta-list--links .col-1 { - margin-right: 2.74rem; } } - .su-cta-list-paragraph .su-cta-list--links .col-1 a { - color: #b1040e; } - .su-cta-list-paragraph .su-cta-list--links .col-1 a::after { - background-color: #b1040e; } - .su-cta-list-paragraph .su-cta-list--links .col-1 a::after:hover { - background-color: #b1040e; } - .su-cta-list-paragraph .su-cta-list--links .col-1 a::after:focus { - background-color: #b1040e; } - .su-cta-list-paragraph .su-cta-list--links .col-1 a::after:active { - background-color: #b1040e; } - @media only screen and (min-width: 0) and (max-width: 575px) { - .su-cta-list-paragraph .su-cta-list--links .col-1 { - display: block; - width: 100%; } } - .su-cta-list-paragraph .su-cta-list--links .col-2 { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; } - @media only screen and (min-width: 0) { - .su-cta-list-paragraph .su-cta-list--links .col-2 { - margin-right: 9.6rem; } } - @media only screen and (min-width: 768px) { - .su-cta-list-paragraph .su-cta-list--links .col-2 { - margin-right: 10.8rem; } } - @media only screen and (min-width: 1500px) { - .su-cta-list-paragraph .su-cta-list--links .col-2 { - margin-right: 11.4rem; } } - .su-cta-list-paragraph .su-cta-list--links .col-2 a { - color: #b1040e; } - .su-cta-list-paragraph .su-cta-list--links .col-2 a::after { - background-color: #b1040e; } - .su-cta-list-paragraph .su-cta-list--links .col-2 a::after:hover { - background-color: #b1040e; } - .su-cta-list-paragraph .su-cta-list--links .col-2 a::after:focus { - background-color: #b1040e; } - .su-cta-list-paragraph .su-cta-list--links .col-2 a::after:active { - background-color: #b1040e; } - @media (max-width: 1199px) { - .su-cta-list-paragraph .su-cta-list--links .col-2 { - min-width: 150px; } } - @media only screen and (max-width: 1199px) and (min-width: 0) { - .su-cta-list-paragraph .su-cta-list--links .col-2 { - margin-right: 2.31rem; } } - @media only screen and (max-width: 1199px) and (min-width: 768px) { - .su-cta-list-paragraph .su-cta-list--links .col-2 { - margin-right: 2.6rem; } } - @media only screen and (max-width: 1199px) and (min-width: 1500px) { - .su-cta-list-paragraph .su-cta-list--links .col-2 { - margin-right: 2.74rem; } } - @media only screen and (min-width: 0) and (max-width: 575px) { - .su-cta-list-paragraph .su-cta-list--links .col-2 { - display: block; - width: 100%; } } - - -/*# sourceMappingURL=cta-list-paragraph.styles.css.map*/ \ No newline at end of file +.su-cta-list-paragraph{border-top:1px solid #d2d3d4}@media only screen and (min-width:0){.su-cta-list-paragraph{padding-top:4rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph{padding-top:4.5rem}}@media only screen and (min-width:1500px){.su-cta-list-paragraph{padding-top:4.75rem}}@media only screen and (min-width:0){.su-cta-list-paragraph{padding-left:3.2rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph{padding-left:3.6rem}}@media only screen and (min-width:1500px){.su-cta-list-paragraph{padding-left:3.8rem}}@media only screen and (min-width:0){.su-cta-list-paragraph{padding-right:3.2rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph{padding-right:3.6rem}}@media only screen and (min-width:1500px){.su-cta-list-paragraph{padding-right:3.8rem}}@media only screen and (max-width:991px) and (min-width:0){.su-cta-list-paragraph{padding-left:1.6rem}}@media only screen and (max-width:991px) and (min-width:768px){.su-cta-list-paragraph{padding-left:1.8rem}}@media only screen and (max-width:991px) and (min-width:1500px){.su-cta-list-paragraph{padding-left:1.9rem}}@media only screen and (max-width:991px) and (min-width:0){.su-cta-list-paragraph{padding-right:1.6rem}}@media only screen and (max-width:991px) and (min-width:768px){.su-cta-list-paragraph{padding-right:1.8rem}}@media only screen and (max-width:991px) and (min-width:1500px){.su-cta-list-paragraph{padding-right:1.9rem}}.su-cta-list-paragraph .su-cta-list-paragraph--header{font-size:1.5625em;letter-spacing:-.012em;font-weight:700}@media only screen and (min-width:0){.su-cta-list-paragraph .su-cta-list-paragraph--header{margin-bottom:2.31rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph .su-cta-list-paragraph--header{margin-bottom:2.6rem}}@media only screen and (min-width:1500px){.su-cta-list-paragraph .su-cta-list-paragraph--header{margin-bottom:2.74rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph .su-cta-list-paragraph--description{font-size:2.1rem;line-height:1.7}}@media only screen and (min-width:0){.su-cta-list-paragraph .su-cta-list-paragraph--description{margin-bottom:4rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph .su-cta-list-paragraph--description{margin-bottom:4.5rem}}@media only screen and (min-width:1500px){.su-cta-list-paragraph .su-cta-list-paragraph--description{margin-bottom:4.75rem}}.su-cta-list-paragraph .su-cta-list--links{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;width:100%}@media only screen and (min-width:0) and (max-width:575px){.su-cta-list-paragraph .su-cta-list--links{display:block;width:100%}}@media only screen and (min-width:0) and (max-width:575px) and (min-width:0){.su-cta-list-paragraph .su-cta-list--links{padding-bottom:2.31rem}}@media only screen and (min-width:0) and (max-width:575px) and (min-width:768px){.su-cta-list-paragraph .su-cta-list--links{padding-bottom:2.6rem}}@media only screen and (min-width:0) and (max-width:575px) and (min-width:1500px){.su-cta-list-paragraph .su-cta-list--links{padding-bottom:2.74rem}}.su-cta-list-paragraph .su-cta-list--links .su-link--action{display:block;width:100%}@media only screen and (min-width:0){.su-cta-list-paragraph .su-cta-list--links .su-link--action{margin-bottom:2.31rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph .su-cta-list--links .su-link--action{margin-bottom:2.6rem}}@media only screen and (min-width:1500px){.su-cta-list-paragraph .su-cta-list--links .su-link--action{margin-bottom:2.74rem}}.su-cta-list-paragraph .su-cta-list--links .col-1{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:200px}@media only screen and (min-width:0){.su-cta-list-paragraph .su-cta-list--links .col-1{margin-right:2.31rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph .su-cta-list--links .col-1{margin-right:2.6rem}}@media only screen and (min-width:1500px){.su-cta-list-paragraph .su-cta-list--links .col-1{margin-right:2.74rem}}.su-cta-list-paragraph .su-cta-list--links .col-1 a{color:#b1040e}.su-cta-list-paragraph .su-cta-list--links .col-1 a:after,.su-cta-list-paragraph .su-cta-list--links .col-1 a:after:active,.su-cta-list-paragraph .su-cta-list--links .col-1 a:after:focus,.su-cta-list-paragraph .su-cta-list--links .col-1 a:after:hover{background-color:#b1040e}@media only screen and (min-width:0) and (max-width:575px){.su-cta-list-paragraph .su-cta-list--links .col-1{display:block;width:100%}}.su-cta-list-paragraph .su-cta-list--links .col-2{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1;flex:1}@media only screen and (min-width:0){.su-cta-list-paragraph .su-cta-list--links .col-2{margin-right:9.6rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph .su-cta-list--links .col-2{margin-right:10.8rem}}@media only screen and (min-width:1500px){.su-cta-list-paragraph .su-cta-list--links .col-2{margin-right:11.4rem}}.su-cta-list-paragraph .su-cta-list--links .col-2 a{color:#b1040e}.su-cta-list-paragraph .su-cta-list--links .col-2 a:after,.su-cta-list-paragraph .su-cta-list--links .col-2 a:after:active,.su-cta-list-paragraph .su-cta-list--links .col-2 a:after:focus,.su-cta-list-paragraph .su-cta-list--links .col-2 a:after:hover{background-color:#b1040e}@media (max-width:1199px){.su-cta-list-paragraph .su-cta-list--links .col-2{min-width:150px}}@media only screen and (max-width:1199px) and (min-width:0){.su-cta-list-paragraph .su-cta-list--links .col-2{margin-right:2.31rem}}@media only screen and (max-width:1199px) and (min-width:768px){.su-cta-list-paragraph .su-cta-list--links .col-2{margin-right:2.6rem}}@media only screen and (max-width:1199px) and (min-width:1500px){.su-cta-list-paragraph .su-cta-list--links .col-2{margin-right:2.74rem}}@media only screen and (min-width:0) and (max-width:575px){.su-cta-list-paragraph .su-cta-list--links .col-2{display:block;width:100%}} \ No newline at end of file diff --git a/dist/css/image-cta-paragraph.styles.css b/dist/css/image-cta-paragraph.styles.css index fc6c920..ba09f02 100644 --- a/dist/css/image-cta-paragraph.styles.css +++ b/dist/css/image-cta-paragraph.styles.css @@ -1,83 +1 @@ -@media only screen and (max-width: 767px) and (min-width: 0) { - .su-image-cta-paragraph { - margin-bottom: 2.31rem; } } - -@media only screen and (max-width: 767px) and (min-width: 768px) { - .su-image-cta-paragraph { - margin-bottom: 2.6rem; } } - -@media only screen and (max-width: 767px) and (min-width: 1500px) { - .su-image-cta-paragraph { - margin-bottom: 2.74rem; } } - -@media only screen and (min-width: 0) { - .su-image-cta-paragraph .su-image-cta-paragraph--image { - margin-bottom: 1.6rem; } } - -@media only screen and (min-width: 768px) { - .su-image-cta-paragraph .su-image-cta-paragraph--image { - margin-bottom: 1.8rem; } } - -@media only screen and (min-width: 1500px) { - .su-image-cta-paragraph .su-image-cta-paragraph--image { - margin-bottom: 1.9rem; } } - -@media (max-width: 767px) { - .su-image-cta-paragraph .su-image-cta-paragraph--image { - display: none; } } - -@media only screen and (min-width: 0) { - .su-image-cta-paragraph .su-image-cta-paragraph--link { - margin-bottom: 9.6rem; } } - -@media only screen and (min-width: 768px) { - .su-image-cta-paragraph .su-image-cta-paragraph--link { - margin-bottom: 10.8rem; } } - -@media only screen and (min-width: 1500px) { - .su-image-cta-paragraph .su-image-cta-paragraph--link { - margin-bottom: 11.4rem; } } - -.su-image-cta-paragraph .su-image-cta-paragraph--link a { - color: #b1040e; - text-decoration: none; } - .su-image-cta-paragraph .su-image-cta-paragraph--link a:hover { - color: #2e2d29; } - .su-image-cta-paragraph .su-image-cta-paragraph--link a:focus { - color: #2e2d29; } - -.su-image-cta-paragraph .su-image-cta-paragraph--link::after { - background-color: #b1040e; } - .su-image-cta-paragraph .su-image-cta-paragraph--link::after:hover { - background-color: #2e2d29; } - .su-image-cta-paragraph .su-image-cta-paragraph--link::after:focus { - background-color: #2e2d29; } - .su-image-cta-paragraph .su-image-cta-paragraph--link::after:active { - background-color: #b1040e; } - -@media only screen and (min-width: 768px) and (max-width: 1199px) and (min-width: 0) { - .su-image-cta-paragraph .su-image-cta-paragraph--link { - margin-bottom: 8rem; } } - -@media only screen and (min-width: 768px) and (max-width: 1199px) and (min-width: 768px) { - .su-image-cta-paragraph .su-image-cta-paragraph--link { - margin-bottom: 9rem; } } - -@media only screen and (min-width: 768px) and (max-width: 1199px) and (min-width: 1500px) { - .su-image-cta-paragraph .su-image-cta-paragraph--link { - margin-bottom: 9.5rem; } } - -@media only screen and (max-width: 767px) and (min-width: 0) { - .su-image-cta-paragraph .su-image-cta-paragraph--link { - margin-bottom: 1.6rem; } } - -@media only screen and (max-width: 767px) and (min-width: 768px) { - .su-image-cta-paragraph .su-image-cta-paragraph--link { - margin-bottom: 1.8rem; } } - -@media only screen and (max-width: 767px) and (min-width: 1500px) { - .su-image-cta-paragraph .su-image-cta-paragraph--link { - margin-bottom: 1.9rem; } } - - -/*# sourceMappingURL=image-cta-paragraph.styles.css.map*/ \ No newline at end of file +@media only screen and (max-width:767px) and (min-width:0){.su-image-cta-paragraph{margin-bottom:2.31rem}}@media only screen and (max-width:767px) and (min-width:768px){.su-image-cta-paragraph{margin-bottom:2.6rem}}@media only screen and (max-width:767px) and (min-width:1500px){.su-image-cta-paragraph{margin-bottom:2.74rem}}@media only screen and (min-width:0){.su-image-cta-paragraph .su-image-cta-paragraph--image{margin-bottom:1.6rem}}@media only screen and (min-width:768px){.su-image-cta-paragraph .su-image-cta-paragraph--image{margin-bottom:1.8rem}}@media only screen and (min-width:1500px){.su-image-cta-paragraph .su-image-cta-paragraph--image{margin-bottom:1.9rem}}@media (max-width:767px){.su-image-cta-paragraph .su-image-cta-paragraph--image{display:none}}@media only screen and (min-width:0){.su-image-cta-paragraph .su-image-cta-paragraph--link{margin-bottom:9.6rem}}@media only screen and (min-width:768px){.su-image-cta-paragraph .su-image-cta-paragraph--link{margin-bottom:10.8rem}}@media only screen and (min-width:1500px){.su-image-cta-paragraph .su-image-cta-paragraph--link{margin-bottom:11.4rem}}.su-image-cta-paragraph .su-image-cta-paragraph--link a{color:#b1040e;text-decoration:none}.su-image-cta-paragraph .su-image-cta-paragraph--link a:focus,.su-image-cta-paragraph .su-image-cta-paragraph--link a:hover{color:#2e2d29}.su-image-cta-paragraph .su-image-cta-paragraph--link:after{background-color:#b1040e}.su-image-cta-paragraph .su-image-cta-paragraph--link:after:focus,.su-image-cta-paragraph .su-image-cta-paragraph--link:after:hover{background-color:#2e2d29}.su-image-cta-paragraph .su-image-cta-paragraph--link:after:active{background-color:#b1040e}@media only screen and (min-width:768px) and (max-width:1199px) and (min-width:0){.su-image-cta-paragraph .su-image-cta-paragraph--link{margin-bottom:8rem}}@media only screen and (min-width:768px) and (max-width:1199px) and (min-width:768px){.su-image-cta-paragraph .su-image-cta-paragraph--link{margin-bottom:9rem}}@media only screen and (min-width:768px) and (max-width:1199px) and (min-width:1500px){.su-image-cta-paragraph .su-image-cta-paragraph--link{margin-bottom:9.5rem}}@media only screen and (max-width:767px) and (min-width:0){.su-image-cta-paragraph .su-image-cta-paragraph--link{margin-bottom:1.6rem}}@media only screen and (max-width:767px) and (min-width:768px){.su-image-cta-paragraph .su-image-cta-paragraph--link{margin-bottom:1.8rem}}@media only screen and (max-width:767px) and (min-width:1500px){.su-image-cta-paragraph .su-image-cta-paragraph--link{margin-bottom:1.9rem}} \ No newline at end of file diff --git a/dist/css/soe_paragraphs.styles.css b/dist/css/soe_paragraphs.styles.css index 9f12fe1..e69de29 100644 --- a/dist/css/soe_paragraphs.styles.css +++ b/dist/css/soe_paragraphs.styles.css @@ -1,5 +0,0 @@ -stanford { - color: #b1040e; } - - -/*# sourceMappingURL=soe_paragraphs.styles.css.map*/ \ No newline at end of file diff --git a/dist/css/stories-paragraph.styles.css b/dist/css/stories-paragraph.styles.css index 27b01f5..c45797f 100644 --- a/dist/css/stories-paragraph.styles.css +++ b/dist/css/stories-paragraph.styles.css @@ -1,298 +1 @@ -.su-stories-paragraph { - border: 1px solid #e3e3e3; - -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.13), 0px 3px 6px rgba(0, 0, 0, 0.1); - box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.13), 0px 3px 6px rgba(0, 0, 0, 0.1); - display: block; - background-color: #ffffff; } - @media only screen and (min-width: 0) and (max-width: 575px) { - .su-stories-paragraph img, - .su-stories-paragraph figure { - display: none; } } - .su-stories-paragraph .su-card__contents { - font-family: "Source Sans Pro", "Helvetica Neue", "Helvetica", "Arial", sans-serif; } - @media only screen and (min-width: 0) { - .su-stories-paragraph .su-card__contents { - padding: 3.2rem; } } - @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-card__contents { - padding: 3.6rem; } } - @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-card__contents { - padding: 3.8rem; } } - .su-stories-paragraph .su-card__contents p { - font-size: 1.8rem; - line-height: 1.3; } - @media (max-width: 767px) { - .su-stories-paragraph .su-card__contents p { - font-size: 1.6rem; } } - .su-stories-paragraph .su-card__contents > *:first-child { - padding-top: 0; - margin-top: -0.3em; } - .su-stories-paragraph .su-card__contents > *:last-child:not(.su-card__button) { - padding-bottom: 0; - margin-bottom: 0; } - .su-stories-paragraph .su-card__contents > span { - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - margin-top: 0; - clear: both; - font-weight: 700; - line-height: 1.2; - font-size: 0.9em; - display: block; } - @media only screen and (min-width: 0) { - .su-stories-paragraph .su-card__contents > span { - margin-bottom: 0.53rem; } } - @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-card__contents > span { - margin-bottom: 0.6rem; } } - @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-card__contents > span { - margin-bottom: 0.63rem; } } - .su-stories-paragraph .su-card__contents > span a { - text-decoration: none; - font-weight: 700; } - .su-stories-paragraph .su-card__contents > h2 { - font-size: 1.5625em; - letter-spacing: -0.012em; } - @media only screen and (min-width: 0) { - .su-stories-paragraph .su-card__contents > h2 { - margin-bottom: 1.07rem; } } - @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-card__contents > h2 { - margin-bottom: 1.2rem; } } - @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-card__contents > h2 { - margin-bottom: 1.27rem; } } - .su-stories-paragraph .su-card__contents > h2 > a { - font-weight: 700; - -webkit-transition: color 0.3s ease-out; - transition: color 0.3s ease-out; } - .su-stories-paragraph .su-card__contents > h2 > a:hover, .su-stories-paragraph .su-card__contents > h2 > a:focus { - color: #b1040e; - text-decoration: underline; } - .su-stories-paragraph .su-card__contents > div:not(.su-card__button) { - line-height: 1.4; } - .su-stories-paragraph .su-card__contents > div:not(.su-card__button), - .su-stories-paragraph .su-card__contents > p:last-of-type { - margin-bottom: 0; } - .su-stories-paragraph .su-card__contents > .su-link--action:not(:first-child), - .su-stories-paragraph .su-card__contents > a:not(:first-child) { - display: inline-block; } - @media only screen and (min-width: 0) { - .su-stories-paragraph .su-card__contents > .su-link--action:not(:first-child), - .su-stories-paragraph .su-card__contents > a:not(:first-child) { - margin-top: 1.07rem; } } - @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-card__contents > .su-link--action:not(:first-child), - .su-stories-paragraph .su-card__contents > a:not(:first-child) { - margin-top: 1.2rem; } } - @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-card__contents > .su-link--action:not(:first-child), - .su-stories-paragraph .su-card__contents > a:not(:first-child) { - margin-top: 1.27rem; } } - @media only screen and (min-width: 0) { - .su-stories-paragraph .su-card__button { - margin-top: 2.31rem; - margin-bottom: 0.53rem; } } - @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-card__button { - margin-top: 2.6rem; - margin-bottom: 0.6rem; } } - @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-card__button { - margin-top: 2.74rem; - margin-bottom: 0.63rem; } } - @media only screen and (min-width: 0) and (max-width: 575px) { - .su-stories-paragraph .su-card__button .su-button { - width: auto; } } - .su-stories-paragraph a .su-media__wrapper img { - -webkit-transition: -webkit-transform 0.3s ease-in-out; - transition: -webkit-transform 0.3s ease-in-out; - transition: transform 0.3s ease-in-out; - transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out; } - .su-stories-paragraph a:hover .su-media__wrapper img, .su-stories-paragraph a:focus .su-media__wrapper img { - -webkit-transform: scale(1.03); - transform: scale(1.03); } - .su-stories-paragraph .su-stories-paragraph--content { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; } - @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--content { - padding: 3.2rem; } } - @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--content { - padding: 3.6rem; } } - @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--content { - padding: 3.8rem; } } - @media (max-width: 767px) { - .su-stories-paragraph .su-stories-paragraph--content { - display: block; } } - @media only screen and (max-width: 767px) and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--content { - padding-top: 1.6rem; } } - @media only screen and (max-width: 767px) and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--content { - padding-top: 1.8rem; } } - @media only screen and (max-width: 767px) and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--content { - padding-top: 1.9rem; } } - .su-stories-paragraph .su-stories-paragraph--photo .stanford-stories-photo-border { - display: none; } - .su-stories-paragraph .su-stories-paragraph--photo.border-color-default img { - border: 6px #000000 solid; } - .su-stories-paragraph .su-stories-paragraph--photo.border-color-1 img { - border: 6px #00ece9 solid; } - .su-stories-paragraph .su-stories-paragraph--photo.border-color-2 img { - border: 6px #ff525c solid; } - .su-stories-paragraph .su-stories-paragraph--photo.border-color-3 img { - border: 6px #ffbd54 solid; } - .su-stories-paragraph .su-stories-paragraph--photo img { - width: 290px; - height: 290px; - min-width: 290px; - min-height: 290px; - border-radius: 50%; - overflow: hidden; } - @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--photo img { - margin-left: 3.2rem; } } - @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--photo img { - margin-left: 3.6rem; } } - @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--photo img { - margin-left: 3.8rem; } } - @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--photo img { - margin-right: 6.4rem; } } - @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--photo img { - margin-right: 7.2rem; } } - @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--photo img { - margin-right: 7.6rem; } } - @media (min-width: 768px) and (max-width: 1199px) { - .su-stories-paragraph .su-stories-paragraph--photo img { - width: 255px; - height: 255px; - min-width: 255px; - min-height: 255px; } } - @media (max-width: 767px) { - .su-stories-paragraph .su-stories-paragraph--photo img { - display: block; - margin-left: auto; - margin-right: auto; - padding: 0; - width: 220px; - height: 220px; - min-width: 220px; - min-height: 220px; } } - @media only screen and (max-width: 767px) and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--photo img { - margin-top: 3.2rem; } } - @media only screen and (max-width: 767px) and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--photo img { - margin-top: 3.6rem; } } - @media only screen and (max-width: 767px) and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--photo img { - margin-top: 3.8rem; } } - @media only screen and (max-width: 767px) and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--photo img { - margin-bottom: 3.2rem; } } - @media only screen and (max-width: 767px) and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--photo img { - margin-bottom: 3.6rem; } } - @media only screen and (max-width: 767px) and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--photo img { - margin-bottom: 3.8rem; } } - @media (max-width: 767px) { - .su-stories-paragraph .su-stories--details { - display: block; } } - .su-stories-paragraph .su-stories-paragraph--name { - font-size: 1.25em; - letter-spacing: -0.01em; - font-weight: 800; } - @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--name { - margin-top: 1.6rem; } } - @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--name { - margin-top: 1.8rem; } } - @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--name { - margin-top: 1.9rem; } } - @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--title { - font-size: 2.1rem; - line-height: 1.7; } } - @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--title { - margin-bottom: 1.6rem; } } - @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--title { - margin-bottom: 1.8rem; } } - @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--title { - margin-bottom: 1.9rem; } } - .su-stories-paragraph .su-stories-paragraph--quote { - font-size: 2.44140625em; - letter-spacing: -0.016em; - font-weight: 800; } - @media (max-width: 767px) { - .su-stories-paragraph .su-stories-paragraph--quote { - font-size: 2.0751953125em; } } - @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--quote { - margin-bottom: 4rem; } } - @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--quote { - margin-bottom: 4.5rem; } } - @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--quote { - margin-bottom: 4.75rem; } } - @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--node-link { - margin-bottom: 8rem; } } - @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--node-link { - margin-bottom: 9rem; } } - @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--node-link { - margin-bottom: 9.5rem; } } - .su-stories-paragraph .su-stories-paragraph--node-link a { - text-decoration: none; } - .su-stories-paragraph .su-stories-paragraph--node-link a:hover { - text-decoration: underline; } - .su-stories-paragraph .su-stories-paragraph--node-link a:active { - text-decoration: underline; } - .su-stories-paragraph .su-stories-paragraph--cta-region { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; } - @media only screen and (min-width: 0) { - .su-stories-paragraph .su-stories-paragraph--cta-region { - padding-bottom: 6.4rem; } } - @media only screen and (min-width: 768px) { - .su-stories-paragraph .su-stories-paragraph--cta-region { - padding-bottom: 7.2rem; } } - @media only screen and (min-width: 1500px) { - .su-stories-paragraph .su-stories-paragraph--cta-region { - padding-bottom: 7.6rem; } } - .su-stories-paragraph .su-stories-paragraph--cta-region .su-stories-paragraph--cta a { - color: #fff; } - - -/*# sourceMappingURL=stories-paragraph.styles.css.map*/ \ No newline at end of file +.su-stories-paragraph .su-stories-paragraph__cta-region a{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Source Sans Pro,Helvetica Neue,Helvetica,Arial,sans-serif;cursor:pointer;display:inline-block;border:0;font-size:2rem;font-weight:400;line-height:1;text-align:center;text-decoration:none;width:auto;-webkit-transition:background-color .25s ease-in-out,color .25s ease-in-out;transition:background-color .25s ease-in-out,color .25s ease-in-out}.su-stories-paragraph .su-stories-paragraph__cta-region a a{font-weight:400;text-decoration:none}.su-stories-paragraph .su-stories-paragraph__cta-region a:active,.su-stories-paragraph .su-stories-paragraph__cta-region a:focus,.su-stories-paragraph .su-stories-paragraph__cta-region a:hover{text-decoration:underline}.su-stories-paragraph{border:1px solid #e3e3e3;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.13),0 3px 6px rgba(0,0,0,.1);box-shadow:0 3px 6px rgba(0,0,0,.13),0 3px 6px rgba(0,0,0,.1);display:block;background-color:#fff}@media only screen and (min-width:0) and (max-width:575px){.su-stories-paragraph figure,.su-stories-paragraph img{display:none}}.su-stories-paragraph .su-card__contents{font-family:Source Sans Pro,Helvetica Neue,Helvetica,Arial,sans-serif}@media only screen and (min-width:0){.su-stories-paragraph .su-card__contents{padding:3.2rem}}@media only screen and (min-width:768px){.su-stories-paragraph .su-card__contents{padding:3.6rem}}@media only screen and (min-width:1500px){.su-stories-paragraph .su-card__contents{padding:3.8rem}}.su-stories-paragraph .su-card__contents p{font-size:1.8rem;line-height:1.3}@media (max-width:767px){.su-stories-paragraph .su-card__contents p{font-size:1.6rem}}.su-stories-paragraph .su-card__contents>:first-child{padding-top:0;margin-top:-.3em}.su-stories-paragraph .su-card__contents>:last-child:not(.su-card__button){padding-bottom:0;margin-bottom:0}.su-stories-paragraph .su-card__contents>span{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin-top:0;clear:both;font-weight:700;line-height:1.2;font-size:.9em;display:block}@media only screen and (min-width:0){.su-stories-paragraph .su-card__contents>span{margin-bottom:.53rem}}@media only screen and (min-width:768px){.su-stories-paragraph .su-card__contents>span{margin-bottom:.6rem}}@media only screen and (min-width:1500px){.su-stories-paragraph .su-card__contents>span{margin-bottom:.63rem}}.su-stories-paragraph .su-card__contents>span a{text-decoration:none;font-weight:700}.su-stories-paragraph .su-card__contents>h2{font-size:1.5625em;letter-spacing:-.012em}@media only screen and (min-width:0){.su-stories-paragraph .su-card__contents>h2{margin-bottom:1.07rem}}@media only screen and (min-width:768px){.su-stories-paragraph .su-card__contents>h2{margin-bottom:1.2rem}}@media only screen and (min-width:1500px){.su-stories-paragraph .su-card__contents>h2{margin-bottom:1.27rem}}.su-stories-paragraph .su-card__contents>h2>a{font-weight:700;-webkit-transition:color .3s ease-out;transition:color .3s ease-out}.su-stories-paragraph .su-card__contents>h2>a:focus,.su-stories-paragraph .su-card__contents>h2>a:hover{color:#b1040e;text-decoration:underline}.su-stories-paragraph .su-card__contents>div:not(.su-card__button){line-height:1.4}.su-stories-paragraph .su-card__contents>div:not(.su-card__button),.su-stories-paragraph .su-card__contents>p:last-of-type{margin-bottom:0}.su-stories-paragraph .su-card__contents>.su-link--action:not(:first-child),.su-stories-paragraph .su-card__contents>a:not(:first-child){display:inline-block}@media only screen and (min-width:0){.su-stories-paragraph .su-card__contents>.su-link--action:not(:first-child),.su-stories-paragraph .su-card__contents>a:not(:first-child){margin-top:1.07rem}}@media only screen and (min-width:768px){.su-stories-paragraph .su-card__contents>.su-link--action:not(:first-child),.su-stories-paragraph .su-card__contents>a:not(:first-child){margin-top:1.2rem}}@media only screen and (min-width:1500px){.su-stories-paragraph .su-card__contents>.su-link--action:not(:first-child),.su-stories-paragraph .su-card__contents>a:not(:first-child){margin-top:1.27rem}}@media only screen and (min-width:0){.su-stories-paragraph .su-card__button{margin-top:2.31rem;margin-bottom:.53rem}}@media only screen and (min-width:768px){.su-stories-paragraph .su-card__button{margin-top:2.6rem;margin-bottom:.6rem}}@media only screen and (min-width:1500px){.su-stories-paragraph .su-card__button{margin-top:2.74rem;margin-bottom:.63rem}}@media only screen and (min-width:0) and (max-width:575px){.su-stories-paragraph .su-card__button .su-button{width:auto}}.su-stories-paragraph a .su-media__wrapper img{-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out}.su-stories-paragraph a:focus .su-media__wrapper img,.su-stories-paragraph a:hover .su-media__wrapper img{-webkit-transform:scale(1.03);transform:scale(1.03)}.su-stories-paragraph .su-stories-paragraph__content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}@media only screen and (min-width:0){.su-stories-paragraph .su-stories-paragraph__content{padding:3.2rem}}@media only screen and (min-width:768px){.su-stories-paragraph .su-stories-paragraph__content{padding:3.6rem}}@media only screen and (min-width:1500px){.su-stories-paragraph .su-stories-paragraph__content{padding:3.8rem}}@media (max-width:767px){.su-stories-paragraph .su-stories-paragraph__content{display:block}}@media only screen and (max-width:767px) and (min-width:0){.su-stories-paragraph .su-stories-paragraph__content{padding-top:1.6rem}}@media only screen and (max-width:767px) and (min-width:768px){.su-stories-paragraph .su-stories-paragraph__content{padding-top:1.8rem}}@media only screen and (max-width:767px) and (min-width:1500px){.su-stories-paragraph .su-stories-paragraph__content{padding-top:1.9rem}}.su-stories-paragraph .su-stories-paragraph__photo .stanford-stories-photo-border{display:none}.su-stories-paragraph .su-stories-paragraph__photo.border-color-default img{border:6px solid #000}.su-stories-paragraph .su-stories-paragraph__photo.border-color-1 img{border:6px solid #00ece9}.su-stories-paragraph .su-stories-paragraph__photo.border-color-2 img{border:6px solid #ff525c}.su-stories-paragraph .su-stories-paragraph__photo.border-color-3 img{border:6px solid #ffbd54}.su-stories-paragraph .su-stories-paragraph__photo img{width:290px;height:290px;min-width:290px;min-height:290px;border-radius:50%;overflow:hidden}@media only screen and (min-width:0){.su-stories-paragraph .su-stories-paragraph__photo img{margin-left:3.2rem}}@media only screen and (min-width:768px){.su-stories-paragraph .su-stories-paragraph__photo img{margin-left:3.6rem}}@media only screen and (min-width:1500px){.su-stories-paragraph .su-stories-paragraph__photo img{margin-left:3.8rem}}@media only screen and (min-width:0){.su-stories-paragraph .su-stories-paragraph__photo img{margin-right:6.4rem}}@media only screen and (min-width:768px){.su-stories-paragraph .su-stories-paragraph__photo img{margin-right:7.2rem}}@media only screen and (min-width:1500px){.su-stories-paragraph .su-stories-paragraph__photo img{margin-right:7.6rem}}@media (min-width:768px) and (max-width:1199px){.su-stories-paragraph .su-stories-paragraph__photo img{width:255px;height:255px;min-width:255px;min-height:255px}}@media (max-width:767px){.su-stories-paragraph .su-stories-paragraph__photo img{display:block;margin-left:auto;margin-right:auto;padding:0;width:220px;height:220px;min-width:220px;min-height:220px}}@media only screen and (max-width:767px) and (min-width:0){.su-stories-paragraph .su-stories-paragraph__photo img{margin-top:3.2rem}}@media only screen and (max-width:767px) and (min-width:768px){.su-stories-paragraph .su-stories-paragraph__photo img{margin-top:3.6rem}}@media only screen and (max-width:767px) and (min-width:1500px){.su-stories-paragraph .su-stories-paragraph__photo img{margin-top:3.8rem}}@media only screen and (max-width:767px) and (min-width:0){.su-stories-paragraph .su-stories-paragraph__photo img{margin-bottom:3.2rem}}@media only screen and (max-width:767px) and (min-width:768px){.su-stories-paragraph .su-stories-paragraph__photo img{margin-bottom:3.6rem}}@media only screen and (max-width:767px) and (min-width:1500px){.su-stories-paragraph .su-stories-paragraph__photo img{margin-bottom:3.8rem}}@media (max-width:767px){.su-stories-paragraph .su-stories__details{display:block}}.su-stories-paragraph .su-stories-paragraph__name{font-size:1.25em;letter-spacing:-.01em;font-weight:800}@media only screen and (min-width:0){.su-stories-paragraph .su-stories-paragraph__name{margin-top:1.6rem}}@media only screen and (min-width:768px){.su-stories-paragraph .su-stories-paragraph__name{margin-top:1.8rem}}@media only screen and (min-width:1500px){.su-stories-paragraph .su-stories-paragraph__name{margin-top:1.9rem}}@media only screen and (min-width:768px){.su-stories-paragraph .su-stories-paragraph__title{font-size:2.1rem;line-height:1.7}}@media only screen and (min-width:0){.su-stories-paragraph .su-stories-paragraph__title{margin-bottom:1.6rem}}@media only screen and (min-width:768px){.su-stories-paragraph .su-stories-paragraph__title{margin-bottom:1.8rem}}@media only screen and (min-width:1500px){.su-stories-paragraph .su-stories-paragraph__title{margin-bottom:1.9rem}}.su-stories-paragraph .su-stories-paragraph__quote{font-size:2.44140625em;letter-spacing:-.016em;font-weight:800}@media (max-width:767px){.su-stories-paragraph .su-stories-paragraph__quote{font-size:2.0751953125em}}@media only screen and (min-width:0){.su-stories-paragraph .su-stories-paragraph__quote{margin-bottom:4rem}}@media only screen and (min-width:768px){.su-stories-paragraph .su-stories-paragraph__quote{margin-bottom:4.5rem}}@media only screen and (min-width:1500px){.su-stories-paragraph .su-stories-paragraph__quote{margin-bottom:4.75rem}}@media only screen and (min-width:0){.su-stories-paragraph .su-stories-paragraph__node-link{margin-bottom:8rem}}@media only screen and (min-width:768px){.su-stories-paragraph .su-stories-paragraph__node-link{margin-bottom:9rem}}@media only screen and (min-width:1500px){.su-stories-paragraph .su-stories-paragraph__node-link{margin-bottom:9.5rem}}.su-stories-paragraph .su-stories-paragraph__node-link a{text-decoration:none}.su-stories-paragraph .su-stories-paragraph__node-link a:active,.su-stories-paragraph .su-stories-paragraph__node-link a:hover{text-decoration:underline}.su-stories-paragraph .su-stories-paragraph__cta-region{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}@media only screen and (min-width:0){.su-stories-paragraph .su-stories-paragraph__cta-region{padding-bottom:6.4rem}}@media only screen and (min-width:768px){.su-stories-paragraph .su-stories-paragraph__cta-region{padding-bottom:7.2rem}}@media only screen and (min-width:1500px){.su-stories-paragraph .su-stories-paragraph__cta-region{padding-bottom:7.6rem}}.su-stories-paragraph .su-stories-paragraph__cta-region a{padding:1rem 2rem 1.15rem;background-color:#b1040e;color:#fff}.su-stories-paragraph .su-stories-paragraph__cta-region a:focus,.su-stories-paragraph .su-stories-paragraph__cta-region a:hover{background-color:#2e2d29;color:#fff}.su-stories-paragraph .su-stories-paragraph__cta-region a:focus{-webkit-box-shadow:0 0 3px #4d4f53,0 0 7px #4d4f53;box-shadow:0 0 3px #4d4f53,0 0 7px #4d4f53} \ No newline at end of file diff --git a/dist/js/soe_paragraphs.script.js b/dist/js/soe_paragraphs.script.js index ae5fdb3..3f6bca9 100644 --- a/dist/js/soe_paragraphs.script.js +++ b/dist/js/soe_paragraphs.script.js @@ -1,132 +1,2 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./lib/js/soe_paragraphs.js"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./lib/js/soe_paragraphs.behavior.js": -/*!*******************************************!*\ - !*** ./lib/js/soe_paragraphs.behavior.js ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -/** - * Behavior Example that works with Webpack. - * - * @see: https://www.npmjs.com/package/drupal-behaviors-loader - * - * Webpack wraps everything in enclosures and hides the global variables from - * scripts so special handling is needed. - */ -window.Drupal.behaviors.soe_paragraphs = { - // Attach Drupal Behavior. - attach: function attach(context, settings) {// console.log("Attached."); - }, - // Detach Example. - detach: function detach() {// console.log("Detached."); - } -}; - -/***/ }), - -/***/ "./lib/js/soe_paragraphs.js": -/*!**********************************!*\ - !*** ./lib/js/soe_paragraphs.js ***! - \**********************************/ -/*! no exports provided */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var _soe_paragraphs_behavior_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./soe_paragraphs.behavior.js */ "./lib/js/soe_paragraphs.behavior.js"); -/* harmony import */ var _soe_paragraphs_behavior_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_soe_paragraphs_behavior_js__WEBPACK_IMPORTED_MODULE_0__); -// Main Webpack entry file. - // Your code goes below. - -/***/ }) - -/******/ }); +!function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=0)}([function(e,t,n){"use strict";n.r(t);n(1)},function(e,t){window.Drupal.behaviors.soe_paragraphs={attach:function(){},detach:function(){}}}]); //# sourceMappingURL=soe_paragraphs.script.js.map \ No newline at end of file diff --git a/lib/scss/components/stories/_stories.scss b/lib/scss/components/stories/_stories.scss index 84d0678..d99fea4 100644 --- a/lib/scss/components/stories/_stories.scss +++ b/lib/scss/components/stories/_stories.scss @@ -1,128 +1,125 @@ -.su-stories-paragraph { - @include card; - - .su-stories-paragraph--content { - display: flex; - flex-direction: row; - justify-content: flex-start; - @include modular-spacing('padding', 2); - @include grid-media-between('xs', 'sm') { - display: block; - @include modular-spacing('padding-top', 0); - }; - } - - .su-stories-paragraph--photo { - - .stanford-stories-photo-border { - display: none; - } - - &.border-color-default { - img { - border: 6px #000000 solid; - } - } - - &.border-color-1 { - img { - border: 6px #00ece9 solid; - } - } - - &.border-color-2 { - img { - border: 6px #ff525c solid; - } - } - - &.border-color-3 { - img { - border: 6px #ffbd54 solid; - } - } - - img { - width: 290px; - height: 290px; - min-width: 290px; - min-height: 290px; - border-radius: 50%; - overflow: hidden; - @include modular-spacing('margin-left', 2); - @include modular-spacing('margin-right', 5); - - @include grid-media-between('md', 'lg') { - width: 255px; - height: 255px; - min-width: 255px; - min-height: 255px; - }; - - @include grid-media-between('xs', 'sm') { - display: block; - @include modular-spacing('margin-top', 2); - @include modular-spacing('margin-bottom', 2); - margin-left: auto; - margin-right: auto; - padding: 0; - width: 220px; - height: 220px; - min-width: 220px; - min-height: 220px; - }; - } -} - - .su-stories--details { - @include grid-media-between('xs', 'sm') { - display: block; - }; - } - - .su-stories-paragraph--name { - @include type-d; - font-weight: 800; - @include modular-spacing('margin-top', 0); - } - - .su-stories-paragraph--title { - @include big-paragraph; - @include modular-spacing('margin-bottom', 0); - } - - .su-stories-paragraph--quote { - @include type-a; - font-weight: 800; - @include modular-spacing('margin-bottom', 3); - } - - .su-stories-paragraph--node-link { - @include modular-spacing('margin-bottom', 6); - - a { - text-decoration: none; - - &:hover { - text-decoration: underline; - } - - &:active { - text-decoration: underline; - } - } - } - - .su-stories-paragraph--cta-region { - display: flex; - justify-content: center; - @include modular-spacing('padding-bottom', 5); - - .su-stories-paragraph--cta { - a { - color: #fff; - } - } - } -} - +.su-stories-paragraph { + @include card; + + .su-stories-paragraph__content { + display: flex; + flex-direction: row; + justify-content: flex-start; + @include modular-spacing('padding', 2); + @include grid-media-between('xs', 'sm') { + display: block; + @include modular-spacing('padding-top', 0); + }; + } + + .su-stories-paragraph__photo { + + .stanford-stories-photo-border { + display: none; + } + + &.border-color-default { + img { + border: 6px #000000 solid; + } + } + + &.border-color-1 { + img { + border: 6px #00ece9 solid; + } + } + + &.border-color-2 { + img { + border: 6px #ff525c solid; + } + } + + &.border-color-3 { + img { + border: 6px #ffbd54 solid; + } + } + + img { + width: 290px; + height: 290px; + min-width: 290px; + min-height: 290px; + border-radius: 50%; + overflow: hidden; + @include modular-spacing('margin-left', 2); + @include modular-spacing('margin-right', 5); + + @include grid-media-between('md', 'lg') { + width: 255px; + height: 255px; + min-width: 255px; + min-height: 255px; + }; + + @include grid-media-between('xs', 'sm') { + display: block; + @include modular-spacing('margin-top', 2); + @include modular-spacing('margin-bottom', 2); + margin-left: auto; + margin-right: auto; + padding: 0; + width: 220px; + height: 220px; + min-width: 220px; + min-height: 220px; + }; + } +} + + .su-stories__details { + @include grid-media-between('xs', 'sm') { + display: block; + }; + } + + .su-stories-paragraph__name { + @include type-d; + font-weight: 800; + @include modular-spacing('margin-top', 0); + } + + .su-stories-paragraph__title { + @include big-paragraph; + @include modular-spacing('margin-bottom', 0); + } + + .su-stories-paragraph__quote { + @include type-a; + font-weight: 800; + @include modular-spacing('margin-bottom', 3); + } + + .su-stories-paragraph__node-link { + @include modular-spacing('margin-bottom', 6); + + a { + text-decoration: none; + + &:hover { + text-decoration: underline; + } + + &:active { + text-decoration: underline; + } + } + } + + .su-stories-paragraph__cta-region { + display: flex; + justify-content: center; + @include modular-spacing('padding-bottom', 5); + a { + @include button-primary(); + color: #fff; + } + } +} diff --git a/lib/scss/soe_paragraphs.scss b/lib/scss/soe_paragraphs.scss index 42b1982..963469e 100644 --- a/lib/scss/soe_paragraphs.scss +++ b/lib/scss/soe_paragraphs.scss @@ -1,11 +1,6 @@ @charset 'UTF-8'; @import "./soe_paragraphs.config"; -@import 'decanter/core/src/scss/decanter-no-markup'; - -stanford { - color: $su-color-bright-red; -} // Your SASS here // body { diff --git a/modules/soe_paragraph_image_cta/soe_paragraph_image_cta.info.yml b/modules/soe_paragraph_image_cta/soe_paragraph_image_cta.info.yml index 436bd07..bd9694a 100644 --- a/modules/soe_paragraph_image_cta/soe_paragraph_image_cta.info.yml +++ b/modules/soe_paragraph_image_cta/soe_paragraph_image_cta.info.yml @@ -1,12 +1,12 @@ -name: 'Image CTA Paragraph' -description: 'A paragraph type which provides an image and CTA button' -type: module -core_version_requirement: ^8.8 || ^9 -package: Stanford -dependencies: - - ds - - field - - paragraphs - - text - - soe_paragraphs -version: 8.x-1.0-dev +name: 'Image CTA Paragraph' +description: 'A paragraph type which provides an image and CTA button' +type: module +core_version_requirement: ^8.8 || ^9 +package: Stanford +dependencies: + - ds:ds + - drupal:field + - paragraphs:paragraphs + - drupal:text + - soe_paragraphs:soe_paragraphs +version: 8.x-1.0-dev diff --git a/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.html.twig b/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.html.twig index 9e168f8..49e8076 100644 --- a/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.html.twig +++ b/modules/soe_paragraph_image_cta/templates/image-cta-paragraph.html.twig @@ -1,20 +1,19 @@ - -{# -/** - * @file - * Image CTA Paragraph - * - * Template for the Image CTA paragraph type. - * - * Available variables: - * - * {{ paragraph_content }} - * - */ -#} - -{%- set attributes = attributes.addClass(['su-image-cta-paragraph', modifier_class]) -%} - - - {{ paragraph_content }} -
+ +{# +/** + * @file + * Image CTA Paragraph + * + * Template for the Image CTA paragraph type. + * + * Available variables: + * + * {{ paragraph_content }} + * + */ +#} + +{%- set attributes = attributes.addClass(['su-image-cta-paragraph', modifier_class]) -%} + + {{ paragraph_content }} + diff --git a/modules/soe_paragraph_stories/config/install/core.entity_view_display.paragraph.stanford_stories.default.yml b/modules/soe_paragraph_stories/config/install/core.entity_view_display.paragraph.stanford_stories.default.yml index b34ada6..a3e5413 100644 --- a/modules/soe_paragraph_stories/config/install/core.entity_view_display.paragraph.stanford_stories.default.yml +++ b/modules/soe_paragraph_stories/config/install/core.entity_view_display.paragraph.stanford_stories.default.yml @@ -31,7 +31,6 @@ third_party_settings: regions: image: - stanford_stories_photo - - stanford_stories_photo_border person_content: - stanford_stories_name - stanford_stories_title @@ -41,6 +40,10 @@ third_party_settings: - stanford_stories_node_link cta: - stanford_stories_cta_link + border_color_variant: + - stanford_stories_photo_border +_core: + default_config_hash: 02O7gZXP9P8m2VofA9QrJ45HCimNF5Doy4bCTJgr8R8 id: paragraph.stanford_stories.default targetEntityType: paragraph bundle: stanford_stories @@ -48,7 +51,7 @@ mode: default content: stanford_stories_cta_link: type: link - weight: 6 + weight: 5 region: cta label: hidden settings: @@ -61,7 +64,7 @@ content: field_formatter_class: class: 'su-stories-paragraph--cta su-button' stanford_stories_name: - weight: 2 + weight: 1 label: hidden settings: link_to_entity: false @@ -72,7 +75,7 @@ content: region: person_content stanford_stories_node_link: type: link - weight: 5 + weight: 4 region: link label: hidden settings: @@ -98,21 +101,21 @@ content: region: image stanford_stories_photo_border: type: list_key - weight: 1 - region: image + weight: 6 + region: border_color_variant label: hidden settings: { } third_party_settings: { } stanford_stories_quote: type: text_default - weight: 4 + weight: 3 region: quote label: hidden settings: { } third_party_settings: { } stanford_stories_title: type: string - weight: 3 + weight: 2 region: person_content label: hidden settings: @@ -121,3 +124,4 @@ content: field_formatter_class: class: su-stories-paragraph--title hidden: { } + diff --git a/modules/soe_paragraph_stories/soe_paragraph_stories.info.yml b/modules/soe_paragraph_stories/soe_paragraph_stories.info.yml index ee09d63..356a830 100644 --- a/modules/soe_paragraph_stories/soe_paragraph_stories.info.yml +++ b/modules/soe_paragraph_stories/soe_paragraph_stories.info.yml @@ -1,12 +1,12 @@ -name: 'Stories Paragraph' -description: 'A paragraph type to display a person to highlight' -type: module -core_version_requirement: ^8.8 || ^9 -package: Stanford -dependencies: - - ds:ds - - drupal:field - - paragraphs:paragraphs - - drupal:text - - soe_paragraphs:soe_paragraphs -version: 8.x-1.0-dev +name: 'Stories Paragraph' +description: 'A paragraph type to display a person to highlight' +type: module +core_version_requirement: ^8.8 || ^9 +package: Stanford +dependencies: + - ds:ds + - drupal:field + - paragraphs:paragraphs + - drupal:text + - soe_paragraphs:soe_paragraphs +version: 8.x-1.0-dev diff --git a/modules/soe_paragraph_stories/templates/stories-paragraph.html.twig b/modules/soe_paragraph_stories/templates/stories-paragraph.html.twig index 7877b17..8482e01 100644 --- a/modules/soe_paragraph_stories/templates/stories-paragraph.html.twig +++ b/modules/soe_paragraph_stories/templates/stories-paragraph.html.twig @@ -8,49 +8,47 @@ * Available variables: * * {{ image }} - * {{ paragraph_content }} - * {{ cta }} + * {{ person_content }} + * {{ cta }} + * {{ quote }} + * {{ border_color_variant }} * */ #} {%- set attributes = attributes.addClass(['su-stories-paragraph', modifier_class]) -%} -{%- set img_variant_keys = image|keys -%} -{%- set img_variant_field_name = img_variant_keys[1] -%} -{%- set img_variant_field = image[img_variant_field_name] -%} -{%- set img_variant_value = img_variant_field['#items'][0].value -%} - -{%- if img_variant_value == 1 -%} -{%- set border_color = 'border-color-1' -%} -{%- elseif img_variant_value == 2 -%} -{%- set border_color = 'border-color-2' -%} -{%- elseif img_variant_value == 3 -%} -{%- set border_color = 'border-color-3' -%} +{%- if border_color_variant|render|striptags|trim is not empty -%} +{%- set border_color = 'border-color-' ~ border_color_variant|render|striptags|trim -%} {%- else -%} {%- set border_color = 'border-color-default' -%} -{%- endif -%} -{%- set img_attributes = create_attribute() -%} -{%- set img_classes = ['su-stories-paragraph--photo', border_color] -%} +{%- endif -%} -{%- set quote_keys = quote|keys -%} -{%- set quote_field_name = quote_keys[0] -%} -{%- set quote_field = quote[quote_field_name] -%} -{%- set quote_value = quote_field['#items'][0].value -%} +{%- set img_attributes = create_attribute() -%} +{%- set img_classes = ['su-stories-paragraph__photo', border_color] -%} -
+
+ {{ image }}
-
- {{ person_content }} -
-

"{{ quote_value }} ..."

-
+ +
+ {{ person_content }} + + {%- if quote|render|striptags('') is not empty -%} +
+

"{{ quote|render|striptags }} ..."

+
+ {%- endif -%} + {{ link }}
-
-
+
+ + {%- if cta|render|striptags('') is not empty -%} +
{{ cta }} -
+
+ {%- endif -%} diff --git a/modules/soe_paragraph_stories/templates/stories-paragraph.ui_patterns.yml b/modules/soe_paragraph_stories/templates/stories-paragraph.ui_patterns.yml index d40bb8f..fe8fae4 100644 --- a/modules/soe_paragraph_stories/templates/stories-paragraph.ui_patterns.yml +++ b/modules/soe_paragraph_stories/templates/stories-paragraph.ui_patterns.yml @@ -1,34 +1,38 @@ -stories-paragraph: - label: Stories Paragraph - description: Stories Paragraph - variants: - default: - label: Minimal - description: "Minimal" - fields: - image: - type: text - label: "Image" - description: "The image to display for the Paragraph" - person_content: - type: text - label: "Content" - description: "The main content area" - quote: - type: text - label: "Quote" - description: "The quote for the story" - link: - type: text - label: "Link" - description: "Link to the story node" - cta: - type: text - label: "CTA" - description: "An optional CTA button" - use: "@soe_paragraph_stories/stories-paragraph.html.twig" - libraries: - - stories-paragraph: - css: - component: - ../../../dist/css/stories-paragraph.styles.css: {} +stories-paragraph: + label: Stories Paragraph + description: Stories Paragraph + variants: + default: + label: Minimal + description: "Minimal" + fields: + image: + type: text + label: "Image" + description: "The image to display for the Paragraph" + person_content: + type: text + label: "Content" + description: "The main content area" + quote: + type: text + label: "Quote" + description: "The quote for the story" + link: + type: text + label: "Link" + description: "Link to the story node" + cta: + type: text + label: "CTA" + description: "An optional CTA button" + border_color_variant: + type: integer + label: "Border color option" + description: "A numerical variant item" + use: "@soe_paragraph_stories/stories-paragraph.html.twig" + libraries: + - stories-paragraph: + css: + component: + ../../../dist/css/stories-paragraph.styles.css: {} diff --git a/soe_paragraphs.info.yml b/soe_paragraphs.info.yml index 0accfb5..0c99ce8 100644 --- a/soe_paragraphs.info.yml +++ b/soe_paragraphs.info.yml @@ -5,9 +5,9 @@ core_version_requirement: ^8.8 || ^9 package: Stanford version: 8.x-1.0-dev dependencies: - - paragraphs - - jumpstart_ui - - ds - - field - - text - - stanford_text_editor + - paragraphs:paragraphs + - jumpstart_ui:jumpstart_ui + - ds:ds + - drupal:field + - drupal:text + - stanford_text_editor:stanford_text_editor diff --git a/src/Form/.gitkeep b/src/Form/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/src/Plugin/.gitkeep b/src/Plugin/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/src/README.md b/src/README.md deleted file mode 100644 index 520af53..0000000 --- a/src/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# Drupal Autoload Class Directory - -Put yer namespaced class files in here. diff --git a/tests/behat/features/README.md b/tests/behat/features/README.md deleted file mode 100644 index e7d6169..0000000 --- a/tests/behat/features/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# Behat Features Dir - -Place your behat features in this directory. diff --git a/tests/behat/media/README.md b/tests/behat/media/README.md deleted file mode 100644 index 771b346..0000000 --- a/tests/behat/media/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# Behat Media Dir - -Place your behat media and/or test related assets in this directory. diff --git a/tests/phpunit/ExampleTest.php b/tests/phpunit/ExampleTest.php deleted file mode 100644 index 426e756..0000000 --- a/tests/phpunit/ExampleTest.php +++ /dev/null @@ -1,14 +0,0 @@ - -assertEquals(1, 1, "One equals one!"); - } -} From 7fa61ab27d4ca99a4d36a6b720ad81e0d5714070 Mon Sep 17 00:00:00 2001 From: Shea McKinney Date: Wed, 17 Jun 2020 15:24:10 -0700 Subject: [PATCH 34/40] Fixup! entity display. --- dist/css/cta-list-paragraph.styles.css | 2 +- dist/css/image-cta-paragraph.styles.css | 2 +- lib/scss/components/cta-list/_cta-list.scss | 232 +++++++++--------- lib/scss/components/image-cta/_image_cta.scss | 118 ++++----- ...ay.paragraph.stanford_cta_list.default.yml | 18 +- .../soe_paragraph_cta_list.info.yml | 24 +- .../templates/cta-list-paragraph.html.twig | 14 +- ...lay.paragraph.stanford_stories.default.yml | 14 +- 8 files changed, 214 insertions(+), 210 deletions(-) diff --git a/dist/css/cta-list-paragraph.styles.css b/dist/css/cta-list-paragraph.styles.css index a22cc5e..d8d586d 100644 --- a/dist/css/cta-list-paragraph.styles.css +++ b/dist/css/cta-list-paragraph.styles.css @@ -1 +1 @@ -.su-cta-list-paragraph{border-top:1px solid #d2d3d4}@media only screen and (min-width:0){.su-cta-list-paragraph{padding-top:4rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph{padding-top:4.5rem}}@media only screen and (min-width:1500px){.su-cta-list-paragraph{padding-top:4.75rem}}@media only screen and (min-width:0){.su-cta-list-paragraph{padding-left:3.2rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph{padding-left:3.6rem}}@media only screen and (min-width:1500px){.su-cta-list-paragraph{padding-left:3.8rem}}@media only screen and (min-width:0){.su-cta-list-paragraph{padding-right:3.2rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph{padding-right:3.6rem}}@media only screen and (min-width:1500px){.su-cta-list-paragraph{padding-right:3.8rem}}@media only screen and (max-width:991px) and (min-width:0){.su-cta-list-paragraph{padding-left:1.6rem}}@media only screen and (max-width:991px) and (min-width:768px){.su-cta-list-paragraph{padding-left:1.8rem}}@media only screen and (max-width:991px) and (min-width:1500px){.su-cta-list-paragraph{padding-left:1.9rem}}@media only screen and (max-width:991px) and (min-width:0){.su-cta-list-paragraph{padding-right:1.6rem}}@media only screen and (max-width:991px) and (min-width:768px){.su-cta-list-paragraph{padding-right:1.8rem}}@media only screen and (max-width:991px) and (min-width:1500px){.su-cta-list-paragraph{padding-right:1.9rem}}.su-cta-list-paragraph .su-cta-list-paragraph--header{font-size:1.5625em;letter-spacing:-.012em;font-weight:700}@media only screen and (min-width:0){.su-cta-list-paragraph .su-cta-list-paragraph--header{margin-bottom:2.31rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph .su-cta-list-paragraph--header{margin-bottom:2.6rem}}@media only screen and (min-width:1500px){.su-cta-list-paragraph .su-cta-list-paragraph--header{margin-bottom:2.74rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph .su-cta-list-paragraph--description{font-size:2.1rem;line-height:1.7}}@media only screen and (min-width:0){.su-cta-list-paragraph .su-cta-list-paragraph--description{margin-bottom:4rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph .su-cta-list-paragraph--description{margin-bottom:4.5rem}}@media only screen and (min-width:1500px){.su-cta-list-paragraph .su-cta-list-paragraph--description{margin-bottom:4.75rem}}.su-cta-list-paragraph .su-cta-list--links{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;width:100%}@media only screen and (min-width:0) and (max-width:575px){.su-cta-list-paragraph .su-cta-list--links{display:block;width:100%}}@media only screen and (min-width:0) and (max-width:575px) and (min-width:0){.su-cta-list-paragraph .su-cta-list--links{padding-bottom:2.31rem}}@media only screen and (min-width:0) and (max-width:575px) and (min-width:768px){.su-cta-list-paragraph .su-cta-list--links{padding-bottom:2.6rem}}@media only screen and (min-width:0) and (max-width:575px) and (min-width:1500px){.su-cta-list-paragraph .su-cta-list--links{padding-bottom:2.74rem}}.su-cta-list-paragraph .su-cta-list--links .su-link--action{display:block;width:100%}@media only screen and (min-width:0){.su-cta-list-paragraph .su-cta-list--links .su-link--action{margin-bottom:2.31rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph .su-cta-list--links .su-link--action{margin-bottom:2.6rem}}@media only screen and (min-width:1500px){.su-cta-list-paragraph .su-cta-list--links .su-link--action{margin-bottom:2.74rem}}.su-cta-list-paragraph .su-cta-list--links .col-1{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:200px}@media only screen and (min-width:0){.su-cta-list-paragraph .su-cta-list--links .col-1{margin-right:2.31rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph .su-cta-list--links .col-1{margin-right:2.6rem}}@media only screen and (min-width:1500px){.su-cta-list-paragraph .su-cta-list--links .col-1{margin-right:2.74rem}}.su-cta-list-paragraph .su-cta-list--links .col-1 a{color:#b1040e}.su-cta-list-paragraph .su-cta-list--links .col-1 a:after,.su-cta-list-paragraph .su-cta-list--links .col-1 a:after:active,.su-cta-list-paragraph .su-cta-list--links .col-1 a:after:focus,.su-cta-list-paragraph .su-cta-list--links .col-1 a:after:hover{background-color:#b1040e}@media only screen and (min-width:0) and (max-width:575px){.su-cta-list-paragraph .su-cta-list--links .col-1{display:block;width:100%}}.su-cta-list-paragraph .su-cta-list--links .col-2{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1;flex:1}@media only screen and (min-width:0){.su-cta-list-paragraph .su-cta-list--links .col-2{margin-right:9.6rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph .su-cta-list--links .col-2{margin-right:10.8rem}}@media only screen and (min-width:1500px){.su-cta-list-paragraph .su-cta-list--links .col-2{margin-right:11.4rem}}.su-cta-list-paragraph .su-cta-list--links .col-2 a{color:#b1040e}.su-cta-list-paragraph .su-cta-list--links .col-2 a:after,.su-cta-list-paragraph .su-cta-list--links .col-2 a:after:active,.su-cta-list-paragraph .su-cta-list--links .col-2 a:after:focus,.su-cta-list-paragraph .su-cta-list--links .col-2 a:after:hover{background-color:#b1040e}@media (max-width:1199px){.su-cta-list-paragraph .su-cta-list--links .col-2{min-width:150px}}@media only screen and (max-width:1199px) and (min-width:0){.su-cta-list-paragraph .su-cta-list--links .col-2{margin-right:2.31rem}}@media only screen and (max-width:1199px) and (min-width:768px){.su-cta-list-paragraph .su-cta-list--links .col-2{margin-right:2.6rem}}@media only screen and (max-width:1199px) and (min-width:1500px){.su-cta-list-paragraph .su-cta-list--links .col-2{margin-right:2.74rem}}@media only screen and (min-width:0) and (max-width:575px){.su-cta-list-paragraph .su-cta-list--links .col-2{display:block;width:100%}} \ No newline at end of file +.su-cta-list-paragraph{border-top:1px solid #d2d3d4}@media only screen and (min-width:0){.su-cta-list-paragraph{padding-top:4rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph{padding-top:4.5rem}}@media only screen and (min-width:1500px){.su-cta-list-paragraph{padding-top:4.75rem}}@media only screen and (min-width:0){.su-cta-list-paragraph{padding-left:3.2rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph{padding-left:3.6rem}}@media only screen and (min-width:1500px){.su-cta-list-paragraph{padding-left:3.8rem}}@media only screen and (min-width:0){.su-cta-list-paragraph{padding-right:3.2rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph{padding-right:3.6rem}}@media only screen and (min-width:1500px){.su-cta-list-paragraph{padding-right:3.8rem}}@media only screen and (max-width:991px) and (min-width:0){.su-cta-list-paragraph{padding-left:1.6rem}}@media only screen and (max-width:991px) and (min-width:768px){.su-cta-list-paragraph{padding-left:1.8rem}}@media only screen and (max-width:991px) and (min-width:1500px){.su-cta-list-paragraph{padding-left:1.9rem}}@media only screen and (max-width:991px) and (min-width:0){.su-cta-list-paragraph{padding-right:1.6rem}}@media only screen and (max-width:991px) and (min-width:768px){.su-cta-list-paragraph{padding-right:1.8rem}}@media only screen and (max-width:991px) and (min-width:1500px){.su-cta-list-paragraph{padding-right:1.9rem}}.su-cta-list-paragraph .su-cta-list-paragraph__header{font-size:1.5625em;letter-spacing:-.012em;font-weight:700}@media only screen and (min-width:0){.su-cta-list-paragraph .su-cta-list-paragraph__header{margin-bottom:2.31rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph .su-cta-list-paragraph__header{margin-bottom:2.6rem}}@media only screen and (min-width:1500px){.su-cta-list-paragraph .su-cta-list-paragraph__header{margin-bottom:2.74rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph .su-cta-list-paragraph__description{font-size:2.1rem;line-height:1.7}}@media only screen and (min-width:0){.su-cta-list-paragraph .su-cta-list-paragraph__description{margin-bottom:4rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph .su-cta-list-paragraph__description{margin-bottom:4.5rem}}@media only screen and (min-width:1500px){.su-cta-list-paragraph .su-cta-list-paragraph__description{margin-bottom:4.75rem}}.su-cta-list-paragraph .su-cta-list__links{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;width:100%}@media only screen and (min-width:0) and (max-width:575px){.su-cta-list-paragraph .su-cta-list__links{display:block;width:100%}}@media only screen and (min-width:0) and (max-width:575px) and (min-width:0){.su-cta-list-paragraph .su-cta-list__links{padding-bottom:2.31rem}}@media only screen and (min-width:0) and (max-width:575px) and (min-width:768px){.su-cta-list-paragraph .su-cta-list__links{padding-bottom:2.6rem}}@media only screen and (min-width:0) and (max-width:575px) and (min-width:1500px){.su-cta-list-paragraph .su-cta-list__links{padding-bottom:2.74rem}}.su-cta-list-paragraph .su-cta-list__links .su-link--action{display:block;width:100%}@media only screen and (min-width:0){.su-cta-list-paragraph .su-cta-list__links .su-link--action{margin-bottom:2.31rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph .su-cta-list__links .su-link--action{margin-bottom:2.6rem}}@media only screen and (min-width:1500px){.su-cta-list-paragraph .su-cta-list__links .su-link--action{margin-bottom:2.74rem}}.su-cta-list-paragraph .su-cta-list__links .col-1{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:200px}@media only screen and (min-width:0){.su-cta-list-paragraph .su-cta-list__links .col-1{margin-right:2.31rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph .su-cta-list__links .col-1{margin-right:2.6rem}}@media only screen and (min-width:1500px){.su-cta-list-paragraph .su-cta-list__links .col-1{margin-right:2.74rem}}.su-cta-list-paragraph .su-cta-list__links .col-1 a{color:#b1040e}.su-cta-list-paragraph .su-cta-list__links .col-1 a:after,.su-cta-list-paragraph .su-cta-list__links .col-1 a:after:active,.su-cta-list-paragraph .su-cta-list__links .col-1 a:after:focus,.su-cta-list-paragraph .su-cta-list__links .col-1 a:after:hover{background-color:#b1040e}@media only screen and (min-width:0) and (max-width:575px){.su-cta-list-paragraph .su-cta-list__links .col-1{display:block;width:100%}}.su-cta-list-paragraph .su-cta-list__links .col-2{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1;flex:1}@media only screen and (min-width:0){.su-cta-list-paragraph .su-cta-list__links .col-2{margin-right:9.6rem}}@media only screen and (min-width:768px){.su-cta-list-paragraph .su-cta-list__links .col-2{margin-right:10.8rem}}@media only screen and (min-width:1500px){.su-cta-list-paragraph .su-cta-list__links .col-2{margin-right:11.4rem}}.su-cta-list-paragraph .su-cta-list__links .col-2 a{color:#b1040e}.su-cta-list-paragraph .su-cta-list__links .col-2 a:after,.su-cta-list-paragraph .su-cta-list__links .col-2 a:after:active,.su-cta-list-paragraph .su-cta-list__links .col-2 a:after:focus,.su-cta-list-paragraph .su-cta-list__links .col-2 a:after:hover{background-color:#b1040e}@media (max-width:1199px){.su-cta-list-paragraph .su-cta-list__links .col-2{min-width:150px}}@media only screen and (max-width:1199px) and (min-width:0){.su-cta-list-paragraph .su-cta-list__links .col-2{margin-right:2.31rem}}@media only screen and (max-width:1199px) and (min-width:768px){.su-cta-list-paragraph .su-cta-list__links .col-2{margin-right:2.6rem}}@media only screen and (max-width:1199px) and (min-width:1500px){.su-cta-list-paragraph .su-cta-list__links .col-2{margin-right:2.74rem}}@media only screen and (min-width:0) and (max-width:575px){.su-cta-list-paragraph .su-cta-list__links .col-2{display:block;width:100%}} \ No newline at end of file diff --git a/dist/css/image-cta-paragraph.styles.css b/dist/css/image-cta-paragraph.styles.css index ba09f02..c4f17dc 100644 --- a/dist/css/image-cta-paragraph.styles.css +++ b/dist/css/image-cta-paragraph.styles.css @@ -1 +1 @@ -@media only screen and (max-width:767px) and (min-width:0){.su-image-cta-paragraph{margin-bottom:2.31rem}}@media only screen and (max-width:767px) and (min-width:768px){.su-image-cta-paragraph{margin-bottom:2.6rem}}@media only screen and (max-width:767px) and (min-width:1500px){.su-image-cta-paragraph{margin-bottom:2.74rem}}@media only screen and (min-width:0){.su-image-cta-paragraph .su-image-cta-paragraph--image{margin-bottom:1.6rem}}@media only screen and (min-width:768px){.su-image-cta-paragraph .su-image-cta-paragraph--image{margin-bottom:1.8rem}}@media only screen and (min-width:1500px){.su-image-cta-paragraph .su-image-cta-paragraph--image{margin-bottom:1.9rem}}@media (max-width:767px){.su-image-cta-paragraph .su-image-cta-paragraph--image{display:none}}@media only screen and (min-width:0){.su-image-cta-paragraph .su-image-cta-paragraph--link{margin-bottom:9.6rem}}@media only screen and (min-width:768px){.su-image-cta-paragraph .su-image-cta-paragraph--link{margin-bottom:10.8rem}}@media only screen and (min-width:1500px){.su-image-cta-paragraph .su-image-cta-paragraph--link{margin-bottom:11.4rem}}.su-image-cta-paragraph .su-image-cta-paragraph--link a{color:#b1040e;text-decoration:none}.su-image-cta-paragraph .su-image-cta-paragraph--link a:focus,.su-image-cta-paragraph .su-image-cta-paragraph--link a:hover{color:#2e2d29}.su-image-cta-paragraph .su-image-cta-paragraph--link:after{background-color:#b1040e}.su-image-cta-paragraph .su-image-cta-paragraph--link:after:focus,.su-image-cta-paragraph .su-image-cta-paragraph--link:after:hover{background-color:#2e2d29}.su-image-cta-paragraph .su-image-cta-paragraph--link:after:active{background-color:#b1040e}@media only screen and (min-width:768px) and (max-width:1199px) and (min-width:0){.su-image-cta-paragraph .su-image-cta-paragraph--link{margin-bottom:8rem}}@media only screen and (min-width:768px) and (max-width:1199px) and (min-width:768px){.su-image-cta-paragraph .su-image-cta-paragraph--link{margin-bottom:9rem}}@media only screen and (min-width:768px) and (max-width:1199px) and (min-width:1500px){.su-image-cta-paragraph .su-image-cta-paragraph--link{margin-bottom:9.5rem}}@media only screen and (max-width:767px) and (min-width:0){.su-image-cta-paragraph .su-image-cta-paragraph--link{margin-bottom:1.6rem}}@media only screen and (max-width:767px) and (min-width:768px){.su-image-cta-paragraph .su-image-cta-paragraph--link{margin-bottom:1.8rem}}@media only screen and (max-width:767px) and (min-width:1500px){.su-image-cta-paragraph .su-image-cta-paragraph--link{margin-bottom:1.9rem}} \ No newline at end of file +@media only screen and (max-width:767px) and (min-width:0){.su-image-cta-paragraph{margin-bottom:2.31rem}}@media only screen and (max-width:767px) and (min-width:768px){.su-image-cta-paragraph{margin-bottom:2.6rem}}@media only screen and (max-width:767px) and (min-width:1500px){.su-image-cta-paragraph{margin-bottom:2.74rem}}@media only screen and (min-width:0){.su-image-cta-paragraph .su-image-cta-paragraph__image{margin-bottom:1.6rem}}@media only screen and (min-width:768px){.su-image-cta-paragraph .su-image-cta-paragraph__image{margin-bottom:1.8rem}}@media only screen and (min-width:1500px){.su-image-cta-paragraph .su-image-cta-paragraph__image{margin-bottom:1.9rem}}@media (max-width:767px){.su-image-cta-paragraph .su-image-cta-paragraph__image{display:none}}@media only screen and (min-width:0){.su-image-cta-paragraph .su-image-cta-paragraph__link{margin-bottom:9.6rem}}@media only screen and (min-width:768px){.su-image-cta-paragraph .su-image-cta-paragraph__link{margin-bottom:10.8rem}}@media only screen and (min-width:1500px){.su-image-cta-paragraph .su-image-cta-paragraph__link{margin-bottom:11.4rem}}.su-image-cta-paragraph .su-image-cta-paragraph__link a{color:#b1040e;text-decoration:none}.su-image-cta-paragraph .su-image-cta-paragraph__link a:focus,.su-image-cta-paragraph .su-image-cta-paragraph__link a:hover{color:#2e2d29}.su-image-cta-paragraph .su-image-cta-paragraph__link:after{background-color:#b1040e}.su-image-cta-paragraph .su-image-cta-paragraph__link:after:focus,.su-image-cta-paragraph .su-image-cta-paragraph__link:after:hover{background-color:#2e2d29}.su-image-cta-paragraph .su-image-cta-paragraph__link:after:active{background-color:#b1040e}@media only screen and (min-width:768px) and (max-width:1199px) and (min-width:0){.su-image-cta-paragraph .su-image-cta-paragraph__link{margin-bottom:8rem}}@media only screen and (min-width:768px) and (max-width:1199px) and (min-width:768px){.su-image-cta-paragraph .su-image-cta-paragraph__link{margin-bottom:9rem}}@media only screen and (min-width:768px) and (max-width:1199px) and (min-width:1500px){.su-image-cta-paragraph .su-image-cta-paragraph__link{margin-bottom:9.5rem}}@media only screen and (max-width:767px) and (min-width:0){.su-image-cta-paragraph .su-image-cta-paragraph__link{margin-bottom:1.6rem}}@media only screen and (max-width:767px) and (min-width:768px){.su-image-cta-paragraph .su-image-cta-paragraph__link{margin-bottom:1.8rem}}@media only screen and (max-width:767px) and (min-width:1500px){.su-image-cta-paragraph .su-image-cta-paragraph__link{margin-bottom:1.9rem}} \ No newline at end of file diff --git a/lib/scss/components/cta-list/_cta-list.scss b/lib/scss/components/cta-list/_cta-list.scss index e52d39d..925c724 100644 --- a/lib/scss/components/cta-list/_cta-list.scss +++ b/lib/scss/components/cta-list/_cta-list.scss @@ -1,116 +1,116 @@ -@charset "UTF-8"; - -.su-cta-list-paragraph { - - @include modular-spacing('padding-top', 3); - @include modular-spacing('padding-left', 2); - @include modular-spacing('padding-right', 2); - - border-top: 1px solid $su-color-cool-grey-25; - - @include grid-media-max('md') { - @include modular-spacing('padding-left', 0); - @include modular-spacing('padding-right', 0); - } - - .su-cta-list-paragraph--header { - @include type-c; - font-weight: 700; - @include modular-spacing('margin-bottom', 1); - } - - .su-cta-list-paragraph--description { - @include big-paragraph; - @include modular-spacing('margin-bottom', 3); - } - - .su-cta-list--links { - display: flex; - flex-direction: row; - flex-wrap: wrap; - width: 100%; - - @include grid-media-only('xs') { - display: block; - width: 100%; - @include modular-spacing('padding-bottom', 1); - }; - - .su-link--action { - display: block; - width: 100%; - @include modular-spacing('margin-bottom', 1); - } - - .col-1 { - @include modular-spacing('margin-right', 1); - display: flex; - flex-direction: column; - flex: 1; - min-width: 200px; - - a { - color: $su-color-bright-red; - - &::after { - background-color: $su-color-bright-red; - - &:hover { - background-color: $su-color-bright-red; - } - - &:focus { - background-color: $su-color-bright-red; - } - - &:active { - background-color: $su-color-bright-red; - } - } - } - - @include grid-media-only('xs') { - display: block; - width: 100%; - }; - } - - .col-2 { - @include modular-spacing('margin-right', 7); - display: flex; - flex-direction: column; - flex: 1; - - - a { - color: $su-color-bright-red; - - &::after { - background-color: $su-color-bright-red; - - &:hover { - background-color: $su-color-bright-red; - } - - &:focus { - background-color: $su-color-bright-red; - } - - &:active { - background-color: $su-color-bright-red; - } - } - } - - @include grid-media-between('xs', 'lg') { - min-width: 150px; - @include modular-spacing('margin-right', 1); - } - - @include grid-media-only('xs') { - display: block; - width: 100%; - }; - } - } -} +@charset "UTF-8"; + +.su-cta-list-paragraph { + + @include modular-spacing('padding-top', 3); + @include modular-spacing('padding-left', 2); + @include modular-spacing('padding-right', 2); + + border-top: 1px solid $su-color-cool-grey-25; + + @include grid-media-max('md') { + @include modular-spacing('padding-left', 0); + @include modular-spacing('padding-right', 0); + } + + .su-cta-list-paragraph__header { + @include type-c; + font-weight: 700; + @include modular-spacing('margin-bottom', 1); + } + + .su-cta-list-paragraph__description { + @include big-paragraph; + @include modular-spacing('margin-bottom', 3); + } + + .su-cta-list__links { + display: flex; + flex-direction: row; + flex-wrap: wrap; + width: 100%; + + @include grid-media-only('xs') { + display: block; + width: 100%; + @include modular-spacing('padding-bottom', 1); + }; + + .su-link--action { + display: block; + width: 100%; + @include modular-spacing('margin-bottom', 1); + } + + .col-1 { + @include modular-spacing('margin-right', 1); + display: flex; + flex-direction: column; + flex: 1; + min-width: 200px; + + a { + color: $su-color-bright-red; + + &::after { + background-color: $su-color-bright-red; + + &:hover { + background-color: $su-color-bright-red; + } + + &:focus { + background-color: $su-color-bright-red; + } + + &:active { + background-color: $su-color-bright-red; + } + } + } + + @include grid-media-only('xs') { + display: block; + width: 100%; + }; + } + + .col-2 { + @include modular-spacing('margin-right', 7); + display: flex; + flex-direction: column; + flex: 1; + + + a { + color: $su-color-bright-red; + + &::after { + background-color: $su-color-bright-red; + + &:hover { + background-color: $su-color-bright-red; + } + + &:focus { + background-color: $su-color-bright-red; + } + + &:active { + background-color: $su-color-bright-red; + } + } + } + + @include grid-media-between('xs', 'lg') { + min-width: 150px; + @include modular-spacing('margin-right', 1); + } + + @include grid-media-only('xs') { + display: block; + width: 100%; + }; + } + } +} diff --git a/lib/scss/components/image-cta/_image_cta.scss b/lib/scss/components/image-cta/_image_cta.scss index 9161a92..00d0771 100644 --- a/lib/scss/components/image-cta/_image_cta.scss +++ b/lib/scss/components/image-cta/_image_cta.scss @@ -1,59 +1,59 @@ -@charset 'UTF-8'; - -.su-image-cta-paragraph { - - @include grid-media-between('xs', 'sm') { - @include modular-spacing('margin-bottom', 1); - }; - - .su-image-cta-paragraph--image { - @include modular-spacing('margin-bottom', 0); - - @include grid-media-between('xs', 'sm') { - display: none; - }; - } - - .su-image-cta-paragraph--link { - @include modular-spacing('margin-bottom', 7); - - a { - color: $su-color-bright-red; - text-decoration: none; - - &:hover { - color: $su-color-black; - } - - &:focus { - color: $su-color-black; - } - } - - &::after { - background-color: $su-color-bright-red; - - &:hover { - background-color: $su-color-black; - } - - &:focus { - background-color: $su-color-black; - } - - &:active { - background-color: $su-color-bright-red; - } - } - - @include grid-media-between('md', 'lg') { - @include modular-spacing('margin-bottom', 6); - }; - - @include grid-media-between('xs', 'sm') { - @include modular-spacing('margin-bottom', 0); - }; - - } - -} +@charset 'UTF-8'; + +.su-image-cta-paragraph { + + @include grid-media-between('xs', 'sm') { + @include modular-spacing('margin-bottom', 1); + }; + + .su-image-cta-paragraph__image { + @include modular-spacing('margin-bottom', 0); + + @include grid-media-between('xs', 'sm') { + display: none; + }; + } + + .su-image-cta-paragraph__link { + @include modular-spacing('margin-bottom', 7); + + a { + color: $su-color-bright-red; + text-decoration: none; + + &:hover { + color: $su-color-black; + } + + &:focus { + color: $su-color-black; + } + } + + &::after { + background-color: $su-color-bright-red; + + &:hover { + background-color: $su-color-black; + } + + &:focus { + background-color: $su-color-black; + } + + &:active { + background-color: $su-color-bright-red; + } + } + + @include grid-media-between('md', 'lg') { + @include modular-spacing('margin-bottom', 6); + }; + + @include grid-media-between('xs', 'sm') { + @include modular-spacing('margin-bottom', 0); + }; + + } + +} diff --git a/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.stanford_cta_list.default.yml b/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.stanford_cta_list.default.yml index d64ec6e..e75af96 100644 --- a/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.stanford_cta_list.default.yml +++ b/modules/soe_paragraph_cta_list/config/install/core.entity_view_display.paragraph.stanford_cta_list.default.yml @@ -8,8 +8,8 @@ dependencies: - paragraphs.paragraphs_type.stanford_cta_list module: - ds + - element_class_formatter - field_formatter_class - - link - stanford_fields - text third_party_settings: @@ -29,6 +29,8 @@ third_party_settings: - stanford_cta_list_deck links: - stanford_cta_list_links +_core: + default_config_hash: xISn3fHI5NABbqI3RBPYtT8Qsdy-0ihpqrcBOK06h0s id: paragraph.stanford_cta_list.default targetEntityType: paragraph bundle: stanford_cta_list @@ -42,7 +44,7 @@ content: settings: { } third_party_settings: field_formatter_class: - class: su-cta-list-paragraph--description + class: su-cta-list-paragraph__description stanford_cta_list_header: weight: 0 label: hidden @@ -51,23 +53,25 @@ content: linked: false third_party_settings: field_formatter_class: - class: su-cta-list-paragraph--header + class: su-cta-list-paragraph__header type: entity_title_heading region: paragraph_content stanford_cta_list_links: + type: link_class weight: 2 + region: links label: hidden settings: - trim_length: 80 + trim_length: null + class: '' url_only: false url_plain: false rel: '0' target: '0' third_party_settings: field_formatter_class: - class: 'su-cta-list-paragraph--links su-link--action' + class: 'su-link--action su-image-cta-paragraph__link' ds: ds_limit: '' - type: link - region: links hidden: { } + diff --git a/modules/soe_paragraph_cta_list/soe_paragraph_cta_list.info.yml b/modules/soe_paragraph_cta_list/soe_paragraph_cta_list.info.yml index dd88b88..9098cb3 100644 --- a/modules/soe_paragraph_cta_list/soe_paragraph_cta_list.info.yml +++ b/modules/soe_paragraph_cta_list/soe_paragraph_cta_list.info.yml @@ -1,12 +1,12 @@ -name: 'CTA List Paragraph' -description: 'A paragraph type which provides a list of text CTAs' -type: module -core_version_requirement: ^8.8 || ^9 -package: Stanford -dependencies: - - ds - - field - - paragraphs - - text - - soe_paragraphs -version: 8.x-1.0-dev +name: 'CTA List Paragraph' +description: 'A paragraph type which provides a list of text CTAs' +type: module +core_version_requirement: ^8.8 || ^9 +package: Stanford +dependencies: + - ds:ds + - drupal:field + - paragraphs:paragraphs + - drupal:text + - soe_paragraphs:soe_paragraphs +version: 8.x-1.0-dev diff --git a/modules/soe_paragraph_cta_list/templates/cta-list-paragraph.html.twig b/modules/soe_paragraph_cta_list/templates/cta-list-paragraph.html.twig index aa375ad..4b45e69 100644 --- a/modules/soe_paragraph_cta_list/templates/cta-list-paragraph.html.twig +++ b/modules/soe_paragraph_cta_list/templates/cta-list-paragraph.html.twig @@ -32,23 +32,23 @@ {{ paragraph_content }} -