kcc-gem-theme-original 2.0.1 → 2.0.3

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 (69) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/body.html +0 -1
  3. data/_includes/emergency-alerts.html +6 -28
  4. data/_includes/hash/theme_hash.yml +1 -1
  5. data/_layouts/default.html +4 -2
  6. data/assets/js/alerts/addAccordionOrTabHistoryStates.js +3 -1
  7. data/assets/js/alerts/alerts.js +47 -39
  8. data/assets/js/alerts/contentHashLink.js +42 -34
  9. data/assets/js/alerts/createAlertsHtml.js +147 -24
  10. data/assets/js/alerts/parseMarkdownToHTML.js +7 -7
  11. data/assets/js/dist/102.e3ffeb2fc43382608e65.bundle.js +1 -0
  12. data/assets/js/dist/123.e3ffeb2fc43382608e65.bundle.js +1 -0
  13. data/assets/js/dist/143.e3ffeb2fc43382608e65.bundle.js +1 -0
  14. data/assets/js/dist/183.e3ffeb2fc43382608e65.bundle.js +1 -0
  15. data/assets/js/dist/3.e3ffeb2fc43382608e65.bundle.js +1 -0
  16. data/assets/js/dist/303.e3ffeb2fc43382608e65.bundle.js +1 -0
  17. data/assets/js/dist/339.e3ffeb2fc43382608e65.bundle.js +1 -0
  18. data/assets/js/dist/354.e3ffeb2fc43382608e65.bundle.js +1 -0
  19. data/assets/js/dist/{384.11b2db22ed35039c9553.bundle.js → 384.e3ffeb2fc43382608e65.bundle.js} +1 -1
  20. data/assets/js/dist/453.e3ffeb2fc43382608e65.bundle.js +2 -0
  21. data/assets/js/dist/484.e3ffeb2fc43382608e65.bundle.js +2 -0
  22. data/assets/js/dist/484.e3ffeb2fc43382608e65.bundle.js.LICENSE.txt +11 -0
  23. data/assets/js/dist/602.e3ffeb2fc43382608e65.bundle.js +1 -0
  24. data/assets/js/dist/635.e3ffeb2fc43382608e65.bundle.js +2 -0
  25. data/assets/js/dist/695.e3ffeb2fc43382608e65.bundle.js +2 -0
  26. data/assets/js/dist/723.e3ffeb2fc43382608e65.bundle.js +1 -0
  27. data/assets/js/dist/780.e3ffeb2fc43382608e65.bundle.js +1 -0
  28. data/assets/js/dist/885.e3ffeb2fc43382608e65.bundle.js +1 -0
  29. data/assets/js/dist/885.e3ffeb2fc43382608e65.css +1 -0
  30. data/assets/js/dist/965.e3ffeb2fc43382608e65.bundle.js +1 -0
  31. data/assets/js/dist/976.e3ffeb2fc43382608e65.bundle.js +1 -0
  32. data/assets/js/dist/977.e3ffeb2fc43382608e65.bundle.js +1 -0
  33. data/assets/js/dist/theme.e3ffeb2fc43382608e65.bundle.js +2 -0
  34. data/assets/js/dist/theme.e3ffeb2fc43382608e65.css +1 -0
  35. data/assets/js/src/all.js +24 -7
  36. data/assets/js/src/searchPageJumpLinkFix.js +27 -0
  37. data/assets/js/src/searchResultsWCAGFix.js +43 -0
  38. data/assets/scss/0-tools/_bootstrap-overrides.scss +20 -5
  39. data/assets/scss/0-tools/_gsc-search-page-overrides.scss +290 -0
  40. data/assets/scss/0-tools/_vars.scss +15 -1
  41. data/assets/scss/1-base/_html.scss +5 -0
  42. data/assets/scss/1-base/_links.scss +0 -31
  43. data/assets/scss/1-base/_typography.scss +12 -5
  44. data/assets/scss/3-layout/_positioning.scss +5 -44
  45. data/assets/scss/searchPageOverrides.scss +2 -0
  46. metadata +36 -25
  47. data/assets/js/alerts/checkForPrefersReducedMotion.js +0 -17
  48. data/assets/js/dist/102.11b2db22ed35039c9553.bundle.js +0 -1
  49. data/assets/js/dist/143.11b2db22ed35039c9553.bundle.js +0 -1
  50. data/assets/js/dist/183.11b2db22ed35039c9553.bundle.js +0 -1
  51. data/assets/js/dist/3.11b2db22ed35039c9553.bundle.js +0 -1
  52. data/assets/js/dist/303.11b2db22ed35039c9553.bundle.js +0 -1
  53. data/assets/js/dist/354.11b2db22ed35039c9553.bundle.js +0 -1
  54. data/assets/js/dist/453.11b2db22ed35039c9553.bundle.js +0 -2
  55. data/assets/js/dist/604.11b2db22ed35039c9553.bundle.js +0 -1
  56. data/assets/js/dist/635.11b2db22ed35039c9553.bundle.js +0 -2
  57. data/assets/js/dist/695.11b2db22ed35039c9553.bundle.js +0 -2
  58. data/assets/js/dist/723.11b2db22ed35039c9553.bundle.js +0 -1
  59. data/assets/js/dist/965.11b2db22ed35039c9553.bundle.js +0 -1
  60. data/assets/js/dist/977.11b2db22ed35039c9553.bundle.js +0 -1
  61. data/assets/js/dist/theme.11b2db22ed35039c9553.bundle.js +0 -2
  62. data/assets/js/dist/theme.11b2db22ed35039c9553.css +0 -1
  63. /data/assets/js/dist/{384.11b2db22ed35039c9553.css → 384.e3ffeb2fc43382608e65.css} +0 -0
  64. /data/assets/js/dist/{453.11b2db22ed35039c9553.bundle.js.LICENSE.txt → 453.e3ffeb2fc43382608e65.bundle.js.LICENSE.txt} +0 -0
  65. /data/assets/js/dist/{635.11b2db22ed35039c9553.bundle.js.LICENSE.txt → 635.e3ffeb2fc43382608e65.bundle.js.LICENSE.txt} +0 -0
  66. /data/assets/js/dist/{695.11b2db22ed35039c9553.bundle.js.LICENSE.txt → 695.e3ffeb2fc43382608e65.bundle.js.LICENSE.txt} +0 -0
  67. /data/assets/js/dist/{bootstrap.11b2db22ed35039c9553.bundle.js → bootstrap.e3ffeb2fc43382608e65.bundle.js} +0 -0
  68. /data/assets/js/dist/{bootstrap.11b2db22ed35039c9553.css → bootstrap.e3ffeb2fc43382608e65.css} +0 -0
  69. /data/assets/js/dist/{theme.11b2db22ed35039c9553.bundle.js.LICENSE.txt → theme.e3ffeb2fc43382608e65.bundle.js.LICENSE.txt} +0 -0
