@worksafevictoria/wcl7.5 1.6.0 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/package.json +3 -2
  2. package/src/components/Common/CardGridItem/card-grid-item-icon.vue +15 -19
  3. package/src/components/Common/CardGridItem/index.vue +108 -139
  4. package/src/components/Global/AppFooter/styles.scss +3 -0
  5. package/src/components/Global/DirectoryFilters/index.vue +3 -0
  6. package/src/components/Paragraphs/Chart/Constants.js +479 -479
  7. package/src/components/Paragraphs/Directory/{Records/HSCP → HSCP/Records/SingleRecord}/index.stories.js +4 -3
  8. package/src/components/Paragraphs/Directory/HSCP/Records/SingleRecord/index.vue +322 -0
  9. package/src/components/Paragraphs/Directory/HSCP/Records/index.stories.js +19 -0
  10. package/src/components/Paragraphs/Directory/HSCP/Records/index.vue +343 -0
  11. package/src/components/Paragraphs/Directory/HSCP/Records/pagination.vue +179 -0
  12. package/src/components/Paragraphs/Directory/Records/CJ/index.vue +1 -1
  13. package/src/components/Paragraphs/Directory/Records/ISP/index.vue +1 -1
  14. package/src/components/Paragraphs/Directory/Records/PRS/index.stories.js +34 -0
  15. package/src/components/Paragraphs/Directory/Records/PRS/index.vue +5 -1
  16. package/src/components/Paragraphs/Directory/Records/index.storieshide.js +47 -0
  17. package/src/components/Paragraphs/Directory/Records/index.vue +18 -35
  18. package/src/components/Paragraphs/Directory/{Records/styles.scss → styles.scss} +4 -3
  19. package/src/components/Paragraphs/Map/Constants.js +4790 -0
  20. package/src/components/Paragraphs/Map/index.mdx +29 -0
  21. package/src/components/Paragraphs/Map/index.stories.js +15 -0
  22. package/src/components/Paragraphs/Map/index.vue +313 -0
  23. package/src/components/Paragraphs/Map/lga-map.json +33462 -0
  24. package/src/components/Paragraphs/Map/postcode_location.json +3543 -0
  25. package/src/components/Paragraphs/TabulatedData/index.vue +27 -36
  26. package/src/components/SubComponents/Breadcrumb/index.vue +4 -0
  27. package/src/components/SubComponents/FormInstance/components/renderer/index.vue +23 -7
  28. package/src/components/SubComponents/FormInstance/models/overrides/file.js +7 -2
  29. package/src/components/SubComponents/ResourceGroup/index.vue +158 -184
  30. package/src/components/SubComponents/ResourceGroup/styles.scss +2 -0
  31. package/src/components/SubComponents/Search/index.vue +8 -3
  32. package/src/index.js +4 -0
  33. package/src/mock/course-provider.js +273 -0
  34. package/src/components/Paragraphs/Directory/Records/HSCP/index.vue +0 -334
@@ -4,6 +4,7 @@ const cpData =
4
4
  {
5
5
  title: 'Australian Nurses and Midwifery Federation - Victorian Branch',
6
6
  fullAddress: 'Level 8/535 Elizabeth St Melbourne VIC 3000',
7
+ orgAcronym: 'ANMF',
7
8
  workPhone: '03 9555 9333',
8
9
  tollfreePhone: '1800 555 333',
9
10
  email: 'ohs@test.com.au',
@@ -14,14 +15,14 @@ const cpData =
14
15
  contact2: 'Joey Bradford',
15
16
  phone2: '03 9555 0666',
16
17
  email2: 'jbradford@test.com.au',
17
- courses: ['HSR Initial', 'HSR Refresher'],
18
- trainingVenues: ['Melbourne CBD', 'All Regional Victoria - HQ in Melbourne'],
18
+ courses: 'HSR Initial, HSR Refresher',
19
+ trainingVenues: 'Melbourne CBD, All Regional Victoria - HQ in Melbourne',
19
20
  id: '1'
20
21
  }
