Skip to content

Commit

Permalink
Merge branch 'feature/SRL-671--forms-lookup-app-migration'
Browse files Browse the repository at this point in the history
  • Loading branch information
melwong-jcc committed Nov 16, 2022
2 parents c2b3ff0 + f6962fa commit a084a55
Show file tree
Hide file tree
Showing 13 changed files with 798 additions and 39 deletions.
146 changes: 146 additions & 0 deletions config/config-default/views.view.jcc_forms_search_json_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1996,6 +1996,152 @@ display:
- 'config:field.storage.taxonomy_term.field_form_prefix_label'
- 'config:field.storage.taxonomy_term.field_synonyms'
- 'config:search_api.index.jcc_forms_index'
page:
id: page
display_title: 'Search Page'
display_plugin: page
position: 2
display_options:
pager:
type: full
options:
offset: 0
items_per_page: 100
total_pages: null
id: 0
tags:
next: ››
previous: ‹‹
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: 9
cache:
type: none
options: { }
filters:
search_api_fulltext:
id: search_api_fulltext
table: search_api_index_jcc_forms_index
field: search_api_fulltext
relationship: none
group_type: group
admin_label: ''
plugin_id: search_api_fulltext
operator: and
value: ''
group: 1
exposed: true
expose:
operator_id: search_api_fulltext_op
label: 'Find Your Court Forms'
description: ''
use_operator: false
operator: search_api_fulltext_op
operator_limit_selection: false
operator_list: { }
identifier: query
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
editor: '0'
translator: '0'
jcc_web_services: '0'
administrator: '0'
expose_fields: false
placeholder: 'E.g. divorce, name change, fl-100, restraining order'
searched_fields_id: ''
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:
- form_category
- form_description
- form_name
- form_number
- form_prefix
- form_prefix_category
filter_groups:
operator: AND
groups:
1: AND
style:
type: default
options:
grouping: { }
row_class: ''
default_row_class: true
row:
type: fields
options:
default_field_elements: true
inline: { }
separator: ''
hide_empty: false
defaults:
cache: false
pager: false
style: false
row: false
filters: false
filter_groups: false
display_description: ''
display_extenders:
metatag_display_extender:
metatags: { }
tokenize: false
ajax_history: { }
path: find-forms
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
tags:
- 'config:field.storage.media.field_arabic_url'
- 'config:field.storage.media.field_cambodian_url'
- 'config:field.storage.media.field_chinese_traditional_url'
- 'config:field.storage.media.field_chinese_url'
- 'config:field.storage.media.field_description'
- 'config:field.storage.media.field_farsi_url'
- 'config:field.storage.media.field_hmong_url'
- 'config:field.storage.media.field_korean_url'
- 'config:field.storage.media.field_mandatory'
- 'config:field.storage.media.field_number'
- 'config:field.storage.media.field_punjabi_url'
- 'config:field.storage.media.field_revision_date'
- 'config:field.storage.media.field_russian_url'
- 'config:field.storage.media.field_spanish_url'
- 'config:field.storage.media.field_tagalog_url'
- 'config:field.storage.media.field_url'
- 'config:field.storage.media.field_vietnamese_url'
- 'config:field.storage.media.field_weight'
- 'config:field.storage.taxonomy_term.field_form_prefix_label'
- 'config:field.storage.taxonomy_term.field_synonyms'
- 'config:search_api.index.jcc_forms_index'
rest_export_1:
id: rest_export_1
display_title: 'REST export'
Expand Down
4 changes: 0 additions & 4 deletions web/modules/custom/jcc_forms/css/jcc-forms.css

This file was deleted.

131 changes: 131 additions & 0 deletions web/modules/custom/jcc_forms/css/jcc_forms.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
/* Overrides body default height handling to allow proper iframe-resizer.js management */
.path-find-forms {
height: auto;
}

.view-jcc-forms-search-json-api .jcc-hero,
.view-jcc-forms-search-json-api .usa-alert,
.view-jcc-forms-search-json-api .jcc-link-list-with-button__container,
.view-find-forms .jcc-hero,
.view-find-forms .usa-alert,
.view-find-forms .jcc-find-forms__toggle_view,
.view-find-forms .usa-accordion,
.jcc-find-forms {
max-width: 64rem;
margin: 0 auto;
margin-bottom: 1rem !important;
}

.view-jcc-forms-search-json-api .jcc-hero h1,
.view-find-forms .jcc-hero h1 {
margin-top: 0;
}

.view-jcc-forms-search-json-api .usa-alert--info .usa-alert__body {
background-image: none;
padding-left: 1rem;
}

.view-jcc-forms-search-json-api .usa-alert ul {
margin-top: 0;
padding-right: 0;
}

.view-jcc-forms-search-json-api .usa-label {
position: absolute;
left: -1000px;
top: -1000px;
}

.view-jcc-forms-search-json-api .jcc-hero h1 {
margin: 0 0 0.5rem;
}

.view-jcc-forms-search-json-api #edit-captcha {
display: none;
}

.view-jcc-forms-search-json-api .form-item-query,
.view-jcc-forms-search-json-api .form-actions {
display: inline-block;
}

.view-jcc-forms-search-json-api .form-item-query {
display: inline-block;
width: 100%;
max-width: 30rem;
}

#views-exposed-form-jcc-forms-search-json-api-page {
display: none;
}

#views-exposed-form-jcc-forms-search-json-api-page.show {
display: block;
}

#views-exposed-form-jcc-forms-search-json-api-page #edit-submit-jcc-forms-search-json-api {
margin: 0.5rem 0.5rem 0 !important;
}

.view-jcc-forms-search-json-api .jcc-link-list-with-button__container .jcc-header-group {
text-align: left;
margin: 0;
padding: 0;
}

.view-jcc-forms-search-json-api .jcc-link-list-with-button__container .jcc-header-group__title {
margin: 0 0 1rem 0 !important;
}

.view-jcc-forms-search-json-api .jcc-link-list-with-button__container .jcc-header-group__title::before,
.view-jcc-forms-search-json-api .jcc-link-list-with-button__container .jcc-header-group__title::after {
background: transparent !important;
}

.view-jcc-forms-search-json-api .jcc-link-list-simple,
.jcc-find-forms {
border: 1px solid #aaa;
border-radius: 4px;
margin-bottom: 20px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
}

.view-jcc-forms-search-json-api .jcc-link-list-simple .jcc-link-list__list {
list-style: none;
margin: 0;
padding: 0 !important;
border-right: 1px solid #ddd;
}

.view-jcc-forms-search-json-api .jcc-link-list-simple .jcc-link-list__item {
padding: 0;
}

.view-jcc-forms-search-json-api .jcc-link-list-simple a {
display: block;
text-decoration: none;
padding: 10px 20px;
border-bottom: 1px solid #ddd;
color: #333;
}

.view-jcc-forms-search-json-api .jcc-link-list-simple a:hover {
text-decoration: underline;
}

.jcc-find-forms .jcc-find-forms__notation {
padding: 1rem 2rem;
border-bottom: 1px solid #ddd;
font-weight: bold;
}

@media only screen and (max-width: 1080px) {
.jcc-find-forms .jcc-find-forms__notation {
padding: 1rem;
}

.jcc-find-forms .jcc-list-group__item {
padding: 0 1rem !important;
}
}
Loading

0 comments on commit a084a55

Please sign in to comment.