@@ -0,0 +1,290 @@
1
+ @use '../0-tools/vars' as *;
2
+
3
+ /**
4
+ *
5
+ * Custom overrides for Google Search search-results page
6
+ * Author: Wesley Zajicek - https://github.com/wdzajicek
7
+ *
8
+ */
9
+ // ===================================================== //
10
+ // IMPORTANT! (pun intended): //
11
+ // //
12
+ // Assume that ANY `!important` used in this file is //
13
+ // required for the styling to work correctly! //
14
+ // //
15
+ // i.e. DO NOT DELETE ANY `!important;`'s BELLOW //
16
+ // //
17
+ // ===================================================== //
18
+ $color-link-visited: #3600b3;
19
+ // The pagination of the search results (at the bottom)
20
+ .gsc-results .gsc-cursor-box .gsc-cursor-page {
21
+ background-color: rgba(0,0,0,0.09) !important;
22
+ border-width: thin;
23
+ border-style: solid;
24
+ border-color: #555;
25
+ border-radius: 5px;
26
+ color: $grey-1 !important;
27
+ padding: .25rem 1rem;
28
+ }
29
+ // The active page in the search result pagination
30
+ .gsc-results .gsc-cursor-box .gsc-cursor-current-page {
31
+ background-color: rgba(0,0,0,0.25) !important;
32
+ color: $black !important;
33
+ text-decoration: underline !important;
34
+ }
35
+ // One of the outer-most elements of the search results
36
+ .gsc-control-cse {
37
+ font-family: $font-family-paragraph !important;
38
+ counter-reset: result;
39
+ }
40
+ // Outermost div for each search result
41
+ .gsc-webResult.gsc-result {
42
+ border-bottom: solid thin #0b0e10 !important;
43
+ margin-left: auto !important;
44
+ margin-right: auto !important;
45
+ max-width: 630px;
46
+ padding-left: .75rem !important;
47
+ padding-right: .75rem !important;
48
+ }
49
+ // Parent element of the search result's title
50
+ .gsc-thumbnail-inside {
51
+ margin-left: 32px;
52
+ }
53
+ // Custom styling to make a counter before each title (like in newsroom)
54
+ .gsc-thumbnail-inside::before {
55
+ background-color: $primary-blue;
56
+ border-radius: 50%;
57
+ border-color: #0b0e10;
58
+ border-style: solid;
59
+ border-width: 1px;
60
+ color: $white;
61
+ counter-increment: result;
62
+ content: counter(result);
63
+ display: block;
64
+ font-size: 14px;
65
+ font-weight: 700;
66
+ height: 26px;
67
+ margin-left: -32px;
68
+ line-height: 24px;
69
+ position: absolute;
70
+ text-align: center;
71
+ width: 26px;
72
+ }
73
+ // Font size for smaller text—description pagination
74
+ .gsc-control-cse,
75
+ .gsc-control-cse .gsc-table-result {
76
+ font-size: .99rem !important;
77
+ }
78
+ // Larger font-sizes
79
+ .gsc-control-cse .gs-spelling,
80
+ .gsc-control-cse .gs-result .gs-title,
81
+ .gsc-control-cse .gs-result .gs-title * {
82
+ font-size: 1.125rem !important;
83
+ }
84
+ // Title of the page/doc that is clicked
85
+ .gs-result .gs-title,
86
+ .gs-result .gs-title *,
87
+ .gs-result .gs-title a.gs-title b,
88
+ .gcsc-find-more-on-google {
89
+ color: $color-blue-reboot !important;
90
+ }
91
+ // Hover effect for the search results title/link
92
+ .gs-result .gs-title a.gs-title:hover,
93
+ .gs-result .gs-title a.gs-title:hover b {
94
+ color: $color-blue-reboot-hover !important;
95
+ text-decoration: underline !important;
96
+ }
97
+ // Visited styles for the search results title/link
98
+ .gs-result .gs-title a.gs-title:visited,
99
+ .gs-result .gs-title a.gs-title:visited b {
100
+ color: $color-link-visited !important;
101
+ }
102
+ // The little magnifying glass svg on the bottom-right
103
+ // of the results that says "🔍 Search for <SEARCH_TERM> on Google"
104
+ .gcsc-find-more-on-google-magnifier {
105
+ fill: $color-blue-reboot !important;
106
+ }
107
+ // Breadcrumb for each search result
108
+ .gs-webResult div.gs-visibleUrl {
109
+ color: $color-green-emerald !important;
110
+ }
111
+ // The parent element for the results breadcrumb
112
+ .gs-bidi-start-align.gs-visibleUrl.gs-visibleUrl-breadcrumb {
113
+ display: inline-block;
114
+ border: thin solid rgba(0,0,0,0.125);
115
+ padding: 0 .25rem;
116
+ border-radius: 5px;
117
+ margin-top: .25rem;
118
+ }
119
+ // Description text for the search results
120
+ .gs-webResult:not(.gs-no-results-result):not(.gs-error-result) .gs-snippet,
121
+ .gs-fileFormatType {
122
+ color: $grey-1 !important;
123
+ margin-top: 6px;
124
+ font-family: $font-family-paragraph !important;
125
+ }
126
+ .gs-bidi-start-align.gs-snippet b {
127
+ font-weight: 700;
128
+ }
129
+ // Preview image for the search result
130
+ .gs-web-image-box .gs-image,
131
+ .gs-promotion-image-box .gs-promotion-image {
132
+ height: 93px;
133
+ margin-left: -18.25px;
134
+ max-width: unset !important;
135
+ }
136
+ // Parent element of the preview image for search result
137
+ .gs-web-image-box,
138
+ .gs-promotion-image-box {
139
+ background-color: $grey-1;
140
+ border-radius: 50%;
141
+ border-color: #ebebeb;
142
+ border-style: solid;
143
+ border-width: thin;
144
+ float: right !important;
145
+ height: 93px;
146
+ margin-top: .25rem;
147
+ margin-left: 1rem !important;
148
+ overflow: hidden;
149
+ padding: 0 !important;
150
+ position: relative;
151
+ bottom: 20px;
152
+ width: 93px !important;
153
+ top: 0;
154
+ }
155
+ // Specific styles for portrait oriented images
156
+ .gs-web-image-box-portrait .gs-image {
157
+ height: 93px;
158
+ margin-left: calc(100% / -16);
159
+ transform: scale(1.2);
160
+ }
161
+ // Parent div of the pagination buttons
162
+ .gsc-cursor-box.gs-bidi-start-align {
163
+ margin-top: 1.5rem !important;
164
+ }
165
+
166
+ // The default styling cuts off the outline when the element has focus
167
+ // This ensures a fully visible focus ring for accessibility
168
+ div.gs-title {
169
+ overflow: visible !important; // This ensures the outline is not cut off
170
+ }
171
+
172
+ // Make the focus ring stand out a little bit more
173
+ a.gs-title:focus-visible {
174
+ outline-offset: 3px !important;
175
+ outline-width: 2px !important;
176
+ }
177
+ // ======================================= //
178
+ // Styling adjustments/additions to //
179
+ // search-page styling for darkMode //
180
+ // ======================================= //
181
+ // .dark-mode gets added to <html> element
182
+ .dark-mode {
183
+ // Description of the search result
184
+ .gs-webResult:not(.gs-no-results-result):not(.gs-error-result) .gs-snippet,
185
+ .gs-fileFormatType {
186
+ color: #969ca5 !important;
187
+ }
188
+ // Pagination buttons for extra results
189
+ .gs-bidi-start-align.gs-visibleUrl.gs-visibleUrl-breadcrumb {
190
+ border-color: rgba(255,255,255,.25);
191
+ }
192
+ // The little magnifying glass svg on the bottom-right
193
+ // of the results that says "🔍 Search for <SEARCH_TERM> on Google"
194
+ .gcsc-find-more-on-google-magnifier {
195
+ fill: #9fc0ed !important;
196
+ }
197
+ // Title/link of the search result
198
+ .gs-result .gs-title,
199
+ .gs-result .gs-title *,
200
+ .gs-result .gs-title a.gs-title b,
201
+ .gcsc-find-more-on-google {
202
+ color: #9fc0ed !important;
203
+ }
204
+ // Title/link hover effect
205
+ .gs-result .gs-title a.gs-title:hover,
206
+ .gs-result .gs-title a.gs-title:hover b {
207
+ color: #b0d1ff !important;
208
+ }
209
+ // Visited title links
210
+ .gs-result .gs-title a.gs-title:visited,
211
+ .gs-result .gs-title a.gs-title:visited b {
212
+ color: #7382d7 !important;
213
+ }
214
+ // Top bar that shows the number of results and Sort by:...
215
+ .gsc-above-wrapper-area {
216
+ border-bottom-color: rgba(255,255,255,0.5)
217
+ }
218
+ // One of the outer-most parent elements of the results
219
+ .gsc-control-cse.gsc-control-cse-en {
220
+ background-color: transparent;
221
+ border-color: rgba(255,255,255,0.25);
222
+ border-radius: 5px;
223
+ }
224
+ // Outer-most element for each search result
225
+ .gsc-webResult.gsc-result,
226
+ .gsc-results .gsc-imageResult {
227
+ background-color: #191d1f;
228
+ border-color: rgba(255,255,255,0.125);
229
+ }
230
+ // Result stats: # of results and time
231
+ .gsc-result-info,
232
+ .gsc-orderby-label {
233
+ color: #bababa;
234
+ }
235
+ // Pagination buttons of the extra results
236
+ .gsc-results .gsc-cursor-box .gsc-cursor-page {
237
+ background-color: #0b0e10;
238
+ border-color: rgba(255,255,255,0.25);
239
+ border-style: solid;
240
+ }
241
+ // Current page-button in the paginated results
242
+ .gsc-results .gsc-cursor-box .gsc-cursor-current-page {
243
+ color: #ebebeb !important;
244
+ background-color: rgba(0,0,0,0.5) !important;
245
+ }
246
+ // Hover effect when mouse hovers a search result
247
+ .gsc-webResult.gsc-result:hover {
248
+ background-color: rgba(255,255,255,0.0125) !important;
249
+ }
250
+ // Outer-most element of each search result
251
+ .gsc-webResult.gsc-result {
252
+ border-bottom: solid 1px $white !important;
253
+ }
254
+ // Custom counter-circles to number results
255
+ .gsc-thumbnail-inside::before {
256
+ background-color: #9bb7dd;
257
+ border-color: $white;
258
+ color: #0b0e10;
259
+ }
260
+ // The "Sort by:" button
261
+ .gsc-selected-option-container {
262
+ background-color: #9fc0ed;
263
+ border-radius: 4px;
264
+ border-color: $white;
265
+ border-width: 1px;
266
+ border-style: solid;
267
+ font-size: 13px !important;
268
+ padding-bottom: 1.75rem;
269
+ padding-left: .75rem !important;
270
+ padding-right: 32px;
271
+ }
272
+ // The little carrot icon in the "Sort by:" button
273
+ .gsc-control-cse .gsc-option-selector {
274
+ right: 8px;
275
+ top: 13px;
276
+ transform: scale(1.5);
277
+ }
278
+ // The "Sort by:" menu
279
+ .gsc-control-cse .gsc-option-menu {
280
+ background-color: #0b0e10;
281
+ }
282
+ // Current selection in the "Sort by:" menu
283
+ .gsc-option-menu-item-highlighted {
284
+ background-color: #282828;
285
+ color: $white;
286
+ }
287
+ .gs-bidi-start-align.gs-snippet b {
288
+ color: #c4c4c4;
289
+ }
290
+ }
@@ -40,7 +40,7 @@ $color-page-background: $color-blue-grey;
40
40
  $color-blue-light-nav: $color-blue-grey;
