diff --git a/docroot/profiles/sdss/sdss_profile/themes/sdss_subtheme/templates/components/card/pattern-card--layout--node--stanford-person.html.twig b/docroot/profiles/sdss/sdss_profile/themes/sdss_subtheme/templates/components/card/pattern-card--layout--node--stanford-person.html.twig index 3aa5a8e93..eff4eea34 100644 --- a/docroot/profiles/sdss/sdss_profile/themes/sdss_subtheme/templates/components/card/pattern-card--layout--node--stanford-person.html.twig +++ b/docroot/profiles/sdss/sdss_profile/themes/sdss_subtheme/templates/components/card/pattern-card--layout--node--stanford-person.html.twig @@ -40,20 +40,6 @@ */ #} -{# - Template Include Paths - Override these if you want to include a different template. -#} - -{# - Person Card override - Override these if you want to include a different template. -#} - -{%- if template_path_link is empty -%} - {%- set template_path_link = "@decanter/components/link/link.twig" -%} -{%- endif -%} - {%- if template_path_media is empty -%} {%- set template_path_media = "@decanter/components/media/media.twig" -%} {%- endif -%} @@ -117,29 +103,17 @@ {%- block block_card_cta %} {# Card CTA Link #} {%- if card_cta_label is not empty and allow_links %} - {%- include template_path_link with - { - "link_href": card_link, - "link_content": card_cta_label, - "attributes": card_cta_attributes, - "modifier_class": "su-card__link su-link--action" - } - only - -%} + + {{ card_cta_label }} + {% endif -%} {# Big ol link button. Adds a BEM class for targeting. #} {%- if card_button_label is not empty and allow_links %}
- {%- include template_path_link with - { - "link_href": card_link, - "link_content": card_button_label, - "attributes": card_cta_attributes, - "modifier_class": "su-button" - } - only - -%} + + {{ card_button_label }} +
{% endif -%} {% endblock -%} diff --git a/docroot/profiles/sdss/sdss_profile/themes/sdss_subtheme/templates/components/card/pattern-card--layout--paragraph--stanford-card.html.twig b/docroot/profiles/sdss/sdss_profile/themes/sdss_subtheme/templates/components/card/pattern-card--layout--paragraph--stanford-card.html.twig index 042c83e24..15e41aaa7 100644 --- a/docroot/profiles/sdss/sdss_profile/themes/sdss_subtheme/templates/components/card/pattern-card--layout--paragraph--stanford-card.html.twig +++ b/docroot/profiles/sdss/sdss_profile/themes/sdss_subtheme/templates/components/card/pattern-card--layout--paragraph--stanford-card.html.twig @@ -40,16 +40,6 @@ */ #} - - -{# - Template Include Paths - Override these if you want to include a different template. -#} -{%- if template_path_link is empty -%} - {%- set template_path_link = "@decanter/components/link/link.twig" -%} -{%- endif -%} - {%- if template_path_media is empty -%} {%- set template_path_media = "@decanter/components/media/media.twig" -%} {%- endif -%} @@ -109,29 +99,17 @@ {%- block block_card_cta %} {# Card CTA Link #} {%- if card_cta_label is not empty and allow_links %} - {%- include template_path_link with - { - "link_href": card_link, - "link_content": card_cta_label, - "attributes": card_cta_attributes, - "modifier_class": "su-card__link su-link--action" - } - only - -%} + + {{ card_cta_label }} + {% endif -%} {# Big ol link button. Adds a BEM class for targeting. #} {%- if card_button_label is not empty and allow_links %}
- {%- include template_path_link with - { - "link_href": card_link, - "link_content": card_button_label, - "attributes": card_cta_attributes, - "modifier_class": "su-button" - } - only - -%} + + {{ card_button_label }} +
{% endif -%} {% endblock -%} diff --git a/docroot/profiles/sdss/sdss_profile/themes/sdss_subtheme/templates/components/card/pattern-card--views-row--stanford-publications--related.html.twig b/docroot/profiles/sdss/sdss_profile/themes/sdss_subtheme/templates/components/card/pattern-card--views-row--stanford-publications--related.html.twig index 5339aae63..a25516848 100644 --- a/docroot/profiles/sdss/sdss_profile/themes/sdss_subtheme/templates/components/card/pattern-card--views-row--stanford-publications--related.html.twig +++ b/docroot/profiles/sdss/sdss_profile/themes/sdss_subtheme/templates/components/card/pattern-card--views-row--stanford-publications--related.html.twig @@ -40,16 +40,6 @@ */ #} - - -{# - Template Include Paths - Override these if you want to include a different template. -#} -{%- if template_path_link is empty -%} - {%- set template_path_link = "@decanter/components/link/link.twig" -%} -{%- endif -%} - {%- if template_path_media is empty -%} {%- set template_path_media = "@decanter/components/media/media.twig" -%} {%- endif -%} @@ -104,29 +94,17 @@ {%- block block_card_cta %} {# Card CTA Link #} {%- if card_cta_label is not empty and allow_links %} - {%- include template_path_link with - { - "link_href": card_link, - "link_content": card_cta_label, - "attributes": card_cta_attributes, - "modifier_class": "su-card__link su-link--action" - } - only - -%} + + {{ card_cta_label }} + {% endif -%} {# Big ol link button. Adds a BEM class for targeting. #} {%- if card_button_label is not empty and allow_links %}
- {%- include template_path_link with - { - "link_href": card_link, - "link_content": card_button_label, - "attributes": card_cta_attributes, - "modifier_class": "su-button" - } - only - -%} + + {{ card_button_label }} +
{% endif -%} {% endblock -%} diff --git a/docroot/profiles/sdss/sdss_profile/themes/sdss_subtheme/templates/components/search/block--stanford-basic-search.html.twig b/docroot/profiles/sdss/sdss_profile/themes/sdss_subtheme/templates/components/search/block--stanford-basic-search.html.twig index a95c2a8de..b95322a0e 100644 --- a/docroot/profiles/sdss/sdss_profile/themes/sdss_subtheme/templates/components/search/block--stanford-basic-search.html.twig +++ b/docroot/profiles/sdss/sdss_profile/themes/sdss_subtheme/templates/components/search/block--stanford-basic-search.html.twig @@ -1,6 +1,6 @@ {% set attributes = attributes.addClass('su-site-search') %} -{% include "@basic-dist/decanter/components/site-search/site-search.twig" with +{% include "@decanter/components/site-search/site-search.twig" with { "attributes": attributes|without('class', 'role'), "modifier_class": attributes.class, diff --git a/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/CHANGELOG.md b/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/CHANGELOG.md deleted file mode 100644 index 6a9326458..000000000 --- a/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/CHANGELOG.md +++ /dev/null @@ -1,306 +0,0 @@ -# Stanford Basic Theme - - -8.x-5.15 --------------------------------------------------------------------------------- -_Release Date: 2022-03-17_ - -- D8CORE-5522 Adjust unpublished message on nodes that are scheduled (#263) -- D8CORE-5246: fixing the separator overhang on menus (#262) - - -8.x-5.14 --------------------------------------------------------------------------------- -_Release Date: 2022-01-27_ - -- Fix font awesome icons for far and fas sets (#259) - - -8.x-5.13 --------------------------------------------------------------------------------- -_Release Date: 2021-11-19_ - -- D8CORE-4234: change to how the onEsc.js works (#257) -- D8CORE-4246 Inherit font family when using font awesome classes (#256) -- Added core patch and some readme documentation (#255) - - -8.x-5.12 --------------------------------------------------------------------------------- -_Release Date: 2021-11-04_ - -- D8CORE-000: Add components module as a dependency (#252) -- D8CORE-4802 D8CORE-4823: Updating Decanter Version (#249) - - -8.x-5.11 --------------------------------------------------------------------------------- -_Release Date: 2021-10-08_ - -- removed plus-sign from toggleText (#247) -- D8CORE-2489 - add `aria-current` (#246) - - -8.x-5.10 --------------------------------------------------------------------------------- -_Release Date: 2021-09-09_ - -- D8CORE-4768: removing the conditional to put back into news module (#244) - - -8.x-5.9 --------------------------------------------------------------------------------- -_Release Date: 2021-09-03 - -- D8CORE-3161: moving pager css to theme (#242) -- D8CORE-4643: moving to a single filter by menu (#237) -- D8CORE-4714: adding the title description to the secondary menu links (#241) -- Updated font awesome library to 5.15.4 -- D8CORE-4359 Adding an underline to the action-link (#238) - -8.x-5.8 --------------------------------------------------------------------------------- -_Release Date: 2021-07-19_ - -- D8CORE-4525: changing how the skip link works for publications. (#235) (e8c99f9) - -8.x-5.7 --------------------------------------------------------------------------------- -_Release Date: 2021-07-09_ - -- D8CORE-4490: adding secondary skip links to secondary navigation (#232) (24e659c) -- D8CORE-4496 Prevent empty
    elements in secondary nav (#233) (2682a18) - -8.x-5.6 --------------------------------------------------------------------------------- -_Release Date: 2021-06-11_ - -- D8CORE-2008: Removing the secondary skip link when the hamburger visible (#229) (45ee657) -- D8CORE-2494 Add "Back to Top" button (#230) (ceb0563) - -8.x-5.5 --------------------------------------------------------------------------------- -_Release Date: 2021-05-07_ - -- D8CORE-3502 - a11y fixes for nav menu (#227) (f1530b3) -- D8CORE-4037: fixed word wrapping with very long menu items (#226) (9938615) - -8.x-5.4 --------------------------------------------------------------------------------- -_Release Date: 2021-04-09_ - -- D8CORE-3682: Fixed word wrapping on long menu titles (#222) (6547451) -- D8CORE-3957: moved events styles code to the the events module (#221) (00a3784) -- D8CORE-3474: unsetting the white color to fix for a11y (#218) (ba48fa8) - -8.x-5.3 --------------------------------------------------------------------------------- -_Release Date: 2021-03-11_ - -- Add class to the mobile menu block. - -8.x-5.2 --------------------------------------------------------------------------------- -_Release Date: 2021-03-10_ - -- D8CORE-3502: Hotfix for active, focus pseudoclasses on dropdown toggle. - -8.x-5.1 --------------------------------------------------------------------------------- -_Release Date: 2021-03-05_ - -- retag only - -8.x-5.0 --------------------------------------------------------------------------------- -_Release Date: 2021-03-05_ - -- Merge branch '8.x-4.x' into 8.x-5.x (c518e21) -- D8CORE-3473 Fix the mobile menu search attributes (#214) (f1c1abc) -- D8CORE-2944: Using flex for the alignment (#213) (ad7722c) -- Update components namespace for latest components version (#211) (89e32c9) -- D8CORE-3495: adding a margin-top for the title (#210) (8e445c8) -- Merge branch '8.x-4.x' into 8.x-5.x (b5429ac) - -8.x-4.15 --------------------------------------------------------------------------------- -_Release Date: 2021-02-08_ - -- D8CORE-3441: a11y changes for dropdowns (#208) (78ee97f) -- fixup: Adjust `theme_get_setting` to target this theme, so that subthemes inherit it. (e25ebf0) -- Adjust `theme_get_setting` to target this theme, so that subthemes inherit it. (#207) (d42b2c1) -- D8CORE-1123: Enable dropdowns for desktop (#206) (6247410) - -8.x-4.14 --------------------------------------------------------------------------------- -_Release Date: 2020-12-04_ - -- D8CORE-2268: adjusting the spacing for media files in the wysiwyg and fixing the centering for the pdf. (#202) (9e490bf) -- D8CORE-2963: updating Decanter version (#201) (c27e9d1) -- D8CORE-2899: Updating the character line length to 100 from 70 (#196) (67d53d3) -- D9 Readiness (#198) (59a5ae7) - -8.x-4.14 --------------------------------------------------------------------------------- -_Release Date: 0000-00-00_ - -- Removed preprocess function on ds entity view for contextual links to allow Drupal 9 compatability. - -8.x-4.13 --------------------------------------------------------------------------------- -_Release Date: 2020-11-12_ - -- D8CORE-3000: Hotfix to remove partial path matches in the menu for active classes. - -8.x-4.12 --------------------------------------------------------------------------------- -_Release Date: 2020-11-09_ - -- D8CORE-2592: removing the id that isn't used on sub menus (#193) (5db6f86) -- D8CORE-2102: Add check to see if the path is part of the url (#190) (dbb43ab) -- D8CORE-1073: A new way to move the search box into the mobile menu (#148) (17549b9) -- D8CORE-1366: Added tooltips to menu items which have a `description` set. (#191) (b2fe939) - -8.x-4.11 --------------------------------------------------------------------------------- -_Release Date: 2020-10-05_ - -- updating-decanter: Needed to update decanter. (#188) (fdfe91a) -- Add blocks for extending stanford_basic (#183) (59b2afc) -- D8CORE-2565: adding margin below the secondary menu (#185) (15b8d3f) -- D8CORE-000: Protection from null object in menu (#184) (8dfbfe9) - -8.x-4.10 --------------------------------------------------------------------------------- -_Release Date: 2020-09-09_ - -- D8CORE-2454: Lockup default array structure mis-match fix. (#181) (413399f) -- Update Decanter to v 6.1.1 and compile. (#180) (71ff31a) -- D8CORE-2490: Alert Component Updates (#178) (3c5bb6a) -- D8CORE-2562: Update option A line-height to prevent overlap. (#177) (f39cf7a) -- D8CORE-2499 Updated composer license (#176) (8fbde04) -- D8CORE-1333: Add '
    ' landmark (#173) (da19fb9) - -8.x-4.9 --------------------------------------------------------------------------------- -_Release Date: 2020-08-07_ - -- D8CORE-2467 Fixed local links (#174) (9d7a58e) -- D8CORE-1472: Updates to lockup settings for logo support (#170) (eb0108d) -- Bump lodash from 4.17.15 to 4.17.19 (#172) (144597b) -- D8CORE-1410: Back to site link (#166) (3d996b5) - -8.x-4.8 --------------------------------------------------------------------------------- -_Release Date: 2020-07-13_ - -- Merge pull request #168 from SU-SWS/D8CORE-1406-remove-name (7601f5d) -- D8CORE-1406: fix to login page (a552691) -- D8CORE-1406: remove link, move page-content ID (3f676ce) - -8.x-4.7 --------------------------------------------------------------------------------- -_Release Date: 2020-06-17_ - -- D8CORE-000: Provide a default lockup option in preprocess for subthemes (#165) (2531b38) -- D8CORE-2189: Update to Decanter 6.0.6 (#164) (2d81504) - -8.x-4.6 --------------------------------------------------------------------------------- -_Release Date: 2020-05-21_ - -- Reduce the z indexes to fix layout builder overlays (#162) - -8.x-4.5 --------------------------------------------------------------------------------- -_Release Date: 2020-05-15_ - -- D8CORE-2004 JS Error in stanford_basic local tabs. (#159) (a892e90) -- D8CORE-1869: Added circleci configuration (#158) (08f4fae) -- D8CORE-1022: Tweak Edit Buttons display in D8 page authoring (#129) (9a6243d) - -8.x-4.4 --------------------------------------------------------------------------------- -_Release Date: 2020-04-17_ - -- Update stanford_basic.info.yml (#133) -- D8CORE-1504: Remove ids from pattern templates. (#147) -- D8CORE-1349 Added visual indicator for links to unpublished pages (#146) -- D8CORE-1644: Dev branch workflow -- Check if the menu link is routed before checking what route (#151) -- D8CORE-1402: add {grid: true} to autoprefixer (#155) - -8.x-4.3 --------------------------------------------------------------------------------- -_Release Date: 2020-02-27_ - -- D8CORE-1430: Fix nav color & focus state event (#140) -- D8CORE-1327: fixing the header lockup to have special characters (#141) -- Decanter Version 6.0.5 (#143) -- D8CORE-1308 D8CORE-1291: IE Compatibility Fixes (#142) - -8.x-4.2 --------------------------------------------------------------------------------- -_Release Date: 2020-02-21_ - -- D8CORE-1286: Search page styles refactoring. (#137) -- D8CORE-1352: Prevent javascript active path highlighting on secondary nav. (#135) -- D8CORE-1335 Updated login page (#138) -- D8CORE-1396: increased the z-index on the header (#136) -- Upgrade to Decanter 6.0.4 - -8.x-4.1 --------------------------------------------------------------------------------- -_Release Date: 2020-02-14_ - -- D8CORE-1260: Table Style Revisions (#127) -- D8CORE-1024: Template and styles for login portal style page (#124) -- Updated to Decanter 6.0.3 -- D8CORE-1082: Search Results Page (#128) -- D8CORE-1286: Search page title styles (#131) - -8.x-4.0 --------------------------------------------------------------------------------- -_Release Date: 2020-02-05_ -- Stable release! -- Massive improvements to accessibility and HTML semantics. -- D8CORE-1012: Center images in the WYSIWYG. -- Revisions to main and secondary navigation look and feel. -- Removed use of the `pattern()` twig function to remove the dependency on ui_patterns module. -- Added `@basic-dist` twig namespace. -- Fixed bug where all the status messages were of the same type. -- Fixed bugs where attributes were duplicated. -- D8CORE-931: Revisions to skip links where you can skip to content or secondary navigation. -- Added default GitHub issue/feature/pull-request templates. -- D8CORE-1099: Added z-index to the masthead to keep the shadow on top. -- D8CORE-1231: Fixed bug on footer closing tag. -- D8CORE-941: Moved WYSIWYG paragraph styles to stanford_profile where they belong. -- Updated Decanter to version 6.0.1 which removed many layout templates from dist. - -8.x-4.0-alpha3 --------------------------------------------------------------------------------- -_Release Date: 2020-01-22_ - -- D8CORE-59: Added global Google analytics tracker for Acquia (#100) -- Move everything inside canvas-wrapper and add global footer region for outside content items (#102) -- D8CORE-856 Display paragraph contextual links (#106) -- D8CORE-941: drop cap styles (#108) -- D8CORE-941: Headings and styles (#109) center caption on image & change modular-spacing calls -- Add dist/templates to @basic twig namespace. - -8.x-4.0-alpha2 --------------------------------------------------------------------------------- -_Release Date: 2019-11-13_ - -- New html element wrappers around regions in page.html.twig. -- Added css classes to node.html.twig -- Fixed issue with role='article' on
    in node.html.twig -- Refactored and rebuilt both the primary and secondary navigations to use new multi-menu component. -- Cleanup from codeclimate linting. -- Added codeclimate and eslint files. - -8.x-4.0-alpha1 --------------------------------------------------------------------------------- -_Release Date: 2019-10-30_ - -- Initial Release. Yes, really. diff --git a/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/README.md b/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/README.md index 2346ebad9..aa5e733d1 100755 --- a/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/README.md +++ b/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/README.md @@ -1,85 +1,8 @@ -# [Stanford Basic](https://github.com/SU-SWS/stanford_basic) -##### Version: 8.x - -Changelog: [Changelog.txt](CHANGELOG.txt) +# Stanford Basic Description --- -Stanford Basic is a Stanford Branded Drupal 8 base theme that integrates with the [Decanter Project](https://github.com/SU-SWS/decanter). - -Accessibility ---- -[![WCAG Conformance 2.0 AA Badge](https://www.w3.org/WAI/wcag2AA-blue.png)](https://www.w3.org/TR/WCAG20/) -Evaluation Date: 2020-02-05 -This theme conforms to level AA WCAG 2.0 standards as required by the university's accessibility policy. For more information on the policy please visit: [https://ucomm.stanford.edu/policies/accessibility-policy.html](https://ucomm.stanford.edu/policies/accessibility-policy.html). - -Installation ---- - -Install this theme like any other theme. [See Drupal Documentation](https://www.drupal.org/docs/8/extending-drupal-8/installing-themes) - -This theme depends on the [`Components`](https://www.drupal.org/project/components) module to register template -namespaces. If downloading this theme via composer, the module is already downloaded and simply needs to be enabled -before the theme can be enabled. - -If using this theme in conjunction with configuration management and doing site install, a patch is included in the -composer.json. Ensure that your project's root composer.json has [patching enabled](https://github.com/cweagans/composer-patches#allowing-patches-to-be-applied-from-dependencies) -or download and patch Drupal Core manually. - -Configuration ---- - -Nothing special needed. Install, enable, and set as the default active theme. Once you have the theme enabled, be sure to check out the appearance settings for additional configuration items. - - -Troubleshooting ---- - -If you are experiencing issues with this theme try disabling and clear the cache first. If you are still experiencing issues try posting an issue on the GitHub issues page. - -This theme is not intended to be used as an administration theme. Please use something else for that. - -Developer ---- - -Development tools: To build and compile the CSS, Javascript, and Image assets required to make this theme great, you will need to have npm and nvm installed. -Navigate to the root of the theme then. - -Run: -``` -nvm use -npm install -``` - -This project uses webpack to assemble the assets for this theme. To compile sass, javascript and push all assets in to place: - -Run: -``` -npm run publish -``` - -This script will compile all assets from `/src` into `/dist`. - -Check out `package.json` for additional npm scripts and functionality. - -Contribution / Collaboration ---- - -You are welcome to contribute functionality, bug fixes, or documentation to this theme. If you would like to suggest a fix or new functionality you may add a new issue to the GitHub issue queue or you may fork this repository and submit a pull request. For more help please see [GitHub's article on fork, branch, and pull requests](https://help.github.com/articles/using-pull-requests) - - -Releases ---- +Stanford Basic is a Stanford Branded Drupal base theme that integrates with the [Decanter Project](https://github.com/SU-SWS/decanter). -Steps to build a new release: -- Checkout the latest commit from the `8.x-4.x` branch. -- Create a new branch for the release. -- Commit any necessary changes to the release branch. - - These may include, but are not necessarily limited to: - - Update the version in any `info.yml` files, including in any submodules. - - Update the CHANGELOG to reflect the changes made in the new release. -- Make a PR to merge your release branch into `master` -- Give the PR a semver-compliant label, e.g., (`patch`, `minor`, `major`). This may happen automatically via Github actions (if a labeler action is configured). -- When the PR is merged to `master`, a new tag will be created automatically, bumping the version by the semver label. -- The github action is built from: [semver-release-action](https://github.com/K-Phoen/semver-release-action), and further documentation is available there. +This theme was consolidated into the SDSS Profile from the Stanford Profile at version 9.x-1.4-dev. diff --git a/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/dist/templates/decanter/components/accordion/accordion.twig b/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/dist/templates/decanter/components/accordion/accordion.twig deleted file mode 100644 index 316d6687d..000000000 --- a/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/dist/templates/decanter/components/accordion/accordion.twig +++ /dev/null @@ -1,39 +0,0 @@ -{# - Accordion - - Template for an expandable/collapsable section. - - * Available variables: - * - attributes: For additional HTML attributes not already provided. - * - modifier_class: Additional CSS classes to change look and behavior. - * - accordion_title: Optional title for the whole accordion component. - * - cta_button: Optional call-to-action link button at the bototm of the accordion. - * - title: - * - content: -#} -
    - {% if accordion_title is not empty %} - {{ accordion_title }} - {% endif %} - {% if accordion_control %} - - - {% endif %} - {% if accordion_items is iterable %} -
      - {% for item in accordion_items %} -
    • - {% if item.title is not empty %} -

      - {% endif %} -
      - {{ item.content }} -
      -
    • - {% endfor %} -
    - {% endif %} - {% if cta_button_text is not empty %} - {{ cta_button_text }} - {% endif %} -
    \ No newline at end of file diff --git a/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/dist/templates/decanter/components/alert/alert.twig b/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/dist/templates/decanter/components/alert/alert.twig deleted file mode 100644 index 897a337ee..000000000 --- a/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/dist/templates/decanter/components/alert/alert.twig +++ /dev/null @@ -1,72 +0,0 @@ -{# -/** - * @file - * Alert Component. - * - * Component for displaying a notification that keeps people informed of a - * status, or for displaying a validation message that alerts someone of an - * important piece of information. It has five variants: - * - Default: Black text with gray background with no icon - * - Success: Black text with green background with check icon - * - Warning: Black text with yellow background with traiangular exclamation mark icon - * - Error: Black text with red background with circlular exclamation mark icon - * - Info: Black text with blue background with information icon - * - * Available variables: - * - attributes: For additional HTML attributes not already provided. - * - modifier_class: Additional css classes to change look and behaviour. - * - alert_header: Text heading. - * - alert_body: Text details of the alert message. - */ -#} -
    -
    - {# JavaScript Ability To Close and Hide Alert. #} - {%- block block_dismiss -%} - {%- if alert_dismiss -%} -
    - -
    - {%- endif -%} - {%- endblock -%} - - {# Header, sometimes left, content. #} - {%- block block_alert_header -%} - {%- if alert_icon is not empty or alert_label is not empty -%} -
    - {%- if alert_icon is not empty -%} - {{- alert_icon -}} - {%- endif -%} - {%- if alert_label is not empty -%} - {{- alert_label -}} - {%- endif -%} -
    - {%- endif -%} - {%- endblock -%} - - {# Body content and the primary message. #} - {%- block block_body -%} -
    - - {# HEADER #} - {%- if alert_header is not empty -%} -

    {{- alert_header -}}

    - {%- endif -%} - - {# TEXT #} - {%- if alert_text is not empty -%} -
    - {{- alert_text -}} -
    - {%- endif -%} - - {# FOOTER #} - {%- if alert_footer is not empty -%} - - {%- endif -%} -
    - {%- endblock -%} -
    -
    diff --git a/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/dist/templates/decanter/components/brand-bar/brand-bar.twig b/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/dist/templates/decanter/components/brand-bar/brand-bar.twig deleted file mode 100644 index 062ff8f4f..000000000 --- a/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/dist/templates/decanter/components/brand-bar/brand-bar.twig +++ /dev/null @@ -1,25 +0,0 @@ -{# -/** - * @file - * Brand Bar Component. - * - * Stanford brand bar with the wordmark logo with four variants: - * - Default: White wordmark over cardinal red background - * - Bright: White wordmark over bright red background - * - Dark: White wordmark over dark grey background - * - White: Cardinal red wordmark over white background - * - * Available variables: - * - attributes: For additional HTML attributes not already provided. - * - modifier_class: Additional css classes to change look and behaviour. - */ -#} -{% if external_link_text is empty -%} - {%- set external_link_text -%} - (link is external) - {% endset %} -{%- endif %} - - diff --git a/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/dist/templates/decanter/components/button/button.twig b/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/dist/templates/decanter/components/button/button.twig deleted file mode 100644 index 6536d4ee1..000000000 --- a/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/dist/templates/decanter/components/button/button.twig +++ /dev/null @@ -1,19 +0,0 @@ -{# -/** - * @file - * Button Component - * - * A basic button element. - * - * Available variants: - * - * Available variables: - * - attributes: A collection of html properties for button - * - modifier_class: CSS class variants - * - button_value: Button's value property - * - button_name: Button's name property - * - button_type: The type of button (submit | button | reset) - * - button_label: The text to display as the button - */ -#} -{{ button_label }} diff --git a/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/dist/templates/decanter/components/card/card.twig b/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/dist/templates/decanter/components/card/card.twig deleted file mode 100644 index 632d80040..000000000 --- a/docroot/profiles/sdss/sdss_profile/themes/stanford_basic/dist/templates/decanter/components/card/card.twig +++ /dev/null @@ -1,198 +0,0 @@ -{# -/** - * @file - * Card Component. Default is a vertical card with an image above text content. - * - * Available variants: - * - .su-card--horizontal: Media field and text content are side by side. - * - .su-card--link: Whole card is a link with no button or call to action link. - * - .su-card--minimal: No background, drop shadow and space around. Do not use with the .su-card--link class. - * - .su-card--icon: An image icon above text content. - * - .su-card--video: A video above text content. - * - * Available variables: - * - attributes: Additional HTML attributes not already provided. - * - modifier_class: Additional CSS classes to change look and behavior. - * - card_headline: Main headind text for the card. - * - card_allow_headline_link: Boolean. If set to true, headline links to card_link. - * - card_super_headline: Text super headline. Often used for metadata such as category. - * - card_body: An open variable for anything including HTML. Generally this would be for WYSIWYG editor contents. - * - card_link: The href value for the card. A single card is only allowed to link to one URL. - * - card_cta_attributes: Any html attributes on the link that need to be added. For example: rel='noopener', target='_blank'. - * This acts as the attributes for the link button and headline link as well. - * - card_cta_label: The clickable text for the CTA link - * - card_button_label: The text label of the button component. - * - card_icon_font_class: If using icon font, e.g., FontAwesome, the class(es) of the icon including modifier classes, - e.g. 'fas fa-globe fa-2x', 'far fa-thumbs-up fa-rotate-90' - * - card_media_image_src: The src link to the image file. - * - card_media_image_srcset: The srcset of the image if exists. - * - card_media_icon_image_src: The src link to the icon image file. - * - card_media_video_src: The src link to the video file. - * - card_media_video_poster: Optional preview image of the video. - * - card_media_fallback_content: Fallback content to display when browser doesn't support video or audio format. - * - card_allow_media_link: Boolean. If set to true, media element (image or self-hosted video) links to card_link. - * - card_media_type: Type of the media file, e.g. mp4, webm, quicktime (self-hosted video only). - * - card_media_custom: An open field for the full HTML element of the media content, e.g., an embedded YouTube iframe. - * - card_media_modifier_class: Additional CSS classes to change look and behavior of the media media element. - * - card_media_attributes: Additional HTML attributes for the media element not already provided. - * - card_media_wrapper_modifier_class: Additional CSS classes to change look and behavior of the media wrapper, e.g. "su-aspect-ratio" to provide aspect ratio constraint. - * - card_media_content_attributes: Additional HTML attributes for the media content, e.g., for