21
22
 
22
23
 
23
24
  export default {
24
- title: 'Paragraphs/Directory/SingleRecord',
25
+ title: 'Paragraphs/Directory/HSCP/SingleRecord',
25
26
  component: hscpRecord,
26
27
  tags: ['autodocs']
27
28
  }
@@ -0,0 +1,322 @@
1
+ <template>
2
+ <div class="paragraph--directory__records--hscp">
3
+ <!-- Main details -->
4
+ <container>
5
+ <row class="records">
6
+ <column md="2" sm="12" class="title" >
7
+ <a name="titleLink" v-if="item.title" href="javascript:void(0)" :aria-expanded="visible ? 'true' : 'false'" @click="this.visible = !this.visible">
8
+ {{ item.title }}
9
+ </a>
10
+ </column>
11
+ <column md="2" sm="12" class="address" >
12
+ <a v-if="item.fullAddress" target="_blank" :href="gMapLink"><span class="sr-only visually-hidden">Address</span>
13
+ {{ item.fullAddress }}
14
+ </a>
15
+ </column>
16
+ <column md="2" sm="12" class="coldata longstring" >
17
+ <div class="label">Email</div>
18
+ <a v-if="item.email" target="_blank" :href="`mailto:${item.email}`"><span class="sr-only visually-hidden">Email address</span>
19
+ {{ item.email }}
20
+ </a>
21
+ </column>
22
+ <column md="3" sm="12" class="coldata longstring" >
23
+ <div class="label">Website</div>
24
+ <a v-if="item.website" target="_blank" :href="`${item.website}`"><span class="sr-only visually-hidden">Website address</span>
25
+ {{ item.website }}
26
+ </a>
27
+ </column>
28
+ <column md="2" sm="12" class="coldata" >
29
+ <div class="label">Phone</div>
30
+ <a v-if="item.tollfreePhone || item.workPhone" :href="`tel:${item.tollfreephone || item.workphone}`"><span class="sr-only visually-hidden">Phone number</span>
31
+ {{ item.tollfreePhone || item.workPhone }}
32
+ </a>
33
+ </column>
34
+ </row>
35
+ <div class="hscp-caret" >
36
+ <a v-if="visible" href="javascript:void(0)" @click="this.visible = false">
37
+ <img
38
+ :src="CaretUp"
39
+ height="12"
40
+ width="17"
41
+ alt="Expand Detail">
42
+ </a>
43
+ <a v-if="!visible" href="javascript:void(0)" @click="this.visible = true">
44
+ <img
45
+ :src="CaretDown"
46
+ height="12"
47
+ width="17"
48
+ alt="Expand Detail">
49
+ </a>
50
+ </div>
51
+ </container>
52
+
53
+ <!-- Additional Content -->
54
+ <container>
55
+ <div v-if="this.visible">
56
+ <div style="padding-top: 20px;">
57
+ <hr>
58
+ </div>
59
+ <row >
60
+ <column >
61
+ <h4>Contact Information</h4>
62
+ </column>
63
+ </row>
64
+ <row>
65
+ <column sm="2" class="label">
66
+ Contact
67
+ </column>
68
+ <column sm="4" class="hscp-additional-records">
69
+ {{item.contact1}}
70
+ </column>
71
+ <column sm="2" class="label">
72
+ Contact
73
+ </column>
74
+ <column sm="4" class="hscp-additional-records">
75
+ {{item.contact2}}
76
+ </column>
77
+ </row>
78
+ <row>
79
+ <column sm="2" class="label">
80
+ Phone
81
+ </column>
82
+ <column sm="4" class="hscp-additional-records">
83
+ {{item.phone1}}
84
+ </column>
85
+ <column sm="2" class="label">
86
+ Phone
87
+ </column>
88
+ <column sm="4" class="hscp-additional-records">
89
+ {{item.phone2}}
90
+ </column>
91
+ </row>
92
+ <row>
93
+ <column sm="2" class="label">
94
+ Email
95
+ </column>
96
+ <column sm="4" class="hscp-additional-records">
97
+ {{item.email1}}
98
+ </column>
99
+ <column sm="2" class="label">
100
+ Email
101
+ </column>
102
+ <column sm="4" class="hscp-additional-records">
103
+ {{item.email2}}
104
+ </column>
105
+ </row>
106
+ <row class="row-hscp-additional">
107
+ <column>
108
+ <h4>Training Venue Locations</h4>
109
+ </column>
110
+ </row>
111
+ <row class="hscp-additional-records">
112
+ <column v-if="item.trainingVenues.length" >
113
+ <ul>
114
+ <li v-for="(venue) in item.trainingVenues.split(',')" :key="venue.id">
115
+ {{venue}}
116
+ </li>
117
+ </ul>
118
+ </column>
119
+ <column v-else-if="!item.trainingVenues.length">
120
+ <p>No training venues</p>
121
+ </column>
122
+ </row>
123
+ <row class="row-hscp-additional">
124
+ <column>
125
+ <h4>Training Courses</h4>
126
+ </column>
127
+ </row>
128
+ <row class="hscp-additional-records">
129
+ <column>
130
+ <ul>
131
+ <li v-for="(course) in item.courses.split(',')" :key="course.id">
132
+ {{course}}
133
+ </li>
134
+ </ul>
135
+ </column>
136
+ </row>
137
+ </div>
138
+ </container>
139
+
140
+ </div>
141
+ </template>
142
+ <script>
143
+ import Container from '../../../../../Containers/Container/index.vue'
144
+ import Row from '../../../../../Containers/Row/index.vue'
145
+ import Column from '../../../../../Containers/Column/index.vue'
146
+ import CaretUp from './../../../../../../assets/icons/caret-up.svg?url'
147
+ import CaretDown from './../../../../../../assets/icons/caret-down.svg?url'
148
+
149
+ export default {
150
+ components: {
151
+ Container,
152
+ Row,
153
+ Column,
154
+ },
155
+ props: {
156
+ item: {
157
+ type: Object,
158
+ required: true
159
+ },
160
+ },
161
+ data() {
162
+ return {
163
+ visible: false,
164
+ CaretUp,
165
+ CaretDown,
166
+ }
167
+ },
168
+ computed: {
169
+ gMapLink() {
170
+ return `https://google.com/maps?q=${this.item.title}%20${this.item.fullAddress}`
171
+ },
172
+
173
+ },
174
+ methods: {
175
+ handleClick(title) {
176
+ this.visible = !this.visible
177
+ if (this.$gtm) {
178
+ if (this.visible) {
179
+ this.$gtm.push({ event: 'custom.search.prs.open', title })
180
+ } else {
181
+ this.$gtm.push({
182
+ event: 'custom.search.prs.close',
183
+ title
184
+ })
185
+ }
186
+ }
187
+ }
188
+ }
189
+ }
190
+ </script>
191
+
192
+ <style lang="scss" scoped>
193
+ @import '../../../styles.scss';
194
+
195
+ .row-hscp-additional {
196
+ margin-top: 20px;
197
+ }
198
+
199
+ .hscp-additional-records {
200
+ font-size: 16px;
201
+ }
202
+
203
+ .hscp-caret {
204
+ justify-content: end;
205
+ align-content: end;
206
+ max-width: 20px;
207
+ padding-right: 0px;
208
+ padding-bottom: 10px;
209
+ float:right;
210
+ }
211
+ .paragraph--directory__records--hscp {
212
+
213
+ padding-bottom: 20px !important;
214
+
215
+ a {
216
+ color: $black;
217
+ text-decoration: none;
218
+ }
219
+ a:hover {
220
+ text-decoration: underline;
221
+ }
222
+ a:focus {
223
+ text-decoration: underline;
224
+ }
225
+
226
+ .name {
227
+ font-size: 1rem;
228
+ color: $black;
229
+ font-weight: 700;
230
+ }
231
+ .address {
232
+ font-size: 15px;
233
+ a {
234
+ color: inherit;
235
+ text-decoration: none;
236
+ }
237
+ a:hover {
238
+ text-decoration: underline;
239
+ }
240
+ a:focus {
241
+ text-decoration: underline;
242
+ }
243
+ }
244
+ .coldata {
245
+ a {
246
+ color: inherit;
247
+ }
248
+ }
249
+ .label {
250
+ font-size: 16px;
251
+ font-weight: bold;
252
+ }
253
+ .longstring {
254
+ word-break: break-all;
255
+ }
256
+ .search {
257
+ color: $black;
258
+ border: 1px solid $gray;
259
+ border-radius: 8px;
260
+ padding: 10px 12px;
261
+ height: 42px;
262
+ background-repeat: no-repeat;
263
+ background-position: 96% 12px;
264
+ margin-bottom: 16px;
265
+ transition: none;
266
+ }
267
+ }
268
+
269
+ .paragraph--directory.hscp-filters {
270
+ .search {
271
+ color: $black;
272
+ border: 1px solid $gray;
273
+ border-radius: 8px;
274
+ padding: 10px 12px;
275
+ height: 42px;
276
+ background-repeat: no-repeat;
277
+ background-position: 96% 12px;
278
+ margin-bottom: 16px;
279
+ transition: none;
280
+ }
281
+ select {
282
+ -moz-appearance: none; /* Firefox */
283
+ -webkit-appearance: none; /* Safari and Chrome */
284
+ appearance: none;
285
+ height: 42px;
286
+ border-radius: 8px;
287
+ padding: 10px 12px;
288
+ width: 100%;
289
+ border: 1px solid $gray;
290
+ background-image: url('@worksafevictoria/wcl7.5/src/assets/icons/caret-down.svg');
291
+ background-position: 95% 50%;
292
+ background-repeat: no-repeat;
293
+ text-transform: capitalise;
294
+ }
295
+ .grid-column {
296
+ display: inline-block;
297
+ width: 25%;
298
+
299
+ @media (max-width: 767px) {
300
+ width: 50%;
301
+ }
302
+
303
+ @media (max-width: 539px) {
304
+ display: block;
305
+ width: 100%;
306
+ float: none;
307
+ margin-bottom: 16px;
308
+ }
309
+ }
310
+ .right {
311
+ float: right;
312
+ position: relative;
313
+ }
314
+
315
+ .records {
316
+ padding: 0px;
317
+ margin: 0;
318
+ }
319
+
320
+ }
321
+ </style>
322
+
@@ -0,0 +1,19 @@
1
+ import Records from './index.vue'
2
+ import { hscpData } from '../../../../../mock/course-provider'
3
+
4
+
5
+ export default {
6
+ title: 'Paragraphs/Directory/HSCP/Records',
7
+ component: Records,
8
+ tags: ['autodocs'],
9
+ data() {
10
+ return {
11
+ hscpData
12
+ }
13
+ },
14
+ args: {
15
+ items: hscpData,
16
+ },
17
+ }
18
+
19
+ export const CourseProvider = {}
@@ -0,0 +1,343 @@
1
+ <template>
2
+ <section-group class="paragraph--directory hscp-filters">
3
+ <!-- Filters -->
4
+ <row style="column-gap: 16px;">
5
+ <!-- Keyword Filters -->
6
+ <column xxl="2" xl="3" md="4" sm="6">
7
+ <label class="visually-hidden" for="search-directory">
8
+ Search by keyword (typed keyword automatically filters below results)
9
+ </label>
10
+ <input type="text" v-model="searchOrg" placeholder="Organisation" class="search">
11
+ </column>
12
+ <column xxl="2" xl="3" md="4" sm="6">
13
+ <label class="visually-hidden" for="search-directory">
14
+ Search by suburb (typed suburb automatically filters below results)
15
+ </label>
16
+ <input type="text" v-model="searchSub" placeholder="Training location" class="search">
17
+ </column>
18
+ <!-- Other Filters -->
19
+ <column xxl="2" xl="3" md="4" sm="6">
20
+ <select id="filterType" v-model="searchCourse" name="filter" class="selectClass">
21
+ <option class="placeholder" value="" disabled hidden selected>Course type</option>
22
+ <option value="HSR Initial">HSR Initial</option>
23
+ <option value="HSR Refresher">HSR Refresher</option>
24
+ </select>
25
+ </column>
26
+ <column xxl="2" xl="3" md="4" sm="6">
27
+ <select id="filterTheme" v-model="searchThemes" name="filter1" class="selectClass">
28
+ <option class="placeholder" value="" disabled hidden selected>Theme</option>
29
+ <option v-for="(opt, i) in themeOptions" :key="i" :value="opt">
30
+ {{ opt }}
31
+ </option>
32
+ </select>
33
+ </column>
34
+ <column md="2">
35
+ <filter-button
36
+ v-if="!hideReset"
37
+ filter-button="!hideReset"
38
+ :is-reset="true"
39
+ class="filterButton__button filterButton__button--reset"
40
+ @clicked="reset"
41
+ />
42
+ </column>
43
+ </row>
44
+ <!-- HSCP Records -->
45
+ <div class="hscpRecords" >
46
+ <template v-for="(item, index) in resultChunks[page]" >
47
+ <hscp-record v-if="item.type === 'hscp'" :key="index" :item="item"/>
48
+ </template>
49
+ </div>
50
+ <div v-if="filteredRecords.length > 0" align-items="center">
51
+ <pagination
52
+ :total-pages="totalPages"
53
+ :total="totalResults"
54
+ :per-page="perPage"
55
+ :current-page="page + 1"
56
+ @pagechanged="pageChanged($event)"
57
+ />
58
+ </div>
59
+ <h2 v-if="filteredRecords.length === 0">No records found</h2>
60
+
61
+ </section-group>
62
+
63
+ </template>
64
+
65
+ <script>
66
+
67
+ import hscpRecord from './SingleRecord/index.vue'
68
+ import searchIcon from './../../../../../assets/icons/search.svg?url'
69
+ import SectionGroup from '../../../../Containers/SectionGroup/index.vue'
70
+ import FilterButton from '../../../../Common/FilterButton/index.vue' //Reset
71
+ import Pagination from './pagination.vue'
72
+
73
+ export default {
74
+ name: 'HSCP',
75
+ components: {
76
+ hscpRecord,
77
+ SectionGroup,
78
+ FilterButton,
79
+ Pagination
80
+ },
81
+ data() {
82
+ return {
83
+ searchOrg: '',
84
+ searchSub: '',
85
+ searchCourse: '',
86
+ searchThemes: '',
87
+ filteredItems: null,
88
+ perPage: 10,
89
+ page: 0,
90
+ searchIcon,
91
+ hideReset: true
92
+ }
93
+ },
94
+ props: {
95
+ items: {
96
+ type: Array,
97
+ required: true,
98
+ },
99
+ },
100
+
101
+ computed: {
102
+
103
+ themeOptions() {
104
+ // Requirement to remove certain values from original courses
105
+ let allThemes = this.flatRecords.map(a => a.courses)
106
+ allThemes = allThemes.join(',')
107
+ allThemes = allThemes.replace(/HSR initial/g, '')
108
+ allThemes = allThemes.replace(/HSR Initial/g, '')
109
+ allThemes = allThemes.replace(/HSR refresher - /g, '')
110
+ allThemes = allThemes.replace(/HSR Refresher - /g, '')
111
+ allThemes = allThemes.replace(/HSR refresher/g, '')
112
+ allThemes = allThemes.replace(/HSR Refresher/g, '')
113
+ allThemes = allThemes.trim()
114
+ allThemes = allThemes.split(',')
115
+ // Remove duplicates
116
+ let s = new Set(allThemes)
117
+ allThemes = [...s]
118
+ // Remove blank values - not completely successful
119
+ allThemes = allThemes.filter(n => n)
120
+
121
+ // Sort the themes
122
+ let sortedThemes = allThemes.sort((a, b) => {
123
+ if (a.trim() < b.trim()) {
124
+ return -1;
125
+ }
126
+ if (a.trim() > b.trim()) {
127
+ return 1;
128
+ }
129
+ return 0;
130
+ })
131
+ if (sortedThemes[0].type === undefined) {
132
+ sortedThemes.splice(0, 1)
133
+ }
134
+ allThemes = sortedThemes
135
+ return allThemes
136
+ },
137
+
138
+ filteredRecords() {
139
+ let results = this.flatRecords
140
+
141
+ if (this.searchOrg.length) {
142
+ this.hideReset = false
143
+ results = results.filter(item => item.title.toLowerCase().includes(this.searchOrg.toLowerCase()))
144
+ }
145
+ if (this.searchSub.length) {
146
+ this.hideReset = false
147
+ results = results.filter(item => item.trainingVenues.toLowerCase().includes(this.searchSub.toLowerCase()))
148
+ }
149
+ if (this.searchCourse.length) {
150
+ this.hideReset = false
151
+ results = results.filter(item => item.courses.toLowerCase().includes(this.searchCourse.toLowerCase()))
152
+ }
153
+ if (this.searchThemes.length) {
154
+ this.hideReset = false
155
+ results = results.filter(item => item.courses.toLowerCase().includes(this.searchThemes.toLowerCase()))
156
+ }
157
+ this.filteredItems = results
158
+
159
+ if (this.searchOrg.length || this.searchSub.length || this.searchCourse.length || this.searchThemes.length) {
160
+ this.pageChanged(1)
161
+ }
162
+
163
+ return results
164
+ },
165
+
166
+ flatRecords() {
167
+ let flatRecords = []
168
+ const sortedItems = this.items.sort((a, b) => {
169
+ if (a.Organisation < b.Organisation) {
170
+ return -1;
171
+ }
172
+ if (a.Organisation > b.Organisation) {
173
+ return 1;
174
+ }
175
+ return 0;
176
+ })
177
+ sortedItems.forEach((record) => {
178
+ flatRecords.push({
179
+ type: 'hscp',
180
+ title: record.Organisation,
181
+ fullAddress: record.Main_office_address,
182
+ orgAcronym: record.Organisation_acronym,
183
+ workPhone: record.Work_phone,
184
+ tollfreePhone: record.Toll_free_phone,
185
+ email: record.Email1,
186
+ website: this.formatWebsite(record.Website),
187
+ contact1: record.Contact_1,
188
+ email1: record.Contact_1_Email,
189
+ phone1: record.Contact_1_Phone,
190
+ contact2: record.Contact_2_Name,
191
+ email2: record.Contact_2_Email,
192
+ phone2: record.Contact_2_Phone,
193
+ courses: record.Training_courses.replace(/,$/, ''),
194
+ trainingVenues: record.Training_venues
195
+ })
196
+ })
197
+ return flatRecords
198
+ },
199
+ resultChunks() {
200
+ return this.chunkify(this.filteredItems || this.items, this.perPage)
201
+ },
202
+ noRecordsFound() {
203
+ return this.resultChunks[0].length === 0
204
+ },
205
+ totalResults() {
206
+ return Array.isArray(this.filteredItems) ? this.filteredItems.length : 0
207
+ },
208
+ totalPages() {
209
+ return this.resultChunks.length
210
+ },
211
+ pageResultCount() {
212
+ return this.resultChunks[this.page].length
213
+ }
214
+ },
215
+
216
+ methods: {
217
+
218
+ formatWebsite(url) {
219
+ let startUrl = url.slice(0, 3)
220
+ if (startUrl.toLowerCase() === 'www') {
221
+ return 'http://' + url
222
+ } else {
223
+ return url
224
+ }
225
+ },
226
+
227
+ chunkify(arr, n) {
228
+ if (arr) {
229
+ const chunked = arr.reduce(
230
+ (chunk, val) => {
231
+ if (chunk[chunk.length - 1].length === n) chunk.push([])
232
+ chunk[chunk.length - 1].push(val)
233
+ return chunk
234
+ },
235
+ [[]]
236
+ )
237
+ return chunked
238
+ }
239
+ return [[]]
240
+ },
241
+
242
+ reset() {
243
+ this.hideReset = true
244
+ this.searchOrg = ''
245
+ this.searchCourse = ''
246
+ this.searchSub = ''
247
+ this.searchThemes = ''
248
+ },
249
+
250
+ pageChanged(ev) {
251
+ this.page = ev - 1
252
+
253
+ const aLinks = document.getElementsByName('titleLink')
254
+ // Convert nodelist to array
255
+ let linksArr = Array.from(aLinks)
256
+ if (Array.isArray(linksArr) && linksArr.length > 0) {
257
+ linksArr
258
+ .filter((link) => link.getAttribute('aria-expanded') === 'true')
259
+ .forEach((link) => link.click())
260
+
261
+ if (this.searchOrg.length || this.searchSub.length || this.searchCourse.length || this.searchThemes.length) {
262
+ // don't set focus
263
+ } else {
264
+ linksArr[0].focus()
265
+ }
266
+
267
+ }
268
+
269
+ },
270
+ }
271
+ }
272
+ </script>
273
+
274
+ <style lang="scss" scoped>
275
+ @import '../../styles.scss';
276
+ .paragraph--directory.hscp-filters {
277
+
278
+ .selectClass {
279
+ display:inline-block;
280
+ height: 42px;
281
+ border-radius: 8px;
282
+ padding: 10px 12px;
283
+ width: 200px;
284
+ border: 1px solid $gray;
285
+ margin-right: 16px;
286
+ margin-bottom: 16px;
287
+
288
+ }
289
+
290
+ .search {
291
+ display: inline-block;
292
+ color: $black;
293
+ border: 1px solid $gray;
294
+ border-radius: 8px;
295
+ padding: 10px 12px;
296
+ height: 42px;
297
+ background-image: url('./../../../../../assets/icons/search.svg');
298
+ background-repeat: no-repeat !important;
299
+ background-position: 96% 12px;
300
+ margin-bottom: 16px;
301
+ margin-right: 16px;
302
+ transition: none;
303
+ }
304
+
305
+ .grid-column {
306
+ display: inline-block;
307
+ width: 25%;
308
+
309
+ @media (max-width: 767px) {
310
+ width: 50%;
311
+ }
312
+
313
+ @media (max-width: 539px) {
314
+ display: block;
315
+ width: 100%;
316
+ float: none;
317
+ margin-bottom: 16px;
318
+ }
319
+
320
+ }
321
+ .right {
322
+ float: right;
323
+ position: relative;
324
+ }
325
+
326
+ .records {
327
+ padding: 0;
328
+ margin: 0;
329
+ }
330
+ }
331
+
332
+ .filterButton__button--reset {
333
+ display: inline-block !important;
334
+ float: right;
335
+ }
336
+
337
+ .hscpRecords {
338
+ padding-top: 16px;
339
+ }
340
+
341
+
342
+
343
+ </style>