41
41
 
42
42
  $black: #000;
43
- $grey-1: #666;
43
+ $grey-1: #555;
44
44
  $grey-2: #e5e8ed;
45
45
  $grey-3: #f1f2f7; // Background color for slick tracks
46
46
  $grey-4: #f8f9fa; // Background color for footer (and Bootstrap 4 light navbar)
@@ -71,3 +71,17 @@ $btn-hover-bg: #022b55;
71
71
  $btn-hover-border: #021e3d;
72
72
  $darker-link: #006ce0;
73
73
  $orange-heading: $color-orange;
74
+
75
+ $color-blue-reboot: #007bff; // link color specified in reboot
76
+ $color-blue-reboot-hover: #0056b3; // link:hover color specified in reboot
77
+ $color-green-emerald: #148ba9;
78
+
79
+ $color-alert-warning-text: #856404; // BS5 color for alert-warning text-color
80
+ $color-alert-info-text: #0c5460; // BS5 color for alert-info text-color
81
+ $color-alert-primary-text: #004085; // BS5 color for alert-primary text-color
82
+ $color-alert-danger-text: #721c24;
83
+ // Create custom border-colors for the BS5 alerts we use:
84
+ $color-alert-warning-border: $color-alert-warning-text;
85
+ $color-alert-info-border: $color-alert-info-text;
86
+ $color-alert-primary-border: $color-alert-primary-text;
87
+ $color-alert-danger-border: $color-alert-danger-text;
@@ -3,3 +3,8 @@
3
3
  html {
4
4
  background-color: $color-page-background;
5
5
  }
