├── .gitignore
├── .travis.yml
├── LICENSE
├── README.md
├── composer.json
├── composer.lock
├── docs
├── 00-core
│ ├── .gitkeep
│ └── core.md
├── 01-engines
│ ├── .gitkeep
│ └── engines.md
├── 02-styleguideskits
│ ├── .gitkeep
│ └── styleguides.md
├── 03-starterkits
│ ├── .gitkeep
│ └── starterkits.md
├── 04-editions
│ ├── .gitkeep
│ └── editions.md
├── 05-plugins
│ ├── .gitkeep
│ └── plugins.md
├── 06-drupallab
│ ├── .gitkeep
│ ├── drupal-8-twig.md
│ ├── drupallab.md
│ ├── twig.md
│ └── usage.md
├── assets
│ ├── .gitkeep
│ ├── component_libraries.png
│ ├── embed.png
│ ├── embed2.png
│ ├── extend.png
│ ├── extend_include.png
│ ├── include.png
│ ├── include_embed.png
│ ├── source_dir.png
│ ├── structure.png
│ ├── structure_alt.png
│ └── twig_reference.png
└── index.md
├── drush
└── README.md
├── phpunit.xml.dist
├── scripts
├── composer
│ └── ScriptHandler.php
├── create-content.yml
├── site-reinstall.sh
└── site-setup.sh
└── web
├── .csslintrc
├── .editorconfig
├── .eslintignore
├── .eslintrc
├── .gitattributes
├── .htaccess
├── autoload.php
├── index.php
├── modules
├── .gitkeep
└── patternlab
│ ├── patternlab.info.yml
│ ├── patternlab.module
│ ├── patternlab.routing.yml
│ └── src
│ └── Controller
│ └── PatternlabController.php
├── profiles
└── .gitkeep
├── robots.txt
├── sites
├── default
│ ├── config
│ │ └── sync
│ │ │ ├── .htaccess
│ │ │ ├── automated_cron.settings.yml
│ │ │ ├── block.block.bartik_account_menu.yml
│ │ │ ├── block.block.bartik_branding.yml
│ │ │ ├── block.block.bartik_breadcrumbs.yml
│ │ │ ├── block.block.bartik_content.yml
│ │ │ ├── block.block.bartik_footer.yml
│ │ │ ├── block.block.bartik_help.yml
│ │ │ ├── block.block.bartik_local_actions.yml
│ │ │ ├── block.block.bartik_local_tasks.yml
│ │ │ ├── block.block.bartik_main_menu.yml
│ │ │ ├── block.block.bartik_messages.yml
│ │ │ ├── block.block.bartik_page_title.yml
│ │ │ ├── block.block.bartik_powered.yml
│ │ │ ├── block.block.bartik_search.yml
│ │ │ ├── block.block.bartik_tools.yml
│ │ │ ├── block.block.dashing_account_menu.yml
│ │ │ ├── block.block.dashing_branding.yml
│ │ │ ├── block.block.dashing_breadcrumbs.yml
│ │ │ ├── block.block.dashing_content.yml
│ │ │ ├── block.block.dashing_footer.yml
│ │ │ ├── block.block.dashing_help.yml
│ │ │ ├── block.block.dashing_local_actions.yml
│ │ │ ├── block.block.dashing_local_tasks.yml
│ │ │ ├── block.block.dashing_main_menu.yml
│ │ │ ├── block.block.dashing_messages.yml
│ │ │ ├── block.block.dashing_page_title.yml
│ │ │ ├── block.block.dashing_powered.yml
│ │ │ ├── block.block.dashing_search.yml
│ │ │ ├── block.block.dashing_tools.yml
│ │ │ ├── block.block.seven_breadcrumbs.yml
│ │ │ ├── block.block.seven_content.yml
│ │ │ ├── block.block.seven_help.yml
│ │ │ ├── block.block.seven_local_actions.yml
│ │ │ ├── block.block.seven_login.yml
│ │ │ ├── block.block.seven_messages.yml
│ │ │ ├── block.block.seven_page_title.yml
│ │ │ ├── block.block.seven_primary_local_tasks.yml
│ │ │ ├── block.block.seven_secondary_local_tasks.yml
│ │ │ ├── block_content.type.basic.yml
│ │ │ ├── comment.type.comment.yml
│ │ │ ├── contact.form.feedback.yml
│ │ │ ├── contact.form.personal.yml
│ │ │ ├── contact.settings.yml
│ │ │ ├── core.base_field_override.node.page.promote.yml
│ │ │ ├── core.date_format.fallback.yml
│ │ │ ├── core.date_format.html_date.yml
│ │ │ ├── core.date_format.html_datetime.yml
│ │ │ ├── core.date_format.html_month.yml
│ │ │ ├── core.date_format.html_time.yml
│ │ │ ├── core.date_format.html_week.yml
│ │ │ ├── core.date_format.html_year.yml
│ │ │ ├── core.date_format.html_yearless_date.yml
│ │ │ ├── core.date_format.long.yml
│ │ │ ├── core.date_format.medium.yml
│ │ │ ├── core.date_format.short.yml
│ │ │ ├── core.entity_form_display.block_content.basic.default.yml
│ │ │ ├── core.entity_form_display.comment.comment.default.yml
│ │ │ ├── core.entity_form_display.node.article.default.yml
│ │ │ ├── core.entity_form_display.node.page.default.yml
│ │ │ ├── core.entity_form_display.user.user.default.yml
│ │ │ ├── core.entity_form_mode.user.register.yml
│ │ │ ├── core.entity_view_display.block_content.basic.default.yml
│ │ │ ├── core.entity_view_display.comment.comment.default.yml
│ │ │ ├── core.entity_view_display.node.article.default.yml
│ │ │ ├── core.entity_view_display.node.article.rss.yml
│ │ │ ├── core.entity_view_display.node.article.teaser.yml
│ │ │ ├── core.entity_view_display.node.page.default.yml
│ │ │ ├── core.entity_view_display.node.page.teaser.yml
│ │ │ ├── core.entity_view_display.user.user.compact.yml
│ │ │ ├── core.entity_view_display.user.user.default.yml
│ │ │ ├── core.entity_view_mode.block_content.full.yml
│ │ │ ├── core.entity_view_mode.comment.full.yml
│ │ │ ├── core.entity_view_mode.node.full.yml
│ │ │ ├── core.entity_view_mode.node.rss.yml
│ │ │ ├── core.entity_view_mode.node.search_index.yml
│ │ │ ├── core.entity_view_mode.node.search_result.yml
│ │ │ ├── core.entity_view_mode.node.teaser.yml
│ │ │ ├── core.entity_view_mode.taxonomy_term.full.yml
│ │ │ ├── core.entity_view_mode.user.compact.yml
│ │ │ ├── core.entity_view_mode.user.full.yml
│ │ │ ├── core.extension.yml
│ │ │ ├── core.menu.static_menu_link_overrides.yml
│ │ │ ├── dblog.settings.yml
│ │ │ ├── devel.settings.yml
│ │ │ ├── editor.editor.basic_html.yml
│ │ │ ├── editor.editor.full_html.yml
│ │ │ ├── field.field.block_content.basic.body.yml
│ │ │ ├── field.field.comment.comment.comment_body.yml
│ │ │ ├── field.field.node.article.body.yml
│ │ │ ├── field.field.node.article.comment.yml
│ │ │ ├── field.field.node.article.field_image.yml
│ │ │ ├── field.field.node.article.field_tags.yml
│ │ │ ├── field.field.node.page.body.yml
│ │ │ ├── field.field.user.user.user_picture.yml
│ │ │ ├── field.settings.yml
│ │ │ ├── field.storage.block_content.body.yml
│ │ │ ├── field.storage.comment.comment_body.yml
│ │ │ ├── field.storage.node.body.yml
│ │ │ ├── field.storage.node.comment.yml
│ │ │ ├── field.storage.node.field_image.yml
│ │ │ ├── field.storage.node.field_tags.yml
│ │ │ ├── field.storage.user.user_picture.yml
│ │ │ ├── field_ui.settings.yml
│ │ │ ├── file.settings.yml
│ │ │ ├── filter.format.basic_html.yml
│ │ │ ├── filter.format.full_html.yml
│ │ │ ├── filter.format.plain_text.yml
│ │ │ ├── filter.format.restricted_html.yml
│ │ │ ├── filter.settings.yml
│ │ │ ├── image.settings.yml
│ │ │ ├── image.style.dashing_320x180.yml
│ │ │ ├── image.style.dashing_568x320.yml
│ │ │ ├── image.style.dashing_800x600.yml
│ │ │ ├── image.style.large.yml
│ │ │ ├── image.style.medium.yml
│ │ │ ├── image.style.thumbnail.yml
│ │ │ ├── menu_ui.settings.yml
│ │ │ ├── node.settings.yml
│ │ │ ├── node.type.article.yml
│ │ │ ├── node.type.page.yml
│ │ │ ├── rdf.mapping.comment.comment.yml
│ │ │ ├── rdf.mapping.node.article.yml
│ │ │ ├── rdf.mapping.node.page.yml
│ │ │ ├── rdf.mapping.taxonomy_term.tags.yml
│ │ │ ├── rdf.mapping.user.user.yml
│ │ │ ├── search.page.node_search.yml
│ │ │ ├── search.page.user_search.yml
│ │ │ ├── search.settings.yml
│ │ │ ├── seven.settings.yml
│ │ │ ├── shortcut.set.default.yml
│ │ │ ├── system.action.comment_publish_action.yml
│ │ │ ├── system.action.comment_save_action.yml
│ │ │ ├── system.action.comment_unpublish_action.yml
│ │ │ ├── system.action.node_delete_action.yml
│ │ │ ├── system.action.node_make_sticky_action.yml
│ │ │ ├── system.action.node_make_unsticky_action.yml
│ │ │ ├── system.action.node_promote_action.yml
│ │ │ ├── system.action.node_publish_action.yml
│ │ │ ├── system.action.node_save_action.yml
│ │ │ ├── system.action.node_unpromote_action.yml
│ │ │ ├── system.action.node_unpublish_action.yml
│ │ │ ├── system.action.user_add_role_action.administrator.yml
│ │ │ ├── system.action.user_block_user_action.yml
│ │ │ ├── system.action.user_cancel_user_action.yml
│ │ │ ├── system.action.user_remove_role_action.administrator.yml
│ │ │ ├── system.action.user_unblock_user_action.yml
│ │ │ ├── system.authorize.yml
│ │ │ ├── system.cron.yml
│ │ │ ├── system.date.yml
│ │ │ ├── system.diff.yml
│ │ │ ├── system.file.yml
│ │ │ ├── system.image.gd.yml
│ │ │ ├── system.image.yml
│ │ │ ├── system.logging.yml
│ │ │ ├── system.mail.yml
│ │ │ ├── system.maintenance.yml
│ │ │ ├── system.menu.account.yml
│ │ │ ├── system.menu.admin.yml
│ │ │ ├── system.menu.devel.yml
│ │ │ ├── system.menu.footer.yml
│ │ │ ├── system.menu.main.yml
│ │ │ ├── system.menu.tools.yml
│ │ │ ├── system.performance.yml
│ │ │ ├── system.rss.yml
│ │ │ ├── system.site.yml
│ │ │ ├── system.theme.global.yml
│ │ │ ├── system.theme.yml
│ │ │ ├── taxonomy.settings.yml
│ │ │ ├── taxonomy.vocabulary.tags.yml
│ │ │ ├── text.settings.yml
│ │ │ ├── tour.tour.views-ui.yml
│ │ │ ├── update.settings.yml
│ │ │ ├── user.flood.yml
│ │ │ ├── user.mail.yml
│ │ │ ├── user.role.administrator.yml
│ │ │ ├── user.role.anonymous.yml
│ │ │ ├── user.role.authenticated.yml
│ │ │ ├── user.settings.yml
│ │ │ ├── views.settings.yml
│ │ │ ├── views.view.archive.yml
│ │ │ ├── views.view.block_content.yml
│ │ │ ├── views.view.comments_recent.yml
│ │ │ ├── views.view.content.yml
│ │ │ ├── views.view.content_recent.yml
│ │ │ ├── views.view.files.yml
│ │ │ ├── views.view.frontpage.yml
│ │ │ ├── views.view.glossary.yml
│ │ │ ├── views.view.newspage.yml
│ │ │ ├── views.view.taxonomy_term.yml
│ │ │ ├── views.view.user_admin_people.yml
│ │ │ ├── views.view.who_s_new.yml
│ │ │ └── views.view.who_s_online.yml
│ ├── default.services.yml
│ ├── default.settings.php
│ ├── services.yml
│ └── settings.php
├── development.services.yml
├── example.settings.local.php
└── example.sites.php
├── themes
├── .gitkeep
├── dashing
│ ├── .bowerrc
│ ├── README.txt
│ ├── bower.json
│ ├── config.yml
│ ├── dashing.breakpoints.yml
│ ├── dashing.info.yml
│ ├── dashing.libraries.yml
│ ├── dashing.theme
│ ├── gulpfile.js
│ ├── js
│ │ └── dashing.js
│ ├── logo.svg
│ ├── package.json
│ ├── pattern-lab
│ │ ├── .gitignore
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── composer.json
│ │ ├── composer.lock
│ │ ├── config
│ │ │ ├── .gitkeep
│ │ │ └── config.yml
│ │ ├── core
│ │ │ ├── console
│ │ │ ├── server
│ │ │ │ └── router.php
│ │ │ └── src
│ │ │ │ └── PatternLab
│ │ │ │ └── Installer.php
│ │ └── source
│ │ │ ├── _annotations
│ │ │ └── annotations.js
│ │ │ ├── _data
│ │ │ ├── data.json
│ │ │ └── listitems.json
│ │ │ ├── _layouts
│ │ │ └── base.twig
│ │ │ ├── _macros
│ │ │ └── .gitkeep
│ │ │ ├── _meta
│ │ │ ├── _00-head.twig
│ │ │ └── _01-foot.twig
│ │ │ ├── _patterns
│ │ │ ├── 01-atoms
│ │ │ │ ├── forms
│ │ │ │ │ ├── _container.twig
│ │ │ │ │ ├── _form-element.twig
│ │ │ │ │ ├── _form.twig
│ │ │ │ │ ├── _input.twig
│ │ │ │ │ ├── container~submit.json
│ │ │ │ │ ├── form-element-label.json
│ │ │ │ │ ├── form-element-label.twig
│ │ │ │ │ ├── form-element~text.json
│ │ │ │ │ ├── form~search.json
│ │ │ │ │ ├── input~submit.json
│ │ │ │ │ └── input~text.json
│ │ │ │ └── titles
│ │ │ │ │ ├── h1.twig
│ │ │ │ │ └── h3.twig
│ │ │ ├── 02-molecules
│ │ │ │ ├── blocks
│ │ │ │ │ ├── branding.json
│ │ │ │ │ ├── branding.twig
│ │ │ │ │ ├── search.json
│ │ │ │ │ └── search.twig
│ │ │ │ ├── cards
│ │ │ │ │ ├── card.json
│ │ │ │ │ ├── card.twig
│ │ │ │ │ ├── card~align-center.json
│ │ │ │ │ ├── card~align-right.json
│ │ │ │ │ ├── card~buttons.json
│ │ │ │ │ ├── card~footer.json
│ │ │ │ │ ├── card~header.json
│ │ │ │ │ ├── card~image-bottom.json
│ │ │ │ │ ├── card~list.json
│ │ │ │ │ └── card~text.json
│ │ │ │ └── menus
│ │ │ │ │ ├── main-menu.json
│ │ │ │ │ └── main-menu.twig
│ │ │ └── 03-organisms
│ │ │ │ ├── grids
│ │ │ │ ├── pyramid-grid.json
│ │ │ │ ├── pyramid-grid.twig
│ │ │ │ └── pyramid-grid~cards.json
│ │ │ │ └── regions
│ │ │ │ ├── header.json
│ │ │ │ └── header.twig
│ │ │ ├── _twig-components
│ │ │ ├── filters
│ │ │ │ ├── clean_class.filter.php
│ │ │ │ ├── clean_id.filter.php
│ │ │ │ ├── format_date.filter.php
│ │ │ │ ├── placeholder.filter.php
│ │ │ │ ├── safe_join.filter.php
│ │ │ │ ├── t.filter.php
│ │ │ │ └── without.filter.php
│ │ │ ├── functions
│ │ │ │ ├── link.function.php
│ │ │ │ └── path.function.php
│ │ │ ├── tags
│ │ │ │ └── trans.tag.php
│ │ │ └── tests
│ │ │ │ └── .gitkeep
│ │ │ └── images
│ │ │ ├── 320x180.png
│ │ │ ├── 568x320.png
│ │ │ ├── 800x600.png
│ │ │ ├── avatar.png
│ │ │ └── logo.png
│ ├── scss
│ │ ├── 00-config
│ │ │ ├── _breakpoints.scss
│ │ │ ├── _colors.scss
│ │ │ ├── _fonts.scss
│ │ │ ├── _settings.scss
│ │ │ ├── _utilities.scss
│ │ │ └── _z-index.scss
│ │ ├── 10-base
│ │ │ ├── _grids.scss
│ │ │ └── _typography.scss
│ │ ├── 20-vendor
│ │ │ ├── _drupal.container-inline.module.scss
│ │ │ └── readme.md
│ │ ├── 30-global
│ │ │ ├── _grids.scss
│ │ │ └── _html-elements.scss
│ │ ├── 40-components
│ │ │ ├── _block.scss
│ │ │ ├── _branding.scss
│ │ │ ├── _breadcrumb.scss
│ │ │ ├── _btn.scss
│ │ │ ├── _card.scss
│ │ │ ├── _footer.scss
│ │ │ ├── _form.scss
│ │ │ ├── _header.scss
│ │ │ ├── _nav.scss
│ │ │ └── _pagination.scss
│ │ ├── 50-templates
│ │ │ ├── _grid.scss
│ │ │ └── _layout.scss
│ │ └── dashing.scss
│ ├── styleguide
│ │ └── css
│ │ │ ├── styleguide-specific.css
│ │ │ └── styleguide-specific.min.css
│ └── templates
│ │ ├── block
│ │ ├── block--search-form-block.html.twig
│ │ ├── block--system-branding-block.html.twig
│ │ ├── block--system-menu-block--footer.html.twig
│ │ └── block--system-powered-by-block.html.twig
│ │ ├── content
│ │ ├── node--article--teaser.html.twig
│ │ ├── node--page--teaser.html.twig
│ │ └── page-title.html.twig
│ │ ├── form
│ │ ├── container.html.twig
│ │ ├── form-element-label.html.twig
│ │ ├── form-element.html.twig
│ │ ├── form.html.twig
│ │ └── input.html.twig
│ │ ├── layout
│ │ ├── page.html.twig
│ │ ├── region--footer.html.twig
│ │ ├── region--header.html.twig
│ │ └── region.html.twig
│ │ ├── navigation
│ │ ├── breadcrumb.html.twig
│ │ ├── links.html.twig
│ │ ├── menu--account.html.twig
│ │ ├── menu--footer.html.twig
│ │ ├── menu--main.html.twig
│ │ ├── menu--tools.html.twig
│ │ ├── menu-local-task.html.twig
│ │ ├── menu-local-tasks.html.twig
│ │ ├── menu.html.twig
│ │ └── pager.html.twig
│ │ └── views
│ │ ├── views-view-fields--newspage--page.html.twig
│ │ ├── views-view-unformatted--frontpage--page.html.twig
│ │ └── views-view.html.twig
└── sub_dashing
│ ├── dist
│ └── sub_dashing.css
│ ├── sub_dashing.info.yml
│ └── sub_dashing.libraries.yml
├── update.php
└── web.config
/.gitignore:
--------------------------------------------------------------------------------
1 | # Ignore directories generated by Composer
2 | drush/contrib
3 | vendor
4 | web/core
5 | web/modules/contrib
6 | web/themes/contrib
7 | web/profiles/contrib
8 |
9 | # Ignore Drupal's file directory
10 | web/sites/default/files
11 |
12 | # Ignore files generated by PhpStorm
13 | .idea
14 |
15 | bower_components
16 | node_modules
17 | web/themes/dashing/dist/
18 |
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | language: php
2 | php:
3 | - 5.5
4 | - 7.0
5 | before_install:
6 | - composer clear-cache
7 | - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && source ~/.nvm/nvm.sh && nvm install 5
8 |
9 | # CXX : https://docs.travis-ci.com/user/languages/javascript-with-nodejs#Node.js-v4-(or-io.js-v3)-compiler-requirements
10 | # PHP_OPTIONS : Fixes inability to send email after site install ~ https://www.drupal.org/node/1826652#comment-9380565
11 | env:
12 | - CXX=g++-4.8 PHP_OPTIONS="-d sendmail_path=`which true`"
13 | addons:
14 | apt:
15 | sources:
16 | - ubuntu-toolchain-r-test
17 | packages:
18 | - g++-4.8
19 |
20 | script:
21 | - bash scripts/site-setup.sh
22 |
--------------------------------------------------------------------------------
/docs/00-core/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/docs/00-core/.gitkeep
--------------------------------------------------------------------------------
/docs/00-core/core.md:
--------------------------------------------------------------------------------
1 | ---
2 | #Core
3 | ---
4 |
5 | Core is the main set of functionality for PatternLab written in a specific language. Current options are [PHP](https://github.com/pattern-lab/patternlab-php-core); the Node versions use a wrapper (see [Editions](../04-editions/editions.md)).
6 |
--------------------------------------------------------------------------------
/docs/01-engines/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/docs/01-engines/.gitkeep
--------------------------------------------------------------------------------
/docs/01-engines/engines.md:
--------------------------------------------------------------------------------
1 | ---
2 | #Engines
3 | ---
4 |
5 | Pattern engines are the rendering function of PatternLab and turn template languages into HTML.
6 |
7 | **Current Engines**
8 |
9 | 1. [PHP Twig](https://github.com/pattern-lab/patternengine-php-twig)
10 | 2. [Node Mustache](https://github.com/pattern-lab/patternengine-node-mustache)
11 | 3. [PHP Mustache](https://github.com/pattern-lab/patternengine-php-mustache)
12 |
--------------------------------------------------------------------------------
/docs/02-styleguideskits/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/docs/02-styleguideskits/.gitkeep
--------------------------------------------------------------------------------
/docs/02-styleguideskits/styleguides.md:
--------------------------------------------------------------------------------
1 | ---
2 | #Styleguides
3 | ---
4 |
5 | Styleguides provide custom look and feel for the "chrome" of PatternLab. For example, you may want to match the toolbar and menus to brand guideline provided by a client.
6 |
7 | **Current Styleguidekits**
8 |
9 | 1. [Mustache Default](https://github.com/pattern-lab/styleguidekit-mustache-default)
10 | 2. [Assets Default](https://github.com/pattern-lab/styleguidekit-assets-default)
11 | 3. [Twig Default](https://github.com/pattern-lab/styleguidekit-twig-default)
12 |
--------------------------------------------------------------------------------
/docs/03-starterkits/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/docs/03-starterkits/.gitkeep
--------------------------------------------------------------------------------
/docs/03-starterkits/starterkits.md:
--------------------------------------------------------------------------------
1 | ---
2 | #Starterkits
3 | ---
4 |
5 | Starterkits are the `source` for PatternLab, and provide a base set of templates and assets for a starting point.
6 |
7 | **Current Starterkits**
8 |
9 | 1. [Twig Drupal Minimal](https://github.com/pattern-lab/starterkit-twig-drupal-minimal)
10 | 2. [Twig Drupal Demo](https://github.com/pattern-lab/starterkit-twig-drupal-demo)
11 | 3. [Twig Demo](https://github.com/pattern-lab/starterkit-twig-demo)
12 | 4. [Mustache Foundation](https://github.com/pattern-lab/starterkit-mustache-foundation)
13 | 5. [Mustache MaterialDesign](https://github.com/pattern-lab/starterkit-mustache-materialdesign)
14 | 6. [Mustache Bootstrap](https://github.com/pattern-lab/starterkit-mustache-bootstrap)
15 | 7. [Mustache Default](https://github.com/pattern-lab/starterkit-mustache-default)
16 | 8. [Mustache Demo](https://github.com/pattern-lab/starterkit-mustache-demo)
17 | 9. [Twig Base](https://github.com/pattern-lab/starterkit-twig-base)
--------------------------------------------------------------------------------
/docs/04-editions/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/docs/04-editions/.gitkeep
--------------------------------------------------------------------------------
/docs/04-editions/editions.md:
--------------------------------------------------------------------------------
1 | ---
2 | #Editions
3 | ---
4 |
5 | Editions are packaged sets of coordinating functionality that make up a complete PatternLab.
6 |
7 | **Current Editions**
8 |
9 | 1. [PHP Drupal Standard](https://github.com/pattern-lab/edition-php-drupal-standard)
10 | 2. [PHP Development](https://github.com/pattern-lab/edition-php-development)
11 | 3. [Node Grunt](https://github.com/pattern-lab/edition-node-grunt)
12 | 4. [Node Gulp](https://github.com/pattern-lab/edition-node-gulp)
13 | 5. [PHP Thin](https://github.com/pattern-lab/edition-php-thin)
14 | 6. [PHP Twig Standard](https://github.com/pattern-lab/edition-php-twig-standard)
15 | 7. [PHP Twig Development](https://github.com/pattern-lab/edition-php-twig-development)
16 |
--------------------------------------------------------------------------------
/docs/05-plugins/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/docs/05-plugins/.gitkeep
--------------------------------------------------------------------------------
/docs/05-plugins/plugins.md:
--------------------------------------------------------------------------------
1 | ---
2 | #Plugins
3 | ---
4 |
5 | Plugins extend core functionality.
6 |
7 | **Current Plugins**
8 |
9 | 1. [PHP Twig Extensions](https://github.com/pattern-lab/plugin-php-twig-extensions)
10 | 2. [Drupal Twig Components](https://github.com/pattern-lab/plugin-drupal-twig-components)
11 | 3. [PHP KSS](https://github.com/pattern-lab/plugin-php-kss)
12 | 4. [PHP Snapshots](https://github.com/pattern-lab/plugin-php-snapshots) -- currently empty
13 | 5. [PHP Autoreload](https://github.com/pattern-lab/plugin-php-autoreload) -- currently empty
14 | 6. [PHP Pagefollow](https://github.com/pattern-lab/plugin-php-pagefollow) -- currently empty
15 |
16 | **Vendor Plugins**
17 |
18 | 7. [Aleksi Peeble's Data Transform Plugin](https://github.com/aleksip/plugin-data-transform)
19 |
--------------------------------------------------------------------------------
/docs/06-drupallab/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/docs/06-drupallab/.gitkeep
--------------------------------------------------------------------------------
/docs/06-drupallab/drupal-8-twig.md:
--------------------------------------------------------------------------------
1 | ---
2 | #Drupal 8 Twig
3 | ---
4 |
5 | ###Filters
6 |
7 | https://www.drupal.org/node/2357633
8 |
9 | ###Translation
10 |
11 | http://getlevelten.com/blog/mark-carver/drupal-8-twig-templates-and-translations
12 |
13 | ###Functions
14 |
15 | https://www.drupal.org/node/2486991
16 |
17 | ###Attributes
18 |
19 | https://www.drupal.org/node/2513632
20 |
21 | ##Best Practices
22 |
23 | ###Preprocess
24 |
25 | https://www.drupal.org/node/2486991
26 |
27 | ###Coding standards
28 |
29 | https://www.drupal.org/node/1823416
30 |
31 | ##Debugging
32 |
33 | https://www.drupal.org/node/2358785
34 | https://www.drupal.org/node/1903374
35 | https://www.drupal.org/node/1906392
36 |
37 | ##Naming Conventions
38 |
39 | https://www.drupal.org/node/2354645
40 | https://www.drupal.org/node/2186401
--------------------------------------------------------------------------------
/docs/06-drupallab/drupallab.md:
--------------------------------------------------------------------------------
1 | ---
2 | #DrupalLab
3 | ---
4 |
5 | DrupalLab is a proof of concept and demonstration tool for using Drupal 8 and Pattern Lab within a theme to enable parallel development of front-end assets (the view) and backend structure (the model). The glue that ties them together is the presentation layer and DrupalLab is a working example of that.
6 |
7 | There are very few assets other than twig templates in DrupalLab due to the primary goal of getting Twig to seamlessly integrate between platforms. Styling is done via Bootstrap CSS/JS with very minimal custom Sass.
8 |
9 | The method used is known as MVP (model + view + presentation), where the data model is Drupal 8, the view is provided by Pattern Lab, and Twig templates in the theme are the presentation layer. This enables abstraction during the prototyping phase enabling it to occur simultaneously as the backend in Drupal 8 develops, even without a completely defined content model.
10 |
11 | What you end up with is a library or store of components that you can continue to shop from as features and needs develop, all while keeping with the original defined patterns and merely changing where the data comes from through the provided variables.
12 |
13 | 1. [Drupal 8 Twig](drupal-8-twig.md)
14 | 2. [Twig](twig.md)
15 | 3. [Usage](usage.md)
16 |
--------------------------------------------------------------------------------
/docs/06-drupallab/twig.md:
--------------------------------------------------------------------------------
1 | ---
2 | #Twig
3 | ---
4 |
5 | ##Documentation
6 |
7 | http://twig.sensiolabs.org/documentation
8 |
9 | ###Basics
10 |
11 | http://twig.sensiolabs.org/doc/templates.html
12 |
13 | ###Coding standards
14 |
15 | http://twig.sensiolabs.org/doc/coding_standards.html
16 |
17 | 
18 |
19 | ##Filters
20 |
21 | http://twig.sensiolabs.org/doc/filters/index.html
22 |
23 | ##Functions
24 |
25 | http://twig.sensiolabs.org/doc/functions/index.html
26 |
27 | ##Tags
28 |
29 | http://twig.sensiolabs.org/doc/tags/index.html
30 |
31 | ###Extends
32 |
33 | http://twig.sensiolabs.org/doc/tags/extends.html
34 |
35 | ###Include
36 |
37 | http://twig.sensiolabs.org/doc/tags/include.html
38 |
39 | ###Use
40 |
41 | http://twig.sensiolabs.org/doc/tags/use.html
42 |
43 | ###Macro
44 |
45 | http://twig.sensiolabs.org/doc/tags/macro.html
46 |
47 | ###Embed
48 |
49 | http://twig.sensiolabs.org/doc/tags/embed.html
--------------------------------------------------------------------------------
/docs/assets/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/docs/assets/.gitkeep
--------------------------------------------------------------------------------
/docs/assets/component_libraries.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/docs/assets/component_libraries.png
--------------------------------------------------------------------------------
/docs/assets/embed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/docs/assets/embed.png
--------------------------------------------------------------------------------
/docs/assets/embed2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/docs/assets/embed2.png
--------------------------------------------------------------------------------
/docs/assets/extend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/docs/assets/extend.png
--------------------------------------------------------------------------------
/docs/assets/extend_include.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/docs/assets/extend_include.png
--------------------------------------------------------------------------------
/docs/assets/include.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/docs/assets/include.png
--------------------------------------------------------------------------------
/docs/assets/include_embed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/docs/assets/include_embed.png
--------------------------------------------------------------------------------
/docs/assets/source_dir.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/docs/assets/source_dir.png
--------------------------------------------------------------------------------
/docs/assets/structure.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/docs/assets/structure.png
--------------------------------------------------------------------------------
/docs/assets/structure_alt.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/docs/assets/structure_alt.png
--------------------------------------------------------------------------------
/docs/assets/twig_reference.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/docs/assets/twig_reference.png
--------------------------------------------------------------------------------
/docs/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Docs
3 | ---
4 |
5 | #PatternLab
6 |
7 | 1. [Core](00-core/core)
8 | 2. [Engines](01-engines/engines)
9 | 3. [Styleguidekits](02-styleguidekits/styleguidekits)
10 | 4. [Starterkits](03-starterkits/starterkits)
11 | 5. [Editions](04-editions/editions)
12 | 6. [Plugins](05-plugins/plugins)
13 | 6. [DrupalLab](06-drupallab/drupallab)
14 |
--------------------------------------------------------------------------------
/drush/README.md:
--------------------------------------------------------------------------------
1 | This directory contains commands, configuration and site aliases for Drush. See http://packages.drush.org/ for a directory of Drush commands installable via Composer.
2 |
--------------------------------------------------------------------------------
/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
' . t('Patternlab support module for Drupal') . '
'; 20 | return $output; 21 | 22 | default: 23 | } 24 | } 25 | 26 | 27 | /** 28 | * Implements system_themes_page_alter(). 29 | */ 30 | function patternlab_system_themes_page_alter(&$theme_groups) { 31 | foreach ($theme_groups['installed'] as $idx => $theme) { 32 | $query = ['theme' => $theme->getName()]; 33 | 34 | // @TODO: Use some method of detection (via configuration) to conditionally 35 | // add this operation if patternlab is available/enabled for this theme. 36 | $theme->operations[] = array( 37 | 'title' => t('View Patternlab'), 38 | 'url' => Url::fromRoute('patternlab.view', $query), 39 | 'attributes' => array('title' => t('View Patternlab for the @theme theme', array('@theme' => $theme->info['name']))), 40 | ); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /web/modules/patternlab/patternlab.routing.yml: -------------------------------------------------------------------------------- 1 | patternlab.view: 2 | path: '/admin/appearance/settings/{theme}/patternlab' 3 | defaults: 4 | _controller: '\Drupal\patternlab\Controller\PatternlabController::view' 5 | _title: 'View theme Patternlab' 6 | requirements: 7 | _permission: 'administer themes' 8 | -------------------------------------------------------------------------------- /web/modules/patternlab/src/Controller/PatternlabController.php: -------------------------------------------------------------------------------- 1 | 3 | Require all denied 4 | 5 | 6 | # Deny all requests from Apache 2.0-2.2. 7 | -
-
-
'
20 | filter_html_help: false
21 | filter_html_nofollow: false
22 | filter_align:
23 | id: filter_align
24 | provider: filter
25 | status: true
26 | weight: 7
27 | settings: { }
28 | filter_caption:
29 | id: filter_caption
30 | provider: filter
31 | status: true
32 | weight: 8
33 | settings: { }
34 | filter_html_image_secure:
35 | id: filter_html_image_secure
36 | provider: filter
37 | status: true
38 | weight: 9
39 | settings: { }
40 | editor_file_reference:
41 | id: editor_file_reference
42 | provider: editor
43 | status: true
44 | weight: 11
45 | settings: { }
46 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/filter.format.full_html.yml:
--------------------------------------------------------------------------------
1 | uuid: 92b30517-f5ac-4ad8-baf0-b0edab149b96
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - editor
7 | _core:
8 | default_config_hash: hewPmBgni9jlDK_IjLxUx1HsTbinK-hdl0lOwjbteIY
9 | name: 'Full HTML'
10 | format: full_html
11 | weight: 1
12 | filters:
13 | filter_align:
14 | id: filter_align
15 | provider: filter
16 | status: true
17 | weight: 8
18 | settings: { }
19 | filter_caption:
20 | id: filter_caption
21 | provider: filter
22 | status: true
23 | weight: 9
24 | settings: { }
25 | filter_htmlcorrector:
26 | id: filter_htmlcorrector
27 | provider: filter
28 | status: true
29 | weight: 10
30 | settings: { }
31 | editor_file_reference:
32 | id: editor_file_reference
33 | provider: editor
34 | status: true
35 | weight: 11
36 | settings: { }
37 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/filter.format.plain_text.yml:
--------------------------------------------------------------------------------
1 | uuid: f3480369-8371-449d-a15a-e0f1c1958639
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: NIKBt6kw_uPhNI0qtR2DnRf7mSOgAQdx7Q94SKMjXbQ
7 | name: 'Plain text'
8 | format: plain_text
9 | weight: 10
10 | filters:
11 | filter_html_escape:
12 | id: filter_html_escape
13 | provider: filter
14 | status: true
15 | weight: -10
16 | settings: { }
17 | filter_url:
18 | id: filter_url
19 | provider: filter
20 | status: true
21 | weight: 0
22 | settings:
23 | filter_url_length: 72
24 | filter_autop:
25 | id: filter_autop
26 | provider: filter
27 | status: true
28 | weight: 0
29 | settings: { }
30 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/filter.format.restricted_html.yml:
--------------------------------------------------------------------------------
1 | uuid: d873ee44-c771-4deb-b063-dfc3c32214f5
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: KUjJ8Ti_ZJSlhGM88E_mhJP-8mmQRNUB6RFof615Kt0
7 | name: 'Restricted HTML'
8 | format: restricted_html
9 | weight: 0
10 | filters:
11 | filter_html:
12 | id: filter_html
13 | provider: filter
14 | status: true
15 | weight: -10
16 | settings:
17 | allowed_html: ' -
-
-
'
18 | filter_html_help: true
19 | filter_html_nofollow: false
20 | filter_autop:
21 | id: filter_autop
22 | provider: filter
23 | status: true
24 | weight: 0
25 | settings: { }
26 | filter_url:
27 | id: filter_url
28 | provider: filter
29 | status: true
30 | weight: 0
31 | settings:
32 | filter_url_length: 72
33 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/filter.settings.yml:
--------------------------------------------------------------------------------
1 | fallback_format: plain_text
2 | always_show_fallback_choice: false
3 | _core:
4 | default_config_hash: FiPjM3WdB__ruFA7B6TLwni_UcZbmek5G4b2dxQItxA
5 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/image.settings.yml:
--------------------------------------------------------------------------------
1 | preview_image: core/modules/image/sample.png
2 | allow_insecure_derivatives: false
3 | suppress_itok_output: false
4 | _core:
5 | default_config_hash: k-yDFHbqNfpe-Srg4sdCSqaosCl2D8uwyEY5esF8gEw
6 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/image.style.dashing_320x180.yml:
--------------------------------------------------------------------------------
1 | uuid: 04f90de9-46dc-495c-9546-2723f1602bb0
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | name: dashing_320x180
6 | label: 'Dashing 320x180'
7 | effects:
8 | b6274dd3-bbac-4e4c-949d-d26b9a333295:
9 | uuid: b6274dd3-bbac-4e4c-949d-d26b9a333295
10 | id: image_scale_and_crop
11 | weight: 1
12 | data:
13 | width: 320
14 | height: 180
15 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/image.style.dashing_568x320.yml:
--------------------------------------------------------------------------------
1 | uuid: 34893ece-afcc-489f-a2ff-93f0f167fee5
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | name: dashing_568x320
6 | label: 'Dashing 568x320'
7 | effects:
8 | f1c3e817-ecb7-40fb-9eed-edef24e7522b:
9 | uuid: f1c3e817-ecb7-40fb-9eed-edef24e7522b
10 | id: image_scale_and_crop
11 | weight: 1
12 | data:
13 | width: 568
14 | height: 320
15 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/image.style.dashing_800x600.yml:
--------------------------------------------------------------------------------
1 | uuid: 69fb42f4-0c06-477b-a80e-a7f6f6aee55b
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | name: dashing_800x600
6 | label: 'Dashing 800x600'
7 | effects:
8 | 745e3f76-febd-4420-b316-0709856eac5f:
9 | uuid: 745e3f76-febd-4420-b316-0709856eac5f
10 | id: image_scale_and_crop
11 | weight: 1
12 | data:
13 | width: 800
14 | height: 600
15 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/image.style.large.yml:
--------------------------------------------------------------------------------
1 | uuid: 7fde30e6-ffda-4a81-b7c3-6b0046c775e6
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: J2n0RpFzS0-bgSyxjs6rSdgxB1rb-bTAgqywNx_964M
7 | name: large
8 | label: 'Large (480×480)'
9 | effects:
10 | ddd73aa7-4bd6-4c85-b600-bdf2b1628d1d:
11 | uuid: ddd73aa7-4bd6-4c85-b600-bdf2b1628d1d
12 | id: image_scale
13 | weight: 0
14 | data:
15 | width: 480
16 | height: 480
17 | upscale: false
18 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/image.style.medium.yml:
--------------------------------------------------------------------------------
1 | uuid: 8937b85b-ccae-4895-b4ae-96e217fa8ed0
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: Y9NmnZHQq20ASSyTNA6JnwtWrJJiSajOehGDtmUFdM0
7 | name: medium
8 | label: 'Medium (220×220)'
9 | effects:
10 | bddf0d06-42f9-4c75-a700-a33cafa25ea0:
11 | uuid: bddf0d06-42f9-4c75-a700-a33cafa25ea0
12 | id: image_scale
13 | weight: 0
14 | data:
15 | width: 220
16 | height: 220
17 | upscale: false
18 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/image.style.thumbnail.yml:
--------------------------------------------------------------------------------
1 | uuid: df101d58-4567-4613-aff7-166455bc6de1
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: cCiWdBHgLwj5omG35lsKc4LkW4MBdmcctkVop4ol5x0
7 | name: thumbnail
8 | label: 'Thumbnail (100×100)'
9 | effects:
10 | 1cfec298-8620-4749-b100-ccb6c4500779:
11 | uuid: 1cfec298-8620-4749-b100-ccb6c4500779
12 | id: image_scale
13 | weight: 0
14 | data:
15 | width: 100
16 | height: 100
17 | upscale: false
18 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/menu_ui.settings.yml:
--------------------------------------------------------------------------------
1 | override_parent_selector: false
2 | _core:
3 | default_config_hash: SqMarzIjxC3F8dZo9FEOxfqDKD_sdW1tbcFTV1BA2zU
4 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/node.settings.yml:
--------------------------------------------------------------------------------
1 | use_admin_theme: true
2 | _core:
3 | default_config_hash: 2OMXCScXUOLSYID9-phjO4q36nnnaMWNUlDxEqZzG1U
4 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/node.type.article.yml:
--------------------------------------------------------------------------------
1 | uuid: d562a1ea-2fb7-4ea3-8a97-a7339d9a254e
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: i4OVV5qrD7abstl4SKS8v5Ee7PuxrL548iZVSty1HRg
7 | name: Article
8 | type: article
9 | description: 'Use articles for time-sensitive content like news, press releases or blog posts.'
10 | help: ''
11 | new_revision: false
12 | preview_mode: 1
13 | display_submitted: true
14 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/node.type.page.yml:
--------------------------------------------------------------------------------
1 | uuid: 7f6ea4a5-3afb-4f91-ac62-ce53f785775e
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: zhtPXoRcC6REiepM0k16zw__FDW5YOXDR6U2WlldTrs
7 | name: 'Basic page'
8 | type: page
9 | description: 'Use basic pages for your static content, such as an ''About us'' page.'
10 | help: ''
11 | new_revision: false
12 | preview_mode: 1
13 | display_submitted: false
14 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/rdf.mapping.comment.comment.yml:
--------------------------------------------------------------------------------
1 | uuid: 71575152-112e-463b-86cb-e298638d0c4b
2 | langcode: en
3 | status: true
4 | dependencies:
5 | config:
6 | - comment.type.comment
7 | module:
8 | - comment
9 | _core:
10 | default_config_hash: uETe6XupRGKDForx2MpY0pMOEu6CzGgdCAZZOKkbgmk
11 | id: comment.comment
12 | targetEntityType: comment
13 | bundle: comment
14 | types:
15 | - 'schema:Comment'
16 | fieldMappings:
17 | subject:
18 | properties:
19 | - 'schema:name'
20 | created:
21 | properties:
22 | - 'schema:dateCreated'
23 | datatype_callback:
24 | callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
25 | changed:
26 | properties:
27 | - 'schema:dateModified'
28 | datatype_callback:
29 | callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
30 | comment_body:
31 | properties:
32 | - 'schema:text'
33 | uid:
34 | properties:
35 | - 'schema:author'
36 | mapping_type: rel
37 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/rdf.mapping.node.article.yml:
--------------------------------------------------------------------------------
1 | uuid: 6e7b0296-f821-41a9-b894-ba8da291d0aa
2 | langcode: en
3 | status: true
4 | dependencies:
5 | config:
6 | - node.type.article
7 | module:
8 | - node
9 | _core:
10 | default_config_hash: IdobJe379eDudt7-bXFfJjF7pDqFl-kYxVFtpWrgkro
11 | id: node.article
12 | targetEntityType: node
13 | bundle: article
14 | types:
15 | - 'schema:Article'
16 | fieldMappings:
17 | title:
18 | properties:
19 | - 'schema:name'
20 | created:
21 | properties:
22 | - 'schema:dateCreated'
23 | datatype_callback:
24 | callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
25 | changed:
26 | properties:
27 | - 'schema:dateModified'
28 | datatype_callback:
29 | callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
30 | body:
31 | properties:
32 | - 'schema:text'
33 | uid:
34 | properties:
35 | - 'schema:author'
36 | comment:
37 | properties:
38 | - 'schema:comment'
39 | mapping_type: rel
40 | comment_count:
41 | properties:
42 | - 'schema:interactionCount'
43 | datatype_callback:
44 | callable: 'Drupal\rdf\SchemaOrgDataConverter::interactionCount'
45 | arguments:
46 | interaction_type: UserComments
47 | field_image:
48 | properties:
49 | - 'schema:image'
50 | field_tags:
51 | properties:
52 | - 'schema:about'
53 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/rdf.mapping.node.page.yml:
--------------------------------------------------------------------------------
1 | uuid: 96d225bc-ba3f-46c9-a70f-385783fde7a5
2 | langcode: en
3 | status: true
4 | dependencies:
5 | config:
6 | - node.type.page
7 | module:
8 | - node
9 | _core:
10 | default_config_hash: 32LxRnl4Wesvzqyfp7HnD0-U9-wxrLBn76pqY5XGNAE
11 | id: node.page
12 | targetEntityType: node
13 | bundle: page
14 | types:
15 | - 'schema:WebPage'
16 | fieldMappings:
17 | title:
18 | properties:
19 | - 'schema:name'
20 | created:
21 | properties:
22 | - 'schema:dateCreated'
23 | datatype_callback:
24 | callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
25 | changed:
26 | properties:
27 | - 'schema:dateModified'
28 | datatype_callback:
29 | callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
30 | body:
31 | properties:
32 | - 'schema:text'
33 | uid:
34 | properties:
35 | - 'schema:author'
36 | mapping_type: rel
37 | comment_count:
38 | properties:
39 | - 'schema:interactionCount'
40 | datatype_callback:
41 | callable: 'Drupal\rdf\SchemaOrgDataConverter::interactionCount'
42 | arguments:
43 | interaction_type: UserComments
44 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/rdf.mapping.taxonomy_term.tags.yml:
--------------------------------------------------------------------------------
1 | uuid: 37bfba4b-0add-4e7b-83aa-26ad11f144f4
2 | langcode: en
3 | status: true
4 | dependencies:
5 | config:
6 | - taxonomy.vocabulary.tags
7 | module:
8 | - taxonomy
9 | _core:
10 | default_config_hash: o5duwyS1CTHx3tYOZhuu91kspe8VQjQsnwZjAJv9njk
11 | id: taxonomy_term.tags
12 | targetEntityType: taxonomy_term
13 | bundle: tags
14 | types:
15 | - 'schema:Thing'
16 | fieldMappings:
17 | name:
18 | properties:
19 | - 'schema:name'
20 | description:
21 | properties:
22 | - 'schema:description'
23 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/rdf.mapping.user.user.yml:
--------------------------------------------------------------------------------
1 | uuid: 0d29ba03-56c1-4743-876b-e67f3bedb2de
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - user
7 | _core:
8 | default_config_hash: TGTlmpYAtXxjtYMFA_A0vosE2c4R5MCQwLviIA5HUM0
9 | id: user.user
10 | targetEntityType: user
11 | bundle: user
12 | types:
13 | - 'schema:Person'
14 | fieldMappings:
15 | name:
16 | properties:
17 | - 'schema:name'
18 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/search.page.node_search.yml:
--------------------------------------------------------------------------------
1 | uuid: 72c682d7-05c1-4f61-9767-7f304633f21f
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - node
7 | _core:
8 | default_config_hash: 97tvtzGOa8_flb22CzSjgtm_YkiGMHvEBO-6q2K9V_U
9 | id: node_search
10 | label: Content
11 | path: node
12 | weight: -10
13 | plugin: node_search
14 | configuration:
15 | rankings: { }
16 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/search.page.user_search.yml:
--------------------------------------------------------------------------------
1 | uuid: 192fe49c-d929-43fd-907c-daaedcf305b6
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - user
7 | _core:
8 | default_config_hash: k3aUaZXGDuhkek2TZIee0PApOPTvYZLadziekdyHA5A
9 | id: user_search
10 | label: Users
11 | path: user
12 | weight: 0
13 | plugin: user_search
14 | configuration: { }
15 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/search.settings.yml:
--------------------------------------------------------------------------------
1 | and_or_limit: 7
2 | default_page: node_search
3 | index:
4 | cron_limit: 100
5 | overlap_cjk: true
6 | minimum_word_size: 3
7 | tag_weights:
8 | h1: 25
9 | h2: 18
10 | h3: 15
11 | h4: 14
12 | h5: 9
13 | h6: 6
14 | u: 3
15 | b: 3
16 | i: 3
17 | strong: 3
18 | em: 3
19 | a: 10
20 | logging: false
21 | _core:
22 | default_config_hash: hvVxL1G-ZCxaq32IZws0YsfuhvaDiQE_np-0g35KjUk
23 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/seven.settings.yml:
--------------------------------------------------------------------------------
1 | third_party_settings:
2 | shortcut:
3 | module_link: true
4 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/shortcut.set.default.yml:
--------------------------------------------------------------------------------
1 | uuid: 2fd99505-387c-4570-9833-c89a655254c1
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: U5VlGjd_SfV0Qm_EfnaynOfc549cNscFAx48JfYoMRI
7 | id: default
8 | label: Default
9 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.action.comment_publish_action.yml:
--------------------------------------------------------------------------------
1 | uuid: 2408d14e-50a2-4e93-8639-62d316681c1c
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - comment
7 | _core:
8 | default_config_hash: f6w_Pd30AyyDIoMkD4QpPMM2-I8FTEHICchFVOpjiCI
9 | id: comment_publish_action
10 | label: 'Publish comment'
11 | type: comment
12 | plugin: comment_publish_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.action.comment_save_action.yml:
--------------------------------------------------------------------------------
1 | uuid: beaed3fd-2d9f-4064-8a80-809e0df32e70
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - comment
7 | _core:
8 | default_config_hash: TSkg_gUZvk-39yXFrIFnKjsxuEzO0qBH82TdDxOMMr4
9 | id: comment_save_action
10 | label: 'Save comment'
11 | type: comment
12 | plugin: comment_save_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.action.comment_unpublish_action.yml:
--------------------------------------------------------------------------------
1 | uuid: f3a8e7bf-8104-4f06-8df2-fa98d1510105
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - comment
7 | _core:
8 | default_config_hash: MLin6S_PsJ7Oo480DxS46D46IM8tqFkkWOLyH7TGByI
9 | id: comment_unpublish_action
10 | label: 'Unpublish comment'
11 | type: comment
12 | plugin: comment_unpublish_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.action.node_delete_action.yml:
--------------------------------------------------------------------------------
1 | uuid: a2d2408c-5632-48e0-ba55-67748059c9fb
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - node
7 | _core:
8 | default_config_hash: Zx0jD1Klh5tZaGJy8uOeR_2MCu9FDM4xg7TaUJUEbkI
9 | id: node_delete_action
10 | label: 'Delete content'
11 | type: node
12 | plugin: node_delete_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.action.node_make_sticky_action.yml:
--------------------------------------------------------------------------------
1 | uuid: 3263f307-fc90-470c-a49c-ba62da1358ab
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - node
7 | _core:
8 | default_config_hash: sOb26JSy3fGpWkvR0WYN6_hMqj_6d1rvbvrkzp1yya0
9 | id: node_make_sticky_action
10 | label: 'Make content sticky'
11 | type: node
12 | plugin: node_make_sticky_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.action.node_make_unsticky_action.yml:
--------------------------------------------------------------------------------
1 | uuid: 91697922-f394-4731-8ee7-b5a6c6f9d889
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - node
7 | _core:
8 | default_config_hash: lDM9mvIGAu8Sw8rt-uCO4Sr7yX5VPrDPxYcawkbKd6k
9 | id: node_make_unsticky_action
10 | label: 'Make content unsticky'
11 | type: node
12 | plugin: node_make_unsticky_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.action.node_promote_action.yml:
--------------------------------------------------------------------------------
1 | uuid: 7836ea87-02f4-46d3-9270-1fd5a0332512
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - node
7 | _core:
8 | default_config_hash: N0RDBTqiK4dKoN4p4oW2j0SGWycdHyALUe9M-Ofp89U
9 | id: node_promote_action
10 | label: 'Promote content to front page'
11 | type: node
12 | plugin: node_promote_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.action.node_publish_action.yml:
--------------------------------------------------------------------------------
1 | uuid: c6c5de98-1bf7-4d36-9741-f6152414a075
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - node
7 | _core:
8 | default_config_hash: lsQkbo4njZ-Q_oGKCPGXGWFjWF1I7QpgA6m-t9rcRoA
9 | id: node_publish_action
10 | label: 'Publish content'
11 | type: node
12 | plugin: node_publish_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.action.node_save_action.yml:
--------------------------------------------------------------------------------
1 | uuid: 84cd1c33-fbf5-4bec-8881-78c3c0820493
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - node
7 | _core:
8 | default_config_hash: U9HspszLxcw6pZmRacFa6yDbbheyMN-We4fPbrWWHGg
9 | id: node_save_action
10 | label: 'Save content'
11 | type: node
12 | plugin: node_save_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.action.node_unpromote_action.yml:
--------------------------------------------------------------------------------
1 | uuid: 5073ae76-2870-4cf8-bf71-a4a488b41302
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - node
7 | _core:
8 | default_config_hash: JBptjnfuOMtsdKygklXxoOgeOCTMtQxlkymjnnj-cC0
9 | id: node_unpromote_action
10 | label: 'Remove content from front page'
11 | type: node
12 | plugin: node_unpromote_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.action.node_unpublish_action.yml:
--------------------------------------------------------------------------------
1 | uuid: 6107f55c-d03f-4830-a273-5a431ba7e884
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - node
7 | _core:
8 | default_config_hash: gGQXiSspwGl0lyOS6w_HCPpvGAPDciqDNLFwWOydVtI
9 | id: node_unpublish_action
10 | label: 'Unpublish content'
11 | type: node
12 | plugin: node_unpublish_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.action.user_add_role_action.administrator.yml:
--------------------------------------------------------------------------------
1 | uuid: 86082932-efe4-4e8b-b89c-e72f6a918cef
2 | langcode: en
3 | status: true
4 | dependencies:
5 | config:
6 | - user.role.administrator
7 | module:
8 | - user
9 | id: user_add_role_action.administrator
10 | label: 'Add the Administrator role to the selected users'
11 | type: user
12 | plugin: user_add_role_action
13 | configuration:
14 | rid: administrator
15 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.action.user_block_user_action.yml:
--------------------------------------------------------------------------------
1 | uuid: 30d3a6cb-363a-4e0f-8aff-2335af6eb2da
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - user
7 | _core:
8 | default_config_hash: DyypzTfThX10FFQw-399qPfEbLLyrhXgQrKPVsmAoJ4
9 | id: user_block_user_action
10 | label: 'Block the selected user(s)'
11 | type: user
12 | plugin: user_block_user_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.action.user_cancel_user_action.yml:
--------------------------------------------------------------------------------
1 | uuid: a0d5d556-ad98-4e2e-89e1-cfa0781a13c6
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - user
7 | _core:
8 | default_config_hash: nvrL9bFilzBvm2bjO9rQnFDpBA7dBBUjShSSt6NS-DU
9 | id: user_cancel_user_action
10 | label: 'Cancel the selected user account(s)'
11 | type: user
12 | plugin: user_cancel_user_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.action.user_remove_role_action.administrator.yml:
--------------------------------------------------------------------------------
1 | uuid: bde9e76a-7170-4c78-abdf-3ed57ae30676
2 | langcode: en
3 | status: true
4 | dependencies:
5 | config:
6 | - user.role.administrator
7 | module:
8 | - user
9 | id: user_remove_role_action.administrator
10 | label: 'Remove the Administrator role from the selected users'
11 | type: user
12 | plugin: user_remove_role_action
13 | configuration:
14 | rid: administrator
15 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.action.user_unblock_user_action.yml:
--------------------------------------------------------------------------------
1 | uuid: 1405a943-639c-40e7-bcf9-0649e18e0cda
2 | langcode: en
3 | status: true
4 | dependencies:
5 | module:
6 | - user
7 | _core:
8 | default_config_hash: SPsUXsR3Rc8d1y3gewzaAKWa1ncea_ywXX3f7LTn7k0
9 | id: user_unblock_user_action
10 | label: 'Unblock the selected user(s)'
11 | type: user
12 | plugin: user_unblock_user_action
13 | configuration: { }
14 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.authorize.yml:
--------------------------------------------------------------------------------
1 | filetransfer_default: null
2 | _core:
3 | default_config_hash: z63ds8M4zPrylEgFRkRcOlfcsXWwfITzjD4cj1kRdfg
4 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.cron.yml:
--------------------------------------------------------------------------------
1 | threshold:
2 | requirements_warning: 172800
3 | requirements_error: 1209600
4 | _core:
5 | default_config_hash: 05U0n1_8zHYzxEFSWjyHCWuJyhdez2a6Z_aTIXin04E
6 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.date.yml:
--------------------------------------------------------------------------------
1 | country:
2 | default: ''
3 | first_day: 0
4 | timezone:
5 | default: UTC
6 | user:
7 | configurable: true
8 | warn: false
9 | default: 0
10 | _core:
11 | default_config_hash: V9UurX2GPT05NWKG9f2GWQqFG2TRG8vczidwjpy7Woo
12 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.diff.yml:
--------------------------------------------------------------------------------
1 | context:
2 | lines_leading: 2
3 | lines_trailing: 2
4 | _core:
5 | default_config_hash: 1WanmaEhxW_vM8_5Ktsdntj8MaO9UBHXg0lN603PsWM
6 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.file.yml:
--------------------------------------------------------------------------------
1 | allow_insecure_uploads: false
2 | default_scheme: public
3 | path:
4 | temporary: /tmp
5 | temporary_maximum_age: 21600
6 | _core:
7 | default_config_hash: t48gCU9DzYfjb3bAOIqHLzhL0ChBlXh6_5B5Pyo9t8g
8 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.image.gd.yml:
--------------------------------------------------------------------------------
1 | jpeg_quality: 75
2 | _core:
3 | default_config_hash: eNXaHfkJJUThHeF0nvkoXyPLRrKYGxgHRjORvT4F5rQ
4 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.image.yml:
--------------------------------------------------------------------------------
1 | toolkit: gd
2 | _core:
3 | default_config_hash: durWHaKeBaq4d9Wpi4RqwADj1OufDepcnJuhVLmKN24
4 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.logging.yml:
--------------------------------------------------------------------------------
1 | error_level: hide
2 | _core:
3 | default_config_hash: u3-njszl92FaxjrCMiq0yDcjAfcdx72w1zT1O9dx6aA
4 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.mail.yml:
--------------------------------------------------------------------------------
1 | interface:
2 | default: php_mail
3 | _core:
4 | default_config_hash: rYgt7uhPafP2ngaN_ZUPFuyI4KdE0zU868zLNSlzKoE
5 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.maintenance.yml:
--------------------------------------------------------------------------------
1 | message: '@site is currently under maintenance. We should be back shortly. Thank you for your patience.'
2 | langcode: en
3 | _core:
4 | default_config_hash: Z5MXifrF77GEAgx0GQ6iWT8wStjFuY8BD9OruofWTJ8
5 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.menu.account.yml:
--------------------------------------------------------------------------------
1 | uuid: 213dffbf-ad3f-4d79-9f7a-c9dc1eb43f04
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: M_Bh81osDyUQ4wV0GgU_NdBNqkzM87sLxjaCdFj9mnw
7 | id: account
8 | label: 'User account menu'
9 | description: 'Links related to the active user account'
10 | locked: true
11 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.menu.admin.yml:
--------------------------------------------------------------------------------
1 | uuid: 9d5f0dc0-f934-4015-a184-200b11da827d
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: sapEi2YDGoI9yQIT_WgIV2vUdQ6DScH0V3fAyTadAL0
7 | id: admin
8 | label: Administration
9 | description: 'Administrative task links'
10 | locked: true
11 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.menu.devel.yml:
--------------------------------------------------------------------------------
1 | uuid: 3415ae22-7cc9-4cff-bf8c-16702b71ab2a
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: Oe-hUZWKhrDlkhNaPdZx5srE63OeNZBa2YgAW0IctCg
7 | id: devel
8 | label: Development
9 | description: 'Links related to Devel module.'
10 | locked: true
11 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.menu.footer.yml:
--------------------------------------------------------------------------------
1 | uuid: a71179f1-3581-44d6-bd1e-27e9a680ed77
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: 7yrlW5z9zdg2eBucB2GPqXKSMQfH9lSRSO4DbWF7AFc
7 | id: footer
8 | label: Footer
9 | description: 'Site information links'
10 | locked: true
11 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.menu.main.yml:
--------------------------------------------------------------------------------
1 | uuid: b9cd8abd-e72e-4e8f-9934-9dd4da71d3af
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: Q2Ra3jfoIVk0f3SjxJX61byRQFVBAbpzYDQOiY-kno8
7 | id: main
8 | label: 'Main navigation'
9 | description: 'Site section links'
10 | locked: true
11 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.menu.tools.yml:
--------------------------------------------------------------------------------
1 | uuid: d2f37ee1-017a-4793-81d4-dc9e6785e43b
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: BCM-vV1zzRaLHN18dqAR_CuGOj8AFJvTx7BKl_8Gcxc
7 | id: tools
8 | label: Tools
9 | description: 'User tool links, often added by modules'
10 | locked: true
11 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.performance.yml:
--------------------------------------------------------------------------------
1 | cache:
2 | page:
3 | max_age: 0
4 | css:
5 | preprocess: false
6 | gzip: true
7 | fast_404:
8 | enabled: true
9 | paths: '/\.(?:txt|png|gif|jpe?g|css|js|ico|swf|flv|cgi|bat|pl|dll|exe|asp)$/i'
10 | exclude_paths: '/\/(?:styles|imagecache)\//'
11 | html: '404 Not Found Not Found
The requested URL "@path" was not found on this server.
'
12 | js:
13 | preprocess: false
14 | gzip: true
15 | stale_file_threshold: 2592000
16 | _core:
17 | default_config_hash: b2cssrj-lOmATIbdehfCqfCFgVR0qCdxxWhwqa2KBVQ
18 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.rss.yml:
--------------------------------------------------------------------------------
1 | channel:
2 | description: ''
3 | items:
4 | limit: 10
5 | view_mode: rss
6 | langcode: en
7 | _core:
8 | default_config_hash: TlH7NNk46phfxu1mSUfwg1C0YqaGsUCeD4l9JQnQlDU
9 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.site.yml:
--------------------------------------------------------------------------------
1 | uuid: 681aab20-62fb-495e-b526-c1ce809f32ca
2 | name: 'Drupal Lab'
3 | mail: admin@example.com
4 | slogan: 'Drupal 8 + Pattern Lab Twig'
5 | page:
6 | 403: ''
7 | 404: ''
8 | front: /node
9 | admin_compact_mode: false
10 | weight_select_max: 100
11 | langcode: en
12 | default_langcode: en
13 | _core:
14 | default_config_hash: yXadRE77Va-G6dxhd2kPYapAvbnSvTF6hO4oXiOEynI
15 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.theme.global.yml:
--------------------------------------------------------------------------------
1 | favicon:
2 | mimetype: image/vnd.microsoft.icon
3 | path: ''
4 | url: ''
5 | use_default: true
6 | features:
7 | comment_user_picture: true
8 | comment_user_verification: true
9 | favicon: true
10 | node_user_picture: true
11 | logo:
12 | path: ''
13 | url: ''
14 | use_default: true
15 | _core:
16 | default_config_hash: 9rAU4Pku7eMBQxauQqAgjzlcicFZ2As6zEa6zvTlCB8
17 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/system.theme.yml:
--------------------------------------------------------------------------------
1 | admin: seven
2 | default: dashing
3 | _core:
4 | default_config_hash: fOjer9hADYYnbCJVZMFZIIM1azTFWyg84ZkFDHfAbUg
5 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/taxonomy.settings.yml:
--------------------------------------------------------------------------------
1 | maintain_index_table: true
2 | override_selector: false
3 | terms_per_page_admin: 100
4 | _core:
5 | default_config_hash: zKpaWT6cJc1tVQQaTqatGELaCqU_oyRym6zTl27Yias
6 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/taxonomy.vocabulary.tags.yml:
--------------------------------------------------------------------------------
1 | uuid: cb29edcd-6cf8-479e-8c0d-ced87078d4c8
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: lO5ziR5dVI1PpEeHZsSOfQ-Y7NWihSDKW8-MMf6uoms
7 | name: Tags
8 | vid: tags
9 | description: 'Use tags to group articles on similar topics into categories.'
10 | hierarchy: 0
11 | weight: 0
12 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/text.settings.yml:
--------------------------------------------------------------------------------
1 | default_summary_length: 600
2 | _core:
3 | default_config_hash: Bkewb77RBOK3_aXMPsp8p87gbc03NvmC5gBLzPl7hVA
4 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/update.settings.yml:
--------------------------------------------------------------------------------
1 | check:
2 | disabled_extensions: false
3 | interval_days: 1
4 | fetch:
5 | url: ''
6 | max_attempts: 2
7 | timeout: 30
8 | notification:
9 | emails:
10 | - admin@example.com
11 | threshold: all
12 | _core:
13 | default_config_hash: 2QzULf0zovJQx3J06Y9rufzzfi-CY2CTTlEfJJh2Qyw
14 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/user.flood.yml:
--------------------------------------------------------------------------------
1 | uid_only: false
2 | ip_limit: 50
3 | ip_window: 3600
4 | user_limit: 5
5 | user_window: 21600
6 | _core:
7 | default_config_hash: UYfMzeP1S8jKm9PSvxf7nQNe8DsNS-3bc2WSNNXBQWs
8 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/user.role.administrator.yml:
--------------------------------------------------------------------------------
1 | uuid: 0786c14c-d64b-41b0-bf91-5a3942595ada
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: Om6FEO7vZZMkPIbVvfxtdkWerQ2PvQM4sWUd6Q3ZnfI
7 | id: administrator
8 | label: Administrator
9 | weight: 2
10 | is_admin: true
11 | permissions: { }
12 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/user.role.anonymous.yml:
--------------------------------------------------------------------------------
1 | uuid: 80491bb3-aa9e-4a32-a9da-3a6f2e9efdd1
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: j5zLMOdJBqC0bMvSdth5UebkprJB8g_2FXHqhfpJzow
7 | id: anonymous
8 | label: 'Anonymous user'
9 | weight: 0
10 | is_admin: false
11 | permissions:
12 | - 'access content'
13 | - 'use text format restricted_html'
14 | - 'access comments'
15 | - 'access site-wide contact form'
16 | - 'search content'
17 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/user.role.authenticated.yml:
--------------------------------------------------------------------------------
1 | uuid: a0b69970-4f77-4f86-9b99-4f8466767a49
2 | langcode: en
3 | status: true
4 | dependencies: { }
5 | _core:
6 | default_config_hash: dJ0L2DNSj5q6XVZAGsuVDpJTh5UeYkIPwKrUOOpr8YI
7 | id: authenticated
8 | label: 'Authenticated user'
9 | weight: 1
10 | is_admin: false
11 | permissions:
12 | - 'access content'
13 | - 'use text format basic_html'
14 | - 'access comments'
15 | - 'post comments'
16 | - 'skip comment approval'
17 | - 'access site-wide contact form'
18 | - 'access shortcuts'
19 | - 'search content'
20 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/user.settings.yml:
--------------------------------------------------------------------------------
1 | anonymous: Anonymous
2 | verify_mail: true
3 | notify:
4 | cancel_confirm: true
5 | password_reset: true
6 | status_activated: true
7 | status_blocked: false
8 | status_canceled: false
9 | register_admin_created: true
10 | register_no_approval_required: true
11 | register_pending_approval: true
12 | register: visitors_admin_approval
13 | cancel_method: user_cancel_block
14 | password_reset_timeout: 86400
15 | password_strength: true
16 | langcode: en
17 | _core:
18 | default_config_hash: r4kwhOM0IWXVMUZDz744Yc16EOh37ZhYbA8kGOhSmLk
19 |
--------------------------------------------------------------------------------
/web/sites/default/config/sync/views.settings.yml:
--------------------------------------------------------------------------------
1 | display_extenders: { }
2 | skip_cache: false
3 | sql_signature: false
4 | ui:
5 | show:
6 | additional_queries: false
7 | advanced_column: false
8 | master_display: false
9 | performance_statistics: false
10 | preview_information: true
11 | sql_query:
12 | enabled: false
13 | where: above
14 | display_embed: false
15 | always_live_preview: true
16 | exposed_filter_any_label: old_any
17 | field_rewrite_elements:
18 | div: DIV
19 | span: SPAN
20 | h1: H1
21 | h2: H2
22 | h3: H3
23 | h4: H4
24 | h5: H5
25 | h6: H6
26 | p: P
27 | header: HEADER
28 | footer: FOOTER
29 | article: ARTICLE
30 | section: SECTION
31 | aside: ASIDE
32 | details: DETAILS
33 | blockquote: BLOCKQUOTE
34 | figure: FIGURE
35 | address: ADDRESS
36 | code: CODE
37 | pre: PRE
38 | var: VAR
39 | samp: SAMP
40 | kbd: KBD
41 | strong: STRONG
42 | em: EM
43 | del: DEL
44 | ins: INS
45 | q: Q
46 | s: S
47 | _core:
48 | default_config_hash: RaRd9EIcwA4u3qCSRLL8EnCicbda1kV__ASmVbyehvQ
49 |
--------------------------------------------------------------------------------
/web/sites/development.services.yml:
--------------------------------------------------------------------------------
1 | # Local development services.
2 | #
3 | # To activate this feature, follow the instructions at the top of the
4 | # 'example.settings.local.php' file, which sits next to this file.
5 | services:
6 | cache.backend.null:
7 | class: Drupal\Core\Cache\NullBackendFactory
8 |
--------------------------------------------------------------------------------
/web/themes/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/web/themes/.gitkeep
--------------------------------------------------------------------------------
/web/themes/dashing/.bowerrc:
--------------------------------------------------------------------------------
1 | {
2 | "directory": "bower_components"
3 | }
4 |
--------------------------------------------------------------------------------
/web/themes/dashing/README.txt:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/web/themes/dashing/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "dashing",
3 | "description": "",
4 | "main": "gulpfile.js",
5 | "license": "ISC",
6 | "homepage": "https://github.com/phase2/drupal-lab",
7 | "private": true,
8 | "ignore": [
9 | "**/.*",
10 | "node_modules",
11 | "bower_components",
12 | "test",
13 | "tests"
14 | ],
15 | "devDependencies": {
16 | "drupal": "http://cgit.drupalcode.org/drupal/plain/core/misc/drupal.js?h=8.1.x"
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/web/themes/dashing/dashing.breakpoints.yml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/web/themes/dashing/dashing.breakpoints.yml
--------------------------------------------------------------------------------
/web/themes/dashing/dashing.info.yml:
--------------------------------------------------------------------------------
1 | # THEMENAME.info.yml
2 | name: Dashing
3 | type: theme
4 | description: 'A base theme with sensible default CSS classes added and semantic HTML.'
5 | base theme: classy
6 | core: 8.x
7 |
8 | # Libraries
9 | libraries:
10 | - dashing/core
11 | - dashing/bootstrap
12 |
13 | # For compatibility with Pattern Lab templates; this list must
14 | # always be the folders immediately under the `$sourceDir` patterns folder
15 | # `$sourceDir` = defined in `pattern-lab/config/config.yml` under `sourceDir
16 | # patterns folder = `$sourceDir` + `_patterns/`
17 | component-libraries:
18 | atoms:
19 | paths:
20 | - pattern-lab/source/_patterns/01-atoms
21 | molecules:
22 | paths:
23 | - pattern-lab/source/_patterns/02-molecules
24 | organisms:
25 | paths:
26 | - pattern-lab/source/_patterns/03-organisms
27 | templates:
28 | paths:
29 | - pattern-lab/source/_patterns/04-templates
30 | pages:
31 | paths:
32 | - pattern-lab/source/_patterns/05-pages
33 |
--------------------------------------------------------------------------------
/web/themes/dashing/dashing.libraries.yml:
--------------------------------------------------------------------------------
1 | core:
2 | css:
3 | theme:
4 | dist/dashing.css: {}
5 |
6 | bootstrap:
7 | version: 4.x
8 | license:
9 | name: MIT
10 | url: https://github.com/twbs/bootstrap/blob/master/LICENSE
11 | gpl-compatible: false
12 | js:
13 | node_modules/bootstrap/dist/js/bootstrap.js: {}
14 | dependencies:
15 | - core/jquery
16 |
--------------------------------------------------------------------------------
/web/themes/dashing/dashing.theme:
--------------------------------------------------------------------------------
1 | $item) {
20 | $variables['links'][$key]['link']['#options']['attributes']['class'][] = 'card-link';
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/web/themes/dashing/gulpfile.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | var gulp = require('gulp-help')(require('gulp'));
3 | var yaml = require('js-yaml');
4 | var fs = require('fs');
5 | var config = yaml.safeLoad(fs.readFileSync('./config.yml', 'utf8'));
6 | var tasks = {
7 | 'compile': [],
8 | 'watch': [],
9 | 'validate': [],
10 | 'clean': [],
11 | 'default': []
12 | };
13 |
14 | require('p2-theme-core')(gulp, config, tasks);
15 |
16 | gulp.task('compile', tasks.compile);
17 | gulp.task('clean', tasks.clean);
18 | gulp.task('validate', tasks.validate);
19 | gulp.task('watch', tasks.watch);
20 | tasks.default.push('watch');
21 | gulp.task('default', tasks.default);
22 |
--------------------------------------------------------------------------------
/web/themes/dashing/js/dashing.js:
--------------------------------------------------------------------------------
1 | (function($, Drupal) {
2 | 'use strict';
3 |
4 | // A demo Drupal behavior
5 | Drupal.behaviors.customBehavior = {
6 | attach: function(context, settings) {
7 | console.log('Drupal behavior from js/dashing.js');
8 | }
9 | };
10 |
11 | })(jQuery, Drupal);
12 |
13 |
--------------------------------------------------------------------------------
/web/themes/dashing/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "dashing",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "gulpfile.js",
6 | "scripts": {
7 | "compile": "gulp clean && gulp compile",
8 | "start": "gulp clean && gulp compile && gulp",
9 | "test": "gulp validate",
10 | "postinstall": "find node_modules/ -name \"*.info\" -type f -delete && bower install"
11 | },
12 | "author": "",
13 | "license": "ISC",
14 | "dependencies": {
15 | "bootstrap": "twbs/bootstrap#v4-dev",
16 | "bower": "^1.7.9",
17 | "breakpoint-sass": "^2.7.0",
18 | "gulp": "^3.9.1",
19 | "gulp-help": "^1.6.1",
20 | "js-yaml": "^3.5.5",
21 | "p2-theme-core": "^7.0.1",
22 | "singularitygs": "^1.7.0"
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | .idea
3 | export/*
4 | packages/
5 | public/*
6 | vendor/*
7 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/config/.gitkeep:
--------------------------------------------------------------------------------
1 | After you generate Pattern Lab for the first time your configuration file will be placed here.
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/config/config.yml:
--------------------------------------------------------------------------------
1 | v: 2.0.0-DP1
2 | overrideConfig: false
3 | ie:
4 | - DS_Store
5 | - less
6 | - scss
7 | id:
8 | - scss
9 | - .svn
10 | - .sass-cache
11 | cleanPublic: 'true'
12 | patternStates:
13 | - inprogress
14 | - inreview
15 | - complete
16 | styleGuideExcludes: ''
17 | cacheBusterOn: 'true'
18 | exportDir: export
19 | packagesDir: packages
20 | publicDir: public
21 | sourceDir: source
22 | ishMinimum: '240'
23 | ishMaximum: '2600'
24 | ishControlsHide:
25 | - hay
26 | lineageMatch: '{%([ ]+)?include( |\()["\']([A-Za-z0-9-_]+)["\'](\))?(.*)%}'
27 | lineageMatchKey: 3
28 | patternExtension: twig
29 | twigDebug: true
30 | twigAutoescape: false
31 | twigDefaultDateFormat: ''
32 | twigDefaultIntervalFormat: ''
33 | twigMacroExt: macro.twig
34 | twigFilterExt: filter.php
35 | twigFunctionExt: function.php
36 | twigTagExt: tag.php
37 | twigTestExt: test.php
38 | styleguideKit: pattern-lab/styleguidekit-twig-default
39 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/core/console:
--------------------------------------------------------------------------------
1 | dispatch("config.configLoadEnd");
44 |
45 | // run the console
46 | Console::run();
47 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/core/server/router.php:
--------------------------------------------------------------------------------
1 | ",
12 | "display_submitted": true,
13 | "date": "June 18, 2013",
14 | "url": "#",
15 | "description": "Description - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
16 | "content": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
",
17 | "snippet": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
18 | "legend": {
19 | "title": "Legend Title"
20 | },
21 | "submitted": "Submitted at some point",
22 | "read_more": "Read more",
23 | "list_type": "ul",
24 | "image_small": "../../images/320x180.png",
25 | "image_medium": "../../images/568x320.png",
26 | "image_large": "../../images/800x600.png"
27 | }
28 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_data/listitems.json:
--------------------------------------------------------------------------------
1 | {
2 | }
3 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_layouts/base.twig:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {{ title }}
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | {% block page__header %}
14 | {% include "organisms-header" %}
15 | {% endblock %}
16 |
17 | {# link is in html.html.twig #}
18 |
19 | {% block page__content %}
20 | {{ block_page_title }}
21 | {{ block_messages }}
22 | {{ block_main }}
23 | {% endblock %}
24 |
25 |
26 | {% block page__footer %}
27 | {% include "organisms-footer" %}
28 | {% endblock %}
29 |
30 | {% block off_canvas %}
31 | {% include "organisms-off-canvas" %}
32 | {% endblock %}
33 | {# /.layout-container #}
34 |
35 |
36 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_macros/.gitkeep:
--------------------------------------------------------------------------------
1 | keeping this directory
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_meta/_00-head.twig:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {{ title }}
5 |
6 |
7 |
8 |
9 |
10 | {{ patternLabHead | raw }}
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_meta/_01-foot.twig:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{ patternLabFoot | raw }}
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/01-atoms/forms/_container.twig:
--------------------------------------------------------------------------------
1 | {#
2 | /**
3 | * @file
4 | * Form - Container.
5 | */
6 | #}
7 | {{ children }}
8 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/01-atoms/forms/_form-element.twig:
--------------------------------------------------------------------------------
1 | {#
2 | /**
3 | * @file
4 | * Form - Form element.
5 | */
6 | #}
7 |
8 | {% if label_display in ['before', 'invisible'] %}
9 | {% block label_before %}
10 | {% include "@atoms/forms/form-element-label.twig"
11 | with {
12 | "attributes": label.attributes
13 | }
14 | %}
15 | {% endblock %}
16 | {% endif %}
17 |
18 | {% if prefix is not empty %}
19 | {% block prefix %}
20 | {{ prefix }}
21 | {% endblock %}
22 | {% endif %}
23 |
24 | {% if description_display == 'before' and description.content %}
25 | {% block desc_before %}
26 |
27 | {{ description.content }}
28 |
29 | {% endblock %}
30 | {% endif %}
31 |
32 | {% block children children %}
33 |
34 | {% if suffix is not empty %}
35 | {% block suffix %}
36 | {{ suffix }}
37 | {% endblock %}
38 | {% endif %}
39 |
40 | {% if label_display == 'after' %}
41 | {% block label_after %}
42 | {% include "@atoms/forms/form-element-label.twig" %}
43 | {% endblock %}
44 | {% endif %}
45 |
46 | {% if errors %}
47 | {% block errors %}
48 |
51 | {% endblock %}
52 | {% endif %}
53 |
54 | {% if description_display in ['after', 'invisible'] and description.content %}
55 | {% block desc_after %}
56 |
57 | {{ description.content }}
58 |
59 | {% endblock %}
60 | {% endif %}
61 |
62 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/01-atoms/forms/_form.twig:
--------------------------------------------------------------------------------
1 | {#
2 | /**
3 | * @file
4 | * Form - Form.
5 | */
6 | #}
7 |
10 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/01-atoms/forms/_input.twig:
--------------------------------------------------------------------------------
1 | {#
2 | /**
3 | * @file
4 | * Form - Input.
5 | */
6 | #}
7 | {{ children }}
8 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/01-atoms/forms/container~submit.json:
--------------------------------------------------------------------------------
1 | {
2 | "attributes": {
3 | "Attribute()": {
4 | "class": [
5 | "form-actions",
6 | "js-form-wrapper",
7 | "form-wrapper"
8 | ]
9 | }
10 | },
11 | "children": "atoms-input-submit"
12 | }
13 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/01-atoms/forms/form-element-label.json:
--------------------------------------------------------------------------------
1 | {
2 | "attributes": {
3 | "Attribute()": {
4 | "class": [
5 | "form-item__label",
6 | "font-weight-bold"
7 | ]
8 | }
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/01-atoms/forms/form-element-label.twig:
--------------------------------------------------------------------------------
1 | {#
2 | /**
3 | * @file
4 | * Form - Form element label.
5 | */
6 | #}
7 |
8 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/01-atoms/forms/form-element~text.json:
--------------------------------------------------------------------------------
1 | {
2 | "attributes": {
3 | "Attribute()": {
4 | "class": [
5 | "js-form-item",
6 | "form-item",
7 | "js-form-type-search",
8 | "form-type-search",
9 | "js-form-item-keys"
10 | ]
11 | }
12 | },
13 | "label_display": "before",
14 | "label": {
15 | "attributes": {
16 | "Attribute()": {
17 | "class": [
18 | "form-item__label",
19 | "font-weight-bold"
20 | ]
21 | }
22 | }
23 | },
24 | "children": "atoms-input-text",
25 | "description_display": "after",
26 | "description": {
27 | "attributes": {
28 | "Attribute()": {
29 | "class": [
30 | "text-muted"
31 | ]
32 | }
33 | },
34 | "content": "Text form element description."
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/01-atoms/forms/form~search.json:
--------------------------------------------------------------------------------
1 | {
2 | "attributes": {
3 | "Attribute()": {
4 | "action": "/search/node",
5 | "method": "get",
6 | "id": "search-block-form",
7 | "accept-charset": "UTF-8"
8 | }
9 | },
10 | "children": {
11 | "join()": [
12 | {
13 | "include()": {
14 | "pattern": "atoms-form-element-text",
15 | "with": {
16 | "description_display": false
17 | }
18 | }
19 | },
20 | "atoms-container-submit"
21 | ]
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/01-atoms/forms/input~submit.json:
--------------------------------------------------------------------------------
1 | {
2 | "attributes": {
3 | "Attribute()": {
4 | "type": "submit",
5 | "value": "Submit",
6 | "class": [
7 | "button",
8 | "js-form-submit",
9 | "form-submit"
10 | ]
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/01-atoms/forms/input~text.json:
--------------------------------------------------------------------------------
1 | {
2 | "attributes": {
3 | "Attribute()": {
4 | "type": "text"
5 | }
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/01-atoms/titles/h1.twig:
--------------------------------------------------------------------------------
1 | {#
2 | /**
3 | * @file
4 | * Title - h1.
5 | */
6 | #}
7 | {{ title }}
8 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/01-atoms/titles/h3.twig:
--------------------------------------------------------------------------------
1 | {#
2 | /**
3 | * @file
4 | * Title - h3.
5 | */
6 | #}
7 | {{ title }}
8 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/02-molecules/blocks/branding.json:
--------------------------------------------------------------------------------
1 | {
2 | "attributes": {
3 | "Attribute()": {
4 | "class": []
5 | }
6 | },
7 | "site_logo": "../../../../logo.svg",
8 | "site_title": "Drupal Lab",
9 | "site_slogan": "Drupal 8 + Pattern Lab Twig",
10 | "pl_prefix": "",
11 | "pl_suffix": ""
12 | }
13 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/02-molecules/blocks/branding.twig:
--------------------------------------------------------------------------------
1 | {#
2 | /**
3 | * @file
4 | * Block - Branding.
5 | */
6 | #}
7 | {{ pl_prefix }}
8 |
27 | {{ pl_suffix }}
28 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/02-molecules/blocks/search.json:
--------------------------------------------------------------------------------
1 | {
2 | "attributes": {
3 | "Attribute()": {
4 | "class": []
5 | }
6 | },
7 | "label": "Search",
8 | "content": "atoms-form-search",
9 | "pl_prefix": "",
10 | "pl_suffix": ""
11 | }
12 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/02-molecules/blocks/search.twig:
--------------------------------------------------------------------------------
1 | {#
2 | /**
3 | * @file
4 | * Block - Search.
5 | */
6 | #}
7 | {{ pl_prefix }}
8 |
21 | {{ pl_suffix }}
22 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/02-molecules/cards/card.json:
--------------------------------------------------------------------------------
1 | {
2 | "attributes": {
3 | "Attribute()": {
4 | "class": [
5 | "card"
6 | ]
7 | }
8 | },
9 | "card_header": false,
10 | "card_image_top": true,
11 | "card_text": false,
12 | "card_links": true,
13 | "card_buttons": false,
14 | "card_list": false,
15 | "card_image_bottom": false,
16 | "card_footer": false
17 | }
18 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/02-molecules/cards/card~align-center.json:
--------------------------------------------------------------------------------
1 | {
2 | "attributes": {
3 | "Attribute()": {
4 | "class": [
5 | "card",
6 | "text-xs-center"
7 | ]
8 | }
9 | },
10 | "card_header": false,
11 | "card_image_top": true,
12 | "card_text": false,
13 | "card_links": true,
14 | "card_buttons": false,
15 | "card_list": false,
16 | "card_image_bottom": false,
17 | "card_footer": false
18 | }
19 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/02-molecules/cards/card~align-right.json:
--------------------------------------------------------------------------------
1 | {
2 | "attributes": {
3 | "Attribute()": {
4 | "class": [
5 | "card",
6 | "text-xs-right"
7 | ]
8 | }
9 | },
10 | "card_header": false,
11 | "card_image_top": true,
12 | "card_text": false,
13 | "card_links": true,
14 | "card_buttons": false,
15 | "card_list": false,
16 | "card_image_bottom": false,
17 | "card_footer": false
18 | }
19 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/02-molecules/cards/card~buttons.json:
--------------------------------------------------------------------------------
1 | {
2 | "attributes": {
3 | "Attribute()": {
4 | "class": [
5 | "card"
6 | ]
7 | }
8 | },
9 | "card_header": false,
10 | "card_image_top": true,
11 | "card_text": false,
12 | "card_links": false,
13 | "card_buttons": true,
14 | "card_list": false,
15 | "card_image_bottom": false,
16 | "card_footer": false
17 | }
18 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/02-molecules/cards/card~footer.json:
--------------------------------------------------------------------------------
1 | {
2 | "attributes": {
3 | "Attribute()": {
4 | "class": [
5 | "card"
6 | ]
7 | }
8 | },
9 | "card_header": false,
10 | "card_image_top": true,
11 | "card_text": false,
12 | "card_links": true,
13 | "card_buttons": false,
14 | "card_list": false,
15 | "card_image_bottom": false,
16 | "card_footer": "Footer"
17 | }
18 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/02-molecules/cards/card~header.json:
--------------------------------------------------------------------------------
1 | {
2 | "attributes": {
3 | "Attribute()": {
4 | "class": [
5 | "card"
6 | ]
7 | }
8 | },
9 | "card_header": "Header",
10 | "card_image_top": false,
11 | "card_text": false,
12 | "card_links": true,
13 | "card_buttons": false,
14 | "card_list": false,
15 | "card_image_bottom": false,
16 | "card_footer": false
17 | }
18 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/02-molecules/cards/card~image-bottom.json:
--------------------------------------------------------------------------------
1 | {
2 | "attributes": {
3 | "Attribute()": {
4 | "class": [
5 | "card"
6 | ]
7 | }
8 | },
9 | "card_header": false,
10 | "card_image_top": false,
11 | "card_text": false,
12 | "card_links": true,
13 | "card_buttons": false,
14 | "card_list": false,
15 | "card_image_bottom": true,
16 | "card_footer": false
17 | }
18 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/02-molecules/cards/card~list.json:
--------------------------------------------------------------------------------
1 | {
2 | "attributes": {
3 | "Attribute()": {
4 | "class": [
5 | "card"
6 | ]
7 | }
8 | },
9 | "card_header": false,
10 | "card_image_top": true,
11 | "card_text": false,
12 | "card_links": false,
13 | "card_buttons": false,
14 | "card_list": true,
15 | "card_image_bottom": false,
16 | "card_footer": false
17 | }
18 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/02-molecules/cards/card~text.json:
--------------------------------------------------------------------------------
1 | {
2 | "attributes": {
3 | "Attribute()": {
4 | "class": [
5 | "card"
6 | ]
7 | }
8 | },
9 | "card_header": false,
10 | "card_image_top": true,
11 | "card_text": true,
12 | "card_links": true,
13 | "card_buttons": false,
14 | "card_list": false,
15 | "card_image_bottom": false,
16 | "card_footer": false
17 | }
18 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/02-molecules/menus/main-menu.json:
--------------------------------------------------------------------------------
1 | {
2 | "items": [
3 | {
4 | "title": "Home",
5 | "url": "#",
6 | "attributes": {
7 | "Attribute()": {
8 | "class": []
9 | }
10 | }
11 | },
12 | {
13 | "title": "News",
14 | "url": "#",
15 | "attributes": {
16 | "Attribute()": {
17 | "class": []
18 | }
19 | }
20 | },
21 | {
22 | "title": "Contact",
23 | "url": "#",
24 | "attributes": {
25 | "Attribute()": {
26 | "class": []
27 | }
28 | }
29 | }
30 | ]
31 | }
32 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/02-molecules/menus/main-menu.twig:
--------------------------------------------------------------------------------
1 | {#
2 | /**
3 | * @file
4 | * Menus - Main menu.
5 | */
6 | #}
7 |
19 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/03-organisms/grids/pyramid-grid.json:
--------------------------------------------------------------------------------
1 | {
2 | "items": [
3 | {
4 | "content": "",
5 | "attributes": {
6 | "Attribute()": {
7 | "class": []
8 | }
9 | }
10 | },
11 | {
12 | "content": "",
13 | "attributes": {
14 | "Attribute()": {
15 | "class": []
16 | }
17 | }
18 | },
19 | {
20 | "content": "",
21 | "attributes": {
22 | "Attribute()": {
23 | "class": []
24 | }
25 | }
26 | },
27 | {
28 | "content": "",
29 | "attributes": {
30 | "Attribute()": {
31 | "class": []
32 | }
33 | }
34 | },
35 | {
36 | "content": "",
37 | "attributes": {
38 | "Attribute()": {
39 | "class": []
40 | }
41 | }
42 | },
43 | {
44 | "content": "",
45 | "attributes": {
46 | "Attribute()": {
47 | "class": []
48 | }
49 | }
50 | },
51 | {
52 | "content": "",
53 | "attributes": {
54 | "Attribute()": {
55 | "class": []
56 | }
57 | }
58 | },
59 | {
60 | "content": "",
61 | "attributes": {
62 | "Attribute()": {
63 | "class": []
64 | }
65 | }
66 | },
67 | {
68 | "content": "",
69 | "attributes": {
70 | "Attribute()": {
71 | "class": []
72 | }
73 | }
74 | },
75 | {
76 | "content": "",
77 | "attributes": {
78 | "Attribute()": {
79 | "class": []
80 | }
81 | }
82 | },
83 | {
84 | "content": "",
85 | "attributes": {
86 | "Attribute()": {
87 | "class": []
88 | }
89 | }
90 | },
91 | {
92 | "content": "",
93 | "attributes": {
94 | "Attribute()": {
95 | "class": []
96 | }
97 | }
98 | }
99 | ]
100 | }
101 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/03-organisms/grids/pyramid-grid.twig:
--------------------------------------------------------------------------------
1 | {#
2 | /**
3 | * @file
4 | * Grid - Pyramid grid.
5 | *
6 | * Responsive grid creates rows of 4, 3, 2, and 1 boxes at specific breakpoints.
7 | *
8 | * @see `scss/30-global/_grids.scss`
9 | */
10 | #}
11 |
12 |
13 | {% block items %}
14 | {% for item in items %}
15 |
16 | {{ item.content }}
17 |
18 | {% endfor %}
19 | {% endblock %}
20 |
21 |
22 |
23 | {# @todo remove this #}
24 |
31 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/03-organisms/grids/pyramid-grid~cards.json:
--------------------------------------------------------------------------------
1 | {
2 | "items": [
3 | {
4 | "content": "molecules-card",
5 | "attributes": {
6 | "Attribute()": {
7 | "class": []
8 | }
9 | }
10 | },
11 | {
12 | "content": "molecules-card",
13 | "attributes": {
14 | "Attribute()": {
15 | "class": []
16 | }
17 | }
18 | },
19 | {
20 | "content": "molecules-card",
21 | "attributes": {
22 | "Attribute()": {
23 | "class": []
24 | }
25 | }
26 | },
27 | {
28 | "content": "molecules-card",
29 | "attributes": {
30 | "Attribute()": {
31 | "class": []
32 | }
33 | }
34 | },
35 | {
36 | "content": "molecules-card",
37 | "attributes": {
38 | "Attribute()": {
39 | "class": []
40 | }
41 | }
42 | },
43 | {
44 | "content": "molecules-card",
45 | "attributes": {
46 | "Attribute()": {
47 | "class": []
48 | }
49 | }
50 | },
51 | {
52 | "content": "molecules-card",
53 | "attributes": {
54 | "Attribute()": {
55 | "class": []
56 | }
57 | }
58 | },
59 | {
60 | "content": "molecules-card",
61 | "attributes": {
62 | "Attribute()": {
63 | "class": []
64 | }
65 | }
66 | },
67 | {
68 | "content": "molecules-card",
69 | "attributes": {
70 | "Attribute()": {
71 | "class": []
72 | }
73 | }
74 | },
75 | {
76 | "content": "molecules-card",
77 | "attributes": {
78 | "Attribute()": {
79 | "class": []
80 | }
81 | }
82 | },
83 | {
84 | "content": "molecules-card",
85 | "attributes": {
86 | "Attribute()": {
87 | "class": []
88 | }
89 | }
90 | },
91 | {
92 | "content": "molecules-card",
93 | "attributes": {
94 | "Attribute()": {
95 | "class": []
96 | }
97 | }
98 | }
99 | ]
100 | }
101 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/03-organisms/regions/header.json:
--------------------------------------------------------------------------------
1 | {
2 | "attributes": {
3 | "Attribute()": {
4 | "class": [
5 | "region",
6 | "region-header",
7 | "row"
8 | ]
9 | }
10 | },
11 | "content": {
12 | "join()": [
13 | "molecules-branding",
14 | "molecules-search"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_patterns/03-organisms/regions/header.twig:
--------------------------------------------------------------------------------
1 | {#
2 | /**
3 | * @file
4 | * Region - Header.
5 | */
6 | #}
7 |
8 |
9 |
10 | {% block content %}
11 | {{ content }}
12 | {% endblock %}
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_twig-components/filters/clean_class.filter.php:
--------------------------------------------------------------------------------
1 | ' . $title . '
';
9 | } else {
10 | return '' . $title . '';
11 | }
12 | },
13 | array('is_safe' => array('html'))
14 | );
15 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_twig-components/functions/path.function.php:
--------------------------------------------------------------------------------
1 | ') {
5 | return '/';
6 | } else {
7 | return $string;
8 | }
9 | });
10 |
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/_twig-components/tests/.gitkeep:
--------------------------------------------------------------------------------
1 | keeping this directory
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/images/320x180.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/web/themes/dashing/pattern-lab/source/images/320x180.png
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/images/568x320.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/web/themes/dashing/pattern-lab/source/images/568x320.png
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/images/800x600.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/web/themes/dashing/pattern-lab/source/images/800x600.png
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/images/avatar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/web/themes/dashing/pattern-lab/source/images/avatar.png
--------------------------------------------------------------------------------
/web/themes/dashing/pattern-lab/source/images/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/web/themes/dashing/pattern-lab/source/images/logo.png
--------------------------------------------------------------------------------
/web/themes/dashing/scss/00-config/_breakpoints.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * Breakpoint Configuration
3 | * @see https://github.com/Team-Sass/breakpoint/wiki
4 | *
5 | * Usage:
6 | * display: none; // hidden for mobile
7 | * @include breakpoint($bp--small-up) {
8 | * display: block; // shown above 400
9 | * }
10 | */
11 |
12 | // Breakpoint will output fallback selectors in this stylesheet
13 | @include breakpoint-set("no query fallbacks", true);
14 |
15 | // Sign posts
16 | $width-xsmall: 400px;
17 | $width-small: 480px;
18 | $width-medium: 640px;
19 | $width-large: 768px;
20 | $width-xlarge: 1024px;
21 | $width-xxlarge: 1280px;
22 | $width-xxxlarge: 1600px;
23 |
24 | // Mobile-first queries
25 | // Breakpoint variables are prefixed with "$bp--"
26 | $bp--xsmall-up: $width-xsmall; // 400px
27 | $bp--small-up: $width-small; // 480px
28 | $bp--medium-up: $width-medium; // 640px
29 | $bp--large-up: $width-large; // 768px
30 | $bp--xlarge-up: $width-xlarge; // 1024px
31 | $bp--xxlarge-up: $width-xxlarge; // 1280px
32 | $bp--xxxlarge-up: $width-xxxlarge; // 1600px
33 |
--------------------------------------------------------------------------------
/web/themes/dashing/scss/00-config/_colors.scss:
--------------------------------------------------------------------------------
1 | ////
2 | /// @group colors
3 | ////
4 |
5 | /// @type color
6 | $color--primary--blue: #0B81C9;
7 | /// @type color
8 | $color--primary--orange: #F27A22;
9 | /// @type color
10 | $color--primary: $color--primary--blue;
11 |
12 | /// @type color
13 | $color--secondary--blue: #0E6BAC;
14 | /// @type color
15 | $color--secondary: $color--secondary--blue;
16 |
17 | /// @type color
18 | $color--gray--white: hsl(0, 0%, 91.1%);
19 | /// @type color
20 | $color--gray--lightest: hsl(0, 0%, 85.9%);
21 | /// @type color
22 | $color--gray--lighter: hsl(0, 0%, 78%);
23 | /// @type color
24 | $color--gray--light: hsl(0, 0%, 70.2%);
25 | /// @type color
26 | $color--gray: hsl(228, 2.3%, 41.8%);
27 | /// @type color
28 | $color--gray--dark: hsl(0, 0%, 40%);
29 | /// @type color
30 | $color--gray--darker: hsl(0, 0%, 20%);
31 | /// @type color
32 | $color--gray--darkest: hsl(0, 0%, 16.1%);
33 | /// @type color
34 | $color--gray--black: hsl(0, 0%, 7.8%);
35 |
--------------------------------------------------------------------------------
/web/themes/dashing/scss/00-config/_fonts.scss:
--------------------------------------------------------------------------------
1 | ////
2 | /// @group fonts
3 | ////
4 |
5 | // Some of the font families have to be renamed to use the proper one once we have the web font provider setup.
6 | ///
7 | $font--family--regular: "Lato", sans-serif;
8 | ///
9 | $font--family--alternate: "Tisa Pro", sans-serif;
10 |
11 | // Font Sizes
12 | ///
13 | $font-size--12px: 12px;
14 | ///
15 | $font-size--14px: 14px;
16 | ///
17 | $font-size--18px: 18px;
18 | ///
19 | $font-size--24px: 24px;
20 | ///
21 | $font-size--30px: 30px;
22 | ///
23 | $font-size--36px: 36px;
24 |
25 |
--------------------------------------------------------------------------------
/web/themes/dashing/scss/00-config/_settings.scss:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Settings variables
4 | *
5 | */
6 |
7 | // Basic layout
8 | $spacing: 20px;
9 | $gap: 5px;
10 | $border: solid 1px $color--gray;
11 |
12 |
--------------------------------------------------------------------------------
/web/themes/dashing/scss/00-config/_utilities.scss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phase2/drupal-lab/cd6b4dfc73515c7dde48ef375abcc155fdb1927d/web/themes/dashing/scss/00-config/_utilities.scss
--------------------------------------------------------------------------------
/web/themes/dashing/scss/00-config/_z-index.scss:
--------------------------------------------------------------------------------
1 | $z-index: (
2 | modal: 100,
3 | modalBG: 90,
4 | navFixed: 80,
5 | tooltip: 70,
6 | popover: 60,
7 | dropdown: 50,
8 | nav: 50,
9 | contentTop: 40,
10 | content: 30,
11 | contentBottom: 20,
12 | );
13 |
14 | // useage:
15 | // .class { z-index: z("modal"); }
16 | @function z($key) {
17 | @return map-get($z-index, $key)
18 | }
19 |
--------------------------------------------------------------------------------
/web/themes/dashing/scss/10-base/_grids.scss:
--------------------------------------------------------------------------------
1 | @include add-grid(12);
2 | @include add-gutter(0);
3 |
--------------------------------------------------------------------------------
/web/themes/dashing/scss/10-base/_typography.scss:
--------------------------------------------------------------------------------
1 | @import url("//fonts.googleapis.com/css?family=Lato:400,700,900");
2 |
3 | @mixin body-copy() {
4 | font-family: $font--family--regular;
5 | }
6 |
7 | @mixin h1() {
8 | font-family: $font--family--regular;
9 | }
10 |
11 | @mixin h2() {
12 | font-family: sans-serif;
13 | }
14 |
--------------------------------------------------------------------------------
/web/themes/dashing/scss/20-vendor/_drupal.container-inline.module.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * @file
3 | * Styles from Drupal core.
4 | */
5 |
6 | /*
7 | * @see web/core/themes/stable/css/system/components/container-inline.module.css
8 | */
9 | .container-inline div,
10 | .container-inline label {
11 | display: inline;
12 | }
13 | /* Details contents always need to be rendered as block. */
14 | .container-inline .details-wrapper {
15 | display: block;
16 | }
17 |
--------------------------------------------------------------------------------
/web/themes/dashing/scss/20-vendor/readme.md:
--------------------------------------------------------------------------------
1 | Place `*.scss` files in here that need to get imported early as vendor styles before others.
2 |
3 |
--------------------------------------------------------------------------------
/web/themes/dashing/scss/30-global/_grids.scss:
--------------------------------------------------------------------------------
1 | .pyramid-grid {
2 | > * {
3 | margin-bottom: $spacing;
4 | &[class]:last-child {
5 | margin-bottom: $spacing;
6 | }
7 | }
8 | @include breakpoint($bp--medium-up) {
9 | display: flex;
10 | flex-wrap: wrap;
11 | justify-content: space-between;
12 | > * {
13 | width: calc(50% - #{$spacing / 2});
14 | }
15 | @include breakpoint($bp--xlarge-up) {
16 | > * {
17 | width: calc(33.3% - #{$spacing / 1.5});
18 | }
19 | }
20 | @include breakpoint($bp--xxxlarge-up) {
21 | > * {
22 | width: calc(25% - #{$spacing / 1.33});
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/web/themes/dashing/scss/30-global/_html-elements.scss:
--------------------------------------------------------------------------------
1 | * {
2 | box-sizing: border-box;
3 | }
4 |
5 | body {
6 | @include body-copy();
7 | }
8 |
9 | h1 {
10 | @include h1();
11 | }
12 |
13 | blockquote {
14 | font-style: italic;
15 | border-left: solid 3px $color--gray;
16 | margin-left: $spacing;
17 | padding-left: $spacing;
18 | }
19 |
20 | img {
21 | max-width: 100%;
22 | height: auto;
23 | }
24 |
25 | // All last children
26 | :last-child {
27 | margin-bottom: 0;
28 | }
29 |
30 | // all last children with a class
31 | [class]:last-child {
32 | margin-bottom: 0;
33 | }
34 |
35 |
--------------------------------------------------------------------------------
/web/themes/dashing/scss/40-components/_block.scss:
--------------------------------------------------------------------------------
1 | .block {
2 | &-page-title-block {
3 | margin: $spacing 0;
4 | }
5 |
6 | &-local-tasks-block {
7 | margin: $spacing 0;
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/web/themes/dashing/scss/40-components/_branding.scss:
--------------------------------------------------------------------------------
1 | .branding {
2 | &__site-logo {
3 | float: left;
4 | margin-right: $spacing;
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/web/themes/dashing/scss/40-components/_breadcrumb.scss:
--------------------------------------------------------------------------------
1 | .breadcrumb {
2 | margin: $spacing 0;
3 | }
4 |
--------------------------------------------------------------------------------
/web/themes/dashing/scss/40-components/_btn.scss:
--------------------------------------------------------------------------------
1 | @mixin btn($alt: false) {
2 | background: $color--primary;
3 | padding: ($spacing / 4) ($spacing / 2);
4 | display: inline-block;
5 | color: $color--gray--white;
6 | text-decoration: none;
7 | @if $alt {
8 | background: $color--gray--white;
9 | color: $color--primary;
10 | }
11 | }
12 |
13 | .btn {
14 | @include btn();
15 | &--alt {
16 | @include btn($alt: true);
17 | }
18 | }
19 |
20 | // scss-lint:disable QualifyingElement
21 | input[type="submit"],
22 | .form-submit {
23 | @include btn();
24 | border: 0;
25 | }
26 | // scss-lint:enable QualifyingElement
27 |
--------------------------------------------------------------------------------
/web/themes/dashing/scss/40-components/_card.scss:
--------------------------------------------------------------------------------
1 | .card {
2 | // Simulate card image top for the first child image.
3 | .field--name-field-image:first-child img {
4 | @extend .card-img-top;
5 | }
6 |
7 | // Simulate card image bottom for the last child image.
8 | .field--name-field-image:last-child img {
9 | @extend .card-img-bottom;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/web/themes/dashing/scss/40-components/_footer.scss:
--------------------------------------------------------------------------------
1 | .footer {
2 | margin-top: $spacing;
3 | padding-bottom: ($spacing * 2);
4 | }
5 |
--------------------------------------------------------------------------------
/web/themes/dashing/scss/40-components/_form.scss:
--------------------------------------------------------------------------------
1 | .form {
2 | &-item,
3 | &-wrapper {
4 | margin-bottom: $spacing;
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/web/themes/dashing/scss/40-components/_header.scss:
--------------------------------------------------------------------------------
1 | .header {
2 | margin-bottom: $spacing;
3 | padding-top: $spacing;
4 | }
5 |
--------------------------------------------------------------------------------
/web/themes/dashing/scss/40-components/_nav.scss:
--------------------------------------------------------------------------------
1 | .nav-link.is-active {
2 | @extend .nav-link.active;
3 | }
4 |
--------------------------------------------------------------------------------
/web/themes/dashing/scss/40-components/_pagination.scss:
--------------------------------------------------------------------------------
1 | .page-item.is-active {
2 | @extend .page-item.active;
3 | }
4 |
--------------------------------------------------------------------------------
/web/themes/dashing/scss/50-templates/_grid.scss:
--------------------------------------------------------------------------------
1 | .g-2up {
2 | .gi {
3 | @include breakpoint($bp--small-up) {
4 | &:nth-child(2n+1) {
5 | @include grid-span(6, 1);
6 | clear: both;
7 | }
8 | &:nth-child(2n+2) {
9 | @include grid-span(6, 7);
10 | }
11 | }
12 | }
13 | }
14 |
15 | .g-3up {
16 | .gi {
17 | @include breakpoint($bp--small-up) {
18 | &:nth-child(3n+1) {
19 | @include grid-span(4, 1);
20 | clear: both;
21 | }
22 | &:nth-child(3n+2) {
23 | @include grid-span(4, 5);
24 | }
25 | &:nth-child(3n+3) {
26 | @include grid-span(4, 9);
27 | }
28 | }
29 | }
30 | }
31 |
32 | .g-4up {
33 | .gi {
34 | @include breakpoint($bp--small-up) {
35 | &:nth-child(4n+1) {
36 | @include grid-span(3, 1);
37 | clear: both;
38 | }
39 | &:nth-child(4n+2) {
40 | @include grid-span(3, 4);
41 | }
42 | &:nth-child(4n+3) {
43 | @include grid-span(3, 7);
44 | }
45 | &:nth-child(4n+4) {
46 | @include grid-span(3, 10);
47 | }
48 | }
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/web/themes/dashing/scss/50-templates/_layout.scss:
--------------------------------------------------------------------------------
1 | .layout {
2 | &-content {
3 | margin: $spacing 0;
4 | }
5 |
6 | &-sidebar-first,
7 | &-sidebar-second {
8 | margin: $spacing 0;
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/web/themes/dashing/scss/dashing.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * Stylesheet: Main Stylesheet
3 | *
4 | */
5 |
6 | // Start libs
7 | @import "bootstrap/scss/bootstrap-flex.scss";
8 | @import "singularitygs/stylesheets/singularitygs";
9 | @import "breakpoint-sass/stylesheets/breakpoint";
10 | // End libs
11 |
12 | @import "**/*.scss";
13 |
--------------------------------------------------------------------------------
/web/themes/dashing/styleguide/css/styleguide-specific.min.css:
--------------------------------------------------------------------------------
1 | .demo{overflow:hidden;margin-bottom:1rem}.demo .demo-block,.demo .gi{background:#ddd;color:grey;text-align:center;margin-bottom:.5em;padding:1em!important}.demo .demo-block:nth-of-type(2n),.demo .gi:nth-of-type(2n){color:#ddd;background:grey}.demo .demo-block .gi,.demo .gi .gi{background:rgba(0,0,0,.1);color:#ddd}.demo .demo-block .gi:nth-of-type(2n),.demo .gi .gi:nth-of-type(2n){background:rgba(0,0,0,.3)}.demo-animate{background:#ddd;padding:1em;margin-bottom:1em;text-align:center}.animate-move{position:relative}.animate-move .demo-shape{position:absolute;top:0;left:0;bottom:0;width:20px;background:grey}.animate-move:hover>.demo-shape{left:100%;margin-left:-20px}.sg-colors{overflow:hidden}.sg-colors li{overflow:hidden;border:1px solid #ddd;padding:.3em;margin:0 .2em .2em 0}@media all and (min-width:30em){.sg-colors li{float:left;width:5em}}.sg-swatch{display:block;height:1.5em;width:50%}@media all and (max-width:30em){.sg-swatch{float:left;margin-right:.3em}}@media all and (min-width:30em){.sg-swatch{width:100%;height:4em;margin-bottom:.2em}}.sg-label{line-height:1}
--------------------------------------------------------------------------------
/web/themes/dashing/templates/block/block--search-form-block.html.twig:
--------------------------------------------------------------------------------
1 | {% extends "block.html.twig" %}
2 | {#
3 | /**
4 | * @file
5 | * Theme override for the search form block.
6 | *
7 | * Available variables:
8 | * - plugin_id: The ID of the block implementation.
9 | * - label: The configured label of the block if visible.
10 | * - configuration: A list of the block's configuration values, including:
11 | * - label: The configured label for the block.
12 | * - label_display: The display settings for the label.
13 | * - provider: The module or other provider that provided this block plugin.
14 | * - Block plugin specific settings will also be stored here.
15 | * - content: The content of this block.
16 | * - attributes: A list HTML attributes populated by modules, intended to
17 | * be added to the main container tag of this template. Includes:
18 | * - id: A valid HTML ID and guaranteed unique.
19 | * - title_attributes: Same as attributes, except applied to the main title
20 | * tag that appears in the template.
21 | * - title_prefix: Additional output populated by modules, intended to be
22 | * displayed in front of the main title tag that appears in the template.
23 | * - title_suffix: Additional output populated by modules, intended to be
24 | * displayed after the main title tag that appears in the template.
25 | *
26 | * @see template_preprocess_block()
27 | * @see search_preprocess_block()
28 | */
29 | #}
30 | {%
31 | set classes = [
32 | 'block',
33 | 'block-search',
34 | 'container-inline',
35 | 'col-md-3',
36 | ]
37 | %}
38 | {% set attributes = attributes.addClass(classes) %}
39 |
40 | {% block content %}
41 | {% embed "@molecules/blocks/search.twig" %}
42 |
43 | {% block title %}
44 | {% endblock %}
45 |
46 | {% endembed %}
47 | {% endblock %}
48 |
--------------------------------------------------------------------------------
/web/themes/dashing/templates/block/block--system-branding-block.html.twig:
--------------------------------------------------------------------------------
1 | {% extends "block.html.twig" %}
2 | {#
3 | /**
4 | * @file
5 | * Theme override for a branding block.
6 | *
7 | * Each branding element variable (logo, name, slogan) is only available if
8 | * enabled in the block configuration.
9 | *
10 | * Available variables:
11 | * - site_logo: Logo for site as defined in Appearance or theme settings.
12 | * - site_name: Name for site as defined in Site information settings.
13 | * - site_slogan: Slogan for site as defined in Site information settings.
14 | */
15 | #}
16 | {% set attributes = attributes.addClass('col-md-9') %}
17 |
18 | {% block content %}
19 | {% include "@molecules/blocks/branding.twig"
20 | with {
21 | "url": path('')
22 | }
23 | %}
24 | {% endblock %}
25 |
--------------------------------------------------------------------------------
/web/themes/dashing/templates/block/block--system-menu-block--footer.html.twig:
--------------------------------------------------------------------------------
1 | {% extends "block--system-menu-block.html.twig" %}
2 | {#
3 | /**
4 | * @file
5 | * Theme override for a footer system menu block.
6 | *
7 | * Add 'col-md-9' class to provide 9 column Bootstrap layout.
8 | *
9 | * @see http://v4-alpha.getbootstrap.com/layout/grid/
10 | */
11 | #}
12 | {% set attributes = attributes.addClass('col-md-9') %}
13 |
--------------------------------------------------------------------------------
/web/themes/dashing/templates/block/block--system-powered-by-block.html.twig:
--------------------------------------------------------------------------------
1 | {% extends "block.html.twig" %}
2 | {#
3 | /**
4 | * @file
5 | * Theme override to display a system powered by block.
6 | *
7 | * Add 'col-md-3' class to provide 3 column Bootstrap layout.
8 | *
9 | * @see http://v4-alpha.getbootstrap.com/layout/grid/
10 | */
11 | #}
12 | {% set attributes = attributes.addClass('col-md-3') %}
13 |
--------------------------------------------------------------------------------
/web/themes/dashing/templates/content/page-title.html.twig:
--------------------------------------------------------------------------------
1 | {#
2 | /**
3 | * @file
4 | * Theme override for page titles.
5 | *
6 | * Available variables:
7 | * - title_attributes: HTML attributes for the page title element.
8 | * - title_prefix: Additional output populated by modules, intended to be
9 | * displayed in front of the main title tag that appears in the template.
10 | * - title: The page title, for use in the actual content.
11 | * - title_suffix: Additional output populated by modules, intended to be
12 | * displayed after the main title tag that appears in the template.
13 | */
14 | #}
15 | {% set attributes = title_attributes.addClass('page-title') %}
16 |
17 | {{ title_prefix }}
18 | {% if title %}
19 | {% include "@atoms/titles/h1.twig" %}
20 | {% endif %}
21 | {{ title_suffix }}
22 |
--------------------------------------------------------------------------------
/web/themes/dashing/templates/form/container.html.twig:
--------------------------------------------------------------------------------
1 | {#
2 | /**
3 | * @file
4 | * Theme override of a container used to wrap child elements.
5 | *
6 | * Used for grouped form items. Can also be used as a theme wrapper for any
7 | * renderable element, to surround it with a and HTML attributes.
8 | * See \Drupal\Core\Render\Element\RenderElement for more
9 | * information on the #theme_wrappers render array property, and
10 | * \Drupal\Core\Render\Element\container for usage of the container render
11 | * element.
12 | *
13 | * Available variables:
14 | * - attributes: HTML attributes for the containing element.
15 | * - children: The rendered child elements of the container.
16 | * - has_parent: A flag to indicate that the container has one or more parent
17 | containers.
18 | *
19 | * @see template_preprocess_container()
20 | */
21 | #}
22 | {%
23 | set classes = [
24 | has_parent ? 'js-form-wrapper',
25 | has_parent ? 'form-wrapper',
26 | ]
27 | %}
28 | {% include "@atoms/forms/_container.twig" %}
29 |
--------------------------------------------------------------------------------
/web/themes/dashing/templates/form/form-element-label.html.twig:
--------------------------------------------------------------------------------
1 | {#
2 | /**
3 | * @file
4 | * Theme override for a form element label.
5 | *
6 | * Available variables:
7 | * - title: The label's text.
8 | * - title_display: Elements title_display setting.
9 | * - required: An indicator for whether the associated form element is required.
10 | * - attributes: A list of HTML attributes for the label.
11 | *
12 | * @see template_preprocess_form_element_label()
13 | */
14 | #}
15 | {%
16 | set classes = [
17 | "form-item__label",
18 | title_display == 'after' ? 'option',
19 | title_display == 'invisible' ? 'visually-hidden',
20 | required ? 'js-form-required',
21 | required ? 'form-required',
22 | "font-weight-bold",
23 | ]
24 | %}
25 | {% set attributes = attributes.addClass(classes) %}
26 |
27 | {% if title is not empty or required -%}
28 | {% include "@atoms/forms/form-element-label.twig" %}
29 | {%- endif %}
30 |
--------------------------------------------------------------------------------
/web/themes/dashing/templates/form/form.html.twig:
--------------------------------------------------------------------------------
1 | {#
2 | /**
3 | * @file
4 | * Theme override for a 'form' element.
5 | *
6 | * Available variables
7 | * - attributes: A list of HTML attributes for the wrapper element.
8 | * - children: The child elements of the form.
9 | *
10 | * @see template_preprocess_form()
11 | */
12 | #}
13 | {% include "@atoms/forms/_form.twig" %}
14 |
--------------------------------------------------------------------------------
/web/themes/dashing/templates/form/input.html.twig:
--------------------------------------------------------------------------------
1 | {#
2 | /**
3 | * @file
4 | * Theme override for an 'input' #type form element.
5 | *
6 | * Available variables:
7 | * - attributes: A list of HTML attributes for the input element.
8 | * - children: Optional additional rendered elements.
9 | *
10 | * @see template_preprocess_input()
11 | */
12 | #}
13 | {% include "@atoms/forms/_input.twig" %}
14 |
--------------------------------------------------------------------------------
/web/themes/dashing/templates/layout/region--footer.html.twig:
--------------------------------------------------------------------------------
1 | {#
2 | /**
3 | * @file
4 | * Theme override to display a footer region.
5 | *
6 | * Available variables:
7 | * - content: The content for this region, typically blocks.
8 | * - attributes: HTML attributes for the region div.
9 | * - region: The name of the region variable as defined in the theme's
10 | * .info.yml file.
11 | *
12 | * @see template_preprocess_region()
13 | */
14 | #}
15 | {%
16 | set classes = [
17 | 'region',
18 | 'region-' ~ region|clean_class,
19 | 'row',
20 | ]
21 | %}
22 | {% if content %}
23 |
28 | {% endif %}
29 |
--------------------------------------------------------------------------------
/web/themes/dashing/templates/layout/region--header.html.twig:
--------------------------------------------------------------------------------
1 | {#
2 | /**
3 | * @file
4 | * Theme override to display a header region.
5 | *
6 | * Available variables:
7 | * - content: The content for this region, typically blocks.
8 | * - attributes: HTML attributes for the region div.
9 | * - region: The name of the region variable as defined in the theme's
10 | * .info.yml file.
11 | *
12 | * @see template_preprocess_region()
13 | */
14 | #}
15 | {%
16 | set classes = [
17 | 'region',
18 | 'region-' ~ region|clean_class,
19 | 'row',
20 | ]
21 | %}
22 | {% if content %}
23 | {% include "@organisms/regions/header.twig" %}
24 | {% endif %}
25 |
--------------------------------------------------------------------------------
/web/themes/dashing/templates/layout/region.html.twig:
--------------------------------------------------------------------------------
1 | {#
2 | /**
3 | * @file
4 | * Theme override to display a region.
5 | *
6 | * Available variables:
7 | * - content: The content for this region, typically blocks.
8 | * - attributes: HTML attributes for the region div.
9 | * - region: The name of the region variable as defined in the theme's
10 | * .info.yml file.
11 | *
12 | * @see template_preprocess_region()
13 | */
14 | #}
15 | {%
16 | set classes = [
17 | 'region',
18 | 'region-' ~ region|clean_class,
19 | ]
20 | %}
21 | {% if content %}
22 |
23 | {{ content }}
24 |
25 | {% endif %}
26 |
--------------------------------------------------------------------------------
/web/themes/dashing/templates/navigation/breadcrumb.html.twig:
--------------------------------------------------------------------------------
1 | {#
2 | /**
3 | * @file
4 | * Theme override for a breadcrumb trail.
5 | *
6 | * Available variables:
7 | * - breadcrumb: Breadcrumb trail items.
8 | */
9 | #}
10 | {% if breadcrumb %}
11 |
25 | {% endif %}
26 |
--------------------------------------------------------------------------------
/web/themes/dashing/templates/navigation/menu--account.html.twig:
--------------------------------------------------------------------------------
1 | {% extends "menu.html.twig" %}
2 | {#
3 | /**
4 | * @file
5 | * Theme override to display an account menu.
6 | *
7 | * Add 'nav-pills' & 'nav-stacked' classes to style the menu as
8 | * Bootstrap Stacked Pills.
9 | *
10 | * @see http://v4-alpha.getbootstrap.com/components/navs/#stacked-pills
11 | */
12 | #}
13 | {% set attributes = attributes.addClass('nav-pills', 'nav-stacked') %}
14 |
--------------------------------------------------------------------------------
/web/themes/dashing/templates/navigation/menu--footer.html.twig:
--------------------------------------------------------------------------------
1 | {% extends "menu.html.twig" %}
2 | {#
3 | /**
4 | * @file
5 | * Theme override to display a footer menu.
6 | *
7 | * Add 'nav-inline' class to style the menu as Bootstrap Inline.
8 | *
9 | * @see http://v4-alpha.getbootstrap.com/components/navs/#inline
10 | */
11 | #}
12 | {% set attributes = attributes.addClass('nav-inline') %}
13 |
--------------------------------------------------------------------------------
/web/themes/dashing/templates/navigation/menu--main.html.twig:
--------------------------------------------------------------------------------
1 | {% extends "menu.html.twig" %}
2 | {#
3 | /**
4 | * @file
5 | * Theme override to display a main menu.
6 | *
7 | * Add 'nav-pills' class to style the menu as Bootstrap Pills.
8 | *
9 | * @see http://v4-alpha.getbootstrap.com/components/navs/#pills
10 | */
11 | #}
12 | {% set attributes = attributes.addClass('nav-pills') %}
13 |
--------------------------------------------------------------------------------
/web/themes/dashing/templates/navigation/menu--tools.html.twig:
--------------------------------------------------------------------------------
1 | {% extends "menu.html.twig" %}
2 | {#
3 | /**
4 | * @file
5 | * Theme override to display a tool menu.
6 | *
7 | * Add 'nav-pills' & 'nav-stacked' classes to style the menu as
8 | * Bootstrap Stacked Pills.
9 | *
10 | * @see http://v4-alpha.getbootstrap.com/components/navs/#stacked-pills
11 | */
12 | #}
13 | {% set attributes = attributes.addClass('nav-pills', 'nav-stacked') %}
14 |
--------------------------------------------------------------------------------
/web/themes/dashing/templates/navigation/menu-local-task.html.twig:
--------------------------------------------------------------------------------
1 | {#
2 | /**
3 | * @file
4 | * Theme override for a local task link.
5 | *
6 | * Available variables:
7 | * - attributes: HTML attributes for the wrapper element.
8 | * - is_active: Whether the task item is an active tab.
9 | * - link: A rendered link element.
10 | *
11 | * Note: This template renders the content for each task item in
12 | * menu-local-tasks.html.twig.
13 | *
14 | * @see template_preprocess_menu_local_task()
15 | */
16 | #}
17 | - {{ link }}
18 |
--------------------------------------------------------------------------------
/web/themes/dashing/templates/navigation/menu-local-tasks.html.twig:
--------------------------------------------------------------------------------
1 | {#
2 | /**
3 | * @file
4 | * Theme override to display primary and secondary local tasks.
5 | *
6 | * Available variables:
7 | * - primary: HTML list items representing primary tasks.
8 | * - secondary: HTML list items representing primary tasks.
9 | *
10 | * Each item in these variables (primary and secondary) can be individually
11 | * themed in menu-local-task.html.twig.
12 | */
13 | #}
14 | {% if primary %}
15 | {{ 'Primary tabs'|t }}
16 |
17 | {% endif %}
18 | {% if secondary %}
19 | {{ 'Secondary tabs'|t }}
20 |
21 | {% endif %}
22 |
--------------------------------------------------------------------------------
/web/themes/dashing/templates/views/views-view-fields--newspage--page.html.twig:
--------------------------------------------------------------------------------
1 | {#
2 | /**
3 | * @file
4 | * Theme override to display all the newspage fields in a row.
5 | *
6 | * Available variables:
7 | * - view: The view in use.
8 | * - fields: A list of fields, each one contains:
9 | * - content: The output of the field.
10 | * - raw: The raw data for the field, if it exists. This is NOT output safe.
11 | * - class: The safe class ID to use.
12 | * - handler: The Views field handler controlling this field.
13 | * - inline: Whether or not the field should be inline.
14 | * - wrapper_element: An HTML element for a wrapper.
15 | * - wrapper_attributes: List of attributes for wrapper element.
16 | * - separator: An optional separator that may appear before a field.
17 | * - label: The field's label text.
18 | * - label_element: An HTML element for a label wrapper.
19 | * - label_attributes: List of attributes for label wrapper.
20 | * - label_suffix: Colon after the label.
21 | * - element_type: An HTML element for the field content.
22 | * - element_attributes: List of attributes for HTML element for field content.
23 | * - has_label_colon: A boolean indicating whether to display a colon after
24 | * the label.
25 | * - element_type: An HTML element for the field content.
26 | * - element_attributes: List of attributes for HTML element for field content.
27 | * - row: The raw result from the query, with all data it fetched.
28 | *
29 | * @see template_preprocess_views_view_fields()
30 | */
31 | #}
32 | {% embed "@molecules/cards/card.twig"
33 | with {
34 | "classes": [
35 | "card"
36 | ],
37 | "url": fields.path.content,
38 | "title": fields.title.content,
39 | "read_more": "Read more"|t,
40 | "card_header": fields.created.content,
41 | "card_image_top": true,
42 | "card_text": true,
43 | "snippet": fields.body.content,
44 | "card_links": true
45 | }
46 | %}
47 | {# These blocks are defined in the embeded template #}
48 | {# and we override them right here: #}
49 | {% block card_image_top %}
50 | {{ fields.field_image.content }}
51 | {% endblock %}
52 |
53 | {% endembed %}
54 |
--------------------------------------------------------------------------------
/web/themes/dashing/templates/views/views-view-unformatted--frontpage--page.html.twig:
--------------------------------------------------------------------------------
1 | {#
2 | /**
3 | * @file
4 | * Theme override to display frontpage view of unformatted rows.
5 | *
6 | * Available variables:
7 | * - title: The title of this group of rows. May be empty.
8 | * - rows: A list of the view's row items.
9 | * - attributes: The row's HTML attributes.
10 | * - content: The row's content.
11 | * - view: The view object.
12 | * - default_row_class: A flag indicating whether default classes should be
13 | * used on rows.
14 | *
15 | * @see template_preprocess_views_view_unformatted()
16 | */
17 | #}
18 | {% if title %}
19 | {% include "@atoms/titles/h3.twig" %}
20 | {% endif %}
21 |
22 | {# We embed the pyramid grid here for unformatted views rows. #}
23 | {% embed "@organisms/grids/pyramid-grid.twig"
24 | with {
25 | "items": rows
26 | }
27 | %}
28 |
29 | {% block items %}
30 | {% for row in rows %}
31 | {%
32 | set row_classes = [
33 | default_row_class ? 'views-row',
34 | ]
35 | %}
36 |
37 | {{ row.content }}
38 |
39 | {% endfor %}
40 | {% endblock %}
41 |
42 | {% endembed %}
43 |
--------------------------------------------------------------------------------
/web/themes/sub_dashing/dist/sub_dashing.css:
--------------------------------------------------------------------------------
1 | body {
2 | z-index: 1;
3 | }
4 |
--------------------------------------------------------------------------------
/web/themes/sub_dashing/sub_dashing.info.yml:
--------------------------------------------------------------------------------
1 | # THEMENAME.info.yml
2 | name: Sub Dashing
3 | type: theme
4 | base theme: dashing
5 | description: 'A sub theme of Dashing.'
6 | core: 8.x
7 |
8 | # Libraries
9 | libraries:
10 | - sub_dashing/core
11 |
12 | # Regions
13 |
--------------------------------------------------------------------------------
/web/themes/sub_dashing/sub_dashing.libraries.yml:
--------------------------------------------------------------------------------
1 | core:
2 | css:
3 | theme:
4 | dist/sub_dashing.css: {}
5 |
--------------------------------------------------------------------------------
/web/update.php:
--------------------------------------------------------------------------------
1 | handle($request);
20 | $response->send();
21 |
22 | $kernel->terminate($request, $response);
23 |
--------------------------------------------------------------------------------