kcc-gem-theme-original 2.0.0 → 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.
- checksums.yaml +4 -4
- data/_includes/body.html +0 -1
- data/_includes/emergency-alerts.html +6 -28
- data/_includes/hash/theme_hash.yml +1 -1
- data/_includes/nav-global.html +1 -1
- data/_layouts/default.html +4 -2
- data/assets/js/alerts/addAccordionOrTabHistoryStates.js +3 -1
- data/assets/js/alerts/alerts.js +47 -39
- data/assets/js/alerts/contentHashLink.js +42 -34
- data/assets/js/alerts/createAlertsHtml.js +147 -24
- data/assets/js/alerts/parseMarkdownToHTML.js +7 -7
- data/assets/js/dist/102.e3ffeb2fc43382608e65.bundle.js +1 -0
- data/assets/js/dist/123.e3ffeb2fc43382608e65.bundle.js +1 -0
- data/assets/js/dist/143.e3ffeb2fc43382608e65.bundle.js +1 -0
- data/assets/js/dist/183.e3ffeb2fc43382608e65.bundle.js +1 -0
- data/assets/js/dist/3.e3ffeb2fc43382608e65.bundle.js +1 -0
- data/assets/js/dist/303.e3ffeb2fc43382608e65.bundle.js +1 -0
- data/assets/js/dist/339.e3ffeb2fc43382608e65.bundle.js +1 -0
- data/assets/js/dist/354.e3ffeb2fc43382608e65.bundle.js +1 -0
- data/assets/js/dist/{384.6cd5a5c7a6d9a4cada31.bundle.js → 384.e3ffeb2fc43382608e65.bundle.js} +1 -1
- data/assets/js/dist/453.e3ffeb2fc43382608e65.bundle.js +2 -0
- data/assets/js/dist/484.e3ffeb2fc43382608e65.bundle.js +2 -0
- data/assets/js/dist/484.e3ffeb2fc43382608e65.bundle.js.LICENSE.txt +11 -0
- data/assets/js/dist/602.e3ffeb2fc43382608e65.bundle.js +1 -0
- data/assets/js/dist/635.e3ffeb2fc43382608e65.bundle.js +2 -0
- data/assets/js/dist/695.e3ffeb2fc43382608e65.bundle.js +2 -0
- data/assets/js/dist/723.e3ffeb2fc43382608e65.bundle.js +1 -0
- data/assets/js/dist/780.e3ffeb2fc43382608e65.bundle.js +1 -0
- data/assets/js/dist/885.e3ffeb2fc43382608e65.bundle.js +1 -0
- data/assets/js/dist/885.e3ffeb2fc43382608e65.css +1 -0
- data/assets/js/dist/965.e3ffeb2fc43382608e65.bundle.js +1 -0
- data/assets/js/dist/976.e3ffeb2fc43382608e65.bundle.js +1 -0
- data/assets/js/dist/977.e3ffeb2fc43382608e65.bundle.js +1 -0
- data/assets/js/dist/theme.e3ffeb2fc43382608e65.bundle.js +2 -0
- data/assets/js/dist/theme.e3ffeb2fc43382608e65.css +1 -0
- data/assets/js/nav/searchToggleNav.js +5 -7
- data/assets/js/nav/toggleNavSearchDropdownOnWindowResize.js +19 -9
- data/assets/js/src/all.js +31 -8
- data/assets/js/src/searchPageJumpLinkFix.js +27 -0
- data/assets/js/src/searchResultsWCAGFix.js +43 -0
- data/assets/scss/0-tools/_bootstrap-overrides.scss +20 -5
- data/assets/scss/0-tools/_gsc-overrides.scss +4 -0
- data/assets/scss/0-tools/_gsc-search-page-overrides.scss +290 -0
- data/assets/scss/0-tools/_vars.scss +16 -2
- data/assets/scss/1-base/_html.scss +5 -0
- data/assets/scss/1-base/_links.scss +0 -31
- data/assets/scss/1-base/_typography.scss +12 -5
- data/assets/scss/3-layout/_positioning.scss +5 -44
- data/assets/scss/searchPageOverrides.scss +2 -0
- metadata +36 -25
- data/assets/js/alerts/checkForPrefersReducedMotion.js +0 -17
- data/assets/js/dist/102.6cd5a5c7a6d9a4cada31.bundle.js +0 -1
- data/assets/js/dist/143.6cd5a5c7a6d9a4cada31.bundle.js +0 -1
- data/assets/js/dist/183.6cd5a5c7a6d9a4cada31.bundle.js +0 -1
- data/assets/js/dist/3.6cd5a5c7a6d9a4cada31.bundle.js +0 -1
- data/assets/js/dist/303.6cd5a5c7a6d9a4cada31.bundle.js +0 -1
- data/assets/js/dist/354.6cd5a5c7a6d9a4cada31.bundle.js +0 -1
- data/assets/js/dist/453.6cd5a5c7a6d9a4cada31.bundle.js +0 -2
- data/assets/js/dist/604.6cd5a5c7a6d9a4cada31.bundle.js +0 -1
- data/assets/js/dist/635.6cd5a5c7a6d9a4cada31.bundle.js +0 -2
- data/assets/js/dist/695.6cd5a5c7a6d9a4cada31.bundle.js +0 -2
- data/assets/js/dist/723.6cd5a5c7a6d9a4cada31.bundle.js +0 -1
- data/assets/js/dist/965.6cd5a5c7a6d9a4cada31.bundle.js +0 -1
- data/assets/js/dist/977.6cd5a5c7a6d9a4cada31.bundle.js +0 -1
- data/assets/js/dist/theme.6cd5a5c7a6d9a4cada31.bundle.js +0 -2
- data/assets/js/dist/theme.6cd5a5c7a6d9a4cada31.css +0 -1
- /data/assets/js/dist/{384.6cd5a5c7a6d9a4cada31.css → 384.e3ffeb2fc43382608e65.css} +0 -0
- /data/assets/js/dist/{453.6cd5a5c7a6d9a4cada31.bundle.js.LICENSE.txt → 453.e3ffeb2fc43382608e65.bundle.js.LICENSE.txt} +0 -0
- /data/assets/js/dist/{635.6cd5a5c7a6d9a4cada31.bundle.js.LICENSE.txt → 635.e3ffeb2fc43382608e65.bundle.js.LICENSE.txt} +0 -0
- /data/assets/js/dist/{695.6cd5a5c7a6d9a4cada31.bundle.js.LICENSE.txt → 695.e3ffeb2fc43382608e65.bundle.js.LICENSE.txt} +0 -0
- /data/assets/js/dist/{bootstrap.6cd5a5c7a6d9a4cada31.bundle.js → bootstrap.e3ffeb2fc43382608e65.bundle.js} +0 -0
- /data/assets/js/dist/{bootstrap.6cd5a5c7a6d9a4cada31.css → bootstrap.e3ffeb2fc43382608e65.css} +0 -0
- /data/assets/js/dist/{theme.6cd5a5c7a6d9a4cada31.bundle.js.LICENSE.txt → theme.e3ffeb2fc43382608e65.bundle.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const jumpLink = document.querySelector('a[href="#content"');
|
|
2
|
+
const prefersReducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)');
|
|
3
|
+
|
|
4
|
+
function searchPageJumpLinkFix() {
|
|
5
|
+
jumpLink.addEventListener('click', (e) => {
|
|
6
|
+
e.preventDefault();
|
|
7
|
+
|
|
8
|
+
const targetId = e.target.getAttribute('href');
|
|
9
|
+
const targetEl = document.querySelector(targetId);
|
|
10
|
+
|
|
11
|
+
if (targetEl) {
|
|
12
|
+
// Make sure the element can accept focus (even if it's a <div> or <main>) since we're forcing focus via JS
|
|
13
|
+
if (!targetEl.hasAttribute('tabindex')) {
|
|
14
|
+
targetEl.setAttribute('tabindex', '-1');
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// Move focus to the element so VoiceOver/keyboard users land there
|
|
18
|
+
targetEl.focus(); // Always .focus() prior to .scrollIntoView()!
|
|
19
|
+
// Ensure we respect (prefers-reduced-motion: reduce) by explicitly checking when using scrollIntoView()
|
|
20
|
+
targetEl.scrollIntoView({
|
|
21
|
+
behavior: prefersReducedMotion.matches ? 'instant' : 'smooth'
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export default searchPageJumpLinkFix;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// ============================================================================ //
|
|
2
|
+
// # Fix Google Programmable Search's search results that have image thumbnails //
|
|
3
|
+
// //
|
|
4
|
+
// ## The Issue //
|
|
5
|
+
// //
|
|
6
|
+
// On the search results page: //
|
|
7
|
+
// * Image thumbs are wrapped in anchor/link elements //
|
|
8
|
+
// * Thumbs have generic "Thumbnail image" for alt-text //
|
|
9
|
+
// * Thumb anchors do not have any accessibility labels so multiple //
|
|
10
|
+
// "Thumbnail image" link texts do not help //
|
|
11
|
+
// * Thumb anchors also provide zero visual indication of focus (or that //
|
|
12
|
+
// they're a link at all unless you hover them to see the cursor change) //
|
|
13
|
+
// //
|
|
14
|
+
// ## The Fix //
|
|
15
|
+
// //
|
|
16
|
+
// 1. Use a lightweight mutation observer to see when search results have //
|
|
17
|
+
// been injected. (also runs on subsequent searches while in the page) //
|
|
18
|
+
// 2. Look for the links wrapping the image thumbnails: //
|
|
19
|
+
// * Make un-focusable with tabindex="-1" //
|
|
20
|
+
// * Add aria-hidden="true" to hide the unhelpful thumbs altogether //
|
|
21
|
+
// ============================================================================ //
|
|
22
|
+
|
|
23
|
+
// This is a custom wrapper element for the markup where Google injects the search results
|
|
24
|
+
const targetNode = document.getElementById('searchResultsWrapper');
|
|
25
|
+
|
|
26
|
+
const observer = new MutationObserver((mutationsList) => {
|
|
27
|
+
// Target the specific wrapper classes Google uses for image result boxes
|
|
28
|
+
const imageLinks = document.querySelectorAll('.gs-image-box a');
|
|
29
|
+
|
|
30
|
+
imageLinks.forEach(link => {
|
|
31
|
+
if (link.getAttribute('tabindex') !== '-1') {
|
|
32
|
+
link.setAttribute('tabindex', '-1');
|
|
33
|
+
link.setAttribute('aria-hidden', 'true');
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
function searchResultsWCAGFix() {
|
|
39
|
+
// Watch for injection of the search results
|
|
40
|
+
observer.observe(targetNode, { childList: true, subtree: true });
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export default searchResultsWCAGFix;
|
|
@@ -74,16 +74,31 @@
|
|
|
74
74
|
display: none;
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
|
|
77
|
+
|
|
78
|
+
// Customizations to alert color-schemes
|
|
79
|
+
// Creates a more visible border around the alerts
|
|
80
|
+
// BS5 default alert border-colors are almost imperceivable
|
|
81
|
+
.alert-warning {
|
|
82
|
+
border-color: $color-alert-warning-border;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.alert-danger {
|
|
86
|
+
border-color: $color-alert-danger-border;
|
|
87
|
+
}
|
|
78
88
|
|
|
79
89
|
.alert-info {
|
|
80
|
-
|
|
90
|
+
border-color: $color-alert-info-border;
|
|
81
91
|
}
|
|
82
92
|
|
|
83
93
|
.alert-primary {
|
|
84
|
-
|
|
94
|
+
border-color: $color-alert-primary-border;
|
|
85
95
|
}
|
|
86
96
|
|
|
87
|
-
.alert
|
|
88
|
-
|
|
97
|
+
.alert a {
|
|
98
|
+
color: #0257d4;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.alert a:hover,
|
|
102
|
+
.alert a:focus {
|
|
103
|
+
color: #02419c;
|
|
89
104
|
}
|
|
@@ -36,6 +36,10 @@
|
|
|
36
36
|
#gsc-i-id1 {
|
|
37
37
|
background: none !important; // Needed to remove the stupid "Enhanced by Google" text after 2026 GCS update
|
|
38
38
|
}
|
|
39
|
+
|
|
40
|
+
form.gsc-search-box {
|
|
41
|
+
max-width: unset !important; // Counteract the new GCS `max-width: 652px;` styling so that it fills the available space.
|
|
42
|
+
}
|
|
39
43
|
// END new styles added to counteract 2026 GCS update
|
|
40
44
|
|
|
41
45
|
.nav-global__gcse-wrapper .gsc-search-button-v2 {
|
|
@@ -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
|
+
}
|
|
@@ -29,7 +29,7 @@ $primary-red: #c61f48; // Primary blue-color
|
|
|
29
29
|
$accent-blue: #005bac; // Accent blue-color used in all links and link buttons;
|
|
30
30
|
$color-blue-light: #ccdde1;
|
|
31
31
|
$color-tan-light: #fcf1d6;
|
|
32
|
-
$color-orange: #
|
|
32
|
+
$color-orange: #D58106;
|
|
33
33
|
$color-blue-grey: #7a7b7b;
|
|
34
34
|
$color-blue-lighter-nav: #e2e3e4;
|
|
35
35
|
$color-black-light: rgba(0,0,0,.15);
|
|
@@ -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: #
|
|
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;
|
|
@@ -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
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
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
|
+
}
|