6
+
7
+ html {
8
+ /* Offset so that hash-links can are not obscured by fixed navbars */
9
+ scroll-padding-top: 140px;
10
+ }
@@ -10,37 +10,6 @@
10
10
  height:80px;
11
11
  }
12
12
 
13
- // use the 'link__offset' class to offset jump-links via CSS only method.
14
- // Links need to be offset to clear the fixed navigation bar at the top.
15
- // =========================================
16
-
17
- .links__offset { // Pointer-events is needed to prevent the .links__offset::before pseudo-element
18
- pointer-events: none; // from "blocking" any anchor tag above from being clicked.
19
- & a,
20
- & button,
21
- & iframe,
22
- & .card-body { // HOWEVER, if there is a child anchor, or button, element,
23
- pointer-events: auto; // it obviously needs to be clickable.
24
- }
25
- }
26
-
27
- .links__offset::before {
28
- // mobile devices get slightly different offset b/c of different sized fixed header
29
- content: " ";
30
- display: block;
31
- height: 171px; // defining a height pushes the element down the page
32
- margin-top: -171px; // negative margin is needed to push it back to its original position
33
- pointer-events: none; // w/ out this it will interfere with the sites navigation links
34
- visibility: hidden;
35
- }
36
-
37
- @media screen and (min-width: 768px) {
38
- .links__offset::before {
39
- height: 150px;
40
- margin-top: -150px;
41
- }
42
- }
43
-
44
13
  .links__darker-link {
45
14
  color: $darker-link;
46
15
  }
