From b138d9a8fdcefb59537097f3d57efd4804cd300a Mon Sep 17 00:00:00 2001 From: DuttonMa Date: Mon, 22 Nov 2021 16:44:20 +0000 Subject: [PATCH 01/45] change publication type migration for new taxonomy ref type field --- ....upgrade_d7_node_complete_publication_page.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/web/sites/niauditoffice/modules/custom/niauditoffice_migrations/config/install/migrate_plus.migration.upgrade_d7_node_complete_publication_page.yml b/web/sites/niauditoffice/modules/custom/niauditoffice_migrations/config/install/migrate_plus.migration.upgrade_d7_node_complete_publication_page.yml index fab7207589..ca2c63fc93 100644 --- a/web/sites/niauditoffice/modules/custom/niauditoffice_migrations/config/install/migrate_plus.migration.upgrade_d7_node_complete_publication_page.yml +++ b/web/sites/niauditoffice/modules/custom/niauditoffice_migrations/config/install/migrate_plus.migration.upgrade_d7_node_complete_publication_page.yml @@ -118,10 +118,21 @@ process: filtered_html_with_tokens: basic_html restricted_html: basic_html plain_text: plain_text - field_publication_type: + field_publication_topic: - - plugin: get + plugin: static_map source: field_publication_type + map: + financialAudit: 2 + financialAuditHealthSocialCareReports: 8 + financialAuditOtherPublications: 9 + goodPractice: 3 + localGover: 12 + LocalGovernmentOtherReports: 10 + LocalGovernmentPublicInterestReports: 11 + other: 13 + valueForMoney: 5 + workInProgress: 6 field_publication_date: - plugin: sub_process From a587e51a06e8d32e1e64152723adfd887de1a99f Mon Sep 17 00:00:00 2001 From: DuttonMa Date: Tue, 23 Nov 2021 12:02:39 +0000 Subject: [PATCH 02/45] improvements to publication migration --- ...s.migration.upgrade_d7_node_complete_publication_page.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/sites/niauditoffice/modules/custom/niauditoffice_migrations/config/install/migrate_plus.migration.upgrade_d7_node_complete_publication_page.yml b/web/sites/niauditoffice/modules/custom/niauditoffice_migrations/config/install/migrate_plus.migration.upgrade_d7_node_complete_publication_page.yml index ca2c63fc93..530b3bf377 100644 --- a/web/sites/niauditoffice/modules/custom/niauditoffice_migrations/config/install/migrate_plus.migration.upgrade_d7_node_complete_publication_page.yml +++ b/web/sites/niauditoffice/modules/custom/niauditoffice_migrations/config/install/migrate_plus.migration.upgrade_d7_node_complete_publication_page.yml @@ -122,10 +122,11 @@ process: - plugin: static_map source: field_publication_type + default_value: null map: financialAudit: 2 - financialAuditHealthSocialCareReports: 8 - financialAuditOtherPublications: 9 + FinancialAuditHealthSocialCareReports: 8 + FinancialAuditOtherPublications: 9 goodPractice: 3 localGover: 12 LocalGovernmentOtherReports: 10 From 87c22cc1b764981fb991385e1d626187817d5a14 Mon Sep 17 00:00:00 2001 From: DuttonMa Date: Tue, 7 Dec 2021 16:46:23 +0000 Subject: [PATCH 03/45] change news search to use dedicated news search index --- .../config/search_api.index.news.yml | 62 +++++++++++++ .../config/search_api.index.publications.yml | 61 +++++++++++++ .../config/views.view.news_search.yml | 91 ++++--------------- 3 files changed, 139 insertions(+), 75 deletions(-) create mode 100644 config/mahinquiry/config/search_api.index.news.yml create mode 100644 config/mahinquiry/config/search_api.index.publications.yml diff --git a/config/mahinquiry/config/search_api.index.news.yml b/config/mahinquiry/config/search_api.index.news.yml new file mode 100644 index 0000000000..5313d069ec --- /dev/null +++ b/config/mahinquiry/config/search_api.index.news.yml @@ -0,0 +1,62 @@ +uuid: fb6d152d-771b-4ea4-bf9c-693d6c05df10 +langcode: en +status: true +dependencies: + config: + - field.storage.node.body + - field.storage.node.field_published_date + - search_api.server.default + module: + - node + - search_api +id: news +name: News +description: '' +read_only: false +field_settings: + body: + label: Body + datasource_id: 'entity:node' + property_path: body + type: text + dependencies: + config: + - field.storage.node.body + field_published_date: + label: 'Published date' + datasource_id: 'entity:node' + property_path: field_published_date + type: date + dependencies: + config: + - field.storage.node.field_published_date + title: + label: Title + datasource_id: 'entity:node' + property_path: title + type: text + boost: !!float 5 + dependencies: + module: + - node +datasource_settings: + 'entity:node': + bundles: + default: false + selected: + - news + languages: + default: true + selected: { } +processor_settings: + add_url: { } + aggregated_field: { } + language_with_fallback: { } + rendered_item: { } +tracker_settings: + default: + indexing_order: fifo +options: + index_directly: true + cron_limit: 50 +server: default diff --git a/config/mahinquiry/config/search_api.index.publications.yml b/config/mahinquiry/config/search_api.index.publications.yml new file mode 100644 index 0000000000..d07cee717b --- /dev/null +++ b/config/mahinquiry/config/search_api.index.publications.yml @@ -0,0 +1,61 @@ +uuid: 383862ff-e39d-45d8-8128-f8f68ebbdbcb +langcode: en +status: true +dependencies: + config: + - field.storage.node.body + - field.storage.node.field_published_date + - search_api.server.default + module: + - node + - search_api +id: publications +name: Publications +description: '' +read_only: false +field_settings: + body: + label: Body + datasource_id: 'entity:node' + property_path: body + type: text + dependencies: + config: + - field.storage.node.body + field_published_date: + label: 'Published date' + datasource_id: 'entity:node' + property_path: field_published_date + type: date + dependencies: + config: + - field.storage.node.field_published_date + title: + label: Title + datasource_id: 'entity:node' + property_path: title + type: string + dependencies: + module: + - node +datasource_settings: + 'entity:node': + bundles: + default: false + selected: + - publication + languages: + default: true + selected: { } +processor_settings: + add_url: { } + aggregated_field: { } + language_with_fallback: { } + rendered_item: { } +tracker_settings: + default: + indexing_order: fifo +options: + index_directly: true + cron_limit: 50 +server: default diff --git a/config/mahinquiry/config/views.view.news_search.yml b/config/mahinquiry/config/views.view.news_search.yml index 7f14d54f75..a52f9db4a5 100644 --- a/config/mahinquiry/config/views.view.news_search.yml +++ b/config/mahinquiry/config/views.view.news_search.yml @@ -1,10 +1,10 @@ -uuid: 6ad7058a-839a-45e8-8269-182473ab05dd +uuid: 82b8839e-3327-4af8-9508-31d139e49124 langcode: en status: true dependencies: config: - field.storage.node.body - - search_api.index.default_content + - search_api.index.news - system.menu.main module: - search_api @@ -14,7 +14,7 @@ label: 'News search' module: views description: '' tag: '' -base_table: search_api_index_default_content +base_table: search_api_index_news base_field: search_api_id display: default: @@ -27,7 +27,7 @@ display: type: none options: { } cache: - type: search_api_tag + type: tag options: { } query: type: views_query @@ -73,15 +73,10 @@ display: options: view_modes: 'entity:node': - basic_page: default - consultation: default - feature: default - featured_content_list: default news: search_result - publication: default fields: body: - table: search_api_index_default_content + table: search_api_index_news field: body id: body entity_type: null @@ -152,50 +147,9 @@ display: multi_type: separator multi_separator: ', ' filters: - type: - id: type - table: search_api_index_default_content - field: type - relationship: none - group_type: group - admin_label: '' - operator: or - value: - news: news - group: 1 - exposed: false - expose: - operator_id: '' - label: '' - description: '' - use_operator: false - operator: '' - operator_limit_selection: false - operator_list: { } - identifier: '' - required: false - remember: false - multiple: false - remember_roles: - authenticated: authenticated - reduce: false - is_grouped: false - group_info: - label: '' - description: '' - identifier: '' - optional: true - widget: select - multiple: false - remember: false - default_group: All - default_group_multiple: { } - group_items: { } - reduce_duplicates: false - plugin_id: search_api_options search_api_fulltext: id: search_api_fulltext - table: search_api_index_default_content + table: search_api_index_news field: search_api_fulltext relationship: none group_type: group @@ -244,7 +198,7 @@ display: sorts: field_published_date: id: field_published_date - table: search_api_index_default_content + table: search_api_index_news field: field_published_date relationship: none group_type: group @@ -256,7 +210,7 @@ display: plugin_id: search_api search_api_relevance: id: search_api_relevance - table: search_api_index_default_content + table: search_api_index_news field: search_api_relevance relationship: none group_type: group @@ -269,20 +223,7 @@ display: title: News header: { } footer: { } - empty: - area: - id: area - table: views - field: area - relationship: none - group_type: group - admin_label: '' - empty: true - tokenize: false - content: - value: 'There were no results found.' - format: basic_html - plugin_id: text + empty: { } relationships: { } arguments: { } display_extenders: { } @@ -296,7 +237,7 @@ display: - 'user.node_grants:view' tags: - 'config:field.storage.node.body' - - 'config:search_api.index.default_content' + - 'config:search_api.index.news' news_search_page: display_plugin: page id: news_search_page @@ -309,13 +250,13 @@ display: menu: type: normal title: News - menu_name: main + description: '' + expanded: false + parent: '' weight: -46 + context: '0' + menu_name: main exposed_block: true - cache: - type: none - defaults: - cache: false cache_metadata: max-age: -1 contexts: @@ -326,4 +267,4 @@ display: - 'user.node_grants:view' tags: - 'config:field.storage.node.body' - - 'config:search_api.index.default_content' + - 'config:search_api.index.news' From b2319196e9fa93d3877ba9a1e3a8cbfca07f3142 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 8 Dec 2021 10:11:13 +0000 Subject: [PATCH 04/45] Enabling nipb breadcrumbs --- config/nipolicingboard/config/core.extension.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/nipolicingboard/config/core.extension.yml b/config/nipolicingboard/config/core.extension.yml index 1dba4f1da6..dcd563e6b3 100644 --- a/config/nipolicingboard/config/core.extension.yml +++ b/config/nipolicingboard/config/core.extension.yml @@ -82,6 +82,7 @@ module: migrate_tools: 0 migrate_upgrade: 0 moderation_sidebar: 0 + nipolicingboard_breadcrumbs: 0 nipolicingboard_migrations: 0 node: 0 node_edit_protection: 0 From ba370b91e1adb71cc78497a7955e26426a0744d6 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 8 Dec 2021 10:11:38 +0000 Subject: [PATCH 05/45] NIPB breadcrumb module --- .../nipolicingboard_breadcrumbs.info.yml | 5 + .../nipolicingboard_breadcrumbs.module | 38 ++++++ .../nipolicingboard_breadcrumbs.services.yml | 31 +++++ .../src/BoardBreadcrumb.php | 117 +++++++++++++++++ .../src/NewsBreadcrumb.php | 117 +++++++++++++++++ .../src/PageBreadcrumb.php | 118 ++++++++++++++++++ .../src/PublicationBreadcrumb.php | 118 ++++++++++++++++++ .../src/QuestionsBreadcrumb.php | 118 ++++++++++++++++++ .../src/ViewPageBreadcrumb.php | 96 ++++++++++++++ 9 files changed, 758 insertions(+) create mode 100644 web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/nipolicingboard_breadcrumbs.info.yml create mode 100644 web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/nipolicingboard_breadcrumbs.module create mode 100644 web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/nipolicingboard_breadcrumbs.services.yml create mode 100644 web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/src/BoardBreadcrumb.php create mode 100644 web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/src/NewsBreadcrumb.php create mode 100644 web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/src/PageBreadcrumb.php create mode 100644 web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/src/PublicationBreadcrumb.php create mode 100644 web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/src/QuestionsBreadcrumb.php create mode 100644 web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/src/ViewPageBreadcrumb.php diff --git a/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/nipolicingboard_breadcrumbs.info.yml b/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/nipolicingboard_breadcrumbs.info.yml new file mode 100644 index 0000000000..e331f9ade3 --- /dev/null +++ b/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/nipolicingboard_breadcrumbs.info.yml @@ -0,0 +1,5 @@ +name: 'NIPB breadcrumbs' +type: module +description: 'Breadcrumb customisations' +core_version_requirement: 8.x || ^9 +package: 'custom' diff --git a/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/nipolicingboard_breadcrumbs.module b/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/nipolicingboard_breadcrumbs.module new file mode 100644 index 0000000000..4d2c5968b2 --- /dev/null +++ b/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/nipolicingboard_breadcrumbs.module @@ -0,0 +1,38 @@ +getLinks(); + + // Loop through the links for links that have facet queries added to them and unset the link of the last breadcrumb. + // The facets module breadcrumb links them all by default. + foreach ($links as $link) { + // Strip the - search results text from the page title breadcrumb link. + if (preg_match('/([A-Z|a-z]+) - search results/', $link->getText(), $matches)) { + $link->setText($matches[1]); + } + + $params = $link->getUrl()->getRouteParameters(); + if (!empty($params['facets_query'])) { + // Remove link from the last breadcrumb link. + end($links)->setUrl(Url::fromRoute('')); + $breadcrumb = new Breadcrumb(); + $breadcrumb->setLinks($links); + $breadcrumb->addCacheContexts(['url.path']); + } + } +} diff --git a/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/nipolicingboard_breadcrumbs.services.yml b/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/nipolicingboard_breadcrumbs.services.yml new file mode 100644 index 0000000000..e3bb95fe34 --- /dev/null +++ b/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/nipolicingboard_breadcrumbs.services.yml @@ -0,0 +1,31 @@ +services: + nipolicingboard_breadcrumbs.breadcrumb.view_page: + class: Drupal\nipolicingboard_breadcrumbs\ViewPageBreadcrumb + arguments: ['@request_stack', '@title_resolver'] + tags: + - { name: breadcrumb_builder, priority: 1011 } + nipolicingboard_breadcrumbs.breadcrumb.news: + class: Drupal\nipolicingboard_breadcrumbs\NewsBreadcrumb + arguments: ['@entity_type.manager', '@title_resolver', '@request_stack'] + tags: + - { name: breadcrumb_builder, priority: 100 } + nipolicingboard_breadcrumbs.breadcrumb.publication: + class: Drupal\nipolicingboard_breadcrumbs\PublicationBreadcrumb + arguments: ['@entity_type.manager', '@title_resolver', '@request_stack'] + tags: + - { name: breadcrumb_builder, priority: 100 } + nipolicingboard_breadcrumbs.breadcrumb.questions: + class: Drupal\nipolicingboard_breadcrumbs\QuestionsBreadcrumb + arguments: [ '@entity_type.manager', '@title_resolver', '@request_stack' ] + tags: + - { name: breadcrumb_builder, priority: 100 } + nipolicingboard_breadcrumbs.breadcrumb.board: + class: Drupal\nipolicingboard_breadcrumbs\BoardBreadcrumb + arguments: ['@entity_type.manager', '@title_resolver', '@request_stack'] + tags: + - { name: breadcrumb_builder, priority: 100 } + nipolicingboard_breadcrumbs.breadcrumb.page: + class: Drupal\nipolicingboard_breadcrumbs\PageBreadcrumb + arguments: [ '@entity_type.manager', '@title_resolver', '@request_stack' ] + tags: + - { name: breadcrumb_builder, priority: 100 } diff --git a/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/src/BoardBreadcrumb.php b/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/src/BoardBreadcrumb.php new file mode 100644 index 0000000000..0b3868a78c --- /dev/null +++ b/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/src/BoardBreadcrumb.php @@ -0,0 +1,117 @@ + Home + * > Board + * > current-page-title + * + * > + * > /about-board + * > /current-page-title + */ +use Drupal\Core\Breadcrumb\Breadcrumb; +use Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface; +use Drupal\Core\Controller\TitleResolverInterface; +use Drupal\Core\Entity\EntityTypeManagerInterface; +use Drupal\Core\Routing\RouteMatchInterface; +use Drupal\Core\Link; +use Drupal\Core\Url; +use Drupal\node\NodeInterface; +use Symfony\Component\DependencyInjection\ContainerInterface; +use Symfony\Component\HttpFoundation\RequestStack; + +/** + * {@inheritdoc} + */ +class BoardBreadcrumb implements BreadcrumbBuilderInterface { + + /** + * @var \Drupal\Core\Entity\EntityTypeManagerInterface + */ + protected $entityTypeManager; + + /** + * Node object, or null if on a non-node page. + * + * @var \Drupal\node\Entity\Node + */ + protected $node; + + /** + * The title resolver. + * + * @var \Drupal\Core\Controller\TitleResolverInterface + */ + protected $titleResolver; + + /** + * Symfony\Component\HttpFoundation\RequestStack definition. + * + * @var Symfony\Component\HttpFoundation\RequestStack + */ + protected $request; + + /** + * Class constructor. + */ + public function __construct(EntityTypeManagerInterface $entity_type_manager, TitleResolverInterface $title_resolver, RequestStack $request) { + $this->entityTypeManager = $entity_type_manager; + $this->titleResolver = $title_resolver; + $this->request = $request; + } + + /** + * {@inheritdoc} + */ + public static function create(ContainerInterface $container) { + return new static( + $container->get('entity_type.manager'), + $container->get('title_resolver'), + $container->get('request_stack') + ); + } + + /** + * {@inheritdoc} + */ + public function applies(RouteMatchInterface $route_match) { + $match = FALSE; + $route_name = $route_match->getRouteName(); + if ($route_name == 'entity.node.canonical') { + $this->node = $route_match->getParameter('node'); + if ($this->node instanceof NodeInterface == FALSE) { + $this->node = $this->entityTypeManager->getStorage('node')->load($this->node); + } + if (!empty($this->node)) { + if ($this->node->bundle() == 'staff_member') { + $match = TRUE; + } + } + } + return $match; + } + + /** + * {@inheritdoc} + */ + public function build(RouteMatchInterface $route_match) { + $breadcrumb = new Breadcrumb(); + $title_resolver = $this->titleResolver->getTitle($this->request->getCurrentRequest(), $route_match->getRouteObject()); + if ($this->node) { + $links[] = Link::createFromRoute(t('Home'), ''); + $links[] = Link::fromTextandUrl(t('Board'), Url::fromUri('internal:/about-board')); + $links[] = Link::createFromRoute($title_resolver, ''); + $breadcrumb->setLinks($links); + } + $breadcrumb->addCacheContexts(['url.path']); + return $breadcrumb; + } + +} diff --git a/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/src/NewsBreadcrumb.php b/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/src/NewsBreadcrumb.php new file mode 100644 index 0000000000..ed3ca32044 --- /dev/null +++ b/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/src/NewsBreadcrumb.php @@ -0,0 +1,117 @@ + Home + * > News + * > current-page-title + * + * > + * > /news-search + * > /current-page-title + */ +use Drupal\Core\Breadcrumb\Breadcrumb; +use Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface; +use Drupal\Core\Controller\TitleResolverInterface; +use Drupal\Core\Entity\EntityTypeManagerInterface; +use Drupal\Core\Routing\RouteMatchInterface; +use Drupal\Core\Link; +use Drupal\Core\Url; +use Drupal\node\NodeInterface; +use Symfony\Component\DependencyInjection\ContainerInterface; +use Symfony\Component\HttpFoundation\RequestStack; + +/** + * {@inheritdoc} + */ +class NewsBreadcrumb implements BreadcrumbBuilderInterface { + + /** + * @var \Drupal\Core\Entity\EntityTypeManagerInterface + */ + protected $entityTypeManager; + + /** + * Node object, or null if on a non-node page. + * + * @var \Drupal\node\Entity\Node + */ + protected $node; + + /** + * The title resolver. + * + * @var \Drupal\Core\Controller\TitleResolverInterface + */ + protected $titleResolver; + + /** + * Symfony\Component\HttpFoundation\RequestStack definition. + * + * @var Symfony\Component\HttpFoundation\RequestStack + */ + protected $request; + + /** + * Class constructor. + */ + public function __construct(EntityTypeManagerInterface $entity_type_manager, TitleResolverInterface $title_resolver, RequestStack $request) { + $this->entityTypeManager = $entity_type_manager; + $this->titleResolver = $title_resolver; + $this->request = $request; + } + + /** + * {@inheritdoc} + */ + public static function create(ContainerInterface $container) { + return new static( + $container->get('entity_type.manager'), + $container->get('title_resolver'), + $container->get('request_stack') + ); + } + + /** + * {@inheritdoc} + */ + public function applies(RouteMatchInterface $route_match) { + $match = FALSE; + $route_name = $route_match->getRouteName(); + if ($route_name == 'entity.node.canonical') { + $this->node = $route_match->getParameter('node'); + if ($this->node instanceof NodeInterface == FALSE) { + $this->node = $this->entityTypeManager->getStorage('node')->load($this->node); + } + if (!empty($this->node)) { + if ($this->node->bundle() == 'news') { + $match = TRUE; + } + } + } + return $match; + } + + /** + * {@inheritdoc} + */ + public function build(RouteMatchInterface $route_match) { + $breadcrumb = new Breadcrumb(); + $title_resolver = $this->titleResolver->getTitle($this->request->getCurrentRequest(), $route_match->getRouteObject()); + if ($this->node) { + $links[] = Link::createFromRoute(t('Home'), ''); + $links[] = Link::fromTextandUrl(t('News'), Url::fromRoute('view.news_search.news_search_page')); + $links[] = Link::createFromRoute($title_resolver, ''); + $breadcrumb->setLinks($links); + } + $breadcrumb->addCacheContexts(['url.path']); + return $breadcrumb; + } + +} diff --git a/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/src/PageBreadcrumb.php b/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/src/PageBreadcrumb.php new file mode 100644 index 0000000000..945a7bcd29 --- /dev/null +++ b/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/src/PageBreadcrumb.php @@ -0,0 +1,118 @@ + Home + * > current-page-title + * + * > + * > /current-page-title + */ +use Drupal\Core\Breadcrumb\Breadcrumb; +use Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface; +use Drupal\Core\Controller\TitleResolverInterface; +use Drupal\Core\Entity\EntityTypeManagerInterface; +use Drupal\Core\Routing\RouteMatchInterface; +use Drupal\Core\Link; +use Drupal\Core\Url; +use Drupal\node\NodeInterface; +use Symfony\Component\DependencyInjection\ContainerInterface; +use Symfony\Component\HttpFoundation\RequestStack; + +/** + * {@inheritdoc} + */ +class PageBreadcrumb implements BreadcrumbBuilderInterface { + + /** + * @var \Drupal\Core\Entity\EntityTypeManagerInterface + */ + protected $entityTypeManager; + + /** + * Node object, or null if on a non-node page. + * + * @var \Drupal\node\Entity\Node + */ + protected $node; + + /** + * The title resolver. + * + * @var \Drupal\Core\Controller\TitleResolverInterface + */ + protected $titleResolver; + + /** + * Symfony\Component\HttpFoundation\RequestStack definition. + * + * @var Symfony\Component\HttpFoundation\RequestStack + */ + protected $request; + + /** + * Class constructor. + */ + public function __construct(EntityTypeManagerInterface $entity_type_manager, TitleResolverInterface $title_resolver, RequestStack $request) { + $this->entityTypeManager = $entity_type_manager; + $this->titleResolver = $title_resolver; + $this->request = $request; + } + + /** + * {@inheritdoc} + */ + public static function create(ContainerInterface $container) { + return new static( + $container->get('entity_type.manager'), + $container->get('title_resolver'), + $container->get('request_stack') + ); + } + + /** + * {@inheritdoc} + */ + public function applies(RouteMatchInterface $route_match) { + $match = FALSE; + $route_name = $route_match->getRouteName(); + if ($route_name == 'entity.node.canonical') { + $this->node = $route_match->getParameter('node'); + } + + if ($route_name == 'entity.node.preview') { + $this->node = $route_match->getParameter('node_preview'); + } + + if (!empty($this->node)) { + if ($this->node instanceof NodeInterface == FALSE) { + $this->node = $this->entityTypeManager->getStorage('node'); + } + + if ($this->node->bundle() == 'page') { + $match = TRUE; + } + } + return $match; + } + + /** + * {@inheritdoc} + */ + public function build(RouteMatchInterface $route_match) { + $breadcrumb = new Breadcrumb(); + $title_resolver = $this->titleResolver->getTitle($this->request->getCurrentRequest(), $route_match->getRouteObject()); + $links[] = Link::createFromRoute(t('Home'), ''); + $links[] = Link::createFromRoute($title_resolver, ''); + $breadcrumb->setLinks($links); + $breadcrumb->addCacheContexts(['url.path']); + return $breadcrumb; + } + +} diff --git a/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/src/PublicationBreadcrumb.php b/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/src/PublicationBreadcrumb.php new file mode 100644 index 0000000000..a3afd7f8ee --- /dev/null +++ b/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/src/PublicationBreadcrumb.php @@ -0,0 +1,118 @@ + Home + * > Publications + * > current-page-title + * + * > + * > /publications-search + * > /current-page-title + */ +use Drupal\Core\Breadcrumb\Breadcrumb; +use Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface; +use Drupal\Core\Controller\TitleResolverInterface; +use Drupal\Core\Entity\EntityTypeManagerInterface; +use Drupal\Core\Routing\RouteMatchInterface; +use Drupal\Core\Link; +use Drupal\Core\Url; +use Drupal\node\NodeInterface; +use Symfony\Component\DependencyInjection\ContainerInterface; +use Symfony\Component\HttpFoundation\RequestStack; + +/** + * {@inheritdoc} + */ +class PublicationBreadcrumb implements BreadcrumbBuilderInterface { + + /** + * @var \Drupal\Core\Entity\EntityTypeManagerInterface + */ + protected $entityTypeManager; + + /** + * Node object, or null if on a non-node page. + * + * @var \Drupal\node\Entity\Node + */ + protected $node; + + /** + * The title resolver. + * + * @var \Drupal\Core\Controller\TitleResolverInterface + */ + protected $titleResolver; + + /** + * Symfony\Component\HttpFoundation\RequestStack definition. + * + * @var Symfony\Component\HttpFoundation\RequestStack + */ + protected $request; + + /** + * Class constructor. + */ + public function __construct(EntityTypeManagerInterface $entity_type_manager, TitleResolverInterface $title_resolver, RequestStack $request) { + $this->entityTypeManager = $entity_type_manager; + $this->titleResolver = $title_resolver; + $this->request = $request; + + } + + /** + * {@inheritdoc} + */ + public static function create(ContainerInterface $container) { + return new static( + $container->get('entity_type.manager'), + $container->get('title_resolver'), + $container->get('request_stack') + ); + } + + /** + * {@inheritdoc} + */ + public function applies(RouteMatchInterface $route_match) { + $match = FALSE; + $route_name = $route_match->getRouteName(); + if ($route_name == 'entity.node.canonical') { + $this->node = $route_match->getParameter('node'); + if ($this->node instanceof NodeInterface == FALSE) { + $this->node = $this->entityTypeManager->getStorage('node')->load($this->node); + } + if (!empty($this->node)) { + if ($this->node->bundle() == 'publication_page') { + $match = TRUE; + } + } + } + return $match; + } + + /** + * {@inheritdoc} + */ + public function build(RouteMatchInterface $route_match) { + $breadcrumb = new Breadcrumb(); + $title_resolver = $this->titleResolver->getTitle($this->request->getCurrentRequest(), $route_match->getRouteObject()); + if ($this->node) { + $links[] = Link::createFromRoute(t('Home'), ''); + $links[] = Link::fromTextandUrl(t('Publications'), Url::fromRoute('view.publications_search.publication_search_page')); + $links[] = Link::createFromRoute($title_resolver, ''); + $breadcrumb->setLinks($links); + } + $breadcrumb->addCacheContexts(['url.path']); + return $breadcrumb; + } + +} diff --git a/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/src/QuestionsBreadcrumb.php b/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/src/QuestionsBreadcrumb.php new file mode 100644 index 0000000000..282e83c318 --- /dev/null +++ b/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/src/QuestionsBreadcrumb.php @@ -0,0 +1,118 @@ + Home + * > Question to Chief Constable + * > current-page-title + * + * > + * > /questions + * > /current-page-title + */ +use Drupal\Core\Breadcrumb\Breadcrumb; +use Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface; +use Drupal\Core\Controller\TitleResolverInterface; +use Drupal\Core\Entity\EntityTypeManagerInterface; +use Drupal\Core\Routing\RouteMatchInterface; +use Drupal\Core\Link; +use Drupal\Core\Url; +use Drupal\node\NodeInterface; +use Symfony\Component\DependencyInjection\ContainerInterface; +use Symfony\Component\HttpFoundation\RequestStack; + +/** + * {@inheritdoc} + */ +class QuestionsBreadcrumb implements BreadcrumbBuilderInterface { + + /** + * @var \Drupal\Core\Entity\EntityTypeManagerInterface + */ + protected $entityTypeManager; + + /** + * Node object, or null if on a non-node page. + * + * @var \Drupal\node\Entity\Node + */ + protected $node; + + /** + * The title resolver. + * + * @var \Drupal\Core\Controller\TitleResolverInterface + */ + protected $titleResolver; + + /** + * Symfony\Component\HttpFoundation\RequestStack definition. + * + * @var Symfony\Component\HttpFoundation\RequestStack + */ + protected $request; + + /** + * Class constructor. + */ + public function __construct(EntityTypeManagerInterface $entity_type_manager, TitleResolverInterface $title_resolver, RequestStack $request) { + $this->entityTypeManager = $entity_type_manager; + $this->titleResolver = $title_resolver; + $this->request = $request; + + } + + /** + * {@inheritdoc} + */ + public static function create(ContainerInterface $container) { + return new static( + $container->get('entity_type.manager'), + $container->get('title_resolver'), + $container->get('request_stack') + ); + } + + /** + * {@inheritdoc} + */ + public function applies(RouteMatchInterface $route_match) { + $match = FALSE; + $route_name = $route_match->getRouteName(); + if ($route_name == 'entity.node.canonical') { + $this->node = $route_match->getParameter('node'); + if ($this->node instanceof NodeInterface == FALSE) { + $this->node = $this->entityTypeManager->getStorage('node')->load($this->node); + } + if (!empty($this->node)) { + if ($this->node->bundle() == 'question_page') { + $match = TRUE; + } + } + } + return $match; + } + + /** + * {@inheritdoc} + */ + public function build(RouteMatchInterface $route_match) { + $breadcrumb = new Breadcrumb(); + $title_resolver = $this->titleResolver->getTitle($this->request->getCurrentRequest(), $route_match->getRouteObject()); + if ($this->node) { + $links[] = Link::createFromRoute(t('Home'), ''); + $links[] = Link::fromTextandUrl(t('Question to Chief Constable'), Url::fromRoute('view.questions_search.questions_search_page')); + $links[] = Link::createFromRoute($title_resolver, ''); + $breadcrumb->setLinks($links); + } + $breadcrumb->addCacheContexts(['url.path']); + return $breadcrumb; + } + +} diff --git a/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/src/ViewPageBreadcrumb.php b/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/src/ViewPageBreadcrumb.php new file mode 100644 index 0000000000..c1bc04d8b0 --- /dev/null +++ b/web/sites/nipolicingboard/modules/custom/nipolicingboard_breadcrumbs/src/ViewPageBreadcrumb.php @@ -0,0 +1,96 @@ + Home + * > current-page-title + * + * > + * > /current-page-title + */ +use Drupal\Core\Breadcrumb\Breadcrumb; +use Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface; +use Drupal\Core\Controller\TitleResolverInterface; +use Drupal\Core\Routing\RouteMatchInterface; +use Drupal\Core\Link; +use Drupal\Core\Url; +use Symfony\Component\DependencyInjection\ContainerInterface; +use Symfony\Component\HttpFoundation\RequestStack; + +/** + * {@inheritdoc} + */ +class ViewPageBreadcrumb implements BreadcrumbBuilderInterface { + + /** + * Symfony\Component\HttpFoundation\RequestStack definition. + * + * @var Symfony\Component\HttpFoundation\RequestStack + */ + protected $request; + + /** + * The title resolver. + * + * @var \Drupal\Core\Controller\TitleResolverInterface + */ + protected $titleResolver; + + /** + * Class constructor. + */ + public function __construct(RequestStack $request, TitleResolverInterface $title_resolver) { + $this->request = $request; + $this->titleResolver = $title_resolver; + } + + /** + * {@inheritdoc} + */ + public static function create(ContainerInterface $container) { + return new static( + $container->get('request_stack'), + $container->get('title_resolver') + ); + } + + /** + * {@inheritdoc} + */ + public function applies(RouteMatchInterface $route_match) { + $match = FALSE; + $route_name = $route_match->getRouteName(); + $view_names = [ + 'view.news_search.news_search_page', + 'view.publications_search.publication_search_page', + ]; + + foreach ($view_names as $view_name) { + if ($route_name == $view_name) { + $match = TRUE; + } + } + return $match; + + } + + /** + * {@inheritdoc} + */ + public function build(RouteMatchInterface $route_match) { + $breadcrumb = new Breadcrumb(); + $title_resolver = $this->titleResolver->getTitle($this->request->getCurrentRequest(), $route_match->getRouteObject()); + $links[] = Link::createFromRoute(t('Home'), ''); + $links[] = Link::createFromRoute($title_resolver, ''); + $breadcrumb->setLinks($links); + $breadcrumb->addCacheContexts(['url.path']); + + return $breadcrumb; + } + +} From 14bd26831712c05d416a4adc3bb72cae664e9bdc Mon Sep 17 00:00:00 2001 From: DuttonMa Date: Wed, 8 Dec 2021 17:13:04 +0000 Subject: [PATCH 06/45] make publications search use publications index --- .../config/views.view.publications_search.yml | 92 +++---------------- 1 file changed, 12 insertions(+), 80 deletions(-) diff --git a/config/mahinquiry/config/views.view.publications_search.yml b/config/mahinquiry/config/views.view.publications_search.yml index a8b278ad01..d094c39a9d 100644 --- a/config/mahinquiry/config/views.view.publications_search.yml +++ b/config/mahinquiry/config/views.view.publications_search.yml @@ -1,10 +1,10 @@ -uuid: 421a7676-7876-4ad2-8162-657143b125ce +uuid: 3f13dc17-2c7a-4dac-b9e3-5777e59360d3 langcode: en status: true dependencies: config: - field.storage.node.body - - search_api.index.default_content + - search_api.index.publications module: - search_api - text @@ -13,7 +13,7 @@ label: 'Publications search' module: views description: '' tag: '' -base_table: search_api_index_default_content +base_table: search_api_index_publications base_field: search_api_id display: default: @@ -72,15 +72,10 @@ display: options: view_modes: 'entity:node': - basic_page: default - consultation: default - feature: default - featured_content_list: default - news: default publication: search_result fields: body: - table: search_api_index_default_content + table: search_api_index_publications field: body id: body entity_type: null @@ -151,50 +146,9 @@ display: multi_type: separator multi_separator: ', ' filters: - type: - id: type - table: search_api_index_default_content - field: type - relationship: none - group_type: group - admin_label: '' - operator: or - value: - publication: publication - group: 1 - exposed: false - expose: - operator_id: '' - label: '' - description: '' - use_operator: false - operator: '' - operator_limit_selection: false - operator_list: { } - identifier: '' - required: false - remember: false - multiple: false - remember_roles: - authenticated: authenticated - reduce: false - is_grouped: false - group_info: - label: '' - description: '' - identifier: '' - optional: true - widget: select - multiple: false - remember: false - default_group: All - default_group_multiple: { } - group_items: { } - reduce_duplicates: false - plugin_id: search_api_options search_api_fulltext: id: search_api_fulltext - table: search_api_index_default_content + table: search_api_index_publications field: search_api_fulltext relationship: none group_type: group @@ -243,7 +197,7 @@ display: sorts: field_published_date: id: field_published_date - table: search_api_index_default_content + table: search_api_index_publications field: field_published_date relationship: none group_type: group @@ -255,7 +209,7 @@ display: plugin_id: search_api search_api_relevance: id: search_api_relevance - table: search_api_index_default_content + table: search_api_index_publications field: search_api_relevance relationship: none group_type: group @@ -268,20 +222,7 @@ display: title: Publications header: { } footer: { } - empty: - area: - id: area - table: views - field: area - relationship: none - group_type: group - admin_label: '' - empty: true - tokenize: false - content: - value: 'There were no results found.' - format: basic_html - plugin_id: text + empty: { } relationships: { } arguments: { } display_extenders: { } @@ -295,25 +236,16 @@ display: - 'user.node_grants:view' tags: - 'config:field.storage.node.body' - - 'config:search_api.index.default_content' - publication_search_page: + - 'config:search_api.index.publications' + publications_search_page: display_plugin: page - id: publication_search_page + id: publications_search_page display_title: Page position: 1 display_options: display_extenders: metatag_display_extender: { } path: publications - menu: - type: none - title: 'Key Documents' - description: '' - expanded: false - parent: '' - weight: -47 - context: '0' - menu_name: main exposed_block: true cache_metadata: max-age: -1 @@ -325,4 +257,4 @@ display: - 'user.node_grants:view' tags: - 'config:field.storage.node.body' - - 'config:search_api.index.default_content' + - 'config:search_api.index.publications' From cdf45cccebf4fdd80d689301fa9a81507d504904 Mon Sep 17 00:00:00 2001 From: DuttonMa Date: Wed, 8 Dec 2021 17:31:50 +0000 Subject: [PATCH 07/45] changes to mahinquiry news search facets --- .../config/facets.facet.published_date.yml | 6 ++--- ...ts_summary.facets_summary.news_summary.yml | 25 ------------------- 2 files changed, 3 insertions(+), 28 deletions(-) delete mode 100644 config/mahinquiry/config/facets_summary.facets_summary.news_summary.yml diff --git a/config/mahinquiry/config/facets.facet.published_date.yml b/config/mahinquiry/config/facets.facet.published_date.yml index 788b5a5301..07fad615d3 100644 --- a/config/mahinquiry/config/facets.facet.published_date.yml +++ b/config/mahinquiry/config/facets.facet.published_date.yml @@ -1,9 +1,9 @@ -uuid: 91f6af3b-8fca-471d-aa1c-fa05449b8e6e +uuid: 29100548-fc53-4c47-8412-7b1bb03c5501 langcode: en status: true dependencies: config: - - search_api.index.default_content + - search_api.index.news - views.view.news_search module: - facets_pretty_paths @@ -14,7 +14,7 @@ third_party_settings: id: published_date name: 'Published date' url_alias: date -weight: 0 +weight: -1 min_count: 1 show_only_one_result: false field_identifier: field_published_date diff --git a/config/mahinquiry/config/facets_summary.facets_summary.news_summary.yml b/config/mahinquiry/config/facets_summary.facets_summary.news_summary.yml deleted file mode 100644 index cb72f67b15..0000000000 --- a/config/mahinquiry/config/facets_summary.facets_summary.news_summary.yml +++ /dev/null @@ -1,25 +0,0 @@ -uuid: 96937f7a-1353-4fa4-ae83-58acad8713ca -langcode: en -status: true -dependencies: - config: - - search_api.index.default_content - - views.view.news_search - module: - - search_api -id: news_summary -name: 'News summary' -facets: - published_date: - checked: true - label: 'Published date' - separator: ', ' - weight: 0 - show_count: false -facet_source_id: 'search_api:views_page__news_search__news_search_page' -processor_configs: - hide_when_not_rendered: - processor_id: hide_when_not_rendered - weights: - build: '45' - settings: { } From b648733b9503a8ff423c864ddb8b569d9ea0a628 Mon Sep 17 00:00:00 2001 From: DuttonMa Date: Wed, 8 Dec 2021 17:32:28 +0000 Subject: [PATCH 08/45] add teaser to index --- config/mahinquiry/config/search_api.index.news.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config/mahinquiry/config/search_api.index.news.yml b/config/mahinquiry/config/search_api.index.news.yml index 5313d069ec..eba51f1dba 100644 --- a/config/mahinquiry/config/search_api.index.news.yml +++ b/config/mahinquiry/config/search_api.index.news.yml @@ -5,6 +5,7 @@ dependencies: config: - field.storage.node.body - field.storage.node.field_published_date + - field.storage.node.field_teaser - search_api.server.default module: - node @@ -30,6 +31,14 @@ field_settings: dependencies: config: - field.storage.node.field_published_date + field_teaser: + label: Teaser + datasource_id: 'entity:node' + property_path: field_teaser + type: string + dependencies: + config: + - field.storage.node.field_teaser title: label: Title datasource_id: 'entity:node' From 3666c39a97164185babaffaf320726dc14bf5565 Mon Sep 17 00:00:00 2001 From: DuttonMa Date: Wed, 8 Dec 2021 17:49:11 +0000 Subject: [PATCH 09/45] add facet summary --- ...ts_summary.facets_summary.news_summary.yml | 25 +++++++++++++++++++ .../config/views.view.news_search.yml | 4 +++ 2 files changed, 29 insertions(+) create mode 100644 config/mahinquiry/config/facets_summary.facets_summary.news_summary.yml diff --git a/config/mahinquiry/config/facets_summary.facets_summary.news_summary.yml b/config/mahinquiry/config/facets_summary.facets_summary.news_summary.yml new file mode 100644 index 0000000000..9bf788bdcc --- /dev/null +++ b/config/mahinquiry/config/facets_summary.facets_summary.news_summary.yml @@ -0,0 +1,25 @@ +uuid: 860640e9-110f-4a2a-996a-51a1d8207559 +langcode: en +status: true +dependencies: + config: + - search_api.index.news + - views.view.news_search + module: + - search_api +id: news_summary +name: 'Facets Summary' +facets: + published_date: + checked: true + label: 'Published date' + separator: ', ' + weight: 0 + show_count: false +facet_source_id: 'search_api:views_page__news_search__news_search_page' +processor_configs: + hide_when_not_rendered: + processor_id: hide_when_not_rendered + weights: + build: '45' + settings: { } diff --git a/config/mahinquiry/config/views.view.news_search.yml b/config/mahinquiry/config/views.view.news_search.yml index a52f9db4a5..2f179357f8 100644 --- a/config/mahinquiry/config/views.view.news_search.yml +++ b/config/mahinquiry/config/views.view.news_search.yml @@ -257,6 +257,10 @@ display: context: '0' menu_name: main exposed_block: true + cache: + type: none + defaults: + cache: false cache_metadata: max-age: -1 contexts: From 54c86d3a594d85b8dde81b39522c6632cbca74db Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 10 Dec 2021 10:38:37 +0000 Subject: [PATCH 10/45] Tiding up theme files by moving duplicated code to search module --- .../employmenttribunalsni_theme.theme | 2 - .../fiscalcommissionni_theme.theme | 35 ---------- .../mahinquiry_theme/mahinquiry_theme.theme | 34 ---------- .../niauditoffice_theme.theme | 67 ------------------- .../nifiscalcouncil_theme.theme | 34 ---------- .../octf/themes/octf_theme/octf_theme.theme | 34 ---------- .../themes/uregni_theme/uregni_theme.theme | 57 ---------------- .../urologyservicesinquiry_theme.theme | 45 ------------- 8 files changed, 308 deletions(-) diff --git a/web/sites/employmenttribunalsni/themes/employmenttribunalsni_theme/employmenttribunalsni_theme.theme b/web/sites/employmenttribunalsni/themes/employmenttribunalsni_theme/employmenttribunalsni_theme.theme index a199fa29a1..5baffbbff6 100644 --- a/web/sites/employmenttribunalsni/themes/employmenttribunalsni_theme/employmenttribunalsni_theme.theme +++ b/web/sites/employmenttribunalsni/themes/employmenttribunalsni_theme/employmenttribunalsni_theme.theme @@ -5,8 +5,6 @@ * Functions to support theming in the employmenttribunalsni_theme theme. */ -use Drupal\Component\Utility\Html; - /** * Implements hook_theme_suggestions_HOOK_alter(). */ diff --git a/web/sites/fiscalcommissionni/themes/fiscalcommissionni_theme/fiscalcommissionni_theme.theme b/web/sites/fiscalcommissionni/themes/fiscalcommissionni_theme/fiscalcommissionni_theme.theme index 25ff11c106..3b9d89a0fc 100755 --- a/web/sites/fiscalcommissionni/themes/fiscalcommissionni_theme/fiscalcommissionni_theme.theme +++ b/web/sites/fiscalcommissionni/themes/fiscalcommissionni_theme/fiscalcommissionni_theme.theme @@ -5,8 +5,6 @@ * Functions to support theming in the fiscalcommissionni_theme theme. */ -use Drupal\Component\Utility\Html; - /** * Implements hook_preprocess_html(). */ @@ -28,36 +26,3 @@ function fiscalcommissionni_theme_theme_suggestions_field_alter(array &$suggesti $suggestions[] = 'field__node__' . $variables['element']['#field_name'] . '__' . $variables['element']['#view_mode']; } } - -/** - * Implements hook_theme_suggestions_views_view_unformatted_alter(). - */ -function fiscalcommissionni_theme_theme_suggestions_views_view_unformatted_alter(array &$suggestions, array $variables) { - - $search_pages = [ - 'publication_search_page', - 'evidence_search_page', - 'news_search_page', - 'search_page', - ]; - - foreach ($search_pages as $search_page) { - if ($variables['view']->element['#display_id'] == $search_page) { - $suggestions[] = 'views_view_unformatted__search_result_page'; - } - } -} - -/** - * Implements hook_preprocess_form(). - */ -function fiscalcommissionni_theme_preprocess_form(array &$variables) { - switch ($variables['element']['#id']) { - case "views-exposed-form-publications-search-publication-search-page": - case "views-exposed-form-evidence-search-evidence-search-page": - case "views-exposed-form-news-search-news-search-page": - $variables['attributes']['class'][] = Html::cleanCssIdentifier('search-form'); - $variables['attributes']['class'][] = Html::cleanCssIdentifier('search-form--page'); - break; - } -} diff --git a/web/sites/mahinquiry/themes/mahinquiry_theme/mahinquiry_theme.theme b/web/sites/mahinquiry/themes/mahinquiry_theme/mahinquiry_theme.theme index 5891fcd759..fc4194c5b2 100644 --- a/web/sites/mahinquiry/themes/mahinquiry_theme/mahinquiry_theme.theme +++ b/web/sites/mahinquiry/themes/mahinquiry_theme/mahinquiry_theme.theme @@ -5,9 +5,6 @@ * Functions to support theming in the mahinquiry_theme theme. */ -use Drupal\block\Entity\Block; -use Drupal\Component\Utility\Html; - /** * Implements template_preprocess_views_view(). */ @@ -42,34 +39,3 @@ function mahinquiry_theme_theme_suggestions_field_alter(array &$suggestions, arr $suggestions[] = 'field__node__' . $variables['element']['#field_name'] . '__' . $variables['element']['#view_mode']; } } - -/** - * Implements hook_theme_suggestions_views_view_unformatted_alter(). - */ -function mahinquiry_theme_theme_suggestions_views_view_unformatted_alter(array &$suggestions, array $variables) { - - $search_pages = [ - 'publication_search_page', - 'news_search_page', - 'search_page', - ]; - - foreach ($search_pages as $search_page) { - if ($variables['view']->element['#display_id'] == $search_page) { - $suggestions[] = 'views_view_unformatted__search_result_page'; - } - } -} - -/** - * Implements hook_preprocess_form(). - */ -function mahinquiry_theme_preprocess_form(array &$variables) { - switch ($variables['element']['#id']) { - case "views-exposed-form-publications-search-publication-search-page": - case "views-exposed-form-news-search-news-search-page": - $variables['attributes']['class'][] = Html::cleanCssIdentifier('search-form'); - $variables['attributes']['class'][] = Html::cleanCssIdentifier('search-form--page'); - break; - } -} diff --git a/web/sites/niauditoffice/themes/niauditoffice_theme/niauditoffice_theme.theme b/web/sites/niauditoffice/themes/niauditoffice_theme/niauditoffice_theme.theme index f8a1396b28..fb5da5e68b 100644 --- a/web/sites/niauditoffice/themes/niauditoffice_theme/niauditoffice_theme.theme +++ b/web/sites/niauditoffice/themes/niauditoffice_theme/niauditoffice_theme.theme @@ -5,9 +5,6 @@ * Functions to support theming in the niauditoffice_theme theme. */ -use Drupal\block\Entity\Block; -use Drupal\Component\Utility\Html; - /** * Implements hook_preprocess_node(). */ @@ -34,15 +31,6 @@ function niauditoffice_theme_preprocess_node(array &$variables) { } } -/** - * Implements hook_theme_suggestions_views_view_alter(). - */ -function niauditoffice_theme_theme_suggestions_views_view_alter(array &$suggestions, array $variables) { - if (!empty($variables['view']->element['#display_id'])) { - $suggestions[] = 'views_view__' . $variables['view']->element['#display_id']; - } -} - /** * Implements hook_theme_suggestions_HOOK_alter(). */ @@ -51,58 +39,3 @@ function niauditoffice_theme_theme_suggestions_field_alter(array &$suggestions, $suggestions[] = 'field__node__' . $variables['element']['#field_name'] . '__' . $variables['element']['#view_mode']; } } - -/** - * Implements hook_theme_suggestions_views_view_unformatted_alter(). - */ -function niauditoffice_theme_theme_suggestions_views_view_unformatted_alter(array &$suggestions, array $variables) { - - $search_pages = [ - 'publication_search_page', - 'news_search_page', - 'search_page', - ]; - - foreach ($search_pages as $search_page) { - if ($variables['view']->element['#display_id'] == $search_page) { - $suggestions[] = 'views_view_unformatted__search_result_page'; - } - } -} - -/** - * Implements hook_preprocess_block(). - * - * Pass block region value to content so this can be used in - * niauditoffice_theme_theme_suggestions_menu_alter. - */ -function niauditoffice_theme_preprocess_block(&$variables) { - if (!empty($variables['elements']['#id'])) { - $region = Block::load($variables['elements']['#id'])->getRegion(); - $variables['content']['#attributes']['region'] = $region; - } -} - -/** - * Implements hook_theme_suggestions_menu_alter(). - * - * Provide region based menu suggestions. - */ -function niauditoffice_theme_theme_suggestions_menu_alter(&$suggestions, array $variables) { - if (!empty($variables['attributes']['region'])) { - $suggestions[] = 'menu__' . $variables['menu_name'] . '__' . $variables['attributes']['region']; - } -} - -/** - * Implements hook_preprocess_form(). - */ -function niauditoffice_theme_preprocess_form(array &$variables) { - switch ($variables['element']['#id']) { - case "views-exposed-form-publications-search-publication-search-page": - case "views-exposed-form-news-search-news-search-page": - $variables['attributes']['class'][] = Html::cleanCssIdentifier('search-form'); - $variables['attributes']['class'][] = Html::cleanCssIdentifier('search-form--page'); - break; - } -} diff --git a/web/sites/nifiscalcouncil/themes/nifiscalcouncil_theme/nifiscalcouncil_theme.theme b/web/sites/nifiscalcouncil/themes/nifiscalcouncil_theme/nifiscalcouncil_theme.theme index 3c29bb2abb..7bbbd8e5db 100755 --- a/web/sites/nifiscalcouncil/themes/nifiscalcouncil_theme/nifiscalcouncil_theme.theme +++ b/web/sites/nifiscalcouncil/themes/nifiscalcouncil_theme/nifiscalcouncil_theme.theme @@ -5,9 +5,6 @@ * Functions to support theming in the fiscalcommissionni_theme theme. */ -use Drupal\block\Entity\Block; -use Drupal\Component\Utility\Html; - /** * Implements hook_preprocess_html(). */ @@ -28,34 +25,3 @@ function nifiscalcouncil_theme_theme_suggestions_field_alter(array &$suggestions $suggestions[] = 'field__node__' . $variables['element']['#field_name'] . '__' . $variables['element']['#view_mode']; } } - -/** - * Implements hook_theme_suggestions_views_view_unformatted_alter(). - */ -function nifiscalcouncil_theme_theme_suggestions_views_view_unformatted_alter(array &$suggestions, array $variables) { - - $search_pages = [ - 'publication_search_page', - 'news_search_page', - 'search_page', - ]; - - foreach ($search_pages as $search_page) { - if ($variables['view']->element['#display_id'] == $search_page) { - $suggestions[] = 'views_view_unformatted__search_result_page'; - } - } -} - -/** - * Implements hook_preprocess_form(). - */ -function nifiscalcouncil_theme_preprocess_form(array &$variables) { - switch ($variables['element']['#id']) { - case "views-exposed-form-publications-search-publication-search-page": - case "views-exposed-form-news-search-news-search-page": - $variables['attributes']['class'][] = Html::cleanCssIdentifier('search-form'); - $variables['attributes']['class'][] = Html::cleanCssIdentifier('search-form--page'); - break; - } -} diff --git a/web/sites/octf/themes/octf_theme/octf_theme.theme b/web/sites/octf/themes/octf_theme/octf_theme.theme index 5fe006e6bb..5b7b6c42e0 100644 --- a/web/sites/octf/themes/octf_theme/octf_theme.theme +++ b/web/sites/octf/themes/octf_theme/octf_theme.theme @@ -5,9 +5,6 @@ * Functions to support theming in the octf_theme theme. */ -use Drupal\block\Entity\Block; -use Drupal\Component\Utility\Html; - /** * Implements template_preprocess_views_view(). */ @@ -41,34 +38,3 @@ function octf_theme_theme_suggestions_field_alter(array &$suggestions, array $va $suggestions[] = 'field__node__' . $variables['element']['#field_name'] . '__' . $variables['element']['#view_mode']; } } - -/** - * Implements hook_theme_suggestions_views_view_unformatted_alter(). - */ -function octf_theme_theme_suggestions_views_view_unformatted_alter(array &$suggestions, array $variables) { - - $search_pages = [ - 'publication_search_page', - 'news_search_page', - 'search_page', - ]; - - foreach ($search_pages as $search_page) { - if ($variables['view']->element['#display_id'] == $search_page) { - $suggestions[] = 'views_view_unformatted__search_result_page'; - } - } -} - -/** - * Implements hook_preprocess_form(). - */ -function octf_theme_preprocess_form(array &$variables) { - switch ($variables['element']['#id']) { - case "views-exposed-form-publications-search-publication-search-page": - case "views-exposed-form-news-search-news-search-page": - $variables['attributes']['class'][] = Html::cleanCssIdentifier('search-form'); - $variables['attributes']['class'][] = Html::cleanCssIdentifier('search-form--page'); - break; - } -} diff --git a/web/sites/uregni/themes/uregni_theme/uregni_theme.theme b/web/sites/uregni/themes/uregni_theme/uregni_theme.theme index 50fc1ef162..d9cb078469 100644 --- a/web/sites/uregni/themes/uregni_theme/uregni_theme.theme +++ b/web/sites/uregni/themes/uregni_theme/uregni_theme.theme @@ -6,9 +6,7 @@ */ use Drupal\Core\Datetime\DrupalDateTime; -use Drupal\block\Entity\Block; use Drupal\Core\Render\Markup; -use Drupal\Component\Utility\Html; /** * Implements hook_preprocess_node(). @@ -54,15 +52,6 @@ function uregni_theme_preprocess_node(array &$variables) { } } -/** - * Implements hook_theme_suggestions_views_view_alter(). - */ -function uregni_theme_theme_suggestions_views_view_alter(array &$suggestions, array $variables) { - if (!empty($variables['view']->element['#display_id'])) { - $suggestions[] = 'views_view__' . $variables['view']->element['#display_id']; - } -} - /** * Implements hook_theme_suggestions_HOOK_alter(). */ @@ -72,19 +61,6 @@ function uregni_theme_theme_suggestions_field_alter(array &$suggestions, array $ } } -/** - * Implements hook_preprocess_block(). - * - * Pass block region value to content so this can be used in - * uregni_theme_theme_suggestions_menu_alter. - */ -function uregni_theme_preprocess_block(&$variables) { - if (!empty($variables['elements']['#id'])) { - $region = Block::load($variables['elements']['#id'])->getRegion(); - $variables['content']['#attributes']['region'] = $region; - } -} - /** * Implements hook_theme_suggestions_menu_alter(). * @@ -96,25 +72,6 @@ function uregni_theme_theme_suggestions_menu_alter(&$suggestions, array $variabl } } -/** - * Implements hook_theme_suggestions_views_view_unformatted_alter(). - */ -function uregni_theme_theme_suggestions_views_view_unformatted_alter(array &$suggestions, array $variables) { - - $search_pages = [ - 'consultations_search_page', - 'publication_search_page', - 'news_search_page', - 'search_page', - ]; - - foreach ($search_pages as $search_page) { - if ($variables['view']->element['#display_id'] == $search_page) { - $suggestions[] = 'views_view_unformatted__search_result_page'; - } - } -} - /** * Implements hook_theme_suggestions_container_alter(). */ @@ -124,20 +81,6 @@ function uregni_theme_theme_suggestions_container_alter(array &$suggestions, arr } } -/** - * Implements hook_preprocess_form(). - */ -function uregni_theme_preprocess_form(array &$variables) { - switch ($variables['element']['#id']) { - case "views-exposed-form-publications-search-publication-search-page": - case "views-exposed-form-news-search-news-search-page": - case "views-exposed-form-consultations-search-consultations-search-page": - $variables['attributes']['class'][] = Html::cleanCssIdentifier('search-form'); - $variables['attributes']['class'][] = Html::cleanCssIdentifier('search-form--page'); - break; - } -} - /** * Implements hook_preprocess_html(). */ diff --git a/web/sites/urologyservicesinquiry/themes/urologyservicesinquiry_theme/urologyservicesinquiry_theme.theme b/web/sites/urologyservicesinquiry/themes/urologyservicesinquiry_theme/urologyservicesinquiry_theme.theme index 796e7aa383..007a250b8a 100755 --- a/web/sites/urologyservicesinquiry/themes/urologyservicesinquiry_theme/urologyservicesinquiry_theme.theme +++ b/web/sites/urologyservicesinquiry/themes/urologyservicesinquiry_theme/urologyservicesinquiry_theme.theme @@ -5,9 +5,6 @@ * Functions to support theming in the urologyservicesinquiry_theme theme. */ -use Drupal\block\Entity\Block; -use Drupal\Component\Utility\Html; - /** * Implements template_preprocess_views_view(). */ @@ -21,15 +18,6 @@ function urologyservicesinquiry_theme_preprocess_views_view(array &$variables) { } } -/** - * Implements hook_theme_suggestions_views_view_alter(). - */ -function urologyservicesinquiry_theme_theme_suggestions_views_view_alter(array &$suggestions, array $variables) { - if (isset($variables['view']->element['#display_id'])) { - $suggestions[] = 'views_view__' . $variables['view']->element['#display_id']; - } -} - /** * Implements hook_theme_suggestions_HOOK_alter(). */ @@ -39,25 +27,6 @@ function urologyservicesinquiry_theme_theme_suggestions_field_alter(array &$sugg } } -/** - * Implements hook_theme_suggestions_views_view_unformatted_alter(). - */ -function urologyservicesinquiry_theme_theme_suggestions_views_view_unformatted_alter(array &$suggestions, array $variables) { - - $search_pages = [ - 'consultations_search_page', - 'publication_search_page', - 'news_search_page', - 'search_page', - ]; - - foreach ($search_pages as $search_page) { - if ($variables['view']->element['#display_id'] == $search_page) { - $suggestions[] = 'views_view_unformatted__search_result_page'; - } - } -} - /** * Implements hook_theme_suggestions_container_alter(). */ @@ -67,20 +36,6 @@ function urologyservicesinquiry_theme_theme_suggestions_container_alter(array &$ } } -/** - * Implements hook_preprocess_form(). - */ -function urologyservicesinquiry_theme_preprocess_form(array &$variables) { - switch ($variables['element']['#id']) { - case "views-exposed-form-publications-search-publication-search-page": - case "views-exposed-form-news-search-news-search-page": - case "views-exposed-form-consultations-search-consultations-search-page": - $variables['attributes']['class'][] = Html::cleanCssIdentifier('search-form'); - $variables['attributes']['class'][] = Html::cleanCssIdentifier('search-form--page'); - break; - } -} - /** * Implements hook_preprocess_html(). */ From 5606ca743cf1d2cb18716490c92e4ee1887378cf Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 10 Dec 2021 10:39:09 +0000 Subject: [PATCH 11/45] Moving duplicated code to search module --- .../unity_search_pages.module | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/web/modules/custom/unity_search_pages/unity_search_pages.module b/web/modules/custom/unity_search_pages/unity_search_pages.module index e235c945a0..f4323f3a4d 100644 --- a/web/modules/custom/unity_search_pages/unity_search_pages.module +++ b/web/modules/custom/unity_search_pages/unity_search_pages.module @@ -8,6 +8,7 @@ use Solarium\Core\Query\QueryInterface; use Drupal\search_api\Query\QueryInterface as SearchApiQueryInterface; use Drupal\Core\Language\Language; +use Drupal\Component\Utility\Html; /** * Implements hook_preprocess_views_view() for views_view. @@ -60,6 +61,50 @@ function unity_search_pages_preprocess_views_view(array &$variables) { } } +/** + * Implements hook_theme_suggestions_views_view_alter(). + */ +function unity_search_pages_theme_suggestions_views_view_alter(array &$suggestions, array $variables) { + if (!empty($variables['view']->element['#display_id'])) { + $suggestions[] = 'views_view__' . $variables['view']->element['#display_id']; + } +} + +/** + * Implements hook_theme_suggestions_views_view_unformatted_alter(). + */ +function unity_search_pages_theme_suggestions_views_view_unformatted_alter(array &$suggestions, array $variables) { + + $search_pages = [ + 'consultations_search_page', + 'publication_search_page', + 'news_search_page', + 'evidence_search_page', + 'search_page', + ]; + + foreach ($search_pages as $search_page) { + if ($variables['view']->element['#display_id'] == $search_page) { + $suggestions[] = 'views_view_unformatted__search_result_page'; + } + } +} + +/** + * Implements hook_preprocess_form(). + */ +function unity_search_pages_preprocess_form(array &$variables) { + switch ($variables['element']['#id']) { + case "views-exposed-form-publications-search-publication-search-page": + case "views-exposed-form-news-search-news-search-page": + case "views-exposed-form-consultations-search-consultations-search-page": + case "views-exposed-form-evidence-search-evidence-search-page": + $variables['attributes']['class'][] = Html::cleanCssIdentifier('search-form'); + $variables['attributes']['class'][] = Html::cleanCssIdentifier('search-form--page'); + break; + } +} + /** * Implements hook_preprocess_page(). */ From ac93644d06b377faf7f73218300291a3043f3cd9 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 10 Dec 2021 15:20:53 +0000 Subject: [PATCH 12/45] Questions page search --- .../config/views.view.questions_search.yml | 265 ++++++++++++++++++ 1 file changed, 265 insertions(+) create mode 100644 config/nipolicingboard/config/views.view.questions_search.yml diff --git a/config/nipolicingboard/config/views.view.questions_search.yml b/config/nipolicingboard/config/views.view.questions_search.yml new file mode 100644 index 0000000000..310550d43c --- /dev/null +++ b/config/nipolicingboard/config/views.view.questions_search.yml @@ -0,0 +1,265 @@ +uuid: 35e69eec-6362-4b3d-8ae7-d14488eae84f +langcode: en +status: true +dependencies: + config: + - search_api.index.questions_to_the_chief_constable + module: + - search_api +id: questions_search +label: 'Questions search' +module: views +description: '' +tag: '' +base_table: search_api_index_questions_to_the_chief_constable +base_field: search_api_id +display: + default: + display_plugin: default + id: default + display_title: Default + position: 0 + display_options: + access: + type: none + options: { } + cache: + type: search_api_tag + options: { } + query: + type: views_query + options: + bypass_access: false + skip_access: false + preserve_facet_query_args: false + exposed_form: + type: basic + options: + submit_button: Apply + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + pager: + type: full + options: + items_per_page: 20 + offset: 0 + id: 0 + total_pages: null + tags: + previous: '‹ Previous' + next: 'Next ›' + first: '« First' + last: 'Last »' + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + quantity: 5 + style: + type: default + options: + grouping: { } + row_class: '' + default_row_class: false + row: + type: search_api + options: + view_modes: + 'entity:node': + question_page: search_index + fields: + board_name: + table: search_api_index_questions_to_the_chief_constable + field: board_name + id: board_name + entity_type: null + entity_field: null + plugin_id: search_api_field + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: { } + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + field_rendering: true + fallback_handler: search_api + fallback_options: + link_to_item: false + use_highlighting: false + multi_type: separator + multi_separator: ', ' + filters: + search_api_fulltext: + id: search_api_fulltext + table: search_api_index_questions_to_the_chief_constable + field: search_api_fulltext + relationship: none + group_type: group + admin_label: '' + operator: or + value: '' + group: 1 + exposed: true + expose: + operator_id: search_api_fulltext_op + label: 'Search questions' + description: '' + use_operator: false + operator: search_api_fulltext_op + operator_limit_selection: false + operator_list: { } + identifier: query_questions + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + administrator: '0' + author_user: '0' + supervisor_user: '0' + placeholder: Keywords + expose_fields: false + searched_fields_id: search_api_fulltext_searched_fields + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + parse_mode: terms + min_length: null + fields: { } + plugin_id: search_api_fulltext + sorts: + field_published_date: + id: field_published_date + table: search_api_index_questions_to_the_chief_constable + field: field_published_date + relationship: none + group_type: group + admin_label: '' + order: DESC + exposed: false + expose: + label: '' + plugin_id: search_api + title: 'Questions search' + header: { } + footer: { } + empty: + area: + id: area + table: views + field: area + relationship: none + group_type: group + admin_label: '' + empty: true + tokenize: false + content: + value: 'There are no results found.' + format: basic_html + plugin_id: text + relationships: { } + arguments: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'user.node_grants:view' + tags: + - 'config:search_api.index.questions_to_the_chief_constable' + questions_search_page: + display_plugin: page + id: questions_search_page + display_title: Page + position: 1 + display_options: + display_extenders: + metatag_display_extender: { } + path: questions + exposed_block: true + cache: + type: none + defaults: + cache: false + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'user.node_grants:view' + tags: + - 'config:search_api.index.questions_to_the_chief_constable' From a08a187183a0de283824f4dba5ba2f5641793cfa Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 10 Dec 2021 15:21:49 +0000 Subject: [PATCH 13/45] Facet settings for questions --- .../config/facets.facet.committee.yml | 62 +++++++++++++++ .../config/facets.facet.question_type.yml | 62 +++++++++++++++ .../config/facets.facet.questions_date.yml | 75 +++++++++++++++++++ ...uestions_search__questions_search_page.yml | 12 +++ 4 files changed, 211 insertions(+) create mode 100644 config/nipolicingboard/config/facets.facet.committee.yml create mode 100644 config/nipolicingboard/config/facets.facet.question_type.yml create mode 100644 config/nipolicingboard/config/facets.facet.questions_date.yml create mode 100644 config/nipolicingboard/config/facets.facet_source.search_api__views_page__questions_search__questions_search_page.yml diff --git a/config/nipolicingboard/config/facets.facet.committee.yml b/config/nipolicingboard/config/facets.facet.committee.yml new file mode 100644 index 0000000000..4b05e69271 --- /dev/null +++ b/config/nipolicingboard/config/facets.facet.committee.yml @@ -0,0 +1,62 @@ +uuid: 1a2b50f3-ca12-429e-bac8-fba5fffdc9b2 +langcode: en +status: true +dependencies: + config: + - search_api.index.questions_to_the_chief_constable + - views.view.questions_search + module: + - facets_pretty_paths + - search_api +third_party_settings: + facets_pretty_paths: + coder: default_coder +id: committee +name: Committee +url_alias: committee +weight: 0 +min_count: 1 +show_only_one_result: false +field_identifier: committee_name +facet_source_id: 'search_api:views_page__questions_search__questions_search_page' +widget: + type: links + config: + show_numbers: true + soft_limit: 20 + soft_limit_settings: + show_less_label: 'Show less' + show_more_label: 'Show more' + show_reset_link: false + reset_text: 'Show all' + hide_reset_when_no_selection: false +query_operator: and +use_hierarchy: false +keep_hierarchy_parents_active: false +expand_hierarchy: false +enable_parent_when_child_gets_disabled: true +hard_limit: 50 +exclude: false +only_visible_when_facet_source_is_visible: true +processor_configs: + active_widget_order: + processor_id: active_widget_order + weights: + sort: 20 + settings: + sort: ASC + display_value_widget_order: + processor_id: display_value_widget_order + weights: + sort: 40 + settings: + sort: ASC + url_processor_handler: + processor_id: url_processor_handler + weights: + pre_query: 50 + build: 15 + settings: { } +empty_behavior: + behavior: none +show_title: false diff --git a/config/nipolicingboard/config/facets.facet.question_type.yml b/config/nipolicingboard/config/facets.facet.question_type.yml new file mode 100644 index 0000000000..3f3f5cee60 --- /dev/null +++ b/config/nipolicingboard/config/facets.facet.question_type.yml @@ -0,0 +1,62 @@ +uuid: 0c6709f2-514a-4b7b-baf6-ad283cbfa098 +langcode: en +status: true +dependencies: + config: + - search_api.index.questions_to_the_chief_constable + - views.view.questions_search + module: + - facets_pretty_paths + - search_api +third_party_settings: + facets_pretty_paths: + coder: default_coder +id: question_type +name: 'Question type' +url_alias: type +weight: 0 +min_count: 1 +show_only_one_result: false +field_identifier: field_question_type +facet_source_id: 'search_api:views_page__questions_search__questions_search_page' +widget: + type: links + config: + show_numbers: true + soft_limit: 20 + soft_limit_settings: + show_less_label: 'Show less' + show_more_label: 'Show more' + show_reset_link: false + reset_text: 'Show all' + hide_reset_when_no_selection: false +query_operator: or +use_hierarchy: false +keep_hierarchy_parents_active: false +expand_hierarchy: false +enable_parent_when_child_gets_disabled: true +hard_limit: 50 +exclude: false +only_visible_when_facet_source_is_visible: true +processor_configs: + active_widget_order: + processor_id: active_widget_order + weights: + sort: 20 + settings: + sort: ASC + display_value_widget_order: + processor_id: display_value_widget_order + weights: + sort: 40 + settings: + sort: ASC + url_processor_handler: + processor_id: url_processor_handler + weights: + pre_query: 50 + build: 15 + settings: { } +empty_behavior: + behavior: none +show_title: false diff --git a/config/nipolicingboard/config/facets.facet.questions_date.yml b/config/nipolicingboard/config/facets.facet.questions_date.yml new file mode 100644 index 0000000000..cc14ab37f7 --- /dev/null +++ b/config/nipolicingboard/config/facets.facet.questions_date.yml @@ -0,0 +1,75 @@ +uuid: f6e65335-9559-4b9e-b827-2e35c3e5a1b4 +langcode: en +status: true +dependencies: + config: + - search_api.index.questions_to_the_chief_constable + - views.view.questions_search + module: + - facets_pretty_paths + - search_api +third_party_settings: + facets_pretty_paths: + coder: default_coder +id: questions_date +name: 'Date asked' +url_alias: date +weight: 0 +min_count: 1 +show_only_one_result: false +field_identifier: field_published_date +facet_source_id: 'search_api:views_page__questions_search__questions_search_page' +widget: + type: links + config: + show_numbers: true + soft_limit: 20 + soft_limit_settings: + show_less_label: 'Show less' + show_more_label: 'Show more' + show_reset_link: false + reset_text: 'Show all' + hide_reset_when_no_selection: false +query_operator: and +use_hierarchy: false +keep_hierarchy_parents_active: false +expand_hierarchy: false +enable_parent_when_child_gets_disabled: true +hard_limit: 50 +exclude: false +only_visible_when_facet_source_is_visible: true +processor_configs: + active_widget_order: + processor_id: active_widget_order + weights: + sort: 20 + settings: + sort: ASC + date_facet_drilldown: + processor_id: date_facet_drilldown + weights: + build: 1 + settings: { } + date_item: + processor_id: date_item + weights: + build: 35 + settings: + date_display: actual_date + granularity: 6 + date_format: '' + display_value_widget_order: + processor_id: display_value_widget_order + weights: + sort: 40 + settings: + sort: ASC + url_processor_handler: + processor_id: url_processor_handler + weights: + pre_query: 50 + build: 15 + settings: { } +empty_behavior: + behavior: none +show_title: false diff --git a/config/nipolicingboard/config/facets.facet_source.search_api__views_page__questions_search__questions_search_page.yml b/config/nipolicingboard/config/facets.facet_source.search_api__views_page__questions_search__questions_search_page.yml new file mode 100644 index 0000000000..2e8763412a --- /dev/null +++ b/config/nipolicingboard/config/facets.facet_source.search_api__views_page__questions_search__questions_search_page.yml @@ -0,0 +1,12 @@ +uuid: 569256f6-d094-4ede-9fbb-4cabadb3f8c6 +langcode: en +status: true +dependencies: { } +id: search_api__views_page__questions_search__questions_search_page +name: 'search_api:views_page__questions_search__questions_search_page' +filter_key: '' +url_processor: facets_pretty_paths +breadcrumb: + active: true + before: false + group: false From 77b411a9d81c0268bafef5d9c53431fae64d5535 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 10 Dec 2021 15:22:19 +0000 Subject: [PATCH 14/45] Block settings for questions --- .../config/block.block.committee.yml | 28 +++++++++++++++++++ .../config/block.block.dateasked.yml | 28 +++++++++++++++++++ ...ications_searchpublication_search_page.yml | 2 +- ...mquestions_searchquestions_search_page.yml | 28 +++++++++++++++++++ .../config/block.block.publicationdate.yml | 2 +- .../config/block.block.publicationtype.yml | 2 +- .../config/block.block.questiontype.yml | 28 +++++++++++++++++++ .../config/block.block.sitebranding.yml | 2 +- 8 files changed, 116 insertions(+), 4 deletions(-) create mode 100644 config/nipolicingboard/config/block.block.committee.yml create mode 100644 config/nipolicingboard/config/block.block.dateasked.yml create mode 100644 config/nipolicingboard/config/block.block.exposedformquestions_searchquestions_search_page.yml create mode 100644 config/nipolicingboard/config/block.block.questiontype.yml diff --git a/config/nipolicingboard/config/block.block.committee.yml b/config/nipolicingboard/config/block.block.committee.yml new file mode 100644 index 0000000000..a6d5827dba --- /dev/null +++ b/config/nipolicingboard/config/block.block.committee.yml @@ -0,0 +1,28 @@ +uuid: d2df566c-afb3-45e8-a385-7fe61d1ceb59 +langcode: en +status: true +dependencies: + config: + - facets.facet.committee + module: + - facets + - system + theme: + - nipolicingboard_theme +id: committee +theme: nipolicingboard_theme +region: search_facets +weight: -5 +provider: null +plugin: 'facet_block:committee' +settings: + id: 'facet_block:committee' + label: Committee + provider: facets + label_display: visible + block_id: committee +visibility: + request_path: + id: request_path + pages: "/questions\r\n/questions/type/*\r\n/questions/date/*\r\n/questions/committee/*\r\n" + negate: false diff --git a/config/nipolicingboard/config/block.block.dateasked.yml b/config/nipolicingboard/config/block.block.dateasked.yml new file mode 100644 index 0000000000..f1756f275e --- /dev/null +++ b/config/nipolicingboard/config/block.block.dateasked.yml @@ -0,0 +1,28 @@ +uuid: a3886f0a-fc00-4a69-8612-df7f2061f709 +langcode: en +status: true +dependencies: + config: + - facets.facet.questions_date + module: + - facets + - system + theme: + - nipolicingboard_theme +id: dateasked +theme: nipolicingboard_theme +region: search_facets +weight: -4 +provider: null +plugin: 'facet_block:questions_date' +settings: + id: 'facet_block:questions_date' + label: Date + provider: facets + label_display: visible + block_id: dateasked +visibility: + request_path: + id: request_path + pages: "/questions\r\n/questions/type/*\r\n/questions/date/*\r\n/questions/committee/*" + negate: false diff --git a/config/nipolicingboard/config/block.block.exposedformpublications_searchpublication_search_page.yml b/config/nipolicingboard/config/block.block.exposedformpublications_searchpublication_search_page.yml index 946313f614..ac0511d8f0 100644 --- a/config/nipolicingboard/config/block.block.exposedformpublications_searchpublication_search_page.yml +++ b/config/nipolicingboard/config/block.block.exposedformpublications_searchpublication_search_page.yml @@ -12,7 +12,7 @@ dependencies: id: exposedformpublications_searchpublication_search_page theme: nipolicingboard_theme region: search_facets -weight: -6 +weight: -7 provider: null plugin: 'views_exposed_filter_block:publications_search-publication_search_page' settings: diff --git a/config/nipolicingboard/config/block.block.exposedformquestions_searchquestions_search_page.yml b/config/nipolicingboard/config/block.block.exposedformquestions_searchquestions_search_page.yml new file mode 100644 index 0000000000..dd573e4500 --- /dev/null +++ b/config/nipolicingboard/config/block.block.exposedformquestions_searchquestions_search_page.yml @@ -0,0 +1,28 @@ +uuid: ae4fa6fd-b1e0-404e-a690-fdb47d6c6157 +langcode: en +status: true +dependencies: + config: + - views.view.questions_search + module: + - system + - views + theme: + - nipolicingboard_theme +id: exposedformquestions_searchquestions_search_page +theme: nipolicingboard_theme +region: search_facets +weight: -8 +provider: null +plugin: 'views_exposed_filter_block:questions_search-questions_search_page' +settings: + id: 'views_exposed_filter_block:questions_search-questions_search_page' + label: '' + provider: views + label_display: visible + views_label: '' +visibility: + request_path: + id: request_path + pages: "/questions\r\n/questions/type/*\r\n/questions/date/*\r\n/questions/committee/*" + negate: false diff --git a/config/nipolicingboard/config/block.block.publicationdate.yml b/config/nipolicingboard/config/block.block.publicationdate.yml index 813e4428b5..01da1e10fc 100644 --- a/config/nipolicingboard/config/block.block.publicationdate.yml +++ b/config/nipolicingboard/config/block.block.publicationdate.yml @@ -12,7 +12,7 @@ dependencies: id: publicationdate theme: nipolicingboard_theme region: search_facets -weight: -4 +weight: -3 provider: null plugin: 'facet_block:publication_date' settings: diff --git a/config/nipolicingboard/config/block.block.publicationtype.yml b/config/nipolicingboard/config/block.block.publicationtype.yml index d32210d43c..2c6e345f8e 100644 --- a/config/nipolicingboard/config/block.block.publicationtype.yml +++ b/config/nipolicingboard/config/block.block.publicationtype.yml @@ -12,7 +12,7 @@ dependencies: id: publicationtype theme: nipolicingboard_theme region: search_facets -weight: -5 +weight: -2 provider: null plugin: 'facet_block:publication_type' settings: diff --git a/config/nipolicingboard/config/block.block.questiontype.yml b/config/nipolicingboard/config/block.block.questiontype.yml new file mode 100644 index 0000000000..109ecbdb60 --- /dev/null +++ b/config/nipolicingboard/config/block.block.questiontype.yml @@ -0,0 +1,28 @@ +uuid: 3b8ef625-845c-4736-a3cb-b5d4250930c4 +langcode: en +status: true +dependencies: + config: + - facets.facet.question_type + module: + - facets + - system + theme: + - nipolicingboard_theme +id: questiontype +theme: nipolicingboard_theme +region: search_facets +weight: -6 +provider: null +plugin: 'facet_block:question_type' +settings: + id: 'facet_block:question_type' + label: Type + provider: facets + label_display: visible + block_id: questiontype +visibility: + request_path: + id: request_path + pages: "/questions\r\n/questions/type/*\r\n/questions/date/*\r\n/questions/committee/*" + negate: false diff --git a/config/nipolicingboard/config/block.block.sitebranding.yml b/config/nipolicingboard/config/block.block.sitebranding.yml index 765a25501c..afe16eec63 100644 --- a/config/nipolicingboard/config/block.block.sitebranding.yml +++ b/config/nipolicingboard/config/block.block.sitebranding.yml @@ -9,7 +9,7 @@ dependencies: id: sitebranding theme: nipolicingboard_theme region: header -weight: 0 +weight: -9 provider: null plugin: system_branding_block settings: From 70f6922e33a97e7f5328c362a329ba5b59f9f87a Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 10 Dec 2021 15:22:58 +0000 Subject: [PATCH 15/45] Search API settings --- ...index.questions_to_the_chief_constable.yml | 200 ++++++++++++++++++ ...utocomplete.search.publications_search.yml | 25 +++ ...i_autocomplete.search.questions_search.yml | 25 +++ 3 files changed, 250 insertions(+) create mode 100644 config/nipolicingboard/config/search_api.index.questions_to_the_chief_constable.yml create mode 100644 config/nipolicingboard/config/search_api_autocomplete.search.publications_search.yml create mode 100644 config/nipolicingboard/config/search_api_autocomplete.search.questions_search.yml diff --git a/config/nipolicingboard/config/search_api.index.questions_to_the_chief_constable.yml b/config/nipolicingboard/config/search_api.index.questions_to_the_chief_constable.yml new file mode 100644 index 0000000000..e1e03e9ef2 --- /dev/null +++ b/config/nipolicingboard/config/search_api.index.questions_to_the_chief_constable.yml @@ -0,0 +1,200 @@ +uuid: 3429d2a4-2ce2-4e66-b103-099afc68087b +langcode: en +status: true +dependencies: + module: + - search_api_solr + - taxonomy + - node + - search_api + config: + - field.storage.node.field_nipb_board_member + - field.storage.node.field_committee + - field.storage.node.field_published_date + - field.storage.node.field_key_term + - field.storage.node.field_question_type + - field.storage.node.body + - search_api.server.solr_default +third_party_settings: + search_api_solr: + finalize: false + commit_before_finalize: false + commit_after_finalize: false + multilingual: + limit_to_content_language: false + include_language_independent: true + highlighter: + maxAnalyzedChars: 51200 + fragmenter: gap + regex: + slop: 0.5 + pattern: blank + maxAnalyzedChars: 10000 + usePhraseHighlighter: true + highlightMultiTerm: true + preserveMulti: false + highlight: + mergeContiguous: false + requireFieldMatch: false + snippets: 3 + fragsize: 0 + mlt: + mintf: 1 + mindf: 1 + maxdf: 0 + maxdfpct: 0 + minwl: 0 + maxwl: 0 + maxqt: 100 + maxntp: 2000 + boost: false + interestingTerms: none + term_modifiers: + slop: 3 + fuzzy: 1 + advanced: + index_prefix: '' + collection: '' + timezone: '' +id: questions_to_the_chief_constable +name: 'Questions to the Chief Constable' +description: '' +read_only: false +field_settings: + board_name: + label: 'Board Member » Taxonomy term » Name' + datasource_id: 'entity:node' + property_path: 'field_nipb_board_member:entity:name' + type: string + dependencies: + config: + - field.storage.node.field_nipb_board_member + module: + - taxonomy + body: + label: Response + datasource_id: 'entity:node' + property_path: body + type: text + dependencies: + config: + - field.storage.node.body + committee_name: + label: 'Committee » Taxonomy term » Name' + datasource_id: 'entity:node' + property_path: 'field_committee:entity:name' + type: string + dependencies: + config: + - field.storage.node.field_committee + module: + - taxonomy + field_published_date: + label: 'Date asked' + datasource_id: 'entity:node' + property_path: field_published_date + type: date + dependencies: + config: + - field.storage.node.field_published_date + field_question_type: + label: 'Question type' + datasource_id: 'entity:node' + property_path: field_question_type + type: string + dependencies: + config: + - field.storage.node.field_question_type + keyterm_name: + label: 'Key terms » Taxonomy term » Name' + datasource_id: 'entity:node' + property_path: 'field_key_term:entity:name' + type: string + dependencies: + config: + - field.storage.node.field_key_term + module: + - taxonomy + langcode: + label: Language + datasource_id: 'entity:node' + property_path: langcode + type: string + dependencies: + module: + - node + spelling: + label: Spelling + property_path: aggregated_field + type: solr_text_spellcheck + configuration: + type: union + fields: + - 'entity:node/title' + title: + label: Title + datasource_id: 'entity:node' + property_path: title + type: text + boost: !!float 13 + dependencies: + module: + - node + title_fulltext: + label: 'Title fulltext' + property_path: aggregated_field + type: text + boost: !!float 13 + configuration: + type: union + fields: + - 'entity:node/body' + - 'entity:node/title' +datasource_settings: + 'entity:node': + bundles: + default: false + selected: + - question_page + languages: + default: true + selected: { } +processor_settings: + add_url: { } + aggregated_field: { } + entity_status: { } + html_filter: + all_fields: true + fields: + - board_name + - body + - committee_name + - field_question_type + - keyterm_name + - langcode + - spelling + - title + - title_fulltext + title: false + alt: true + tags: + b: 2 + h1: 5 + h2: 3 + h3: 2 + strong: 2 + weights: + preprocess_index: -15 + preprocess_query: -15 + language_with_fallback: { } + rendered_item: { } + solr_date_range: + weights: + preprocess_index: 0 +tracker_settings: + default: + indexing_order: fifo +options: + index_directly: true + cron_limit: 50 +server: solr_default diff --git a/config/nipolicingboard/config/search_api_autocomplete.search.publications_search.yml b/config/nipolicingboard/config/search_api_autocomplete.search.publications_search.yml new file mode 100644 index 0000000000..c4803fca2b --- /dev/null +++ b/config/nipolicingboard/config/search_api_autocomplete.search.publications_search.yml @@ -0,0 +1,25 @@ +uuid: 70935966-4374-4c1d-94f5-f8e098af2c04 +langcode: en +status: true +dependencies: + config: + - search_api.index.publications + - views.view.publications_search + module: + - views + - search_api_autocomplete +id: publications_search +label: 'Publications search' +index_id: publications +suggester_settings: + live_results: + fields: { } + view_modes: { } +suggester_weights: { } +suggester_limits: { } +search_settings: + 'views:publications_search': + displays: + default: true + selected: { } +options: { } diff --git a/config/nipolicingboard/config/search_api_autocomplete.search.questions_search.yml b/config/nipolicingboard/config/search_api_autocomplete.search.questions_search.yml new file mode 100644 index 0000000000..ed70d97df0 --- /dev/null +++ b/config/nipolicingboard/config/search_api_autocomplete.search.questions_search.yml @@ -0,0 +1,25 @@ +uuid: 275e7686-c9a5-409a-9536-59c96a1c8b80 +langcode: en +status: true +dependencies: + config: + - search_api.index.questions_to_the_chief_constable + - views.view.questions_search + module: + - views + - search_api_autocomplete +id: questions_search +label: 'Questions search' +index_id: questions_to_the_chief_constable +suggester_settings: + live_results: + fields: { } + view_modes: { } +suggester_weights: { } +suggester_limits: { } +search_settings: + 'views:questions_search': + displays: + default: true + selected: { } +options: { } From 288e6e5c54f81da69206d42b4d0c8fa666c829e6 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 10 Dec 2021 15:23:41 +0000 Subject: [PATCH 16/45] Amended view displays for questions --- ...iew_display.node.question_page.default.yml | 1 + ...isplay.node.question_page.search_index.yml | 79 +++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 config/nipolicingboard/config/core.entity_view_display.node.question_page.search_index.yml diff --git a/config/nipolicingboard/config/core.entity_view_display.node.question_page.default.yml b/config/nipolicingboard/config/core.entity_view_display.node.question_page.default.yml index 0ddc21bafb..bea7a0dea1 100644 --- a/config/nipolicingboard/config/core.entity_view_display.node.question_page.default.yml +++ b/config/nipolicingboard/config/core.entity_view_display.node.question_page.default.yml @@ -99,3 +99,4 @@ hidden: field_political_party: true langcode: true links: true + search_api_excerpt: true diff --git a/config/nipolicingboard/config/core.entity_view_display.node.question_page.search_index.yml b/config/nipolicingboard/config/core.entity_view_display.node.question_page.search_index.yml new file mode 100644 index 0000000000..70eea2a52f --- /dev/null +++ b/config/nipolicingboard/config/core.entity_view_display.node.question_page.search_index.yml @@ -0,0 +1,79 @@ +uuid: f04ddf3d-e340-4332-8af3-45d279cba1f1 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.search_index + - field.field.node.question_page.body + - field.field.node.question_page.field_committee + - field.field.node.question_page.field_key_term + - field.field.node.question_page.field_meta_tags + - field.field.node.question_page.field_nipb_board_member + - field.field.node.question_page.field_political_party + - field.field.node.question_page.field_published_date + - field.field.node.question_page.field_question_type + - node.type.question_page + module: + - datetime + - field_group + - layout_builder + - user +third_party_settings: + field_group: + group_meta: + children: + - field_published_date + - field_nipb_board_member + - field_committee + - field_question_type + parent_name: '' + weight: 5 + format_type: html_element + region: hidden + format_settings: + id: '' + classes: question-meta + element: div + show_label: false + label_element: h3 + label_element_classes: '' + attributes: '' + effect: none + speed: fast + label: Meta + layout_builder: + allow_custom: false + enabled: false +id: node.question_page.search_index +targetEntityType: node +bundle: question_page +mode: search_index +content: + field_nipb_board_member: + type: entity_reference_label + weight: 1 + region: content + label: hidden + settings: + link: false + third_party_settings: { } + field_published_date: + type: datetime_default + weight: 0 + region: content + label: inline + settings: + timezone_override: '' + format_type: unity_date + third_party_settings: { } +hidden: + body: true + content_moderation_control: true + field_committee: true + field_key_term: true + field_meta_tags: true + field_political_party: true + field_question_type: true + langcode: true + links: true + search_api_excerpt: true From c64ce171ca488019b3546c44233f8e045262108d Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 10 Dec 2021 15:25:34 +0000 Subject: [PATCH 17/45] Assignig taxonomies to related fields --- .../field.field.node.question_page.field_committee.yml | 8 +++++++- ...eld.field.node.question_page.field_political_party.yml | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/config/nipolicingboard/config/field.field.node.question_page.field_committee.yml b/config/nipolicingboard/config/field.field.node.question_page.field_committee.yml index 39bcb8bde0..b0259ffe8b 100644 --- a/config/nipolicingboard/config/field.field.node.question_page.field_committee.yml +++ b/config/nipolicingboard/config/field.field.node.question_page.field_committee.yml @@ -5,6 +5,7 @@ dependencies: config: - field.storage.node.field_committee - node.type.question_page + - taxonomy.vocabulary.nipb_committees id: node.question_page.field_committee field_name: field_committee entity_type: node @@ -16,8 +17,13 @@ translatable: false default_value: { } default_value_callback: '' settings: + handler: 'default:taxonomy_term' handler_settings: + target_bundles: + nipb_committees: nipb_committees sort: field: _none - handler: 'default:taxonomy_term' + direction: asc + auto_create: false + auto_create_bundle: '' field_type: entity_reference diff --git a/config/nipolicingboard/config/field.field.node.question_page.field_political_party.yml b/config/nipolicingboard/config/field.field.node.question_page.field_political_party.yml index 7c72b46eb1..ff9c7dabd1 100644 --- a/config/nipolicingboard/config/field.field.node.question_page.field_political_party.yml +++ b/config/nipolicingboard/config/field.field.node.question_page.field_political_party.yml @@ -5,6 +5,7 @@ dependencies: config: - field.storage.node.field_political_party - node.type.question_page + - taxonomy.vocabulary.nipb_political_parties id: node.question_page.field_political_party field_name: field_political_party entity_type: node @@ -16,8 +17,13 @@ translatable: false default_value: { } default_value_callback: '' settings: + handler: 'default:taxonomy_term' handler_settings: + target_bundles: + nipb_political_parties: nipb_political_parties sort: field: _none - handler: 'default:taxonomy_term' + direction: asc + auto_create: false + auto_create_bundle: '' field_type: entity_reference From 6050911fb52605529bd46452288e275012747b21 Mon Sep 17 00:00:00 2001 From: DuttonMa Date: Fri, 10 Dec 2021 17:02:24 +0000 Subject: [PATCH 18/45] change cron timing --- .platform.app.yaml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.platform.app.yaml b/.platform.app.yaml index b29bca9876..0da0e09997 100644 --- a/.platform.app.yaml +++ b/.platform.app.yaml @@ -152,35 +152,35 @@ web: # The configuration of scheduled execution. crons: uregni: - spec: '*/5 * * * *' + spec: '10 * * * *' cmd: 'cd web/sites/uregni ; drush core-cron' odscni: - spec: '*/5 * * * *' + spec: '10 * * * *' cmd: 'cd web/sites/odscni ; drush core-cron' fiscalcommissionni: - spec: '*/5 * * * *' + spec: '10 * * * *' cmd: 'cd web/sites/fiscalcommissionni ; drush core-cron' niauditoffice: - spec: '*/5 * * * *' + spec: '10 * * * *' cmd: 'cd web/sites/niauditoffice ; drush core-cron' nifiscalcouncil: - spec: '*/5 * * * *' + spec: '10 * * * *' cmd: 'cd web/sites/nifiscalcouncil ; drush core-cron' octf: - spec: '*/5 * * * *' + spec: '10 * * * *' cmd: 'cd web/sites/octf ; drush core-cron' urologyservicesinquiry: - spec: '*/5 * * * *' + spec: '10 * * * *' cmd: 'cd web/sites/urologyservicesinquiry ; drush core-cron' mahinquiry: - spec: '*/5 * * * *' + spec: '10 * * * *' cmd: 'cd web/sites/mahinquiry ; drush core-cron' employmenttribunalsni: - spec: '*/5 * * * *' + spec: '10 * * * *' cmd: 'cd web/sites/employmenttribunalsni ; drush core-cron' independentreviewofeducation: - spec: '*/5 * * * *' + spec: '10 * * * *' cmd: 'cd web/sites/independentreviewofeducation ; drush core-cron' nipolicingboard: - spec: '*/5 * * * *' + spec: '10 * * * *' cmd: 'cd web/sites/nipolicingboard ; drush core-cron' From 6bb3349c9f9a14d1ee4ade81c7a85530941ed659 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 13 Dec 2021 10:41:32 +0000 Subject: [PATCH 19/45] Some more config for questions search --- .../config/block.block.pagetitle.yml | 2 +- ...isplay.node.question_page.search_index.yml | 23 ------------ ...mmary.facets_summary.questions_summary.yml | 37 +++++++++++++++++++ .../config/search_api.server.solr_default.yml | 8 ++-- .../config/views.view.questions_search.yml | 5 ++- 5 files changed, 45 insertions(+), 30 deletions(-) create mode 100644 config/nipolicingboard/config/facets_summary.facets_summary.questions_summary.yml diff --git a/config/nipolicingboard/config/block.block.pagetitle.yml b/config/nipolicingboard/config/block.block.pagetitle.yml index 9281bfa6d9..9d1c28b737 100644 --- a/config/nipolicingboard/config/block.block.pagetitle.yml +++ b/config/nipolicingboard/config/block.block.pagetitle.yml @@ -20,5 +20,5 @@ settings: visibility: request_path: id: request_path - pages: "/search\r\n/publications-search\r\n/publications-search/type/*\r\n/publications-search/date/*" + pages: "/search\r\n/publications-search\r\n/publications-search/type/*\r\n/publications-search/date/*\r\n/questions\r\n/questions/date/*\r\n/questions/type/*\r\n/questions/committee/*\r\n" negate: true diff --git a/config/nipolicingboard/config/core.entity_view_display.node.question_page.search_index.yml b/config/nipolicingboard/config/core.entity_view_display.node.question_page.search_index.yml index 70eea2a52f..81143ac4a0 100644 --- a/config/nipolicingboard/config/core.entity_view_display.node.question_page.search_index.yml +++ b/config/nipolicingboard/config/core.entity_view_display.node.question_page.search_index.yml @@ -15,32 +15,9 @@ dependencies: - node.type.question_page module: - datetime - - field_group - layout_builder - user third_party_settings: - field_group: - group_meta: - children: - - field_published_date - - field_nipb_board_member - - field_committee - - field_question_type - parent_name: '' - weight: 5 - format_type: html_element - region: hidden - format_settings: - id: '' - classes: question-meta - element: div - show_label: false - label_element: h3 - label_element_classes: '' - attributes: '' - effect: none - speed: fast - label: Meta layout_builder: allow_custom: false enabled: false diff --git a/config/nipolicingboard/config/facets_summary.facets_summary.questions_summary.yml b/config/nipolicingboard/config/facets_summary.facets_summary.questions_summary.yml new file mode 100644 index 0000000000..8fbbb4813e --- /dev/null +++ b/config/nipolicingboard/config/facets_summary.facets_summary.questions_summary.yml @@ -0,0 +1,37 @@ +uuid: 24168d83-46c9-4d23-947e-af79b03fb0db +langcode: en +status: true +dependencies: + config: + - search_api.index.questions_to_the_chief_constable + - views.view.questions_search + module: + - search_api +id: questions_summary +name: 'Questions summary' +facets: + committee: + checked: true + label: Committee + separator: ', ' + weight: 0 + show_count: false + question_type: + checked: true + label: 'Question type' + separator: ', ' + weight: 0 + show_count: false + questions_date: + checked: true + label: 'Date asked' + separator: ', ' + weight: 0 + show_count: false +facet_source_id: 'search_api:views_page__questions_search__questions_search_page' +processor_configs: + hide_when_not_rendered: + processor_id: hide_when_not_rendered + weights: + build: '45' + settings: { } diff --git a/config/nipolicingboard/config/search_api.server.solr_default.yml b/config/nipolicingboard/config/search_api.server.solr_default.yml index c00cec7dd5..bc043ad85c 100644 --- a/config/nipolicingboard/config/search_api.server.solr_default.yml +++ b/config/nipolicingboard/config/search_api.server.solr_default.yml @@ -8,14 +8,14 @@ dependencies: - search_api_solr.solr_cache.cache_filter_default_7_0_0 - search_api_solr.solr_cache.cache_persegfilter_default_7_0_0 - search_api_solr.solr_cache.cache_queryresult_default_7_0_0 - - search_api_solr.solr_field_type.text_edge_und_7_0_0 + - search_api_solr.solr_field_type.text_edge_und_6_0_0 - search_api_solr.solr_field_type.text_edgestring_und_6_0_0 - - search_api_solr.solr_field_type.text_en_7_0_0 - - search_api_solr.solr_field_type.text_ngram_und_7_0_0 + - search_api_solr.solr_field_type.text_en_6_0_0 + - search_api_solr.solr_field_type.text_ngram_und_6_0_0 - search_api_solr.solr_field_type.text_ngramstring_und_6_0_0 - search_api_solr.solr_field_type.text_phonetic_en_7_0_0 - search_api_solr.solr_field_type.text_phonetic_und_7_0_0 - - search_api_solr.solr_field_type.text_und_7_0_0 + - search_api_solr.solr_field_type.text_und_6_0_0 - search_api_solr.solr_request_dispatcher.request_dispatcher_httpcachingnever_default_7_0_0 - search_api_solr.solr_request_handler.request_handler_autocomplete_default_7_0_0 - search_api_solr.solr_request_handler.request_handler_extract_default_7_0_0 diff --git a/config/nipolicingboard/config/views.view.questions_search.yml b/config/nipolicingboard/config/views.view.questions_search.yml index 310550d43c..3a31f150ed 100644 --- a/config/nipolicingboard/config/views.view.questions_search.yml +++ b/config/nipolicingboard/config/views.view.questions_search.yml @@ -209,7 +209,7 @@ display: expose: label: '' plugin_id: search_api - title: 'Questions search' + title: 'Questions to the Chief Constable' header: { } footer: { } empty: @@ -250,7 +250,8 @@ display: path: questions exposed_block: true cache: - type: none + type: search_api_tag + options: { } defaults: cache: false cache_metadata: From 189d52b398341e2ffa9a2c41c9a9851905ab7007 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 13 Dec 2021 10:41:58 +0000 Subject: [PATCH 20/45] Styles and templates for questions search --- .../themes/nipolicingboard_theme/css/base.css | 666 +++++- .../nipolicingboard_theme/css/components.css | 2009 ++++++++++++++++- .../css/init/kss-chroma-markup.css | 7 + .../nipolicingboard_theme/css/layout.css | 884 +++++++- .../src/scss/layout.scss | 3 +- ...ode--question-page--search-index.html.twig | 76 + ...-nipb-board-member--search-index.html.twig | 41 + ...eld-published-date--search-index.html.twig | 44 + ...iews-view--questions-search-page.html.twig | 68 + 9 files changed, 3794 insertions(+), 4 deletions(-) create mode 100644 web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/content/node--question-page--search-index.html.twig create mode 100644 web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-nipb-board-member--search-index.html.twig create mode 100644 web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-published-date--search-index.html.twig create mode 100644 web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/views/views-view--questions-search-page.html.twig diff --git a/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/base.css b/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/base.css index 1a0d246f6f..1d79c9c3fa 100644 --- a/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/base.css +++ b/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/base.css @@ -1 +1,665 @@ -html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.clear{clear:both;display:block;overflow:hidden;visibility:hidden;width:0;height:0}.clear::after{clear:both;content:' ';display:block;font-size:0;line-height:0;visibility:hidden;width:0;height:0}video{display:block}audio{max-width:100%}iframe{width:100%;min-height:170px;margin:1.5em 0}* html .clear{height:1%}*{-webkit-box-sizing:border-box;box-sizing:border-box}html{font-size:62.5%}body{font-size:1.6rem;line-height:1.5;margin:1em 0 1.5em;margin:0;font-family:"Open Sans",sans-serif;color:#111}@media screen and (min-width: 766px){body{font-size:1.8rem}}a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper){color:#0e6bb3;text-decoration:none}#content a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper),.content a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper),#footer a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper){border-bottom:1px solid #0e6bb3;margin:0 -1px;padding:0 1px}#content a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):hover:not(.facet-item--link):not(.facet--btn),.content a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):hover:not(.facet-item--link):not(.facet--btn),#footer a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):hover:not(.facet-item--link):not(.facet--btn){border-bottom:2px solid #333}a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):focus:not(.facet-item--link):not(.facet--btn):not(.news-link){color:#fff;background:#0e6bb3}#content a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):focus:not(.facet-item--link):not(.facet--btn):not(.news-link),.content a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):focus:not(.facet-item--link):not(.facet--btn):not(.news-link),#footer a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):focus:not(.facet-item--link):not(.facet--btn):not(.news-link){border-bottom:0;margin:0}#block-mainpagecontent .content a{overflow-wrap:break-word}.skip-link,.skip-link:visited{opacity:.75;-webkit-transition:opacity .3s 0s;transition:opacity .3s 0s;color:#fff;background-color:#000;outline:none;text-align:center}.skip-link::after,.skip-link:visited::after{content:' ';display:inline-block;width:1.5em;height:.75em;background:transparent url('../images/arrow-down.png?17d90291160') no-repeat 50% 50%;background-size:1.6rem auto}.skip-link:focus{font-size:1.6rem;line-height:1.5;margin:1em 0 1.5em;opacity:1;display:block;line-height:1.5;padding:.9rem 3.5rem;color:#fff;text-decoration:underline;outline:none;overflow:hidden;white-space:nowrap;background-color:#333}@media screen and (min-width: 766px){.skip-link:focus{font-size:1.8rem}}h1,h2,h3,h4,h5,h6{font-weight:bold;color:#111}h1{font-size:3.6rem;line-height:4.2rem;margin:2.3rem 0 2.3rem}h1 .subtitle{font-size:2.4rem;font-weight:normal}h1 .subtitle::before{content:' \2014 '}h2{font-size:2.1rem;margin:3.6rem 0 1.2rem}h3{font-size:1.8rem;margin:2.4rem 0 1.2rem}h4{font-size:1.6rem;margin:2.4rem 0 0}h5{font-size:1.6rem;margin:0 0 0.6rem}h6{font-size:1.6rem;margin:0 0 0.6rem}p{margin-bottom:1.8rem;color:#111}code{background:#fafafa;text-shadow:1px 1px #fff;border:1px solid #bbb;display:block;padding:7px;margin:5px 0;border-radius:7px}mark{background-color:#fdfc9b;font-style:italic;font-weight:bold}del{text-decoration:line-through}abbr,acronym{border-bottom:1px dotted #999;cursor:help}cite,em,i{font-style:italic}ins{background-color:#fdfc9b;text-decoration:none}pre{background:#d8d8d8;text-shadow:1px 1px #fff;border:1px solid #bbb;padding:7px;margin:5px 0;border-radius:7px}b,strong{font-weight:bold}sup,sub{font-size:1rem;height:0;line-height:1;vertical-align:baseline;position:relative}sup{bottom:1ex}sub{top:.5ex}address{font-style:normal}hr{border:0;border-top:1px solid #eee}ol,ul{list-style:none}ul{list-style-type:disc;margin:1.2rem 0 1.8rem 2.4rem}ul ul{list-style-type:square;margin-bottom:0}ul ul ul{list-style-type:circle}ol{list-style-type:decimal;margin:1.2rem 0 1.8rem 2.4rem}ol ol{list-style:upper-alpha;margin-bottom:0}ol ol ol{list-style:lower-roman}ol ol ol ol{list-style:lower-alpha}dt{font-weight:bold;margin-bottom:2.4rem}dd{margin-left:30px;margin-bottom:2.4rem}li{padding-bottom:.6rem}blockquote,q{quotes:none;border:0;display:-webkit-box;display:-ms-flexbox;display:flex}blockquote::before,blockquote::after,q::before,q::after{content:'';padding:1rem .5rem .5rem 4.7rem;text-shadow:1px 1px #fff;margin:5px 0;border-radius:7px;background:transparent url('../images/quote.png?17d90291163') no-repeat scroll 0 0}blockquote::after,q::after{-webkit-transform:rotate(180deg);transform:rotate(180deg)}img,svg,video{max-width:100%;height:auto}img{outline:0}svg:not(:root){overflow:hidden}fieldset{background:#fff;border:1px solid #ccc;margin-top:1rem;margin-bottom:3.2rem;padding:0 0 1rem;position:relative;top:12px;border-radius:4px/4px}fieldset.collapsed{background:transparent;border-radius:0}fieldset.collapsed legend{border-radius:4px}fieldset legend{background:#dbdbdb;border:solid #ccc;border-width:1px 1px 0;display:block;height:2em;left:-1px;line-height:2;padding:0;position:absolute;text-indent:1rem;text-shadow:0 1px 0 #fff;top:-12px;width:100%;border-top-left-radius:4px;border-top-right-radius:4px}fieldset .fieldset-wrapper{padding:0 1rem}fieldset .fieldset-description{margin-top:.5rem;margin-bottom:1em;line-height:1.4;font-style:italic}input:not(input[type='radio']){border-radius:0;margin:.2rem 0;padding:.4rem;-webkit-appearance:none}input,textarea{font-size:.929em}textarea{line-height:1.5}@media screen and (max-width: 440px){textarea.form-textarea{width:100%}}textarea.form-textarea,select.form-select{padding:.4rem}@media screen and (max-width: 440px){input.form-text,select.form-select{width:93%}}input.form-text,textarea.form-textarea,select.form-select{border:1px solid #555}button:not(.toolbar-icon):not(.ui-button):not(.trigger):not(.slick-arrow):not([id^=slick-slide-control]):not([id^=accordion]),input[type='submit'],input[type='reset'],input[type='button']{background-image:-webkit-gradient(linear, left top, left bottom, from(#fff), to(#e3e3e3));background-image:linear-gradient(to bottom, #fff 0%, #e3e3e3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff', endColorstr='#e3e3e3');border:1px solid #dbdbdb;border-radius:0;-webkit-box-shadow:inset 0 1px 0 0 white;box-shadow:inset 0 1px 0 0 white;color:#777;text-shadow:0 1px 0 white;position:relative;font-weight:bold;padding:.5rem 1em .6rem}button:not(.toolbar-icon):not(.ui-button):not(.trigger):not(.slick-arrow):not([id^=slick-slide-control]):not([id^=accordion]):hover,input[type='submit']:hover,input[type='reset']:hover,input[type='button']:hover{background-image:-webkit-gradient(linear, left top, left bottom, from(#dbdbdb), to(#f2f2f2));background-image:linear-gradient(to bottom, #dbdbdb 0%, #f2f2f2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dbdbdb', endColorstr='#f2f2f2');-webkit-box-shadow:inset 0 1px 0 0 white;box-shadow:inset 0 1px 0 0 white;cursor:pointer}input.form-checkbox,input.form-radio{vertical-align:baseline}table{width:100%;margin-bottom:1.8rem;background:#fff;border-collapse:collapse;border-spacing:0;border:1px solid #bbb}th,tr,td{vertical-align:middle}th{background:#2e3d4a;border-right:1px solid #c8c7c7;color:#fff;padding:10px;font-weight:bold}.sticky-header th,.sticky-table th{border-bottom:3px solid #ccc;padding-right:1em;text-align:left}td{background:#fff;color:#747474;text-align:left;padding:10px;border:1px solid #dbdbdb} +/* + * @file + * Helper partial to outline the order partials should be loaded in this section - used for reference & in the style guide. + */ +/* Vertical rhythm presets =========================================== */ +/* Breakpoints ======================================================== */ +/* + * @file + * Helper partial to outline the order partials should be loaded in this section - used for reference & in the style guide. + */ +/* line 2, node_modules/nicsdru_unity_theme/src/scss/1_base/_html5.scss */ +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + vertical-align: baseline; +} + +/* HTML5 display-role reset for older browsers */ +/* line 23, node_modules/nicsdru_unity_theme/src/scss/1_base/_html5.scss */ +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +menu, +nav, +section { + display: block; +} + +/* line 37, node_modules/nicsdru_unity_theme/src/scss/1_base/_html5.scss */ +.clear { + clear: both; + display: block; + overflow: hidden; + visibility: hidden; + width: 0; + height: 0; +} + +/* line 46, node_modules/nicsdru_unity_theme/src/scss/1_base/_html5.scss */ +.clear::after { + clear: both; + content: ' '; + display: block; + font-size: 0; + line-height: 0; + visibility: hidden; + width: 0; + height: 0; +} + +/* line 57, node_modules/nicsdru_unity_theme/src/scss/1_base/_html5.scss */ +video { + display: block; +} + +/* line 61, node_modules/nicsdru_unity_theme/src/scss/1_base/_html5.scss */ +audio { + max-width: 100%; +} + +/* line 65, node_modules/nicsdru_unity_theme/src/scss/1_base/_html5.scss */ +iframe { + width: 100%; + min-height: 170px; + margin: 1.5em 0; +} + +/* + * @file + * Resets and creates defaults for root html elements. + */ +/* line 22, node_modules/nicsdru_unity_theme/src/scss/1_base/_root.scss */ +* html .clear { + height: 1%; +} + +/* line 26, node_modules/nicsdru_unity_theme/src/scss/1_base/_root.scss */ +* { + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +/* line 30, node_modules/nicsdru_unity_theme/src/scss/1_base/_root.scss */ +html { + font-size: 62.5%; +} + +/* line 34, node_modules/nicsdru_unity_theme/src/scss/1_base/_root.scss */ +body { + font-size: 1.6rem; + line-height: 1.5; + margin: 1em 0 1.5em; + margin: 0; + font-family: "Open Sans", sans-serif; + color: #111; +} + +@media screen and (min-width: 766px) { + /* line 34, node_modules/nicsdru_unity_theme/src/scss/1_base/_root.scss */ + body { + font-size: 1.8rem; + } +} + +/* line 27, node_modules/nicsdru_unity_theme/src/scss/1_base/_links.scss */ +a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper) { + color: #0e6bb3; + text-decoration: none; +} + +/* line 31, node_modules/nicsdru_unity_theme/src/scss/1_base/_links.scss */ +#content a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper), +.content a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper), +#footer a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper) { + border-bottom: 1px solid #0e6bb3; + margin: 0 -1px; + padding: 0 1px; +} + +/* line 40, node_modules/nicsdru_unity_theme/src/scss/1_base/_links.scss */ +#content a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):hover:not(.facet-item--link):not(.facet--btn), +.content a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):hover:not(.facet-item--link):not(.facet--btn), +#footer a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):hover:not(.facet-item--link):not(.facet--btn) { + border-bottom: 2px solid #333; +} + +/* line 47, node_modules/nicsdru_unity_theme/src/scss/1_base/_links.scss */ +a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):focus:not(.facet-item--link):not(.facet--btn):not(.news-link) { + color: #fff; + background: #0e6bb3; +} + +/* line 51, node_modules/nicsdru_unity_theme/src/scss/1_base/_links.scss */ +#content a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):focus:not(.facet-item--link):not(.facet--btn):not(.news-link), +.content a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):focus:not(.facet-item--link):not(.facet--btn):not(.news-link), +#footer a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):focus:not(.facet-item--link):not(.facet--btn):not(.news-link) { + border-bottom: 0; + margin: 0; +} + +/* line 65, node_modules/nicsdru_unity_theme/src/scss/1_base/_links.scss */ +#block-mainpagecontent .content a { + overflow-wrap: break-word; +} + +/* line 69, node_modules/nicsdru_unity_theme/src/scss/1_base/_links.scss */ +.skip-link, +.skip-link:visited { + opacity: .75; + -webkit-transition: opacity .3s 0s; + transition: opacity .3s 0s; + color: #fff; + background-color: #000; + outline: none; + text-align: center; +} + +/* line 78, node_modules/nicsdru_unity_theme/src/scss/1_base/_links.scss */ +.skip-link::after, +.skip-link:visited::after { + content: ' '; + display: inline-block; + width: 1.5em; + height: .75em; + background: transparent url('../images/arrow-down.png?17d90291160') no-repeat 50% 50%; + background-size: 1.6rem auto; +} + +/* line 88, node_modules/nicsdru_unity_theme/src/scss/1_base/_links.scss */ +.skip-link:focus { + font-size: 1.6rem; + line-height: 1.5; + margin: 1em 0 1.5em; + opacity: 1; + display: block; + line-height: 1.5; + padding: .9rem 3.5rem; + color: #fff; + text-decoration: underline; + outline: none; + overflow: hidden; + white-space: nowrap; + background-color: #333; +} + +@media screen and (min-width: 766px) { + /* line 88, node_modules/nicsdru_unity_theme/src/scss/1_base/_links.scss */ + .skip-link:focus { + font-size: 1.8rem; + } +} + +/* + * @file + * Sets out the base behaviour of heading elements. + */ +/* line 17, node_modules/nicsdru_unity_theme/src/scss/1_base/_headings.scss */ +h1, h2, h3, h4, h5, h6 { + font-weight: bold; + color: #111; +} + +/* line 22, node_modules/nicsdru_unity_theme/src/scss/1_base/_headings.scss */ +h1 { + font-size: 3.6rem; + line-height: 4.2rem; + margin: 2.3rem 0 2.3rem; +} + +/* line 25, node_modules/nicsdru_unity_theme/src/scss/1_base/_headings.scss */ +h1 .subtitle { + font-size: 2.4rem; + font-weight: normal; +} + +/* line 29, node_modules/nicsdru_unity_theme/src/scss/1_base/_headings.scss */ +h1 .subtitle::before { + content: ' \2014 '; +} + +/* line 35, node_modules/nicsdru_unity_theme/src/scss/1_base/_headings.scss */ +h2 { + font-size: 2.1rem; + margin: 3.6rem 0 1.2rem; +} + +/* line 39, node_modules/nicsdru_unity_theme/src/scss/1_base/_headings.scss */ +h3 { + font-size: 1.8rem; + margin: 2.4rem 0 1.2rem; +} + +/* line 43, node_modules/nicsdru_unity_theme/src/scss/1_base/_headings.scss */ +h4 { + font-size: 1.6rem; + margin: 2.4rem 0 0; +} + +/* line 47, node_modules/nicsdru_unity_theme/src/scss/1_base/_headings.scss */ +h5 { + font-size: 1.6rem; + margin: 0 0 0.6rem; +} + +/* line 51, node_modules/nicsdru_unity_theme/src/scss/1_base/_headings.scss */ +h6 { + font-size: 1.6rem; + margin: 0 0 0.6rem; +} + +/* + * @file + * Sets out the base behaviour of text elements. + */ +/* line 25, node_modules/nicsdru_unity_theme/src/scss/1_base/_text.scss */ +p { + margin-bottom: 1.8rem; + color: #111; +} + +/* line 39, node_modules/nicsdru_unity_theme/src/scss/1_base/_text.scss */ +code { + background: #fafafa; + text-shadow: 1px 1px #fff; + border: 1px solid #bbb; + display: block; + padding: 7px; + margin: 5px 0; + border-radius: 7px; +} + +/* line 59, node_modules/nicsdru_unity_theme/src/scss/1_base/_text.scss */ +mark { + background-color: #fdfc9b; + font-style: italic; + font-weight: bold; +} + +/* line 74, node_modules/nicsdru_unity_theme/src/scss/1_base/_text.scss */ +del { + text-decoration: line-through; +} + +/* line 91, node_modules/nicsdru_unity_theme/src/scss/1_base/_text.scss */ +abbr, +acronym { + border-bottom: 1px dotted #999; + cursor: help; +} + +/* line 110, node_modules/nicsdru_unity_theme/src/scss/1_base/_text.scss */ +cite, +em, +i { + font-style: italic; +} + +/* line 125, node_modules/nicsdru_unity_theme/src/scss/1_base/_text.scss */ +ins { + background-color: #fdfc9b; + text-decoration: none; +} + +/* line 140, node_modules/nicsdru_unity_theme/src/scss/1_base/_text.scss */ +pre { + background: #d8d8d8; + text-shadow: 1px 1px #fff; + border: 1px solid #bbb; + padding: 7px; + margin: 5px 0; + border-radius: 7px; +} + +/* line 162, node_modules/nicsdru_unity_theme/src/scss/1_base/_text.scss */ +b, +strong { + font-weight: bold; +} + +/* line 177, node_modules/nicsdru_unity_theme/src/scss/1_base/_text.scss */ +sup, +sub { + font-size: 1rem; + height: 0; + line-height: 1; + vertical-align: baseline; + position: relative; +} + +/* line 186, node_modules/nicsdru_unity_theme/src/scss/1_base/_text.scss */ +sup { + bottom: 1ex; +} + +/* line 190, node_modules/nicsdru_unity_theme/src/scss/1_base/_text.scss */ +sub { + top: .5ex; +} + +/* line 194, node_modules/nicsdru_unity_theme/src/scss/1_base/_text.scss */ +address { + font-style: normal; +} + +/* + * @file + * Sets out the base behaviour of grouping elements. + */ +/* line 21, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ +hr { + border: 0; + border-top: 1px solid #eee; +} + +/* line 59, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ +ol, +ul { + list-style: none; +} + +/* line 64, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ +ul { + list-style-type: disc; + margin: 1.2rem 0 1.8rem 2.4rem; +} + +/* line 68, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ +ul ul { + list-style-type: square; + margin-bottom: 0; +} + +/* line 72, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ +ul ul ul { + list-style-type: circle; +} + +/* line 78, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ +ol { + list-style-type: decimal; + margin: 1.2rem 0 1.8rem 2.4rem; +} + +/* line 82, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ +ol ol { + list-style: upper-alpha; + margin-bottom: 0; +} + +/* line 86, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ +ol ol ol { + list-style: lower-roman; +} + +/* line 89, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ +ol ol ol ol { + list-style: lower-alpha; +} + +/* line 96, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ +dt { + font-weight: bold; + margin-bottom: 2.4rem; +} + +/* line 101, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ +dd { + margin-left: 30px; + margin-bottom: 2.4rem; +} + +/* line 106, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ +li { + padding-bottom: .6rem; +} + +/* line 129, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ +blockquote, +q { + quotes: none; + border: 0; + display: -webkit-box; + display: -ms-flexbox; + display: flex; +} + +/* line 135, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ +blockquote::before, blockquote::after, +q::before, +q::after { + content: ''; + padding: 1rem .5rem .5rem 4.7rem; + text-shadow: 1px 1px #fff; + margin: 5px 0; + border-radius: 7px; + background: transparent url('../images/quote.png?17d90291163') no-repeat scroll 0 0; +} + +/* line 145, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ +blockquote::after, +q::after { + -webkit-transform: rotate(180deg); + transform: rotate(180deg); +} + +/* line 14, node_modules/nicsdru_unity_theme/src/scss/1_base/_embedded.scss */ +img, +svg, +video { + max-width: 100%; + height: auto; +} + +/* line 22, node_modules/nicsdru_unity_theme/src/scss/1_base/_embedded.scss */ +img { + outline: 0; +} + +/* line 34, node_modules/nicsdru_unity_theme/src/scss/1_base/_embedded.scss */ +svg:not(:root) { + overflow: hidden; +} + +/* line 20, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ +fieldset { + background: #fff; + border: 1px solid #ccc; + margin-top: 1rem; + margin-bottom: 3.2rem; + padding: 0 0 1rem; + position: relative; + top: 12px; + border-radius: 4px/4px; +} + +/* line 30, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ +fieldset.collapsed { + background: transparent; + border-radius: 0; +} + +/* line 34, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ +fieldset.collapsed legend { + border-radius: 4px; +} + +/* line 39, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ +fieldset legend { + background: #dbdbdb; + border: solid #ccc; + border-width: 1px 1px 0; + display: block; + height: 2em; + left: -1px; + line-height: 2; + padding: 0; + position: absolute; + text-indent: 1rem; + text-shadow: 0 1px 0 #fff; + top: -12px; + width: 100%; + border-top-left-radius: 4px; + border-top-right-radius: 4px; +} + +/* line 57, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ +fieldset .fieldset-wrapper { + padding: 0 1rem; +} + +/* line 61, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ +fieldset .fieldset-description { + margin-top: .5rem; + margin-bottom: 1em; + line-height: 1.4; + font-style: italic; +} + +/* line 69, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ +input:not(input[type='radio']) { + border-radius: 0; + margin: .2rem 0; + padding: .4rem; + -webkit-appearance: none; +} + +/* line 76, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ +input, +textarea { + font-size: .929em; +} + +/* line 81, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ +textarea { + line-height: 1.5; +} + +@media screen and (max-width: 440px) { + /* line 84, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ + textarea.form-textarea { + width: 100%; + } +} + +/* line 91, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ +textarea.form-textarea, +select.form-select { + padding: .4rem; +} + +@media screen and (max-width: 440px) { + /* line 96, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ + input.form-text, + select.form-select { + width: 93%; + } +} + +/* line 103, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ +input.form-text, +textarea.form-textarea, +select.form-select { + border: 1px solid #555; +} + +/* line 109, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ +button:not(.toolbar-icon):not(.ui-button):not(.trigger):not(.slick-arrow):not([id^=slick-slide-control]):not([id^=accordion]), +input[type='submit'], +input[type='reset'], +input[type='button'] { + background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e3e3e3)); + background-image: linear-gradient(to bottom, #fff 0%, #e3e3e3 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff', endColorstr='#e3e3e3'); + border: 1px solid #dbdbdb; + border-radius: 0; + -webkit-box-shadow: inset 0 1px 0 0 white; + box-shadow: inset 0 1px 0 0 white; + color: #777; + text-shadow: 0 1px 0 white; + position: relative; + font-weight: bold; + padding: .5rem 1em .6rem; +} + +/* line 124, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ +button:not(.toolbar-icon):not(.ui-button):not(.trigger):not(.slick-arrow):not([id^=slick-slide-control]):not([id^=accordion]):hover, +input[type='submit']:hover, +input[type='reset']:hover, +input[type='button']:hover { + background-image: -webkit-gradient(linear, left top, left bottom, from(#dbdbdb), to(#f2f2f2)); + background-image: linear-gradient(to bottom, #dbdbdb 0%, #f2f2f2 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dbdbdb', endColorstr='#f2f2f2'); + -webkit-box-shadow: inset 0 1px 0 0 white; + box-shadow: inset 0 1px 0 0 white; + cursor: pointer; +} + +/* line 132, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ +input.form-checkbox, +input.form-radio { + vertical-align: baseline; +} + +/* line 10, node_modules/nicsdru_unity_theme/src/scss/1_base/_tables.scss */ +table { + width: 100%; + margin-bottom: 1.8rem; + background: #fff; + border-collapse: collapse; + border-spacing: 0; + border: 1px solid #bbb; +} + +/* line 19, node_modules/nicsdru_unity_theme/src/scss/1_base/_tables.scss */ +th, +tr, +td { + vertical-align: middle; +} + +/* line 25, node_modules/nicsdru_unity_theme/src/scss/1_base/_tables.scss */ +th { + background: #2e3d4a; + border-right: 1px solid #c8c7c7; + color: #fff; + padding: 10px; + font-weight: bold; +} + +/* line 32, node_modules/nicsdru_unity_theme/src/scss/1_base/_tables.scss */ +.sticky-header th, +.sticky-table th { + border-bottom: 3px solid #ccc; + padding-right: 1em; + text-align: left; +} + +/* line 40, node_modules/nicsdru_unity_theme/src/scss/1_base/_tables.scss */ +td { + background: #fff; + color: #747474; + text-align: left; + padding: 10px; + border: 1px solid #dbdbdb; +} + +/*# sourceMappingURL=base.css.map */ \ No newline at end of file diff --git a/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/components.css b/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/components.css index 9809aef8f0..543cdf93cd 100644 --- a/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/components.css +++ b/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/components.css @@ -1 +1,2008 @@ -.region-primary-menu .menu_wrapper{width:100%}@media screen and (max-width: 766px){.region-primary-menu .menu_wrapper{margin:0}}#main-menu{max-width:1024px;margin:0 auto;position:relative;background-color:rgba(0,0,0,0)}#main-menu .nav-main{height:auto;min-height:44px}@media screen and (max-width: 766px){#main-menu .nav-main{height:0;overflow:hidden;min-height:0}}#main-menu .menu-main{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0;margin:0;list-style:none}@media screen and (max-width: 766px){#main-menu .menu-main{display:block;max-width:100%;float:none}}#main-menu .menu-main_sub{display:none;list-style:none;position:absolute;z-index:9999;padding:0;margin:0;background:rgba(0,0,0,0);overflow:visible !important}@media screen and (max-width: 766px){#main-menu .menu-main_sub{position:static;border:0}}#main-menu .menu-main_sub ul{left:100%;top:0;margin-left:1px}@media screen and (max-width: 766px){#main-menu .menu-main_sub ul{margin:0;border:0}}#main-menu .menu-main_sub .menu-item{float:none;min-width:150px;padding:0;margin:0;position:relative;width:100%}#main-menu .menu-main_sub .menu-item.open{background:#141f6f}@media screen and (max-width: 766px){#main-menu .menu-main_sub .menu-item.open{background:rgba(26,26,26,0)}}@media screen and (max-width: 766px){#main-menu .menu-main_sub .menu-item{margin:0;width:100%;text-align:center;border-right:0;background:rgba(26,26,26,0)}#main-menu .menu-main_sub .menu-item .menu-item .menu-link{background:rgba(31,31,31,0)}}#main-menu .menu-main_sub .menu-item span.active{font-weight:bold;text-align:left;padding-left:1.1rem}#main-menu .menu-main_sub .menu-link,#main-menu .menu-main_sub .active{font-size:1.4rem;min-width:150px;margin:0;border-top:1px solid #fff;text-align:left;overflow:hidden;padding:.8rem 1.1rem;border-radius:0;color:#fff}@media screen and (max-width: 766px){#main-menu .menu-main_sub .menu-link,#main-menu .menu-main_sub .active{border-top:1px solid #fff}}@media screen and (min-width: 766px){#main-menu .menu-main_sub .menu-link,#main-menu .menu-main_sub .active{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}}#main-menu .menu-item{font-size:1.4rem;line-height:2.4rem;position:relative;padding:0;margin:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}@media screen and (max-width: 766px){#main-menu .menu-item{float:none;max-width:100%}}#main-menu .menu-item.open>ul{display:block}#main-menu .menu-item.open .menu-toggle-btn{background:#fff;color:rgba(0,0,0,0);font-weight:bold}#main-menu .menu-link,#main-menu .menu .active{border-bottom:5px solid transparent;padding:1.1rem 0 .4rem;display:block;text-decoration:none;color:#fff;font-weight:500;min-width:44px;text-align:center}@media screen and (max-width: 766px){#main-menu .menu-link,#main-menu .menu .active{width:100%;padding:13px 2%;border-radius:0;border-bottom:1px solid #fff;border-right:0;text-align:left}}#main-menu .menu-link:hover,#main-menu .menu-link:focus{background:#151d68}#main-menu .menu .menu-item .active,#main-menu .menu .menu-item .active+.menu-main_sub .title a{background:rgba(191,191,191,0.25);border-bottom-color:#cad400}#main-menu .ico{width:1rem;height:1rem;margin:0 0 0 5px}#main-menu .menu-item.open .ico{-webkit-transform:rotate(270deg);transform:rotate(270deg)}#main-menu .menu-item .menu-main_sub .ico{-webkit-transform:none;transform:none}@media screen and (max-width: 766px){#main-menu .menu-item .menu-main_sub .ico{-webkit-transform:rotate(90deg);transform:rotate(90deg)}}#main-menu .menu-item .menu-main_sub .open .ico{-webkit-transform:rotate(180deg);transform:rotate(180deg)}@media screen and (max-width: 766px){#main-menu .menu-item .menu-main_sub .open .ico{-webkit-transform:rotate(270deg);transform:rotate(270deg)}}#main-menu .toggler{position:absolute;top:0;left:-.5rem;z-index:2;cursor:pointer;height:1px;width:1px;overflow:hidden;opacity:0;max-height:5rem;min-height:5rem;display:none}@media screen and (max-width: 766px){#main-menu .toggler{top:-5.2rem;left:.5rem;width:5rem;height:5rem;display:block}#main-menu .toggler:checked+.hamburger>div{-webkit-transform:rotate(135deg);transform:rotate(135deg)}#main-menu .toggler:checked+.hamburger>div::before,#main-menu .toggler:checked+.hamburger>div::after{top:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}#main-menu .toggler:checked:hover+.hamburger>div{-webkit-transform:rotate(225deg);transform:rotate(225deg)}#main-menu .toggler:checked ~ .nav-main{height:auto;-webkit-transition:max-height 1s ease;transition:max-height 1s ease}}#main-menu .toggler-label{display:none}@media screen and (max-width: 766px){#main-menu .toggler-label{display:block}}#main-menu .hamburger{position:absolute;top:-6.7rem;left:.5rem;z-index:1;width:auto;height:50px;padding:1rem;display:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}@media screen and (max-width: 766px){#main-menu .hamburger{display:-webkit-box;display:-ms-flexbox;display:flex}#main-menu .hamburger>div{position:relative;-webkit-box-flex:0;-ms-flex:none;flex:none;width:2.1rem;height:.3rem;background:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-transition:all .4s ease;transition:all .4s ease}#main-menu .hamburger>div::after,#main-menu .hamburger>div::before{content:'';position:absolute;z-index:1;top:-.9rem;left:0;width:100%;height:.3rem;background:#fff}#main-menu .hamburger>div::after{top:.9rem}#main-menu .hamburger-text{color:#fff;padding-left:1rem}}.menu-link_button{background:transparent;border:0;-webkit-box-shadow:none;box-shadow:none;text-shadow:none;font-size:1.4rem}.path-search #main-menu .hamburger{top:-5.1rem}.breadcrumb{font-size:1.3rem;border-bottom:1px solid #eee;line-height:2.5rem}.breadcrumb .breadcrumb--list{list-style:none;margin:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;padding:.5rem 0}.breadcrumb .breadcrumb--item{display:-webkit-box;display:-ms-flexbox;display:flex;margin:0;padding:0;line-height:1.5;-ms-flex-negative:0;flex-shrink:0}.breadcrumb .breadcrumb--item a{border:0;padding:.4rem 0}.breadcrumb .breadcrumb--item::after{content:"»";margin:0;padding:0 .3rem}.breadcrumb .breadcrumb--item:last-child{-ms-flex-negative:1;flex-shrink:1}.breadcrumb .breadcrumb--item:last-child::after{content:none}#pager .pager__items{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;line-height:5rem;text-align:left;list-style:none;margin:1.5em 0;padding:0}#pager .pager__item{margin:.2rem;padding:0;border:0}#pager .pager__item--first{margin-left:0}#pager .pager__item--last{margin-right:0}@media screen and (max-width: 476px){#pager .pager__item.pager-hide-small{display:none}}@media screen and (max-width: 641px){#pager .pager__item.pager-hide-phab{display:none}}#pager .pager__item a,#pager .pager__item .pager__item-current,#pager .pager__item--ellipsis{display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:1.6rem;min-width:4.4rem;min-height:4.4rem;line-height:4.2rem;margin:0;padding:0 .6rem;text-align:center;text-decoration:none}@media (min-width: 766px){#pager .pager__item a,#pager .pager__item .pager__item-current,#pager .pager__item--ellipsis{min-width:4.5rem;min-height:4.5rem;line-height:4.3rem}}#pager .pager__item--ellipsis{min-width:0}@media screen and (max-width: 476px){#pager .pager__item--ellipsis.pager-ellipsis-hide{display:none}}#pager .pager__item a,#pager .pager__item a:active,#pager .pager__item a:focus,#pager .pager__item a:visited{color:#0e6bb3;background-color:#fff;border:1px solid #666}#pager .pager__item a:focus{outline:3px solid #0e6bb3}#pager .pager__item a:hover{color:#fff;background-color:#0e6bb3;border-color:#0e6bb3;text-decoration:none}#pager .pager__item.is-active a,#pager .pager__item.is-active .pager__item-current{background-color:#0e6bb3;color:#fff}#pager .pager__item--first a,#pager .pager__item--previous a,#pager .pager__item--next a,#pager .pager__item--last a{padding:0 .6rem}.toc-menu{background:transparent;border-top:1px solid #999;border-bottom:1px solid #999;margin:1em 0 1.5em;padding:0}.toc-menu .skip-link{margin:1em 0}.toc-menu .menu-title{font-size:1.6rem;line-height:1.5;margin:1em 0 1.5em;font-weight:bold;margin:1em 0 .5em}@media screen and (min-width: 766px){.toc-menu .menu-title{font-size:1.8rem}}.toc-menu .nav-menu{margin:0 0 2.7rem;list-style:none;padding:0}.toc-menu .nav-menu .nav-item{font-size:1.6rem;line-height:1.5;margin:1em 0 1.5em;margin:0;padding:0 0 .6rem 1rem;position:relative}@media screen and (min-width: 766px){.toc-menu .nav-menu .nav-item{font-size:1.8rem}}.toc-menu .nav-menu .nav-item::before{content:'-';position:absolute;left:0;top:0}.toc-menu .nav-menu .nav-item:last-child{padding-bottom:0}body.toolbar-tray-open.toolbar-vertical.toolbar-fixed{margin-left:18rem}.toolbar-tab .toolbar-tray.toolbar-tray-vertical{width:18rem}.block{margin-bottom:2%}@media screen and (max-width: 961px){.block{margin-bottom:2%}}.block:last-child{margin:0}.block>h2{font-size:3.6rem;line-height:4.2rem;margin:2.3rem 0 2.3rem;margin:.5rem 0 1.5rem;padding:1rem;overflow:hidden;text-align:left}@media screen and (max-width: 440px){.block>h2{font-size:1.8rem}}#search-facets .facet--title a.facet--btn,#content .facet--title a.facet--btn{background-color:#333;display:block;line-height:4rem;min-height:4rem;min-width:100px;padding:0 .5em;text-align:left;text-decoration:none;vertical-align:middle;width:100%;font-size:1.6rem}@media (min-width: 641px){#search-facets .facet--title a.facet--btn,#content .facet--title a.facet--btn{min-width:120px;font-size:1.8rem}}#search-facets .facet--title a.facet--btn:link,#search-facets .facet--title a.facet--btn:visited,#content .facet--title a.facet--btn:link,#content .facet--title a.facet--btn:visited{color:#fff}#search-facets .facet--title a.facet--btn:hover,#content .facet--title a.facet--btn:hover{background-color:#111;text-decoration:none}#search-facets .facet--title a.facet--btn:focus,#content .facet--title a.facet--btn:focus{outline:3px solid #949494;outline-offset:-2px;background-color:#111;border-bottom-width:2px}#search-facets .facet--title a.facet--btn:active,#search-facets .facet--title a.facet--btn.active,#content .facet--title a.facet--btn:active,#content .facet--title a.facet--btn.active{background-color:#111;border-color:#111;text-decoration:none}#search-facets .facet--title a.facet--btn .ico-arrow-down,#content .facet--title a.facet--btn .ico-arrow-down{fill:#fff;float:right;height:2rem;margin:1rem;width:2rem;-webkit-transition:-webkit-transform .4s ease;transition:-webkit-transform .4s ease;transition:transform .4s ease;transition:transform .4s ease, -webkit-transform .4s ease}#search-facets .facet--title a.facet--btn.active .ico-arrow-down,#content .facet--title a.facet--btn.active .ico-arrow-down{-webkit-transform:rotate(270deg);transform:rotate(270deg)}#search-facets .facet--dropdown-links,#content .facet--dropdown-links{margin:1em 0}#search-facets .facet--title,#content .facet--title{margin:0}#search-facets .facet-list__links,#content .facet-list__links{margin:.1rem 0 .6rem;list-style:none}#search-facets .facet-list__links .facet-item ul,#content .facet-list__links .facet-item ul{padding:0;margin:0;list-style:none}#search-facets .facet-list__links .facet-item ul .facet-item,#content .facet-list__links .facet-item ul .facet-item{position:relative;padding:0 0 0 1.2rem;margin:0}#search-facets .facet-list__links .facet-item ul .facet-item::before,#content .facet-list__links .facet-item ul .facet-item::before{content:'-';position:absolute;left:.5em;top:.5em}#search-facets .facet-item,#search-facets .facet-summary-item--facet,#content .facet-item,#content .facet-summary-item--facet{margin:0;padding:0}#search-facets .facet-item__label,#search-facets .facet-summary-item--facet__label,#content .facet-item__label,#content .facet-summary-item--facet__label{font-size:1.6rem;line-height:2.4rem;padding:1rem 0}#search-facets .facet-item__label::after,#search-facets .facet-summary-item--facet__label::after,#content .facet-item__label::after,#content .facet-summary-item--facet__label::after{content:':'}#search-facets .facet-item a,#search-facets .facet-item--link,#search-facets .facet-summary-item--facet a,#search-facets .facet-summary-item--facet--link,#content .facet-item a,#content .facet-item--link,#content .facet-summary-item--facet a,#content .facet-summary-item--facet--link{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:auto;font-size:1.6rem;line-height:2.4rem;padding:.4rem .6rem;margin:.6rem 0;text-decoration:none;color:#0e6bb3}#search-facets .facet-item a:hover .facet-item__value,#search-facets .facet-item--link:hover .facet-item__value,#search-facets .facet-summary-item--facet a:hover .facet-item__value,#search-facets .facet-summary-item--facet--link:hover .facet-item__value,#content .facet-item a:hover .facet-item__value,#content .facet-item--link:hover .facet-item__value,#content .facet-summary-item--facet a:hover .facet-item__value,#content .facet-summary-item--facet--link:hover .facet-item__value{-webkit-text-decoration:2px underline #333;text-decoration:2px underline #333}#search-facets .facet-item a .facet-item__value,#search-facets .facet-item--link .facet-item__value,#search-facets .facet-summary-item--facet a .facet-item__value,#search-facets .facet-summary-item--facet--link .facet-item__value,#content .facet-item a .facet-item__value,#content .facet-item--link .facet-item__value,#content .facet-summary-item--facet a .facet-item__value,#content .facet-summary-item--facet--link .facet-item__value{text-decoration:underline}#search-facets .facet-item a .facet-item__status,#search-facets .facet-item--link .facet-item__status,#search-facets .facet-summary-item--facet a .facet-item__status,#search-facets .facet-summary-item--facet--link .facet-item__status,#content .facet-item a .facet-item__status,#content .facet-item--link .facet-item__status,#content .facet-summary-item--facet a .facet-item__status,#content .facet-summary-item--facet--link .facet-item__status{-ms-flex-negative:0;flex-shrink:0}#search-facets .facet-item a:visited,#search-facets .facet-item--link:visited,#search-facets .facet-summary-item--facet a:visited,#search-facets .facet-summary-item--facet--link:visited,#content .facet-item a:visited,#content .facet-item--link:visited,#content .facet-summary-item--facet a:visited,#content .facet-summary-item--facet--link:visited{color:#0e6bb3}#search-facets .facet-item a:focus,#search-facets .facet-item--link:focus,#search-facets .facet-summary-item--facet a:focus,#search-facets .facet-summary-item--facet--link:focus,#content .facet-item a:focus,#content .facet-item--link:focus,#content .facet-summary-item--facet a:focus,#content .facet-summary-item--facet--link:focus{background-color:#0e6bb3;color:#fff;outline:0}#search-facets .facet-item a:focus>*,#search-facets .facet-item--link:focus>*,#search-facets .facet-summary-item--facet a:focus>*,#search-facets .facet-summary-item--facet--link:focus>*,#content .facet-item a:focus>*,#content .facet-item--link:focus>*,#content .facet-summary-item--facet a:focus>*,#content .facet-summary-item--facet--link:focus>*{text-decoration:none}#search-facets .facet-item__value,#search-facets .facet-summary-item--facet__value,#content .facet-item__value,#content .facet-summary-item--facet__value{display:inline-block;padding:0 .4rem}#search-facets .facet-item__count,#search-facets .facet-summary-item--facet__count,#content .facet-item__count,#content .facet-summary-item--facet__count{text-decoration:none;white-space:nowrap}#search-facets .facet-item__status,#search-facets .facet-summary-item--facet__status,#content .facet-item__status,#content .facet-summary-item--facet__status{display:inline-block;position:relative;vertical-align:middle;width:2rem;height:2rem;margin:0;padding:0;background-color:#666;color:#fff;text-decoration:none}#search-facets .facet-item__status::before,#search-facets .facet-item__status::after,#search-facets .facet-summary-item--facet__status::before,#search-facets .facet-summary-item--facet__status::after,#content .facet-item__status::before,#content .facet-item__status::after,#content .facet-summary-item--facet__status::before,#content .facet-summary-item--facet__status::after{content:' ';display:block;width:.2rem;height:1rem;background-color:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg);position:absolute;left:.9rem;top:.5rem}#search-facets .facet-item__status::after,#search-facets .facet-summary-item--facet__status::after,#content .facet-item__status::after,#content .facet-summary-item--facet__status::after{-webkit-transform:rotate(130deg);transform:rotate(130deg)}#search-facets .facet-item a.is-active,#search-facets .facet-summary-item--facet a,#content .facet-item a.is-active,#content .facet-summary-item--facet a{background-color:#cee4f6;color:#333}#search-facets .facet-item a.is-active:visited,#search-facets .facet-summary-item--facet a:visited,#content .facet-item a.is-active:visited,#content .facet-summary-item--facet a:visited{color:#333}#search-facets .facet-item a.is-active:focus,#search-facets .facet-summary-item--facet a:focus,#content .facet-item a.is-active:focus,#content .facet-summary-item--facet a:focus{outline:3px solid #333;outline-offset:-1px;background-color:#cee4f6}#search-facets .facet-item a.is-active .facet-item__value,#search-facets .facet-summary-item--facet a .facet-item__value,#content .facet-item a.is-active .facet-item__value,#content .facet-summary-item--facet a .facet-item__value{text-decoration:none;padding-left:0}#search-facets .facet-item a.is-active:hover .facet-item__status,#search-facets .facet-item a.is-active:focus .facet-item__status,#search-facets .facet-summary-item--facet a:hover .facet-item__status,#search-facets .facet-summary-item--facet a:focus .facet-item__status,#content .facet-item a.is-active:hover .facet-item__status,#content .facet-item a.is-active:focus .facet-item__status,#content .facet-summary-item--facet a:hover .facet-item__status,#content .facet-summary-item--facet a:focus .facet-item__status{background-color:darkorange}#search-facets .facet-summary-item--facet a,#content .facet-summary-item--facet a{margin:0 .5em}#search-facets .facet-summary,#content .facet-summary{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0;padding:0}#search-facets .facet-summary__label,#content .facet-summary__label{margin:0;padding:0}#search-facets .facet-summary__list,#content .facet-summary__list{list-style:none;margin:0;padding:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap}#search-facets a.facets-soft-limit-link,#content a.facets-soft-limit-link{display:inline-block;font-size:1.6rem;line-height:2.4rem;padding:.4rem 4rem .4rem .8rem;position:relative}#search-facets a.facets-soft-limit-link:focus,#content a.facets-soft-limit-link:focus{outline:0;background-color:#0e6bb3;color:#fff;text-decoration:none}#search-facets a.facets-soft-limit-link::after,#content a.facets-soft-limit-link::after{content:'';display:block;position:absolute;top:.4rem;right:.4rem;width:2.4rem;height:2.4rem;border:1px solid #333;background:#fff url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2025%2015%22%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%20.st0%7Bfill%3A%23333333%3Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3B%7D%20%3C%2Fstyle%3E%3Cpath%20class%3D%22st0%22%20d%3D%22M12.5%200L0%2012l3%203%209.5-10L22%2015l3-3L12.5%200z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat scroll center center/12px auto;-webkit-transform:rotate(180deg);transform:rotate(180deg)}#search-facets a.facets-soft-limit-link:hover::after,#search-facets a.facets-soft-limit-link:focus::after,#content a.facets-soft-limit-link:hover::after,#content a.facets-soft-limit-link:focus::after{border-color:#fff;background:#0e6bb3 url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2025%2015%22%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%20.st0%7Bfill%3A%23ffffff%3Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3B%7D%20%3C%2Fstyle%3E%3Cpath%20class%3D%22st0%22%20d%3D%22M12.5%200L0%2012l3%203%209.5-10L22%2015l3-3L12.5%200z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat scroll center center/12px auto}#search-facets a.facets-soft-limit-link.open::after,#content a.facets-soft-limit-link.open::after{-webkit-transform:rotate(0deg);transform:rotate(0deg)}#search-facets #post-content .facet-summary-item--facet a,#content #post-content .facet-summary-item--facet a{margin:0 .5em;border-bottom:none;padding:.4rem .6rem}#search-facets #post-content .facet-summary-item--facet a:hover,#content #post-content .facet-summary-item--facet a:hover{border-bottom:none}#search-facets #post-content .facet-summary-item--facet a:hover .facet-item__value,#content #post-content .facet-summary-item--facet a:hover .facet-item__value{text-decoration:none}#search-facets #post-content .facet-summary-item--facet a:focus,#content #post-content .facet-summary-item--facet a:focus{outline:3px solid #333;outline-offset:-1px;background-color:#cee4f6}.submitted{background:#f7f7f7;border:1px solid #ececec;clear:both;color:#383838;display:inline-block;margin-bottom:.5rem;padding:.2rem .8rem}.form-submit{cursor:pointer}.form-text{padding:.8rem}.form-item{margin-bottom:1em;margin-top:.2rem}.form-type-radio label,.form-type-checkbox label{margin-left:.4rem}.form-type-radio .description,.form-type-checkbox .description{margin-left:.2rem}.form-actions{padding-top:1rem}fieldset{border:none}fieldset .fieldset-wrapper{margin-top:2.5rem;padding-left:0.3rem}.password-suggestions ul li{margin-left:1.2em}label{display:block}[type='text'],[type='search'],[type='tel'],[type='url'],[type='email'],[type='password'],[type='date'],[type='time'],[type='number']{width:100%;max-width:56rem;max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content}[size='30'],[size='40'],[size='50'],[size='60']{max-width:65rem}input[type="submit"]{text-decoration:none}[type='text'],[type='search'],[type='tel'],[type='url'],[type='email'],[type='password'],[type='date'],[type='time'],[type='number'],textarea{-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #555;color:#333;margin:.5em 0;padding:.6rem;min-height:3.5rem}[type='text'].error,[type='text'].error:focus,[type='search'].error,[type='search'].error:focus,[type='tel'].error,[type='tel'].error:focus,[type='url'].error,[type='url'].error:focus,[type='email'].error,[type='email'].error:focus,[type='password'].error,[type='password'].error:focus,[type='date'].error,[type='date'].error:focus,[type='time'].error,[type='time'].error:focus,[type='number'].error,[type='number'].error:focus,textarea.error,textarea.error:focus{border:1px solid #b63a1b;outline-color:#b63a1b;background-color:#ffdae0;-webkit-box-shadow:none;box-shadow:none;color:#333}.search-form{display:-ms-grid;display:grid;-ms-grid-columns:calc(100% - 5.4rem) 5.4rem;grid-template-columns:auto 5.4rem;grid-template-areas:"form-item form-action";-webkit-box-align:first baseline;-ms-flex-align:first baseline;align-items:first baseline;margin-top:40px}@media screen and (max-width: 766px){.search-form{margin-right:10px;margin-top:0}}@supports (display: grid){.search-form{margin-top:0}}@media all and (-ms-high-contrast: none), (-ms-high-contrast: active){.search-form{margin-top:0}}.search-form .form-item{margin:0;-ms-grid-column:1;grid-area:form-item;float:left;width:calc(100% - 5.4rem)}@media all and (-ms-high-contrast: none), (-ms-high-contrast: active){.search-form .form-item{width:auto}}@supports (display: grid){.search-form .form-item{float:none;width:auto}}.search-form .form-actions{padding:0;-ms-grid-column:2;grid-area:form-action;float:right}@supports (display: grid){.search-form .form-actions{float:none}}.search-form .form-submit{border:0;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;padding:0}.search-form .form-submit:hover{opacity:.8;-webkit-box-shadow:none;box-shadow:none}.search-form input{font-size:1.6rem;-webkit-box-sizing:border-box;box-sizing:border-box;height:4.5rem}@media (min-width: 766px){.search-form input{font-size:1.8rem}}.search-form input[type='submit']{background:#0e6bb3 url("data:image/svg+xml;charset=utf-8,%3Csvg%20id%3D%22Layer_1%22%20data-name%3D%22Layer%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20width%3D%22100px%22%20height%3D%22100px%22%20preserveAspectRatio%3D%22xMinYMid%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23fff%3Bfill-rule%3Aevenodd%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Ctitle%3Esearch-icon%3C%2Ftitle%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M97.5%2C77.89a6%2C6%2C0%2C0%2C1-8.25%2C1.49L64.89%2C62.65a5.85%2C5.85%2C0%2C0%2C1-2.55-5A21.59%2C21.59%2C0%2C0%2C1%2C25.4%2C46.81a21.16%2C21.16%2C0%2C0%2C1%2C3.47-16%2C21.69%2C21.69%2C0%2C0%2C1%2C30-5.42%2C21.36%2C21.36%2C0%2C0%2C1%2C7.1%2C27%2C6%2C6%2C0%2C0%2C1%2C5.67.58L96%2C69.71A5.86%2C5.86%2C0%2C0%2C1%2C97.5%2C77.89ZM61.38%2C40.3a14.8%2C14.8%2C0%2C0%2C0-6.23-9.6%2C15.12%2C15.12%2C0%2C0%2C0-20.92%2C3.77A14.88%2C14.88%2C0%2C0%2C0%2C38%2C55.24%2C15.12%2C15.12%2C0%2C0%2C0%2C59%2C51.46%2C14.74%2C14.74%2C0%2C0%2C0%2C61.38%2C40.3Z%22%2F%3E%3C%2Fsvg%3E") 0 center no-repeat;background-size:4.2rem auto;text-indent:-9999px;width:5.4rem;-webkit-filter:none;filter:none}.search-form input[type='submit']:focus{outline:3px solid #333;outline-offset:-2px;overflow:hidden}@media screen and (min-width: 320px){.search-form input[type='submit']{-webkit-box-sizing:border-box;box-sizing:border-box;margin:.5em 0;text-shadow:none;position:relative}}.search-form input[type='text']{padding:0 .8rem;width:100%}.search-form input[type='text']:focus{outline:3px solid #333;outline-offset:-2px;position:relative;z-index:101}.search-results .search-form,.search-page .search-form{max-width:500px;display:grid;margin-right:0}.search-results .search-form .form-actions,.search-page .search-form .form-actions{padding-top:0}.search-results .search-form input.form-text,.search-page .search-form input.form-text{max-width:100%;border:1px solid #ccc}.required+label{position:relative;top:100%;left:-1px;margin-top:-1px;z-index:101;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;max-width:56rem}.required+label.error{font-size:1.6rem;line-height:1.5;margin:1em 0 1.5em;font-weight:bold;display:block;position:absolute;position:relative;padding:.9rem;color:#fff;background-color:#d1431f;border:1px solid #d1431f;border-radius:3px;-webkit-box-shadow:4px 4px 9px 0 rgba(0,0,0,0.3);box-shadow:4px 4px 9px 0 rgba(0,0,0,0.3);opacity:1;margin-top:1rem}@media screen and (min-width: 766px){.required+label.error{font-size:1.8rem}}.required+label.error::after{content:'';border:.9rem solid transparent;border-bottom-color:#d1431f;position:absolute;top:-1.8rem;left:.9rem}.search-form{position:relative}.search-form .required+label.error{position:absolute;margin-top:0}#node-preview-form-select a.node-preview-backlink{color:#fff;text-align:left;display:inline-block;background-color:#3fa940;background-repeat:no-repeat;background-position-y:center;border:1px solid transparent;border-color:#3fa940;min-width:150px;min-height:4.8rem;padding:.7rem 1.6rem;position:relative;font-size:2.1rem;line-height:2.8rem}@media (min-width: 766px){#node-preview-form-select a.node-preview-backlink{min-height:5.4rem;padding:.8rem 1.8rem;font-size:2.4rem;line-height:3.6rem}}#node-preview-form-select a.node-preview-backlink::after{content:"\f2ea";display:inline-block;font-family:'Font Awesome 5 Free';font-style:normal;font-variant:normal;text-rendering:auto;-webkit-font-smoothing:antialiased;font-weight:900;padding-left:2rem}.item-list ul{margin:0;padding:0}ul.inline{clear:both}ul.primary{border:0;margin:0;padding:0}ul.primary li{float:left}ul.primary li a{border-radius:4px/0;background:none;border:0;display:block;float:left;line-height:1.5385em;margin:0 .5rem 0 0;padding:0 1em}ul.primary li a:hover,ul.primary li a:active{background:#111;border:0;color:#fff}ul.primary li a:hover{background:#888;text-decoration:none}ul.secondary{background:#111;border-bottom:0;clear:both;margin:0;padding:0}ul.secondary li{border-right:0}ul.secondary li a,ul.secondary li a:link{border:0;color:#ccc;display:block;float:left;line-height:1.5385em;padding:0 1em}ul.secondary li a:hover,ul.secondary li a.active{background:#888;color:#fff;text-decoration:none}ul.secondary a.active{border-bottom:0}.split-list{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;clear:both;float:left}.split-list li{float:left;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%;padding-right:1em}.split-list li:nth-child(odd){clear:left}.dash-list li{position:relative;list-style:none}.dash-list li::before{content:'-';position:absolute;left:-20px;top:0}a.btn{font-size:1.6rem;line-height:1.5;margin:1em 0 1.5em;display:inline-block;color:#fff;margin:1rem 0 0;text-align:center;padding:.6rem 1.6rem;cursor:pointer;background:#0e6bb3;border-radius:0;border:3px solid transparent;text-decoration:none}@media screen and (min-width: 766px){a.btn{font-size:1.8rem}}a.btn:hover,a.btn:focus{background:#666}a.btn:focus{border-color:#000}.ico{display:inline;margin-left:.2em;fill:currentColor}.ico-elink{height:1.1rem;width:1.4rem;margin-bottom:.1rem}.ico-arrow-left{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.ico-arrow-up{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.ico-arrow-down{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.info-notice,.messages{border:2px solid;margin:1.5em 0;padding:1rem 1rem 1rem 4rem}@media (min-width: 641px){.info-notice,.messages{padding:1.4rem 1.4rem 1.4rem 6rem}}.info-notice>*:first-child,.messages>*:first-child{margin-top:0}.info-notice>*:last-child,.messages>*:last-child{margin-bottom:0}.info-notice{border-color:#141f6f;background:#fff url('../images/i.svg?17d90291161') no-repeat 0.9rem 0.9rem/24px 24px}@media (min-width: 641px){.info-notice{background:#fff url('../images/i.svg?17d90291161') no-repeat 1.4rem 1.4rem/30px 30px}}.no-svg .info-notice{background-image:url('../images/i.png?17d90291161')}ul.info-notice{padding:1rem 1rem 1rem 4rem}@media (min-width: 641px){ul.info-notice{padding:1.4rem 1.4rem 1.4rem 7rem}}.messages-list{margin:2.5rem 0;list-style:none}.field .messages-list,.form-wrapper .messages-list{margin-bottom:0}.messages--error{border-color:#e34f4f;background:#fff url('../images/wrong.svg?17d90291164') no-repeat 0.9rem 0.9rem/24px 24px}@media (min-width: 641px){.messages--error{background:#fff url('../images/wrong.svg?17d90291164') no-repeat 1.4rem 1.4rem/30px 30px}}.no-svg .messages--error{background-image:url('../images/wrong.png?17d90291164')}.messages--status{border-color:#3fa940;background:#fff url('../images/status.svg?17d90291163') no-repeat 0.9rem 0.9rem/24px 24px}@media (min-width: 641px){.messages--status{background:#fff url('../images/status.svg?17d90291163') no-repeat 1.4rem 1.4rem/30px 30px}}.no-svg .messages--status{background-image:url('../images/status.png?17d90291163')}.messages--warning{border-color:#db6304;background:#fff url('../images/warning.svg?17d90291164') no-repeat 0.9rem 0.9rem/24px 24px}@media (min-width: 641px){.messages--warning{background:#fff url('../images/warning.svg?17d90291164') no-repeat 1.4rem 1.4rem/30px 30px}}.no-svg .messages--warning{background-image:url('../images/warning.png?17d90291164')}.messages__list{margin:0}.messages__item{font-size:1.8rem}.messages__item:first-child{margin-top:0}.info-notice{overflow:hidden;border-color:#004695}#main-menu .menu-link,#main-menu .menu .active,#main-menu .menu-item.open .menu-toggle-btn{color:#141f6f;font-size:1.8rem}#main-menu .menu-link:hover,#main-menu .menu-link:focus{color:#fff}#main-menu .menu .menu-item .active{border-color:#141f6f}#main-menu .menu-main_sub{background:#141f6f}#main-menu .menu-main_sub .menu-item .active{color:#fff;border-color:#fff}#main-menu .menu-main_sub .menu-item a:hover,#main-menu .menu-main_sub .menu-item a:focus{background:#0089d1}.question-meta{border-bottom:1px solid #000;margin:1.8rem 0;padding:0.9rem 0 1.8rem;width:100%}.question-meta span.inline{width:30%;display:inline-block;font-weight:bold} +@charset "UTF-8"; +/* + * @file + * Defines the components for the theme. + */ +/* Vertical rhythm presets =========================================== */ +/* Breakpoints ======================================================== */ +/* + * @file + * Helper partial to outline the order component files should be loaded - used for reference & in the style guide. + */ +/* + * @file + * Defines a main navigation component. + */ +/* line 28, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ +.region-primary-menu .menu_wrapper { + width: 100%; +} + +@media screen and (max-width: 766px) { + /* line 28, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ + .region-primary-menu .menu_wrapper { + margin: 0; + } +} + +/* line 48, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ +#main-menu { + max-width: 1024px; + margin: 0 auto; + position: relative; + background-color: transparent; +} + +/* line 54, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ +#main-menu .nav-main { + height: auto; + min-height: 44px; +} + +@media screen and (max-width: 766px) { + /* line 54, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ + #main-menu .nav-main { + height: 0; + overflow: hidden; + min-height: 0; + } +} + +/* line 66, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ +#main-menu .menu-main { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + padding: 0; + margin: 0; + list-style: none; +} + +@media screen and (max-width: 766px) { + /* line 66, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ + #main-menu .menu-main { + display: block; + max-width: 100%; + float: none; + } +} + +/* line 78, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ +#main-menu .menu-main_sub { + display: none; + list-style: none; + position: absolute; + z-index: 9999; + padding: 0; + margin: 0; + background: transparent; + overflow: visible !important; +} + +@media screen and (max-width: 766px) { + /* line 78, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ + #main-menu .menu-main_sub { + position: static; + border: 0; + } +} + +/* line 93, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ +#main-menu .menu-main_sub ul { + left: 100%; + top: 0; + margin-left: 1px; +} + +@media screen and (max-width: 766px) { + /* line 93, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ + #main-menu .menu-main_sub ul { + margin: 0; + border: 0; + } +} + +/* line 104, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ +#main-menu .menu-main_sub .menu-item { + float: none; + min-width: 150px; + padding: 0; + margin: 0; + position: relative; + width: 100%; +} + +/* line 112, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ +#main-menu .menu-main_sub .menu-item.open { + background: #141f6f; +} + +@media screen and (max-width: 766px) { + /* line 112, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ + #main-menu .menu-main_sub .menu-item.open { + background: rgba(26, 26, 26, 0); + } +} + +@media screen and (max-width: 766px) { + /* line 104, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ + #main-menu .menu-main_sub .menu-item { + margin: 0; + width: 100%; + text-align: center; + border-right: 0; + background: rgba(26, 26, 26, 0); + } + /* line 128, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ + #main-menu .menu-main_sub .menu-item .menu-item .menu-link { + background: rgba(31, 31, 31, 0); + } +} + +/* line 133, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ +#main-menu .menu-main_sub .menu-item span.active { + font-weight: bold; + text-align: left; + padding-left: 1.1rem; +} + +/* line 140, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ +#main-menu .menu-main_sub .menu-link, +#main-menu .menu-main_sub .active { + font-size: 1.4rem; + min-width: 150px; + margin: 0; + border-top: 1px solid #fff; + text-align: left; + overflow: hidden; + padding: .8rem 1.1rem; + border-radius: 0; + color: #fff; +} + +@media screen and (max-width: 766px) { + /* line 140, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ + #main-menu .menu-main_sub .menu-link, + #main-menu .menu-main_sub .active { + border-top: 1px solid #fff; + } +} + +@media screen and (min-width: 766px) { + /* line 140, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ + #main-menu .menu-main_sub .menu-link, + #main-menu .menu-main_sub .active { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + } +} + +/* line 165, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ +#main-menu .menu-item { + font-size: 1.4rem; + line-height: 2.4rem; + position: relative; + padding: 0; + margin: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +@media screen and (max-width: 766px) { + /* line 165, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ + #main-menu .menu-item { + float: none; + max-width: 100%; + } +} + +/* line 179, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ +#main-menu .menu-item.open > ul { + display: block; +} + +/* line 183, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ +#main-menu .menu-item.open .menu-toggle-btn { + background: #fff; + color: transparent; + font-weight: bold; +} + +/* line 191, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ +#main-menu .menu-link, +#main-menu .menu .active { + border-bottom: 5px solid transparent; + padding: 1.1rem 0 .4rem; + display: block; + text-decoration: none; + color: #fff; + font-weight: 500; + min-width: 44px; + text-align: center; +} + +@media screen and (max-width: 766px) { + /* line 191, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ + #main-menu .menu-link, + #main-menu .menu .active { + width: 100%; + padding: 13px 2%; + border-radius: 0; + border-bottom: 1px solid #fff; + border-right: 0; + text-align: left; + } +} + +/* line 213, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ +#main-menu .menu-link:hover, #main-menu .menu-link:focus { + background: #151d68; +} + +/* line 219, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ +#main-menu .menu .menu-item .active, +#main-menu .menu .menu-item .active + .menu-main_sub .title a { + background: rgba(191, 191, 191, 0.25); + border-bottom-color: #cad400; +} + +/* line 226, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ +#main-menu .ico { + width: 1rem; + height: 1rem; + margin: 0 0 0 5px; +} + +/* line 232, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ +#main-menu .menu-item.open .ico { + -webkit-transform: rotate(270deg); + transform: rotate(270deg); +} + +/* line 236, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ +#main-menu .menu-item .menu-main_sub .ico { + -webkit-transform: none; + transform: none; +} + +@media screen and (max-width: 766px) { + /* line 236, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ + #main-menu .menu-item .menu-main_sub .ico { + -webkit-transform: rotate(90deg); + transform: rotate(90deg); + } +} + +/* line 244, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ +#main-menu .menu-item .menu-main_sub .open .ico { + -webkit-transform: rotate(180deg); + transform: rotate(180deg); +} + +@media screen and (max-width: 766px) { + /* line 244, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ + #main-menu .menu-item .menu-main_sub .open .ico { + -webkit-transform: rotate(270deg); + transform: rotate(270deg); + } +} + +/* line 253, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ +#main-menu .toggler { + position: absolute; + top: 0; + left: -.5rem; + z-index: 2; + cursor: pointer; + height: 1px; + width: 1px; + overflow: hidden; + opacity: 0; + max-height: 5rem; + min-height: 5rem; + display: none; +} + +@media screen and (max-width: 766px) { + /* line 253, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ + #main-menu .toggler { + top: -5.2rem; + left: .5rem; + width: 5rem; + height: 5rem; + display: block; + /* Toggler Animation */ + /* Show menu */ + } + /* line 275, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ + #main-menu .toggler:checked + .hamburger > div { + -webkit-transform: rotate(135deg); + transform: rotate(135deg); + /* Turns Lines Into X */ + } + /* line 279, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ + #main-menu .toggler:checked + .hamburger > div::before, #main-menu .toggler:checked + .hamburger > div::after { + top: 0; + -webkit-transform: rotate(90deg); + transform: rotate(90deg); + } + /* line 286, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ + #main-menu .toggler:checked:hover + .hamburger > div { + -webkit-transform: rotate(225deg); + transform: rotate(225deg); + } + /* line 291, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ + #main-menu .toggler:checked ~ .nav-main { + height: auto; + -webkit-transition: max-height 1s ease; + transition: max-height 1s ease; + } +} + +/* line 298, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ +#main-menu .toggler-label { + display: none; +} + +@media screen and (max-width: 766px) { + /* line 298, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ + #main-menu .toggler-label { + display: block; + } +} + +/* line 306, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ +#main-menu .hamburger { + position: absolute; + top: -6.7rem; + left: .5rem; + z-index: 1; + width: auto; + height: 50px; + padding: 1rem; + display: none; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; +} + +@media screen and (max-width: 766px) { + /* line 306, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ + #main-menu .hamburger { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + /* Hamburger Line */ + } + /* line 322, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ + #main-menu .hamburger > div { + position: relative; + -webkit-box-flex: 0; + -ms-flex: none; + flex: none; + width: 2.1rem; + height: .3rem; + background: #fff; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-transition: all .4s ease; + transition: all .4s ease; + /* Hamburger Lines - Top & Bottom */ + /* Moves Line Down */ + } + /* line 334, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ + #main-menu .hamburger > div::after, #main-menu .hamburger > div::before { + content: ''; + position: absolute; + z-index: 1; + top: -.9rem; + left: 0; + width: 100%; + height: .3rem; + background: #fff; + } + /* line 347, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ + #main-menu .hamburger > div::after { + top: .9rem; + } + /* line 352, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ + #main-menu .hamburger-text { + color: #fff; + padding-left: 1rem; + } +} + +/* line 360, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ +.menu-link_button { + background: transparent; + border: 0; + -webkit-box-shadow: none; + box-shadow: none; + text-shadow: none; + font-size: 1.4rem; +} + +/* line 369, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ +.path-search #main-menu .hamburger { + top: -5.1rem; +} + +/* + * @file + * Defines a breadcrumb component. + */ +/* line 33, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_breadcrumb.scss */ +.breadcrumb { + font-size: 1.3rem; + border-bottom: 1px solid #eee; + line-height: 2.5rem; +} + +/* line 40, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_breadcrumb.scss */ +.breadcrumb .breadcrumb--list { + list-style: none; + margin: 0; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: baseline; + -ms-flex-align: baseline; + align-items: baseline; + padding: .5rem 0; +} + +/* line 48, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_breadcrumb.scss */ +.breadcrumb .breadcrumb--item { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + margin: 0; + padding: 0; + line-height: 1.5; + -ms-flex-negative: 0; + flex-shrink: 0; +} + +/* line 55, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_breadcrumb.scss */ +.breadcrumb .breadcrumb--item a { + border: 0; + padding: .4rem 0; +} + +/* line 60, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_breadcrumb.scss */ +.breadcrumb .breadcrumb--item::after { + content: "»"; + margin: 0; + padding: 0 .3rem; +} + +/* line 66, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_breadcrumb.scss */ +.breadcrumb .breadcrumb--item:last-child { + -ms-flex-negative: 1; + flex-shrink: 1; +} + +/* line 69, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_breadcrumb.scss */ +.breadcrumb .breadcrumb--item:last-child::after { + content: none; +} + +/* line 19, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ +#pager .pager__items { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + line-height: 5rem; + text-align: left; + list-style: none; + margin: 1.5em 0; + padding: 0; +} + +/* line 29, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ +#pager .pager__item { + margin: .2rem; + padding: 0; + border: 0; +} + +/* line 34, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ +#pager .pager__item--first { + margin-left: 0; +} + +/* line 38, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ +#pager .pager__item--last { + margin-right: 0; +} + +@media screen and (max-width: 476px) { + /* line 42, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ + #pager .pager__item.pager-hide-small { + display: none; + } +} + +@media screen and (max-width: 641px) { + /* line 48, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ + #pager .pager__item.pager-hide-phab { + display: none; + } +} + +/* line 54, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ +#pager .pager__item a, +#pager .pager__item .pager__item-current, #pager .pager__item--ellipsis { + display: inline-block; + -webkit-box-sizing: border-box; + box-sizing: border-box; + font-size: 1.6rem; + min-width: 4.4rem; + min-height: 4.4rem; + line-height: 4.2rem; + margin: 0; + padding: 0 .6rem; + text-align: center; + text-decoration: none; +} + +@media (min-width: 766px) { + /* line 54, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ + #pager .pager__item a, + #pager .pager__item .pager__item-current, #pager .pager__item--ellipsis { + min-width: 4.5rem; + min-height: 4.5rem; + line-height: 4.3rem; + } +} + +/* line 75, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ +#pager .pager__item--ellipsis { + min-width: 0; +} + +@media screen and (max-width: 476px) { + /* line 78, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ + #pager .pager__item--ellipsis.pager-ellipsis-hide { + display: none; + } +} + +/* line 85, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ +#pager .pager__item a, +#pager .pager__item a:active, +#pager .pager__item a:focus, +#pager .pager__item a:visited { + color: #0e6bb3; + background-color: #fff; + border: 1px solid #666; +} + +/* line 94, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ +#pager .pager__item a:focus { + outline: 3px solid #0e6bb3; +} + +/* line 98, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ +#pager .pager__item a:hover { + color: #fff; + background-color: #0e6bb3; + border-color: #0e6bb3; + text-decoration: none; +} + +/* line 105, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ +#pager .pager__item.is-active a, +#pager .pager__item.is-active .pager__item-current { + background-color: #0e6bb3; + color: #fff; +} + +/* line 111, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ +#pager .pager__item--first a, +#pager .pager__item--previous a, +#pager .pager__item--next a, +#pager .pager__item--last a { + padding: 0 .6rem; +} + +/* line 11, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_toc.scss */ +.toc-menu { + background: transparent; + border-top: 1px solid #999; + border-bottom: 1px solid #999; + margin: 1em 0 1.5em; + padding: 0; +} + +/* line 18, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_toc.scss */ +.toc-menu .skip-link { + margin: 1em 0; +} + +/* line 22, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_toc.scss */ +.toc-menu .menu-title { + font-size: 1.6rem; + line-height: 1.5; + margin: 1em 0 1.5em; + font-weight: bold; + margin: 1em 0 .5em; +} + +@media screen and (min-width: 766px) { + /* line 22, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_toc.scss */ + .toc-menu .menu-title { + font-size: 1.8rem; + } +} + +/* line 28, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_toc.scss */ +.toc-menu .nav-menu { + margin: 0 0 2.7rem; + list-style: none; + padding: 0; +} + +/* line 33, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_toc.scss */ +.toc-menu .nav-menu .nav-item { + font-size: 1.6rem; + line-height: 1.5; + margin: 1em 0 1.5em; + margin: 0; + padding: 0 0 .6rem 1rem; + position: relative; +} + +@media screen and (min-width: 766px) { + /* line 33, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_toc.scss */ + .toc-menu .nav-menu .nav-item { + font-size: 1.8rem; + } +} + +/* line 39, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_toc.scss */ +.toc-menu .nav-menu .nav-item::before { + content: '-'; + position: absolute; + left: 0; + top: 0; +} + +/* line 46, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_toc.scss */ +.toc-menu .nav-menu .nav-item:last-child { + padding-bottom: 0; +} + +/* line 1, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_toolbar.scss */ +body.toolbar-tray-open.toolbar-vertical.toolbar-fixed { + margin-left: 18rem; +} + +/* line 5, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_toolbar.scss */ +.toolbar-tab .toolbar-tray.toolbar-tray-vertical { + width: 18rem; +} + +/* + * @file + * Defines how a block component is styled. + */ +/* line 17, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_block.scss */ +.block { + margin-bottom: 2%; +} + +@media screen and (max-width: 961px) { + /* line 17, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_block.scss */ + .block { + margin-bottom: 2%; + } +} + +/* line 24, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_block.scss */ +.block:last-child { + margin: 0; +} + +/* line 28, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_block.scss */ +.block > h2 { + font-size: 3.6rem; + line-height: 4.2rem; + margin: 2.3rem 0 2.3rem; + margin: .5rem 0 1.5rem; + padding: 1rem; + overflow: hidden; + text-align: left; +} + +@media screen and (max-width: 440px) { + /* line 28, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_block.scss */ + .block > h2 { + font-size: 1.8rem; + } +} + +/* + * @file + * Provides styling for search facets. + */ +/* line 27, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet--title a.facet--btn, +#content .facet--title a.facet--btn { + background-color: #333; + display: block; + line-height: 4rem; + min-height: 4rem; + min-width: 100px; + padding: 0 .5em; + text-align: left; + text-decoration: none; + vertical-align: middle; + width: 100%; + font-size: 1.6rem; +} + +@media (min-width: 641px) { + /* line 27, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ + #search-facets .facet--title a.facet--btn, + #content .facet--title a.facet--btn { + min-width: 120px; + font-size: 1.8rem; + } +} + +/* line 46, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet--title a.facet--btn:link, #search-facets .facet--title a.facet--btn:visited, +#content .facet--title a.facet--btn:link, +#content .facet--title a.facet--btn:visited { + color: #fff; +} + +/* line 51, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet--title a.facet--btn:hover, +#content .facet--title a.facet--btn:hover { + background-color: #111; + text-decoration: none; +} + +/* line 56, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet--title a.facet--btn:focus, +#content .facet--title a.facet--btn:focus { + outline: 3px solid #949494; + outline-offset: -2px; + background-color: #111; + border-bottom-width: 2px; +} + +/* line 63, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet--title a.facet--btn:active, #search-facets .facet--title a.facet--btn.active, +#content .facet--title a.facet--btn:active, +#content .facet--title a.facet--btn.active { + background-color: #111; + border-color: #111; + text-decoration: none; +} + +/* line 70, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet--title a.facet--btn .ico-arrow-down, +#content .facet--title a.facet--btn .ico-arrow-down { + fill: #fff; + float: right; + height: 2rem; + margin: 1rem; + width: 2rem; + -webkit-transition: -webkit-transform .4s ease; + transition: -webkit-transform .4s ease; + transition: transform .4s ease; + transition: transform .4s ease, -webkit-transform .4s ease; +} + +/* line 79, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet--title a.facet--btn.active .ico-arrow-down, +#content .facet--title a.facet--btn.active .ico-arrow-down { + -webkit-transform: rotate(270deg); + transform: rotate(270deg); +} + +/* line 85, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet--dropdown-links, +#content .facet--dropdown-links { + margin: 1em 0; +} + +/* line 89, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet--title, +#content .facet--title { + margin: 0; +} + +/* line 93, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-list__links, +#content .facet-list__links { + margin: .1rem 0 .6rem; + list-style: none; +} + +/* line 98, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-list__links .facet-item ul, +#content .facet-list__links .facet-item ul { + padding: 0; + margin: 0; + list-style: none; +} + +/* line 103, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-list__links .facet-item ul .facet-item, +#content .facet-list__links .facet-item ul .facet-item { + position: relative; + padding: 0 0 0 1.2rem; + margin: 0; +} + +/* line 108, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-list__links .facet-item ul .facet-item::before, +#content .facet-list__links .facet-item ul .facet-item::before { + content: '-'; + position: absolute; + left: .5em; + top: .5em; +} + +/* line 118, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-item, #search-facets .facet-summary-item--facet, +#content .facet-item, +#content .facet-summary-item--facet { + margin: 0; + padding: 0; +} + +/* line 123, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-item__label, #search-facets .facet-summary-item--facet__label, +#content .facet-item__label, +#content .facet-summary-item--facet__label { + font-size: 1.6rem; + line-height: 2.4rem; + padding: 1rem 0; +} + +/* line 128, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-item__label::after, #search-facets .facet-summary-item--facet__label::after, +#content .facet-item__label::after, +#content .facet-summary-item--facet__label::after { + content: ':'; +} + +/* line 133, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-item a, #search-facets .facet-item--link, #search-facets .facet-summary-item--facet a, #search-facets .facet-summary-item--facet--link, +#content .facet-item a, +#content .facet-item--link, +#content .facet-summary-item--facet a, +#content .facet-summary-item--facet--link { + display: -webkit-inline-box; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + width: auto; + font-size: 1.6rem; + line-height: 2.4rem; + padding: .4rem .6rem; + margin: .6rem 0; + text-decoration: none; + color: #0e6bb3; +} + +/* line 147, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-item a:hover .facet-item__value, #search-facets .facet-item--link:hover .facet-item__value, #search-facets .facet-summary-item--facet a:hover .facet-item__value, #search-facets .facet-summary-item--facet--link:hover .facet-item__value, +#content .facet-item a:hover .facet-item__value, +#content .facet-item--link:hover .facet-item__value, +#content .facet-summary-item--facet a:hover .facet-item__value, +#content .facet-summary-item--facet--link:hover .facet-item__value { + -webkit-text-decoration: 2px underline #333; + text-decoration: 2px underline #333; +} + +/* line 152, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-item a .facet-item__value, #search-facets .facet-item--link .facet-item__value, #search-facets .facet-summary-item--facet a .facet-item__value, #search-facets .facet-summary-item--facet--link .facet-item__value, +#content .facet-item a .facet-item__value, +#content .facet-item--link .facet-item__value, +#content .facet-summary-item--facet a .facet-item__value, +#content .facet-summary-item--facet--link .facet-item__value { + text-decoration: underline; +} + +/* line 156, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-item a .facet-item__status, #search-facets .facet-item--link .facet-item__status, #search-facets .facet-summary-item--facet a .facet-item__status, #search-facets .facet-summary-item--facet--link .facet-item__status, +#content .facet-item a .facet-item__status, +#content .facet-item--link .facet-item__status, +#content .facet-summary-item--facet a .facet-item__status, +#content .facet-summary-item--facet--link .facet-item__status { + -ms-flex-negative: 0; + flex-shrink: 0; +} + +/* line 160, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-item a:visited, #search-facets .facet-item--link:visited, #search-facets .facet-summary-item--facet a:visited, #search-facets .facet-summary-item--facet--link:visited, +#content .facet-item a:visited, +#content .facet-item--link:visited, +#content .facet-summary-item--facet a:visited, +#content .facet-summary-item--facet--link:visited { + color: #0e6bb3; +} + +/* line 164, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-item a:focus, #search-facets .facet-item--link:focus, #search-facets .facet-summary-item--facet a:focus, #search-facets .facet-summary-item--facet--link:focus, +#content .facet-item a:focus, +#content .facet-item--link:focus, +#content .facet-summary-item--facet a:focus, +#content .facet-summary-item--facet--link:focus { + background-color: #0e6bb3; + color: #fff; + outline: 0; +} + +/* line 169, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-item a:focus > *, #search-facets .facet-item--link:focus > *, #search-facets .facet-summary-item--facet a:focus > *, #search-facets .facet-summary-item--facet--link:focus > *, +#content .facet-item a:focus > *, +#content .facet-item--link:focus > *, +#content .facet-summary-item--facet a:focus > *, +#content .facet-summary-item--facet--link:focus > * { + text-decoration: none; +} + +/* line 175, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-item__value, #search-facets .facet-summary-item--facet__value, +#content .facet-item__value, +#content .facet-summary-item--facet__value { + display: inline-block; + padding: 0 .4rem; +} + +/* line 180, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-item__count, #search-facets .facet-summary-item--facet__count, +#content .facet-item__count, +#content .facet-summary-item--facet__count { + text-decoration: none; + white-space: nowrap; +} + +/* line 185, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-item__status, #search-facets .facet-summary-item--facet__status, +#content .facet-item__status, +#content .facet-summary-item--facet__status { + display: inline-block; + position: relative; + vertical-align: middle; + width: 2rem; + height: 2rem; + margin: 0; + padding: 0; + background-color: #666; + color: #fff; + text-decoration: none; +} + +/* line 197, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-item__status::before, #search-facets .facet-item__status::after, #search-facets .facet-summary-item--facet__status::before, #search-facets .facet-summary-item--facet__status::after, +#content .facet-item__status::before, +#content .facet-item__status::after, +#content .facet-summary-item--facet__status::before, +#content .facet-summary-item--facet__status::after { + content: ' '; + display: block; + width: .2rem; + height: 1rem; + background-color: #fff; + -webkit-transform: rotate(45deg); + transform: rotate(45deg); + position: absolute; + left: .9rem; + top: .5rem; +} + +/* line 210, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-item__status::after, #search-facets .facet-summary-item--facet__status::after, +#content .facet-item__status::after, +#content .facet-summary-item--facet__status::after { + -webkit-transform: rotate(130deg); + transform: rotate(130deg); +} + +/* line 216, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-item a.is-active, +#search-facets .facet-summary-item--facet a, +#content .facet-item a.is-active, +#content .facet-summary-item--facet a { + background-color: #cee4f6; + color: #333; +} + +/* line 221, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-item a.is-active:visited, +#search-facets .facet-summary-item--facet a:visited, +#content .facet-item a.is-active:visited, +#content .facet-summary-item--facet a:visited { + color: #333; +} + +/* line 225, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-item a.is-active:focus, +#search-facets .facet-summary-item--facet a:focus, +#content .facet-item a.is-active:focus, +#content .facet-summary-item--facet a:focus { + outline: 3px solid #333; + outline-offset: -1px; + background-color: #cee4f6; +} + +/* line 231, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-item a.is-active .facet-item__value, +#search-facets .facet-summary-item--facet a .facet-item__value, +#content .facet-item a.is-active .facet-item__value, +#content .facet-summary-item--facet a .facet-item__value { + text-decoration: none; + padding-left: 0; +} + +/* line 236, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-item a.is-active:hover .facet-item__status, +#search-facets .facet-item a.is-active:focus .facet-item__status, +#search-facets .facet-summary-item--facet a:hover .facet-item__status, +#search-facets .facet-summary-item--facet a:focus .facet-item__status, +#content .facet-item a.is-active:hover .facet-item__status, +#content .facet-item a.is-active:focus .facet-item__status, +#content .facet-summary-item--facet a:hover .facet-item__status, +#content .facet-summary-item--facet a:focus .facet-item__status { + background-color: darkorange; +} + +/* line 242, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-summary-item--facet a, +#content .facet-summary-item--facet a { + margin: 0 .5em; +} + +/* line 246, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-summary, +#content .facet-summary { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + margin: 0; + padding: 0; +} + +/* line 253, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-summary__label, +#content .facet-summary__label { + margin: 0; + padding: 0; +} + +/* line 258, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets .facet-summary__list, +#content .facet-summary__list { + list-style: none; + margin: 0; + padding: 0; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row wrap; + flex-flow: row wrap; +} + +/* line 268, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets a.facets-soft-limit-link, +#content a.facets-soft-limit-link { + display: inline-block; + font-size: 1.6rem; + line-height: 2.4rem; + padding: .4rem 4rem .4rem .8rem; + position: relative; +} + +/* line 274, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets a.facets-soft-limit-link:focus, +#content a.facets-soft-limit-link:focus { + outline: 0; + background-color: #0e6bb3; + color: #fff; + text-decoration: none; +} + +/* line 281, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets a.facets-soft-limit-link::after, +#content a.facets-soft-limit-link::after { + content: ''; + display: block; + position: absolute; + top: .4rem; + right: .4rem; + width: 2.4rem; + height: 2.4rem; + border: 1px solid #333; + background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2025%2015%22%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%20.st0%7Bfill%3A%23333333%3Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3B%7D%20%3C%2Fstyle%3E%3Cpath%20class%3D%22st0%22%20d%3D%22M12.5%200L0%2012l3%203%209.5-10L22%2015l3-3L12.5%200z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat scroll center center/12px auto; + -webkit-transform: rotate(180deg); + transform: rotate(180deg); +} + +/* line 294, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets a.facets-soft-limit-link:hover::after, #search-facets a.facets-soft-limit-link:focus::after, +#content a.facets-soft-limit-link:hover::after, +#content a.facets-soft-limit-link:focus::after { + border-color: #fff; + background: #0e6bb3 url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2025%2015%22%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%20.st0%7Bfill%3A%23ffffff%3Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3B%7D%20%3C%2Fstyle%3E%3Cpath%20class%3D%22st0%22%20d%3D%22M12.5%200L0%2012l3%203%209.5-10L22%2015l3-3L12.5%200z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat scroll center center/12px auto; +} + +/* line 302, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets a.facets-soft-limit-link.open::after, +#content a.facets-soft-limit-link.open::after { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); +} + +/* line 308, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets #post-content .facet-summary-item--facet a, +#content #post-content .facet-summary-item--facet a { + margin: 0 .5em; + border-bottom: none; + padding: .4rem .6rem; +} + +/* line 313, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets #post-content .facet-summary-item--facet a:hover, +#content #post-content .facet-summary-item--facet a:hover { + border-bottom: none; +} + +/* line 316, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets #post-content .facet-summary-item--facet a:hover .facet-item__value, +#content #post-content .facet-summary-item--facet a:hover .facet-item__value { + text-decoration: none; +} + +/* line 321, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ +#search-facets #post-content .facet-summary-item--facet a:focus, +#content #post-content .facet-summary-item--facet a:focus { + outline: 3px solid #333; + outline-offset: -1px; + background-color: #cee4f6; +} + +/* line 1, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ +.submitted { + background: #f7f7f7; + border: 1px solid #ececec; + clear: both; + color: #383838; + display: inline-block; + margin-bottom: .5rem; + padding: .2rem .8rem; +} + +/* line 11, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ +.form-submit { + cursor: pointer; +} + +/* line 15, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ +.form-text { + padding: .8rem; +} + +/* line 19, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ +.form-item { + margin-bottom: 1em; + margin-top: .2rem; +} + +/* line 26, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ +.form-type-radio label, +.form-type-checkbox label { + margin-left: .4rem; +} + +/* line 30, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ +.form-type-radio .description, +.form-type-checkbox .description { + margin-left: .2rem; +} + +/* line 35, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ +.form-actions { + padding-top: 1rem; +} + +/* line 39, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ +fieldset { + border: none; +} + +/* line 42, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ +fieldset .fieldset-wrapper { + margin-top: 2.5rem; + padding-left: 0.3rem; +} + +/* line 48, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ +.password-suggestions ul li { + margin-left: 1.2em; +} + +/* line 52, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ +label { + display: block; +} + +/* line 56, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ +[type='text'], +[type='search'], +[type='tel'], +[type='url'], +[type='email'], +[type='password'], +[type='date'], +[type='time'], +[type='number'] { + width: 100%; + max-width: 56rem; + max-width: -webkit-fit-content; + max-width: -moz-fit-content; + max-width: fit-content; +} + +/* line 70, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ +[size='30'], +[size='40'], +[size='50'], +[size='60'] { + max-width: 65rem; +} + +/* line 78, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ +input[type="submit"] { + text-decoration: none; +} + +/* line 83, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ +[type='text'], +[type='search'], +[type='tel'], +[type='url'], +[type='email'], +[type='password'], +[type='date'], +[type='time'], +[type='number'], +textarea { + -webkit-box-sizing: border-box; + box-sizing: border-box; + border: 1px solid #555; + color: #333; + margin: .5em 0; + padding: .6rem; + min-height: 3.5rem; + /* Highlight the form elements that caused a form submission error. */ +} + +/* line 101, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ +[type='text'].error, [type='text'].error:focus, +[type='search'].error, +[type='search'].error:focus, +[type='tel'].error, +[type='tel'].error:focus, +[type='url'].error, +[type='url'].error:focus, +[type='email'].error, +[type='email'].error:focus, +[type='password'].error, +[type='password'].error:focus, +[type='date'].error, +[type='date'].error:focus, +[type='time'].error, +[type='time'].error:focus, +[type='number'].error, +[type='number'].error:focus, +textarea.error, +textarea.error:focus { + border: 1px solid #b63a1b; + outline-color: #b63a1b; + background-color: #ffdae0; + -webkit-box-shadow: none; + box-shadow: none; + color: #333; +} + +/* line 1, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ +.search-form { + display: -ms-grid; + display: grid; + -ms-grid-columns: calc(100% - 5.4rem) 5.4rem; + grid-template-columns: auto 5.4rem; + grid-template-areas: "form-item form-action"; + -webkit-box-align: first baseline; + -ms-flex-align: first baseline; + align-items: first baseline; + margin-top: 40px; +} + +@media screen and (max-width: 766px) { + /* line 1, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ + .search-form { + margin-right: 10px; + margin-top: 0; + } +} + +@supports (display: grid) { + /* line 1, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ + .search-form { + margin-top: 0; + } +} + +@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { + /* line 1, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ + .search-form { + margin-top: 0; + } +} + +/* line 24, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ +.search-form .form-item { + margin: 0; + -ms-grid-column: 1; + grid-area: form-item; + float: left; + width: calc(100% - 5.4rem); +} + +@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { + /* line 24, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ + .search-form .form-item { + width: auto; + } +} + +@supports (display: grid) { + /* line 24, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ + .search-form .form-item { + float: none; + width: auto; + } +} + +/* line 41, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ +.search-form .form-actions { + padding: 0; + -ms-grid-column: 2; + grid-area: form-action; + float: right; +} + +@supports (display: grid) { + /* line 41, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ + .search-form .form-actions { + float: none; + } +} + +/* line 52, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ +.search-form .form-submit { + border: 0; + -webkit-box-shadow: none; + box-shadow: none; + cursor: pointer; + padding: 0; +} + +/* line 58, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ +.search-form .form-submit:hover { + opacity: .8; + -webkit-box-shadow: none; + box-shadow: none; +} + +/* line 64, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ +.search-form input { + font-size: 1.6rem; + -webkit-box-sizing: border-box; + box-sizing: border-box; + height: 4.5rem; +} + +@media (min-width: 766px) { + /* line 64, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ + .search-form input { + font-size: 1.8rem; + } +} + +/* line 73, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ +.search-form input[type='submit'] { + background: #0e6bb3 url("data:image/svg+xml;charset=utf-8,%3Csvg%20id%3D%22Layer_1%22%20data-name%3D%22Layer%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20width%3D%22100px%22%20height%3D%22100px%22%20preserveAspectRatio%3D%22xMinYMid%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23fff%3Bfill-rule%3Aevenodd%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Ctitle%3Esearch-icon%3C%2Ftitle%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M97.5%2C77.89a6%2C6%2C0%2C0%2C1-8.25%2C1.49L64.89%2C62.65a5.85%2C5.85%2C0%2C0%2C1-2.55-5A21.59%2C21.59%2C0%2C0%2C1%2C25.4%2C46.81a21.16%2C21.16%2C0%2C0%2C1%2C3.47-16%2C21.69%2C21.69%2C0%2C0%2C1%2C30-5.42%2C21.36%2C21.36%2C0%2C0%2C1%2C7.1%2C27%2C6%2C6%2C0%2C0%2C1%2C5.67.58L96%2C69.71A5.86%2C5.86%2C0%2C0%2C1%2C97.5%2C77.89ZM61.38%2C40.3a14.8%2C14.8%2C0%2C0%2C0-6.23-9.6%2C15.12%2C15.12%2C0%2C0%2C0-20.92%2C3.77A14.88%2C14.88%2C0%2C0%2C0%2C38%2C55.24%2C15.12%2C15.12%2C0%2C0%2C0%2C59%2C51.46%2C14.74%2C14.74%2C0%2C0%2C0%2C61.38%2C40.3Z%22%2F%3E%3C%2Fsvg%3E") 0 center no-repeat; + background-size: 4.2rem auto; + text-indent: -9999px; + width: 5.4rem; + -webkit-filter: none; + filter: none; +} + +/* line 80, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ +.search-form input[type='submit']:focus { + outline: 3px solid #333; + outline-offset: -2px; + overflow: hidden; +} + +@media screen and (min-width: 320px) { + /* line 73, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ + .search-form input[type='submit'] { + -webkit-box-sizing: border-box; + box-sizing: border-box; + margin: .5em 0; + text-shadow: none; + position: relative; + } +} + +/* line 94, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ +.search-form input[type='text'] { + padding: 0 .8rem; + width: 100%; +} + +/* line 98, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ +.search-form input[type='text']:focus { + outline: 3px solid #333; + outline-offset: -2px; + position: relative; + z-index: 101; +} + +/* line 108, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ +.search-results .search-form, +.search-page .search-form { + max-width: 500px; + display: grid; + margin-right: 0; +} + +/* line 114, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ +.search-results .search-form .form-actions, +.search-page .search-form .form-actions { + padding-top: 0; +} + +/* line 119, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ +.search-results .search-form input.form-text, +.search-page .search-form input.form-text { + max-width: 100%; + border: 1px solid #ccc; +} + +/* Error Tool Tip Styles*/ +/* line 2, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_webform.scss */ +.required + label { + position: relative; + top: 100%; + left: -1px; + margin-top: -1px; + z-index: 101; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + max-width: 56rem; +} + +/* line 11, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_webform.scss */ +.required + label.error { + font-size: 1.6rem; + line-height: 1.5; + margin: 1em 0 1.5em; + font-weight: bold; + display: block; + position: absolute; + position: relative; + padding: .9rem; + color: #fff; + background-color: #d1431f; + border: 1px solid #d1431f; + border-radius: 3px; + -webkit-box-shadow: 4px 4px 9px 0 rgba(0, 0, 0, 0.3); + box-shadow: 4px 4px 9px 0 rgba(0, 0, 0, 0.3); + opacity: 1; + margin-top: 1rem; +} + +@media screen and (min-width: 766px) { + /* line 11, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_webform.scss */ + .required + label.error { + font-size: 1.8rem; + } +} + +/* line 26, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_webform.scss */ +.required + label.error::after { + content: ''; + border: .9rem solid transparent; + border-bottom-color: #d1431f; + position: absolute; + top: -1.8rem; + left: .9rem; +} + +/* line 37, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_webform.scss */ +.search-form { + position: relative; +} + +/* line 40, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_webform.scss */ +.search-form .required + label.error { + position: absolute; + margin-top: 0; +} + +/* line 2, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_preview-form.scss */ +#node-preview-form-select a.node-preview-backlink { + color: #fff; + text-align: left; + display: inline-block; + background-color: #3fa940; + background-repeat: no-repeat; + background-position-y: center; + border: 1px solid transparent; + border-color: #3fa940; + min-width: 150px; + min-height: 4.8rem; + padding: .7rem 1.6rem; + position: relative; + font-size: 2.1rem; + line-height: 2.8rem; +} + +@media (min-width: 766px) { + /* line 2, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_preview-form.scss */ + #node-preview-form-select a.node-preview-backlink { + min-height: 5.4rem; + padding: .8rem 1.8rem; + font-size: 2.4rem; + line-height: 3.6rem; + } +} + +/* line 25, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_preview-form.scss */ +#node-preview-form-select a.node-preview-backlink::after { + content: "\f2ea"; + display: inline-block; + font-family: 'Font Awesome 5 Free'; + font-style: normal; + font-variant: normal; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + font-weight: 900; + padding-left: 2rem; +} + +/* line 1, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ +.item-list ul { + margin: 0; + padding: 0; +} + +/* line 7, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ +ul.inline { + clear: both; +} + +/* line 11, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ +ul.primary { + border: 0; + margin: 0; + padding: 0; +} + +/* line 16, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ +ul.primary li { + float: left; +} + +/* line 19, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ +ul.primary li a { + border-radius: 4px/0; + background: none; + border: 0; + display: block; + float: left; + line-height: 1.5385em; + margin: 0 .5rem 0 0; + padding: 0 1em; +} + +/* line 29, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ +ul.primary li a:hover, ul.primary li a:active { + background: #111; + border: 0; + color: #fff; +} + +/* line 36, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ +ul.primary li a:hover { + background: #888; + text-decoration: none; +} + +/* line 44, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ +ul.secondary { + background: #111; + border-bottom: 0; + clear: both; + margin: 0; + padding: 0; +} + +/* line 51, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ +ul.secondary li { + border-right: 0; +} + +/* line 54, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ +ul.secondary li a, +ul.secondary li a:link { + border: 0; + color: #ccc; + display: block; + float: left; + line-height: 1.5385em; + padding: 0 1em; +} + +/* line 64, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ +ul.secondary li a:hover, +ul.secondary li a.active { + background: #888; + color: #fff; + text-decoration: none; +} + +/* line 72, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ +ul.secondary a.active { + border-bottom: 0; +} + +/* line 88, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ +.split-list { + -webkit-box-sizing: border-box; + box-sizing: border-box; + width: 100%; + clear: both; + float: left; +} + +/* line 94, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ +.split-list li { + float: left; + -webkit-box-sizing: border-box; + box-sizing: border-box; + width: 50%; + padding-right: 1em; +} + +/* line 100, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ +.split-list li:nth-child(odd) { + clear: left; +} + +/* line 116, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ +.dash-list li { + position: relative; + list-style: none; +} + +/* line 120, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ +.dash-list li::before { + content: '-'; + position: absolute; + left: -20px; + top: 0; +} + +/* line 12, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_links.scss */ +a.btn { + font-size: 1.6rem; + line-height: 1.5; + margin: 1em 0 1.5em; + display: inline-block; + color: #fff; + margin: 1rem 0 0; + text-align: center; + padding: .6rem 1.6rem; + cursor: pointer; + background: #0e6bb3; + border-radius: 0; + border: 3px solid transparent; + text-decoration: none; +} + +@media screen and (min-width: 766px) { + /* line 12, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_links.scss */ + a.btn { + font-size: 1.8rem; + } +} + +/* line 25, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_links.scss */ +a.btn:hover, a.btn:focus { + background: #666; +} + +/* line 30, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_links.scss */ +a.btn:focus { + border-color: #000; +} + +/* + * @file + * Provides the styling for icon components. The file then extrapolates some concepts around icons further + * for when they are used in some kind of message container. + */ +/* line 36, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ +.ico { + display: inline; + margin-left: .2em; + fill: currentColor; +} + +/* line 48, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ +.ico-elink { + height: 1.1rem; + width: 1.4rem; + margin-bottom: .1rem; +} + +/* line 64, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ +.ico-arrow-left { + -webkit-transform: rotate(180deg); + transform: rotate(180deg); +} + +/* line 68, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ +.ico-arrow-up { + -webkit-transform: rotate(270deg); + transform: rotate(270deg); +} + +/* line 72, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ +.ico-arrow-down { + -webkit-transform: rotate(90deg); + transform: rotate(90deg); +} + +/* line 77, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ +.info-notice, .messages { + border: 2px solid; + margin: 1.5em 0; + padding: 1rem 1rem 1rem 4rem; +} + +@media (min-width: 641px) { + /* line 77, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ + .info-notice, .messages { + padding: 1.4rem 1.4rem 1.4rem 6rem; + } +} + +/* line 86, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ +.info-notice > *:first-child, .messages > *:first-child { + margin-top: 0; +} + +/* line 90, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ +.info-notice > *:last-child, .messages > *:last-child { + margin-bottom: 0; +} + +/* line 95, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ +.info-notice { + border-color: #141f6f; + background: #fff url('../images/i.svg?17d90291161') no-repeat 0.9rem 0.9rem/24px 24px; +} + +@media (min-width: 641px) { + /* line 95, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ + .info-notice { + background: #fff url('../images/i.svg?17d90291161') no-repeat 1.4rem 1.4rem/30px 30px; + } +} + +/* line 104, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ +.no-svg .info-notice { + background-image: url('../images/i.png?17d90291161'); +} + +/* line 109, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ +ul.info-notice { + padding: 1rem 1rem 1rem 4rem; +} + +@media (min-width: 641px) { + /* line 109, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ + ul.info-notice { + padding: 1.4rem 1.4rem 1.4rem 7rem; + } +} + +/* line 122, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ +.messages-list { + margin: 2.5rem 0; + list-style: none; +} + +/* line 126, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ +.field .messages-list, +.form-wrapper .messages-list { + margin-bottom: 0; +} + +/* line 135, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ +.messages--error { + border-color: #e34f4f; + background: #fff url('../images/wrong.svg?17d90291164') no-repeat 0.9rem 0.9rem/24px 24px; +} + +@media (min-width: 641px) { + /* line 135, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ + .messages--error { + background: #fff url('../images/wrong.svg?17d90291164') no-repeat 1.4rem 1.4rem/30px 30px; + } +} + +/* line 143, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ +.no-svg .messages--error { + background-image: url('../images/wrong.png?17d90291164'); +} + +/* line 148, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ +.messages--status { + border-color: #3fa940; + background: #fff url('../images/status.svg?17d90291163') no-repeat 0.9rem 0.9rem/24px 24px; +} + +@media (min-width: 641px) { + /* line 148, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ + .messages--status { + background: #fff url('../images/status.svg?17d90291163') no-repeat 1.4rem 1.4rem/30px 30px; + } +} + +/* line 156, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ +.no-svg .messages--status { + background-image: url('../images/status.png?17d90291163'); +} + +/* line 161, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ +.messages--warning { + border-color: #db6304; + background: #fff url('../images/warning.svg?17d90291164') no-repeat 0.9rem 0.9rem/24px 24px; +} + +@media (min-width: 641px) { + /* line 161, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ + .messages--warning { + background: #fff url('../images/warning.svg?17d90291164') no-repeat 1.4rem 1.4rem/30px 30px; + } +} + +/* line 169, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ +.no-svg .messages--warning { + background-image: url('../images/warning.png?17d90291164'); +} + +/* line 174, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ +.messages__list { + margin: 0; +} + +/* line 178, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ +.messages__item { + font-size: 1.8rem; +} + +/* line 181, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ +.messages__item:first-child { + margin-top: 0; +} + +/* line 187, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ +.info-notice { + overflow: hidden; + border-color: #004695; +} + +/* line 9, src/scss/components.scss */ +#main-menu .menu-link, +#main-menu .menu .active, +#main-menu .menu-item.open .menu-toggle-btn { + color: #141f6f; + font-size: 1.8rem; +} + +/* line 17, src/scss/components.scss */ +#main-menu .menu-link:hover, #main-menu .menu-link:focus { + color: #fff; +} + +/* line 23, src/scss/components.scss */ +#main-menu .menu .menu-item .active { + border-color: #141f6f; +} + +/* line 27, src/scss/components.scss */ +#main-menu .menu-main_sub { + background: #141f6f; +} + +/* line 31, src/scss/components.scss */ +#main-menu .menu-main_sub .menu-item .active { + color: #fff; + border-color: #fff; +} + +/* line 37, src/scss/components.scss */ +#main-menu .menu-main_sub .menu-item a:hover, #main-menu .menu-main_sub .menu-item a:focus { + background: #0089d1; +} + +/* line 46, src/scss/components.scss */ +.question-meta { + border-bottom: 1px solid #000; + margin: 1.8rem 0; + padding: 0.9rem 0 1.8rem; + width: 100%; +} + +/* line 52, src/scss/components.scss */ +.question-meta span.inline { + width: 30%; + display: inline-block; + font-weight: bold; +} + +/*# sourceMappingURL=components.css.map */ \ No newline at end of file diff --git a/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/init/kss-chroma-markup.css b/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/init/kss-chroma-markup.css index e69de29bb2..e5f6f1492c 100644 --- a/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/init/kss-chroma-markup.css +++ b/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/init/kss-chroma-markup.css @@ -0,0 +1,7 @@ +/* Vertical rhythm presets =========================================== */ +/* Breakpoints ======================================================== */ +/* +

branding

The site's main colors. Can be used to define colors in other color schemes.

color(black) uses the color: #000
color(charcoal) uses the color: #333 This color is inherited by: button-disabled, menu-borders
color(ash-grey) uses the color: #666
color(grey) uses the color: #999
color(grey-dark) uses the color: #ccc
color(grey-light) uses the color: #f8f7f7 This color is inherited by: border
color(grey-lightest) uses the color: #f0f0f0
color(grey-medium) uses the color: #cdcdcd
color(white) uses the color: #fff
color(offwhite) uses the color: #f3f8fc
color(dark-red) uses the color: #b63a1b This color is inherited by: error
color(hc-red) uses the color: #d1431f
color(light-pink) uses the color: #ffdae0 This color is inherited by: error-bg
color(brand-primary) uses the color: #141f6f This color is inherited by: menu-background, menu-sub-item-background, menu-sub-item-hover, footer-border
color(brand-secondary) uses the color: #151d68 This color is inherited by: menu-item-hover
color(brand-tertiary) uses the color: #002e62

functional

Colors used by functional parts of the design.

color(text) uses the color: #111 This color is inherited by: headings, button, footer-text, footer-headings
color(headings) uses the color: #111 (text)
color(link) uses the color: #16a085 This color is inherited by: link-active
color(link-hover) uses the color: #16a085
color(link-visited) uses the color: #5e60b5
color(link-active) uses the color: #16a085 (link)
color(border) uses the color: #f8f7f7 (grey-light)
color(button) uses the color: #111 (text)
color(button-disabled) uses the color: #333 (charcoal)
color(button-action) uses the color: #3fa940
color(info-notice) uses the color: #004695
color(mark-bg) uses the color: #ff0
color(error) uses the color: #b63a1b (dark-red)
color(error-bg) uses the color: #ffdae0 (light-pink)
color(menu-background) uses the color: #141f6f (brand-primary)
color(menu-item-hover) uses the color: #151d68 (brand-secondary)
color(menu-separator) uses the color: #fff
color(menu-sub-item-background) uses the color: #141f6f (brand-primary)
color(menu-sub-item-hover) uses the color: #141f6f (brand-primary)
color(menu-borders) uses the color: #333 (charcoal)
color(table-background) uses the color: #fff
color(table-border) uses the color: #bbb
color(table-header-cell-background) uses the color: #2e3d4a
color(table-header-cell-border) uses the color: #c8c7c7
color(table-header-cell-text) uses the color: #fff
color(table-cell-border) uses the color: #dbdbdb
color(table-cell-text) uses the color: #747474
color(footer-background) uses the color: #e7e7e7
color(footer-border) uses the color: #141f6f (brand-primary)
color(footer-text) uses the color: #111 (text)
color(footer-headings) uses the color: #111 (text)
color(search-submit) uses the color: #0e6bb3
+*/ + +/*# sourceMappingURL=kss-chroma-markup.css.map */ \ No newline at end of file diff --git a/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/layout.css b/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/layout.css index e44700e324..9902e36cc5 100644 --- a/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/layout.css +++ b/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/layout.css @@ -1 +1,883 @@ -#inner_header_wrapper{margin:0 auto;position:relative;overflow:inherit}#header{max-width:1024px;margin:1% auto;display:-ms-grid;display:grid;-ms-grid-columns:50% 7.5% 42.5%;grid-template-columns:50% 42.5%;grid-template-areas:'top-left top-right';-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}@media screen and (max-width: 766px){#header{margin:0 auto;-ms-grid-columns:1fr;grid-template-columns:1fr;grid-template-areas:'top-left' 'top-right'}}.top_left{min-height:90px;padding:0;position:relative;-ms-grid-column:1;grid-area:top-left;float:left}@supports (display: grid){.top_left{float:none}}@media (min-width: 766px){.top_left{min-height:110px}}.top_left #logo{position:absolute;left:0;top:0}.top_left #site-title #site-description{font-size:1.8rem;line-height:145%}.top_right{-ms-grid-row-align:center;align-self:center;-ms-grid-column:3;grid-area:top-right;float:right}@supports (display: grid) or (display: -ms-grid){.top_right{float:none}}@media screen and (max-width: 766px){.top_right{-ms-grid-column:1;-ms-grid-row:2;-ms-grid-column-align:unset;justify-self:unset}}.top_right .region-search{margin:.5rem 0}@media screen and (max-width: 766px){.top_right .region-search{width:100%;padding:0}}.top_right ul.menu li a.active{color:#6cdcff}@media screen and (max-width: 766px){.top_left,.top_right,.search_block{width:100%}}#logo{float:left;margin:.8rem 1rem .8rem 0}@media screen and (max-width: 766px){#logo{text-align:center;width:100%;margin:.8rem 0 0}}#logo img{display:block}@media screen and (max-width: 766px){#logo img{text-align:center;display:inline-block}}#site-title a,#site-description{font-weight:normal}#site-title,#site-description{float:left}@media screen and (max-width: 766px){#site-title,#site-description{margin:0;line-height:1.62em}}#site-title{font-size:3rem;margin:1rem 0 0;font-weight:bold}@media screen and (max-width: 766px){#site-title{padding:0;width:100%;display:inline-block}}#site-title a{float:left}@media screen and (max-width: 766px){#site-title a{width:100%;text-align:center}}#site-description{font-size:1.6rem;line-height:1.5;margin:1em 0 1.5em;margin:.4rem 0 0;float:left;clear:both;line-height:100%;font-style:italic;color:#0e6bb3}@media screen and (min-width: 766px){#site-description{font-size:1.8rem}}@media screen and (max-width: 766px){#site-description{padding-top:1.8rem;padding-bottom:.5rem;width:100%;text-align:center}}@media screen and (max-width: 766px){#headerHero{padding:.5rem 0 .5rem 10rem;min-height:54px;background-color:rgba(0,0,0,0);position:relative}#headerHero.no-menu .burger-toggle{display:none !important}#headerHero.no-menu.no-search{display:none}#headerHero .region-search input[type='text'],#headerHero .region-search input[type='search']{max-width:100%;border:0;margin:.5em 0;float:none;border-radius:0;background:#fff}@supports (display: grid){#headerHero .region-search input[type='text'],#headerHero .region-search input[type='search']{margin:0}}}#container{clear:both;overflow:hidden}.container-wrap{max-width:1024px;margin:0 auto 1rem;padding:0;overflow:hidden}.container{padding:0 15px}@media (min-width: 766px){.container{margin:0 auto;max-width:1024px;padding:0 20px}}.content-sidebar-wrap{float:left;width:100%}@media screen and (max-width: 961px){.content-sidebar-wrap{float:none;width:100% !important}}@media screen and (max-width: 766px){.content-sidebar-wrap{width:auto}}.content-sidebar-wrap .main-content{display:inline;margin-bottom:1rem;float:right;width:100%}@media screen and (max-width: 961px){.content-sidebar-wrap .main-content{margin:0;float:none}}@media screen and (max-width: 766px){.content-sidebar-wrap .main-content{float:left;width:auto}}@media screen and (max-width: 766px){.front .content-sidebar-wrap{margin:0}}.sidebar-first-layout{color:#111;float:left}@media screen and (max-width: 961px){.sidebar-first-layout{clear:both;float:none;width:100% !important;padding:0 1.5%}}@media screen and (max-width: 766px){.sidebar-first-layout{width:auto;clear:both}}@media screen and (max-width: 766px){.sidebar-first-layout .block{float:none !important;width:auto !important;margin-left:0}}.sidebar-second-layout{color:#111;float:right}@media screen and (max-width: 961px){.sidebar-second-layout{float:none;width:100% !important;padding:0 1.5%}}@media screen and (max-width: 766px){.sidebar-second-layout{width:auto}}@media screen and (max-width: 766px){.sidebar-second-layout .block{float:none !important;width:auto !important;margin-left:0}}aside .block .content{padding:0 1rem}aside #user-login-form input.form-text{width:90%}aside #user-login-form .form-actions{padding-top:0}.two-sidebars .content-sidebar-wrap{width:80%}.two-sidebars .main-content{width:75%}.two-sidebars .sidebar-first-layout{width:24%}.two-sidebars .sidebar-second-layout{width:19%}.sidebar-first .content-sidebar-wrap{width:100%}.sidebar-first .main-content{width:80%}.sidebar-first .sidebar-first-layout{width:19%}.sidebar-second .content-sidebar-wrap{width:65%}.sidebar-second .main-content{width:100%}.sidebar-second .sidebar-second-layout{width:30%}#head,.main-content,.sidebar-second-layout,.sidebar-first-layout{margin-top:1rem}@media screen and (max-width: 961px){.main-content{float:none;width:100% !important}}.region-front-welcome{max-width:1024px;margin:2% auto;text-align:center}@media screen and (max-width: 961px){.region-front-welcome{margin:1% 2%}}@media screen and (max-width: 766px){.region-front-welcome{padding:1rem}}@media screen and (max-width: 440px){.region-front-welcome{margin:0}}.region-front-welcome .block h2{text-align:center}#top-area{clear:both;position:relative;max-width:1024px;margin:0 auto;text-align:center}@media screen and (max-width: 961px){#top-area{padding:0 1.5rem}}@media screen and (max-width: 766px){#top-area{padding:0}}#top-area .block{margin:0}#top-area .column{float:left;width:32.3%;margin:0 .5rem}@media screen and (max-width: 961px){#top-area .column{width:32%}}@media screen and (max-width: 766px){#top-area .column{float:none !important;width:auto !important;margin:1rem}}#top-area .column:last-child{float:right;margin-right:0}@media screen and (max-width: 1153px){#top-area .column:last-child{margin-right:0}}#top-area .column .content{padding:1rem 0}#top-area .column:first-child{margin-left:0}@media screen and (max-width: 766px){#top-area .column:first-child{margin:1rem}}#top-area h2{font-size:2.1rem;margin:3.6rem 0 1.2rem;color:#555;padding:1rem 0;margin:0}#top-area .column-title{color:#e0e0e0}#footer{font-size:1.6rem;line-height:1.5;margin:1em 0 1.5em;overflow:auto;padding:1% 2% 2%;background:#e7e7e7;border-top:9px solid #141f6f;max-width:1024px;margin:0 auto}@media screen and (min-width: 766px){#footer{font-size:1.8rem}}@media screen and (max-width: 766px){#footer p{margin:0}}#footer .block>h2{color:#fff;padding:1rem 0}#footer .column li{display:block;padding:.3rem 0 .3rem .1rem;border-bottom-width:.1rem;border-bottom-style:dotted;border-color:#555}#footer ul{margin:0}.footer-area .column{float:left;width:24.2%;margin:0 0 0 1%;padding:1%}@media screen and (max-width: 766px){.footer-area .column{float:none;width:auto;margin:1rem}}.footer-area .column:first-child{margin-left:0}@media screen and (max-width: 766px){.footer-area .column:first-child{margin:1rem}}.footer-area .column:last-child{float:right}.footer-area .column-title{color:#111}.bottom_widget .footer-area .column{width:32.5%}.footer-area ul.menu li a.active{color:#ddd}.footer_block{clear:both}@media screen and (max-width: 961px){#footer_wrapper{padding:0 1.5rem}}@media screen and (max-width: 766px){#footer_wrapper{padding:0}}@media (min-width: 766px){.content-sidebar-wrap{width:65%}}.sidebar-second-layout .rel-menu--latest-news{margin-bottom:2rem}.sidebar-second-layout .rel-menu--latest-news ul{margin-bottom:1rem}.sidebar-second-layout .rel-menu--latest-news ul li{padding:0 0 .6rem 1rem;list-style:none;margin:0 0 .2rem;position:relative}.sidebar-second-layout .rel-menu--latest-news ul li::before{content:"-";left:0;position:absolute;top:0}.sidebar-second-layout .rel-menu--latest-news ul li .date-published{display:block;font-size:1.6rem}.sidebar-second-layout .rel-menu--latest-news a{border-bottom:1px solid #0e6bb3}.sidebar-second-layout .rel-menu--latest-news a:hover{border-bottom:2px solid #333;margin-bottom:0}.sidebar-second-layout .rel-menu--latest-news a:focus{border-bottom:none;outline:2px solid #0e6bb3;outline-offset:0}.path-news .search-page .sidebar-first-layout,.path-publications-search .search-page .sidebar-first-layout{padding-left:0}@media (min-width: 961px){.path-news .search-page .sidebar-first-layout,.path-publications-search .search-page .sidebar-first-layout{width:30%}.path-news .search-page .main-content,.path-publications-search .search-page .main-content{width:65%}}.path-news .search-page .views-exposed-form p,.path-publications-search .search-page .views-exposed-form p{margin-bottom:0}.path-news .search-page h2,.path-publications-search .search-page h2{margin-top:0}.path-news .search-page .metaListItem,.path-publications-search .search-page .metaListItem{margin-left:2rem}.views-exposed-form p{margin-bottom:0}.views-exposed-form .form-item{margin-bottom:0}.views-exposed-form form .form-actions{padding-top:.95rem}.views-exposed-form form input.form-text{max-width:100%;border:1px solid #ccc} +/* + * @file + * Defines the layout code for the theme. + */ +/* Vertical rhythm presets =========================================== */ +/* Breakpoints ======================================================== */ +/* + * @file + * Helper partial to outline the order partials should be loaded in this section - used for reference & in the style guide. + */ +/* + * @file + * Defines the layout styles for the header area. + */ +/* line 18, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ +#inner_header_wrapper { + margin: 0 auto; + position: relative; + overflow: inherit; +} + +/* line 24, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ +#header { + max-width: 1024px; + margin: 1% auto; + display: -ms-grid; + display: grid; + -ms-grid-columns: 50% 7.5% 42.5%; + grid-template-columns: 50% 42.5%; + grid-template-areas: 'top-left top-right'; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; +} + +@media screen and (max-width: 766px) { + /* line 24, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ + #header { + margin: 0 auto; + -ms-grid-columns: 1fr; + grid-template-columns: 1fr; + grid-template-areas: 'top-left' 'top-right'; + } +} + +/* line 43, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ +.top_left { + min-height: 90px; + padding: 0; + position: relative; + -ms-grid-column: 1; + grid-area: top-left; + float: left; +} + +@supports (display: grid) { + /* line 43, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ + .top_left { + float: none; + } +} + +@media (min-width: 766px) { + /* line 43, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ + .top_left { + min-height: 110px; + } +} + +/* line 60, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ +.top_left #logo { + position: absolute; + left: 0; + top: 0; +} + +/* line 67, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ +.top_left #site-title #site-description { + font-size: 1.8rem; + line-height: 145%; +} + +/* line 74, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ +.top_right { + -ms-grid-row-align: center; + align-self: center; + -ms-grid-column: 3; + grid-area: top-right; + float: right; +} + +@supports (display: grid) or (display: -ms-grid) { + /* line 74, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ + .top_right { + float: none; + } +} + +@media screen and (max-width: 766px) { + /* line 74, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ + .top_right { + -ms-grid-column: 1; + -ms-grid-row: 2; + -ms-grid-column-align: unset; + justify-self: unset; + } +} + +/* line 92, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ +.top_right .region-search { + margin: .5rem 0; +} + +@media screen and (max-width: 766px) { + /* line 92, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ + .top_right .region-search { + width: 100%; + padding: 0; + } +} + +/* line 101, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ +.top_right ul.menu li a.active { + color: #6cdcff; +} + +@media screen and (max-width: 766px) { + /* line 106, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ + .top_left, + .top_right, + .search_block { + width: 100%; + } +} + +/* line 114, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ +#logo { + float: left; + margin: .8rem 1rem .8rem 0; +} + +@media screen and (max-width: 766px) { + /* line 114, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ + #logo { + text-align: center; + width: 100%; + margin: .8rem 0 0; + } +} + +/* line 124, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ +#logo img { + display: block; +} + +@media screen and (max-width: 766px) { + /* line 124, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ + #logo img { + text-align: center; + display: inline-block; + } +} + +/* line 134, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ +#site-title a, +#site-description { + font-weight: normal; +} + +/* line 139, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ +#site-title, +#site-description { + float: left; +} + +@media screen and (max-width: 766px) { + /* line 139, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ + #site-title, + #site-description { + margin: 0; + line-height: 1.62em; + } +} + +/* line 149, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ +#site-title { + font-size: 3rem; + margin: 1rem 0 0; + font-weight: bold; +} + +@media screen and (max-width: 766px) { + /* line 149, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ + #site-title { + padding: 0; + width: 100%; + display: inline-block; + } +} + +/* line 160, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ +#site-title a { + float: left; +} + +@media screen and (max-width: 766px) { + /* line 160, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ + #site-title a { + width: 100%; + text-align: center; + } +} + +/* line 170, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ +#site-description { + font-size: 1.6rem; + line-height: 1.5; + margin: 1em 0 1.5em; + margin: .4rem 0 0; + float: left; + clear: both; + line-height: 100%; + font-style: italic; + color: #0e6bb3; +} + +@media screen and (min-width: 766px) { + /* line 170, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ + #site-description { + font-size: 1.8rem; + } +} + +@media screen and (max-width: 766px) { + /* line 170, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ + #site-description { + padding-top: 1.8rem; + padding-bottom: .5rem; + width: 100%; + text-align: center; + } +} + +@media screen and (max-width: 766px) { + /* line 189, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ + #headerHero { + padding: .5rem 0 .5rem 10rem; + min-height: 54px; + background-color: transparent; + position: relative; + } + /* line 197, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ + #headerHero.no-menu .burger-toggle { + display: none !important; + } + /* line 201, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ + #headerHero.no-menu.no-search { + display: none; + } + /* line 207, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ + #headerHero .region-search input[type='text'], + #headerHero .region-search input[type='search'] { + max-width: 100%; + border: 0; + margin: .5em 0; + float: none; + border-radius: 0; + background: #fff; + } + @supports (display: grid) { + /* line 207, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ + #headerHero .region-search input[type='text'], + #headerHero .region-search input[type='search'] { + margin: 0; + } + } +} + +/* + * @file + * Defines the layouts for the container section of the page. + */ +/* line 21, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ +#container { + clear: both; + overflow: hidden; +} + +/* line 26, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ +.container-wrap { + max-width: 1024px; + margin: 0 auto 1rem; + padding: 0; + overflow: hidden; +} + +/* line 33, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ +.container { + padding: 0 15px; +} + +@media (min-width: 766px) { + /* line 33, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ + .container { + margin: 0 auto; + max-width: 1024px; + padding: 0 20px; + } +} + +/* line 42, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ +.content-sidebar-wrap { + float: left; + width: 100%; +} + +@media screen and (max-width: 961px) { + /* line 42, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ + .content-sidebar-wrap { + float: none; + width: 100% !important; + } +} + +@media screen and (max-width: 766px) { + /* line 42, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ + .content-sidebar-wrap { + width: auto; + } +} + +/* line 55, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ +.content-sidebar-wrap .main-content { + display: inline; + margin-bottom: 1rem; + float: right; + width: 100%; +} + +@media screen and (max-width: 961px) { + /* line 55, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ + .content-sidebar-wrap .main-content { + margin: 0; + float: none; + } +} + +@media screen and (max-width: 766px) { + /* line 55, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ + .content-sidebar-wrap .main-content { + float: left; + width: auto; + } +} + +@media screen and (max-width: 766px) { + /* line 72, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ + .front .content-sidebar-wrap { + margin: 0; + } +} + +/* line 79, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ +.sidebar-first-layout { + color: #111; + float: left; +} + +@media screen and (max-width: 961px) { + /* line 79, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ + .sidebar-first-layout { + clear: both; + float: none; + width: 100% !important; + padding: 0 1.5%; + } +} + +@media screen and (max-width: 766px) { + /* line 79, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ + .sidebar-first-layout { + width: auto; + clear: both; + } +} + +@media screen and (max-width: 766px) { + /* line 95, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ + .sidebar-first-layout .block { + float: none !important; + width: auto !important; + margin-left: 0; + } +} + +/* line 104, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ +.sidebar-second-layout { + color: #111; + float: right; +} + +@media screen and (max-width: 961px) { + /* line 104, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ + .sidebar-second-layout { + float: none; + width: 100% !important; + padding: 0 1.5%; + } +} + +@media screen and (max-width: 766px) { + /* line 104, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ + .sidebar-second-layout { + width: auto; + } +} + +@media screen and (max-width: 766px) { + /* line 118, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ + .sidebar-second-layout .block { + float: none !important; + width: auto !important; + margin-left: 0; + } +} + +/* line 128, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ +aside .block .content { + padding: 0 1rem; +} + +/* line 133, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ +aside #user-login-form input.form-text { + width: 90%; +} + +/* line 137, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ +aside #user-login-form .form-actions { + padding-top: 0; +} + +/* 3 columns */ +/* line 112, node_modules/nicsdru_unity_theme/src/scss/init/unity-layout/_unity-layout.scss */ +.two-sidebars .content-sidebar-wrap { + width: 80%; +} + +/* line 116, node_modules/nicsdru_unity_theme/src/scss/init/unity-layout/_unity-layout.scss */ +.two-sidebars .main-content { + width: 75%; +} + +/* line 120, node_modules/nicsdru_unity_theme/src/scss/init/unity-layout/_unity-layout.scss */ +.two-sidebars .sidebar-first-layout { + width: 24%; +} + +/* line 124, node_modules/nicsdru_unity_theme/src/scss/init/unity-layout/_unity-layout.scss */ +.two-sidebars .sidebar-second-layout { + width: 19%; +} + +/* 2 columns: sidebar-first */ +/* line 71, node_modules/nicsdru_unity_theme/src/scss/init/unity-layout/_unity-layout.scss */ +.sidebar-first .content-sidebar-wrap { + width: 100%; +} + +/* line 75, node_modules/nicsdru_unity_theme/src/scss/init/unity-layout/_unity-layout.scss */ +.sidebar-first .main-content { + width: 80%; +} + +/* line 79, node_modules/nicsdru_unity_theme/src/scss/init/unity-layout/_unity-layout.scss */ +.sidebar-first .sidebar-first-layout { + width: 19%; +} + +/* 2 columns: sidebar-second */ +/* line 83, node_modules/nicsdru_unity_theme/src/scss/init/unity-layout/_unity-layout.scss */ +.sidebar-second .content-sidebar-wrap { + width: 65%; +} + +/* line 87, node_modules/nicsdru_unity_theme/src/scss/init/unity-layout/_unity-layout.scss */ +.sidebar-second .main-content { + width: 100%; +} + +/* line 91, node_modules/nicsdru_unity_theme/src/scss/init/unity-layout/_unity-layout.scss */ +.sidebar-second .sidebar-second-layout { + width: 30%; +} + +/* line 164, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ +#head, +.main-content, +.sidebar-second-layout, +.sidebar-first-layout { + margin-top: 1rem; +} + +@media screen and (max-width: 961px) { + /* line 171, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ + .main-content { + float: none; + width: 100% !important; + } +} + +/* + * @file + * Defines the layouts for particular regions of the page. + */ +/* line 20, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ +.region-front-welcome { + max-width: 1024px; + margin: 2% auto; + text-align: center; +} + +@media screen and (max-width: 961px) { + /* line 20, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ + .region-front-welcome { + margin: 1% 2%; + } +} + +@media screen and (max-width: 766px) { + /* line 20, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ + .region-front-welcome { + padding: 1rem; + } +} + +@media screen and (max-width: 440px) { + /* line 20, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ + .region-front-welcome { + margin: 0; + } +} + +/* line 37, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ +.region-front-welcome .block h2 { + text-align: center; +} + +/* line 43, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ +#top-area { + clear: both; + position: relative; + max-width: 1024px; + margin: 0 auto; + text-align: center; +} + +@media screen and (max-width: 961px) { + /* line 43, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ + #top-area { + padding: 0 1.5rem; + } +} + +@media screen and (max-width: 766px) { + /* line 43, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ + #top-area { + padding: 0; + } +} + +/* line 58, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ +#top-area .block { + margin: 0; +} + +/* line 62, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ +#top-area .column { + float: left; + width: 32.3%; + margin: 0 .5rem; +} + +@media screen and (max-width: 961px) { + /* line 62, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ + #top-area .column { + width: 32%; + } +} + +@media screen and (max-width: 766px) { + /* line 62, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ + #top-area .column { + float: none !important; + width: auto !important; + margin: 1rem; + } +} + +/* line 77, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ +#top-area .column:last-child { + float: right; + margin-right: 0; +} + +@media screen and (max-width: 1153px) { + /* line 77, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ + #top-area .column:last-child { + margin-right: 0; + } +} + +/* line 86, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ +#top-area .column .content { + padding: 1rem 0; +} + +/* line 90, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ +#top-area .column:first-child { + margin-left: 0; +} + +@media screen and (max-width: 766px) { + /* line 90, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ + #top-area .column:first-child { + margin: 1rem; + } +} + +/* line 99, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ +#top-area h2 { + font-size: 2.1rem; + margin: 3.6rem 0 1.2rem; + color: #555; + padding: 1rem 0; + margin: 0; +} + +/* line 106, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ +#top-area .column-title { + color: #e0e0e0; +} + +/* + * @file + * Defines the layouts for the footer area of the page. + */ +/* line 22, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ +#footer { + font-size: 1.6rem; + line-height: 1.5; + margin: 1em 0 1.5em; + overflow: auto; + padding: 1% 2% 2%; + background: #e7e7e7; + border-top: 9px solid #141f6f; + max-width: 1024px; + margin: 0 auto; +} + +@media screen and (min-width: 766px) { + /* line 22, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ + #footer { + font-size: 1.8rem; + } +} + +@media screen and (max-width: 766px) { + /* line 31, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ + #footer p { + margin: 0; + } +} + +/* line 39, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ +#footer .block > h2 { + color: #fff; + padding: 1rem 0; +} + +/* line 44, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ +#footer .column li { + display: block; + padding: .3rem 0 .3rem .1rem; + border-bottom-width: .1rem; + border-bottom-style: dotted; + border-color: #555; +} + +/* line 52, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ +#footer ul { + margin: 0; +} + +/* line 62, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ +.footer-area .column { + float: left; + width: 24.2%; + margin: 0 0 0 1%; + padding: 1%; +} + +@media screen and (max-width: 766px) { + /* line 62, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ + .footer-area .column { + float: none; + width: auto; + margin: 1rem; + } +} + +/* line 74, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ +.footer-area .column:first-child { + margin-left: 0; +} + +@media screen and (max-width: 766px) { + /* line 74, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ + .footer-area .column:first-child { + margin: 1rem; + } +} + +/* line 82, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ +.footer-area .column:last-child { + float: right; +} + +/* line 86, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ +.footer-area .column-title { + color: #111; +} + +/* line 90, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ +.bottom_widget .footer-area .column { + width: 32.5%; +} + +/* line 95, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ +.footer-area ul.menu li a.active { + color: #ddd; +} + +/* line 100, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ +.footer_block { + clear: both; +} + +@media screen and (max-width: 961px) { + /* line 108, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ + #footer_wrapper { + padding: 0 1.5rem; + } +} + +@media screen and (max-width: 766px) { + /* line 108, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ + #footer_wrapper { + padding: 0; + } +} + +@media (min-width: 766px) { + /* line 8, src/scss/layout.scss */ + .content-sidebar-wrap { + width: 65%; + } +} + +/* line 15, src/scss/layout.scss */ +.sidebar-second-layout .rel-menu--latest-news { + margin-bottom: 2rem; +} + +/* line 18, src/scss/layout.scss */ +.sidebar-second-layout .rel-menu--latest-news ul { + margin-bottom: 1rem; +} + +/* line 21, src/scss/layout.scss */ +.sidebar-second-layout .rel-menu--latest-news ul li { + padding: 0 0 .6rem 1rem; + list-style: none; + margin: 0 0 .2rem; + position: relative; +} + +/* line 27, src/scss/layout.scss */ +.sidebar-second-layout .rel-menu--latest-news ul li::before { + content: "-"; + left: 0; + position: absolute; + top: 0; +} + +/* line 34, src/scss/layout.scss */ +.sidebar-second-layout .rel-menu--latest-news ul li .date-published { + display: block; + font-size: 1.6rem; +} + +/* line 41, src/scss/layout.scss */ +.sidebar-second-layout .rel-menu--latest-news a { + border-bottom: 1px solid #0e6bb3; +} + +/* line 44, src/scss/layout.scss */ +.sidebar-second-layout .rel-menu--latest-news a:hover { + border-bottom: 2px solid #333; + margin-bottom: 0; +} + +/* line 49, src/scss/layout.scss */ +.sidebar-second-layout .rel-menu--latest-news a:focus { + border-bottom: none; + outline: 2px solid #0e6bb3; + outline-offset: 0; +} + +/* line 62, src/scss/layout.scss */ +.path-news .search-page .sidebar-first-layout, +.path-publications-search .search-page .sidebar-first-layout, +.path-questions .search-page .sidebar-first-layout { + padding-left: 0; +} + +@media (min-width: 961px) { + /* line 67, src/scss/layout.scss */ + .path-news .search-page .sidebar-first-layout, + .path-publications-search .search-page .sidebar-first-layout, + .path-questions .search-page .sidebar-first-layout { + width: 30%; + } + /* line 71, src/scss/layout.scss */ + .path-news .search-page .main-content, + .path-publications-search .search-page .main-content, + .path-questions .search-page .main-content { + width: 65%; + } +} + +/* line 77, src/scss/layout.scss */ +.path-news .search-page .views-exposed-form p, +.path-publications-search .search-page .views-exposed-form p, +.path-questions .search-page .views-exposed-form p { + margin-bottom: 0; +} + +/* line 82, src/scss/layout.scss */ +.path-news .search-page h2, +.path-publications-search .search-page h2, +.path-questions .search-page h2 { + margin-top: 0; +} + +/* line 86, src/scss/layout.scss */ +.path-news .search-page .metaListItem, +.path-publications-search .search-page .metaListItem, +.path-questions .search-page .metaListItem { + margin-left: 2rem; +} + +/* line 93, src/scss/layout.scss */ +.views-exposed-form p { + margin-bottom: 0; +} + +/* line 97, src/scss/layout.scss */ +.views-exposed-form .form-item { + margin-bottom: 0; +} + +/* line 102, src/scss/layout.scss */ +.views-exposed-form form .form-actions { + padding-top: .95rem; +} + +/* line 107, src/scss/layout.scss */ +.views-exposed-form form input.form-text { + max-width: 100%; + border: 1px solid #ccc; +} + +/*# sourceMappingURL=layout.css.map */ \ No newline at end of file diff --git a/web/sites/nipolicingboard/themes/nipolicingboard_theme/src/scss/layout.scss b/web/sites/nipolicingboard/themes/nipolicingboard_theme/src/scss/layout.scss index 267e5a6979..889f97377a 100644 --- a/web/sites/nipolicingboard/themes/nipolicingboard_theme/src/scss/layout.scss +++ b/web/sites/nipolicingboard/themes/nipolicingboard_theme/src/scss/layout.scss @@ -56,7 +56,8 @@ } .path-news, -.path-publications-search { +.path-publications-search, +.path-questions { .search-page { .sidebar-first-layout { padding-left: 0; diff --git a/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/content/node--question-page--search-index.html.twig b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/content/node--question-page--search-index.html.twig new file mode 100644 index 0000000000..b3d7b30742 --- /dev/null +++ b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/content/node--question-page--search-index.html.twig @@ -0,0 +1,76 @@ +{# +/** + * @file + * nicsdru_unity_theme's theme implementation to display a node, based on Bartik theme. + * + * Available variables: + * - node: The node entity with limited access to object properties and methods. + * Only method names starting with "get", "has", or "is" and a few common + * methods such as "id", "label", and "bundle" are available. For example: + * - node.getCreatedTime() will return the node creation timestamp. + * - node.hasField('field_example') returns TRUE if the node bundle includes + * field_example. (This does not indicate the presence of a value in this + * field.) + * - node.isPublished() will return whether the node is published or not. + * Calling other methods, such as node.delete(), will result in an exception. + * See \Drupal\node\Entity\Node for a full list of public properties and + * methods for the node object. + * - label: (optional) The title of the node. + * - content: All node items. Use {{ content }} to print them all, + * or print a subset such as {{ content.field_example }}. Use + * {{ content|without('field_example') }} to temporarily suppress the printing + * of a given child element. + * - author_picture: The node author user entity, rendered using the "compact" + * view mode. + * - metadata: Metadata for this node. + * - date: (optional) Themed creation date field. + * - author_name: (optional) Themed author name field. + * - url: Direct URL of the current node. + * - display_submitted: Whether submission information should be displayed. + * - attributes: HTML attributes for the containing element. + * The attributes.class element may contain one or more of the following + * classes: + * - node: The current template type (also known as a "theming hook"). + * - node--type-[type]: The current node type. For example, if the node is an + * "Article" it would result in "node--type-article". Note that the machine + * name will often be in a short form of the human readable label. + * - node--view-mode-[view_mode]: The View Mode of the node; for example, a + * teaser would result in: "node--view-mode-teaser", and + * full: "node--view-mode-full". + * The following are controlled through the node publishing options. + * - node--promoted: Appears on nodes promoted to the front page. + * - node--sticky: Appears on nodes ordered above other non-sticky nodes in + * teaser listings. + * - node--unpublished: Appears on unpublished nodes visible only to site + * admins. + * - title_attributes: Same as attributes, except applied to the main title + * tag that appears in the template. + * - content_attributes: Same as attributes, except applied to the main + * content tag that appears in the template. + * - author_attributes: Same as attributes, except applied to the author of + * the node tag that appears in the template. + * - title_prefix: Additional output populated by modules, intended to be + * displayed in front of the main title tag that appears in the template. + * - title_suffix: Additional output populated by modules, intended to be + * displayed after the main title tag that appears in the template. + * - view_mode: View mode; for example, "teaser" or "full". + * - teaser: Flag for the teaser state. Will be true if view_mode is 'teaser'. + * - page: Flag for the full page state. Will be true if view_mode is 'full'. + * - readmore: Flag for more state. Will be true if the teaser content of the + * node cannot hold the main body content. + * - logged_in: Flag for authenticated user status. Will be true when the + * current user is a logged-in member. + * - is_admin: Flag for admin user status. Will be true when the current user + * is an administrator. + * + * @see template_preprocess_node() + */ +#} + +

+ {{ label }} +

+

+ {{ content.field_published_date }} + {{ content.field_nipb_board_member }} +

diff --git a/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-nipb-board-member--search-index.html.twig b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-nipb-board-member--search-index.html.twig new file mode 100644 index 0000000000..fab0d0b098 --- /dev/null +++ b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-nipb-board-member--search-index.html.twig @@ -0,0 +1,41 @@ +{# +/** +* @file +* Theme override for a field. +* +* To override output, copy the "field.html.twig" from the templates directory +* to your theme's directory and customize it, just like customizing other +* Drupal templates such as page.html.twig or node.html.twig. +* +* Instead of overriding the theming for all fields, you can also just override +* theming for a subset of fields using +* @link themeable Theme hook suggestions. @endlink For example, +* here are some theme hook suggestions that can be used for a field_foo field +* on an article node type: +* - field--node--field-foo--article.html.twig +* - field--node--field-foo.html.twig +* - field--node--article.html.twig +* - field--field-foo.html.twig +* - field--text-with-summary.html.twig +* - field.html.twig +* +* Available variables: +* - attributes: HTML attributes for the containing element. +* - label_hidden: Whether to show the field label or not. +* - title_attributes: HTML attributes for the title. +* - label: The label for the field. +* - multiple: TRUE if a field can contain multiple items. +* - items: List of all the field items. Each item contains: +* - attributes: List of HTML attributes for each item. +* - content: The field item's content. +* - entity_type: The entity type to which the field belongs. +* - field_name: The name of the field. +* - field_type: The type of the field. +* - label_display: The display settings for the label. +* +* @see template_preprocess_field() +*/ +#} +{% for item in items %} + {{ item.content }} +{% endfor %} diff --git a/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-published-date--search-index.html.twig b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-published-date--search-index.html.twig new file mode 100644 index 0000000000..339364ce91 --- /dev/null +++ b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-published-date--search-index.html.twig @@ -0,0 +1,44 @@ +{# +/** +* @file +* Theme override for a field. +* +* To override output, copy the "field.html.twig" from the templates directory +* to your theme's directory and customize it, just like customizing other +* Drupal templates such as page.html.twig or node.html.twig. +* +* Instead of overriding the theming for all fields, you can also just override +* theming for a subset of fields using +* @link themeable Theme hook suggestions. @endlink For example, +* here are some theme hook suggestions that can be used for a field_foo field +* on an article node type: +* - field--node--field-foo--article.html.twig +* - field--node--field-foo.html.twig +* - field--node--article.html.twig +* - field--field-foo.html.twig +* - field--text-with-summary.html.twig +* - field.html.twig +* +* Available variables: +* - attributes: HTML attributes for the containing element. +* - label_hidden: Whether to show the field label or not. +* - title_attributes: HTML attributes for the title. +* - label: The label for the field. +* - multiple: TRUE if a field can contain multiple items. +* - items: List of all the field items. Each item contains: +* - attributes: List of HTML attributes for each item. +* - content: The field item's content. +* - entity_type: The entity type to which the field belongs. +* - field_name: The name of the field. +* - field_type: The type of the field. +* - label_display: The display settings for the label. +* +* @see template_preprocess_field() +*/ +#} +{{ 'Published '|t }} +{% for item in items %} +{{ item.content }} +{% endfor %} + + diff --git a/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/views/views-view--questions-search-page.html.twig b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/views/views-view--questions-search-page.html.twig new file mode 100644 index 0000000000..2206e2df03 --- /dev/null +++ b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/views/views-view--questions-search-page.html.twig @@ -0,0 +1,68 @@ +{# +/** + * @file + * Theme override for main view template. + * + * Available variables: + * - attributes: Remaining HTML attributes for the element. + * - css_name: A css-safe version of the view name. + * - css_class: The user-specified classes names, if any. + * - header: The optional header. + * - footer: The optional footer. + * - rows: The results of the view query, if any. + * - empty: The content to display if there are no rows. + * - pager: The optional pager next/prev links to display. + * - exposed: Exposed widget form/info to display. + * - feed_icons: Optional feed icons to display. + * - more: An optional link to the next page of results. + * - title: Title of the view, only used when displaying in the admin preview. + * - title_prefix: Additional output populated by modules, intended to be + * displayed in front of the view title. + * - title_suffix: Additional output populated by modules, intended to be + * displayed after the view title. + * - attachment_before: An optional attachment view to be displayed before the + * view content. + * - attachment_after: An optional attachment view to be displayed after the + * view content. + * - dom_id: Unique id for every view being printed to give unique class for + * Javascript. + * + * @see template_preprocess_views_view() + */ +#} +{% + set classes = [ + dom_id ? 'js-view-dom-id-' ~ dom_id, +] +%} +{% set attributes = attributes.addClass(classes) %} +{% set attributes = attributes.setAttribute('role', 'region') %} +{% set attributes = attributes.setAttribute('aria-label', 'search results'|t) %} + + {{ title_prefix }} + {{ title }} + {{ title_suffix }} + +
+ {{ header }} + {{ drupal_block('facets_summary_block:questions_summary') }} +
+ + {% if rows -%} + {{ rows }} + {% elseif empty -%} + {{ empty }} + {% endif %} + {{ pager }} + + {{ attachment_after }} + {{ more }} + + {% if footer %} +
+ {{ footer }} +
+ {% endif %} + + {{ feed_icons }} + From cb3c4fb2c28591940511facc1734cce91a68bb50 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 13 Dec 2021 10:43:11 +0000 Subject: [PATCH 21/45] Adding references into search module for questions page --- .../custom/unity_search_pages/unity_search_pages.module | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/web/modules/custom/unity_search_pages/unity_search_pages.module b/web/modules/custom/unity_search_pages/unity_search_pages.module index f4323f3a4d..43cac04bc9 100644 --- a/web/modules/custom/unity_search_pages/unity_search_pages.module +++ b/web/modules/custom/unity_search_pages/unity_search_pages.module @@ -23,6 +23,7 @@ function unity_search_pages_preprocess_views_view(array &$variables) { 'news_search_page', 'consultations_search_page', 'evidence_search_page', + 'questions_search_page', 'search_page', ]; @@ -80,6 +81,7 @@ function unity_search_pages_theme_suggestions_views_view_unformatted_alter(array 'publication_search_page', 'news_search_page', 'evidence_search_page', + 'questions_search_page', 'search_page', ]; @@ -98,6 +100,7 @@ function unity_search_pages_preprocess_form(array &$variables) { case "views-exposed-form-publications-search-publication-search-page": case "views-exposed-form-news-search-news-search-page": case "views-exposed-form-consultations-search-consultations-search-page": + case "views-exposed-form-questions-search-questions-search-page": case "views-exposed-form-evidence-search-evidence-search-page": $variables['attributes']['class'][] = Html::cleanCssIdentifier('search-form'); $variables['attributes']['class'][] = Html::cleanCssIdentifier('search-form--page'); @@ -114,6 +117,7 @@ function unity_search_pages_preprocess_page(&$variables) { 'News', 'Publications', 'Consultations', + 'Questions to the Chief Constable', 'Evidence', 'Search', ]; @@ -122,7 +126,6 @@ function unity_search_pages_preprocess_page(&$variables) { // If evidence search page, set variable to TRUE. $variables['evidence_search'] = $variables['page']['#title'] === 'Evidence'; - } /** @@ -137,6 +140,7 @@ function unity_search_pages_preprocess_block(&$variables) { 'news', 'publications', 'consultations', + 'questions', 'evidence', ]; From 03dc7c31858974133f58df98b6005fcdd9effb96 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 13 Dec 2021 10:48:55 +0000 Subject: [PATCH 22/45] Fixing extra span in template --- .../content/node--question-page--search-index.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/content/node--question-page--search-index.html.twig b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/content/node--question-page--search-index.html.twig index b3d7b30742..228a87811e 100644 --- a/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/content/node--question-page--search-index.html.twig +++ b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/content/node--question-page--search-index.html.twig @@ -72,5 +72,5 @@

{{ content.field_published_date }} - {{ content.field_nipb_board_member }} + {{ content.field_nipb_board_member }}

From a54c93f063ef8fd65a7854546fd4c51b1fe2251c Mon Sep 17 00:00:00 2001 From: DuttonMa Date: Mon, 13 Dec 2021 14:19:17 +0000 Subject: [PATCH 23/45] allow for drush commands with parameters --- drushmulti.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drushmulti.sh b/drushmulti.sh index 79f83e5c4e..47269adbb1 100755 --- a/drushmulti.sh +++ b/drushmulti.sh @@ -22,7 +22,7 @@ fi for site in `ls -l web/sites | grep ^d | awk '!/default/{print $9}'` do echo "** $site **" - ${PREFIX} drush -l $site $1 + ${PREFIX} drush -l $site $1 $2 $3 done From 461706e6026895ad2563434139626c49c2fb853a Mon Sep 17 00:00:00 2001 From: Orla O'Neill Date: Mon, 13 Dec 2021 17:43:24 +0000 Subject: [PATCH 24/45] Fiscal Commission: Add reports to evidence type list --- .../config/field.storage.node.field_evidence_type.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/fiscalcommissionni/config/field.storage.node.field_evidence_type.yml b/config/fiscalcommissionni/config/field.storage.node.field_evidence_type.yml index 8af0f656ae..604ad6da6d 100644 --- a/config/fiscalcommissionni/config/field.storage.node.field_evidence_type.yml +++ b/config/fiscalcommissionni/config/field.storage.node.field_evidence_type.yml @@ -17,6 +17,9 @@ settings: - value: evidence label: Evidence + - + value: reports + label: Reports allowed_values_function: '' module: options locked: false From e8d1137146db5b666f41b8354b34e2b60880109b Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 14 Dec 2021 08:14:01 +0000 Subject: [PATCH 25/45] Templates and styles for news search --- .../themes/nipolicingboard_theme/css/base.css | 666 +----- .../nipolicingboard_theme/css/components.css | 2009 +---------------- .../css/init/kss-chroma-markup.css | 7 - .../nipolicingboard_theme/css/layout.css | 884 +------- .../src/scss/layout.scss | 2 +- .../node--news--search-index.html.twig | 76 + ...node--field-teaser--search-index.html.twig | 42 + .../views-view--news-search-page.html.twig | 68 + 8 files changed, 190 insertions(+), 3564 deletions(-) create mode 100644 web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/content/node--news--search-index.html.twig create mode 100644 web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-teaser--search-index.html.twig create mode 100644 web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/views/views-view--news-search-page.html.twig diff --git a/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/base.css b/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/base.css index 1d79c9c3fa..1a0d246f6f 100644 --- a/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/base.css +++ b/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/base.css @@ -1,665 +1 @@ -/* - * @file - * Helper partial to outline the order partials should be loaded in this section - used for reference & in the style guide. - */ -/* Vertical rhythm presets =========================================== */ -/* Breakpoints ======================================================== */ -/* - * @file - * Helper partial to outline the order partials should be loaded in this section - used for reference & in the style guide. - */ -/* line 2, node_modules/nicsdru_unity_theme/src/scss/1_base/_html5.scss */ -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -b, u, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -figure, figcaption, footer, header, hgroup, -menu, nav, output, ruby, section, summary, -time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; - vertical-align: baseline; -} - -/* HTML5 display-role reset for older browsers */ -/* line 23, node_modules/nicsdru_unity_theme/src/scss/1_base/_html5.scss */ -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -menu, -nav, -section { - display: block; -} - -/* line 37, node_modules/nicsdru_unity_theme/src/scss/1_base/_html5.scss */ -.clear { - clear: both; - display: block; - overflow: hidden; - visibility: hidden; - width: 0; - height: 0; -} - -/* line 46, node_modules/nicsdru_unity_theme/src/scss/1_base/_html5.scss */ -.clear::after { - clear: both; - content: ' '; - display: block; - font-size: 0; - line-height: 0; - visibility: hidden; - width: 0; - height: 0; -} - -/* line 57, node_modules/nicsdru_unity_theme/src/scss/1_base/_html5.scss */ -video { - display: block; -} - -/* line 61, node_modules/nicsdru_unity_theme/src/scss/1_base/_html5.scss */ -audio { - max-width: 100%; -} - -/* line 65, node_modules/nicsdru_unity_theme/src/scss/1_base/_html5.scss */ -iframe { - width: 100%; - min-height: 170px; - margin: 1.5em 0; -} - -/* - * @file - * Resets and creates defaults for root html elements. - */ -/* line 22, node_modules/nicsdru_unity_theme/src/scss/1_base/_root.scss */ -* html .clear { - height: 1%; -} - -/* line 26, node_modules/nicsdru_unity_theme/src/scss/1_base/_root.scss */ -* { - -webkit-box-sizing: border-box; - box-sizing: border-box; -} - -/* line 30, node_modules/nicsdru_unity_theme/src/scss/1_base/_root.scss */ -html { - font-size: 62.5%; -} - -/* line 34, node_modules/nicsdru_unity_theme/src/scss/1_base/_root.scss */ -body { - font-size: 1.6rem; - line-height: 1.5; - margin: 1em 0 1.5em; - margin: 0; - font-family: "Open Sans", sans-serif; - color: #111; -} - -@media screen and (min-width: 766px) { - /* line 34, node_modules/nicsdru_unity_theme/src/scss/1_base/_root.scss */ - body { - font-size: 1.8rem; - } -} - -/* line 27, node_modules/nicsdru_unity_theme/src/scss/1_base/_links.scss */ -a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper) { - color: #0e6bb3; - text-decoration: none; -} - -/* line 31, node_modules/nicsdru_unity_theme/src/scss/1_base/_links.scss */ -#content a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper), -.content a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper), -#footer a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper) { - border-bottom: 1px solid #0e6bb3; - margin: 0 -1px; - padding: 0 1px; -} - -/* line 40, node_modules/nicsdru_unity_theme/src/scss/1_base/_links.scss */ -#content a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):hover:not(.facet-item--link):not(.facet--btn), -.content a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):hover:not(.facet-item--link):not(.facet--btn), -#footer a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):hover:not(.facet-item--link):not(.facet--btn) { - border-bottom: 2px solid #333; -} - -/* line 47, node_modules/nicsdru_unity_theme/src/scss/1_base/_links.scss */ -a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):focus:not(.facet-item--link):not(.facet--btn):not(.news-link) { - color: #fff; - background: #0e6bb3; -} - -/* line 51, node_modules/nicsdru_unity_theme/src/scss/1_base/_links.scss */ -#content a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):focus:not(.facet-item--link):not(.facet--btn):not(.news-link), -.content a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):focus:not(.facet-item--link):not(.facet--btn):not(.news-link), -#footer a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):focus:not(.facet-item--link):not(.facet--btn):not(.news-link) { - border-bottom: 0; - margin: 0; -} - -/* line 65, node_modules/nicsdru_unity_theme/src/scss/1_base/_links.scss */ -#block-mainpagecontent .content a { - overflow-wrap: break-word; -} - -/* line 69, node_modules/nicsdru_unity_theme/src/scss/1_base/_links.scss */ -.skip-link, -.skip-link:visited { - opacity: .75; - -webkit-transition: opacity .3s 0s; - transition: opacity .3s 0s; - color: #fff; - background-color: #000; - outline: none; - text-align: center; -} - -/* line 78, node_modules/nicsdru_unity_theme/src/scss/1_base/_links.scss */ -.skip-link::after, -.skip-link:visited::after { - content: ' '; - display: inline-block; - width: 1.5em; - height: .75em; - background: transparent url('../images/arrow-down.png?17d90291160') no-repeat 50% 50%; - background-size: 1.6rem auto; -} - -/* line 88, node_modules/nicsdru_unity_theme/src/scss/1_base/_links.scss */ -.skip-link:focus { - font-size: 1.6rem; - line-height: 1.5; - margin: 1em 0 1.5em; - opacity: 1; - display: block; - line-height: 1.5; - padding: .9rem 3.5rem; - color: #fff; - text-decoration: underline; - outline: none; - overflow: hidden; - white-space: nowrap; - background-color: #333; -} - -@media screen and (min-width: 766px) { - /* line 88, node_modules/nicsdru_unity_theme/src/scss/1_base/_links.scss */ - .skip-link:focus { - font-size: 1.8rem; - } -} - -/* - * @file - * Sets out the base behaviour of heading elements. - */ -/* line 17, node_modules/nicsdru_unity_theme/src/scss/1_base/_headings.scss */ -h1, h2, h3, h4, h5, h6 { - font-weight: bold; - color: #111; -} - -/* line 22, node_modules/nicsdru_unity_theme/src/scss/1_base/_headings.scss */ -h1 { - font-size: 3.6rem; - line-height: 4.2rem; - margin: 2.3rem 0 2.3rem; -} - -/* line 25, node_modules/nicsdru_unity_theme/src/scss/1_base/_headings.scss */ -h1 .subtitle { - font-size: 2.4rem; - font-weight: normal; -} - -/* line 29, node_modules/nicsdru_unity_theme/src/scss/1_base/_headings.scss */ -h1 .subtitle::before { - content: ' \2014 '; -} - -/* line 35, node_modules/nicsdru_unity_theme/src/scss/1_base/_headings.scss */ -h2 { - font-size: 2.1rem; - margin: 3.6rem 0 1.2rem; -} - -/* line 39, node_modules/nicsdru_unity_theme/src/scss/1_base/_headings.scss */ -h3 { - font-size: 1.8rem; - margin: 2.4rem 0 1.2rem; -} - -/* line 43, node_modules/nicsdru_unity_theme/src/scss/1_base/_headings.scss */ -h4 { - font-size: 1.6rem; - margin: 2.4rem 0 0; -} - -/* line 47, node_modules/nicsdru_unity_theme/src/scss/1_base/_headings.scss */ -h5 { - font-size: 1.6rem; - margin: 0 0 0.6rem; -} - -/* line 51, node_modules/nicsdru_unity_theme/src/scss/1_base/_headings.scss */ -h6 { - font-size: 1.6rem; - margin: 0 0 0.6rem; -} - -/* - * @file - * Sets out the base behaviour of text elements. - */ -/* line 25, node_modules/nicsdru_unity_theme/src/scss/1_base/_text.scss */ -p { - margin-bottom: 1.8rem; - color: #111; -} - -/* line 39, node_modules/nicsdru_unity_theme/src/scss/1_base/_text.scss */ -code { - background: #fafafa; - text-shadow: 1px 1px #fff; - border: 1px solid #bbb; - display: block; - padding: 7px; - margin: 5px 0; - border-radius: 7px; -} - -/* line 59, node_modules/nicsdru_unity_theme/src/scss/1_base/_text.scss */ -mark { - background-color: #fdfc9b; - font-style: italic; - font-weight: bold; -} - -/* line 74, node_modules/nicsdru_unity_theme/src/scss/1_base/_text.scss */ -del { - text-decoration: line-through; -} - -/* line 91, node_modules/nicsdru_unity_theme/src/scss/1_base/_text.scss */ -abbr, -acronym { - border-bottom: 1px dotted #999; - cursor: help; -} - -/* line 110, node_modules/nicsdru_unity_theme/src/scss/1_base/_text.scss */ -cite, -em, -i { - font-style: italic; -} - -/* line 125, node_modules/nicsdru_unity_theme/src/scss/1_base/_text.scss */ -ins { - background-color: #fdfc9b; - text-decoration: none; -} - -/* line 140, node_modules/nicsdru_unity_theme/src/scss/1_base/_text.scss */ -pre { - background: #d8d8d8; - text-shadow: 1px 1px #fff; - border: 1px solid #bbb; - padding: 7px; - margin: 5px 0; - border-radius: 7px; -} - -/* line 162, node_modules/nicsdru_unity_theme/src/scss/1_base/_text.scss */ -b, -strong { - font-weight: bold; -} - -/* line 177, node_modules/nicsdru_unity_theme/src/scss/1_base/_text.scss */ -sup, -sub { - font-size: 1rem; - height: 0; - line-height: 1; - vertical-align: baseline; - position: relative; -} - -/* line 186, node_modules/nicsdru_unity_theme/src/scss/1_base/_text.scss */ -sup { - bottom: 1ex; -} - -/* line 190, node_modules/nicsdru_unity_theme/src/scss/1_base/_text.scss */ -sub { - top: .5ex; -} - -/* line 194, node_modules/nicsdru_unity_theme/src/scss/1_base/_text.scss */ -address { - font-style: normal; -} - -/* - * @file - * Sets out the base behaviour of grouping elements. - */ -/* line 21, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ -hr { - border: 0; - border-top: 1px solid #eee; -} - -/* line 59, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ -ol, -ul { - list-style: none; -} - -/* line 64, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ -ul { - list-style-type: disc; - margin: 1.2rem 0 1.8rem 2.4rem; -} - -/* line 68, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ -ul ul { - list-style-type: square; - margin-bottom: 0; -} - -/* line 72, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ -ul ul ul { - list-style-type: circle; -} - -/* line 78, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ -ol { - list-style-type: decimal; - margin: 1.2rem 0 1.8rem 2.4rem; -} - -/* line 82, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ -ol ol { - list-style: upper-alpha; - margin-bottom: 0; -} - -/* line 86, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ -ol ol ol { - list-style: lower-roman; -} - -/* line 89, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ -ol ol ol ol { - list-style: lower-alpha; -} - -/* line 96, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ -dt { - font-weight: bold; - margin-bottom: 2.4rem; -} - -/* line 101, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ -dd { - margin-left: 30px; - margin-bottom: 2.4rem; -} - -/* line 106, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ -li { - padding-bottom: .6rem; -} - -/* line 129, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ -blockquote, -q { - quotes: none; - border: 0; - display: -webkit-box; - display: -ms-flexbox; - display: flex; -} - -/* line 135, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ -blockquote::before, blockquote::after, -q::before, -q::after { - content: ''; - padding: 1rem .5rem .5rem 4.7rem; - text-shadow: 1px 1px #fff; - margin: 5px 0; - border-radius: 7px; - background: transparent url('../images/quote.png?17d90291163') no-repeat scroll 0 0; -} - -/* line 145, node_modules/nicsdru_unity_theme/src/scss/1_base/_grouping.scss */ -blockquote::after, -q::after { - -webkit-transform: rotate(180deg); - transform: rotate(180deg); -} - -/* line 14, node_modules/nicsdru_unity_theme/src/scss/1_base/_embedded.scss */ -img, -svg, -video { - max-width: 100%; - height: auto; -} - -/* line 22, node_modules/nicsdru_unity_theme/src/scss/1_base/_embedded.scss */ -img { - outline: 0; -} - -/* line 34, node_modules/nicsdru_unity_theme/src/scss/1_base/_embedded.scss */ -svg:not(:root) { - overflow: hidden; -} - -/* line 20, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ -fieldset { - background: #fff; - border: 1px solid #ccc; - margin-top: 1rem; - margin-bottom: 3.2rem; - padding: 0 0 1rem; - position: relative; - top: 12px; - border-radius: 4px/4px; -} - -/* line 30, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ -fieldset.collapsed { - background: transparent; - border-radius: 0; -} - -/* line 34, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ -fieldset.collapsed legend { - border-radius: 4px; -} - -/* line 39, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ -fieldset legend { - background: #dbdbdb; - border: solid #ccc; - border-width: 1px 1px 0; - display: block; - height: 2em; - left: -1px; - line-height: 2; - padding: 0; - position: absolute; - text-indent: 1rem; - text-shadow: 0 1px 0 #fff; - top: -12px; - width: 100%; - border-top-left-radius: 4px; - border-top-right-radius: 4px; -} - -/* line 57, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ -fieldset .fieldset-wrapper { - padding: 0 1rem; -} - -/* line 61, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ -fieldset .fieldset-description { - margin-top: .5rem; - margin-bottom: 1em; - line-height: 1.4; - font-style: italic; -} - -/* line 69, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ -input:not(input[type='radio']) { - border-radius: 0; - margin: .2rem 0; - padding: .4rem; - -webkit-appearance: none; -} - -/* line 76, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ -input, -textarea { - font-size: .929em; -} - -/* line 81, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ -textarea { - line-height: 1.5; -} - -@media screen and (max-width: 440px) { - /* line 84, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ - textarea.form-textarea { - width: 100%; - } -} - -/* line 91, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ -textarea.form-textarea, -select.form-select { - padding: .4rem; -} - -@media screen and (max-width: 440px) { - /* line 96, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ - input.form-text, - select.form-select { - width: 93%; - } -} - -/* line 103, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ -input.form-text, -textarea.form-textarea, -select.form-select { - border: 1px solid #555; -} - -/* line 109, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ -button:not(.toolbar-icon):not(.ui-button):not(.trigger):not(.slick-arrow):not([id^=slick-slide-control]):not([id^=accordion]), -input[type='submit'], -input[type='reset'], -input[type='button'] { - background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e3e3e3)); - background-image: linear-gradient(to bottom, #fff 0%, #e3e3e3 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff', endColorstr='#e3e3e3'); - border: 1px solid #dbdbdb; - border-radius: 0; - -webkit-box-shadow: inset 0 1px 0 0 white; - box-shadow: inset 0 1px 0 0 white; - color: #777; - text-shadow: 0 1px 0 white; - position: relative; - font-weight: bold; - padding: .5rem 1em .6rem; -} - -/* line 124, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ -button:not(.toolbar-icon):not(.ui-button):not(.trigger):not(.slick-arrow):not([id^=slick-slide-control]):not([id^=accordion]):hover, -input[type='submit']:hover, -input[type='reset']:hover, -input[type='button']:hover { - background-image: -webkit-gradient(linear, left top, left bottom, from(#dbdbdb), to(#f2f2f2)); - background-image: linear-gradient(to bottom, #dbdbdb 0%, #f2f2f2 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dbdbdb', endColorstr='#f2f2f2'); - -webkit-box-shadow: inset 0 1px 0 0 white; - box-shadow: inset 0 1px 0 0 white; - cursor: pointer; -} - -/* line 132, node_modules/nicsdru_unity_theme/src/scss/1_base/_forms.scss */ -input.form-checkbox, -input.form-radio { - vertical-align: baseline; -} - -/* line 10, node_modules/nicsdru_unity_theme/src/scss/1_base/_tables.scss */ -table { - width: 100%; - margin-bottom: 1.8rem; - background: #fff; - border-collapse: collapse; - border-spacing: 0; - border: 1px solid #bbb; -} - -/* line 19, node_modules/nicsdru_unity_theme/src/scss/1_base/_tables.scss */ -th, -tr, -td { - vertical-align: middle; -} - -/* line 25, node_modules/nicsdru_unity_theme/src/scss/1_base/_tables.scss */ -th { - background: #2e3d4a; - border-right: 1px solid #c8c7c7; - color: #fff; - padding: 10px; - font-weight: bold; -} - -/* line 32, node_modules/nicsdru_unity_theme/src/scss/1_base/_tables.scss */ -.sticky-header th, -.sticky-table th { - border-bottom: 3px solid #ccc; - padding-right: 1em; - text-align: left; -} - -/* line 40, node_modules/nicsdru_unity_theme/src/scss/1_base/_tables.scss */ -td { - background: #fff; - color: #747474; - text-align: left; - padding: 10px; - border: 1px solid #dbdbdb; -} - -/*# sourceMappingURL=base.css.map */ \ No newline at end of file +html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.clear{clear:both;display:block;overflow:hidden;visibility:hidden;width:0;height:0}.clear::after{clear:both;content:' ';display:block;font-size:0;line-height:0;visibility:hidden;width:0;height:0}video{display:block}audio{max-width:100%}iframe{width:100%;min-height:170px;margin:1.5em 0}* html .clear{height:1%}*{-webkit-box-sizing:border-box;box-sizing:border-box}html{font-size:62.5%}body{font-size:1.6rem;line-height:1.5;margin:1em 0 1.5em;margin:0;font-family:"Open Sans",sans-serif;color:#111}@media screen and (min-width: 766px){body{font-size:1.8rem}}a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper){color:#0e6bb3;text-decoration:none}#content a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper),.content a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper),#footer a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper){border-bottom:1px solid #0e6bb3;margin:0 -1px;padding:0 1px}#content a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):hover:not(.facet-item--link):not(.facet--btn),.content a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):hover:not(.facet-item--link):not(.facet--btn),#footer a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):hover:not(.facet-item--link):not(.facet--btn){border-bottom:2px solid #333}a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):focus:not(.facet-item--link):not(.facet--btn):not(.news-link){color:#fff;background:#0e6bb3}#content a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):focus:not(.facet-item--link):not(.facet--btn):not(.news-link),.content a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):focus:not(.facet-item--link):not(.facet--btn):not(.news-link),#footer a:not(.toolbar-icon):not(.file-link):not(.facet--btn):not(.facet-item--link):not(.btn):not(.ui-menu-item-wrapper):not(.thwooper):focus:not(.facet-item--link):not(.facet--btn):not(.news-link){border-bottom:0;margin:0}#block-mainpagecontent .content a{overflow-wrap:break-word}.skip-link,.skip-link:visited{opacity:.75;-webkit-transition:opacity .3s 0s;transition:opacity .3s 0s;color:#fff;background-color:#000;outline:none;text-align:center}.skip-link::after,.skip-link:visited::after{content:' ';display:inline-block;width:1.5em;height:.75em;background:transparent url('../images/arrow-down.png?17d90291160') no-repeat 50% 50%;background-size:1.6rem auto}.skip-link:focus{font-size:1.6rem;line-height:1.5;margin:1em 0 1.5em;opacity:1;display:block;line-height:1.5;padding:.9rem 3.5rem;color:#fff;text-decoration:underline;outline:none;overflow:hidden;white-space:nowrap;background-color:#333}@media screen and (min-width: 766px){.skip-link:focus{font-size:1.8rem}}h1,h2,h3,h4,h5,h6{font-weight:bold;color:#111}h1{font-size:3.6rem;line-height:4.2rem;margin:2.3rem 0 2.3rem}h1 .subtitle{font-size:2.4rem;font-weight:normal}h1 .subtitle::before{content:' \2014 '}h2{font-size:2.1rem;margin:3.6rem 0 1.2rem}h3{font-size:1.8rem;margin:2.4rem 0 1.2rem}h4{font-size:1.6rem;margin:2.4rem 0 0}h5{font-size:1.6rem;margin:0 0 0.6rem}h6{font-size:1.6rem;margin:0 0 0.6rem}p{margin-bottom:1.8rem;color:#111}code{background:#fafafa;text-shadow:1px 1px #fff;border:1px solid #bbb;display:block;padding:7px;margin:5px 0;border-radius:7px}mark{background-color:#fdfc9b;font-style:italic;font-weight:bold}del{text-decoration:line-through}abbr,acronym{border-bottom:1px dotted #999;cursor:help}cite,em,i{font-style:italic}ins{background-color:#fdfc9b;text-decoration:none}pre{background:#d8d8d8;text-shadow:1px 1px #fff;border:1px solid #bbb;padding:7px;margin:5px 0;border-radius:7px}b,strong{font-weight:bold}sup,sub{font-size:1rem;height:0;line-height:1;vertical-align:baseline;position:relative}sup{bottom:1ex}sub{top:.5ex}address{font-style:normal}hr{border:0;border-top:1px solid #eee}ol,ul{list-style:none}ul{list-style-type:disc;margin:1.2rem 0 1.8rem 2.4rem}ul ul{list-style-type:square;margin-bottom:0}ul ul ul{list-style-type:circle}ol{list-style-type:decimal;margin:1.2rem 0 1.8rem 2.4rem}ol ol{list-style:upper-alpha;margin-bottom:0}ol ol ol{list-style:lower-roman}ol ol ol ol{list-style:lower-alpha}dt{font-weight:bold;margin-bottom:2.4rem}dd{margin-left:30px;margin-bottom:2.4rem}li{padding-bottom:.6rem}blockquote,q{quotes:none;border:0;display:-webkit-box;display:-ms-flexbox;display:flex}blockquote::before,blockquote::after,q::before,q::after{content:'';padding:1rem .5rem .5rem 4.7rem;text-shadow:1px 1px #fff;margin:5px 0;border-radius:7px;background:transparent url('../images/quote.png?17d90291163') no-repeat scroll 0 0}blockquote::after,q::after{-webkit-transform:rotate(180deg);transform:rotate(180deg)}img,svg,video{max-width:100%;height:auto}img{outline:0}svg:not(:root){overflow:hidden}fieldset{background:#fff;border:1px solid #ccc;margin-top:1rem;margin-bottom:3.2rem;padding:0 0 1rem;position:relative;top:12px;border-radius:4px/4px}fieldset.collapsed{background:transparent;border-radius:0}fieldset.collapsed legend{border-radius:4px}fieldset legend{background:#dbdbdb;border:solid #ccc;border-width:1px 1px 0;display:block;height:2em;left:-1px;line-height:2;padding:0;position:absolute;text-indent:1rem;text-shadow:0 1px 0 #fff;top:-12px;width:100%;border-top-left-radius:4px;border-top-right-radius:4px}fieldset .fieldset-wrapper{padding:0 1rem}fieldset .fieldset-description{margin-top:.5rem;margin-bottom:1em;line-height:1.4;font-style:italic}input:not(input[type='radio']){border-radius:0;margin:.2rem 0;padding:.4rem;-webkit-appearance:none}input,textarea{font-size:.929em}textarea{line-height:1.5}@media screen and (max-width: 440px){textarea.form-textarea{width:100%}}textarea.form-textarea,select.form-select{padding:.4rem}@media screen and (max-width: 440px){input.form-text,select.form-select{width:93%}}input.form-text,textarea.form-textarea,select.form-select{border:1px solid #555}button:not(.toolbar-icon):not(.ui-button):not(.trigger):not(.slick-arrow):not([id^=slick-slide-control]):not([id^=accordion]),input[type='submit'],input[type='reset'],input[type='button']{background-image:-webkit-gradient(linear, left top, left bottom, from(#fff), to(#e3e3e3));background-image:linear-gradient(to bottom, #fff 0%, #e3e3e3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff', endColorstr='#e3e3e3');border:1px solid #dbdbdb;border-radius:0;-webkit-box-shadow:inset 0 1px 0 0 white;box-shadow:inset 0 1px 0 0 white;color:#777;text-shadow:0 1px 0 white;position:relative;font-weight:bold;padding:.5rem 1em .6rem}button:not(.toolbar-icon):not(.ui-button):not(.trigger):not(.slick-arrow):not([id^=slick-slide-control]):not([id^=accordion]):hover,input[type='submit']:hover,input[type='reset']:hover,input[type='button']:hover{background-image:-webkit-gradient(linear, left top, left bottom, from(#dbdbdb), to(#f2f2f2));background-image:linear-gradient(to bottom, #dbdbdb 0%, #f2f2f2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dbdbdb', endColorstr='#f2f2f2');-webkit-box-shadow:inset 0 1px 0 0 white;box-shadow:inset 0 1px 0 0 white;cursor:pointer}input.form-checkbox,input.form-radio{vertical-align:baseline}table{width:100%;margin-bottom:1.8rem;background:#fff;border-collapse:collapse;border-spacing:0;border:1px solid #bbb}th,tr,td{vertical-align:middle}th{background:#2e3d4a;border-right:1px solid #c8c7c7;color:#fff;padding:10px;font-weight:bold}.sticky-header th,.sticky-table th{border-bottom:3px solid #ccc;padding-right:1em;text-align:left}td{background:#fff;color:#747474;text-align:left;padding:10px;border:1px solid #dbdbdb} diff --git a/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/components.css b/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/components.css index 543cdf93cd..9809aef8f0 100644 --- a/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/components.css +++ b/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/components.css @@ -1,2008 +1 @@ -@charset "UTF-8"; -/* - * @file - * Defines the components for the theme. - */ -/* Vertical rhythm presets =========================================== */ -/* Breakpoints ======================================================== */ -/* - * @file - * Helper partial to outline the order component files should be loaded - used for reference & in the style guide. - */ -/* - * @file - * Defines a main navigation component. - */ -/* line 28, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ -.region-primary-menu .menu_wrapper { - width: 100%; -} - -@media screen and (max-width: 766px) { - /* line 28, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ - .region-primary-menu .menu_wrapper { - margin: 0; - } -} - -/* line 48, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ -#main-menu { - max-width: 1024px; - margin: 0 auto; - position: relative; - background-color: transparent; -} - -/* line 54, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ -#main-menu .nav-main { - height: auto; - min-height: 44px; -} - -@media screen and (max-width: 766px) { - /* line 54, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ - #main-menu .nav-main { - height: 0; - overflow: hidden; - min-height: 0; - } -} - -/* line 66, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ -#main-menu .menu-main { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - padding: 0; - margin: 0; - list-style: none; -} - -@media screen and (max-width: 766px) { - /* line 66, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ - #main-menu .menu-main { - display: block; - max-width: 100%; - float: none; - } -} - -/* line 78, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ -#main-menu .menu-main_sub { - display: none; - list-style: none; - position: absolute; - z-index: 9999; - padding: 0; - margin: 0; - background: transparent; - overflow: visible !important; -} - -@media screen and (max-width: 766px) { - /* line 78, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ - #main-menu .menu-main_sub { - position: static; - border: 0; - } -} - -/* line 93, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ -#main-menu .menu-main_sub ul { - left: 100%; - top: 0; - margin-left: 1px; -} - -@media screen and (max-width: 766px) { - /* line 93, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ - #main-menu .menu-main_sub ul { - margin: 0; - border: 0; - } -} - -/* line 104, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ -#main-menu .menu-main_sub .menu-item { - float: none; - min-width: 150px; - padding: 0; - margin: 0; - position: relative; - width: 100%; -} - -/* line 112, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ -#main-menu .menu-main_sub .menu-item.open { - background: #141f6f; -} - -@media screen and (max-width: 766px) { - /* line 112, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ - #main-menu .menu-main_sub .menu-item.open { - background: rgba(26, 26, 26, 0); - } -} - -@media screen and (max-width: 766px) { - /* line 104, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ - #main-menu .menu-main_sub .menu-item { - margin: 0; - width: 100%; - text-align: center; - border-right: 0; - background: rgba(26, 26, 26, 0); - } - /* line 128, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ - #main-menu .menu-main_sub .menu-item .menu-item .menu-link { - background: rgba(31, 31, 31, 0); - } -} - -/* line 133, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ -#main-menu .menu-main_sub .menu-item span.active { - font-weight: bold; - text-align: left; - padding-left: 1.1rem; -} - -/* line 140, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ -#main-menu .menu-main_sub .menu-link, -#main-menu .menu-main_sub .active { - font-size: 1.4rem; - min-width: 150px; - margin: 0; - border-top: 1px solid #fff; - text-align: left; - overflow: hidden; - padding: .8rem 1.1rem; - border-radius: 0; - color: #fff; -} - -@media screen and (max-width: 766px) { - /* line 140, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ - #main-menu .menu-main_sub .menu-link, - #main-menu .menu-main_sub .active { - border-top: 1px solid #fff; - } -} - -@media screen and (min-width: 766px) { - /* line 140, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ - #main-menu .menu-main_sub .menu-link, - #main-menu .menu-main_sub .active { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - } -} - -/* line 165, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ -#main-menu .menu-item { - font-size: 1.4rem; - line-height: 2.4rem; - position: relative; - padding: 0; - margin: 0; - -webkit-box-flex: 1; - -ms-flex-positive: 1; - flex-grow: 1; -} - -@media screen and (max-width: 766px) { - /* line 165, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ - #main-menu .menu-item { - float: none; - max-width: 100%; - } -} - -/* line 179, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ -#main-menu .menu-item.open > ul { - display: block; -} - -/* line 183, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ -#main-menu .menu-item.open .menu-toggle-btn { - background: #fff; - color: transparent; - font-weight: bold; -} - -/* line 191, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ -#main-menu .menu-link, -#main-menu .menu .active { - border-bottom: 5px solid transparent; - padding: 1.1rem 0 .4rem; - display: block; - text-decoration: none; - color: #fff; - font-weight: 500; - min-width: 44px; - text-align: center; -} - -@media screen and (max-width: 766px) { - /* line 191, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ - #main-menu .menu-link, - #main-menu .menu .active { - width: 100%; - padding: 13px 2%; - border-radius: 0; - border-bottom: 1px solid #fff; - border-right: 0; - text-align: left; - } -} - -/* line 213, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ -#main-menu .menu-link:hover, #main-menu .menu-link:focus { - background: #151d68; -} - -/* line 219, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ -#main-menu .menu .menu-item .active, -#main-menu .menu .menu-item .active + .menu-main_sub .title a { - background: rgba(191, 191, 191, 0.25); - border-bottom-color: #cad400; -} - -/* line 226, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ -#main-menu .ico { - width: 1rem; - height: 1rem; - margin: 0 0 0 5px; -} - -/* line 232, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ -#main-menu .menu-item.open .ico { - -webkit-transform: rotate(270deg); - transform: rotate(270deg); -} - -/* line 236, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ -#main-menu .menu-item .menu-main_sub .ico { - -webkit-transform: none; - transform: none; -} - -@media screen and (max-width: 766px) { - /* line 236, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ - #main-menu .menu-item .menu-main_sub .ico { - -webkit-transform: rotate(90deg); - transform: rotate(90deg); - } -} - -/* line 244, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ -#main-menu .menu-item .menu-main_sub .open .ico { - -webkit-transform: rotate(180deg); - transform: rotate(180deg); -} - -@media screen and (max-width: 766px) { - /* line 244, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ - #main-menu .menu-item .menu-main_sub .open .ico { - -webkit-transform: rotate(270deg); - transform: rotate(270deg); - } -} - -/* line 253, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ -#main-menu .toggler { - position: absolute; - top: 0; - left: -.5rem; - z-index: 2; - cursor: pointer; - height: 1px; - width: 1px; - overflow: hidden; - opacity: 0; - max-height: 5rem; - min-height: 5rem; - display: none; -} - -@media screen and (max-width: 766px) { - /* line 253, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ - #main-menu .toggler { - top: -5.2rem; - left: .5rem; - width: 5rem; - height: 5rem; - display: block; - /* Toggler Animation */ - /* Show menu */ - } - /* line 275, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ - #main-menu .toggler:checked + .hamburger > div { - -webkit-transform: rotate(135deg); - transform: rotate(135deg); - /* Turns Lines Into X */ - } - /* line 279, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ - #main-menu .toggler:checked + .hamburger > div::before, #main-menu .toggler:checked + .hamburger > div::after { - top: 0; - -webkit-transform: rotate(90deg); - transform: rotate(90deg); - } - /* line 286, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ - #main-menu .toggler:checked:hover + .hamburger > div { - -webkit-transform: rotate(225deg); - transform: rotate(225deg); - } - /* line 291, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ - #main-menu .toggler:checked ~ .nav-main { - height: auto; - -webkit-transition: max-height 1s ease; - transition: max-height 1s ease; - } -} - -/* line 298, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ -#main-menu .toggler-label { - display: none; -} - -@media screen and (max-width: 766px) { - /* line 298, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ - #main-menu .toggler-label { - display: block; - } -} - -/* line 306, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ -#main-menu .hamburger { - position: absolute; - top: -6.7rem; - left: .5rem; - z-index: 1; - width: auto; - height: 50px; - padding: 1rem; - display: none; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; -} - -@media screen and (max-width: 766px) { - /* line 306, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ - #main-menu .hamburger { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - /* Hamburger Line */ - } - /* line 322, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ - #main-menu .hamburger > div { - position: relative; - -webkit-box-flex: 0; - -ms-flex: none; - flex: none; - width: 2.1rem; - height: .3rem; - background: #fff; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-transition: all .4s ease; - transition: all .4s ease; - /* Hamburger Lines - Top & Bottom */ - /* Moves Line Down */ - } - /* line 334, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ - #main-menu .hamburger > div::after, #main-menu .hamburger > div::before { - content: ''; - position: absolute; - z-index: 1; - top: -.9rem; - left: 0; - width: 100%; - height: .3rem; - background: #fff; - } - /* line 347, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ - #main-menu .hamburger > div::after { - top: .9rem; - } - /* line 352, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ - #main-menu .hamburger-text { - color: #fff; - padding-left: 1rem; - } -} - -/* line 360, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ -.menu-link_button { - background: transparent; - border: 0; - -webkit-box-shadow: none; - box-shadow: none; - text-shadow: none; - font-size: 1.4rem; -} - -/* line 369, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_main-nav.scss */ -.path-search #main-menu .hamburger { - top: -5.1rem; -} - -/* - * @file - * Defines a breadcrumb component. - */ -/* line 33, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_breadcrumb.scss */ -.breadcrumb { - font-size: 1.3rem; - border-bottom: 1px solid #eee; - line-height: 2.5rem; -} - -/* line 40, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_breadcrumb.scss */ -.breadcrumb .breadcrumb--list { - list-style: none; - margin: 0; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: baseline; - -ms-flex-align: baseline; - align-items: baseline; - padding: .5rem 0; -} - -/* line 48, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_breadcrumb.scss */ -.breadcrumb .breadcrumb--item { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - margin: 0; - padding: 0; - line-height: 1.5; - -ms-flex-negative: 0; - flex-shrink: 0; -} - -/* line 55, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_breadcrumb.scss */ -.breadcrumb .breadcrumb--item a { - border: 0; - padding: .4rem 0; -} - -/* line 60, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_breadcrumb.scss */ -.breadcrumb .breadcrumb--item::after { - content: "»"; - margin: 0; - padding: 0 .3rem; -} - -/* line 66, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_breadcrumb.scss */ -.breadcrumb .breadcrumb--item:last-child { - -ms-flex-negative: 1; - flex-shrink: 1; -} - -/* line 69, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_breadcrumb.scss */ -.breadcrumb .breadcrumb--item:last-child::after { - content: none; -} - -/* line 19, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ -#pager .pager__items { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-flow: row wrap; - flex-flow: row wrap; - line-height: 5rem; - text-align: left; - list-style: none; - margin: 1.5em 0; - padding: 0; -} - -/* line 29, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ -#pager .pager__item { - margin: .2rem; - padding: 0; - border: 0; -} - -/* line 34, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ -#pager .pager__item--first { - margin-left: 0; -} - -/* line 38, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ -#pager .pager__item--last { - margin-right: 0; -} - -@media screen and (max-width: 476px) { - /* line 42, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ - #pager .pager__item.pager-hide-small { - display: none; - } -} - -@media screen and (max-width: 641px) { - /* line 48, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ - #pager .pager__item.pager-hide-phab { - display: none; - } -} - -/* line 54, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ -#pager .pager__item a, -#pager .pager__item .pager__item-current, #pager .pager__item--ellipsis { - display: inline-block; - -webkit-box-sizing: border-box; - box-sizing: border-box; - font-size: 1.6rem; - min-width: 4.4rem; - min-height: 4.4rem; - line-height: 4.2rem; - margin: 0; - padding: 0 .6rem; - text-align: center; - text-decoration: none; -} - -@media (min-width: 766px) { - /* line 54, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ - #pager .pager__item a, - #pager .pager__item .pager__item-current, #pager .pager__item--ellipsis { - min-width: 4.5rem; - min-height: 4.5rem; - line-height: 4.3rem; - } -} - -/* line 75, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ -#pager .pager__item--ellipsis { - min-width: 0; -} - -@media screen and (max-width: 476px) { - /* line 78, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ - #pager .pager__item--ellipsis.pager-ellipsis-hide { - display: none; - } -} - -/* line 85, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ -#pager .pager__item a, -#pager .pager__item a:active, -#pager .pager__item a:focus, -#pager .pager__item a:visited { - color: #0e6bb3; - background-color: #fff; - border: 1px solid #666; -} - -/* line 94, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ -#pager .pager__item a:focus { - outline: 3px solid #0e6bb3; -} - -/* line 98, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ -#pager .pager__item a:hover { - color: #fff; - background-color: #0e6bb3; - border-color: #0e6bb3; - text-decoration: none; -} - -/* line 105, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ -#pager .pager__item.is-active a, -#pager .pager__item.is-active .pager__item-current { - background-color: #0e6bb3; - color: #fff; -} - -/* line 111, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_pager.scss */ -#pager .pager__item--first a, -#pager .pager__item--previous a, -#pager .pager__item--next a, -#pager .pager__item--last a { - padding: 0 .6rem; -} - -/* line 11, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_toc.scss */ -.toc-menu { - background: transparent; - border-top: 1px solid #999; - border-bottom: 1px solid #999; - margin: 1em 0 1.5em; - padding: 0; -} - -/* line 18, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_toc.scss */ -.toc-menu .skip-link { - margin: 1em 0; -} - -/* line 22, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_toc.scss */ -.toc-menu .menu-title { - font-size: 1.6rem; - line-height: 1.5; - margin: 1em 0 1.5em; - font-weight: bold; - margin: 1em 0 .5em; -} - -@media screen and (min-width: 766px) { - /* line 22, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_toc.scss */ - .toc-menu .menu-title { - font-size: 1.8rem; - } -} - -/* line 28, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_toc.scss */ -.toc-menu .nav-menu { - margin: 0 0 2.7rem; - list-style: none; - padding: 0; -} - -/* line 33, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_toc.scss */ -.toc-menu .nav-menu .nav-item { - font-size: 1.6rem; - line-height: 1.5; - margin: 1em 0 1.5em; - margin: 0; - padding: 0 0 .6rem 1rem; - position: relative; -} - -@media screen and (min-width: 766px) { - /* line 33, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_toc.scss */ - .toc-menu .nav-menu .nav-item { - font-size: 1.8rem; - } -} - -/* line 39, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_toc.scss */ -.toc-menu .nav-menu .nav-item::before { - content: '-'; - position: absolute; - left: 0; - top: 0; -} - -/* line 46, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_toc.scss */ -.toc-menu .nav-menu .nav-item:last-child { - padding-bottom: 0; -} - -/* line 1, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_toolbar.scss */ -body.toolbar-tray-open.toolbar-vertical.toolbar-fixed { - margin-left: 18rem; -} - -/* line 5, node_modules/nicsdru_unity_theme/src/scss/3_components/navigation/_toolbar.scss */ -.toolbar-tab .toolbar-tray.toolbar-tray-vertical { - width: 18rem; -} - -/* - * @file - * Defines how a block component is styled. - */ -/* line 17, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_block.scss */ -.block { - margin-bottom: 2%; -} - -@media screen and (max-width: 961px) { - /* line 17, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_block.scss */ - .block { - margin-bottom: 2%; - } -} - -/* line 24, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_block.scss */ -.block:last-child { - margin: 0; -} - -/* line 28, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_block.scss */ -.block > h2 { - font-size: 3.6rem; - line-height: 4.2rem; - margin: 2.3rem 0 2.3rem; - margin: .5rem 0 1.5rem; - padding: 1rem; - overflow: hidden; - text-align: left; -} - -@media screen and (max-width: 440px) { - /* line 28, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_block.scss */ - .block > h2 { - font-size: 1.8rem; - } -} - -/* - * @file - * Provides styling for search facets. - */ -/* line 27, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet--title a.facet--btn, -#content .facet--title a.facet--btn { - background-color: #333; - display: block; - line-height: 4rem; - min-height: 4rem; - min-width: 100px; - padding: 0 .5em; - text-align: left; - text-decoration: none; - vertical-align: middle; - width: 100%; - font-size: 1.6rem; -} - -@media (min-width: 641px) { - /* line 27, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ - #search-facets .facet--title a.facet--btn, - #content .facet--title a.facet--btn { - min-width: 120px; - font-size: 1.8rem; - } -} - -/* line 46, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet--title a.facet--btn:link, #search-facets .facet--title a.facet--btn:visited, -#content .facet--title a.facet--btn:link, -#content .facet--title a.facet--btn:visited { - color: #fff; -} - -/* line 51, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet--title a.facet--btn:hover, -#content .facet--title a.facet--btn:hover { - background-color: #111; - text-decoration: none; -} - -/* line 56, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet--title a.facet--btn:focus, -#content .facet--title a.facet--btn:focus { - outline: 3px solid #949494; - outline-offset: -2px; - background-color: #111; - border-bottom-width: 2px; -} - -/* line 63, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet--title a.facet--btn:active, #search-facets .facet--title a.facet--btn.active, -#content .facet--title a.facet--btn:active, -#content .facet--title a.facet--btn.active { - background-color: #111; - border-color: #111; - text-decoration: none; -} - -/* line 70, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet--title a.facet--btn .ico-arrow-down, -#content .facet--title a.facet--btn .ico-arrow-down { - fill: #fff; - float: right; - height: 2rem; - margin: 1rem; - width: 2rem; - -webkit-transition: -webkit-transform .4s ease; - transition: -webkit-transform .4s ease; - transition: transform .4s ease; - transition: transform .4s ease, -webkit-transform .4s ease; -} - -/* line 79, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet--title a.facet--btn.active .ico-arrow-down, -#content .facet--title a.facet--btn.active .ico-arrow-down { - -webkit-transform: rotate(270deg); - transform: rotate(270deg); -} - -/* line 85, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet--dropdown-links, -#content .facet--dropdown-links { - margin: 1em 0; -} - -/* line 89, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet--title, -#content .facet--title { - margin: 0; -} - -/* line 93, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-list__links, -#content .facet-list__links { - margin: .1rem 0 .6rem; - list-style: none; -} - -/* line 98, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-list__links .facet-item ul, -#content .facet-list__links .facet-item ul { - padding: 0; - margin: 0; - list-style: none; -} - -/* line 103, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-list__links .facet-item ul .facet-item, -#content .facet-list__links .facet-item ul .facet-item { - position: relative; - padding: 0 0 0 1.2rem; - margin: 0; -} - -/* line 108, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-list__links .facet-item ul .facet-item::before, -#content .facet-list__links .facet-item ul .facet-item::before { - content: '-'; - position: absolute; - left: .5em; - top: .5em; -} - -/* line 118, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-item, #search-facets .facet-summary-item--facet, -#content .facet-item, -#content .facet-summary-item--facet { - margin: 0; - padding: 0; -} - -/* line 123, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-item__label, #search-facets .facet-summary-item--facet__label, -#content .facet-item__label, -#content .facet-summary-item--facet__label { - font-size: 1.6rem; - line-height: 2.4rem; - padding: 1rem 0; -} - -/* line 128, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-item__label::after, #search-facets .facet-summary-item--facet__label::after, -#content .facet-item__label::after, -#content .facet-summary-item--facet__label::after { - content: ':'; -} - -/* line 133, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-item a, #search-facets .facet-item--link, #search-facets .facet-summary-item--facet a, #search-facets .facet-summary-item--facet--link, -#content .facet-item a, -#content .facet-item--link, -#content .facet-summary-item--facet a, -#content .facet-summary-item--facet--link { - display: -webkit-inline-box; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-flow: row nowrap; - flex-flow: row nowrap; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - width: auto; - font-size: 1.6rem; - line-height: 2.4rem; - padding: .4rem .6rem; - margin: .6rem 0; - text-decoration: none; - color: #0e6bb3; -} - -/* line 147, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-item a:hover .facet-item__value, #search-facets .facet-item--link:hover .facet-item__value, #search-facets .facet-summary-item--facet a:hover .facet-item__value, #search-facets .facet-summary-item--facet--link:hover .facet-item__value, -#content .facet-item a:hover .facet-item__value, -#content .facet-item--link:hover .facet-item__value, -#content .facet-summary-item--facet a:hover .facet-item__value, -#content .facet-summary-item--facet--link:hover .facet-item__value { - -webkit-text-decoration: 2px underline #333; - text-decoration: 2px underline #333; -} - -/* line 152, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-item a .facet-item__value, #search-facets .facet-item--link .facet-item__value, #search-facets .facet-summary-item--facet a .facet-item__value, #search-facets .facet-summary-item--facet--link .facet-item__value, -#content .facet-item a .facet-item__value, -#content .facet-item--link .facet-item__value, -#content .facet-summary-item--facet a .facet-item__value, -#content .facet-summary-item--facet--link .facet-item__value { - text-decoration: underline; -} - -/* line 156, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-item a .facet-item__status, #search-facets .facet-item--link .facet-item__status, #search-facets .facet-summary-item--facet a .facet-item__status, #search-facets .facet-summary-item--facet--link .facet-item__status, -#content .facet-item a .facet-item__status, -#content .facet-item--link .facet-item__status, -#content .facet-summary-item--facet a .facet-item__status, -#content .facet-summary-item--facet--link .facet-item__status { - -ms-flex-negative: 0; - flex-shrink: 0; -} - -/* line 160, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-item a:visited, #search-facets .facet-item--link:visited, #search-facets .facet-summary-item--facet a:visited, #search-facets .facet-summary-item--facet--link:visited, -#content .facet-item a:visited, -#content .facet-item--link:visited, -#content .facet-summary-item--facet a:visited, -#content .facet-summary-item--facet--link:visited { - color: #0e6bb3; -} - -/* line 164, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-item a:focus, #search-facets .facet-item--link:focus, #search-facets .facet-summary-item--facet a:focus, #search-facets .facet-summary-item--facet--link:focus, -#content .facet-item a:focus, -#content .facet-item--link:focus, -#content .facet-summary-item--facet a:focus, -#content .facet-summary-item--facet--link:focus { - background-color: #0e6bb3; - color: #fff; - outline: 0; -} - -/* line 169, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-item a:focus > *, #search-facets .facet-item--link:focus > *, #search-facets .facet-summary-item--facet a:focus > *, #search-facets .facet-summary-item--facet--link:focus > *, -#content .facet-item a:focus > *, -#content .facet-item--link:focus > *, -#content .facet-summary-item--facet a:focus > *, -#content .facet-summary-item--facet--link:focus > * { - text-decoration: none; -} - -/* line 175, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-item__value, #search-facets .facet-summary-item--facet__value, -#content .facet-item__value, -#content .facet-summary-item--facet__value { - display: inline-block; - padding: 0 .4rem; -} - -/* line 180, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-item__count, #search-facets .facet-summary-item--facet__count, -#content .facet-item__count, -#content .facet-summary-item--facet__count { - text-decoration: none; - white-space: nowrap; -} - -/* line 185, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-item__status, #search-facets .facet-summary-item--facet__status, -#content .facet-item__status, -#content .facet-summary-item--facet__status { - display: inline-block; - position: relative; - vertical-align: middle; - width: 2rem; - height: 2rem; - margin: 0; - padding: 0; - background-color: #666; - color: #fff; - text-decoration: none; -} - -/* line 197, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-item__status::before, #search-facets .facet-item__status::after, #search-facets .facet-summary-item--facet__status::before, #search-facets .facet-summary-item--facet__status::after, -#content .facet-item__status::before, -#content .facet-item__status::after, -#content .facet-summary-item--facet__status::before, -#content .facet-summary-item--facet__status::after { - content: ' '; - display: block; - width: .2rem; - height: 1rem; - background-color: #fff; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); - position: absolute; - left: .9rem; - top: .5rem; -} - -/* line 210, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-item__status::after, #search-facets .facet-summary-item--facet__status::after, -#content .facet-item__status::after, -#content .facet-summary-item--facet__status::after { - -webkit-transform: rotate(130deg); - transform: rotate(130deg); -} - -/* line 216, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-item a.is-active, -#search-facets .facet-summary-item--facet a, -#content .facet-item a.is-active, -#content .facet-summary-item--facet a { - background-color: #cee4f6; - color: #333; -} - -/* line 221, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-item a.is-active:visited, -#search-facets .facet-summary-item--facet a:visited, -#content .facet-item a.is-active:visited, -#content .facet-summary-item--facet a:visited { - color: #333; -} - -/* line 225, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-item a.is-active:focus, -#search-facets .facet-summary-item--facet a:focus, -#content .facet-item a.is-active:focus, -#content .facet-summary-item--facet a:focus { - outline: 3px solid #333; - outline-offset: -1px; - background-color: #cee4f6; -} - -/* line 231, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-item a.is-active .facet-item__value, -#search-facets .facet-summary-item--facet a .facet-item__value, -#content .facet-item a.is-active .facet-item__value, -#content .facet-summary-item--facet a .facet-item__value { - text-decoration: none; - padding-left: 0; -} - -/* line 236, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-item a.is-active:hover .facet-item__status, -#search-facets .facet-item a.is-active:focus .facet-item__status, -#search-facets .facet-summary-item--facet a:hover .facet-item__status, -#search-facets .facet-summary-item--facet a:focus .facet-item__status, -#content .facet-item a.is-active:hover .facet-item__status, -#content .facet-item a.is-active:focus .facet-item__status, -#content .facet-summary-item--facet a:hover .facet-item__status, -#content .facet-summary-item--facet a:focus .facet-item__status { - background-color: darkorange; -} - -/* line 242, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-summary-item--facet a, -#content .facet-summary-item--facet a { - margin: 0 .5em; -} - -/* line 246, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-summary, -#content .facet-summary { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-flow: row nowrap; - flex-flow: row nowrap; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - margin: 0; - padding: 0; -} - -/* line 253, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-summary__label, -#content .facet-summary__label { - margin: 0; - padding: 0; -} - -/* line 258, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets .facet-summary__list, -#content .facet-summary__list { - list-style: none; - margin: 0; - padding: 0; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-flow: row wrap; - flex-flow: row wrap; -} - -/* line 268, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets a.facets-soft-limit-link, -#content a.facets-soft-limit-link { - display: inline-block; - font-size: 1.6rem; - line-height: 2.4rem; - padding: .4rem 4rem .4rem .8rem; - position: relative; -} - -/* line 274, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets a.facets-soft-limit-link:focus, -#content a.facets-soft-limit-link:focus { - outline: 0; - background-color: #0e6bb3; - color: #fff; - text-decoration: none; -} - -/* line 281, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets a.facets-soft-limit-link::after, -#content a.facets-soft-limit-link::after { - content: ''; - display: block; - position: absolute; - top: .4rem; - right: .4rem; - width: 2.4rem; - height: 2.4rem; - border: 1px solid #333; - background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2025%2015%22%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%20.st0%7Bfill%3A%23333333%3Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3B%7D%20%3C%2Fstyle%3E%3Cpath%20class%3D%22st0%22%20d%3D%22M12.5%200L0%2012l3%203%209.5-10L22%2015l3-3L12.5%200z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat scroll center center/12px auto; - -webkit-transform: rotate(180deg); - transform: rotate(180deg); -} - -/* line 294, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets a.facets-soft-limit-link:hover::after, #search-facets a.facets-soft-limit-link:focus::after, -#content a.facets-soft-limit-link:hover::after, -#content a.facets-soft-limit-link:focus::after { - border-color: #fff; - background: #0e6bb3 url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2025%2015%22%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%20.st0%7Bfill%3A%23ffffff%3Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3B%7D%20%3C%2Fstyle%3E%3Cpath%20class%3D%22st0%22%20d%3D%22M12.5%200L0%2012l3%203%209.5-10L22%2015l3-3L12.5%200z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat scroll center center/12px auto; -} - -/* line 302, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets a.facets-soft-limit-link.open::after, -#content a.facets-soft-limit-link.open::after { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); -} - -/* line 308, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets #post-content .facet-summary-item--facet a, -#content #post-content .facet-summary-item--facet a { - margin: 0 .5em; - border-bottom: none; - padding: .4rem .6rem; -} - -/* line 313, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets #post-content .facet-summary-item--facet a:hover, -#content #post-content .facet-summary-item--facet a:hover { - border-bottom: none; -} - -/* line 316, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets #post-content .facet-summary-item--facet a:hover .facet-item__value, -#content #post-content .facet-summary-item--facet a:hover .facet-item__value { - text-decoration: none; -} - -/* line 321, node_modules/nicsdru_unity_theme/src/scss/3_components/block/_facets.scss */ -#search-facets #post-content .facet-summary-item--facet a:focus, -#content #post-content .facet-summary-item--facet a:focus { - outline: 3px solid #333; - outline-offset: -1px; - background-color: #cee4f6; -} - -/* line 1, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ -.submitted { - background: #f7f7f7; - border: 1px solid #ececec; - clear: both; - color: #383838; - display: inline-block; - margin-bottom: .5rem; - padding: .2rem .8rem; -} - -/* line 11, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ -.form-submit { - cursor: pointer; -} - -/* line 15, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ -.form-text { - padding: .8rem; -} - -/* line 19, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ -.form-item { - margin-bottom: 1em; - margin-top: .2rem; -} - -/* line 26, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ -.form-type-radio label, -.form-type-checkbox label { - margin-left: .4rem; -} - -/* line 30, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ -.form-type-radio .description, -.form-type-checkbox .description { - margin-left: .2rem; -} - -/* line 35, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ -.form-actions { - padding-top: 1rem; -} - -/* line 39, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ -fieldset { - border: none; -} - -/* line 42, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ -fieldset .fieldset-wrapper { - margin-top: 2.5rem; - padding-left: 0.3rem; -} - -/* line 48, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ -.password-suggestions ul li { - margin-left: 1.2em; -} - -/* line 52, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ -label { - display: block; -} - -/* line 56, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ -[type='text'], -[type='search'], -[type='tel'], -[type='url'], -[type='email'], -[type='password'], -[type='date'], -[type='time'], -[type='number'] { - width: 100%; - max-width: 56rem; - max-width: -webkit-fit-content; - max-width: -moz-fit-content; - max-width: fit-content; -} - -/* line 70, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ -[size='30'], -[size='40'], -[size='50'], -[size='60'] { - max-width: 65rem; -} - -/* line 78, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ -input[type="submit"] { - text-decoration: none; -} - -/* line 83, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ -[type='text'], -[type='search'], -[type='tel'], -[type='url'], -[type='email'], -[type='password'], -[type='date'], -[type='time'], -[type='number'], -textarea { - -webkit-box-sizing: border-box; - box-sizing: border-box; - border: 1px solid #555; - color: #333; - margin: .5em 0; - padding: .6rem; - min-height: 3.5rem; - /* Highlight the form elements that caused a form submission error. */ -} - -/* line 101, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_forms-generic.scss */ -[type='text'].error, [type='text'].error:focus, -[type='search'].error, -[type='search'].error:focus, -[type='tel'].error, -[type='tel'].error:focus, -[type='url'].error, -[type='url'].error:focus, -[type='email'].error, -[type='email'].error:focus, -[type='password'].error, -[type='password'].error:focus, -[type='date'].error, -[type='date'].error:focus, -[type='time'].error, -[type='time'].error:focus, -[type='number'].error, -[type='number'].error:focus, -textarea.error, -textarea.error:focus { - border: 1px solid #b63a1b; - outline-color: #b63a1b; - background-color: #ffdae0; - -webkit-box-shadow: none; - box-shadow: none; - color: #333; -} - -/* line 1, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ -.search-form { - display: -ms-grid; - display: grid; - -ms-grid-columns: calc(100% - 5.4rem) 5.4rem; - grid-template-columns: auto 5.4rem; - grid-template-areas: "form-item form-action"; - -webkit-box-align: first baseline; - -ms-flex-align: first baseline; - align-items: first baseline; - margin-top: 40px; -} - -@media screen and (max-width: 766px) { - /* line 1, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ - .search-form { - margin-right: 10px; - margin-top: 0; - } -} - -@supports (display: grid) { - /* line 1, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ - .search-form { - margin-top: 0; - } -} - -@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { - /* line 1, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ - .search-form { - margin-top: 0; - } -} - -/* line 24, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ -.search-form .form-item { - margin: 0; - -ms-grid-column: 1; - grid-area: form-item; - float: left; - width: calc(100% - 5.4rem); -} - -@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { - /* line 24, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ - .search-form .form-item { - width: auto; - } -} - -@supports (display: grid) { - /* line 24, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ - .search-form .form-item { - float: none; - width: auto; - } -} - -/* line 41, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ -.search-form .form-actions { - padding: 0; - -ms-grid-column: 2; - grid-area: form-action; - float: right; -} - -@supports (display: grid) { - /* line 41, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ - .search-form .form-actions { - float: none; - } -} - -/* line 52, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ -.search-form .form-submit { - border: 0; - -webkit-box-shadow: none; - box-shadow: none; - cursor: pointer; - padding: 0; -} - -/* line 58, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ -.search-form .form-submit:hover { - opacity: .8; - -webkit-box-shadow: none; - box-shadow: none; -} - -/* line 64, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ -.search-form input { - font-size: 1.6rem; - -webkit-box-sizing: border-box; - box-sizing: border-box; - height: 4.5rem; -} - -@media (min-width: 766px) { - /* line 64, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ - .search-form input { - font-size: 1.8rem; - } -} - -/* line 73, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ -.search-form input[type='submit'] { - background: #0e6bb3 url("data:image/svg+xml;charset=utf-8,%3Csvg%20id%3D%22Layer_1%22%20data-name%3D%22Layer%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20width%3D%22100px%22%20height%3D%22100px%22%20preserveAspectRatio%3D%22xMinYMid%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23fff%3Bfill-rule%3Aevenodd%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Ctitle%3Esearch-icon%3C%2Ftitle%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M97.5%2C77.89a6%2C6%2C0%2C0%2C1-8.25%2C1.49L64.89%2C62.65a5.85%2C5.85%2C0%2C0%2C1-2.55-5A21.59%2C21.59%2C0%2C0%2C1%2C25.4%2C46.81a21.16%2C21.16%2C0%2C0%2C1%2C3.47-16%2C21.69%2C21.69%2C0%2C0%2C1%2C30-5.42%2C21.36%2C21.36%2C0%2C0%2C1%2C7.1%2C27%2C6%2C6%2C0%2C0%2C1%2C5.67.58L96%2C69.71A5.86%2C5.86%2C0%2C0%2C1%2C97.5%2C77.89ZM61.38%2C40.3a14.8%2C14.8%2C0%2C0%2C0-6.23-9.6%2C15.12%2C15.12%2C0%2C0%2C0-20.92%2C3.77A14.88%2C14.88%2C0%2C0%2C0%2C38%2C55.24%2C15.12%2C15.12%2C0%2C0%2C0%2C59%2C51.46%2C14.74%2C14.74%2C0%2C0%2C0%2C61.38%2C40.3Z%22%2F%3E%3C%2Fsvg%3E") 0 center no-repeat; - background-size: 4.2rem auto; - text-indent: -9999px; - width: 5.4rem; - -webkit-filter: none; - filter: none; -} - -/* line 80, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ -.search-form input[type='submit']:focus { - outline: 3px solid #333; - outline-offset: -2px; - overflow: hidden; -} - -@media screen and (min-width: 320px) { - /* line 73, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ - .search-form input[type='submit'] { - -webkit-box-sizing: border-box; - box-sizing: border-box; - margin: .5em 0; - text-shadow: none; - position: relative; - } -} - -/* line 94, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ -.search-form input[type='text'] { - padding: 0 .8rem; - width: 100%; -} - -/* line 98, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ -.search-form input[type='text']:focus { - outline: 3px solid #333; - outline-offset: -2px; - position: relative; - z-index: 101; -} - -/* line 108, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ -.search-results .search-form, -.search-page .search-form { - max-width: 500px; - display: grid; - margin-right: 0; -} - -/* line 114, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ -.search-results .search-form .form-actions, -.search-page .search-form .form-actions { - padding-top: 0; -} - -/* line 119, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_search-form.scss */ -.search-results .search-form input.form-text, -.search-page .search-form input.form-text { - max-width: 100%; - border: 1px solid #ccc; -} - -/* Error Tool Tip Styles*/ -/* line 2, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_webform.scss */ -.required + label { - position: relative; - top: 100%; - left: -1px; - margin-top: -1px; - z-index: 101; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - max-width: 56rem; -} - -/* line 11, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_webform.scss */ -.required + label.error { - font-size: 1.6rem; - line-height: 1.5; - margin: 1em 0 1.5em; - font-weight: bold; - display: block; - position: absolute; - position: relative; - padding: .9rem; - color: #fff; - background-color: #d1431f; - border: 1px solid #d1431f; - border-radius: 3px; - -webkit-box-shadow: 4px 4px 9px 0 rgba(0, 0, 0, 0.3); - box-shadow: 4px 4px 9px 0 rgba(0, 0, 0, 0.3); - opacity: 1; - margin-top: 1rem; -} - -@media screen and (min-width: 766px) { - /* line 11, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_webform.scss */ - .required + label.error { - font-size: 1.8rem; - } -} - -/* line 26, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_webform.scss */ -.required + label.error::after { - content: ''; - border: .9rem solid transparent; - border-bottom-color: #d1431f; - position: absolute; - top: -1.8rem; - left: .9rem; -} - -/* line 37, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_webform.scss */ -.search-form { - position: relative; -} - -/* line 40, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_webform.scss */ -.search-form .required + label.error { - position: absolute; - margin-top: 0; -} - -/* line 2, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_preview-form.scss */ -#node-preview-form-select a.node-preview-backlink { - color: #fff; - text-align: left; - display: inline-block; - background-color: #3fa940; - background-repeat: no-repeat; - background-position-y: center; - border: 1px solid transparent; - border-color: #3fa940; - min-width: 150px; - min-height: 4.8rem; - padding: .7rem 1.6rem; - position: relative; - font-size: 2.1rem; - line-height: 2.8rem; -} - -@media (min-width: 766px) { - /* line 2, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_preview-form.scss */ - #node-preview-form-select a.node-preview-backlink { - min-height: 5.4rem; - padding: .8rem 1.8rem; - font-size: 2.4rem; - line-height: 3.6rem; - } -} - -/* line 25, node_modules/nicsdru_unity_theme/src/scss/3_components/form/_preview-form.scss */ -#node-preview-form-select a.node-preview-backlink::after { - content: "\f2ea"; - display: inline-block; - font-family: 'Font Awesome 5 Free'; - font-style: normal; - font-variant: normal; - text-rendering: auto; - -webkit-font-smoothing: antialiased; - font-weight: 900; - padding-left: 2rem; -} - -/* line 1, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ -.item-list ul { - margin: 0; - padding: 0; -} - -/* line 7, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ -ul.inline { - clear: both; -} - -/* line 11, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ -ul.primary { - border: 0; - margin: 0; - padding: 0; -} - -/* line 16, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ -ul.primary li { - float: left; -} - -/* line 19, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ -ul.primary li a { - border-radius: 4px/0; - background: none; - border: 0; - display: block; - float: left; - line-height: 1.5385em; - margin: 0 .5rem 0 0; - padding: 0 1em; -} - -/* line 29, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ -ul.primary li a:hover, ul.primary li a:active { - background: #111; - border: 0; - color: #fff; -} - -/* line 36, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ -ul.primary li a:hover { - background: #888; - text-decoration: none; -} - -/* line 44, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ -ul.secondary { - background: #111; - border-bottom: 0; - clear: both; - margin: 0; - padding: 0; -} - -/* line 51, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ -ul.secondary li { - border-right: 0; -} - -/* line 54, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ -ul.secondary li a, -ul.secondary li a:link { - border: 0; - color: #ccc; - display: block; - float: left; - line-height: 1.5385em; - padding: 0 1em; -} - -/* line 64, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ -ul.secondary li a:hover, -ul.secondary li a.active { - background: #888; - color: #fff; - text-decoration: none; -} - -/* line 72, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ -ul.secondary a.active { - border-bottom: 0; -} - -/* line 88, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ -.split-list { - -webkit-box-sizing: border-box; - box-sizing: border-box; - width: 100%; - clear: both; - float: left; -} - -/* line 94, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ -.split-list li { - float: left; - -webkit-box-sizing: border-box; - box-sizing: border-box; - width: 50%; - padding-right: 1em; -} - -/* line 100, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ -.split-list li:nth-child(odd) { - clear: left; -} - -/* line 116, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ -.dash-list li { - position: relative; - list-style: none; -} - -/* line 120, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_lists.scss */ -.dash-list li::before { - content: '-'; - position: absolute; - left: -20px; - top: 0; -} - -/* line 12, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_links.scss */ -a.btn { - font-size: 1.6rem; - line-height: 1.5; - margin: 1em 0 1.5em; - display: inline-block; - color: #fff; - margin: 1rem 0 0; - text-align: center; - padding: .6rem 1.6rem; - cursor: pointer; - background: #0e6bb3; - border-radius: 0; - border: 3px solid transparent; - text-decoration: none; -} - -@media screen and (min-width: 766px) { - /* line 12, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_links.scss */ - a.btn { - font-size: 1.8rem; - } -} - -/* line 25, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_links.scss */ -a.btn:hover, a.btn:focus { - background: #666; -} - -/* line 30, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_links.scss */ -a.btn:focus { - border-color: #000; -} - -/* - * @file - * Provides the styling for icon components. The file then extrapolates some concepts around icons further - * for when they are used in some kind of message container. - */ -/* line 36, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ -.ico { - display: inline; - margin-left: .2em; - fill: currentColor; -} - -/* line 48, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ -.ico-elink { - height: 1.1rem; - width: 1.4rem; - margin-bottom: .1rem; -} - -/* line 64, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ -.ico-arrow-left { - -webkit-transform: rotate(180deg); - transform: rotate(180deg); -} - -/* line 68, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ -.ico-arrow-up { - -webkit-transform: rotate(270deg); - transform: rotate(270deg); -} - -/* line 72, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ -.ico-arrow-down { - -webkit-transform: rotate(90deg); - transform: rotate(90deg); -} - -/* line 77, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ -.info-notice, .messages { - border: 2px solid; - margin: 1.5em 0; - padding: 1rem 1rem 1rem 4rem; -} - -@media (min-width: 641px) { - /* line 77, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ - .info-notice, .messages { - padding: 1.4rem 1.4rem 1.4rem 6rem; - } -} - -/* line 86, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ -.info-notice > *:first-child, .messages > *:first-child { - margin-top: 0; -} - -/* line 90, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ -.info-notice > *:last-child, .messages > *:last-child { - margin-bottom: 0; -} - -/* line 95, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ -.info-notice { - border-color: #141f6f; - background: #fff url('../images/i.svg?17d90291161') no-repeat 0.9rem 0.9rem/24px 24px; -} - -@media (min-width: 641px) { - /* line 95, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ - .info-notice { - background: #fff url('../images/i.svg?17d90291161') no-repeat 1.4rem 1.4rem/30px 30px; - } -} - -/* line 104, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ -.no-svg .info-notice { - background-image: url('../images/i.png?17d90291161'); -} - -/* line 109, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ -ul.info-notice { - padding: 1rem 1rem 1rem 4rem; -} - -@media (min-width: 641px) { - /* line 109, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ - ul.info-notice { - padding: 1.4rem 1.4rem 1.4rem 7rem; - } -} - -/* line 122, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ -.messages-list { - margin: 2.5rem 0; - list-style: none; -} - -/* line 126, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ -.field .messages-list, -.form-wrapper .messages-list { - margin-bottom: 0; -} - -/* line 135, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ -.messages--error { - border-color: #e34f4f; - background: #fff url('../images/wrong.svg?17d90291164') no-repeat 0.9rem 0.9rem/24px 24px; -} - -@media (min-width: 641px) { - /* line 135, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ - .messages--error { - background: #fff url('../images/wrong.svg?17d90291164') no-repeat 1.4rem 1.4rem/30px 30px; - } -} - -/* line 143, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ -.no-svg .messages--error { - background-image: url('../images/wrong.png?17d90291164'); -} - -/* line 148, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ -.messages--status { - border-color: #3fa940; - background: #fff url('../images/status.svg?17d90291163') no-repeat 0.9rem 0.9rem/24px 24px; -} - -@media (min-width: 641px) { - /* line 148, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ - .messages--status { - background: #fff url('../images/status.svg?17d90291163') no-repeat 1.4rem 1.4rem/30px 30px; - } -} - -/* line 156, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ -.no-svg .messages--status { - background-image: url('../images/status.png?17d90291163'); -} - -/* line 161, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ -.messages--warning { - border-color: #db6304; - background: #fff url('../images/warning.svg?17d90291164') no-repeat 0.9rem 0.9rem/24px 24px; -} - -@media (min-width: 641px) { - /* line 161, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ - .messages--warning { - background: #fff url('../images/warning.svg?17d90291164') no-repeat 1.4rem 1.4rem/30px 30px; - } -} - -/* line 169, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ -.no-svg .messages--warning { - background-image: url('../images/warning.png?17d90291164'); -} - -/* line 174, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ -.messages__list { - margin: 0; -} - -/* line 178, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ -.messages__item { - font-size: 1.8rem; -} - -/* line 181, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ -.messages__item:first-child { - margin-top: 0; -} - -/* line 187, node_modules/nicsdru_unity_theme/src/scss/3_components/content/_icons-messages.scss */ -.info-notice { - overflow: hidden; - border-color: #004695; -} - -/* line 9, src/scss/components.scss */ -#main-menu .menu-link, -#main-menu .menu .active, -#main-menu .menu-item.open .menu-toggle-btn { - color: #141f6f; - font-size: 1.8rem; -} - -/* line 17, src/scss/components.scss */ -#main-menu .menu-link:hover, #main-menu .menu-link:focus { - color: #fff; -} - -/* line 23, src/scss/components.scss */ -#main-menu .menu .menu-item .active { - border-color: #141f6f; -} - -/* line 27, src/scss/components.scss */ -#main-menu .menu-main_sub { - background: #141f6f; -} - -/* line 31, src/scss/components.scss */ -#main-menu .menu-main_sub .menu-item .active { - color: #fff; - border-color: #fff; -} - -/* line 37, src/scss/components.scss */ -#main-menu .menu-main_sub .menu-item a:hover, #main-menu .menu-main_sub .menu-item a:focus { - background: #0089d1; -} - -/* line 46, src/scss/components.scss */ -.question-meta { - border-bottom: 1px solid #000; - margin: 1.8rem 0; - padding: 0.9rem 0 1.8rem; - width: 100%; -} - -/* line 52, src/scss/components.scss */ -.question-meta span.inline { - width: 30%; - display: inline-block; - font-weight: bold; -} - -/*# sourceMappingURL=components.css.map */ \ No newline at end of file +.region-primary-menu .menu_wrapper{width:100%}@media screen and (max-width: 766px){.region-primary-menu .menu_wrapper{margin:0}}#main-menu{max-width:1024px;margin:0 auto;position:relative;background-color:rgba(0,0,0,0)}#main-menu .nav-main{height:auto;min-height:44px}@media screen and (max-width: 766px){#main-menu .nav-main{height:0;overflow:hidden;min-height:0}}#main-menu .menu-main{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0;margin:0;list-style:none}@media screen and (max-width: 766px){#main-menu .menu-main{display:block;max-width:100%;float:none}}#main-menu .menu-main_sub{display:none;list-style:none;position:absolute;z-index:9999;padding:0;margin:0;background:rgba(0,0,0,0);overflow:visible !important}@media screen and (max-width: 766px){#main-menu .menu-main_sub{position:static;border:0}}#main-menu .menu-main_sub ul{left:100%;top:0;margin-left:1px}@media screen and (max-width: 766px){#main-menu .menu-main_sub ul{margin:0;border:0}}#main-menu .menu-main_sub .menu-item{float:none;min-width:150px;padding:0;margin:0;position:relative;width:100%}#main-menu .menu-main_sub .menu-item.open{background:#141f6f}@media screen and (max-width: 766px){#main-menu .menu-main_sub .menu-item.open{background:rgba(26,26,26,0)}}@media screen and (max-width: 766px){#main-menu .menu-main_sub .menu-item{margin:0;width:100%;text-align:center;border-right:0;background:rgba(26,26,26,0)}#main-menu .menu-main_sub .menu-item .menu-item .menu-link{background:rgba(31,31,31,0)}}#main-menu .menu-main_sub .menu-item span.active{font-weight:bold;text-align:left;padding-left:1.1rem}#main-menu .menu-main_sub .menu-link,#main-menu .menu-main_sub .active{font-size:1.4rem;min-width:150px;margin:0;border-top:1px solid #fff;text-align:left;overflow:hidden;padding:.8rem 1.1rem;border-radius:0;color:#fff}@media screen and (max-width: 766px){#main-menu .menu-main_sub .menu-link,#main-menu .menu-main_sub .active{border-top:1px solid #fff}}@media screen and (min-width: 766px){#main-menu .menu-main_sub .menu-link,#main-menu .menu-main_sub .active{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}}#main-menu .menu-item{font-size:1.4rem;line-height:2.4rem;position:relative;padding:0;margin:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}@media screen and (max-width: 766px){#main-menu .menu-item{float:none;max-width:100%}}#main-menu .menu-item.open>ul{display:block}#main-menu .menu-item.open .menu-toggle-btn{background:#fff;color:rgba(0,0,0,0);font-weight:bold}#main-menu .menu-link,#main-menu .menu .active{border-bottom:5px solid transparent;padding:1.1rem 0 .4rem;display:block;text-decoration:none;color:#fff;font-weight:500;min-width:44px;text-align:center}@media screen and (max-width: 766px){#main-menu .menu-link,#main-menu .menu .active{width:100%;padding:13px 2%;border-radius:0;border-bottom:1px solid #fff;border-right:0;text-align:left}}#main-menu .menu-link:hover,#main-menu .menu-link:focus{background:#151d68}#main-menu .menu .menu-item .active,#main-menu .menu .menu-item .active+.menu-main_sub .title a{background:rgba(191,191,191,0.25);border-bottom-color:#cad400}#main-menu .ico{width:1rem;height:1rem;margin:0 0 0 5px}#main-menu .menu-item.open .ico{-webkit-transform:rotate(270deg);transform:rotate(270deg)}#main-menu .menu-item .menu-main_sub .ico{-webkit-transform:none;transform:none}@media screen and (max-width: 766px){#main-menu .menu-item .menu-main_sub .ico{-webkit-transform:rotate(90deg);transform:rotate(90deg)}}#main-menu .menu-item .menu-main_sub .open .ico{-webkit-transform:rotate(180deg);transform:rotate(180deg)}@media screen and (max-width: 766px){#main-menu .menu-item .menu-main_sub .open .ico{-webkit-transform:rotate(270deg);transform:rotate(270deg)}}#main-menu .toggler{position:absolute;top:0;left:-.5rem;z-index:2;cursor:pointer;height:1px;width:1px;overflow:hidden;opacity:0;max-height:5rem;min-height:5rem;display:none}@media screen and (max-width: 766px){#main-menu .toggler{top:-5.2rem;left:.5rem;width:5rem;height:5rem;display:block}#main-menu .toggler:checked+.hamburger>div{-webkit-transform:rotate(135deg);transform:rotate(135deg)}#main-menu .toggler:checked+.hamburger>div::before,#main-menu .toggler:checked+.hamburger>div::after{top:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}#main-menu .toggler:checked:hover+.hamburger>div{-webkit-transform:rotate(225deg);transform:rotate(225deg)}#main-menu .toggler:checked ~ .nav-main{height:auto;-webkit-transition:max-height 1s ease;transition:max-height 1s ease}}#main-menu .toggler-label{display:none}@media screen and (max-width: 766px){#main-menu .toggler-label{display:block}}#main-menu .hamburger{position:absolute;top:-6.7rem;left:.5rem;z-index:1;width:auto;height:50px;padding:1rem;display:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}@media screen and (max-width: 766px){#main-menu .hamburger{display:-webkit-box;display:-ms-flexbox;display:flex}#main-menu .hamburger>div{position:relative;-webkit-box-flex:0;-ms-flex:none;flex:none;width:2.1rem;height:.3rem;background:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-transition:all .4s ease;transition:all .4s ease}#main-menu .hamburger>div::after,#main-menu .hamburger>div::before{content:'';position:absolute;z-index:1;top:-.9rem;left:0;width:100%;height:.3rem;background:#fff}#main-menu .hamburger>div::after{top:.9rem}#main-menu .hamburger-text{color:#fff;padding-left:1rem}}.menu-link_button{background:transparent;border:0;-webkit-box-shadow:none;box-shadow:none;text-shadow:none;font-size:1.4rem}.path-search #main-menu .hamburger{top:-5.1rem}.breadcrumb{font-size:1.3rem;border-bottom:1px solid #eee;line-height:2.5rem}.breadcrumb .breadcrumb--list{list-style:none;margin:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;padding:.5rem 0}.breadcrumb .breadcrumb--item{display:-webkit-box;display:-ms-flexbox;display:flex;margin:0;padding:0;line-height:1.5;-ms-flex-negative:0;flex-shrink:0}.breadcrumb .breadcrumb--item a{border:0;padding:.4rem 0}.breadcrumb .breadcrumb--item::after{content:"»";margin:0;padding:0 .3rem}.breadcrumb .breadcrumb--item:last-child{-ms-flex-negative:1;flex-shrink:1}.breadcrumb .breadcrumb--item:last-child::after{content:none}#pager .pager__items{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;line-height:5rem;text-align:left;list-style:none;margin:1.5em 0;padding:0}#pager .pager__item{margin:.2rem;padding:0;border:0}#pager .pager__item--first{margin-left:0}#pager .pager__item--last{margin-right:0}@media screen and (max-width: 476px){#pager .pager__item.pager-hide-small{display:none}}@media screen and (max-width: 641px){#pager .pager__item.pager-hide-phab{display:none}}#pager .pager__item a,#pager .pager__item .pager__item-current,#pager .pager__item--ellipsis{display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:1.6rem;min-width:4.4rem;min-height:4.4rem;line-height:4.2rem;margin:0;padding:0 .6rem;text-align:center;text-decoration:none}@media (min-width: 766px){#pager .pager__item a,#pager .pager__item .pager__item-current,#pager .pager__item--ellipsis{min-width:4.5rem;min-height:4.5rem;line-height:4.3rem}}#pager .pager__item--ellipsis{min-width:0}@media screen and (max-width: 476px){#pager .pager__item--ellipsis.pager-ellipsis-hide{display:none}}#pager .pager__item a,#pager .pager__item a:active,#pager .pager__item a:focus,#pager .pager__item a:visited{color:#0e6bb3;background-color:#fff;border:1px solid #666}#pager .pager__item a:focus{outline:3px solid #0e6bb3}#pager .pager__item a:hover{color:#fff;background-color:#0e6bb3;border-color:#0e6bb3;text-decoration:none}#pager .pager__item.is-active a,#pager .pager__item.is-active .pager__item-current{background-color:#0e6bb3;color:#fff}#pager .pager__item--first a,#pager .pager__item--previous a,#pager .pager__item--next a,#pager .pager__item--last a{padding:0 .6rem}.toc-menu{background:transparent;border-top:1px solid #999;border-bottom:1px solid #999;margin:1em 0 1.5em;padding:0}.toc-menu .skip-link{margin:1em 0}.toc-menu .menu-title{font-size:1.6rem;line-height:1.5;margin:1em 0 1.5em;font-weight:bold;margin:1em 0 .5em}@media screen and (min-width: 766px){.toc-menu .menu-title{font-size:1.8rem}}.toc-menu .nav-menu{margin:0 0 2.7rem;list-style:none;padding:0}.toc-menu .nav-menu .nav-item{font-size:1.6rem;line-height:1.5;margin:1em 0 1.5em;margin:0;padding:0 0 .6rem 1rem;position:relative}@media screen and (min-width: 766px){.toc-menu .nav-menu .nav-item{font-size:1.8rem}}.toc-menu .nav-menu .nav-item::before{content:'-';position:absolute;left:0;top:0}.toc-menu .nav-menu .nav-item:last-child{padding-bottom:0}body.toolbar-tray-open.toolbar-vertical.toolbar-fixed{margin-left:18rem}.toolbar-tab .toolbar-tray.toolbar-tray-vertical{width:18rem}.block{margin-bottom:2%}@media screen and (max-width: 961px){.block{margin-bottom:2%}}.block:last-child{margin:0}.block>h2{font-size:3.6rem;line-height:4.2rem;margin:2.3rem 0 2.3rem;margin:.5rem 0 1.5rem;padding:1rem;overflow:hidden;text-align:left}@media screen and (max-width: 440px){.block>h2{font-size:1.8rem}}#search-facets .facet--title a.facet--btn,#content .facet--title a.facet--btn{background-color:#333;display:block;line-height:4rem;min-height:4rem;min-width:100px;padding:0 .5em;text-align:left;text-decoration:none;vertical-align:middle;width:100%;font-size:1.6rem}@media (min-width: 641px){#search-facets .facet--title a.facet--btn,#content .facet--title a.facet--btn{min-width:120px;font-size:1.8rem}}#search-facets .facet--title a.facet--btn:link,#search-facets .facet--title a.facet--btn:visited,#content .facet--title a.facet--btn:link,#content .facet--title a.facet--btn:visited{color:#fff}#search-facets .facet--title a.facet--btn:hover,#content .facet--title a.facet--btn:hover{background-color:#111;text-decoration:none}#search-facets .facet--title a.facet--btn:focus,#content .facet--title a.facet--btn:focus{outline:3px solid #949494;outline-offset:-2px;background-color:#111;border-bottom-width:2px}#search-facets .facet--title a.facet--btn:active,#search-facets .facet--title a.facet--btn.active,#content .facet--title a.facet--btn:active,#content .facet--title a.facet--btn.active{background-color:#111;border-color:#111;text-decoration:none}#search-facets .facet--title a.facet--btn .ico-arrow-down,#content .facet--title a.facet--btn .ico-arrow-down{fill:#fff;float:right;height:2rem;margin:1rem;width:2rem;-webkit-transition:-webkit-transform .4s ease;transition:-webkit-transform .4s ease;transition:transform .4s ease;transition:transform .4s ease, -webkit-transform .4s ease}#search-facets .facet--title a.facet--btn.active .ico-arrow-down,#content .facet--title a.facet--btn.active .ico-arrow-down{-webkit-transform:rotate(270deg);transform:rotate(270deg)}#search-facets .facet--dropdown-links,#content .facet--dropdown-links{margin:1em 0}#search-facets .facet--title,#content .facet--title{margin:0}#search-facets .facet-list__links,#content .facet-list__links{margin:.1rem 0 .6rem;list-style:none}#search-facets .facet-list__links .facet-item ul,#content .facet-list__links .facet-item ul{padding:0;margin:0;list-style:none}#search-facets .facet-list__links .facet-item ul .facet-item,#content .facet-list__links .facet-item ul .facet-item{position:relative;padding:0 0 0 1.2rem;margin:0}#search-facets .facet-list__links .facet-item ul .facet-item::before,#content .facet-list__links .facet-item ul .facet-item::before{content:'-';position:absolute;left:.5em;top:.5em}#search-facets .facet-item,#search-facets .facet-summary-item--facet,#content .facet-item,#content .facet-summary-item--facet{margin:0;padding:0}#search-facets .facet-item__label,#search-facets .facet-summary-item--facet__label,#content .facet-item__label,#content .facet-summary-item--facet__label{font-size:1.6rem;line-height:2.4rem;padding:1rem 0}#search-facets .facet-item__label::after,#search-facets .facet-summary-item--facet__label::after,#content .facet-item__label::after,#content .facet-summary-item--facet__label::after{content:':'}#search-facets .facet-item a,#search-facets .facet-item--link,#search-facets .facet-summary-item--facet a,#search-facets .facet-summary-item--facet--link,#content .facet-item a,#content .facet-item--link,#content .facet-summary-item--facet a,#content .facet-summary-item--facet--link{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:auto;font-size:1.6rem;line-height:2.4rem;padding:.4rem .6rem;margin:.6rem 0;text-decoration:none;color:#0e6bb3}#search-facets .facet-item a:hover .facet-item__value,#search-facets .facet-item--link:hover .facet-item__value,#search-facets .facet-summary-item--facet a:hover .facet-item__value,#search-facets .facet-summary-item--facet--link:hover .facet-item__value,#content .facet-item a:hover .facet-item__value,#content .facet-item--link:hover .facet-item__value,#content .facet-summary-item--facet a:hover .facet-item__value,#content .facet-summary-item--facet--link:hover .facet-item__value{-webkit-text-decoration:2px underline #333;text-decoration:2px underline #333}#search-facets .facet-item a .facet-item__value,#search-facets .facet-item--link .facet-item__value,#search-facets .facet-summary-item--facet a .facet-item__value,#search-facets .facet-summary-item--facet--link .facet-item__value,#content .facet-item a .facet-item__value,#content .facet-item--link .facet-item__value,#content .facet-summary-item--facet a .facet-item__value,#content .facet-summary-item--facet--link .facet-item__value{text-decoration:underline}#search-facets .facet-item a .facet-item__status,#search-facets .facet-item--link .facet-item__status,#search-facets .facet-summary-item--facet a .facet-item__status,#search-facets .facet-summary-item--facet--link .facet-item__status,#content .facet-item a .facet-item__status,#content .facet-item--link .facet-item__status,#content .facet-summary-item--facet a .facet-item__status,#content .facet-summary-item--facet--link .facet-item__status{-ms-flex-negative:0;flex-shrink:0}#search-facets .facet-item a:visited,#search-facets .facet-item--link:visited,#search-facets .facet-summary-item--facet a:visited,#search-facets .facet-summary-item--facet--link:visited,#content .facet-item a:visited,#content .facet-item--link:visited,#content .facet-summary-item--facet a:visited,#content .facet-summary-item--facet--link:visited{color:#0e6bb3}#search-facets .facet-item a:focus,#search-facets .facet-item--link:focus,#search-facets .facet-summary-item--facet a:focus,#search-facets .facet-summary-item--facet--link:focus,#content .facet-item a:focus,#content .facet-item--link:focus,#content .facet-summary-item--facet a:focus,#content .facet-summary-item--facet--link:focus{background-color:#0e6bb3;color:#fff;outline:0}#search-facets .facet-item a:focus>*,#search-facets .facet-item--link:focus>*,#search-facets .facet-summary-item--facet a:focus>*,#search-facets .facet-summary-item--facet--link:focus>*,#content .facet-item a:focus>*,#content .facet-item--link:focus>*,#content .facet-summary-item--facet a:focus>*,#content .facet-summary-item--facet--link:focus>*{text-decoration:none}#search-facets .facet-item__value,#search-facets .facet-summary-item--facet__value,#content .facet-item__value,#content .facet-summary-item--facet__value{display:inline-block;padding:0 .4rem}#search-facets .facet-item__count,#search-facets .facet-summary-item--facet__count,#content .facet-item__count,#content .facet-summary-item--facet__count{text-decoration:none;white-space:nowrap}#search-facets .facet-item__status,#search-facets .facet-summary-item--facet__status,#content .facet-item__status,#content .facet-summary-item--facet__status{display:inline-block;position:relative;vertical-align:middle;width:2rem;height:2rem;margin:0;padding:0;background-color:#666;color:#fff;text-decoration:none}#search-facets .facet-item__status::before,#search-facets .facet-item__status::after,#search-facets .facet-summary-item--facet__status::before,#search-facets .facet-summary-item--facet__status::after,#content .facet-item__status::before,#content .facet-item__status::after,#content .facet-summary-item--facet__status::before,#content .facet-summary-item--facet__status::after{content:' ';display:block;width:.2rem;height:1rem;background-color:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg);position:absolute;left:.9rem;top:.5rem}#search-facets .facet-item__status::after,#search-facets .facet-summary-item--facet__status::after,#content .facet-item__status::after,#content .facet-summary-item--facet__status::after{-webkit-transform:rotate(130deg);transform:rotate(130deg)}#search-facets .facet-item a.is-active,#search-facets .facet-summary-item--facet a,#content .facet-item a.is-active,#content .facet-summary-item--facet a{background-color:#cee4f6;color:#333}#search-facets .facet-item a.is-active:visited,#search-facets .facet-summary-item--facet a:visited,#content .facet-item a.is-active:visited,#content .facet-summary-item--facet a:visited{color:#333}#search-facets .facet-item a.is-active:focus,#search-facets .facet-summary-item--facet a:focus,#content .facet-item a.is-active:focus,#content .facet-summary-item--facet a:focus{outline:3px solid #333;outline-offset:-1px;background-color:#cee4f6}#search-facets .facet-item a.is-active .facet-item__value,#search-facets .facet-summary-item--facet a .facet-item__value,#content .facet-item a.is-active .facet-item__value,#content .facet-summary-item--facet a .facet-item__value{text-decoration:none;padding-left:0}#search-facets .facet-item a.is-active:hover .facet-item__status,#search-facets .facet-item a.is-active:focus .facet-item__status,#search-facets .facet-summary-item--facet a:hover .facet-item__status,#search-facets .facet-summary-item--facet a:focus .facet-item__status,#content .facet-item a.is-active:hover .facet-item__status,#content .facet-item a.is-active:focus .facet-item__status,#content .facet-summary-item--facet a:hover .facet-item__status,#content .facet-summary-item--facet a:focus .facet-item__status{background-color:darkorange}#search-facets .facet-summary-item--facet a,#content .facet-summary-item--facet a{margin:0 .5em}#search-facets .facet-summary,#content .facet-summary{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0;padding:0}#search-facets .facet-summary__label,#content .facet-summary__label{margin:0;padding:0}#search-facets .facet-summary__list,#content .facet-summary__list{list-style:none;margin:0;padding:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap}#search-facets a.facets-soft-limit-link,#content a.facets-soft-limit-link{display:inline-block;font-size:1.6rem;line-height:2.4rem;padding:.4rem 4rem .4rem .8rem;position:relative}#search-facets a.facets-soft-limit-link:focus,#content a.facets-soft-limit-link:focus{outline:0;background-color:#0e6bb3;color:#fff;text-decoration:none}#search-facets a.facets-soft-limit-link::after,#content a.facets-soft-limit-link::after{content:'';display:block;position:absolute;top:.4rem;right:.4rem;width:2.4rem;height:2.4rem;border:1px solid #333;background:#fff url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2025%2015%22%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%20.st0%7Bfill%3A%23333333%3Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3B%7D%20%3C%2Fstyle%3E%3Cpath%20class%3D%22st0%22%20d%3D%22M12.5%200L0%2012l3%203%209.5-10L22%2015l3-3L12.5%200z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat scroll center center/12px auto;-webkit-transform:rotate(180deg);transform:rotate(180deg)}#search-facets a.facets-soft-limit-link:hover::after,#search-facets a.facets-soft-limit-link:focus::after,#content a.facets-soft-limit-link:hover::after,#content a.facets-soft-limit-link:focus::after{border-color:#fff;background:#0e6bb3 url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2025%2015%22%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%20.st0%7Bfill%3A%23ffffff%3Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3B%7D%20%3C%2Fstyle%3E%3Cpath%20class%3D%22st0%22%20d%3D%22M12.5%200L0%2012l3%203%209.5-10L22%2015l3-3L12.5%200z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat scroll center center/12px auto}#search-facets a.facets-soft-limit-link.open::after,#content a.facets-soft-limit-link.open::after{-webkit-transform:rotate(0deg);transform:rotate(0deg)}#search-facets #post-content .facet-summary-item--facet a,#content #post-content .facet-summary-item--facet a{margin:0 .5em;border-bottom:none;padding:.4rem .6rem}#search-facets #post-content .facet-summary-item--facet a:hover,#content #post-content .facet-summary-item--facet a:hover{border-bottom:none}#search-facets #post-content .facet-summary-item--facet a:hover .facet-item__value,#content #post-content .facet-summary-item--facet a:hover .facet-item__value{text-decoration:none}#search-facets #post-content .facet-summary-item--facet a:focus,#content #post-content .facet-summary-item--facet a:focus{outline:3px solid #333;outline-offset:-1px;background-color:#cee4f6}.submitted{background:#f7f7f7;border:1px solid #ececec;clear:both;color:#383838;display:inline-block;margin-bottom:.5rem;padding:.2rem .8rem}.form-submit{cursor:pointer}.form-text{padding:.8rem}.form-item{margin-bottom:1em;margin-top:.2rem}.form-type-radio label,.form-type-checkbox label{margin-left:.4rem}.form-type-radio .description,.form-type-checkbox .description{margin-left:.2rem}.form-actions{padding-top:1rem}fieldset{border:none}fieldset .fieldset-wrapper{margin-top:2.5rem;padding-left:0.3rem}.password-suggestions ul li{margin-left:1.2em}label{display:block}[type='text'],[type='search'],[type='tel'],[type='url'],[type='email'],[type='password'],[type='date'],[type='time'],[type='number']{width:100%;max-width:56rem;max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content}[size='30'],[size='40'],[size='50'],[size='60']{max-width:65rem}input[type="submit"]{text-decoration:none}[type='text'],[type='search'],[type='tel'],[type='url'],[type='email'],[type='password'],[type='date'],[type='time'],[type='number'],textarea{-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #555;color:#333;margin:.5em 0;padding:.6rem;min-height:3.5rem}[type='text'].error,[type='text'].error:focus,[type='search'].error,[type='search'].error:focus,[type='tel'].error,[type='tel'].error:focus,[type='url'].error,[type='url'].error:focus,[type='email'].error,[type='email'].error:focus,[type='password'].error,[type='password'].error:focus,[type='date'].error,[type='date'].error:focus,[type='time'].error,[type='time'].error:focus,[type='number'].error,[type='number'].error:focus,textarea.error,textarea.error:focus{border:1px solid #b63a1b;outline-color:#b63a1b;background-color:#ffdae0;-webkit-box-shadow:none;box-shadow:none;color:#333}.search-form{display:-ms-grid;display:grid;-ms-grid-columns:calc(100% - 5.4rem) 5.4rem;grid-template-columns:auto 5.4rem;grid-template-areas:"form-item form-action";-webkit-box-align:first baseline;-ms-flex-align:first baseline;align-items:first baseline;margin-top:40px}@media screen and (max-width: 766px){.search-form{margin-right:10px;margin-top:0}}@supports (display: grid){.search-form{margin-top:0}}@media all and (-ms-high-contrast: none), (-ms-high-contrast: active){.search-form{margin-top:0}}.search-form .form-item{margin:0;-ms-grid-column:1;grid-area:form-item;float:left;width:calc(100% - 5.4rem)}@media all and (-ms-high-contrast: none), (-ms-high-contrast: active){.search-form .form-item{width:auto}}@supports (display: grid){.search-form .form-item{float:none;width:auto}}.search-form .form-actions{padding:0;-ms-grid-column:2;grid-area:form-action;float:right}@supports (display: grid){.search-form .form-actions{float:none}}.search-form .form-submit{border:0;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;padding:0}.search-form .form-submit:hover{opacity:.8;-webkit-box-shadow:none;box-shadow:none}.search-form input{font-size:1.6rem;-webkit-box-sizing:border-box;box-sizing:border-box;height:4.5rem}@media (min-width: 766px){.search-form input{font-size:1.8rem}}.search-form input[type='submit']{background:#0e6bb3 url("data:image/svg+xml;charset=utf-8,%3Csvg%20id%3D%22Layer_1%22%20data-name%3D%22Layer%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20width%3D%22100px%22%20height%3D%22100px%22%20preserveAspectRatio%3D%22xMinYMid%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23fff%3Bfill-rule%3Aevenodd%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Ctitle%3Esearch-icon%3C%2Ftitle%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M97.5%2C77.89a6%2C6%2C0%2C0%2C1-8.25%2C1.49L64.89%2C62.65a5.85%2C5.85%2C0%2C0%2C1-2.55-5A21.59%2C21.59%2C0%2C0%2C1%2C25.4%2C46.81a21.16%2C21.16%2C0%2C0%2C1%2C3.47-16%2C21.69%2C21.69%2C0%2C0%2C1%2C30-5.42%2C21.36%2C21.36%2C0%2C0%2C1%2C7.1%2C27%2C6%2C6%2C0%2C0%2C1%2C5.67.58L96%2C69.71A5.86%2C5.86%2C0%2C0%2C1%2C97.5%2C77.89ZM61.38%2C40.3a14.8%2C14.8%2C0%2C0%2C0-6.23-9.6%2C15.12%2C15.12%2C0%2C0%2C0-20.92%2C3.77A14.88%2C14.88%2C0%2C0%2C0%2C38%2C55.24%2C15.12%2C15.12%2C0%2C0%2C0%2C59%2C51.46%2C14.74%2C14.74%2C0%2C0%2C0%2C61.38%2C40.3Z%22%2F%3E%3C%2Fsvg%3E") 0 center no-repeat;background-size:4.2rem auto;text-indent:-9999px;width:5.4rem;-webkit-filter:none;filter:none}.search-form input[type='submit']:focus{outline:3px solid #333;outline-offset:-2px;overflow:hidden}@media screen and (min-width: 320px){.search-form input[type='submit']{-webkit-box-sizing:border-box;box-sizing:border-box;margin:.5em 0;text-shadow:none;position:relative}}.search-form input[type='text']{padding:0 .8rem;width:100%}.search-form input[type='text']:focus{outline:3px solid #333;outline-offset:-2px;position:relative;z-index:101}.search-results .search-form,.search-page .search-form{max-width:500px;display:grid;margin-right:0}.search-results .search-form .form-actions,.search-page .search-form .form-actions{padding-top:0}.search-results .search-form input.form-text,.search-page .search-form input.form-text{max-width:100%;border:1px solid #ccc}.required+label{position:relative;top:100%;left:-1px;margin-top:-1px;z-index:101;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;max-width:56rem}.required+label.error{font-size:1.6rem;line-height:1.5;margin:1em 0 1.5em;font-weight:bold;display:block;position:absolute;position:relative;padding:.9rem;color:#fff;background-color:#d1431f;border:1px solid #d1431f;border-radius:3px;-webkit-box-shadow:4px 4px 9px 0 rgba(0,0,0,0.3);box-shadow:4px 4px 9px 0 rgba(0,0,0,0.3);opacity:1;margin-top:1rem}@media screen and (min-width: 766px){.required+label.error{font-size:1.8rem}}.required+label.error::after{content:'';border:.9rem solid transparent;border-bottom-color:#d1431f;position:absolute;top:-1.8rem;left:.9rem}.search-form{position:relative}.search-form .required+label.error{position:absolute;margin-top:0}#node-preview-form-select a.node-preview-backlink{color:#fff;text-align:left;display:inline-block;background-color:#3fa940;background-repeat:no-repeat;background-position-y:center;border:1px solid transparent;border-color:#3fa940;min-width:150px;min-height:4.8rem;padding:.7rem 1.6rem;position:relative;font-size:2.1rem;line-height:2.8rem}@media (min-width: 766px){#node-preview-form-select a.node-preview-backlink{min-height:5.4rem;padding:.8rem 1.8rem;font-size:2.4rem;line-height:3.6rem}}#node-preview-form-select a.node-preview-backlink::after{content:"\f2ea";display:inline-block;font-family:'Font Awesome 5 Free';font-style:normal;font-variant:normal;text-rendering:auto;-webkit-font-smoothing:antialiased;font-weight:900;padding-left:2rem}.item-list ul{margin:0;padding:0}ul.inline{clear:both}ul.primary{border:0;margin:0;padding:0}ul.primary li{float:left}ul.primary li a{border-radius:4px/0;background:none;border:0;display:block;float:left;line-height:1.5385em;margin:0 .5rem 0 0;padding:0 1em}ul.primary li a:hover,ul.primary li a:active{background:#111;border:0;color:#fff}ul.primary li a:hover{background:#888;text-decoration:none}ul.secondary{background:#111;border-bottom:0;clear:both;margin:0;padding:0}ul.secondary li{border-right:0}ul.secondary li a,ul.secondary li a:link{border:0;color:#ccc;display:block;float:left;line-height:1.5385em;padding:0 1em}ul.secondary li a:hover,ul.secondary li a.active{background:#888;color:#fff;text-decoration:none}ul.secondary a.active{border-bottom:0}.split-list{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;clear:both;float:left}.split-list li{float:left;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%;padding-right:1em}.split-list li:nth-child(odd){clear:left}.dash-list li{position:relative;list-style:none}.dash-list li::before{content:'-';position:absolute;left:-20px;top:0}a.btn{font-size:1.6rem;line-height:1.5;margin:1em 0 1.5em;display:inline-block;color:#fff;margin:1rem 0 0;text-align:center;padding:.6rem 1.6rem;cursor:pointer;background:#0e6bb3;border-radius:0;border:3px solid transparent;text-decoration:none}@media screen and (min-width: 766px){a.btn{font-size:1.8rem}}a.btn:hover,a.btn:focus{background:#666}a.btn:focus{border-color:#000}.ico{display:inline;margin-left:.2em;fill:currentColor}.ico-elink{height:1.1rem;width:1.4rem;margin-bottom:.1rem}.ico-arrow-left{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.ico-arrow-up{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.ico-arrow-down{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.info-notice,.messages{border:2px solid;margin:1.5em 0;padding:1rem 1rem 1rem 4rem}@media (min-width: 641px){.info-notice,.messages{padding:1.4rem 1.4rem 1.4rem 6rem}}.info-notice>*:first-child,.messages>*:first-child{margin-top:0}.info-notice>*:last-child,.messages>*:last-child{margin-bottom:0}.info-notice{border-color:#141f6f;background:#fff url('../images/i.svg?17d90291161') no-repeat 0.9rem 0.9rem/24px 24px}@media (min-width: 641px){.info-notice{background:#fff url('../images/i.svg?17d90291161') no-repeat 1.4rem 1.4rem/30px 30px}}.no-svg .info-notice{background-image:url('../images/i.png?17d90291161')}ul.info-notice{padding:1rem 1rem 1rem 4rem}@media (min-width: 641px){ul.info-notice{padding:1.4rem 1.4rem 1.4rem 7rem}}.messages-list{margin:2.5rem 0;list-style:none}.field .messages-list,.form-wrapper .messages-list{margin-bottom:0}.messages--error{border-color:#e34f4f;background:#fff url('../images/wrong.svg?17d90291164') no-repeat 0.9rem 0.9rem/24px 24px}@media (min-width: 641px){.messages--error{background:#fff url('../images/wrong.svg?17d90291164') no-repeat 1.4rem 1.4rem/30px 30px}}.no-svg .messages--error{background-image:url('../images/wrong.png?17d90291164')}.messages--status{border-color:#3fa940;background:#fff url('../images/status.svg?17d90291163') no-repeat 0.9rem 0.9rem/24px 24px}@media (min-width: 641px){.messages--status{background:#fff url('../images/status.svg?17d90291163') no-repeat 1.4rem 1.4rem/30px 30px}}.no-svg .messages--status{background-image:url('../images/status.png?17d90291163')}.messages--warning{border-color:#db6304;background:#fff url('../images/warning.svg?17d90291164') no-repeat 0.9rem 0.9rem/24px 24px}@media (min-width: 641px){.messages--warning{background:#fff url('../images/warning.svg?17d90291164') no-repeat 1.4rem 1.4rem/30px 30px}}.no-svg .messages--warning{background-image:url('../images/warning.png?17d90291164')}.messages__list{margin:0}.messages__item{font-size:1.8rem}.messages__item:first-child{margin-top:0}.info-notice{overflow:hidden;border-color:#004695}#main-menu .menu-link,#main-menu .menu .active,#main-menu .menu-item.open .menu-toggle-btn{color:#141f6f;font-size:1.8rem}#main-menu .menu-link:hover,#main-menu .menu-link:focus{color:#fff}#main-menu .menu .menu-item .active{border-color:#141f6f}#main-menu .menu-main_sub{background:#141f6f}#main-menu .menu-main_sub .menu-item .active{color:#fff;border-color:#fff}#main-menu .menu-main_sub .menu-item a:hover,#main-menu .menu-main_sub .menu-item a:focus{background:#0089d1}.question-meta{border-bottom:1px solid #000;margin:1.8rem 0;padding:0.9rem 0 1.8rem;width:100%}.question-meta span.inline{width:30%;display:inline-block;font-weight:bold} diff --git a/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/init/kss-chroma-markup.css b/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/init/kss-chroma-markup.css index e5f6f1492c..e69de29bb2 100644 --- a/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/init/kss-chroma-markup.css +++ b/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/init/kss-chroma-markup.css @@ -1,7 +0,0 @@ -/* Vertical rhythm presets =========================================== */ -/* Breakpoints ======================================================== */ -/* -

branding

The site's main colors. Can be used to define colors in other color schemes.

color(black) uses the color: #000
color(charcoal) uses the color: #333 This color is inherited by: button-disabled, menu-borders
color(ash-grey) uses the color: #666
color(grey) uses the color: #999
color(grey-dark) uses the color: #ccc
color(grey-light) uses the color: #f8f7f7 This color is inherited by: border
color(grey-lightest) uses the color: #f0f0f0
color(grey-medium) uses the color: #cdcdcd
color(white) uses the color: #fff
color(offwhite) uses the color: #f3f8fc
color(dark-red) uses the color: #b63a1b This color is inherited by: error
color(hc-red) uses the color: #d1431f
color(light-pink) uses the color: #ffdae0 This color is inherited by: error-bg
color(brand-primary) uses the color: #141f6f This color is inherited by: menu-background, menu-sub-item-background, menu-sub-item-hover, footer-border
color(brand-secondary) uses the color: #151d68 This color is inherited by: menu-item-hover
color(brand-tertiary) uses the color: #002e62

functional

Colors used by functional parts of the design.

color(text) uses the color: #111 This color is inherited by: headings, button, footer-text, footer-headings
color(headings) uses the color: #111 (text)
color(link) uses the color: #16a085 This color is inherited by: link-active
color(link-hover) uses the color: #16a085
color(link-visited) uses the color: #5e60b5
color(link-active) uses the color: #16a085 (link)
color(border) uses the color: #f8f7f7 (grey-light)
color(button) uses the color: #111 (text)
color(button-disabled) uses the color: #333 (charcoal)
color(button-action) uses the color: #3fa940
color(info-notice) uses the color: #004695
color(mark-bg) uses the color: #ff0
color(error) uses the color: #b63a1b (dark-red)
color(error-bg) uses the color: #ffdae0 (light-pink)
color(menu-background) uses the color: #141f6f (brand-primary)
color(menu-item-hover) uses the color: #151d68 (brand-secondary)
color(menu-separator) uses the color: #fff
color(menu-sub-item-background) uses the color: #141f6f (brand-primary)
color(menu-sub-item-hover) uses the color: #141f6f (brand-primary)
color(menu-borders) uses the color: #333 (charcoal)
color(table-background) uses the color: #fff
color(table-border) uses the color: #bbb
color(table-header-cell-background) uses the color: #2e3d4a
color(table-header-cell-border) uses the color: #c8c7c7
color(table-header-cell-text) uses the color: #fff
color(table-cell-border) uses the color: #dbdbdb
color(table-cell-text) uses the color: #747474
color(footer-background) uses the color: #e7e7e7
color(footer-border) uses the color: #141f6f (brand-primary)
color(footer-text) uses the color: #111 (text)
color(footer-headings) uses the color: #111 (text)
color(search-submit) uses the color: #0e6bb3
-*/ - -/*# sourceMappingURL=kss-chroma-markup.css.map */ \ No newline at end of file diff --git a/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/layout.css b/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/layout.css index 9902e36cc5..99998a0208 100644 --- a/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/layout.css +++ b/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/layout.css @@ -1,883 +1 @@ -/* - * @file - * Defines the layout code for the theme. - */ -/* Vertical rhythm presets =========================================== */ -/* Breakpoints ======================================================== */ -/* - * @file - * Helper partial to outline the order partials should be loaded in this section - used for reference & in the style guide. - */ -/* - * @file - * Defines the layout styles for the header area. - */ -/* line 18, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ -#inner_header_wrapper { - margin: 0 auto; - position: relative; - overflow: inherit; -} - -/* line 24, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ -#header { - max-width: 1024px; - margin: 1% auto; - display: -ms-grid; - display: grid; - -ms-grid-columns: 50% 7.5% 42.5%; - grid-template-columns: 50% 42.5%; - grid-template-areas: 'top-left top-right'; - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; -} - -@media screen and (max-width: 766px) { - /* line 24, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ - #header { - margin: 0 auto; - -ms-grid-columns: 1fr; - grid-template-columns: 1fr; - grid-template-areas: 'top-left' 'top-right'; - } -} - -/* line 43, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ -.top_left { - min-height: 90px; - padding: 0; - position: relative; - -ms-grid-column: 1; - grid-area: top-left; - float: left; -} - -@supports (display: grid) { - /* line 43, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ - .top_left { - float: none; - } -} - -@media (min-width: 766px) { - /* line 43, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ - .top_left { - min-height: 110px; - } -} - -/* line 60, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ -.top_left #logo { - position: absolute; - left: 0; - top: 0; -} - -/* line 67, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ -.top_left #site-title #site-description { - font-size: 1.8rem; - line-height: 145%; -} - -/* line 74, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ -.top_right { - -ms-grid-row-align: center; - align-self: center; - -ms-grid-column: 3; - grid-area: top-right; - float: right; -} - -@supports (display: grid) or (display: -ms-grid) { - /* line 74, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ - .top_right { - float: none; - } -} - -@media screen and (max-width: 766px) { - /* line 74, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ - .top_right { - -ms-grid-column: 1; - -ms-grid-row: 2; - -ms-grid-column-align: unset; - justify-self: unset; - } -} - -/* line 92, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ -.top_right .region-search { - margin: .5rem 0; -} - -@media screen and (max-width: 766px) { - /* line 92, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ - .top_right .region-search { - width: 100%; - padding: 0; - } -} - -/* line 101, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ -.top_right ul.menu li a.active { - color: #6cdcff; -} - -@media screen and (max-width: 766px) { - /* line 106, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ - .top_left, - .top_right, - .search_block { - width: 100%; - } -} - -/* line 114, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ -#logo { - float: left; - margin: .8rem 1rem .8rem 0; -} - -@media screen and (max-width: 766px) { - /* line 114, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ - #logo { - text-align: center; - width: 100%; - margin: .8rem 0 0; - } -} - -/* line 124, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ -#logo img { - display: block; -} - -@media screen and (max-width: 766px) { - /* line 124, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ - #logo img { - text-align: center; - display: inline-block; - } -} - -/* line 134, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ -#site-title a, -#site-description { - font-weight: normal; -} - -/* line 139, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ -#site-title, -#site-description { - float: left; -} - -@media screen and (max-width: 766px) { - /* line 139, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ - #site-title, - #site-description { - margin: 0; - line-height: 1.62em; - } -} - -/* line 149, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ -#site-title { - font-size: 3rem; - margin: 1rem 0 0; - font-weight: bold; -} - -@media screen and (max-width: 766px) { - /* line 149, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ - #site-title { - padding: 0; - width: 100%; - display: inline-block; - } -} - -/* line 160, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ -#site-title a { - float: left; -} - -@media screen and (max-width: 766px) { - /* line 160, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ - #site-title a { - width: 100%; - text-align: center; - } -} - -/* line 170, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ -#site-description { - font-size: 1.6rem; - line-height: 1.5; - margin: 1em 0 1.5em; - margin: .4rem 0 0; - float: left; - clear: both; - line-height: 100%; - font-style: italic; - color: #0e6bb3; -} - -@media screen and (min-width: 766px) { - /* line 170, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ - #site-description { - font-size: 1.8rem; - } -} - -@media screen and (max-width: 766px) { - /* line 170, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ - #site-description { - padding-top: 1.8rem; - padding-bottom: .5rem; - width: 100%; - text-align: center; - } -} - -@media screen and (max-width: 766px) { - /* line 189, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ - #headerHero { - padding: .5rem 0 .5rem 10rem; - min-height: 54px; - background-color: transparent; - position: relative; - } - /* line 197, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ - #headerHero.no-menu .burger-toggle { - display: none !important; - } - /* line 201, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ - #headerHero.no-menu.no-search { - display: none; - } - /* line 207, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ - #headerHero .region-search input[type='text'], - #headerHero .region-search input[type='search'] { - max-width: 100%; - border: 0; - margin: .5em 0; - float: none; - border-radius: 0; - background: #fff; - } - @supports (display: grid) { - /* line 207, node_modules/nicsdru_unity_theme/src/scss/2_layout/_header.scss */ - #headerHero .region-search input[type='text'], - #headerHero .region-search input[type='search'] { - margin: 0; - } - } -} - -/* - * @file - * Defines the layouts for the container section of the page. - */ -/* line 21, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ -#container { - clear: both; - overflow: hidden; -} - -/* line 26, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ -.container-wrap { - max-width: 1024px; - margin: 0 auto 1rem; - padding: 0; - overflow: hidden; -} - -/* line 33, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ -.container { - padding: 0 15px; -} - -@media (min-width: 766px) { - /* line 33, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ - .container { - margin: 0 auto; - max-width: 1024px; - padding: 0 20px; - } -} - -/* line 42, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ -.content-sidebar-wrap { - float: left; - width: 100%; -} - -@media screen and (max-width: 961px) { - /* line 42, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ - .content-sidebar-wrap { - float: none; - width: 100% !important; - } -} - -@media screen and (max-width: 766px) { - /* line 42, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ - .content-sidebar-wrap { - width: auto; - } -} - -/* line 55, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ -.content-sidebar-wrap .main-content { - display: inline; - margin-bottom: 1rem; - float: right; - width: 100%; -} - -@media screen and (max-width: 961px) { - /* line 55, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ - .content-sidebar-wrap .main-content { - margin: 0; - float: none; - } -} - -@media screen and (max-width: 766px) { - /* line 55, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ - .content-sidebar-wrap .main-content { - float: left; - width: auto; - } -} - -@media screen and (max-width: 766px) { - /* line 72, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ - .front .content-sidebar-wrap { - margin: 0; - } -} - -/* line 79, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ -.sidebar-first-layout { - color: #111; - float: left; -} - -@media screen and (max-width: 961px) { - /* line 79, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ - .sidebar-first-layout { - clear: both; - float: none; - width: 100% !important; - padding: 0 1.5%; - } -} - -@media screen and (max-width: 766px) { - /* line 79, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ - .sidebar-first-layout { - width: auto; - clear: both; - } -} - -@media screen and (max-width: 766px) { - /* line 95, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ - .sidebar-first-layout .block { - float: none !important; - width: auto !important; - margin-left: 0; - } -} - -/* line 104, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ -.sidebar-second-layout { - color: #111; - float: right; -} - -@media screen and (max-width: 961px) { - /* line 104, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ - .sidebar-second-layout { - float: none; - width: 100% !important; - padding: 0 1.5%; - } -} - -@media screen and (max-width: 766px) { - /* line 104, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ - .sidebar-second-layout { - width: auto; - } -} - -@media screen and (max-width: 766px) { - /* line 118, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ - .sidebar-second-layout .block { - float: none !important; - width: auto !important; - margin-left: 0; - } -} - -/* line 128, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ -aside .block .content { - padding: 0 1rem; -} - -/* line 133, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ -aside #user-login-form input.form-text { - width: 90%; -} - -/* line 137, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ -aside #user-login-form .form-actions { - padding-top: 0; -} - -/* 3 columns */ -/* line 112, node_modules/nicsdru_unity_theme/src/scss/init/unity-layout/_unity-layout.scss */ -.two-sidebars .content-sidebar-wrap { - width: 80%; -} - -/* line 116, node_modules/nicsdru_unity_theme/src/scss/init/unity-layout/_unity-layout.scss */ -.two-sidebars .main-content { - width: 75%; -} - -/* line 120, node_modules/nicsdru_unity_theme/src/scss/init/unity-layout/_unity-layout.scss */ -.two-sidebars .sidebar-first-layout { - width: 24%; -} - -/* line 124, node_modules/nicsdru_unity_theme/src/scss/init/unity-layout/_unity-layout.scss */ -.two-sidebars .sidebar-second-layout { - width: 19%; -} - -/* 2 columns: sidebar-first */ -/* line 71, node_modules/nicsdru_unity_theme/src/scss/init/unity-layout/_unity-layout.scss */ -.sidebar-first .content-sidebar-wrap { - width: 100%; -} - -/* line 75, node_modules/nicsdru_unity_theme/src/scss/init/unity-layout/_unity-layout.scss */ -.sidebar-first .main-content { - width: 80%; -} - -/* line 79, node_modules/nicsdru_unity_theme/src/scss/init/unity-layout/_unity-layout.scss */ -.sidebar-first .sidebar-first-layout { - width: 19%; -} - -/* 2 columns: sidebar-second */ -/* line 83, node_modules/nicsdru_unity_theme/src/scss/init/unity-layout/_unity-layout.scss */ -.sidebar-second .content-sidebar-wrap { - width: 65%; -} - -/* line 87, node_modules/nicsdru_unity_theme/src/scss/init/unity-layout/_unity-layout.scss */ -.sidebar-second .main-content { - width: 100%; -} - -/* line 91, node_modules/nicsdru_unity_theme/src/scss/init/unity-layout/_unity-layout.scss */ -.sidebar-second .sidebar-second-layout { - width: 30%; -} - -/* line 164, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ -#head, -.main-content, -.sidebar-second-layout, -.sidebar-first-layout { - margin-top: 1rem; -} - -@media screen and (max-width: 961px) { - /* line 171, node_modules/nicsdru_unity_theme/src/scss/2_layout/_container.scss */ - .main-content { - float: none; - width: 100% !important; - } -} - -/* - * @file - * Defines the layouts for particular regions of the page. - */ -/* line 20, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ -.region-front-welcome { - max-width: 1024px; - margin: 2% auto; - text-align: center; -} - -@media screen and (max-width: 961px) { - /* line 20, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ - .region-front-welcome { - margin: 1% 2%; - } -} - -@media screen and (max-width: 766px) { - /* line 20, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ - .region-front-welcome { - padding: 1rem; - } -} - -@media screen and (max-width: 440px) { - /* line 20, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ - .region-front-welcome { - margin: 0; - } -} - -/* line 37, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ -.region-front-welcome .block h2 { - text-align: center; -} - -/* line 43, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ -#top-area { - clear: both; - position: relative; - max-width: 1024px; - margin: 0 auto; - text-align: center; -} - -@media screen and (max-width: 961px) { - /* line 43, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ - #top-area { - padding: 0 1.5rem; - } -} - -@media screen and (max-width: 766px) { - /* line 43, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ - #top-area { - padding: 0; - } -} - -/* line 58, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ -#top-area .block { - margin: 0; -} - -/* line 62, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ -#top-area .column { - float: left; - width: 32.3%; - margin: 0 .5rem; -} - -@media screen and (max-width: 961px) { - /* line 62, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ - #top-area .column { - width: 32%; - } -} - -@media screen and (max-width: 766px) { - /* line 62, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ - #top-area .column { - float: none !important; - width: auto !important; - margin: 1rem; - } -} - -/* line 77, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ -#top-area .column:last-child { - float: right; - margin-right: 0; -} - -@media screen and (max-width: 1153px) { - /* line 77, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ - #top-area .column:last-child { - margin-right: 0; - } -} - -/* line 86, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ -#top-area .column .content { - padding: 1rem 0; -} - -/* line 90, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ -#top-area .column:first-child { - margin-left: 0; -} - -@media screen and (max-width: 766px) { - /* line 90, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ - #top-area .column:first-child { - margin: 1rem; - } -} - -/* line 99, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ -#top-area h2 { - font-size: 2.1rem; - margin: 3.6rem 0 1.2rem; - color: #555; - padding: 1rem 0; - margin: 0; -} - -/* line 106, node_modules/nicsdru_unity_theme/src/scss/2_layout/_regions.scss */ -#top-area .column-title { - color: #e0e0e0; -} - -/* - * @file - * Defines the layouts for the footer area of the page. - */ -/* line 22, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ -#footer { - font-size: 1.6rem; - line-height: 1.5; - margin: 1em 0 1.5em; - overflow: auto; - padding: 1% 2% 2%; - background: #e7e7e7; - border-top: 9px solid #141f6f; - max-width: 1024px; - margin: 0 auto; -} - -@media screen and (min-width: 766px) { - /* line 22, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ - #footer { - font-size: 1.8rem; - } -} - -@media screen and (max-width: 766px) { - /* line 31, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ - #footer p { - margin: 0; - } -} - -/* line 39, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ -#footer .block > h2 { - color: #fff; - padding: 1rem 0; -} - -/* line 44, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ -#footer .column li { - display: block; - padding: .3rem 0 .3rem .1rem; - border-bottom-width: .1rem; - border-bottom-style: dotted; - border-color: #555; -} - -/* line 52, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ -#footer ul { - margin: 0; -} - -/* line 62, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ -.footer-area .column { - float: left; - width: 24.2%; - margin: 0 0 0 1%; - padding: 1%; -} - -@media screen and (max-width: 766px) { - /* line 62, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ - .footer-area .column { - float: none; - width: auto; - margin: 1rem; - } -} - -/* line 74, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ -.footer-area .column:first-child { - margin-left: 0; -} - -@media screen and (max-width: 766px) { - /* line 74, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ - .footer-area .column:first-child { - margin: 1rem; - } -} - -/* line 82, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ -.footer-area .column:last-child { - float: right; -} - -/* line 86, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ -.footer-area .column-title { - color: #111; -} - -/* line 90, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ -.bottom_widget .footer-area .column { - width: 32.5%; -} - -/* line 95, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ -.footer-area ul.menu li a.active { - color: #ddd; -} - -/* line 100, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ -.footer_block { - clear: both; -} - -@media screen and (max-width: 961px) { - /* line 108, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ - #footer_wrapper { - padding: 0 1.5rem; - } -} - -@media screen and (max-width: 766px) { - /* line 108, node_modules/nicsdru_unity_theme/src/scss/2_layout/_footer.scss */ - #footer_wrapper { - padding: 0; - } -} - -@media (min-width: 766px) { - /* line 8, src/scss/layout.scss */ - .content-sidebar-wrap { - width: 65%; - } -} - -/* line 15, src/scss/layout.scss */ -.sidebar-second-layout .rel-menu--latest-news { - margin-bottom: 2rem; -} - -/* line 18, src/scss/layout.scss */ -.sidebar-second-layout .rel-menu--latest-news ul { - margin-bottom: 1rem; -} - -/* line 21, src/scss/layout.scss */ -.sidebar-second-layout .rel-menu--latest-news ul li { - padding: 0 0 .6rem 1rem; - list-style: none; - margin: 0 0 .2rem; - position: relative; -} - -/* line 27, src/scss/layout.scss */ -.sidebar-second-layout .rel-menu--latest-news ul li::before { - content: "-"; - left: 0; - position: absolute; - top: 0; -} - -/* line 34, src/scss/layout.scss */ -.sidebar-second-layout .rel-menu--latest-news ul li .date-published { - display: block; - font-size: 1.6rem; -} - -/* line 41, src/scss/layout.scss */ -.sidebar-second-layout .rel-menu--latest-news a { - border-bottom: 1px solid #0e6bb3; -} - -/* line 44, src/scss/layout.scss */ -.sidebar-second-layout .rel-menu--latest-news a:hover { - border-bottom: 2px solid #333; - margin-bottom: 0; -} - -/* line 49, src/scss/layout.scss */ -.sidebar-second-layout .rel-menu--latest-news a:focus { - border-bottom: none; - outline: 2px solid #0e6bb3; - outline-offset: 0; -} - -/* line 62, src/scss/layout.scss */ -.path-news .search-page .sidebar-first-layout, -.path-publications-search .search-page .sidebar-first-layout, -.path-questions .search-page .sidebar-first-layout { - padding-left: 0; -} - -@media (min-width: 961px) { - /* line 67, src/scss/layout.scss */ - .path-news .search-page .sidebar-first-layout, - .path-publications-search .search-page .sidebar-first-layout, - .path-questions .search-page .sidebar-first-layout { - width: 30%; - } - /* line 71, src/scss/layout.scss */ - .path-news .search-page .main-content, - .path-publications-search .search-page .main-content, - .path-questions .search-page .main-content { - width: 65%; - } -} - -/* line 77, src/scss/layout.scss */ -.path-news .search-page .views-exposed-form p, -.path-publications-search .search-page .views-exposed-form p, -.path-questions .search-page .views-exposed-form p { - margin-bottom: 0; -} - -/* line 82, src/scss/layout.scss */ -.path-news .search-page h2, -.path-publications-search .search-page h2, -.path-questions .search-page h2 { - margin-top: 0; -} - -/* line 86, src/scss/layout.scss */ -.path-news .search-page .metaListItem, -.path-publications-search .search-page .metaListItem, -.path-questions .search-page .metaListItem { - margin-left: 2rem; -} - -/* line 93, src/scss/layout.scss */ -.views-exposed-form p { - margin-bottom: 0; -} - -/* line 97, src/scss/layout.scss */ -.views-exposed-form .form-item { - margin-bottom: 0; -} - -/* line 102, src/scss/layout.scss */ -.views-exposed-form form .form-actions { - padding-top: .95rem; -} - -/* line 107, src/scss/layout.scss */ -.views-exposed-form form input.form-text { - max-width: 100%; - border: 1px solid #ccc; -} - -/*# sourceMappingURL=layout.css.map */ \ No newline at end of file +#inner_header_wrapper{margin:0 auto;position:relative;overflow:inherit}#header{max-width:1024px;margin:1% auto;display:-ms-grid;display:grid;-ms-grid-columns:50% 7.5% 42.5%;grid-template-columns:50% 42.5%;grid-template-areas:'top-left top-right';-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}@media screen and (max-width: 766px){#header{margin:0 auto;-ms-grid-columns:1fr;grid-template-columns:1fr;grid-template-areas:'top-left' 'top-right'}}.top_left{min-height:90px;padding:0;position:relative;-ms-grid-column:1;grid-area:top-left;float:left}@supports (display: grid){.top_left{float:none}}@media (min-width: 766px){.top_left{min-height:110px}}.top_left #logo{position:absolute;left:0;top:0}.top_left #site-title #site-description{font-size:1.8rem;line-height:145%}.top_right{-ms-grid-row-align:center;align-self:center;-ms-grid-column:3;grid-area:top-right;float:right}@supports (display: grid) or (display: -ms-grid){.top_right{float:none}}@media screen and (max-width: 766px){.top_right{-ms-grid-column:1;-ms-grid-row:2;-ms-grid-column-align:unset;justify-self:unset}}.top_right .region-search{margin:.5rem 0}@media screen and (max-width: 766px){.top_right .region-search{width:100%;padding:0}}.top_right ul.menu li a.active{color:#6cdcff}@media screen and (max-width: 766px){.top_left,.top_right,.search_block{width:100%}}#logo{float:left;margin:.8rem 1rem .8rem 0}@media screen and (max-width: 766px){#logo{text-align:center;width:100%;margin:.8rem 0 0}}#logo img{display:block}@media screen and (max-width: 766px){#logo img{text-align:center;display:inline-block}}#site-title a,#site-description{font-weight:normal}#site-title,#site-description{float:left}@media screen and (max-width: 766px){#site-title,#site-description{margin:0;line-height:1.62em}}#site-title{font-size:3rem;margin:1rem 0 0;font-weight:bold}@media screen and (max-width: 766px){#site-title{padding:0;width:100%;display:inline-block}}#site-title a{float:left}@media screen and (max-width: 766px){#site-title a{width:100%;text-align:center}}#site-description{font-size:1.6rem;line-height:1.5;margin:1em 0 1.5em;margin:.4rem 0 0;float:left;clear:both;line-height:100%;font-style:italic;color:#0e6bb3}@media screen and (min-width: 766px){#site-description{font-size:1.8rem}}@media screen and (max-width: 766px){#site-description{padding-top:1.8rem;padding-bottom:.5rem;width:100%;text-align:center}}@media screen and (max-width: 766px){#headerHero{padding:.5rem 0 .5rem 10rem;min-height:54px;background-color:rgba(0,0,0,0);position:relative}#headerHero.no-menu .burger-toggle{display:none !important}#headerHero.no-menu.no-search{display:none}#headerHero .region-search input[type='text'],#headerHero .region-search input[type='search']{max-width:100%;border:0;margin:.5em 0;float:none;border-radius:0;background:#fff}@supports (display: grid){#headerHero .region-search input[type='text'],#headerHero .region-search input[type='search']{margin:0}}}#container{clear:both;overflow:hidden}.container-wrap{max-width:1024px;margin:0 auto 1rem;padding:0;overflow:hidden}.container{padding:0 15px}@media (min-width: 766px){.container{margin:0 auto;max-width:1024px;padding:0 20px}}.content-sidebar-wrap{float:left;width:100%}@media screen and (max-width: 961px){.content-sidebar-wrap{float:none;width:100% !important}}@media screen and (max-width: 766px){.content-sidebar-wrap{width:auto}}.content-sidebar-wrap .main-content{display:inline;margin-bottom:1rem;float:right;width:100%}@media screen and (max-width: 961px){.content-sidebar-wrap .main-content{margin:0;float:none}}@media screen and (max-width: 766px){.content-sidebar-wrap .main-content{float:left;width:auto}}@media screen and (max-width: 766px){.front .content-sidebar-wrap{margin:0}}.sidebar-first-layout{color:#111;float:left}@media screen and (max-width: 961px){.sidebar-first-layout{clear:both;float:none;width:100% !important;padding:0 1.5%}}@media screen and (max-width: 766px){.sidebar-first-layout{width:auto;clear:both}}@media screen and (max-width: 766px){.sidebar-first-layout .block{float:none !important;width:auto !important;margin-left:0}}.sidebar-second-layout{color:#111;float:right}@media screen and (max-width: 961px){.sidebar-second-layout{float:none;width:100% !important;padding:0 1.5%}}@media screen and (max-width: 766px){.sidebar-second-layout{width:auto}}@media screen and (max-width: 766px){.sidebar-second-layout .block{float:none !important;width:auto !important;margin-left:0}}aside .block .content{padding:0 1rem}aside #user-login-form input.form-text{width:90%}aside #user-login-form .form-actions{padding-top:0}.two-sidebars .content-sidebar-wrap{width:80%}.two-sidebars .main-content{width:75%}.two-sidebars .sidebar-first-layout{width:24%}.two-sidebars .sidebar-second-layout{width:19%}.sidebar-first .content-sidebar-wrap{width:100%}.sidebar-first .main-content{width:80%}.sidebar-first .sidebar-first-layout{width:19%}.sidebar-second .content-sidebar-wrap{width:65%}.sidebar-second .main-content{width:100%}.sidebar-second .sidebar-second-layout{width:30%}#head,.main-content,.sidebar-second-layout,.sidebar-first-layout{margin-top:1rem}@media screen and (max-width: 961px){.main-content{float:none;width:100% !important}}.region-front-welcome{max-width:1024px;margin:2% auto;text-align:center}@media screen and (max-width: 961px){.region-front-welcome{margin:1% 2%}}@media screen and (max-width: 766px){.region-front-welcome{padding:1rem}}@media screen and (max-width: 440px){.region-front-welcome{margin:0}}.region-front-welcome .block h2{text-align:center}#top-area{clear:both;position:relative;max-width:1024px;margin:0 auto;text-align:center}@media screen and (max-width: 961px){#top-area{padding:0 1.5rem}}@media screen and (max-width: 766px){#top-area{padding:0}}#top-area .block{margin:0}#top-area .column{float:left;width:32.3%;margin:0 .5rem}@media screen and (max-width: 961px){#top-area .column{width:32%}}@media screen and (max-width: 766px){#top-area .column{float:none !important;width:auto !important;margin:1rem}}#top-area .column:last-child{float:right;margin-right:0}@media screen and (max-width: 1153px){#top-area .column:last-child{margin-right:0}}#top-area .column .content{padding:1rem 0}#top-area .column:first-child{margin-left:0}@media screen and (max-width: 766px){#top-area .column:first-child{margin:1rem}}#top-area h2{font-size:2.1rem;margin:3.6rem 0 1.2rem;color:#555;padding:1rem 0;margin:0}#top-area .column-title{color:#e0e0e0}#footer{font-size:1.6rem;line-height:1.5;margin:1em 0 1.5em;overflow:auto;padding:1% 2% 2%;background:#e7e7e7;border-top:9px solid #141f6f;max-width:1024px;margin:0 auto}@media screen and (min-width: 766px){#footer{font-size:1.8rem}}@media screen and (max-width: 766px){#footer p{margin:0}}#footer .block>h2{color:#fff;padding:1rem 0}#footer .column li{display:block;padding:.3rem 0 .3rem .1rem;border-bottom-width:.1rem;border-bottom-style:dotted;border-color:#555}#footer ul{margin:0}.footer-area .column{float:left;width:24.2%;margin:0 0 0 1%;padding:1%}@media screen and (max-width: 766px){.footer-area .column{float:none;width:auto;margin:1rem}}.footer-area .column:first-child{margin-left:0}@media screen and (max-width: 766px){.footer-area .column:first-child{margin:1rem}}.footer-area .column:last-child{float:right}.footer-area .column-title{color:#111}.bottom_widget .footer-area .column{width:32.5%}.footer-area ul.menu li a.active{color:#ddd}.footer_block{clear:both}@media screen and (max-width: 961px){#footer_wrapper{padding:0 1.5rem}}@media screen and (max-width: 766px){#footer_wrapper{padding:0}}@media (min-width: 766px){.content-sidebar-wrap{width:65%}}.sidebar-second-layout .rel-menu--latest-news{margin-bottom:2rem}.sidebar-second-layout .rel-menu--latest-news ul{margin-bottom:1rem}.sidebar-second-layout .rel-menu--latest-news ul li{padding:0 0 .6rem 1rem;list-style:none;margin:0 0 .2rem;position:relative}.sidebar-second-layout .rel-menu--latest-news ul li::before{content:"-";left:0;position:absolute;top:0}.sidebar-second-layout .rel-menu--latest-news ul li .date-published{display:block;font-size:1.6rem}.sidebar-second-layout .rel-menu--latest-news a{border-bottom:1px solid #0e6bb3}.sidebar-second-layout .rel-menu--latest-news a:hover{border-bottom:2px solid #333;margin-bottom:0}.sidebar-second-layout .rel-menu--latest-news a:focus{border-bottom:none;outline:2px solid #0e6bb3;outline-offset:0}.path-news-search .search-page .sidebar-first-layout,.path-publications-search .search-page .sidebar-first-layout,.path-questions .search-page .sidebar-first-layout{padding-left:0}@media (min-width: 961px){.path-news-search .search-page .sidebar-first-layout,.path-publications-search .search-page .sidebar-first-layout,.path-questions .search-page .sidebar-first-layout{width:30%}.path-news-search .search-page .main-content,.path-publications-search .search-page .main-content,.path-questions .search-page .main-content{width:65%}}.path-news-search .search-page .views-exposed-form p,.path-publications-search .search-page .views-exposed-form p,.path-questions .search-page .views-exposed-form p{margin-bottom:0}.path-news-search .search-page h2,.path-publications-search .search-page h2,.path-questions .search-page h2{margin-top:0}.path-news-search .search-page .metaListItem,.path-publications-search .search-page .metaListItem,.path-questions .search-page .metaListItem{margin-left:2rem}.views-exposed-form p{margin-bottom:0}.views-exposed-form .form-item{margin-bottom:0}.views-exposed-form form .form-actions{padding-top:.95rem}.views-exposed-form form input.form-text{max-width:100%;border:1px solid #ccc} diff --git a/web/sites/nipolicingboard/themes/nipolicingboard_theme/src/scss/layout.scss b/web/sites/nipolicingboard/themes/nipolicingboard_theme/src/scss/layout.scss index 889f97377a..07f0e56e8d 100644 --- a/web/sites/nipolicingboard/themes/nipolicingboard_theme/src/scss/layout.scss +++ b/web/sites/nipolicingboard/themes/nipolicingboard_theme/src/scss/layout.scss @@ -55,7 +55,7 @@ } } -.path-news, +.path-news-search, .path-publications-search, .path-questions { .search-page { diff --git a/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/content/node--news--search-index.html.twig b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/content/node--news--search-index.html.twig new file mode 100644 index 0000000000..a8ee62cd05 --- /dev/null +++ b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/content/node--news--search-index.html.twig @@ -0,0 +1,76 @@ +{# +/** + * @file + * nicsdru_unity_theme's theme implementation to display a node, based on Bartik theme. + * + * Available variables: + * - node: The node entity with limited access to object properties and methods. + * Only method names starting with "get", "has", or "is" and a few common + * methods such as "id", "label", and "bundle" are available. For example: + * - node.getCreatedTime() will return the node creation timestamp. + * - node.hasField('field_example') returns TRUE if the node bundle includes + * field_example. (This does not indicate the presence of a value in this + * field.) + * - node.isPublished() will return whether the node is published or not. + * Calling other methods, such as node.delete(), will result in an exception. + * See \Drupal\node\Entity\Node for a full list of public properties and + * methods for the node object. + * - label: (optional) The title of the node. + * - content: All node items. Use {{ content }} to print them all, + * or print a subset such as {{ content.field_example }}. Use + * {{ content|without('field_example') }} to temporarily suppress the printing + * of a given child element. + * - author_picture: The node author user entity, rendered using the "compact" + * view mode. + * - metadata: Metadata for this node. + * - date: (optional) Themed creation date field. + * - author_name: (optional) Themed author name field. + * - url: Direct URL of the current node. + * - display_submitted: Whether submission information should be displayed. + * - attributes: HTML attributes for the containing element. + * The attributes.class element may contain one or more of the following + * classes: + * - node: The current template type (also known as a "theming hook"). + * - node--type-[type]: The current node type. For example, if the node is an + * "Article" it would result in "node--type-article". Note that the machine + * name will often be in a short form of the human readable label. + * - node--view-mode-[view_mode]: The View Mode of the node; for example, a + * teaser would result in: "node--view-mode-teaser", and + * full: "node--view-mode-full". + * The following are controlled through the node publishing options. + * - node--promoted: Appears on nodes promoted to the front page. + * - node--sticky: Appears on nodes ordered above other non-sticky nodes in + * teaser listings. + * - node--unpublished: Appears on unpublished nodes visible only to site + * admins. + * - title_attributes: Same as attributes, except applied to the main title + * tag that appears in the template. + * - content_attributes: Same as attributes, except applied to the main + * content tag that appears in the template. + * - author_attributes: Same as attributes, except applied to the author of + * the node tag that appears in the template. + * - title_prefix: Additional output populated by modules, intended to be + * displayed in front of the main title tag that appears in the template. + * - title_suffix: Additional output populated by modules, intended to be + * displayed after the main title tag that appears in the template. + * - view_mode: View mode; for example, "teaser" or "full". + * - teaser: Flag for the teaser state. Will be true if view_mode is 'teaser'. + * - page: Flag for the full page state. Will be true if view_mode is 'full'. + * - readmore: Flag for more state. Will be true if the teaser content of the + * node cannot hold the main body content. + * - logged_in: Flag for authenticated user status. Will be true when the + * current user is a logged-in member. + * - is_admin: Flag for admin user status. Will be true when the current user + * is an administrator. + * + * @see template_preprocess_node() + */ +#} + +

+ {{ label }} +

+

+ {{ content.field_published_date }} + {{ content.field_teaser }} +

diff --git a/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-teaser--search-index.html.twig b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-teaser--search-index.html.twig new file mode 100644 index 0000000000..182c4118b1 --- /dev/null +++ b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-teaser--search-index.html.twig @@ -0,0 +1,42 @@ +{# +/** + * @file + * Theme override for a field. + * + * To override output, copy the "field.html.twig" from the templates directory + * to your theme's directory and customize it, just like customizing other + * Drupal templates such as page.html.twig or node.html.twig. + * + * Instead of overriding the theming for all fields, you can also just override + * theming for a subset of fields using + * @link themeable Theme hook suggestions. @endlink For example, + * here are some theme hook suggestions that can be used for a field_foo field + * on an article node type: + * - field--node--field-foo--article.html.twig + * - field--node--field-foo.html.twig + * - field--node--article.html.twig + * - field--field-foo.html.twig + * - field--text-with-summary.html.twig + * - field.html.twig + * + * Available variables: + * - attributes: HTML attributes for the containing element. + * - label_hidden: Whether to show the field label or not. + * - title_attributes: HTML attributes for the title. + * - label: The label for the field. + * - multiple: TRUE if a field can contain multiple items. + * - items: List of all the field items. Each item contains: + * - attributes: List of HTML attributes for each item. + * - content: The field item's content. + * - entity_type: The entity type to which the field belongs. + * - field_name: The name of the field. + * - field_type: The type of the field. + * - label_display: The display settings for the label. + * + * @see template_preprocess_field() + */ +#} + +{% for item in items %} +

{{ item.content }}

+{% endfor %} diff --git a/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/views/views-view--news-search-page.html.twig b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/views/views-view--news-search-page.html.twig new file mode 100644 index 0000000000..c4898971de --- /dev/null +++ b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/views/views-view--news-search-page.html.twig @@ -0,0 +1,68 @@ +{# +/** + * @file + * Theme override for main view template. + * + * Available variables: + * - attributes: Remaining HTML attributes for the element. + * - css_name: A css-safe version of the view name. + * - css_class: The user-specified classes names, if any. + * - header: The optional header. + * - footer: The optional footer. + * - rows: The results of the view query, if any. + * - empty: The content to display if there are no rows. + * - pager: The optional pager next/prev links to display. + * - exposed: Exposed widget form/info to display. + * - feed_icons: Optional feed icons to display. + * - more: An optional link to the next page of results. + * - title: Title of the view, only used when displaying in the admin preview. + * - title_prefix: Additional output populated by modules, intended to be + * displayed in front of the view title. + * - title_suffix: Additional output populated by modules, intended to be + * displayed after the view title. + * - attachment_before: An optional attachment view to be displayed before the + * view content. + * - attachment_after: An optional attachment view to be displayed after the + * view content. + * - dom_id: Unique id for every view being printed to give unique class for + * Javascript. + * + * @see template_preprocess_views_view() + */ +#} +{% + set classes = [ + dom_id ? 'js-view-dom-id-' ~ dom_id, +] +%} +{% set attributes = attributes.addClass(classes) %} +{% set attributes = attributes.setAttribute('role', 'region') %} +{% set attributes = attributes.setAttribute('aria-label', 'search results'|t) %} + + {{ title_prefix }} + {{ title }} + {{ title_suffix }} + +
+ {{ header }} + {{ drupal_block('facets_summary_block:news_summary') }} +
+ + {% if rows -%} + {{ rows }} + {% elseif empty -%} + {{ empty }} + {% endif %} + {{ pager }} + + {{ attachment_after }} + {{ more }} + + {% if footer %} +
+ {{ footer }} +
+ {% endif %} + + {{ feed_icons }} + From 2df0948390a0c7c8893fa3d39d0806ef2bda66f0 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 14 Dec 2021 08:15:19 +0000 Subject: [PATCH 26/45] Blocks and block placement news search --- .../config/block.block.committee.yml | 2 +- .../config/block.block.dateasked.yml | 2 +- ...exposedformnews_searchnews_search_page.yml | 28 +++++++++++++++++++ .../config/block.block.newsdate.yml | 28 +++++++++++++++++++ .../config/block.block.pagetitle.yml | 2 +- .../config/block.block.publicationdate.yml | 2 +- .../config/block.block.publicationtype.yml | 2 +- .../config/block.block.questiontype.yml | 2 +- 8 files changed, 62 insertions(+), 6 deletions(-) create mode 100644 config/nipolicingboard/config/block.block.exposedformnews_searchnews_search_page.yml create mode 100644 config/nipolicingboard/config/block.block.newsdate.yml diff --git a/config/nipolicingboard/config/block.block.committee.yml b/config/nipolicingboard/config/block.block.committee.yml index a6d5827dba..59e7cb8f42 100644 --- a/config/nipolicingboard/config/block.block.committee.yml +++ b/config/nipolicingboard/config/block.block.committee.yml @@ -12,7 +12,7 @@ dependencies: id: committee theme: nipolicingboard_theme region: search_facets -weight: -5 +weight: -4 provider: null plugin: 'facet_block:committee' settings: diff --git a/config/nipolicingboard/config/block.block.dateasked.yml b/config/nipolicingboard/config/block.block.dateasked.yml index f1756f275e..54d3c4710e 100644 --- a/config/nipolicingboard/config/block.block.dateasked.yml +++ b/config/nipolicingboard/config/block.block.dateasked.yml @@ -12,7 +12,7 @@ dependencies: id: dateasked theme: nipolicingboard_theme region: search_facets -weight: -4 +weight: -3 provider: null plugin: 'facet_block:questions_date' settings: diff --git a/config/nipolicingboard/config/block.block.exposedformnews_searchnews_search_page.yml b/config/nipolicingboard/config/block.block.exposedformnews_searchnews_search_page.yml new file mode 100644 index 0000000000..2954bd5cd3 --- /dev/null +++ b/config/nipolicingboard/config/block.block.exposedformnews_searchnews_search_page.yml @@ -0,0 +1,28 @@ +uuid: 76f879d6-e2b5-40e3-9c7e-ede0dafbee17 +langcode: en +status: true +dependencies: + config: + - views.view.news_search + module: + - system + - views + theme: + - nipolicingboard_theme +id: exposedformnews_searchnews_search_page +theme: nipolicingboard_theme +region: search_facets +weight: -6 +provider: null +plugin: 'views_exposed_filter_block:news_search-news_search_page' +settings: + id: 'views_exposed_filter_block:news_search-news_search_page' + label: '' + provider: views + label_display: '0' + views_label: '' +visibility: + request_path: + id: request_path + pages: "/news-search\r\n/news-search/date/*" + negate: false diff --git a/config/nipolicingboard/config/block.block.newsdate.yml b/config/nipolicingboard/config/block.block.newsdate.yml new file mode 100644 index 0000000000..51b49935cf --- /dev/null +++ b/config/nipolicingboard/config/block.block.newsdate.yml @@ -0,0 +1,28 @@ +uuid: 5574ec2b-c3e7-4259-a22c-6f27649ebf25 +langcode: en +status: true +dependencies: + config: + - facets.facet.news_date + module: + - facets + - system + theme: + - nipolicingboard_theme +id: newsdate +theme: nipolicingboard_theme +region: search_facets +weight: 0 +provider: null +plugin: 'facet_block:news_date' +settings: + id: 'facet_block:news_date' + label: Date + provider: facets + label_display: visible + block_id: newsdate +visibility: + request_path: + id: request_path + pages: "/news-search\r\n/news-search/date/*" + negate: false diff --git a/config/nipolicingboard/config/block.block.pagetitle.yml b/config/nipolicingboard/config/block.block.pagetitle.yml index 9d1c28b737..eadb326dbc 100644 --- a/config/nipolicingboard/config/block.block.pagetitle.yml +++ b/config/nipolicingboard/config/block.block.pagetitle.yml @@ -20,5 +20,5 @@ settings: visibility: request_path: id: request_path - pages: "/search\r\n/publications-search\r\n/publications-search/type/*\r\n/publications-search/date/*\r\n/questions\r\n/questions/date/*\r\n/questions/type/*\r\n/questions/committee/*\r\n" + pages: "/search\r\n/publications-search\r\n/publications-search/type/*\r\n/publications-search/date/*\r\n/questions\r\n/questions/date/*\r\n/questions/type/*\r\n/questions/committee/*\r\n/news-search\r\n/news-search/date/*\r\n" negate: true diff --git a/config/nipolicingboard/config/block.block.publicationdate.yml b/config/nipolicingboard/config/block.block.publicationdate.yml index 01da1e10fc..aaefa97d98 100644 --- a/config/nipolicingboard/config/block.block.publicationdate.yml +++ b/config/nipolicingboard/config/block.block.publicationdate.yml @@ -12,7 +12,7 @@ dependencies: id: publicationdate theme: nipolicingboard_theme region: search_facets -weight: -3 +weight: -2 provider: null plugin: 'facet_block:publication_date' settings: diff --git a/config/nipolicingboard/config/block.block.publicationtype.yml b/config/nipolicingboard/config/block.block.publicationtype.yml index 2c6e345f8e..326c1a8a78 100644 --- a/config/nipolicingboard/config/block.block.publicationtype.yml +++ b/config/nipolicingboard/config/block.block.publicationtype.yml @@ -12,7 +12,7 @@ dependencies: id: publicationtype theme: nipolicingboard_theme region: search_facets -weight: -2 +weight: -1 provider: null plugin: 'facet_block:publication_type' settings: diff --git a/config/nipolicingboard/config/block.block.questiontype.yml b/config/nipolicingboard/config/block.block.questiontype.yml index 109ecbdb60..3be91b45ba 100644 --- a/config/nipolicingboard/config/block.block.questiontype.yml +++ b/config/nipolicingboard/config/block.block.questiontype.yml @@ -12,7 +12,7 @@ dependencies: id: questiontype theme: nipolicingboard_theme region: search_facets -weight: -6 +weight: -5 provider: null plugin: 'facet_block:question_type' settings: From c608dc3f21fbe2a80444bea4266ee86bbc11eafe Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 14 Dec 2021 08:15:55 +0000 Subject: [PATCH 27/45] Facet config for news search --- .../config/facets.facet.news_date.yml | 75 +++++++++++++++++++ ...ws_page__news_search__news_search_page.yml | 12 +++ ...ts_summary.facets_summary.news_summary.yml | 25 +++++++ 3 files changed, 112 insertions(+) create mode 100644 config/nipolicingboard/config/facets.facet.news_date.yml create mode 100644 config/nipolicingboard/config/facets.facet_source.search_api__views_page__news_search__news_search_page.yml create mode 100644 config/nipolicingboard/config/facets_summary.facets_summary.news_summary.yml diff --git a/config/nipolicingboard/config/facets.facet.news_date.yml b/config/nipolicingboard/config/facets.facet.news_date.yml new file mode 100644 index 0000000000..bdec5d414c --- /dev/null +++ b/config/nipolicingboard/config/facets.facet.news_date.yml @@ -0,0 +1,75 @@ +uuid: c9c93d1e-5b65-440d-b425-9e09c70bfa16 +langcode: en +status: true +dependencies: + config: + - search_api.index.news + - views.view.news_search + module: + - facets_pretty_paths + - search_api +third_party_settings: + facets_pretty_paths: + coder: default_coder +id: news_date +name: 'News date' +url_alias: date +weight: 0 +min_count: 1 +show_only_one_result: false +field_identifier: field_published_date +facet_source_id: 'search_api:views_page__news_search__news_search_page' +widget: + type: links + config: + show_numbers: true + soft_limit: 20 + soft_limit_settings: + show_less_label: 'Show less' + show_more_label: 'Show more' + show_reset_link: false + reset_text: 'Show all' + hide_reset_when_no_selection: false +query_operator: and +use_hierarchy: false +keep_hierarchy_parents_active: false +expand_hierarchy: false +enable_parent_when_child_gets_disabled: true +hard_limit: 50 +exclude: false +only_visible_when_facet_source_is_visible: true +processor_configs: + active_widget_order: + processor_id: active_widget_order + weights: + sort: 20 + settings: + sort: ASC + date_facet_drilldown: + processor_id: date_facet_drilldown + weights: + build: 1 + settings: { } + date_item: + processor_id: date_item + weights: + build: 35 + settings: + date_display: actual_date + granularity: 6 + date_format: '' + display_value_widget_order: + processor_id: display_value_widget_order + weights: + sort: 40 + settings: + sort: ASC + url_processor_handler: + processor_id: url_processor_handler + weights: + pre_query: 50 + build: 15 + settings: { } +empty_behavior: + behavior: none +show_title: false diff --git a/config/nipolicingboard/config/facets.facet_source.search_api__views_page__news_search__news_search_page.yml b/config/nipolicingboard/config/facets.facet_source.search_api__views_page__news_search__news_search_page.yml new file mode 100644 index 0000000000..141e4e068a --- /dev/null +++ b/config/nipolicingboard/config/facets.facet_source.search_api__views_page__news_search__news_search_page.yml @@ -0,0 +1,12 @@ +uuid: 442db197-7e43-4321-a740-f6dafdc01f58 +langcode: en +status: true +dependencies: { } +id: search_api__views_page__news_search__news_search_page +name: 'search_api:views_page__news_search__news_search_page' +filter_key: '' +url_processor: facets_pretty_paths +breadcrumb: + active: true + before: false + group: false diff --git a/config/nipolicingboard/config/facets_summary.facets_summary.news_summary.yml b/config/nipolicingboard/config/facets_summary.facets_summary.news_summary.yml new file mode 100644 index 0000000000..a0526e6e51 --- /dev/null +++ b/config/nipolicingboard/config/facets_summary.facets_summary.news_summary.yml @@ -0,0 +1,25 @@ +uuid: 78613df0-35aa-4383-b1f3-38482bc2070b +langcode: en +status: true +dependencies: + config: + - search_api.index.news + - views.view.news_search + module: + - search_api +id: news_summary +name: 'News summary' +facets: + news_date: + checked: true + label: 'News date' + separator: ', ' + weight: 0 + show_count: false +facet_source_id: 'search_api:views_page__news_search__news_search_page' +processor_configs: + hide_when_not_rendered: + processor_id: hide_when_not_rendered + weights: + build: '45' + settings: { } From 1cae3ecb93ba119c6184e317f536fe28ad25d659 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 14 Dec 2021 08:16:32 +0000 Subject: [PATCH 28/45] News view and index --- .../config/search_api.index.news.yml | 164 +++++++++++ .../config/views.view.news_search.yml | 269 ++++++++++++++++++ 2 files changed, 433 insertions(+) create mode 100644 config/nipolicingboard/config/search_api.index.news.yml create mode 100644 config/nipolicingboard/config/views.view.news_search.yml diff --git a/config/nipolicingboard/config/search_api.index.news.yml b/config/nipolicingboard/config/search_api.index.news.yml new file mode 100644 index 0000000000..f019f27362 --- /dev/null +++ b/config/nipolicingboard/config/search_api.index.news.yml @@ -0,0 +1,164 @@ +uuid: faff8818-d72c-406e-950d-01a30a1e6268 +langcode: en +status: true +dependencies: + module: + - search_api_solr + - node + - search_api + config: + - field.storage.node.body + - field.storage.node.field_published_date + - field.storage.node.field_teaser + - search_api.server.solr_default +third_party_settings: + search_api_solr: + finalize: false + commit_before_finalize: false + commit_after_finalize: false + multilingual: + limit_to_content_language: false + include_language_independent: true + highlighter: + maxAnalyzedChars: 51200 + fragmenter: gap + regex: + slop: 0.5 + pattern: blank + maxAnalyzedChars: 10000 + usePhraseHighlighter: true + highlightMultiTerm: true + preserveMulti: false + highlight: + mergeContiguous: false + requireFieldMatch: false + snippets: 3 + fragsize: 0 + mlt: + mintf: 1 + mindf: 1 + maxdf: 0 + maxdfpct: 0 + minwl: 0 + maxwl: 0 + maxqt: 100 + maxntp: 2000 + boost: false + interestingTerms: none + term_modifiers: + slop: 3 + fuzzy: 1 + advanced: + index_prefix: '' + collection: '' + timezone: '' +id: news +name: News +description: '' +read_only: false +field_settings: + body: + label: Body + datasource_id: 'entity:node' + property_path: body + type: text + dependencies: + config: + - field.storage.node.body + field_published_date: + label: 'Publication date' + datasource_id: 'entity:node' + property_path: field_published_date + type: date + dependencies: + config: + - field.storage.node.field_published_date + field_teaser: + label: Teaser + datasource_id: 'entity:node' + property_path: field_teaser + type: text + boost: !!float 3 + dependencies: + config: + - field.storage.node.field_teaser + langcode: + label: Language + datasource_id: 'entity:node' + property_path: langcode + type: string + dependencies: + module: + - node + spelling: + label: Spelling + property_path: aggregated_field + type: solr_text_spellcheck + configuration: + type: union + fields: + - 'entity:node/title' + title: + label: Title + datasource_id: 'entity:node' + property_path: title + type: text + boost: !!float 5 + dependencies: + module: + - node + title_fulltext: + label: 'Title fulltext' + property_path: aggregated_field + type: text + boost: !!float 13 + configuration: + type: union + fields: + - 'entity:node/body' + - 'entity:node/title' +datasource_settings: + 'entity:node': + bundles: + default: false + selected: + - news + languages: + default: true + selected: { } +processor_settings: + add_url: { } + aggregated_field: { } + entity_status: { } + html_filter: + all_fields: true + fields: + - body + - field_teaser + - langcode + - spelling + - title + - title_fulltext + title: false + alt: true + tags: + b: 2 + h1: 5 + h2: 3 + h3: 2 + strong: 2 + weights: + preprocess_index: -15 + preprocess_query: -15 + language_with_fallback: { } + rendered_item: { } + solr_date_range: + weights: + preprocess_index: 0 +tracker_settings: + default: + indexing_order: fifo +options: + index_directly: true + cron_limit: 50 +server: solr_default diff --git a/config/nipolicingboard/config/views.view.news_search.yml b/config/nipolicingboard/config/views.view.news_search.yml new file mode 100644 index 0000000000..43bc689f40 --- /dev/null +++ b/config/nipolicingboard/config/views.view.news_search.yml @@ -0,0 +1,269 @@ +uuid: 2e4db28a-ce15-4be5-a486-3b24294ca7fb +langcode: en +status: true +dependencies: + config: + - field.storage.node.body + - search_api.index.news + module: + - search_api + - text +id: news_search +label: 'News search' +module: views +description: '' +tag: '' +base_table: search_api_index_news +base_field: search_api_id +display: + default: + display_plugin: default + id: default + display_title: Default + position: 0 + display_options: + access: + type: none + options: { } + cache: + type: search_api_tag + options: { } + query: + type: views_query + options: + bypass_access: false + skip_access: false + preserve_facet_query_args: false + exposed_form: + type: basic + options: + submit_button: Search + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: false + sort_asc_label: Asc + sort_desc_label: Desc + pager: + type: full + options: + items_per_page: 20 + offset: 0 + id: 0 + total_pages: null + tags: + previous: '‹ Previous' + next: 'Next ›' + first: '« First' + last: 'Last »' + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + quantity: 5 + style: + type: default + options: + grouping: { } + row_class: '' + default_row_class: false + row: + type: search_api + options: + view_modes: + 'entity:node': + news: search_index + fields: + body: + table: search_api_index_news + field: body + id: body + entity_type: null + entity_field: null + plugin_id: search_api_field + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: text_default + settings: { } + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + field_rendering: true + fallback_handler: search_api + fallback_options: + link_to_item: false + use_highlighting: false + multi_type: separator + multi_separator: ', ' + filters: + search_api_fulltext: + id: search_api_fulltext + table: search_api_index_news + field: search_api_fulltext + relationship: none + group_type: group + admin_label: '' + operator: or + value: '' + group: 1 + exposed: true + expose: + operator_id: search_api_fulltext_op + label: 'Search news' + description: '' + use_operator: false + operator: search_api_fulltext_op + operator_limit_selection: false + operator_list: { } + identifier: query_news + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + administrator: '0' + author_user: '0' + supervisor_user: '0' + placeholder: Keywords + expose_fields: false + searched_fields_id: search_api_fulltext_searched_fields + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + parse_mode: terms + min_length: null + fields: { } + plugin_id: search_api_fulltext + sorts: + field_published_date: + id: field_published_date + table: search_api_index_news + field: field_published_date + relationship: none + group_type: group + admin_label: '' + order: DESC + exposed: false + expose: + label: '' + plugin_id: search_api + title: News + header: { } + footer: { } + empty: + area: + id: area + table: views + field: area + relationship: none + group_type: group + admin_label: '' + empty: true + tokenize: false + content: + value: 'There are no results found.' + format: basic_html + plugin_id: text + relationships: { } + arguments: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'user.node_grants:view' + tags: + - 'config:field.storage.node.body' + - 'config:search_api.index.news' + news_search_page: + display_plugin: page + id: news_search_page + display_title: Page + position: 1 + display_options: + display_extenders: + metatag_display_extender: { } + path: news-search + exposed_block: true + cache: + type: none + defaults: + cache: false + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'user.node_grants:view' + tags: + - 'config:field.storage.node.body' + - 'config:search_api.index.news' From 2e69812baf9c5d2740e2399f564195b81177e0f4 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 14 Dec 2021 08:18:52 +0000 Subject: [PATCH 29/45] Search index view display for news --- ....entity_view_display.node.news.default.yml | 1 + ...ty_view_display.node.news.search_index.yml | 52 +++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 config/nipolicingboard/config/core.entity_view_display.node.news.search_index.yml diff --git a/config/nipolicingboard/config/core.entity_view_display.node.news.default.yml b/config/nipolicingboard/config/core.entity_view_display.node.news.default.yml index d625e33b8c..f7d3f57db6 100644 --- a/config/nipolicingboard/config/core.entity_view_display.node.news.default.yml +++ b/config/nipolicingboard/config/core.entity_view_display.node.news.default.yml @@ -51,3 +51,4 @@ hidden: field_teaser: true langcode: true links: true + search_api_excerpt: true diff --git a/config/nipolicingboard/config/core.entity_view_display.node.news.search_index.yml b/config/nipolicingboard/config/core.entity_view_display.node.news.search_index.yml new file mode 100644 index 0000000000..f983cadb7e --- /dev/null +++ b/config/nipolicingboard/config/core.entity_view_display.node.news.search_index.yml @@ -0,0 +1,52 @@ +uuid: dba7779c-1e4e-4db9-8458-69ff1cc8c1d4 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.search_index + - field.field.node.news.body + - field.field.node.news.field_meta_tags + - field.field.node.news.field_photo + - field.field.node.news.field_published_date + - field.field.node.news.field_teaser + - node.type.news + module: + - datetime + - layout_builder + - user +third_party_settings: + layout_builder: + allow_custom: false + enabled: false +_core: + default_config_hash: N-zm1nCnhgYwXANGav75TCg-_kvNUUbT--KKS8PLKgM +id: node.news.search_index +targetEntityType: node +bundle: news +mode: search_index +content: + field_published_date: + label: hidden + weight: 0 + type: datetime_default + settings: + timezone_override: '' + format_type: unity_date + third_party_settings: { } + region: content + field_teaser: + type: string + weight: 1 + region: content + label: hidden + settings: + link_to_entity: false + third_party_settings: { } +hidden: + body: true + content_moderation_control: true + field_meta_tags: true + field_photo: true + langcode: true + links: true + search_api_excerpt: true From 440ad827bbc3436a74e89fde5803a02cc3b52fd5 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 14 Dec 2021 08:25:04 +0000 Subject: [PATCH 30/45] Making date bold --- .../themes/nipolicingboard_theme/css/components.css | 2 +- .../themes/nipolicingboard_theme/src/scss/components.scss | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/components.css b/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/components.css index 9809aef8f0..5aaea1b415 100644 --- a/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/components.css +++ b/web/sites/nipolicingboard/themes/nipolicingboard_theme/css/components.css @@ -1 +1 @@ -.region-primary-menu .menu_wrapper{width:100%}@media screen and (max-width: 766px){.region-primary-menu .menu_wrapper{margin:0}}#main-menu{max-width:1024px;margin:0 auto;position:relative;background-color:rgba(0,0,0,0)}#main-menu .nav-main{height:auto;min-height:44px}@media screen and (max-width: 766px){#main-menu .nav-main{height:0;overflow:hidden;min-height:0}}#main-menu .menu-main{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0;margin:0;list-style:none}@media screen and (max-width: 766px){#main-menu .menu-main{display:block;max-width:100%;float:none}}#main-menu .menu-main_sub{display:none;list-style:none;position:absolute;z-index:9999;padding:0;margin:0;background:rgba(0,0,0,0);overflow:visible !important}@media screen and (max-width: 766px){#main-menu .menu-main_sub{position:static;border:0}}#main-menu .menu-main_sub ul{left:100%;top:0;margin-left:1px}@media screen and (max-width: 766px){#main-menu .menu-main_sub ul{margin:0;border:0}}#main-menu .menu-main_sub .menu-item{float:none;min-width:150px;padding:0;margin:0;position:relative;width:100%}#main-menu .menu-main_sub .menu-item.open{background:#141f6f}@media screen and (max-width: 766px){#main-menu .menu-main_sub .menu-item.open{background:rgba(26,26,26,0)}}@media screen and (max-width: 766px){#main-menu .menu-main_sub .menu-item{margin:0;width:100%;text-align:center;border-right:0;background:rgba(26,26,26,0)}#main-menu .menu-main_sub .menu-item .menu-item .menu-link{background:rgba(31,31,31,0)}}#main-menu .menu-main_sub .menu-item span.active{font-weight:bold;text-align:left;padding-left:1.1rem}#main-menu .menu-main_sub .menu-link,#main-menu .menu-main_sub .active{font-size:1.4rem;min-width:150px;margin:0;border-top:1px solid #fff;text-align:left;overflow:hidden;padding:.8rem 1.1rem;border-radius:0;color:#fff}@media screen and (max-width: 766px){#main-menu .menu-main_sub .menu-link,#main-menu .menu-main_sub .active{border-top:1px solid #fff}}@media screen and (min-width: 766px){#main-menu .menu-main_sub .menu-link,#main-menu .menu-main_sub .active{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}}#main-menu .menu-item{font-size:1.4rem;line-height:2.4rem;position:relative;padding:0;margin:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}@media screen and (max-width: 766px){#main-menu .menu-item{float:none;max-width:100%}}#main-menu .menu-item.open>ul{display:block}#main-menu .menu-item.open .menu-toggle-btn{background:#fff;color:rgba(0,0,0,0);font-weight:bold}#main-menu .menu-link,#main-menu .menu .active{border-bottom:5px solid transparent;padding:1.1rem 0 .4rem;display:block;text-decoration:none;color:#fff;font-weight:500;min-width:44px;text-align:center}@media screen and (max-width: 766px){#main-menu .menu-link,#main-menu .menu .active{width:100%;padding:13px 2%;border-radius:0;border-bottom:1px solid #fff;border-right:0;text-align:left}}#main-menu .menu-link:hover,#main-menu .menu-link:focus{background:#151d68}#main-menu .menu .menu-item .active,#main-menu .menu .menu-item .active+.menu-main_sub .title a{background:rgba(191,191,191,0.25);border-bottom-color:#cad400}#main-menu .ico{width:1rem;height:1rem;margin:0 0 0 5px}#main-menu .menu-item.open .ico{-webkit-transform:rotate(270deg);transform:rotate(270deg)}#main-menu .menu-item .menu-main_sub .ico{-webkit-transform:none;transform:none}@media screen and (max-width: 766px){#main-menu .menu-item .menu-main_sub .ico{-webkit-transform:rotate(90deg);transform:rotate(90deg)}}#main-menu .menu-item .menu-main_sub .open .ico{-webkit-transform:rotate(180deg);transform:rotate(180deg)}@media screen and (max-width: 766px){#main-menu .menu-item .menu-main_sub .open .ico{-webkit-transform:rotate(270deg);transform:rotate(270deg)}}#main-menu .toggler{position:absolute;top:0;left:-.5rem;z-index:2;cursor:pointer;height:1px;width:1px;overflow:hidden;opacity:0;max-height:5rem;min-height:5rem;display:none}@media screen and (max-width: 766px){#main-menu .toggler{top:-5.2rem;left:.5rem;width:5rem;height:5rem;display:block}#main-menu .toggler:checked+.hamburger>div{-webkit-transform:rotate(135deg);transform:rotate(135deg)}#main-menu .toggler:checked+.hamburger>div::before,#main-menu .toggler:checked+.hamburger>div::after{top:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}#main-menu .toggler:checked:hover+.hamburger>div{-webkit-transform:rotate(225deg);transform:rotate(225deg)}#main-menu .toggler:checked ~ .nav-main{height:auto;-webkit-transition:max-height 1s ease;transition:max-height 1s ease}}#main-menu .toggler-label{display:none}@media screen and (max-width: 766px){#main-menu .toggler-label{display:block}}#main-menu .hamburger{position:absolute;top:-6.7rem;left:.5rem;z-index:1;width:auto;height:50px;padding:1rem;display:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}@media screen and (max-width: 766px){#main-menu .hamburger{display:-webkit-box;display:-ms-flexbox;display:flex}#main-menu .hamburger>div{position:relative;-webkit-box-flex:0;-ms-flex:none;flex:none;width:2.1rem;height:.3rem;background:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-transition:all .4s ease;transition:all .4s ease}#main-menu .hamburger>div::after,#main-menu .hamburger>div::before{content:'';position:absolute;z-index:1;top:-.9rem;left:0;width:100%;height:.3rem;background:#fff}#main-menu .hamburger>div::after{top:.9rem}#main-menu .hamburger-text{color:#fff;padding-left:1rem}}.menu-link_button{background:transparent;border:0;-webkit-box-shadow:none;box-shadow:none;text-shadow:none;font-size:1.4rem}.path-search #main-menu .hamburger{top:-5.1rem}.breadcrumb{font-size:1.3rem;border-bottom:1px solid #eee;line-height:2.5rem}.breadcrumb .breadcrumb--list{list-style:none;margin:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;padding:.5rem 0}.breadcrumb .breadcrumb--item{display:-webkit-box;display:-ms-flexbox;display:flex;margin:0;padding:0;line-height:1.5;-ms-flex-negative:0;flex-shrink:0}.breadcrumb .breadcrumb--item a{border:0;padding:.4rem 0}.breadcrumb .breadcrumb--item::after{content:"»";margin:0;padding:0 .3rem}.breadcrumb .breadcrumb--item:last-child{-ms-flex-negative:1;flex-shrink:1}.breadcrumb .breadcrumb--item:last-child::after{content:none}#pager .pager__items{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;line-height:5rem;text-align:left;list-style:none;margin:1.5em 0;padding:0}#pager .pager__item{margin:.2rem;padding:0;border:0}#pager .pager__item--first{margin-left:0}#pager .pager__item--last{margin-right:0}@media screen and (max-width: 476px){#pager .pager__item.pager-hide-small{display:none}}@media screen and (max-width: 641px){#pager .pager__item.pager-hide-phab{display:none}}#pager .pager__item a,#pager .pager__item .pager__item-current,#pager .pager__item--ellipsis{display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:1.6rem;min-width:4.4rem;min-height:4.4rem;line-height:4.2rem;margin:0;padding:0 .6rem;text-align:center;text-decoration:none}@media (min-width: 766px){#pager .pager__item a,#pager .pager__item .pager__item-current,#pager .pager__item--ellipsis{min-width:4.5rem;min-height:4.5rem;line-height:4.3rem}}#pager .pager__item--ellipsis{min-width:0}@media screen and (max-width: 476px){#pager .pager__item--ellipsis.pager-ellipsis-hide{display:none}}#pager .pager__item a,#pager .pager__item a:active,#pager .pager__item a:focus,#pager .pager__item a:visited{color:#0e6bb3;background-color:#fff;border:1px solid #666}#pager .pager__item a:focus{outline:3px solid #0e6bb3}#pager .pager__item a:hover{color:#fff;background-color:#0e6bb3;border-color:#0e6bb3;text-decoration:none}#pager .pager__item.is-active a,#pager .pager__item.is-active .pager__item-current{background-color:#0e6bb3;color:#fff}#pager .pager__item--first a,#pager .pager__item--previous a,#pager .pager__item--next a,#pager .pager__item--last a{padding:0 .6rem}.toc-menu{background:transparent;border-top:1px solid #999;border-bottom:1px solid #999;margin:1em 0 1.5em;padding:0}.toc-menu .skip-link{margin:1em 0}.toc-menu .menu-title{font-size:1.6rem;line-height:1.5;margin:1em 0 1.5em;font-weight:bold;margin:1em 0 .5em}@media screen and (min-width: 766px){.toc-menu .menu-title{font-size:1.8rem}}.toc-menu .nav-menu{margin:0 0 2.7rem;list-style:none;padding:0}.toc-menu .nav-menu .nav-item{font-size:1.6rem;line-height:1.5;margin:1em 0 1.5em;margin:0;padding:0 0 .6rem 1rem;position:relative}@media screen and (min-width: 766px){.toc-menu .nav-menu .nav-item{font-size:1.8rem}}.toc-menu .nav-menu .nav-item::before{content:'-';position:absolute;left:0;top:0}.toc-menu .nav-menu .nav-item:last-child{padding-bottom:0}body.toolbar-tray-open.toolbar-vertical.toolbar-fixed{margin-left:18rem}.toolbar-tab .toolbar-tray.toolbar-tray-vertical{width:18rem}.block{margin-bottom:2%}@media screen and (max-width: 961px){.block{margin-bottom:2%}}.block:last-child{margin:0}.block>h2{font-size:3.6rem;line-height:4.2rem;margin:2.3rem 0 2.3rem;margin:.5rem 0 1.5rem;padding:1rem;overflow:hidden;text-align:left}@media screen and (max-width: 440px){.block>h2{font-size:1.8rem}}#search-facets .facet--title a.facet--btn,#content .facet--title a.facet--btn{background-color:#333;display:block;line-height:4rem;min-height:4rem;min-width:100px;padding:0 .5em;text-align:left;text-decoration:none;vertical-align:middle;width:100%;font-size:1.6rem}@media (min-width: 641px){#search-facets .facet--title a.facet--btn,#content .facet--title a.facet--btn{min-width:120px;font-size:1.8rem}}#search-facets .facet--title a.facet--btn:link,#search-facets .facet--title a.facet--btn:visited,#content .facet--title a.facet--btn:link,#content .facet--title a.facet--btn:visited{color:#fff}#search-facets .facet--title a.facet--btn:hover,#content .facet--title a.facet--btn:hover{background-color:#111;text-decoration:none}#search-facets .facet--title a.facet--btn:focus,#content .facet--title a.facet--btn:focus{outline:3px solid #949494;outline-offset:-2px;background-color:#111;border-bottom-width:2px}#search-facets .facet--title a.facet--btn:active,#search-facets .facet--title a.facet--btn.active,#content .facet--title a.facet--btn:active,#content .facet--title a.facet--btn.active{background-color:#111;border-color:#111;text-decoration:none}#search-facets .facet--title a.facet--btn .ico-arrow-down,#content .facet--title a.facet--btn .ico-arrow-down{fill:#fff;float:right;height:2rem;margin:1rem;width:2rem;-webkit-transition:-webkit-transform .4s ease;transition:-webkit-transform .4s ease;transition:transform .4s ease;transition:transform .4s ease, -webkit-transform .4s ease}#search-facets .facet--title a.facet--btn.active .ico-arrow-down,#content .facet--title a.facet--btn.active .ico-arrow-down{-webkit-transform:rotate(270deg);transform:rotate(270deg)}#search-facets .facet--dropdown-links,#content .facet--dropdown-links{margin:1em 0}#search-facets .facet--title,#content .facet--title{margin:0}#search-facets .facet-list__links,#content .facet-list__links{margin:.1rem 0 .6rem;list-style:none}#search-facets .facet-list__links .facet-item ul,#content .facet-list__links .facet-item ul{padding:0;margin:0;list-style:none}#search-facets .facet-list__links .facet-item ul .facet-item,#content .facet-list__links .facet-item ul .facet-item{position:relative;padding:0 0 0 1.2rem;margin:0}#search-facets .facet-list__links .facet-item ul .facet-item::before,#content .facet-list__links .facet-item ul .facet-item::before{content:'-';position:absolute;left:.5em;top:.5em}#search-facets .facet-item,#search-facets .facet-summary-item--facet,#content .facet-item,#content .facet-summary-item--facet{margin:0;padding:0}#search-facets .facet-item__label,#search-facets .facet-summary-item--facet__label,#content .facet-item__label,#content .facet-summary-item--facet__label{font-size:1.6rem;line-height:2.4rem;padding:1rem 0}#search-facets .facet-item__label::after,#search-facets .facet-summary-item--facet__label::after,#content .facet-item__label::after,#content .facet-summary-item--facet__label::after{content:':'}#search-facets .facet-item a,#search-facets .facet-item--link,#search-facets .facet-summary-item--facet a,#search-facets .facet-summary-item--facet--link,#content .facet-item a,#content .facet-item--link,#content .facet-summary-item--facet a,#content .facet-summary-item--facet--link{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:auto;font-size:1.6rem;line-height:2.4rem;padding:.4rem .6rem;margin:.6rem 0;text-decoration:none;color:#0e6bb3}#search-facets .facet-item a:hover .facet-item__value,#search-facets .facet-item--link:hover .facet-item__value,#search-facets .facet-summary-item--facet a:hover .facet-item__value,#search-facets .facet-summary-item--facet--link:hover .facet-item__value,#content .facet-item a:hover .facet-item__value,#content .facet-item--link:hover .facet-item__value,#content .facet-summary-item--facet a:hover .facet-item__value,#content .facet-summary-item--facet--link:hover .facet-item__value{-webkit-text-decoration:2px underline #333;text-decoration:2px underline #333}#search-facets .facet-item a .facet-item__value,#search-facets .facet-item--link .facet-item__value,#search-facets .facet-summary-item--facet a .facet-item__value,#search-facets .facet-summary-item--facet--link .facet-item__value,#content .facet-item a .facet-item__value,#content .facet-item--link .facet-item__value,#content .facet-summary-item--facet a .facet-item__value,#content .facet-summary-item--facet--link .facet-item__value{text-decoration:underline}#search-facets .facet-item a .facet-item__status,#search-facets .facet-item--link .facet-item__status,#search-facets .facet-summary-item--facet a .facet-item__status,#search-facets .facet-summary-item--facet--link .facet-item__status,#content .facet-item a .facet-item__status,#content .facet-item--link .facet-item__status,#content .facet-summary-item--facet a .facet-item__status,#content .facet-summary-item--facet--link .facet-item__status{-ms-flex-negative:0;flex-shrink:0}#search-facets .facet-item a:visited,#search-facets .facet-item--link:visited,#search-facets .facet-summary-item--facet a:visited,#search-facets .facet-summary-item--facet--link:visited,#content .facet-item a:visited,#content .facet-item--link:visited,#content .facet-summary-item--facet a:visited,#content .facet-summary-item--facet--link:visited{color:#0e6bb3}#search-facets .facet-item a:focus,#search-facets .facet-item--link:focus,#search-facets .facet-summary-item--facet a:focus,#search-facets .facet-summary-item--facet--link:focus,#content .facet-item a:focus,#content .facet-item--link:focus,#content .facet-summary-item--facet a:focus,#content .facet-summary-item--facet--link:focus{background-color:#0e6bb3;color:#fff;outline:0}#search-facets .facet-item a:focus>*,#search-facets .facet-item--link:focus>*,#search-facets .facet-summary-item--facet a:focus>*,#search-facets .facet-summary-item--facet--link:focus>*,#content .facet-item a:focus>*,#content .facet-item--link:focus>*,#content .facet-summary-item--facet a:focus>*,#content .facet-summary-item--facet--link:focus>*{text-decoration:none}#search-facets .facet-item__value,#search-facets .facet-summary-item--facet__value,#content .facet-item__value,#content .facet-summary-item--facet__value{display:inline-block;padding:0 .4rem}#search-facets .facet-item__count,#search-facets .facet-summary-item--facet__count,#content .facet-item__count,#content .facet-summary-item--facet__count{text-decoration:none;white-space:nowrap}#search-facets .facet-item__status,#search-facets .facet-summary-item--facet__status,#content .facet-item__status,#content .facet-summary-item--facet__status{display:inline-block;position:relative;vertical-align:middle;width:2rem;height:2rem;margin:0;padding:0;background-color:#666;color:#fff;text-decoration:none}#search-facets .facet-item__status::before,#search-facets .facet-item__status::after,#search-facets .facet-summary-item--facet__status::before,#search-facets .facet-summary-item--facet__status::after,#content .facet-item__status::before,#content .facet-item__status::after,#content .facet-summary-item--facet__status::before,#content .facet-summary-item--facet__status::after{content:' ';display:block;width:.2rem;height:1rem;background-color:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg);position:absolute;left:.9rem;top:.5rem}#search-facets .facet-item__status::after,#search-facets .facet-summary-item--facet__status::after,#content .facet-item__status::after,#content .facet-summary-item--facet__status::after{-webkit-transform:rotate(130deg);transform:rotate(130deg)}#search-facets .facet-item a.is-active,#search-facets .facet-summary-item--facet a,#content .facet-item a.is-active,#content .facet-summary-item--facet a{background-color:#cee4f6;color:#333}#search-facets .facet-item a.is-active:visited,#search-facets .facet-summary-item--facet a:visited,#content .facet-item a.is-active:visited,#content .facet-summary-item--facet a:visited{color:#333}#search-facets .facet-item a.is-active:focus,#search-facets .facet-summary-item--facet a:focus,#content .facet-item a.is-active:focus,#content .facet-summary-item--facet a:focus{outline:3px solid #333;outline-offset:-1px;background-color:#cee4f6}#search-facets .facet-item a.is-active .facet-item__value,#search-facets .facet-summary-item--facet a .facet-item__value,#content .facet-item a.is-active .facet-item__value,#content .facet-summary-item--facet a .facet-item__value{text-decoration:none;padding-left:0}#search-facets .facet-item a.is-active:hover .facet-item__status,#search-facets .facet-item a.is-active:focus .facet-item__status,#search-facets .facet-summary-item--facet a:hover .facet-item__status,#search-facets .facet-summary-item--facet a:focus .facet-item__status,#content .facet-item a.is-active:hover .facet-item__status,#content .facet-item a.is-active:focus .facet-item__status,#content .facet-summary-item--facet a:hover .facet-item__status,#content .facet-summary-item--facet a:focus .facet-item__status{background-color:darkorange}#search-facets .facet-summary-item--facet a,#content .facet-summary-item--facet a{margin:0 .5em}#search-facets .facet-summary,#content .facet-summary{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0;padding:0}#search-facets .facet-summary__label,#content .facet-summary__label{margin:0;padding:0}#search-facets .facet-summary__list,#content .facet-summary__list{list-style:none;margin:0;padding:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap}#search-facets a.facets-soft-limit-link,#content a.facets-soft-limit-link{display:inline-block;font-size:1.6rem;line-height:2.4rem;padding:.4rem 4rem .4rem .8rem;position:relative}#search-facets a.facets-soft-limit-link:focus,#content a.facets-soft-limit-link:focus{outline:0;background-color:#0e6bb3;color:#fff;text-decoration:none}#search-facets a.facets-soft-limit-link::after,#content a.facets-soft-limit-link::after{content:'';display:block;position:absolute;top:.4rem;right:.4rem;width:2.4rem;height:2.4rem;border:1px solid #333;background:#fff url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2025%2015%22%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%20.st0%7Bfill%3A%23333333%3Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3B%7D%20%3C%2Fstyle%3E%3Cpath%20class%3D%22st0%22%20d%3D%22M12.5%200L0%2012l3%203%209.5-10L22%2015l3-3L12.5%200z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat scroll center center/12px auto;-webkit-transform:rotate(180deg);transform:rotate(180deg)}#search-facets a.facets-soft-limit-link:hover::after,#search-facets a.facets-soft-limit-link:focus::after,#content a.facets-soft-limit-link:hover::after,#content a.facets-soft-limit-link:focus::after{border-color:#fff;background:#0e6bb3 url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2025%2015%22%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%20.st0%7Bfill%3A%23ffffff%3Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3B%7D%20%3C%2Fstyle%3E%3Cpath%20class%3D%22st0%22%20d%3D%22M12.5%200L0%2012l3%203%209.5-10L22%2015l3-3L12.5%200z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat scroll center center/12px auto}#search-facets a.facets-soft-limit-link.open::after,#content a.facets-soft-limit-link.open::after{-webkit-transform:rotate(0deg);transform:rotate(0deg)}#search-facets #post-content .facet-summary-item--facet a,#content #post-content .facet-summary-item--facet a{margin:0 .5em;border-bottom:none;padding:.4rem .6rem}#search-facets #post-content .facet-summary-item--facet a:hover,#content #post-content .facet-summary-item--facet a:hover{border-bottom:none}#search-facets #post-content .facet-summary-item--facet a:hover .facet-item__value,#content #post-content .facet-summary-item--facet a:hover .facet-item__value{text-decoration:none}#search-facets #post-content .facet-summary-item--facet a:focus,#content #post-content .facet-summary-item--facet a:focus{outline:3px solid #333;outline-offset:-1px;background-color:#cee4f6}.submitted{background:#f7f7f7;border:1px solid #ececec;clear:both;color:#383838;display:inline-block;margin-bottom:.5rem;padding:.2rem .8rem}.form-submit{cursor:pointer}.form-text{padding:.8rem}.form-item{margin-bottom:1em;margin-top:.2rem}.form-type-radio label,.form-type-checkbox label{margin-left:.4rem}.form-type-radio .description,.form-type-checkbox .description{margin-left:.2rem}.form-actions{padding-top:1rem}fieldset{border:none}fieldset .fieldset-wrapper{margin-top:2.5rem;padding-left:0.3rem}.password-suggestions ul li{margin-left:1.2em}label{display:block}[type='text'],[type='search'],[type='tel'],[type='url'],[type='email'],[type='password'],[type='date'],[type='time'],[type='number']{width:100%;max-width:56rem;max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content}[size='30'],[size='40'],[size='50'],[size='60']{max-width:65rem}input[type="submit"]{text-decoration:none}[type='text'],[type='search'],[type='tel'],[type='url'],[type='email'],[type='password'],[type='date'],[type='time'],[type='number'],textarea{-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #555;color:#333;margin:.5em 0;padding:.6rem;min-height:3.5rem}[type='text'].error,[type='text'].error:focus,[type='search'].error,[type='search'].error:focus,[type='tel'].error,[type='tel'].error:focus,[type='url'].error,[type='url'].error:focus,[type='email'].error,[type='email'].error:focus,[type='password'].error,[type='password'].error:focus,[type='date'].error,[type='date'].error:focus,[type='time'].error,[type='time'].error:focus,[type='number'].error,[type='number'].error:focus,textarea.error,textarea.error:focus{border:1px solid #b63a1b;outline-color:#b63a1b;background-color:#ffdae0;-webkit-box-shadow:none;box-shadow:none;color:#333}.search-form{display:-ms-grid;display:grid;-ms-grid-columns:calc(100% - 5.4rem) 5.4rem;grid-template-columns:auto 5.4rem;grid-template-areas:"form-item form-action";-webkit-box-align:first baseline;-ms-flex-align:first baseline;align-items:first baseline;margin-top:40px}@media screen and (max-width: 766px){.search-form{margin-right:10px;margin-top:0}}@supports (display: grid){.search-form{margin-top:0}}@media all and (-ms-high-contrast: none), (-ms-high-contrast: active){.search-form{margin-top:0}}.search-form .form-item{margin:0;-ms-grid-column:1;grid-area:form-item;float:left;width:calc(100% - 5.4rem)}@media all and (-ms-high-contrast: none), (-ms-high-contrast: active){.search-form .form-item{width:auto}}@supports (display: grid){.search-form .form-item{float:none;width:auto}}.search-form .form-actions{padding:0;-ms-grid-column:2;grid-area:form-action;float:right}@supports (display: grid){.search-form .form-actions{float:none}}.search-form .form-submit{border:0;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;padding:0}.search-form .form-submit:hover{opacity:.8;-webkit-box-shadow:none;box-shadow:none}.search-form input{font-size:1.6rem;-webkit-box-sizing:border-box;box-sizing:border-box;height:4.5rem}@media (min-width: 766px){.search-form input{font-size:1.8rem}}.search-form input[type='submit']{background:#0e6bb3 url("data:image/svg+xml;charset=utf-8,%3Csvg%20id%3D%22Layer_1%22%20data-name%3D%22Layer%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20width%3D%22100px%22%20height%3D%22100px%22%20preserveAspectRatio%3D%22xMinYMid%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23fff%3Bfill-rule%3Aevenodd%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Ctitle%3Esearch-icon%3C%2Ftitle%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M97.5%2C77.89a6%2C6%2C0%2C0%2C1-8.25%2C1.49L64.89%2C62.65a5.85%2C5.85%2C0%2C0%2C1-2.55-5A21.59%2C21.59%2C0%2C0%2C1%2C25.4%2C46.81a21.16%2C21.16%2C0%2C0%2C1%2C3.47-16%2C21.69%2C21.69%2C0%2C0%2C1%2C30-5.42%2C21.36%2C21.36%2C0%2C0%2C1%2C7.1%2C27%2C6%2C6%2C0%2C0%2C1%2C5.67.58L96%2C69.71A5.86%2C5.86%2C0%2C0%2C1%2C97.5%2C77.89ZM61.38%2C40.3a14.8%2C14.8%2C0%2C0%2C0-6.23-9.6%2C15.12%2C15.12%2C0%2C0%2C0-20.92%2C3.77A14.88%2C14.88%2C0%2C0%2C0%2C38%2C55.24%2C15.12%2C15.12%2C0%2C0%2C0%2C59%2C51.46%2C14.74%2C14.74%2C0%2C0%2C0%2C61.38%2C40.3Z%22%2F%3E%3C%2Fsvg%3E") 0 center no-repeat;background-size:4.2rem auto;text-indent:-9999px;width:5.4rem;-webkit-filter:none;filter:none}.search-form input[type='submit']:focus{outline:3px solid #333;outline-offset:-2px;overflow:hidden}@media screen and (min-width: 320px){.search-form input[type='submit']{-webkit-box-sizing:border-box;box-sizing:border-box;margin:.5em 0;text-shadow:none;position:relative}}.search-form input[type='text']{padding:0 .8rem;width:100%}.search-form input[type='text']:focus{outline:3px solid #333;outline-offset:-2px;position:relative;z-index:101}.search-results .search-form,.search-page .search-form{max-width:500px;display:grid;margin-right:0}.search-results .search-form .form-actions,.search-page .search-form .form-actions{padding-top:0}.search-results .search-form input.form-text,.search-page .search-form input.form-text{max-width:100%;border:1px solid #ccc}.required+label{position:relative;top:100%;left:-1px;margin-top:-1px;z-index:101;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;max-width:56rem}.required+label.error{font-size:1.6rem;line-height:1.5;margin:1em 0 1.5em;font-weight:bold;display:block;position:absolute;position:relative;padding:.9rem;color:#fff;background-color:#d1431f;border:1px solid #d1431f;border-radius:3px;-webkit-box-shadow:4px 4px 9px 0 rgba(0,0,0,0.3);box-shadow:4px 4px 9px 0 rgba(0,0,0,0.3);opacity:1;margin-top:1rem}@media screen and (min-width: 766px){.required+label.error{font-size:1.8rem}}.required+label.error::after{content:'';border:.9rem solid transparent;border-bottom-color:#d1431f;position:absolute;top:-1.8rem;left:.9rem}.search-form{position:relative}.search-form .required+label.error{position:absolute;margin-top:0}#node-preview-form-select a.node-preview-backlink{color:#fff;text-align:left;display:inline-block;background-color:#3fa940;background-repeat:no-repeat;background-position-y:center;border:1px solid transparent;border-color:#3fa940;min-width:150px;min-height:4.8rem;padding:.7rem 1.6rem;position:relative;font-size:2.1rem;line-height:2.8rem}@media (min-width: 766px){#node-preview-form-select a.node-preview-backlink{min-height:5.4rem;padding:.8rem 1.8rem;font-size:2.4rem;line-height:3.6rem}}#node-preview-form-select a.node-preview-backlink::after{content:"\f2ea";display:inline-block;font-family:'Font Awesome 5 Free';font-style:normal;font-variant:normal;text-rendering:auto;-webkit-font-smoothing:antialiased;font-weight:900;padding-left:2rem}.item-list ul{margin:0;padding:0}ul.inline{clear:both}ul.primary{border:0;margin:0;padding:0}ul.primary li{float:left}ul.primary li a{border-radius:4px/0;background:none;border:0;display:block;float:left;line-height:1.5385em;margin:0 .5rem 0 0;padding:0 1em}ul.primary li a:hover,ul.primary li a:active{background:#111;border:0;color:#fff}ul.primary li a:hover{background:#888;text-decoration:none}ul.secondary{background:#111;border-bottom:0;clear:both;margin:0;padding:0}ul.secondary li{border-right:0}ul.secondary li a,ul.secondary li a:link{border:0;color:#ccc;display:block;float:left;line-height:1.5385em;padding:0 1em}ul.secondary li a:hover,ul.secondary li a.active{background:#888;color:#fff;text-decoration:none}ul.secondary a.active{border-bottom:0}.split-list{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;clear:both;float:left}.split-list li{float:left;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%;padding-right:1em}.split-list li:nth-child(odd){clear:left}.dash-list li{position:relative;list-style:none}.dash-list li::before{content:'-';position:absolute;left:-20px;top:0}a.btn{font-size:1.6rem;line-height:1.5;margin:1em 0 1.5em;display:inline-block;color:#fff;margin:1rem 0 0;text-align:center;padding:.6rem 1.6rem;cursor:pointer;background:#0e6bb3;border-radius:0;border:3px solid transparent;text-decoration:none}@media screen and (min-width: 766px){a.btn{font-size:1.8rem}}a.btn:hover,a.btn:focus{background:#666}a.btn:focus{border-color:#000}.ico{display:inline;margin-left:.2em;fill:currentColor}.ico-elink{height:1.1rem;width:1.4rem;margin-bottom:.1rem}.ico-arrow-left{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.ico-arrow-up{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.ico-arrow-down{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.info-notice,.messages{border:2px solid;margin:1.5em 0;padding:1rem 1rem 1rem 4rem}@media (min-width: 641px){.info-notice,.messages{padding:1.4rem 1.4rem 1.4rem 6rem}}.info-notice>*:first-child,.messages>*:first-child{margin-top:0}.info-notice>*:last-child,.messages>*:last-child{margin-bottom:0}.info-notice{border-color:#141f6f;background:#fff url('../images/i.svg?17d90291161') no-repeat 0.9rem 0.9rem/24px 24px}@media (min-width: 641px){.info-notice{background:#fff url('../images/i.svg?17d90291161') no-repeat 1.4rem 1.4rem/30px 30px}}.no-svg .info-notice{background-image:url('../images/i.png?17d90291161')}ul.info-notice{padding:1rem 1rem 1rem 4rem}@media (min-width: 641px){ul.info-notice{padding:1.4rem 1.4rem 1.4rem 7rem}}.messages-list{margin:2.5rem 0;list-style:none}.field .messages-list,.form-wrapper .messages-list{margin-bottom:0}.messages--error{border-color:#e34f4f;background:#fff url('../images/wrong.svg?17d90291164') no-repeat 0.9rem 0.9rem/24px 24px}@media (min-width: 641px){.messages--error{background:#fff url('../images/wrong.svg?17d90291164') no-repeat 1.4rem 1.4rem/30px 30px}}.no-svg .messages--error{background-image:url('../images/wrong.png?17d90291164')}.messages--status{border-color:#3fa940;background:#fff url('../images/status.svg?17d90291163') no-repeat 0.9rem 0.9rem/24px 24px}@media (min-width: 641px){.messages--status{background:#fff url('../images/status.svg?17d90291163') no-repeat 1.4rem 1.4rem/30px 30px}}.no-svg .messages--status{background-image:url('../images/status.png?17d90291163')}.messages--warning{border-color:#db6304;background:#fff url('../images/warning.svg?17d90291164') no-repeat 0.9rem 0.9rem/24px 24px}@media (min-width: 641px){.messages--warning{background:#fff url('../images/warning.svg?17d90291164') no-repeat 1.4rem 1.4rem/30px 30px}}.no-svg .messages--warning{background-image:url('../images/warning.png?17d90291164')}.messages__list{margin:0}.messages__item{font-size:1.8rem}.messages__item:first-child{margin-top:0}.info-notice{overflow:hidden;border-color:#004695}#main-menu .menu-link,#main-menu .menu .active,#main-menu .menu-item.open .menu-toggle-btn{color:#141f6f;font-size:1.8rem}#main-menu .menu-link:hover,#main-menu .menu-link:focus{color:#fff}#main-menu .menu .menu-item .active{border-color:#141f6f}#main-menu .menu-main_sub{background:#141f6f}#main-menu .menu-main_sub .menu-item .active{color:#fff;border-color:#fff}#main-menu .menu-main_sub .menu-item a:hover,#main-menu .menu-main_sub .menu-item a:focus{background:#0089d1}.question-meta{border-bottom:1px solid #000;margin:1.8rem 0;padding:0.9rem 0 1.8rem;width:100%}.question-meta span.inline{width:30%;display:inline-block;font-weight:bold} +.region-primary-menu .menu_wrapper{width:100%}@media screen and (max-width: 766px){.region-primary-menu .menu_wrapper{margin:0}}#main-menu{max-width:1024px;margin:0 auto;position:relative;background-color:rgba(0,0,0,0)}#main-menu .nav-main{height:auto;min-height:44px}@media screen and (max-width: 766px){#main-menu .nav-main{height:0;overflow:hidden;min-height:0}}#main-menu .menu-main{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0;margin:0;list-style:none}@media screen and (max-width: 766px){#main-menu .menu-main{display:block;max-width:100%;float:none}}#main-menu .menu-main_sub{display:none;list-style:none;position:absolute;z-index:9999;padding:0;margin:0;background:rgba(0,0,0,0);overflow:visible !important}@media screen and (max-width: 766px){#main-menu .menu-main_sub{position:static;border:0}}#main-menu .menu-main_sub ul{left:100%;top:0;margin-left:1px}@media screen and (max-width: 766px){#main-menu .menu-main_sub ul{margin:0;border:0}}#main-menu .menu-main_sub .menu-item{float:none;min-width:150px;padding:0;margin:0;position:relative;width:100%}#main-menu .menu-main_sub .menu-item.open{background:#141f6f}@media screen and (max-width: 766px){#main-menu .menu-main_sub .menu-item.open{background:rgba(26,26,26,0)}}@media screen and (max-width: 766px){#main-menu .menu-main_sub .menu-item{margin:0;width:100%;text-align:center;border-right:0;background:rgba(26,26,26,0)}#main-menu .menu-main_sub .menu-item .menu-item .menu-link{background:rgba(31,31,31,0)}}#main-menu .menu-main_sub .menu-item span.active{font-weight:bold;text-align:left;padding-left:1.1rem}#main-menu .menu-main_sub .menu-link,#main-menu .menu-main_sub .active{font-size:1.4rem;min-width:150px;margin:0;border-top:1px solid #fff;text-align:left;overflow:hidden;padding:.8rem 1.1rem;border-radius:0;color:#fff}@media screen and (max-width: 766px){#main-menu .menu-main_sub .menu-link,#main-menu .menu-main_sub .active{border-top:1px solid #fff}}@media screen and (min-width: 766px){#main-menu .menu-main_sub .menu-link,#main-menu .menu-main_sub .active{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}}#main-menu .menu-item{font-size:1.4rem;line-height:2.4rem;position:relative;padding:0;margin:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}@media screen and (max-width: 766px){#main-menu .menu-item{float:none;max-width:100%}}#main-menu .menu-item.open>ul{display:block}#main-menu .menu-item.open .menu-toggle-btn{background:#fff;color:rgba(0,0,0,0);font-weight:bold}#main-menu .menu-link,#main-menu .menu .active{border-bottom:5px solid transparent;padding:1.1rem 0 .4rem;display:block;text-decoration:none;color:#fff;font-weight:500;min-width:44px;text-align:center}@media screen and (max-width: 766px){#main-menu .menu-link,#main-menu .menu .active{width:100%;padding:13px 2%;border-radius:0;border-bottom:1px solid #fff;border-right:0;text-align:left}}#main-menu .menu-link:hover,#main-menu .menu-link:focus{background:#151d68}#main-menu .menu .menu-item .active,#main-menu .menu .menu-item .active+.menu-main_sub .title a{background:rgba(191,191,191,0.25);border-bottom-color:#cad400}#main-menu .ico{width:1rem;height:1rem;margin:0 0 0 5px}#main-menu .menu-item.open .ico{-webkit-transform:rotate(270deg);transform:rotate(270deg)}#main-menu .menu-item .menu-main_sub .ico{-webkit-transform:none;transform:none}@media screen and (max-width: 766px){#main-menu .menu-item .menu-main_sub .ico{-webkit-transform:rotate(90deg);transform:rotate(90deg)}}#main-menu .menu-item .menu-main_sub .open .ico{-webkit-transform:rotate(180deg);transform:rotate(180deg)}@media screen and (max-width: 766px){#main-menu .menu-item .menu-main_sub .open .ico{-webkit-transform:rotate(270deg);transform:rotate(270deg)}}#main-menu .toggler{position:absolute;top:0;left:-.5rem;z-index:2;cursor:pointer;height:1px;width:1px;overflow:hidden;opacity:0;max-height:5rem;min-height:5rem;display:none}@media screen and (max-width: 766px){#main-menu .toggler{top:-5.2rem;left:.5rem;width:5rem;height:5rem;display:block}#main-menu .toggler:checked+.hamburger>div{-webkit-transform:rotate(135deg);transform:rotate(135deg)}#main-menu .toggler:checked+.hamburger>div::before,#main-menu .toggler:checked+.hamburger>div::after{top:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}#main-menu .toggler:checked:hover+.hamburger>div{-webkit-transform:rotate(225deg);transform:rotate(225deg)}#main-menu .toggler:checked ~ .nav-main{height:auto;-webkit-transition:max-height 1s ease;transition:max-height 1s ease}}#main-menu .toggler-label{display:none}@media screen and (max-width: 766px){#main-menu .toggler-label{display:block}}#main-menu .hamburger{position:absolute;top:-6.7rem;left:.5rem;z-index:1;width:auto;height:50px;padding:1rem;display:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}@media screen and (max-width: 766px){#main-menu .hamburger{display:-webkit-box;display:-ms-flexbox;display:flex}#main-menu .hamburger>div{position:relative;-webkit-box-flex:0;-ms-flex:none;flex:none;width:2.1rem;height:.3rem;background:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-transition:all .4s ease;transition:all .4s ease}#main-menu .hamburger>div::after,#main-menu .hamburger>div::before{content:'';position:absolute;z-index:1;top:-.9rem;left:0;width:100%;height:.3rem;background:#fff}#main-menu .hamburger>div::after{top:.9rem}#main-menu .hamburger-text{color:#fff;padding-left:1rem}}.menu-link_button{background:transparent;border:0;-webkit-box-shadow:none;box-shadow:none;text-shadow:none;font-size:1.4rem}.path-search #main-menu .hamburger{top:-5.1rem}.breadcrumb{font-size:1.3rem;border-bottom:1px solid #eee;line-height:2.5rem}.breadcrumb .breadcrumb--list{list-style:none;margin:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;padding:.5rem 0}.breadcrumb .breadcrumb--item{display:-webkit-box;display:-ms-flexbox;display:flex;margin:0;padding:0;line-height:1.5;-ms-flex-negative:0;flex-shrink:0}.breadcrumb .breadcrumb--item a{border:0;padding:.4rem 0}.breadcrumb .breadcrumb--item::after{content:"»";margin:0;padding:0 .3rem}.breadcrumb .breadcrumb--item:last-child{-ms-flex-negative:1;flex-shrink:1}.breadcrumb .breadcrumb--item:last-child::after{content:none}#pager .pager__items{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;line-height:5rem;text-align:left;list-style:none;margin:1.5em 0;padding:0}#pager .pager__item{margin:.2rem;padding:0;border:0}#pager .pager__item--first{margin-left:0}#pager .pager__item--last{margin-right:0}@media screen and (max-width: 476px){#pager .pager__item.pager-hide-small{display:none}}@media screen and (max-width: 641px){#pager .pager__item.pager-hide-phab{display:none}}#pager .pager__item a,#pager .pager__item .pager__item-current,#pager .pager__item--ellipsis{display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:1.6rem;min-width:4.4rem;min-height:4.4rem;line-height:4.2rem;margin:0;padding:0 .6rem;text-align:center;text-decoration:none}@media (min-width: 766px){#pager .pager__item a,#pager .pager__item .pager__item-current,#pager .pager__item--ellipsis{min-width:4.5rem;min-height:4.5rem;line-height:4.3rem}}#pager .pager__item--ellipsis{min-width:0}@media screen and (max-width: 476px){#pager .pager__item--ellipsis.pager-ellipsis-hide{display:none}}#pager .pager__item a,#pager .pager__item a:active,#pager .pager__item a:focus,#pager .pager__item a:visited{color:#0e6bb3;background-color:#fff;border:1px solid #666}#pager .pager__item a:focus{outline:3px solid #0e6bb3}#pager .pager__item a:hover{color:#fff;background-color:#0e6bb3;border-color:#0e6bb3;text-decoration:none}#pager .pager__item.is-active a,#pager .pager__item.is-active .pager__item-current{background-color:#0e6bb3;color:#fff}#pager .pager__item--first a,#pager .pager__item--previous a,#pager .pager__item--next a,#pager .pager__item--last a{padding:0 .6rem}.toc-menu{background:transparent;border-top:1px solid #999;border-bottom:1px solid #999;margin:1em 0 1.5em;padding:0}.toc-menu .skip-link{margin:1em 0}.toc-menu .menu-title{font-size:1.6rem;line-height:1.5;margin:1em 0 1.5em;font-weight:bold;margin:1em 0 .5em}@media screen and (min-width: 766px){.toc-menu .menu-title{font-size:1.8rem}}.toc-menu .nav-menu{margin:0 0 2.7rem;list-style:none;padding:0}.toc-menu .nav-menu .nav-item{font-size:1.6rem;line-height:1.5;margin:1em 0 1.5em;margin:0;padding:0 0 .6rem 1rem;position:relative}@media screen and (min-width: 766px){.toc-menu .nav-menu .nav-item{font-size:1.8rem}}.toc-menu .nav-menu .nav-item::before{content:'-';position:absolute;left:0;top:0}.toc-menu .nav-menu .nav-item:last-child{padding-bottom:0}body.toolbar-tray-open.toolbar-vertical.toolbar-fixed{margin-left:18rem}.toolbar-tab .toolbar-tray.toolbar-tray-vertical{width:18rem}.block{margin-bottom:2%}@media screen and (max-width: 961px){.block{margin-bottom:2%}}.block:last-child{margin:0}.block>h2{font-size:3.6rem;line-height:4.2rem;margin:2.3rem 0 2.3rem;margin:.5rem 0 1.5rem;padding:1rem;overflow:hidden;text-align:left}@media screen and (max-width: 440px){.block>h2{font-size:1.8rem}}#search-facets .facet--title a.facet--btn,#content .facet--title a.facet--btn{background-color:#333;display:block;line-height:4rem;min-height:4rem;min-width:100px;padding:0 .5em;text-align:left;text-decoration:none;vertical-align:middle;width:100%;font-size:1.6rem}@media (min-width: 641px){#search-facets .facet--title a.facet--btn,#content .facet--title a.facet--btn{min-width:120px;font-size:1.8rem}}#search-facets .facet--title a.facet--btn:link,#search-facets .facet--title a.facet--btn:visited,#content .facet--title a.facet--btn:link,#content .facet--title a.facet--btn:visited{color:#fff}#search-facets .facet--title a.facet--btn:hover,#content .facet--title a.facet--btn:hover{background-color:#111;text-decoration:none}#search-facets .facet--title a.facet--btn:focus,#content .facet--title a.facet--btn:focus{outline:3px solid #949494;outline-offset:-2px;background-color:#111;border-bottom-width:2px}#search-facets .facet--title a.facet--btn:active,#search-facets .facet--title a.facet--btn.active,#content .facet--title a.facet--btn:active,#content .facet--title a.facet--btn.active{background-color:#111;border-color:#111;text-decoration:none}#search-facets .facet--title a.facet--btn .ico-arrow-down,#content .facet--title a.facet--btn .ico-arrow-down{fill:#fff;float:right;height:2rem;margin:1rem;width:2rem;-webkit-transition:-webkit-transform .4s ease;transition:-webkit-transform .4s ease;transition:transform .4s ease;transition:transform .4s ease, -webkit-transform .4s ease}#search-facets .facet--title a.facet--btn.active .ico-arrow-down,#content .facet--title a.facet--btn.active .ico-arrow-down{-webkit-transform:rotate(270deg);transform:rotate(270deg)}#search-facets .facet--dropdown-links,#content .facet--dropdown-links{margin:1em 0}#search-facets .facet--title,#content .facet--title{margin:0}#search-facets .facet-list__links,#content .facet-list__links{margin:.1rem 0 .6rem;list-style:none}#search-facets .facet-list__links .facet-item ul,#content .facet-list__links .facet-item ul{padding:0;margin:0;list-style:none}#search-facets .facet-list__links .facet-item ul .facet-item,#content .facet-list__links .facet-item ul .facet-item{position:relative;padding:0 0 0 1.2rem;margin:0}#search-facets .facet-list__links .facet-item ul .facet-item::before,#content .facet-list__links .facet-item ul .facet-item::before{content:'-';position:absolute;left:.5em;top:.5em}#search-facets .facet-item,#search-facets .facet-summary-item--facet,#content .facet-item,#content .facet-summary-item--facet{margin:0;padding:0}#search-facets .facet-item__label,#search-facets .facet-summary-item--facet__label,#content .facet-item__label,#content .facet-summary-item--facet__label{font-size:1.6rem;line-height:2.4rem;padding:1rem 0}#search-facets .facet-item__label::after,#search-facets .facet-summary-item--facet__label::after,#content .facet-item__label::after,#content .facet-summary-item--facet__label::after{content:':'}#search-facets .facet-item a,#search-facets .facet-item--link,#search-facets .facet-summary-item--facet a,#search-facets .facet-summary-item--facet--link,#content .facet-item a,#content .facet-item--link,#content .facet-summary-item--facet a,#content .facet-summary-item--facet--link{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:auto;font-size:1.6rem;line-height:2.4rem;padding:.4rem .6rem;margin:.6rem 0;text-decoration:none;color:#0e6bb3}#search-facets .facet-item a:hover .facet-item__value,#search-facets .facet-item--link:hover .facet-item__value,#search-facets .facet-summary-item--facet a:hover .facet-item__value,#search-facets .facet-summary-item--facet--link:hover .facet-item__value,#content .facet-item a:hover .facet-item__value,#content .facet-item--link:hover .facet-item__value,#content .facet-summary-item--facet a:hover .facet-item__value,#content .facet-summary-item--facet--link:hover .facet-item__value{-webkit-text-decoration:2px underline #333;text-decoration:2px underline #333}#search-facets .facet-item a .facet-item__value,#search-facets .facet-item--link .facet-item__value,#search-facets .facet-summary-item--facet a .facet-item__value,#search-facets .facet-summary-item--facet--link .facet-item__value,#content .facet-item a .facet-item__value,#content .facet-item--link .facet-item__value,#content .facet-summary-item--facet a .facet-item__value,#content .facet-summary-item--facet--link .facet-item__value{text-decoration:underline}#search-facets .facet-item a .facet-item__status,#search-facets .facet-item--link .facet-item__status,#search-facets .facet-summary-item--facet a .facet-item__status,#search-facets .facet-summary-item--facet--link .facet-item__status,#content .facet-item a .facet-item__status,#content .facet-item--link .facet-item__status,#content .facet-summary-item--facet a .facet-item__status,#content .facet-summary-item--facet--link .facet-item__status{-ms-flex-negative:0;flex-shrink:0}#search-facets .facet-item a:visited,#search-facets .facet-item--link:visited,#search-facets .facet-summary-item--facet a:visited,#search-facets .facet-summary-item--facet--link:visited,#content .facet-item a:visited,#content .facet-item--link:visited,#content .facet-summary-item--facet a:visited,#content .facet-summary-item--facet--link:visited{color:#0e6bb3}#search-facets .facet-item a:focus,#search-facets .facet-item--link:focus,#search-facets .facet-summary-item--facet a:focus,#search-facets .facet-summary-item--facet--link:focus,#content .facet-item a:focus,#content .facet-item--link:focus,#content .facet-summary-item--facet a:focus,#content .facet-summary-item--facet--link:focus{background-color:#0e6bb3;color:#fff;outline:0}#search-facets .facet-item a:focus>*,#search-facets .facet-item--link:focus>*,#search-facets .facet-summary-item--facet a:focus>*,#search-facets .facet-summary-item--facet--link:focus>*,#content .facet-item a:focus>*,#content .facet-item--link:focus>*,#content .facet-summary-item--facet a:focus>*,#content .facet-summary-item--facet--link:focus>*{text-decoration:none}#search-facets .facet-item__value,#search-facets .facet-summary-item--facet__value,#content .facet-item__value,#content .facet-summary-item--facet__value{display:inline-block;padding:0 .4rem}#search-facets .facet-item__count,#search-facets .facet-summary-item--facet__count,#content .facet-item__count,#content .facet-summary-item--facet__count{text-decoration:none;white-space:nowrap}#search-facets .facet-item__status,#search-facets .facet-summary-item--facet__status,#content .facet-item__status,#content .facet-summary-item--facet__status{display:inline-block;position:relative;vertical-align:middle;width:2rem;height:2rem;margin:0;padding:0;background-color:#666;color:#fff;text-decoration:none}#search-facets .facet-item__status::before,#search-facets .facet-item__status::after,#search-facets .facet-summary-item--facet__status::before,#search-facets .facet-summary-item--facet__status::after,#content .facet-item__status::before,#content .facet-item__status::after,#content .facet-summary-item--facet__status::before,#content .facet-summary-item--facet__status::after{content:' ';display:block;width:.2rem;height:1rem;background-color:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg);position:absolute;left:.9rem;top:.5rem}#search-facets .facet-item__status::after,#search-facets .facet-summary-item--facet__status::after,#content .facet-item__status::after,#content .facet-summary-item--facet__status::after{-webkit-transform:rotate(130deg);transform:rotate(130deg)}#search-facets .facet-item a.is-active,#search-facets .facet-summary-item--facet a,#content .facet-item a.is-active,#content .facet-summary-item--facet a{background-color:#cee4f6;color:#333}#search-facets .facet-item a.is-active:visited,#search-facets .facet-summary-item--facet a:visited,#content .facet-item a.is-active:visited,#content .facet-summary-item--facet a:visited{color:#333}#search-facets .facet-item a.is-active:focus,#search-facets .facet-summary-item--facet a:focus,#content .facet-item a.is-active:focus,#content .facet-summary-item--facet a:focus{outline:3px solid #333;outline-offset:-1px;background-color:#cee4f6}#search-facets .facet-item a.is-active .facet-item__value,#search-facets .facet-summary-item--facet a .facet-item__value,#content .facet-item a.is-active .facet-item__value,#content .facet-summary-item--facet a .facet-item__value{text-decoration:none;padding-left:0}#search-facets .facet-item a.is-active:hover .facet-item__status,#search-facets .facet-item a.is-active:focus .facet-item__status,#search-facets .facet-summary-item--facet a:hover .facet-item__status,#search-facets .facet-summary-item--facet a:focus .facet-item__status,#content .facet-item a.is-active:hover .facet-item__status,#content .facet-item a.is-active:focus .facet-item__status,#content .facet-summary-item--facet a:hover .facet-item__status,#content .facet-summary-item--facet a:focus .facet-item__status{background-color:darkorange}#search-facets .facet-summary-item--facet a,#content .facet-summary-item--facet a{margin:0 .5em}#search-facets .facet-summary,#content .facet-summary{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0;padding:0}#search-facets .facet-summary__label,#content .facet-summary__label{margin:0;padding:0}#search-facets .facet-summary__list,#content .facet-summary__list{list-style:none;margin:0;padding:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap}#search-facets a.facets-soft-limit-link,#content a.facets-soft-limit-link{display:inline-block;font-size:1.6rem;line-height:2.4rem;padding:.4rem 4rem .4rem .8rem;position:relative}#search-facets a.facets-soft-limit-link:focus,#content a.facets-soft-limit-link:focus{outline:0;background-color:#0e6bb3;color:#fff;text-decoration:none}#search-facets a.facets-soft-limit-link::after,#content a.facets-soft-limit-link::after{content:'';display:block;position:absolute;top:.4rem;right:.4rem;width:2.4rem;height:2.4rem;border:1px solid #333;background:#fff url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2025%2015%22%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%20.st0%7Bfill%3A%23333333%3Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3B%7D%20%3C%2Fstyle%3E%3Cpath%20class%3D%22st0%22%20d%3D%22M12.5%200L0%2012l3%203%209.5-10L22%2015l3-3L12.5%200z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat scroll center center/12px auto;-webkit-transform:rotate(180deg);transform:rotate(180deg)}#search-facets a.facets-soft-limit-link:hover::after,#search-facets a.facets-soft-limit-link:focus::after,#content a.facets-soft-limit-link:hover::after,#content a.facets-soft-limit-link:focus::after{border-color:#fff;background:#0e6bb3 url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2025%2015%22%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%20.st0%7Bfill%3A%23ffffff%3Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3B%7D%20%3C%2Fstyle%3E%3Cpath%20class%3D%22st0%22%20d%3D%22M12.5%200L0%2012l3%203%209.5-10L22%2015l3-3L12.5%200z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat scroll center center/12px auto}#search-facets a.facets-soft-limit-link.open::after,#content a.facets-soft-limit-link.open::after{-webkit-transform:rotate(0deg);transform:rotate(0deg)}#search-facets #post-content .facet-summary-item--facet a,#content #post-content .facet-summary-item--facet a{margin:0 .5em;border-bottom:none;padding:.4rem .6rem}#search-facets #post-content .facet-summary-item--facet a:hover,#content #post-content .facet-summary-item--facet a:hover{border-bottom:none}#search-facets #post-content .facet-summary-item--facet a:hover .facet-item__value,#content #post-content .facet-summary-item--facet a:hover .facet-item__value{text-decoration:none}#search-facets #post-content .facet-summary-item--facet a:focus,#content #post-content .facet-summary-item--facet a:focus{outline:3px solid #333;outline-offset:-1px;background-color:#cee4f6}.submitted{background:#f7f7f7;border:1px solid #ececec;clear:both;color:#383838;display:inline-block;margin-bottom:.5rem;padding:.2rem .8rem}.form-submit{cursor:pointer}.form-text{padding:.8rem}.form-item{margin-bottom:1em;margin-top:.2rem}.form-type-radio label,.form-type-checkbox label{margin-left:.4rem}.form-type-radio .description,.form-type-checkbox .description{margin-left:.2rem}.form-actions{padding-top:1rem}fieldset{border:none}fieldset .fieldset-wrapper{margin-top:2.5rem;padding-left:0.3rem}.password-suggestions ul li{margin-left:1.2em}label{display:block}[type='text'],[type='search'],[type='tel'],[type='url'],[type='email'],[type='password'],[type='date'],[type='time'],[type='number']{width:100%;max-width:56rem;max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content}[size='30'],[size='40'],[size='50'],[size='60']{max-width:65rem}input[type="submit"]{text-decoration:none}[type='text'],[type='search'],[type='tel'],[type='url'],[type='email'],[type='password'],[type='date'],[type='time'],[type='number'],textarea{-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #555;color:#333;margin:.5em 0;padding:.6rem;min-height:3.5rem}[type='text'].error,[type='text'].error:focus,[type='search'].error,[type='search'].error:focus,[type='tel'].error,[type='tel'].error:focus,[type='url'].error,[type='url'].error:focus,[type='email'].error,[type='email'].error:focus,[type='password'].error,[type='password'].error:focus,[type='date'].error,[type='date'].error:focus,[type='time'].error,[type='time'].error:focus,[type='number'].error,[type='number'].error:focus,textarea.error,textarea.error:focus{border:1px solid #b63a1b;outline-color:#b63a1b;background-color:#ffdae0;-webkit-box-shadow:none;box-shadow:none;color:#333}.search-form{display:-ms-grid;display:grid;-ms-grid-columns:calc(100% - 5.4rem) 5.4rem;grid-template-columns:auto 5.4rem;grid-template-areas:"form-item form-action";-webkit-box-align:first baseline;-ms-flex-align:first baseline;align-items:first baseline;margin-top:40px}@media screen and (max-width: 766px){.search-form{margin-right:10px;margin-top:0}}@supports (display: grid){.search-form{margin-top:0}}@media all and (-ms-high-contrast: none), (-ms-high-contrast: active){.search-form{margin-top:0}}.search-form .form-item{margin:0;-ms-grid-column:1;grid-area:form-item;float:left;width:calc(100% - 5.4rem)}@media all and (-ms-high-contrast: none), (-ms-high-contrast: active){.search-form .form-item{width:auto}}@supports (display: grid){.search-form .form-item{float:none;width:auto}}.search-form .form-actions{padding:0;-ms-grid-column:2;grid-area:form-action;float:right}@supports (display: grid){.search-form .form-actions{float:none}}.search-form .form-submit{border:0;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;padding:0}.search-form .form-submit:hover{opacity:.8;-webkit-box-shadow:none;box-shadow:none}.search-form input{font-size:1.6rem;-webkit-box-sizing:border-box;box-sizing:border-box;height:4.5rem}@media (min-width: 766px){.search-form input{font-size:1.8rem}}.search-form input[type='submit']{background:#0e6bb3 url("data:image/svg+xml;charset=utf-8,%3Csvg%20id%3D%22Layer_1%22%20data-name%3D%22Layer%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20width%3D%22100px%22%20height%3D%22100px%22%20preserveAspectRatio%3D%22xMinYMid%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23fff%3Bfill-rule%3Aevenodd%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Ctitle%3Esearch-icon%3C%2Ftitle%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M97.5%2C77.89a6%2C6%2C0%2C0%2C1-8.25%2C1.49L64.89%2C62.65a5.85%2C5.85%2C0%2C0%2C1-2.55-5A21.59%2C21.59%2C0%2C0%2C1%2C25.4%2C46.81a21.16%2C21.16%2C0%2C0%2C1%2C3.47-16%2C21.69%2C21.69%2C0%2C0%2C1%2C30-5.42%2C21.36%2C21.36%2C0%2C0%2C1%2C7.1%2C27%2C6%2C6%2C0%2C0%2C1%2C5.67.58L96%2C69.71A5.86%2C5.86%2C0%2C0%2C1%2C97.5%2C77.89ZM61.38%2C40.3a14.8%2C14.8%2C0%2C0%2C0-6.23-9.6%2C15.12%2C15.12%2C0%2C0%2C0-20.92%2C3.77A14.88%2C14.88%2C0%2C0%2C0%2C38%2C55.24%2C15.12%2C15.12%2C0%2C0%2C0%2C59%2C51.46%2C14.74%2C14.74%2C0%2C0%2C0%2C61.38%2C40.3Z%22%2F%3E%3C%2Fsvg%3E") 0 center no-repeat;background-size:4.2rem auto;text-indent:-9999px;width:5.4rem;-webkit-filter:none;filter:none}.search-form input[type='submit']:focus{outline:3px solid #333;outline-offset:-2px;overflow:hidden}@media screen and (min-width: 320px){.search-form input[type='submit']{-webkit-box-sizing:border-box;box-sizing:border-box;margin:.5em 0;text-shadow:none;position:relative}}.search-form input[type='text']{padding:0 .8rem;width:100%}.search-form input[type='text']:focus{outline:3px solid #333;outline-offset:-2px;position:relative;z-index:101}.search-results .search-form,.search-page .search-form{max-width:500px;display:grid;margin-right:0}.search-results .search-form .form-actions,.search-page .search-form .form-actions{padding-top:0}.search-results .search-form input.form-text,.search-page .search-form input.form-text{max-width:100%;border:1px solid #ccc}.required+label{position:relative;top:100%;left:-1px;margin-top:-1px;z-index:101;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;max-width:56rem}.required+label.error{font-size:1.6rem;line-height:1.5;margin:1em 0 1.5em;font-weight:bold;display:block;position:absolute;position:relative;padding:.9rem;color:#fff;background-color:#d1431f;border:1px solid #d1431f;border-radius:3px;-webkit-box-shadow:4px 4px 9px 0 rgba(0,0,0,0.3);box-shadow:4px 4px 9px 0 rgba(0,0,0,0.3);opacity:1;margin-top:1rem}@media screen and (min-width: 766px){.required+label.error{font-size:1.8rem}}.required+label.error::after{content:'';border:.9rem solid transparent;border-bottom-color:#d1431f;position:absolute;top:-1.8rem;left:.9rem}.search-form{position:relative}.search-form .required+label.error{position:absolute;margin-top:0}#node-preview-form-select a.node-preview-backlink{color:#fff;text-align:left;display:inline-block;background-color:#3fa940;background-repeat:no-repeat;background-position-y:center;border:1px solid transparent;border-color:#3fa940;min-width:150px;min-height:4.8rem;padding:.7rem 1.6rem;position:relative;font-size:2.1rem;line-height:2.8rem}@media (min-width: 766px){#node-preview-form-select a.node-preview-backlink{min-height:5.4rem;padding:.8rem 1.8rem;font-size:2.4rem;line-height:3.6rem}}#node-preview-form-select a.node-preview-backlink::after{content:"\f2ea";display:inline-block;font-family:'Font Awesome 5 Free';font-style:normal;font-variant:normal;text-rendering:auto;-webkit-font-smoothing:antialiased;font-weight:900;padding-left:2rem}.item-list ul{margin:0;padding:0}ul.inline{clear:both}ul.primary{border:0;margin:0;padding:0}ul.primary li{float:left}ul.primary li a{border-radius:4px/0;background:none;border:0;display:block;float:left;line-height:1.5385em;margin:0 .5rem 0 0;padding:0 1em}ul.primary li a:hover,ul.primary li a:active{background:#111;border:0;color:#fff}ul.primary li a:hover{background:#888;text-decoration:none}ul.secondary{background:#111;border-bottom:0;clear:both;margin:0;padding:0}ul.secondary li{border-right:0}ul.secondary li a,ul.secondary li a:link{border:0;color:#ccc;display:block;float:left;line-height:1.5385em;padding:0 1em}ul.secondary li a:hover,ul.secondary li a.active{background:#888;color:#fff;text-decoration:none}ul.secondary a.active{border-bottom:0}.split-list{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;clear:both;float:left}.split-list li{float:left;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%;padding-right:1em}.split-list li:nth-child(odd){clear:left}.dash-list li{position:relative;list-style:none}.dash-list li::before{content:'-';position:absolute;left:-20px;top:0}a.btn{font-size:1.6rem;line-height:1.5;margin:1em 0 1.5em;display:inline-block;color:#fff;margin:1rem 0 0;text-align:center;padding:.6rem 1.6rem;cursor:pointer;background:#0e6bb3;border-radius:0;border:3px solid transparent;text-decoration:none}@media screen and (min-width: 766px){a.btn{font-size:1.8rem}}a.btn:hover,a.btn:focus{background:#666}a.btn:focus{border-color:#000}.ico{display:inline;margin-left:.2em;fill:currentColor}.ico-elink{height:1.1rem;width:1.4rem;margin-bottom:.1rem}.ico-arrow-left{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.ico-arrow-up{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.ico-arrow-down{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.info-notice,.messages{border:2px solid;margin:1.5em 0;padding:1rem 1rem 1rem 4rem}@media (min-width: 641px){.info-notice,.messages{padding:1.4rem 1.4rem 1.4rem 6rem}}.info-notice>*:first-child,.messages>*:first-child{margin-top:0}.info-notice>*:last-child,.messages>*:last-child{margin-bottom:0}.info-notice{border-color:#141f6f;background:#fff url('../images/i.svg?17d90291161') no-repeat 0.9rem 0.9rem/24px 24px}@media (min-width: 641px){.info-notice{background:#fff url('../images/i.svg?17d90291161') no-repeat 1.4rem 1.4rem/30px 30px}}.no-svg .info-notice{background-image:url('../images/i.png?17d90291161')}ul.info-notice{padding:1rem 1rem 1rem 4rem}@media (min-width: 641px){ul.info-notice{padding:1.4rem 1.4rem 1.4rem 7rem}}.messages-list{margin:2.5rem 0;list-style:none}.field .messages-list,.form-wrapper .messages-list{margin-bottom:0}.messages--error{border-color:#e34f4f;background:#fff url('../images/wrong.svg?17d90291164') no-repeat 0.9rem 0.9rem/24px 24px}@media (min-width: 641px){.messages--error{background:#fff url('../images/wrong.svg?17d90291164') no-repeat 1.4rem 1.4rem/30px 30px}}.no-svg .messages--error{background-image:url('../images/wrong.png?17d90291164')}.messages--status{border-color:#3fa940;background:#fff url('../images/status.svg?17d90291163') no-repeat 0.9rem 0.9rem/24px 24px}@media (min-width: 641px){.messages--status{background:#fff url('../images/status.svg?17d90291163') no-repeat 1.4rem 1.4rem/30px 30px}}.no-svg .messages--status{background-image:url('../images/status.png?17d90291163')}.messages--warning{border-color:#db6304;background:#fff url('../images/warning.svg?17d90291164') no-repeat 0.9rem 0.9rem/24px 24px}@media (min-width: 641px){.messages--warning{background:#fff url('../images/warning.svg?17d90291164') no-repeat 1.4rem 1.4rem/30px 30px}}.no-svg .messages--warning{background-image:url('../images/warning.png?17d90291164')}.messages__list{margin:0}.messages__item{font-size:1.8rem}.messages__item:first-child{margin-top:0}.info-notice{overflow:hidden;border-color:#004695}#main-menu .menu-link,#main-menu .menu .active,#main-menu .menu-item.open .menu-toggle-btn{color:#141f6f;font-size:1.8rem}#main-menu .menu-link:hover,#main-menu .menu-link:focus{color:#fff}#main-menu .menu .menu-item .active{border-color:#141f6f}#main-menu .menu-main_sub{background:#141f6f}#main-menu .menu-main_sub .menu-item .active{color:#fff;border-color:#fff}#main-menu .menu-main_sub .menu-item a:hover,#main-menu .menu-main_sub .menu-item a:focus{background:#0089d1}.question-meta{border-bottom:1px solid #000;margin:1.8rem 0;padding:0.9rem 0 1.8rem;width:100%}.question-meta span.inline{width:30%;display:inline-block;font-weight:bold}.path-news-search p.meta{font-weight:bold} diff --git a/web/sites/nipolicingboard/themes/nipolicingboard_theme/src/scss/components.scss b/web/sites/nipolicingboard/themes/nipolicingboard_theme/src/scss/components.scss index 3c98c2ef0c..33e928be29 100644 --- a/web/sites/nipolicingboard/themes/nipolicingboard_theme/src/scss/components.scss +++ b/web/sites/nipolicingboard/themes/nipolicingboard_theme/src/scss/components.scss @@ -55,3 +55,9 @@ font-weight: bold; } } + +.path-news-search { + p.meta { + font-weight: bold; + } +} From 6c84cb2890575eeff45901afd98c5314b3b438d9 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 14 Dec 2021 08:26:45 +0000 Subject: [PATCH 31/45] Adding news to autocomplete --- ...ch_api_autocomplete.search.news_search.yml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 config/nipolicingboard/config/search_api_autocomplete.search.news_search.yml diff --git a/config/nipolicingboard/config/search_api_autocomplete.search.news_search.yml b/config/nipolicingboard/config/search_api_autocomplete.search.news_search.yml new file mode 100644 index 0000000000..103d05aa16 --- /dev/null +++ b/config/nipolicingboard/config/search_api_autocomplete.search.news_search.yml @@ -0,0 +1,25 @@ +uuid: 3ab9b328-d6a3-408f-acfa-f6849fab9681 +langcode: en +status: true +dependencies: + config: + - search_api.index.news + - views.view.news_search + module: + - views + - search_api_autocomplete +id: news_search +label: 'News search' +index_id: news +suggester_settings: + live_results: + fields: { } + view_modes: { } +suggester_weights: { } +suggester_limits: { } +search_settings: + 'views:news_search': + displays: + default: true + selected: { } +options: { } From 5785ee85656f1a9bf9c69c4ea0ab8d37c35339e1 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 14 Dec 2021 08:31:31 +0000 Subject: [PATCH 32/45] Adding caching to news and publication views --- config/nipolicingboard/config/views.view.news_search.yml | 3 ++- .../nipolicingboard/config/views.view.publications_search.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config/nipolicingboard/config/views.view.news_search.yml b/config/nipolicingboard/config/views.view.news_search.yml index 43bc689f40..451683f146 100644 --- a/config/nipolicingboard/config/views.view.news_search.yml +++ b/config/nipolicingboard/config/views.view.news_search.yml @@ -253,7 +253,8 @@ display: path: news-search exposed_block: true cache: - type: none + type: search_api_tag + options: { } defaults: cache: false cache_metadata: diff --git a/config/nipolicingboard/config/views.view.publications_search.yml b/config/nipolicingboard/config/views.view.publications_search.yml index da7de6d6ee..66f2319e82 100644 --- a/config/nipolicingboard/config/views.view.publications_search.yml +++ b/config/nipolicingboard/config/views.view.publications_search.yml @@ -259,7 +259,8 @@ display: menu_name: main exposed_block: true cache: - type: none + type: search_api_tag + options: { } defaults: cache: false cache_metadata: From 3bd5acfe776533bf706b8c397eff7f035e050760 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 14 Dec 2021 08:58:07 +0000 Subject: [PATCH 33/45] Making basic page title required --- .../config/core.base_field_override.node.page.title.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/nipolicingboard/config/core.base_field_override.node.page.title.yml b/config/nipolicingboard/config/core.base_field_override.node.page.title.yml index 426875e545..163ac49914 100644 --- a/config/nipolicingboard/config/core.base_field_override.node.page.title.yml +++ b/config/nipolicingboard/config/core.base_field_override.node.page.title.yml @@ -10,7 +10,7 @@ entity_type: node bundle: page label: 'Title (Main heading)' description: '' -required: false +required: true translatable: true default_value: { } default_value_callback: '' From 9b4b709de09d019e59a452c7a808e6154efca045 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 14 Dec 2021 09:01:33 +0000 Subject: [PATCH 34/45] Making Board member title required --- .../config/core.base_field_override.node.staff_member.title.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/nipolicingboard/config/core.base_field_override.node.staff_member.title.yml b/config/nipolicingboard/config/core.base_field_override.node.staff_member.title.yml index 2b6c8b3ba3..22d4e59b23 100644 --- a/config/nipolicingboard/config/core.base_field_override.node.staff_member.title.yml +++ b/config/nipolicingboard/config/core.base_field_override.node.staff_member.title.yml @@ -10,7 +10,7 @@ entity_type: node bundle: staff_member label: 'Member name' description: '' -required: false +required: true translatable: true default_value: { } default_value_callback: '' From 2bb8b429ff1efa7fb19c762c2eec3873fefd7f33 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 14 Dec 2021 14:01:25 +0000 Subject: [PATCH 35/45] Config split settings --- .../config_split.config_split.hosted.yml | 15 + .../config_split.config_split.local.yml | 25 + .../config_split.config_split.production.yml | 18 + .../nipolicingboard/config/core.extension.yml | 1 + .../nipolicingboard/hosted/dblog.settings.yml | 3 + .../hosted/migrate_drupal.settings.yml | 7 + .../hosted/ultimate_cron.job.dblog_cron.yml | 17 + .../hosted/ultimate_cron.job.update_cron.yml | 17 + .../hosted/update.settings.yml | 12 + .../hosted/views.view.watchdog.yml | 713 ++++++++++++++++++ .../production/fastly.settings.yml | 1 + .../nipolicingboard_theme.settings.yml | 12 + 12 files changed, 841 insertions(+) create mode 100644 config/nipolicingboard/config/config_split.config_split.hosted.yml create mode 100644 config/nipolicingboard/config/config_split.config_split.local.yml create mode 100644 config/nipolicingboard/config/config_split.config_split.production.yml create mode 100644 config/nipolicingboard/hosted/dblog.settings.yml create mode 100644 config/nipolicingboard/hosted/migrate_drupal.settings.yml create mode 100644 config/nipolicingboard/hosted/ultimate_cron.job.dblog_cron.yml create mode 100644 config/nipolicingboard/hosted/ultimate_cron.job.update_cron.yml create mode 100644 config/nipolicingboard/hosted/update.settings.yml create mode 100644 config/nipolicingboard/hosted/views.view.watchdog.yml create mode 100644 config/nipolicingboard/production/fastly.settings.yml create mode 100644 config/nipolicingboard/production/nipolicingboard_theme.settings.yml diff --git a/config/nipolicingboard/config/config_split.config_split.hosted.yml b/config/nipolicingboard/config/config_split.config_split.hosted.yml new file mode 100644 index 0000000000..be93fb8d94 --- /dev/null +++ b/config/nipolicingboard/config/config_split.config_split.hosted.yml @@ -0,0 +1,15 @@ +uuid: b1b626af-8abb-4b00-9ac7-076ce7051b9f +langcode: en +status: false +dependencies: { } +id: hosted +label: hosted +description: 'Use for any that are ''hosted'' and not running locally, apart from production (which has its own split).' +folder: ../config/nipolicingboard/hosted +module: { } +theme: { } +blacklist: { } +graylist: { } +graylist_dependents: true +graylist_skip_equal: true +weight: 0 diff --git a/config/nipolicingboard/config/config_split.config_split.local.yml b/config/nipolicingboard/config/config_split.config_split.local.yml new file mode 100644 index 0000000000..86b5ae51e0 --- /dev/null +++ b/config/nipolicingboard/config/config_split.config_split.local.yml @@ -0,0 +1,25 @@ +uuid: 7b63a44b-f794-4d63-95a8-1802df175118 +langcode: en +status: false +dependencies: { } +id: local +label: local +description: "Local development split. \r\nEnables debugging and development modules" +folder: ../config/nipolicingboard/local +module: + dblog: 0 + migrate: 0 + migrate_drupal: 0 + migrate_plus: 0 + migrate_tools: 0 + migrate_upgrade: 0 + easy_install: 0 + stage_file_proxy: 0 + update: 0 + views_ui: 0 +theme: { } +blacklist: { } +graylist: { } +graylist_dependents: true +graylist_skip_equal: true +weight: 0 diff --git a/config/nipolicingboard/config/config_split.config_split.production.yml b/config/nipolicingboard/config/config_split.config_split.production.yml new file mode 100644 index 0000000000..1ff65eea4e --- /dev/null +++ b/config/nipolicingboard/config/config_split.config_split.production.yml @@ -0,0 +1,18 @@ +uuid: cfaa8e65-af16-41f8-8c3c-3b28b16f0b87 +langcode: en +status: true +dependencies: { } +id: production +label: Production +description: 'Used for the production site only.' +folder: ../config/nipolicingboard/production +module: + fastly: 0 +theme: { } +blacklist: + - fastly.settings +graylist: + - nipolicingboard_theme.settings +graylist_dependents: true +graylist_skip_equal: true +weight: 0 diff --git a/config/nipolicingboard/config/core.extension.yml b/config/nipolicingboard/config/core.extension.yml index 7e66b03d4b..035479f219 100644 --- a/config/nipolicingboard/config/core.extension.yml +++ b/config/nipolicingboard/config/core.extension.yml @@ -16,6 +16,7 @@ module: config: 0 config_filter: 0 config_ignore: 0 + config_split: 0 contact: 0 content_lock: 0 content_lock_timeout: 0 diff --git a/config/nipolicingboard/hosted/dblog.settings.yml b/config/nipolicingboard/hosted/dblog.settings.yml new file mode 100644 index 0000000000..cf06e3fa7b --- /dev/null +++ b/config/nipolicingboard/hosted/dblog.settings.yml @@ -0,0 +1,3 @@ +row_limit: 1000 +_core: + default_config_hash: e883aGsrt1wFrsydlYU584PZONCSfRy0DtkZ9KzHb58 diff --git a/config/nipolicingboard/hosted/migrate_drupal.settings.yml b/config/nipolicingboard/hosted/migrate_drupal.settings.yml new file mode 100644 index 0000000000..dfdbc58b31 --- /dev/null +++ b/config/nipolicingboard/hosted/migrate_drupal.settings.yml @@ -0,0 +1,7 @@ +enforce_source_module_tags: + - 'Drupal 6' + - 'Drupal 7' +follow_up_migration_tags: + - 'Follow-up migration' +_core: + default_config_hash: 1daEO2inZc1i3d0Sn-ADIq9mUIU7tSLCxn579NT6f2g diff --git a/config/nipolicingboard/hosted/ultimate_cron.job.dblog_cron.yml b/config/nipolicingboard/hosted/ultimate_cron.job.dblog_cron.yml new file mode 100644 index 0000000000..010c565498 --- /dev/null +++ b/config/nipolicingboard/hosted/ultimate_cron.job.dblog_cron.yml @@ -0,0 +1,17 @@ +uuid: 9837db25-d3f2-4056-9cf3-a75d482517e0 +langcode: en +status: true +dependencies: + module: + - dblog +title: 'Remove expired log messages and flood control events' +id: dblog_cron +weight: 0 +module: dblog +callback: dblog_cron +scheduler: + id: simple +launcher: + id: serial +logger: + id: database diff --git a/config/nipolicingboard/hosted/ultimate_cron.job.update_cron.yml b/config/nipolicingboard/hosted/ultimate_cron.job.update_cron.yml new file mode 100644 index 0000000000..97aa425dc2 --- /dev/null +++ b/config/nipolicingboard/hosted/ultimate_cron.job.update_cron.yml @@ -0,0 +1,17 @@ +uuid: e536db1d-5b70-4006-b3de-d8a01f1a491d +langcode: en +status: true +dependencies: + module: + - update +title: 'Update indexes' +id: update_cron +weight: 0 +module: update +callback: update_cron +scheduler: + id: simple +launcher: + id: serial +logger: + id: database diff --git a/config/nipolicingboard/hosted/update.settings.yml b/config/nipolicingboard/hosted/update.settings.yml new file mode 100644 index 0000000000..7a019287ec --- /dev/null +++ b/config/nipolicingboard/hosted/update.settings.yml @@ -0,0 +1,12 @@ +check: + disabled_extensions: false + interval_days: 1 +fetch: + url: '' + max_attempts: 2 + timeout: 30 +notification: + emails: { } + threshold: all +_core: + default_config_hash: 2QzULf0zovJQx3J06Y9rufzzfi-CY2CTTlEfJJh2Qyw diff --git a/config/nipolicingboard/hosted/views.view.watchdog.yml b/config/nipolicingboard/hosted/views.view.watchdog.yml new file mode 100644 index 0000000000..9f097f6ab4 --- /dev/null +++ b/config/nipolicingboard/hosted/views.view.watchdog.yml @@ -0,0 +1,713 @@ +uuid: a6253fb8-342f-4469-9770-782c5bfd4176 +langcode: en +status: true +dependencies: + module: + - dblog + - user +_core: + default_config_hash: oG4FVrpj6HxivwdvkAyY23ApbR-iWTnKvM4JHdJ6XmA +id: watchdog +label: Watchdog +module: views +description: 'Recent log messages' +tag: '' +base_table: watchdog +base_field: wid +display: + default: + display_plugin: default + id: default + display_title: Master + position: 0 + display_options: + access: + type: perm + options: + perm: 'access site reports' + cache: + type: none + options: { } + query: + type: views_query + options: + disable_sql_rewrite: false + distinct: false + replica: false + query_comment: '' + query_tags: { } + exposed_form: + type: basic + options: + submit_button: Filter + reset_button: true + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: false + sort_asc_label: Asc + sort_desc_label: Desc + pager: + type: mini + options: + items_per_page: 50 + offset: 0 + id: 0 + total_pages: null + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + tags: + previous: ‹‹ + next: ›› + style: + type: table + options: + grouping: { } + row_class: '{{ type }} {{ severity }}' + default_row_class: true + override: true + sticky: false + caption: '' + summary: '' + description: '' + columns: + nothing: nothing + wid: wid + severity: severity + type: type + timestamp: timestamp + message: message + name: name + link: link + info: + nothing: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: priority-medium + wid: + sortable: false + default_sort_order: desc + align: '' + separator: '' + empty_column: false + responsive: priority-low + severity: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: priority-low + type: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: priority-medium + timestamp: + sortable: true + default_sort_order: desc + align: '' + separator: '' + empty_column: false + responsive: priority-low + message: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + name: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: priority-medium + link: + align: '' + separator: '' + empty_column: false + responsive: priority-low + default: wid + empty_table: false + row: + type: fields + fields: + nothing: + id: nothing + table: views + field: nothing + relationship: none + group_type: group + admin_label: Icon + label: '' + exclude: false + alter: + alter_text: true + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: icon + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: false + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: false + plugin_id: custom + wid: + id: wid + table: watchdog + field: wid + relationship: none + group_type: group + admin_label: '' + label: WID + exclude: true + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + plugin_id: standard + severity: + id: severity + table: watchdog + field: severity + relationship: none + group_type: group + admin_label: '' + label: Severity + exclude: true + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + machine_name: false + plugin_id: machine_name + type: + id: type + table: watchdog + field: type + relationship: none + group_type: group + admin_label: '' + label: Type + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + plugin_id: standard + timestamp: + id: timestamp + table: watchdog + field: timestamp + relationship: none + group_type: group + admin_label: '' + label: Date + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + date_format: short + custom_date_format: '' + timezone: '' + plugin_id: date + message: + id: message + table: watchdog + field: message + relationship: none + group_type: group + admin_label: '' + label: Message + exclude: false + alter: + alter_text: false + text: '' + make_link: true + path: 'admin/reports/dblog/event/{{ wid }}' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '{{ message }}' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 56 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: true + trim: true + preserve_tags: '' + html: true + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + replace_variables: true + plugin_id: dblog_message + name: + id: name + table: users_field_data + field: name + relationship: uid + group_type: group + admin_label: '' + label: User + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: user_name + settings: + link_to_entity: true + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + entity_type: user + entity_field: name + plugin_id: field + link: + id: link + table: watchdog + field: link + relationship: none + group_type: group + admin_label: '' + label: Operations + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + plugin_id: dblog_operations + filters: + type: + id: type + table: watchdog + field: type + relationship: none + group_type: group + admin_label: '' + operator: in + value: { } + group: 1 + exposed: true + expose: + operator_id: type_op + label: Type + description: '' + use_operator: false + operator: type_op + identifier: type + required: false + remember: false + multiple: true + remember_roles: + authenticated: authenticated + anonymous: '0' + administrator: '0' + reduce: false + operator_limit_selection: false + operator_list: { } + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + plugin_id: dblog_types + severity: + id: severity + table: watchdog + field: severity + relationship: none + group_type: group + admin_label: '' + operator: in + value: { } + group: 1 + exposed: true + expose: + operator_id: severity_op + label: Severity + description: '' + use_operator: false + operator: severity_op + identifier: severity + required: false + remember: false + multiple: true + remember_roles: + authenticated: authenticated + anonymous: '0' + administrator: '0' + reduce: false + operator_limit_selection: false + operator_list: { } + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + plugin_id: in_operator + sorts: + wid: + id: wid + table: watchdog + field: wid + relationship: none + group_type: group + admin_label: '' + order: DESC + exposed: false + expose: + label: '' + plugin_id: standard + title: 'Recent log messages' + header: { } + footer: { } + empty: + area: + id: area_text_custom + table: views + field: area_text_custom + relationship: none + group_type: group + admin_label: 'No log messages available.' + empty: true + tokenize: false + content: 'No log messages available.' + plugin_id: text_custom + relationships: + uid: + id: uid + table: watchdog + field: uid + relationship: none + group_type: group + admin_label: User + required: false + plugin_id: standard + arguments: { } + display_extenders: { } + filter_groups: + operator: AND + groups: + 1: AND + css_class: admin-dblog + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - user.permissions + tags: { } + page: + display_plugin: page + id: page + display_title: Page + position: 1 + display_options: + display_extenders: { } + path: admin/reports/dblog + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - user.permissions + tags: { } diff --git a/config/nipolicingboard/production/fastly.settings.yml b/config/nipolicingboard/production/fastly.settings.yml new file mode 100644 index 0000000000..e94ecea0a8 --- /dev/null +++ b/config/nipolicingboard/production/fastly.settings.yml @@ -0,0 +1 @@ +site_id: swixljaq diff --git a/config/nipolicingboard/production/nipolicingboard_theme.settings.yml b/config/nipolicingboard/production/nipolicingboard_theme.settings.yml new file mode 100644 index 0000000000..314d4ed43e --- /dev/null +++ b/config/nipolicingboard/production/nipolicingboard_theme.settings.yml @@ -0,0 +1,12 @@ +features: + node_user_picture: 1 + comment_user_picture: true + comment_user_verification: true + favicon: 1 +logo: + use_default: 1 + path: '' +favicon: + use_default: 1 +ga_tracking_disabled: 0 +ga_tracking_disabled_eu: 1 From 5df29486a31f0581b7ec67d7aae2ec11e11782ec Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 14 Dec 2021 14:10:40 +0000 Subject: [PATCH 36/45] Internal link checker settings --- .../config_split.config_split.production.yml | 3 +- .../nipolicingboard/config/core.extension.yml | 9 - .../nipolicingboard/config/dblog.settings.yml | 3 - .../config/migrate_drupal.settings.yml | 7 - .../config/ultimate_cron.job.dblog_cron.yml | 17 - .../config/ultimate_cron.job.update_cron.yml | 17 - ...ity_internal_link_checker.linksettings.yml | 1 + .../config/update.settings.yml | 12 - .../config/views.view.watchdog.yml | 711 ------------------ 9 files changed, 2 insertions(+), 778 deletions(-) delete mode 100644 config/nipolicingboard/config/dblog.settings.yml delete mode 100644 config/nipolicingboard/config/migrate_drupal.settings.yml delete mode 100644 config/nipolicingboard/config/ultimate_cron.job.dblog_cron.yml delete mode 100644 config/nipolicingboard/config/ultimate_cron.job.update_cron.yml create mode 100644 config/nipolicingboard/config/unity_internal_link_checker.linksettings.yml delete mode 100644 config/nipolicingboard/config/update.settings.yml delete mode 100644 config/nipolicingboard/config/views.view.watchdog.yml diff --git a/config/nipolicingboard/config/config_split.config_split.production.yml b/config/nipolicingboard/config/config_split.config_split.production.yml index 1ff65eea4e..f40d3dbb5a 100644 --- a/config/nipolicingboard/config/config_split.config_split.production.yml +++ b/config/nipolicingboard/config/config_split.config_split.production.yml @@ -11,8 +11,7 @@ module: theme: { } blacklist: - fastly.settings -graylist: - - nipolicingboard_theme.settings +graylist: { } graylist_dependents: true graylist_skip_equal: true weight: 0 diff --git a/config/nipolicingboard/config/core.extension.yml b/config/nipolicingboard/config/core.extension.yml index 035479f219..c9ea2e0e91 100644 --- a/config/nipolicingboard/config/core.extension.yml +++ b/config/nipolicingboard/config/core.extension.yml @@ -28,11 +28,9 @@ module: date_facet_drilldown: 0 datetime: 0 datetime_range: 0 - dblog: 0 diff: 0 dynamic_entity_reference: 0 dynamic_page_cache: 0 - easy_install: 0 editor: 0 embed: 0 entity_browser: 0 @@ -78,12 +76,7 @@ module: metatag_open_graph: 0 metatag_twitter_cards: 0 metatag_views: 0 - migrate: 0 migrate_absolute_links: 0 - migrate_drupal: 0 - migrate_plus: 0 - migrate_tools: 0 - migrate_upgrade: 0 moderation_sidebar: 0 nipolicingboard_migrations: 0 node: 0 @@ -126,10 +119,8 @@ module: unity_internal_link_checker: 0 unity_map_embed: 0 unity_search_pages: 0 - update: 0 user: 0 views_custom_cache_tag: 0 - views_ui: 0 webform: 0 webform_access: 0 webform_node: 0 diff --git a/config/nipolicingboard/config/dblog.settings.yml b/config/nipolicingboard/config/dblog.settings.yml deleted file mode 100644 index cf06e3fa7b..0000000000 --- a/config/nipolicingboard/config/dblog.settings.yml +++ /dev/null @@ -1,3 +0,0 @@ -row_limit: 1000 -_core: - default_config_hash: e883aGsrt1wFrsydlYU584PZONCSfRy0DtkZ9KzHb58 diff --git a/config/nipolicingboard/config/migrate_drupal.settings.yml b/config/nipolicingboard/config/migrate_drupal.settings.yml deleted file mode 100644 index dfdbc58b31..0000000000 --- a/config/nipolicingboard/config/migrate_drupal.settings.yml +++ /dev/null @@ -1,7 +0,0 @@ -enforce_source_module_tags: - - 'Drupal 6' - - 'Drupal 7' -follow_up_migration_tags: - - 'Follow-up migration' -_core: - default_config_hash: 1daEO2inZc1i3d0Sn-ADIq9mUIU7tSLCxn579NT6f2g diff --git a/config/nipolicingboard/config/ultimate_cron.job.dblog_cron.yml b/config/nipolicingboard/config/ultimate_cron.job.dblog_cron.yml deleted file mode 100644 index 613c349c8e..0000000000 --- a/config/nipolicingboard/config/ultimate_cron.job.dblog_cron.yml +++ /dev/null @@ -1,17 +0,0 @@ -uuid: 379d3c04-06f5-495e-b7d4-eb29c79719ac -langcode: en -status: true -dependencies: - module: - - dblog -title: 'Remove expired log messages and flood control events' -id: dblog_cron -weight: 0 -module: dblog -callback: dblog_cron -scheduler: - id: simple -launcher: - id: serial -logger: - id: database diff --git a/config/nipolicingboard/config/ultimate_cron.job.update_cron.yml b/config/nipolicingboard/config/ultimate_cron.job.update_cron.yml deleted file mode 100644 index 0e7819e604..0000000000 --- a/config/nipolicingboard/config/ultimate_cron.job.update_cron.yml +++ /dev/null @@ -1,17 +0,0 @@ -uuid: ed9f99a1-a382-489a-b435-6ef17b188322 -langcode: en -status: true -dependencies: - module: - - update -title: 'Update indexes' -id: update_cron -weight: 0 -module: update -callback: update_cron -scheduler: - id: simple -launcher: - id: serial -logger: - id: database diff --git a/config/nipolicingboard/config/unity_internal_link_checker.linksettings.yml b/config/nipolicingboard/config/unity_internal_link_checker.linksettings.yml new file mode 100644 index 0000000000..574791b7a2 --- /dev/null +++ b/config/nipolicingboard/config/unity_internal_link_checker.linksettings.yml @@ -0,0 +1 @@ +site_url_list: "https://www.nipolicingboard.org.uk/\r\nhttps://nipolicingboard.org.uk/\r\nhttp://www.nipolicingboard.org.uk/\r\nhttp://nipolicingboard.org.uk/" diff --git a/config/nipolicingboard/config/update.settings.yml b/config/nipolicingboard/config/update.settings.yml deleted file mode 100644 index 7a019287ec..0000000000 --- a/config/nipolicingboard/config/update.settings.yml +++ /dev/null @@ -1,12 +0,0 @@ -check: - disabled_extensions: false - interval_days: 1 -fetch: - url: '' - max_attempts: 2 - timeout: 30 -notification: - emails: { } - threshold: all -_core: - default_config_hash: 2QzULf0zovJQx3J06Y9rufzzfi-CY2CTTlEfJJh2Qyw diff --git a/config/nipolicingboard/config/views.view.watchdog.yml b/config/nipolicingboard/config/views.view.watchdog.yml deleted file mode 100644 index 116ad7c57f..0000000000 --- a/config/nipolicingboard/config/views.view.watchdog.yml +++ /dev/null @@ -1,711 +0,0 @@ -uuid: 61fc6318-1e9d-481b-9c7a-ecd4fcfeb182 -langcode: en -status: true -dependencies: - module: - - dblog - - user -_core: - default_config_hash: d_YYDAS1Anyj4eLOXI9DnSIAbSX6Kk-qpa71pawlLYI -id: watchdog -label: Watchdog -module: views -description: 'Recent log messages' -tag: '' -base_table: watchdog -base_field: wid -display: - default: - display_plugin: default - id: default - display_title: Default - position: 0 - display_options: - access: - type: perm - options: - perm: 'access site reports' - cache: - type: none - options: { } - query: - type: views_query - options: - disable_sql_rewrite: false - distinct: false - replica: false - query_comment: '' - query_tags: { } - exposed_form: - type: basic - options: - submit_button: Filter - reset_button: true - reset_button_label: Reset - exposed_sorts_label: 'Sort by' - expose_sort_order: false - sort_asc_label: Asc - sort_desc_label: Desc - pager: - type: mini - options: - items_per_page: 50 - offset: 0 - id: 0 - total_pages: null - expose: - items_per_page: false - items_per_page_label: 'Items per page' - items_per_page_options: '5, 10, 25, 50' - items_per_page_options_all: false - items_per_page_options_all_label: '- All -' - offset: false - offset_label: Offset - tags: - previous: ‹‹ - next: ›› - style: - type: table - options: - grouping: { } - row_class: '{{ type }} {{ severity }}' - default_row_class: true - override: true - sticky: false - caption: '' - summary: '' - description: '' - columns: - nothing: nothing - wid: wid - severity: severity - type: type - timestamp: timestamp - message: message - name: name - link: link - info: - nothing: - align: '' - separator: '' - empty_column: false - responsive: priority-medium - wid: - sortable: false - default_sort_order: desc - align: '' - separator: '' - empty_column: false - responsive: priority-low - severity: - sortable: false - default_sort_order: asc - align: '' - separator: '' - empty_column: false - responsive: priority-low - type: - sortable: true - default_sort_order: asc - align: '' - separator: '' - empty_column: false - responsive: priority-medium - timestamp: - sortable: true - default_sort_order: desc - align: '' - separator: '' - empty_column: false - responsive: priority-low - message: - sortable: false - default_sort_order: asc - align: '' - separator: '' - empty_column: false - responsive: '' - name: - sortable: true - default_sort_order: asc - align: '' - separator: '' - empty_column: false - responsive: priority-medium - link: - align: '' - separator: '' - empty_column: false - responsive: priority-low - default: wid - empty_table: false - row: - type: fields - fields: - nothing: - id: nothing - table: views - field: nothing - relationship: none - group_type: group - admin_label: Icon - label: '' - exclude: false - alter: - alter_text: true - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: icon - element_label_type: '' - element_label_class: '' - element_label_colon: false - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: false - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: false - plugin_id: custom - wid: - id: wid - table: watchdog - field: wid - relationship: none - group_type: group - admin_label: '' - label: WID - exclude: true - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - plugin_id: standard - severity: - id: severity - table: watchdog - field: severity - relationship: none - group_type: group - admin_label: '' - label: Severity - exclude: true - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - machine_name: false - plugin_id: machine_name - type: - id: type - table: watchdog - field: type - relationship: none - group_type: group - admin_label: '' - label: Type - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - plugin_id: standard - timestamp: - id: timestamp - table: watchdog - field: timestamp - relationship: none - group_type: group - admin_label: '' - label: Date - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - date_format: short - custom_date_format: '' - timezone: '' - plugin_id: date - message: - id: message - table: watchdog - field: message - relationship: none - group_type: group - admin_label: '' - label: Message - exclude: false - alter: - alter_text: false - text: '' - make_link: true - path: 'admin/reports/dblog/event/{{ wid }}' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '{{ message }}' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 56 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: true - trim: true - preserve_tags: '' - html: true - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - replace_variables: true - plugin_id: dblog_message - name: - id: name - table: users_field_data - field: name - relationship: uid - group_type: group - admin_label: '' - label: User - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: user_name - settings: - link_to_entity: true - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - entity_type: user - entity_field: name - plugin_id: field - link: - id: link - table: watchdog - field: link - relationship: none - group_type: group - admin_label: '' - label: Operations - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - plugin_id: dblog_operations - filters: - type: - id: type - table: watchdog - field: type - relationship: none - group_type: group - admin_label: '' - operator: in - value: { } - group: 1 - exposed: true - expose: - operator_id: type_op - label: Type - description: '' - use_operator: false - operator: type_op - identifier: type - required: false - remember: false - multiple: true - remember_roles: - authenticated: authenticated - anonymous: '0' - administrator: '0' - reduce: false - operator_limit_selection: false - operator_list: { } - is_grouped: false - group_info: - label: '' - description: '' - identifier: '' - optional: true - widget: select - multiple: false - remember: false - default_group: All - default_group_multiple: { } - group_items: { } - plugin_id: dblog_types - severity: - id: severity - table: watchdog - field: severity - relationship: none - group_type: group - admin_label: '' - operator: in - value: { } - group: 1 - exposed: true - expose: - operator_id: severity_op - label: Severity - description: '' - use_operator: false - operator: severity_op - identifier: severity - required: false - remember: false - multiple: true - remember_roles: - authenticated: authenticated - anonymous: '0' - administrator: '0' - reduce: false - operator_limit_selection: false - operator_list: { } - is_grouped: false - group_info: - label: '' - description: '' - identifier: '' - optional: true - widget: select - multiple: false - remember: false - default_group: All - default_group_multiple: { } - group_items: { } - plugin_id: in_operator - sorts: - wid: - id: wid - table: watchdog - field: wid - relationship: none - group_type: group - admin_label: '' - order: DESC - exposed: false - expose: - label: '' - plugin_id: standard - title: 'Recent log messages' - header: { } - footer: { } - empty: - area: - id: area_text_custom - table: views - field: area_text_custom - relationship: none - group_type: group - admin_label: 'No log messages available.' - empty: true - tokenize: false - content: 'No log messages available.' - plugin_id: text_custom - relationships: - uid: - id: uid - table: watchdog - field: uid - relationship: none - group_type: group - admin_label: User - required: false - plugin_id: standard - arguments: { } - display_extenders: { } - filter_groups: - operator: AND - groups: - 1: AND - css_class: admin-dblog - cache_metadata: - max-age: -1 - contexts: - - 'languages:language_content' - - 'languages:language_interface' - - url - - url.query_args - - user.permissions - tags: { } - page: - display_plugin: page - id: page - display_title: Page - position: 1 - display_options: - display_extenders: { } - path: admin/reports/dblog - cache_metadata: - max-age: -1 - contexts: - - 'languages:language_content' - - 'languages:language_interface' - - url - - url.query_args - - user.permissions - tags: { } From 3d4b64b7f3a8bc4e3d31412ab69c12de4a1ca6d1 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 14 Dec 2021 14:14:16 +0000 Subject: [PATCH 37/45] Assigning taxonomy to field type --- .../field.field.node.publication_page.field_pub_type.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/config/nipolicingboard/config/field.field.node.publication_page.field_pub_type.yml b/config/nipolicingboard/config/field.field.node.publication_page.field_pub_type.yml index 10df5e77a1..cb7b463707 100644 --- a/config/nipolicingboard/config/field.field.node.publication_page.field_pub_type.yml +++ b/config/nipolicingboard/config/field.field.node.publication_page.field_pub_type.yml @@ -5,6 +5,7 @@ dependencies: config: - field.storage.node.field_pub_type - node.type.publication_page + - taxonomy.vocabulary.nipb_publications id: node.publication_page.field_pub_type field_name: field_pub_type entity_type: node @@ -16,8 +17,13 @@ translatable: false default_value: { } default_value_callback: '' settings: + handler: 'default:taxonomy_term' handler_settings: + target_bundles: + nipb_publications: nipb_publications sort: field: _none - handler: 'default:taxonomy_term' + direction: asc + auto_create: false + auto_create_bundle: '' field_type: entity_reference From ae61ecbc9fac5b1019f44e903caf556718ff3eeb Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 14 Dec 2021 14:14:45 +0000 Subject: [PATCH 38/45] Switching field position in publication form --- ...core.entity_form_display.node.publication_page.default.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/nipolicingboard/config/core.entity_form_display.node.publication_page.default.yml b/config/nipolicingboard/config/core.entity_form_display.node.publication_page.default.yml index 1ceb5bd3b5..ed7d146cf7 100644 --- a/config/nipolicingboard/config/core.entity_form_display.node.publication_page.default.yml +++ b/config/nipolicingboard/config/core.entity_form_display.node.publication_page.default.yml @@ -49,7 +49,7 @@ content: region: content field_nipb_attachment: type: media_library_widget - weight: 14 + weight: 13 settings: media_types: { } third_party_settings: @@ -70,7 +70,7 @@ content: third_party_settings: { } field_publication_image: type: media_library_widget - weight: 13 + weight: 14 settings: media_types: { } third_party_settings: From f36f221f85b4a21ef76310355159250b25c45894 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 14 Dec 2021 14:22:34 +0000 Subject: [PATCH 39/45] Uninstalling migrate modules --- .../nipolicingboard/config/core.extension.yml | 3 - .../nipolicingboard/local/dblog.settings.yml | 3 + .../local/migrate_drupal.settings.yml | 7 + .../local/ultimate_cron.job.dblog_cron.yml | 17 + .../local/ultimate_cron.job.update_cron.yml | 17 + .../nipolicingboard/local/update.settings.yml | 12 + .../local/views.view.watchdog.yml | 711 ++++++++++++++++++ 7 files changed, 767 insertions(+), 3 deletions(-) create mode 100644 config/nipolicingboard/local/dblog.settings.yml create mode 100644 config/nipolicingboard/local/migrate_drupal.settings.yml create mode 100644 config/nipolicingboard/local/ultimate_cron.job.dblog_cron.yml create mode 100644 config/nipolicingboard/local/ultimate_cron.job.update_cron.yml create mode 100644 config/nipolicingboard/local/update.settings.yml create mode 100644 config/nipolicingboard/local/views.view.watchdog.yml diff --git a/config/nipolicingboard/config/core.extension.yml b/config/nipolicingboard/config/core.extension.yml index c9ea2e0e91..be3c20e26d 100644 --- a/config/nipolicingboard/config/core.extension.yml +++ b/config/nipolicingboard/config/core.extension.yml @@ -76,9 +76,7 @@ module: metatag_open_graph: 0 metatag_twitter_cards: 0 metatag_views: 0 - migrate_absolute_links: 0 moderation_sidebar: 0 - nipolicingboard_migrations: 0 node: 0 node_edit_protection: 0 noreferrer: 0 @@ -113,7 +111,6 @@ module: twig_tweak: 0 ultimate_cron: 0 unity_common: 0 - unity_file_migrations: 0 unity_frontpage: 0 unity_image_styles: 0 unity_internal_link_checker: 0 diff --git a/config/nipolicingboard/local/dblog.settings.yml b/config/nipolicingboard/local/dblog.settings.yml new file mode 100644 index 0000000000..cf06e3fa7b --- /dev/null +++ b/config/nipolicingboard/local/dblog.settings.yml @@ -0,0 +1,3 @@ +row_limit: 1000 +_core: + default_config_hash: e883aGsrt1wFrsydlYU584PZONCSfRy0DtkZ9KzHb58 diff --git a/config/nipolicingboard/local/migrate_drupal.settings.yml b/config/nipolicingboard/local/migrate_drupal.settings.yml new file mode 100644 index 0000000000..dfdbc58b31 --- /dev/null +++ b/config/nipolicingboard/local/migrate_drupal.settings.yml @@ -0,0 +1,7 @@ +enforce_source_module_tags: + - 'Drupal 6' + - 'Drupal 7' +follow_up_migration_tags: + - 'Follow-up migration' +_core: + default_config_hash: 1daEO2inZc1i3d0Sn-ADIq9mUIU7tSLCxn579NT6f2g diff --git a/config/nipolicingboard/local/ultimate_cron.job.dblog_cron.yml b/config/nipolicingboard/local/ultimate_cron.job.dblog_cron.yml new file mode 100644 index 0000000000..613c349c8e --- /dev/null +++ b/config/nipolicingboard/local/ultimate_cron.job.dblog_cron.yml @@ -0,0 +1,17 @@ +uuid: 379d3c04-06f5-495e-b7d4-eb29c79719ac +langcode: en +status: true +dependencies: + module: + - dblog +title: 'Remove expired log messages and flood control events' +id: dblog_cron +weight: 0 +module: dblog +callback: dblog_cron +scheduler: + id: simple +launcher: + id: serial +logger: + id: database diff --git a/config/nipolicingboard/local/ultimate_cron.job.update_cron.yml b/config/nipolicingboard/local/ultimate_cron.job.update_cron.yml new file mode 100644 index 0000000000..0e7819e604 --- /dev/null +++ b/config/nipolicingboard/local/ultimate_cron.job.update_cron.yml @@ -0,0 +1,17 @@ +uuid: ed9f99a1-a382-489a-b435-6ef17b188322 +langcode: en +status: true +dependencies: + module: + - update +title: 'Update indexes' +id: update_cron +weight: 0 +module: update +callback: update_cron +scheduler: + id: simple +launcher: + id: serial +logger: + id: database diff --git a/config/nipolicingboard/local/update.settings.yml b/config/nipolicingboard/local/update.settings.yml new file mode 100644 index 0000000000..7a019287ec --- /dev/null +++ b/config/nipolicingboard/local/update.settings.yml @@ -0,0 +1,12 @@ +check: + disabled_extensions: false + interval_days: 1 +fetch: + url: '' + max_attempts: 2 + timeout: 30 +notification: + emails: { } + threshold: all +_core: + default_config_hash: 2QzULf0zovJQx3J06Y9rufzzfi-CY2CTTlEfJJh2Qyw diff --git a/config/nipolicingboard/local/views.view.watchdog.yml b/config/nipolicingboard/local/views.view.watchdog.yml new file mode 100644 index 0000000000..116ad7c57f --- /dev/null +++ b/config/nipolicingboard/local/views.view.watchdog.yml @@ -0,0 +1,711 @@ +uuid: 61fc6318-1e9d-481b-9c7a-ecd4fcfeb182 +langcode: en +status: true +dependencies: + module: + - dblog + - user +_core: + default_config_hash: d_YYDAS1Anyj4eLOXI9DnSIAbSX6Kk-qpa71pawlLYI +id: watchdog +label: Watchdog +module: views +description: 'Recent log messages' +tag: '' +base_table: watchdog +base_field: wid +display: + default: + display_plugin: default + id: default + display_title: Default + position: 0 + display_options: + access: + type: perm + options: + perm: 'access site reports' + cache: + type: none + options: { } + query: + type: views_query + options: + disable_sql_rewrite: false + distinct: false + replica: false + query_comment: '' + query_tags: { } + exposed_form: + type: basic + options: + submit_button: Filter + reset_button: true + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: false + sort_asc_label: Asc + sort_desc_label: Desc + pager: + type: mini + options: + items_per_page: 50 + offset: 0 + id: 0 + total_pages: null + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + tags: + previous: ‹‹ + next: ›› + style: + type: table + options: + grouping: { } + row_class: '{{ type }} {{ severity }}' + default_row_class: true + override: true + sticky: false + caption: '' + summary: '' + description: '' + columns: + nothing: nothing + wid: wid + severity: severity + type: type + timestamp: timestamp + message: message + name: name + link: link + info: + nothing: + align: '' + separator: '' + empty_column: false + responsive: priority-medium + wid: + sortable: false + default_sort_order: desc + align: '' + separator: '' + empty_column: false + responsive: priority-low + severity: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: priority-low + type: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: priority-medium + timestamp: + sortable: true + default_sort_order: desc + align: '' + separator: '' + empty_column: false + responsive: priority-low + message: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + name: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: priority-medium + link: + align: '' + separator: '' + empty_column: false + responsive: priority-low + default: wid + empty_table: false + row: + type: fields + fields: + nothing: + id: nothing + table: views + field: nothing + relationship: none + group_type: group + admin_label: Icon + label: '' + exclude: false + alter: + alter_text: true + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: icon + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: false + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: false + plugin_id: custom + wid: + id: wid + table: watchdog + field: wid + relationship: none + group_type: group + admin_label: '' + label: WID + exclude: true + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + plugin_id: standard + severity: + id: severity + table: watchdog + field: severity + relationship: none + group_type: group + admin_label: '' + label: Severity + exclude: true + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + machine_name: false + plugin_id: machine_name + type: + id: type + table: watchdog + field: type + relationship: none + group_type: group + admin_label: '' + label: Type + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + plugin_id: standard + timestamp: + id: timestamp + table: watchdog + field: timestamp + relationship: none + group_type: group + admin_label: '' + label: Date + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + date_format: short + custom_date_format: '' + timezone: '' + plugin_id: date + message: + id: message + table: watchdog + field: message + relationship: none + group_type: group + admin_label: '' + label: Message + exclude: false + alter: + alter_text: false + text: '' + make_link: true + path: 'admin/reports/dblog/event/{{ wid }}' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '{{ message }}' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 56 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: true + trim: true + preserve_tags: '' + html: true + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + replace_variables: true + plugin_id: dblog_message + name: + id: name + table: users_field_data + field: name + relationship: uid + group_type: group + admin_label: '' + label: User + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: user_name + settings: + link_to_entity: true + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + entity_type: user + entity_field: name + plugin_id: field + link: + id: link + table: watchdog + field: link + relationship: none + group_type: group + admin_label: '' + label: Operations + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + plugin_id: dblog_operations + filters: + type: + id: type + table: watchdog + field: type + relationship: none + group_type: group + admin_label: '' + operator: in + value: { } + group: 1 + exposed: true + expose: + operator_id: type_op + label: Type + description: '' + use_operator: false + operator: type_op + identifier: type + required: false + remember: false + multiple: true + remember_roles: + authenticated: authenticated + anonymous: '0' + administrator: '0' + reduce: false + operator_limit_selection: false + operator_list: { } + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + plugin_id: dblog_types + severity: + id: severity + table: watchdog + field: severity + relationship: none + group_type: group + admin_label: '' + operator: in + value: { } + group: 1 + exposed: true + expose: + operator_id: severity_op + label: Severity + description: '' + use_operator: false + operator: severity_op + identifier: severity + required: false + remember: false + multiple: true + remember_roles: + authenticated: authenticated + anonymous: '0' + administrator: '0' + reduce: false + operator_limit_selection: false + operator_list: { } + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + plugin_id: in_operator + sorts: + wid: + id: wid + table: watchdog + field: wid + relationship: none + group_type: group + admin_label: '' + order: DESC + exposed: false + expose: + label: '' + plugin_id: standard + title: 'Recent log messages' + header: { } + footer: { } + empty: + area: + id: area_text_custom + table: views + field: area_text_custom + relationship: none + group_type: group + admin_label: 'No log messages available.' + empty: true + tokenize: false + content: 'No log messages available.' + plugin_id: text_custom + relationships: + uid: + id: uid + table: watchdog + field: uid + relationship: none + group_type: group + admin_label: User + required: false + plugin_id: standard + arguments: { } + display_extenders: { } + filter_groups: + operator: AND + groups: + 1: AND + css_class: admin-dblog + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - user.permissions + tags: { } + page: + display_plugin: page + id: page + display_title: Page + position: 1 + display_options: + display_extenders: { } + path: admin/reports/dblog + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - user.permissions + tags: { } From d20e9273dbb036d306ff97a835fd7dda8caf884f Mon Sep 17 00:00:00 2001 From: DuttonMa Date: Tue, 14 Dec 2021 17:02:30 +0000 Subject: [PATCH 40/45] enable caching for news search view --- config/mahinquiry/config/views.view.news_search.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/mahinquiry/config/views.view.news_search.yml b/config/mahinquiry/config/views.view.news_search.yml index 2f179357f8..e0f55ccab6 100644 --- a/config/mahinquiry/config/views.view.news_search.yml +++ b/config/mahinquiry/config/views.view.news_search.yml @@ -258,7 +258,8 @@ display: menu_name: main exposed_block: true cache: - type: none + type: search_api_tag + options: { } defaults: cache: false cache_metadata: From 4c904a01ba291701a292aef725d02a8d2af4e78e Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 15 Dec 2021 10:09:58 +0000 Subject: [PATCH 41/45] Diff templates for revision comparison --- .../field--node--field-current-member--diff.html.twig | 7 +++++++ .../field/field--node--field-meta-tags--diff.html.twig | 7 +++++++ .../field--node--field-political-party--diff.html.twig | 7 +++++++ .../field/field--node--field-pub-type--diff.html.twig | 7 +++++++ .../field--node--field-publication-image--diff.html.twig | 7 +++++++ .../field/field--node--field-teaser--diff.html.twig | 7 +++++++ 6 files changed, 42 insertions(+) create mode 100644 web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-current-member--diff.html.twig create mode 100644 web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-meta-tags--diff.html.twig create mode 100644 web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-political-party--diff.html.twig create mode 100644 web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-pub-type--diff.html.twig create mode 100644 web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-publication-image--diff.html.twig create mode 100644 web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-teaser--diff.html.twig diff --git a/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-current-member--diff.html.twig b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-current-member--diff.html.twig new file mode 100644 index 0000000000..befec63ab5 --- /dev/null +++ b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-current-member--diff.html.twig @@ -0,0 +1,7 @@ +{# +/** + * @file + * Theme override for a field displayed in default view mode. + */ +#} +{% extends 'core/themes/classy/templates/field/field.html.twig' %} diff --git a/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-meta-tags--diff.html.twig b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-meta-tags--diff.html.twig new file mode 100644 index 0000000000..befec63ab5 --- /dev/null +++ b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-meta-tags--diff.html.twig @@ -0,0 +1,7 @@ +{# +/** + * @file + * Theme override for a field displayed in default view mode. + */ +#} +{% extends 'core/themes/classy/templates/field/field.html.twig' %} diff --git a/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-political-party--diff.html.twig b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-political-party--diff.html.twig new file mode 100644 index 0000000000..befec63ab5 --- /dev/null +++ b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-political-party--diff.html.twig @@ -0,0 +1,7 @@ +{# +/** + * @file + * Theme override for a field displayed in default view mode. + */ +#} +{% extends 'core/themes/classy/templates/field/field.html.twig' %} diff --git a/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-pub-type--diff.html.twig b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-pub-type--diff.html.twig new file mode 100644 index 0000000000..befec63ab5 --- /dev/null +++ b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-pub-type--diff.html.twig @@ -0,0 +1,7 @@ +{# +/** + * @file + * Theme override for a field displayed in default view mode. + */ +#} +{% extends 'core/themes/classy/templates/field/field.html.twig' %} diff --git a/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-publication-image--diff.html.twig b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-publication-image--diff.html.twig new file mode 100644 index 0000000000..befec63ab5 --- /dev/null +++ b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-publication-image--diff.html.twig @@ -0,0 +1,7 @@ +{# +/** + * @file + * Theme override for a field displayed in default view mode. + */ +#} +{% extends 'core/themes/classy/templates/field/field.html.twig' %} diff --git a/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-teaser--diff.html.twig b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-teaser--diff.html.twig new file mode 100644 index 0000000000..befec63ab5 --- /dev/null +++ b/web/sites/nipolicingboard/themes/nipolicingboard_theme/templates/field/field--node--field-teaser--diff.html.twig @@ -0,0 +1,7 @@ +{# +/** + * @file + * Theme override for a field displayed in default view mode. + */ +#} +{% extends 'core/themes/classy/templates/field/field.html.twig' %} From 2ebf41fc939e66b7f31e1e2a86cb508f22ff4b27 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 15 Dec 2021 10:10:54 +0000 Subject: [PATCH 42/45] Modifications to diff view displays --- .../core.entity_view_display.node.question_page.diff.yml | 9 +++++---- .../core.entity_view_display.node.staff_member.diff.yml | 8 ++++---- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/config/nipolicingboard/config/core.entity_view_display.node.question_page.diff.yml b/config/nipolicingboard/config/core.entity_view_display.node.question_page.diff.yml index dc88756029..c2a479fc54 100644 --- a/config/nipolicingboard/config/core.entity_view_display.node.question_page.diff.yml +++ b/config/nipolicingboard/config/core.entity_view_display.node.question_page.diff.yml @@ -62,7 +62,7 @@ content: weight: 3 type: entity_reference_label settings: - link: true + link: false third_party_settings: { } region: content field_key_term: @@ -70,7 +70,7 @@ content: weight: 0 type: entity_reference_label settings: - link: true + link: false third_party_settings: { } region: content field_meta_tags: @@ -86,7 +86,7 @@ content: region: content label: inline settings: - link: true + link: false third_party_settings: { } field_political_party: type: entity_reference_label @@ -94,7 +94,7 @@ content: region: content label: inline settings: - link: true + link: false third_party_settings: { } field_published_date: label: inline @@ -116,3 +116,4 @@ hidden: content_moderation_control: true langcode: true links: true + search_api_excerpt: true diff --git a/config/nipolicingboard/config/core.entity_view_display.node.staff_member.diff.yml b/config/nipolicingboard/config/core.entity_view_display.node.staff_member.diff.yml index fdd8dc6339..655ce8328c 100644 --- a/config/nipolicingboard/config/core.entity_view_display.node.staff_member.diff.yml +++ b/config/nipolicingboard/config/core.entity_view_display.node.staff_member.diff.yml @@ -23,11 +23,10 @@ third_party_settings: field_group: group_additional_content_details: children: - - body - field_current_member - field_meta_tags parent_name: '' - weight: 2 + weight: 3 format_type: html_element region: content format_settings: @@ -47,8 +46,8 @@ bundle: staff_member mode: diff content: body: - label: inline - weight: 3 + label: hidden + weight: 2 type: text_default settings: { } third_party_settings: { } @@ -91,3 +90,4 @@ hidden: content_moderation_control: true langcode: true links: true + search_api_excerpt: true From a7b37622bc70c2cda8378a9edceac59929f350e5 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 16 Dec 2021 10:37:49 +0000 Subject: [PATCH 43/45] Removing hosted config nipb --- .../nipolicingboard/hosted/dblog.settings.yml | 3 - .../hosted/migrate_drupal.settings.yml | 7 - .../hosted/ultimate_cron.job.dblog_cron.yml | 17 - .../hosted/ultimate_cron.job.update_cron.yml | 17 - .../hosted/update.settings.yml | 12 - .../hosted/views.view.watchdog.yml | 713 ------------------ 6 files changed, 769 deletions(-) delete mode 100644 config/nipolicingboard/hosted/dblog.settings.yml delete mode 100644 config/nipolicingboard/hosted/migrate_drupal.settings.yml delete mode 100644 config/nipolicingboard/hosted/ultimate_cron.job.dblog_cron.yml delete mode 100644 config/nipolicingboard/hosted/ultimate_cron.job.update_cron.yml delete mode 100644 config/nipolicingboard/hosted/update.settings.yml delete mode 100644 config/nipolicingboard/hosted/views.view.watchdog.yml diff --git a/config/nipolicingboard/hosted/dblog.settings.yml b/config/nipolicingboard/hosted/dblog.settings.yml deleted file mode 100644 index cf06e3fa7b..0000000000 --- a/config/nipolicingboard/hosted/dblog.settings.yml +++ /dev/null @@ -1,3 +0,0 @@ -row_limit: 1000 -_core: - default_config_hash: e883aGsrt1wFrsydlYU584PZONCSfRy0DtkZ9KzHb58 diff --git a/config/nipolicingboard/hosted/migrate_drupal.settings.yml b/config/nipolicingboard/hosted/migrate_drupal.settings.yml deleted file mode 100644 index dfdbc58b31..0000000000 --- a/config/nipolicingboard/hosted/migrate_drupal.settings.yml +++ /dev/null @@ -1,7 +0,0 @@ -enforce_source_module_tags: - - 'Drupal 6' - - 'Drupal 7' -follow_up_migration_tags: - - 'Follow-up migration' -_core: - default_config_hash: 1daEO2inZc1i3d0Sn-ADIq9mUIU7tSLCxn579NT6f2g diff --git a/config/nipolicingboard/hosted/ultimate_cron.job.dblog_cron.yml b/config/nipolicingboard/hosted/ultimate_cron.job.dblog_cron.yml deleted file mode 100644 index 010c565498..0000000000 --- a/config/nipolicingboard/hosted/ultimate_cron.job.dblog_cron.yml +++ /dev/null @@ -1,17 +0,0 @@ -uuid: 9837db25-d3f2-4056-9cf3-a75d482517e0 -langcode: en -status: true -dependencies: - module: - - dblog -title: 'Remove expired log messages and flood control events' -id: dblog_cron -weight: 0 -module: dblog -callback: dblog_cron -scheduler: - id: simple -launcher: - id: serial -logger: - id: database diff --git a/config/nipolicingboard/hosted/ultimate_cron.job.update_cron.yml b/config/nipolicingboard/hosted/ultimate_cron.job.update_cron.yml deleted file mode 100644 index 97aa425dc2..0000000000 --- a/config/nipolicingboard/hosted/ultimate_cron.job.update_cron.yml +++ /dev/null @@ -1,17 +0,0 @@ -uuid: e536db1d-5b70-4006-b3de-d8a01f1a491d -langcode: en -status: true -dependencies: - module: - - update -title: 'Update indexes' -id: update_cron -weight: 0 -module: update -callback: update_cron -scheduler: - id: simple -launcher: - id: serial -logger: - id: database diff --git a/config/nipolicingboard/hosted/update.settings.yml b/config/nipolicingboard/hosted/update.settings.yml deleted file mode 100644 index 7a019287ec..0000000000 --- a/config/nipolicingboard/hosted/update.settings.yml +++ /dev/null @@ -1,12 +0,0 @@ -check: - disabled_extensions: false - interval_days: 1 -fetch: - url: '' - max_attempts: 2 - timeout: 30 -notification: - emails: { } - threshold: all -_core: - default_config_hash: 2QzULf0zovJQx3J06Y9rufzzfi-CY2CTTlEfJJh2Qyw diff --git a/config/nipolicingboard/hosted/views.view.watchdog.yml b/config/nipolicingboard/hosted/views.view.watchdog.yml deleted file mode 100644 index 9f097f6ab4..0000000000 --- a/config/nipolicingboard/hosted/views.view.watchdog.yml +++ /dev/null @@ -1,713 +0,0 @@ -uuid: a6253fb8-342f-4469-9770-782c5bfd4176 -langcode: en -status: true -dependencies: - module: - - dblog - - user -_core: - default_config_hash: oG4FVrpj6HxivwdvkAyY23ApbR-iWTnKvM4JHdJ6XmA -id: watchdog -label: Watchdog -module: views -description: 'Recent log messages' -tag: '' -base_table: watchdog -base_field: wid -display: - default: - display_plugin: default - id: default - display_title: Master - position: 0 - display_options: - access: - type: perm - options: - perm: 'access site reports' - cache: - type: none - options: { } - query: - type: views_query - options: - disable_sql_rewrite: false - distinct: false - replica: false - query_comment: '' - query_tags: { } - exposed_form: - type: basic - options: - submit_button: Filter - reset_button: true - reset_button_label: Reset - exposed_sorts_label: 'Sort by' - expose_sort_order: false - sort_asc_label: Asc - sort_desc_label: Desc - pager: - type: mini - options: - items_per_page: 50 - offset: 0 - id: 0 - total_pages: null - expose: - items_per_page: false - items_per_page_label: 'Items per page' - items_per_page_options: '5, 10, 25, 50' - items_per_page_options_all: false - items_per_page_options_all_label: '- All -' - offset: false - offset_label: Offset - tags: - previous: ‹‹ - next: ›› - style: - type: table - options: - grouping: { } - row_class: '{{ type }} {{ severity }}' - default_row_class: true - override: true - sticky: false - caption: '' - summary: '' - description: '' - columns: - nothing: nothing - wid: wid - severity: severity - type: type - timestamp: timestamp - message: message - name: name - link: link - info: - nothing: - sortable: false - default_sort_order: asc - align: '' - separator: '' - empty_column: false - responsive: priority-medium - wid: - sortable: false - default_sort_order: desc - align: '' - separator: '' - empty_column: false - responsive: priority-low - severity: - sortable: false - default_sort_order: asc - align: '' - separator: '' - empty_column: false - responsive: priority-low - type: - sortable: true - default_sort_order: asc - align: '' - separator: '' - empty_column: false - responsive: priority-medium - timestamp: - sortable: true - default_sort_order: desc - align: '' - separator: '' - empty_column: false - responsive: priority-low - message: - sortable: false - default_sort_order: asc - align: '' - separator: '' - empty_column: false - responsive: '' - name: - sortable: true - default_sort_order: asc - align: '' - separator: '' - empty_column: false - responsive: priority-medium - link: - align: '' - separator: '' - empty_column: false - responsive: priority-low - default: wid - empty_table: false - row: - type: fields - fields: - nothing: - id: nothing - table: views - field: nothing - relationship: none - group_type: group - admin_label: Icon - label: '' - exclude: false - alter: - alter_text: true - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: icon - element_label_type: '' - element_label_class: '' - element_label_colon: false - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: false - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: false - plugin_id: custom - wid: - id: wid - table: watchdog - field: wid - relationship: none - group_type: group - admin_label: '' - label: WID - exclude: true - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - plugin_id: standard - severity: - id: severity - table: watchdog - field: severity - relationship: none - group_type: group - admin_label: '' - label: Severity - exclude: true - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - machine_name: false - plugin_id: machine_name - type: - id: type - table: watchdog - field: type - relationship: none - group_type: group - admin_label: '' - label: Type - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - plugin_id: standard - timestamp: - id: timestamp - table: watchdog - field: timestamp - relationship: none - group_type: group - admin_label: '' - label: Date - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - date_format: short - custom_date_format: '' - timezone: '' - plugin_id: date - message: - id: message - table: watchdog - field: message - relationship: none - group_type: group - admin_label: '' - label: Message - exclude: false - alter: - alter_text: false - text: '' - make_link: true - path: 'admin/reports/dblog/event/{{ wid }}' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '{{ message }}' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 56 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: true - trim: true - preserve_tags: '' - html: true - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - replace_variables: true - plugin_id: dblog_message - name: - id: name - table: users_field_data - field: name - relationship: uid - group_type: group - admin_label: '' - label: User - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: user_name - settings: - link_to_entity: true - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - entity_type: user - entity_field: name - plugin_id: field - link: - id: link - table: watchdog - field: link - relationship: none - group_type: group - admin_label: '' - label: Operations - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - plugin_id: dblog_operations - filters: - type: - id: type - table: watchdog - field: type - relationship: none - group_type: group - admin_label: '' - operator: in - value: { } - group: 1 - exposed: true - expose: - operator_id: type_op - label: Type - description: '' - use_operator: false - operator: type_op - identifier: type - required: false - remember: false - multiple: true - remember_roles: - authenticated: authenticated - anonymous: '0' - administrator: '0' - reduce: false - operator_limit_selection: false - operator_list: { } - is_grouped: false - group_info: - label: '' - description: '' - identifier: '' - optional: true - widget: select - multiple: false - remember: false - default_group: All - default_group_multiple: { } - group_items: { } - plugin_id: dblog_types - severity: - id: severity - table: watchdog - field: severity - relationship: none - group_type: group - admin_label: '' - operator: in - value: { } - group: 1 - exposed: true - expose: - operator_id: severity_op - label: Severity - description: '' - use_operator: false - operator: severity_op - identifier: severity - required: false - remember: false - multiple: true - remember_roles: - authenticated: authenticated - anonymous: '0' - administrator: '0' - reduce: false - operator_limit_selection: false - operator_list: { } - is_grouped: false - group_info: - label: '' - description: '' - identifier: '' - optional: true - widget: select - multiple: false - remember: false - default_group: All - default_group_multiple: { } - group_items: { } - plugin_id: in_operator - sorts: - wid: - id: wid - table: watchdog - field: wid - relationship: none - group_type: group - admin_label: '' - order: DESC - exposed: false - expose: - label: '' - plugin_id: standard - title: 'Recent log messages' - header: { } - footer: { } - empty: - area: - id: area_text_custom - table: views - field: area_text_custom - relationship: none - group_type: group - admin_label: 'No log messages available.' - empty: true - tokenize: false - content: 'No log messages available.' - plugin_id: text_custom - relationships: - uid: - id: uid - table: watchdog - field: uid - relationship: none - group_type: group - admin_label: User - required: false - plugin_id: standard - arguments: { } - display_extenders: { } - filter_groups: - operator: AND - groups: - 1: AND - css_class: admin-dblog - cache_metadata: - max-age: -1 - contexts: - - 'languages:language_content' - - 'languages:language_interface' - - url - - url.query_args - - user.permissions - tags: { } - page: - display_plugin: page - id: page - display_title: Page - position: 1 - display_options: - display_extenders: { } - path: admin/reports/dblog - cache_metadata: - max-age: -1 - contexts: - - 'languages:language_content' - - 'languages:language_interface' - - url - - url.query_args - - user.permissions - tags: { } From e809cbc53c0f6226c42b0d0d189739c07ec37c90 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 16 Dec 2021 10:48:30 +0000 Subject: [PATCH 44/45] Adding nipb to platform loop --- .platform.app.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.platform.app.yaml b/.platform.app.yaml index 0da0e09997..788f24c8c0 100644 --- a/.platform.app.yaml +++ b/.platform.app.yaml @@ -80,7 +80,7 @@ hooks: set -e # For each multi site - rebuild caches, run db-updates and import config. - for site in uregni odscni fiscalcommissionni urologyservicesinquiry mahinquiry niauditoffice nifiscalcouncil octf employmenttribunalsni independentreviewofeducation + for site in uregni odscni fiscalcommissionni urologyservicesinquiry mahinquiry niauditoffice nifiscalcouncil octf employmenttribunalsni independentreviewofeducation nipolicingboard do echo "****** $site deployment ******" cd /app/web/sites/$site From 5834becc32afcc164e491e393156686ee9ce2c26 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 16 Dec 2021 15:16:03 +0000 Subject: [PATCH 45/45] Adding nipb solr relationship --- .platform.app.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.platform.app.yaml b/.platform.app.yaml index 788f24c8c0..1d8e52461b 100644 --- a/.platform.app.yaml +++ b/.platform.app.yaml @@ -42,6 +42,7 @@ relationships: mahinquiry: 'db:mahinquiry' independentreviewofeducation: 'db:independentreviewofeducation' nipolicingboard: 'db:nipolicingboard' + nipolicingboard_solr: 'solr:nipolicingboard' # The size of the persistent disk of the application (in MB). disk: 30720