|
| 1 | +// ---------------------------- |
| 2 | +// Results List |
| 3 | +// ---------------------------- |
| 4 | + |
1 | 5 | .top-space { |
2 | 6 | margin-top: 1.2rem; |
3 | 7 | @media (min-width: $bp-screen-md) { |
|
37 | 41 | margin-left: 3rem; |
38 | 42 | } |
39 | 43 | } |
40 | | - } |
| 44 | + } |
| 45 | +} |
| 46 | + |
| 47 | +.results-list.use { |
| 48 | + list-style-type: none; |
| 49 | + padding: 0; |
41 | 50 | } |
42 | 51 |
|
| 52 | +// -------------------------------------- |
| 53 | +// Individual Results for GeoData & USE |
| 54 | +// -------------------------------------- |
| 55 | + |
43 | 56 | .result { |
44 | 57 | padding: 2rem; |
45 | 58 | border-top: 1px solid $brand-primary; |
|
120 | 133 | } |
121 | 134 | } |
122 | 135 |
|
123 | | -/* USE Specific Overrides */ |
124 | | -/* Layout of results and sidebar columns */ |
| 136 | +// -------------------------------------- |
| 137 | +// Individual Results overrides for USE |
| 138 | +// -------------------------------------- |
| 139 | + |
| 140 | +.result.use, .result.primo { |
| 141 | + margin-bottom: 48px; |
| 142 | + padding: 0; |
| 143 | + border-top: none; |
| 144 | + |
| 145 | + &:hover, |
| 146 | + &:focus { |
| 147 | + background-color: transparent; |
| 148 | + } |
| 149 | + |
| 150 | + .eyebrow { |
| 151 | + color: $color-text-secondary; |
| 152 | + font-size: 1.3rem; |
| 153 | + font-weight: $fw-medium; |
| 154 | + letter-spacing: 0.05em; |
| 155 | + text-transform: uppercase; |
| 156 | + } |
| 157 | + |
| 158 | + .record-title { |
| 159 | + font-size: 2.4rem; |
| 160 | + line-height: 1.3; |
| 161 | + margin-bottom: 8px; |
| 162 | + |
| 163 | + a { |
| 164 | + @include underlinedLinks; |
| 165 | + font-weight: $fw-semibold; |
| 166 | + } |
| 167 | + } |
| 168 | + |
| 169 | + .pub-info { |
| 170 | + font-size: $fs-base; |
| 171 | + color: $color-text-secondary; |
| 172 | + span:first-child:after { |
| 173 | + content: " • "; |
| 174 | + color: $color-text-disabled; |
| 175 | + } |
| 176 | + margin-bottom: 1em; |
| 177 | + margin-top: 0; |
| 178 | + } |
| 179 | + |
| 180 | + .result-highlights.use { |
| 181 | + margin-top: 0; |
| 182 | + |
| 183 | + ul { |
| 184 | + list-style: disc outside; |
| 185 | + padding-left: 16px; |
| 186 | + |
| 187 | + li { |
| 188 | + margin-left: 0.6rem; |
| 189 | + font-size: 1.6rem; |
| 190 | + } |
| 191 | + } |
| 192 | + } |
| 193 | + |
| 194 | + .highlight { |
| 195 | + background-color: $color-highlight; |
| 196 | + } |
| 197 | + |
| 198 | + &.use, &.primo { |
| 199 | + .result-metadata { |
| 200 | + margin-bottom: 16px; |
| 201 | + } |
| 202 | + |
| 203 | + .pub-info { |
| 204 | + margin-bottom: 4px; |
| 205 | + } |
| 206 | + |
| 207 | + ul.contributors { |
| 208 | + li { |
| 209 | + font-weight: $fw-normal; |
| 210 | + |
| 211 | + a { |
| 212 | + color: $color-text-secondary; |
| 213 | + text-decoration: none; |
| 214 | + |
| 215 | + &:hover { |
| 216 | + text-decoration: underline; |
| 217 | + } |
| 218 | + } |
| 219 | + } |
| 220 | + } |
| 221 | + |
| 222 | + .inner-heading { |
| 223 | + font-size: 1.6rem; |
| 224 | + font-family: $base-font; // Since we're using 16px, override to use body font |
| 225 | + } |
| 226 | + |
| 227 | + // Make result buttons present as underlined links |
| 228 | + a.button { |
| 229 | + @include underlinedLinks; |
| 230 | + font-weight: $fw-medium; |
| 231 | + font-size: 1.6rem; |
| 232 | + margin-right: 16px; |
| 233 | + } |
| 234 | + |
| 235 | + // Except the first button, which should present as a secondary button |
| 236 | + a.button:first-child { |
| 237 | + @include buttonSecondary; |
| 238 | + } |
| 239 | + |
| 240 | + .truncate-list li:last-child {margin-bottom: 0;} |
| 241 | + |
| 242 | + } |
| 243 | +} |
| 244 | + |
| 245 | +// ----------------------------- |
| 246 | +// Result list and Sidebar - USE |
| 247 | +// ----------------------------- |
| 248 | + |
125 | 249 | #content-wrapper { |
126 | 250 | padding-top: 12px; |
127 | 251 | padding-bottom: 44px; |
|
167 | 291 |
|
168 | 292 | a { |
169 | 293 | @include underlinedLinks; |
| 294 | + font-weight: $fw-medium; |
170 | 295 | } |
171 | 296 | } |
172 | 297 |
|
|
205 | 330 |
|
206 | 331 | } |
207 | 332 |
|
208 | | -/* Callouts below results */ |
| 333 | +// ---------------------------- |
| 334 | +// Result callout boxes |
| 335 | +// ---------------------------- |
| 336 | + |
209 | 337 | #callout-wrapper { |
210 | 338 | display: flex; |
211 | 339 | gap: 12px; |
|
0 commit comments