@@ -250,41 +250,48 @@ body {
250
250
  }
251
251
 
252
252
  // Content Headings
253
- .typography__h2 {
253
+ .typography__h1 {
254
254
  color: $color-grey-heading;
255
255
  font-family: $font-family-headings;
256
256
  font-size: 2rem;
257
257
  font-weight: $font-weight-boldish;
258
258
  }
259
259
 
260
- .typography__h3 {
260
+ .typography__h2 {
261
261
  color: $primary-blue;
262
262
  font-family: $font-family-headings;
263
263
  font-size: 1.75rem;
264
264
  font-weight: $font-weight-bolder;
265
265
  }
266
266
 
267
- .typography__h4 {
267
+ .typography__h3 {
268
268
  color: $primary-red;
269
269
  font-family: $font-family-headings;
270
270
  font-size: 1.7rem;
271
271
  font-weight: $font-weight-bolder;
272
272
  }
273
273
 
274
- .typography__h5 {
274
+ .typography__h4 {
275
275
  color: $color-grey-heading;
276
276
  font-family: $font-family-headings;
277
277
  font-weight: $font-weight-bold;
278
278
  font-size: 1.5rem;
279
279
  }
280
280
 
281
- .typography__h6 {
281
+ .typography__h5 {
282
282
  color: $color-grey-heading;
283
283
  font-family: $font-family-headings;
284
284
  font-weight: $font-weight-bold;
285
285
  font-size: 1.4rem;
286
286
  }
287
287
 
288
+ .typography__h6 {
289
+ color: $color-grey-heading;
290
+ font-family: $font-family-headings;
291
+ font-weight: $font-weight-bold;
292
+ font-size: 1.3rem;
293
+ }
294
+
288
295
  .typography__h5--description {
289
296
  color: $grey-6;
290
297
  font-family: $font-family-oswald;
@@ -300,52 +300,13 @@
300
300
  }
301
301
  }
302
302
 
303
- .position__offset-alert {
304
- margin-top: 0;
305
- padding-top: 125px;
306
- height: 1px;
307
- &--visible {
308
- height: auto;
309
- }
310
- }
311
-
312
- @media screen and (min-width: 400px) {
313
- .position__offset-alert {
314
- padding-top: 135px;
315
- }
316
- }
317
-
318
- @media screen and (min-width: 576px) {
319
- .position__offset-alert {
320
- padding-top: 140px;
321
- }
322
- }
323
-
324
- @media screen and (min-width: 768px) {
325
- .position__offset-alert {
326
- padding-top: 145px;
327
- }
328
- }
329
-
330
- @media screen and (min-width: 992px) {
331
- .position__offset-alert {
332
- padding-top: 150px;
333
- }
334
- }
335
-
336
- .position__offset-alert.position__offset-alert-core {
337
- margin-top: 0;
338
- padding-top: 115px;
339
- }
340
-
341
- @media screen and (min-width: 992px) {
342
- .position__offset-alert.position__offset-alert-core {
343
- padding-top: 110px;
344
- }
345
- }
346
-
347
303
  .positioning__max-width-600 {
348
304
  max-width: 600px;
349
305
  margin-left: auto;
350
306
  margin-right: auto;
351
307
  }
308
+
309
+ .positioning__offset-nav {
310
+ margin-top: 120px;
311
+ padding-top: 20px;
312
+ }
@@ -0,0 +1,2 @@
1
+
2
+ @use '0-tools/gsc-search-page-overrides';
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kcc-gem-theme-original
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - wdzajicek
@@ -169,33 +169,40 @@ files:
169
169
  - assets/img/yt-loading.png
170
170
  - assets/js/alerts/addAccordionOrTabHistoryStates.js
171
171
  - assets/js/alerts/alerts.js
172
- - assets/js/alerts/checkForPrefersReducedMotion.js
173
172
  - assets/js/alerts/contentHashLink.js
174
173
  - assets/js/alerts/createAlertsHtml.js
175
174
  - assets/js/alerts/parseMarkdownToHTML.js
176
- - assets/js/dist/102.11b2db22ed35039c9553.bundle.js
177
- - assets/js/dist/143.11b2db22ed35039c9553.bundle.js
178
- - assets/js/dist/183.11b2db22ed35039c9553.bundle.js
179
- - assets/js/dist/3.11b2db22ed35039c9553.bundle.js
180
- - assets/js/dist/303.11b2db22ed35039c9553.bundle.js
181
- - assets/js/dist/354.11b2db22ed35039c9553.bundle.js
182
- - assets/js/dist/384.11b2db22ed35039c9553.bundle.js
183
- - assets/js/dist/384.11b2db22ed35039c9553.css
184
- - assets/js/dist/453.11b2db22ed35039c9553.bundle.js
185
- - assets/js/dist/453.11b2db22ed35039c9553.bundle.js.LICENSE.txt
186
- - assets/js/dist/604.11b2db22ed35039c9553.bundle.js
187
- - assets/js/dist/635.11b2db22ed35039c9553.bundle.js
188
- - assets/js/dist/635.11b2db22ed35039c9553.bundle.js.LICENSE.txt
189
- - assets/js/dist/695.11b2db22ed35039c9553.bundle.js
190
- - assets/js/dist/695.11b2db22ed35039c9553.bundle.js.LICENSE.txt
191
- - assets/js/dist/723.11b2db22ed35039c9553.bundle.js
192
- - assets/js/dist/965.11b2db22ed35039c9553.bundle.js
193
- - assets/js/dist/977.11b2db22ed35039c9553.bundle.js
194
- - assets/js/dist/bootstrap.11b2db22ed35039c9553.bundle.js
195
- - assets/js/dist/bootstrap.11b2db22ed35039c9553.css
196
- - assets/js/dist/theme.11b2db22ed35039c9553.bundle.js
197
- - assets/js/dist/theme.11b2db22ed35039c9553.bundle.js.LICENSE.txt
198
- - assets/js/dist/theme.11b2db22ed35039c9553.css
175
+ - assets/js/dist/102.e3ffeb2fc43382608e65.bundle.js
176
+ - assets/js/dist/123.e3ffeb2fc43382608e65.bundle.js
177
+ - assets/js/dist/143.e3ffeb2fc43382608e65.bundle.js
178
+ - assets/js/dist/183.e3ffeb2fc43382608e65.bundle.js
179
+ - assets/js/dist/3.e3ffeb2fc43382608e65.bundle.js
180
+ - assets/js/dist/303.e3ffeb2fc43382608e65.bundle.js
181
+ - assets/js/dist/339.e3ffeb2fc43382608e65.bundle.js
182
+ - assets/js/dist/354.e3ffeb2fc43382608e65.bundle.js
183
+ - assets/js/dist/384.e3ffeb2fc43382608e65.bundle.js
184
+ - assets/js/dist/384.e3ffeb2fc43382608e65.css
185
+ - assets/js/dist/453.e3ffeb2fc43382608e65.bundle.js
186
+ - assets/js/dist/453.e3ffeb2fc43382608e65.bundle.js.LICENSE.txt
187
+ - assets/js/dist/484.e3ffeb2fc43382608e65.bundle.js
188
+ - assets/js/dist/484.e3ffeb2fc43382608e65.bundle.js.LICENSE.txt
189
+ - assets/js/dist/602.e3ffeb2fc43382608e65.bundle.js
190
+ - assets/js/dist/635.e3ffeb2fc43382608e65.bundle.js
191
+ - assets/js/dist/635.e3ffeb2fc43382608e65.bundle.js.LICENSE.txt
192
+ - assets/js/dist/695.e3ffeb2fc43382608e65.bundle.js
193
+ - assets/js/dist/695.e3ffeb2fc43382608e65.bundle.js.LICENSE.txt
194
+ - assets/js/dist/723.e3ffeb2fc43382608e65.bundle.js
195
+ - assets/js/dist/780.e3ffeb2fc43382608e65.bundle.js
196
+ - assets/js/dist/885.e3ffeb2fc43382608e65.bundle.js
197
+ - assets/js/dist/885.e3ffeb2fc43382608e65.css
198
+ - assets/js/dist/965.e3ffeb2fc43382608e65.bundle.js
199
+ - assets/js/dist/976.e3ffeb2fc43382608e65.bundle.js
200
+ - assets/js/dist/977.e3ffeb2fc43382608e65.bundle.js
201
+ - assets/js/dist/bootstrap.e3ffeb2fc43382608e65.bundle.js
202
+ - assets/js/dist/bootstrap.e3ffeb2fc43382608e65.css
203
+ - assets/js/dist/theme.e3ffeb2fc43382608e65.bundle.js
204
+ - assets/js/dist/theme.e3ffeb2fc43382608e65.bundle.js.LICENSE.txt
205
+ - assets/js/dist/theme.e3ffeb2fc43382608e65.css
199
206
  - assets/js/nav/closeNavOnClick.js
200
207
  - assets/js/nav/highlightCurrentNav.js
201
208
  - assets/js/nav/moveSearchIcon.js
@@ -206,6 +213,8 @@ files:
206
213
  - assets/js/src/bootstrap.js
207
214
  - assets/js/src/footerDate.js
208
215
  - assets/js/src/lazyLoad.js
216
+ - assets/js/src/searchPageJumpLinkFix.js
217
+ - assets/js/src/searchResultsWCAGFix.js
209
218
  - assets/js/src/sliders.js
210
219
  - assets/js/src/translate.js
211
220
  - assets/js/src/walkText.js
@@ -216,6 +225,7 @@ files:
216
225
  - assets/scss/0-tools/_cloudcannon.scss
217
226
  - assets/scss/0-tools/_google-translate-overrides.scss
218
227
  - assets/scss/0-tools/_gsc-overrides.scss
228
+ - assets/scss/0-tools/_gsc-search-page-overrides.scss
219
229
  - assets/scss/0-tools/_print.scss
220
230
  - assets/scss/0-tools/_vars.scss
221
231
  - assets/scss/1-base/_background.scss
@@ -253,6 +263,7 @@ files:
253
263
  - assets/scss/4-pages/index/_home.scss
254
264
  - assets/scss/bootstrap.scss
255
265
  - assets/scss/kcc-theme.scss
266
+ - assets/scss/searchPageOverrides.scss
256
267
  - assets/scss/translate.scss
257
268
  homepage: https://github.com/KankakeeCommunityCollege/kcc-gem-theme-original
258
269
  licenses:
@@ -1,17 +0,0 @@
1
- function checkForPrefersReduceMotion() {
2
- const reducedMotionMediaQuery = window.matchMedia('(prefers-reduced-motion: reduce)');
3
- let reducedMotion = (reducedMotionMediaQuery.matches) ? true : false;
4
-
5
- localStorage.setItem('userPrefersReducedMotion', reducedMotion);
6
-
7
- reducedMotionMediaQuery.addEventListener('change', (e) => {
8
- if (reducedMotionMediaQuery.matches) {
9
- reducedMotion = true
10
- } else {
11
- reducedMotion = false
12
- }
13
- localStorage.setItem('userPrefersReducedMotion', reducedMotion);
14
- });
15
- }
16
-
17
- export default checkForPrefersReduceMotion;
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[102],{102:function(e,n){const t=document.getElementById("currentYear");n.default=function(){const e=(new Date).getFullYear();t.innerHTML!==`${e}`&&(t.innerHTML=e)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[143],{143:function(t,e){e.default=function(){[...document.querySelectorAll("img[data-src]")].forEach(t=>{t.setAttribute("src",t.getAttribute("data-src")),t.onload=function(){t.removeAttribute("data-src")}})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[183],{183:function(e,t){const c=/\\?---?/g,n=/---/;function o(e){return-1===e.search(n)?"—":e}t.default=function(e){let t;const n=document.createNodeIterator(e,NodeFilter.SHOW_TEXT,e=>-1!==e.nodeValue.search(c)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT);for(;t=n.nextNode();)t.data=t.data.replace(c,o)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[3],{3:function(e,c){const n=document.querySelectorAll(".hero-slider__slider--slide-heading"),s=/\*\*([^\*]+)\*\*/g;c.default=function(){[...n].forEach(e=>{e.innerHTML=e.innerHTML.replace(s,'<span class="typography__power-text">$1</span>')})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[303],{303:function(t,e){const l=".hero-slider__slider",n="Pause";function s(t,e,s){const o=s===n;$(l).slick(e),function(t,e,l){t.setAttribute("aria-label",l)}(t,0,s),t.classList.toggle("hero-slider__button--play"),t.innerHTML=s,o&&$(l).slick("slickNext")}e.default=function(){$(l).on("init",function(t,e){!function(){const t=function(t){const e=document.createElement("button");return e.setAttribute("role","button"),e.setAttribute("type","button"),e.setAttribute("aria-label","Pause"),e.setAttribute("style","display: block;"),e.innerHTML="Pause",e.classList.add("hero-slider__button--toggle"),t.appendChild(e),e}(document.querySelector(l));t.addEventListener("click",e=>{"Pause"===t.innerHTML?s(t,"slickPause","Play"):s(t,"slickPlay",n)})}()}),$(l).slick({dots:!0,slidesToShow:1,slidesToScroll:1,autoplay:!0,autoplaySpeed:4e3,prevArrow:'<button type="button" data-role="none" class="prev slick-prev" aria-label="Previous" role="button" style="display: block;">Previous</button>',nextArrow:'<button type="button" data-role="none" class="next slick-next" aria-label="Next" role="button" style="display: block;">Next</button>'})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[354],{354:function(e,t){const n=document.getElementById("SearchTermForm");function c(e){const t=e.target,n=`?q=${encodeURIComponent(t.querySelector("#searchTermInput").value)}`;return e.preventDefault(),window.location=new URL("https://www.kcc.edu/search"+n)}t.default=function(){n.addEventListener("submit",c)}}}]);