Commit | Line | Data |
---|---|---|
1e7a45c4 VSB |
1 | /** |
2 | * If using a CSS pre-processor, tell it to overwrite this file. If not, place | |
3 | * your custom CSS modifications here. | |
4 | */ | |
5 | ||
5b916836 VSB |
6 | /* Lato font */ |
7 | ||
8 | @font-face { | |
9 | font-family: "Lato"; | |
10 | url("../fonts/Lato-Regular.ttf") format('truetype'); | |
11 | font-weight: 400; | |
12 | font-style: normal; | |
13 | } | |
14 | ||
15 | @font-face { | |
16 | font-family: "Lato"; | |
17 | url('../fonts/Lato-RegularItalic.ttf') format('truetype'); | |
18 | font-weight: 400; | |
19 | font-style: italic; | |
20 | } | |
21 | ||
22 | @font-face { | |
23 | font-family: "Lato"; | |
24 | url('../fonts/Lato-Bold.ttf') format('truetype'); | |
25 | font-weight: 700; | |
26 | font-style: normal; | |
27 | } | |
28 | ||
29 | ||
30 | /* Universal */ | |
31 | ||
359dfa19 | 32 | body { |
5b916836 | 33 | font-family: "Lato", Helvetica, Arial, sans-serif; |
359dfa19 VSB |
34 | margin: 0; |
35 | min-width: 320px; | |
36 | } | |
1e7a45c4 | 37 | |
b4ed810a VSB |
38 | a { transition: 0.3s; } |
39 | ||
1fb61412 | 40 | section { position: relative; } |
bbb30910 AE |
41 | |
42 | /* etcetera */ | |
43 | ||
26f9e62d VSB |
44 | .visually-hidden.focusable:focus { |
45 | position: absolute !important; | |
46 | background: #000; | |
47 | color: #FFF; | |
48 | padding: 0.5em; | |
49 | z-index: 9999; | |
50 | } | |
51 | ||
092ce192 VSB |
52 | .region-content { min-height: 300px; } |
53 | ||
54 | h2.block-title { | |
55 | background: #000; | |
56 | color: #FFF; | |
3cc6e9f4 | 57 | padding: 0.5em; |
092ce192 | 58 | } |
bbb30910 | 59 | |
3cc6e9f4 VSB |
60 | .feed-icons a { |
61 | background: url('../images/rss.svg') top left no-repeat; | |
62 | background-size: contain; | |
3cc6e9f4 VSB |
63 | height: 20px; |
64 | overflow: hidden; | |
1fb61412 VSB |
65 | display: block; |
66 | text-indent: 25px; | |
67 | font-size: 1em; | |
68 | width: fit-content; | |
1fb61412 | 69 | margin-top: 1em; |
30d080b7 | 70 | float: right; |
3cc6e9f4 VSB |
71 | } |
72 | ||
73 | .view-display-id-news_page .feed-icons a { | |
74 | margin-top: -30px; | |
bbb30910 | 75 | } |
3cc6e9f4 | 76 | |
bbb30910 | 77 | .more-link { |
3cc6e9f4 VSB |
78 | border: 1px solid #ddd; |
79 | border-radius: .5em; | |
80 | padding: .5em; | |
81 | text-align: center; | |
82 | width: 50%; | |
83 | margin: 0 auto; | |
bbb30910 AE |
84 | font-weight: bold; |
85 | } | |
86 | ||
3cc6e9f4 VSB |
87 | .more-link:hover { border: 1px solid #000; } |
88 | ||
bbb30910 AE |
89 | .block-views { |
90 | margin-top: 20px; | |
91 | } | |
92 | ||
93 | /* Navbar */ | |
94 | ||
1e7a45c4 VSB |
95 | .navbar-default { |
96 | background: #000; | |
97 | color: #FFF; | |
98 | border: none; | |
99 | border-radius: 0px; | |
100 | box-sizing: content-box; | |
1e7a45c4 | 101 | align-items: center; |
1e7a45c4 VSB |
102 | min-height: 100px; |
103 | } | |
104 | ||
b766958e AE |
105 | .navbar-header, |
106 | #navbar-collapse { | |
1e7a45c4 VSB |
107 | max-width: 1150px; |
108 | padding: 0; | |
109 | margin: 0 auto; | |
bfc9c2d3 VSB |
110 | border: none; |
111 | overflow: hidden; | |
1e7a45c4 VSB |
112 | } |
113 | ||
67263bd5 | 114 | .navbar-default .navbar-toggle { display: none; } |
bfc9c2d3 | 115 | |
1e7a45c4 VSB |
116 | .navbar-header { |
117 | position: absolute; | |
118 | top: 5px; | |
119 | } | |
120 | ||
67263bd5 | 121 | .navbar-brand { display: none; } |
ccc0e97e | 122 | |
26f9e62d | 123 | #block-ryf-main-menu .navbar-nav { margin-left: 195px; } |
ccc0e97e | 124 | |
ee748803 AE |
125 | .navbar-default .navbar-nav > li > a:focus { |
126 | outline: none; | |
127 | } | |
128 | ||
1fb61412 VSB |
129 | .navbar-default .navbar-nav > li > a, |
130 | .navbar-default .navbar-nav > li > a:link, | |
131 | .navbar-default .navbar-nav > li > a:visited { | |
b4ed810a | 132 | color: #FFF; |
0af85f8e | 133 | background: #000; |
b4ed810a | 134 | border-bottom: 2px solid transparent; |
0af85f8e AE |
135 | padding-bottom: 10px; |
136 | margin-bottom: 5px; | |
b4ed810a VSB |
137 | } |
138 | ||
26f9e62d | 139 | .navbar-default .navbar-nav > li > a:focus, |
1fb61412 VSB |
140 | .navbar-default .navbar-nav > li.active > a:hover, |
141 | .navbar-default .navbar-nav > li > a:hover { | |
30d080b7 | 142 | color: #DDCC00; |
ee748803 | 143 | background: #000; |
30d080b7 | 144 | border-bottom: 2px solid #DDCC00; |
b4ed810a | 145 | padding-bottom: 5px; |
0af85f8e | 146 | margin-bottom: 10px; |
b4ed810a VSB |
147 | } |
148 | ||
1fb61412 VSB |
149 | .navbar-default .navbar-nav > li > a.is-active { |
150 | border-bottom: 2px solid #FFF; | |
151 | background: #000; | |
152 | padding-bottom: 5px; | |
153 | margin-bottom: 10px; | |
154 | } | |
155 | ||
cafdcde8 | 156 | .page-header { |
357e6db1 | 157 | border-bottom: 2px solid #000; |
cafdcde8 VSB |
158 | font-size: 2em; |
159 | } | |
160 | ||
2cbded31 VSB |
161 | .region-header .search-block-form { |
162 | width: 300px; | |
163 | float: right; | |
164 | } | |
165 | ||
1fb61412 VSB |
166 | nav .search-block-form { |
167 | position: absolute; | |
168 | width: 300px; | |
169 | right: 10%; | |
170 | top: 30px; | |
171 | } | |
172 | ||
173 | /* | |
174 | * @media screen and (min-width: 520px) and (max-width: 599px) { | |
175 | * .logo img { margin-left: 50px; } | |
176 | * #block-ryf-main-menu .navbar-nav { margin-left: 230px; } | |
177 | * } | |
178 | * | |
179 | * @media screen and (min-width: 600px) and (max-width: 767px) { | |
180 | * .logo img { margin-left: 100px; } | |
181 | * #block-ryf-main-menu .navbar-nav { margin-left: 280px; } | |
182 | * } | |
183 | * | |
184 | * @media screen and (max-width: 767px) { | |
185 | * .logo img { height: 150px; margin-top: 25px; } | |
186 | * .navbar-default { min-height: 230px; margin-bottom: 30px; } | |
187 | * #block-ryf-main-menu .navbar-nav { max-width: 130px; } | |
188 | * } | |
189 | * | |
190 | */ | |
191 | ||
81342c63 | 192 | @media screen and (min-width: 768px) { |
4f6bd63c VSB |
193 | |
194 | .navbar-default { | |
195 | margin-bottom: 100px; | |
196 | } | |
197 | .navbar-nav { | |
198 | margin-top: 40px; | |
199 | } | |
200 | .region-header .breadcrumb { | |
201 | position: absolute; | |
202 | top: -70px; | |
203 | left: 200px; | |
204 | background: none; | |
205 | } | |
206 | .region-navigation-collapsible .search-block-form { | |
207 | float: right; | |
208 | padding-top: 30px; | |
209 | width: 210px; | |
210 | } | |
81342c63 AE |
211 | } |
212 | ||
5235611e | 213 | |
cd0efca0 AE |
214 | /* Selectors */ |
215 | ||
5235611e | 216 | |
cd0efca0 AE |
217 | @media screen and (min-width: 768px) { |
218 | .form-inline .form-item .select-wrapper { | |
219 | display: block; | |
220 | } | |
221 | .form-inline .form-actions { | |
222 | margin-top: 21px; | |
223 | } | |
224 | } | |
225 | ||
5235611e | 226 | |
16670121 | 227 | /* RYF List */ |
b4ed810a | 228 | |
5235611e | 229 | |
bd3568e1 | 230 | .ryf-list-row { |
aa68642c AE |
231 | padding: 0; |
232 | margin: 0 auto; | |
233 | overflow: auto; | |
234 | } | |
235 | ||
16670121 VSB |
236 | .ryf-list { |
237 | float: left; | |
238 | margin: 0; | |
239 | padding: 0.5em; | |
1fb61412 | 240 | position: relative; |
16670121 VSB |
241 | list-style: none; |
242 | } | |
b4ed810a | 243 | |
16670121 VSB |
244 | .ryf-list article { |
245 | border: 1px solid #ececec; | |
246 | border-radius: 5px; | |
30d080b7 VSB |
247 | border-top: none; |
248 | border-left: none; | |
16670121 VSB |
249 | padding: 1em; |
250 | box-shadow: 2px 2px 5px #ddd; | |
251 | transition: 0.3s; | |
252 | } | |
1e7a45c4 | 253 | |
16670121 VSB |
254 | .ryf-list article:hover { |
255 | box-shadow: 0px 0px 5px #aaa; | |
b4ed810a | 256 | } |
1e7a45c4 | 257 | |
30d080b7 VSB |
258 | .ryf-list article:before { |
259 | content: ''; | |
260 | float: left; | |
261 | padding-top: 100%; | |
262 | } | |
263 | ||
16670121 | 264 | .ryf-list .field--type-image { |
c51f46de | 265 | width: 150px; |
de63e943 | 266 | height: 150px; |
16670121 VSB |
267 | background: #fff; |
268 | border-radius: 10px; | |
269 | display: flex; | |
c51f46de AE |
270 | align-items: center; |
271 | } | |
272 | ||
273 | .ryf-list .field--name-field-image { | |
00e72ccd | 274 | margin: 0 auto 10px auto; |
1e7a45c4 | 275 | } |
b4ed810a | 276 | |
16670121 VSB |
277 | .ryf-list img { |
278 | max-width: 150px; | |
00e72ccd AE |
279 | max-height: 150px; |
280 | object-fit: contain; | |
16670121 VSB |
281 | overflow: hidden; |
282 | } | |
283 | ||
284 | .ryf-list img:hover { | |
285 | border-radius: 0; | |
ccc0e97e | 286 | } |
b4ed810a | 287 | |
ccc0e97e | 288 | .ryf-list h2 { |
b4ed810a VSB |
289 | text-align: left; |
290 | font-size: 1.5em; | |
291 | font-weight: 500; | |
292 | line-height: 1.2em; | |
16670121 VSB |
293 | margin: 0; |
294 | padding: 0; | |
295 | padding-bottom: 1em; | |
30d080b7 VSB |
296 | height: 100px; |
297 | overflow: hidden; | |
b4ed810a VSB |
298 | } |
299 | ||
300 | .ryf-list a { | |
092ce192 | 301 | color: #337AB7; |
b4ed810a VSB |
302 | text-decoration: none; |
303 | } | |
304 | ||
305 | .ryf-list a:hover { | |
306 | color: #000; | |
307 | } | |
1e7a45c4 | 308 | |
ccc0e97e VSB |
309 | .ryf-list .node-readmore, |
310 | .ryf-list .tags, | |
311 | .ryf-list .supplier { | |
b4ed810a VSB |
312 | width: 100%; |
313 | float: left; | |
314 | font-size: 0.9em; | |
315 | border-top: 1px solid #ccc4c4; | |
316 | margin-top: 5px; | |
317 | padding-top: 5px; | |
318 | color: #afadad; | |
319 | } | |
16670121 VSB |
320 | |
321 | .ryf-list .node-readmore { | |
322 | text-align: right; | |
323 | } | |
324 | ||
e3fe14a1 | 325 | @media screen and (min-width: 450px) and (max-width: 659px) { |
bd3568e1 | 326 | .ryf-list-row { |
aa68642c AE |
327 | max-width: 600px; |
328 | } | |
e3fe14a1 AE |
329 | .ryf-list { |
330 | max-width: 300px; | |
331 | float: none; | |
332 | margin: 0 auto; | |
333 | } | |
334 | } | |
335 | @media screen and (min-width: 660px) and (max-width: 767px) { | |
bd3568e1 | 336 | .ryf-list-row { |
aa68642c AE |
337 | max-width: 600px; |
338 | } | |
e3fe14a1 AE |
339 | .ryf-list-row { |
340 | margin: 0 auto; | |
341 | max-width: 660px; | |
342 | } | |
343 | .ryf-list { | |
344 | max-width: 300px; | |
345 | float: left; | |
346 | } | |
b9bef353 | 347 | .auto-clear .col-xs-12:nth-child(odd){clear:left;} |
e3fe14a1 AE |
348 | } |
349 | ||
16670121 | 350 | |
dbd9476a AE |
351 | /* Vendors list */ |
352 | ||
5235611e | 353 | |
bd3568e1 | 354 | .vendors-list-row { |
df611aac | 355 | padding: 10px; |
00227dc4 AE |
356 | margin: 0 auto; |
357 | overflow: auto; | |
358 | } | |
359 | ||
dbd9476a AE |
360 | @media screen and (max-width: 767px) { |
361 | .vendors-list-row { | |
362 | margin: 0px auto; | |
363 | } | |
364 | ||
365 | .vendors-list { | |
366 | margin-bottom: 40px; | |
367 | list-style: none; | |
9203a4fd AE |
368 | |
369 | overflow: auto; | |
dbd9476a AE |
370 | } |
371 | ||
372 | .vendors-list .views-field-field-icon { | |
373 | width: 220px; | |
374 | ||
375 | margin: 0px auto 20px auto; | |
376 | } | |
377 | ||
378 | .vendors-list .views-field-field-icon img { | |
379 | margin: 0 auto; | |
380 | } | |
381 | ||
b766958e AE |
382 | .vendors-list .views-field-name, |
383 | .vendors-list .views-field-description__value { | |
dbd9476a AE |
384 | max-width: 300px; |
385 | margin: 0 auto 10px auto; | |
386 | } | |
387 | ||
388 | .vendors-list .views-field-name { | |
389 | font-weight: bold; | |
390 | font-size: 18px; | |
391 | text-align: center; | |
392 | } | |
393 | ||
394 | } | |
395 | ||
396 | @media screen and (min-width: 768px) { | |
397 | .vendors-list-row { | |
398 | width: 600px; | |
399 | margin: 0px auto; | |
400 | } | |
401 | ||
402 | .vendors-list { | |
403 | list-style: none; | |
404 | clear: left; | |
9203a4fd AE |
405 | |
406 | overflow: auto; | |
dbd9476a AE |
407 | } |
408 | ||
409 | .vendors-list .views-field-field-icon { | |
410 | width: 220px; | |
411 | height: 220px; | |
412 | ||
413 | margin-bottom: 40px; | |
414 | ||
415 | float: left; | |
416 | } | |
417 | ||
418 | .vendors-list .views-field-field-icon img { | |
419 | margin: 0 auto; | |
420 | } | |
421 | ||
b766958e AE |
422 | .vendors-list .views-field-name, |
423 | .vendors-list .views-field-description__value { | |
dbd9476a AE |
424 | margin-left: 300px; |
425 | } | |
426 | ||
427 | .vendors-list .views-field-name { | |
428 | margin-bottom: 10px; | |
429 | font-weight: bold; | |
430 | font-size: 18px; | |
431 | } | |
432 | } | |
433 | ||
434 | ||
f39cdbbc AE |
435 | /* Sidebars */ |
436 | ||
437 | ||
438 | @media screen and (max-width: 767px) { | |
439 | .path-products #block-views-block-categories-categories-block { display: none; } | |
440 | } | |
441 | ||
442 | ||
222cefba AE |
443 | /* Vendor and Category taxonomy term pages */ |
444 | ||
445 | ||
5df3859d AE |
446 | .view-taxonomy-term .view-header .field--name-field-icon img { |
447 | margin: 0 auto; | |
448 | } | |
449 | ||
450 | .view-filters { | |
451 | clear: left; | |
452 | } | |
453 | ||
728032e9 AE |
454 | .view-taxonomy-term .view-header .field--name-field-vendor-support-link, |
455 | .view-taxonomy-term .view-header .field--name-field-vendor-support-email { | |
456 | margin-top: 15px; | |
457 | } | |
458 | ||
222cefba | 459 | @media screen and (max-width: 559px) { |
c71d4a08 | 460 | .view-taxonomy-term.view-display-id-taxonomy_term_vendor .view-header { |
222cefba AE |
461 | margin: 0 auto 40px auto; |
462 | ||
463 | overflow: auto; | |
464 | } | |
465 | ||
466 | .view-taxonomy-term .view-header .field--name-field-icon { | |
467 | margin: 0 auto 20px auto; | |
468 | width: 220px; | |
469 | } | |
470 | ||
728032e9 AE |
471 | .view-taxonomy-term .view-header .field--name-description, |
472 | .view-taxonomy-term .view-header .field--name-field-vendor-support-link, | |
473 | .view-taxonomy-term .view-header .field--name-field-vendor-support-email { | |
222cefba | 474 | max-width: 360px; |
728032e9 | 475 | margin: 15px auto 0 auto; |
222cefba AE |
476 | padding: 0 10px; |
477 | } | |
478 | ||
222cefba AE |
479 | } |
480 | ||
5df3859d | 481 | @media screen and (min-width: 560px) { |
c71d4a08 | 482 | .view-taxonomy-term.view-display-id-taxonomy_term_vendor .view-header { |
222cefba AE |
483 | margin: 0 0 40px 0; |
484 | ||
485 | overflow: auto; | |
486 | } | |
487 | ||
488 | .view-taxonomy-term .view-header .field--name-field-icon { | |
489 | width: 220px; | |
490 | ||
491 | float: left; | |
492 | } | |
493 | ||
728032e9 AE |
494 | .view-taxonomy-term .view-header .field--name-description, |
495 | .view-taxonomy-term .view-header .field--name-field-vendor-support-link, | |
496 | .view-taxonomy-term .view-header .field--name-field-vendor-support-email { | |
222cefba AE |
497 | margin-left: 260px; |
498 | } | |
499 | ||
222cefba AE |
500 | } |
501 | ||
502 | @media screen and (min-width: 768px) { | |
503 | .view-taxonomy-term .view-header { | |
300bf8f5 | 504 | max-width: 700px; |
222cefba AE |
505 | } |
506 | } | |
507 | ||
508 | ||
4d7da022 AE |
509 | /* Product */ |
510 | ||
5235611e | 511 | |
d679ca4e AE |
512 | @media screen and (max-width: 767px) { |
513 | .page-node-type-product .product { | |
514 | max-width: 382px; | |
515 | margin: 0 auto; | |
516 | } | |
517 | } | |
518 | ||
21d9e444 AE |
519 | @media screen and (min-width: 768px) and (max-width: 991px) { |
520 | .page-node-type-product .product { | |
521 | width: 700px; | |
522 | margin: 0 auto; | |
523 | } | |
4d7da022 AE |
524 | } |
525 | ||
21d9e444 AE |
526 | @media screen and (min-width: 992px) { |
527 | .page-node-type-product .product { | |
528 | width: 800px; | |
529 | margin: 0 auto; | |
530 | } | |
531 | } | |
4d7da022 | 532 | |
d679ca4e AE |
533 | .page-node-type-product .product .field--name-field-image { |
534 | padding: 10px; | |
4d7da022 | 535 | |
d679ca4e AE |
536 | border: 1px solid #888; |
537 | border-radius: 10px; | |
538 | } | |
4d7da022 | 539 | |
aa0f7f3d AE |
540 | .page-node-type-product .product .field--name-field-image img { |
541 | margin: 0 auto; | |
542 | } | |
543 | ||
d679ca4e AE |
544 | .page-node-type-product .product .field--name-field-extra-images { |
545 | padding: 5px; | |
4d7da022 | 546 | |
d679ca4e AE |
547 | display: flex; |
548 | align-items: center; | |
4d7da022 | 549 | |
d679ca4e AE |
550 | border: 1px solid #888; |
551 | border-radius: 10px; | |
552 | } | |
4d7da022 | 553 | |
d679ca4e AE |
554 | .page-node-type-product .product .field--name-field-extra-images .field--item { |
555 | display: inline-block; | |
556 | margin: auto; | |
557 | padding: 5px; | |
558 | } | |
4d7da022 | 559 | |
b766958e AE |
560 | .page-node-type-product .product .field--name-field-categories, |
561 | .page-node-type-product .product .field--name-field-vendor { | |
d679ca4e AE |
562 | margin: 10px 10px 20px 0px; |
563 | padding: 10px; | |
564 | border: 1px solid #888; | |
565 | border-radius: 10px; | |
566 | } | |
567 | ||
433e107d AE |
568 | .page-node-type-product .product .field--name-field-categories .field--item { |
569 | display: list-item; | |
570 | list-style: circle; | |
571 | margin-left: 15px; | |
572 | } | |
573 | ||
28ff698e AE |
574 | /* product page colors */ |
575 | .page-node-type-product .product .field--name-field-image { | |
eee49201 | 576 | background-color: #fff; |
28ff698e AE |
577 | border-color: #aaa; |
578 | } | |
579 | .page-node-type-product .product .field--name-field-extra-images { | |
ebebd91d | 580 | background-color: #f3f3f3; |
28ff698e AE |
581 | border-color: #aaa; |
582 | } | |
583 | .page-node-type-product .product .field--name-field-categories { | |
8be2a870 AE |
584 | background-color: #def; |
585 | border-color: #8ad; | |
28ff698e AE |
586 | } |
587 | .page-node-type-product .product .field--name-field-vendor { | |
8be2a870 AE |
588 | background-color: #dfe; |
589 | border-color: #8da; | |
28ff698e AE |
590 | } |
591 | ||
d679ca4e AE |
592 | @media screen and (max-width: 767px) { |
593 | .page-node-type-product .product .field--name-field-extra-images { | |
594 | margin: 10px auto 0px auto; | |
21d9e444 | 595 | } |
4d7da022 | 596 | |
b766958e AE |
597 | .page-node-type-product .product .field--name-body, |
598 | .page-node-type-product .product .field--name-field-vendor-product-link, | |
599 | .page-node-type-product .product .field--name-field-certification-details, | |
600 | .page-node-type-product .product .field--name-field-certification-date, | |
601 | .page-node-type-product .product .field--name-field-source-code-links { | |
21d9e444 AE |
602 | margin-bottom: 20px; |
603 | } | |
4d7da022 | 604 | |
b766958e AE |
605 | .page-node-type-product .product .field--name-field-categories, |
606 | .page-node-type-product .product .field--name-field-vendor { | |
9b263139 | 607 | margin-bottom: 0px; |
21d9e444 | 608 | float: left; |
21d9e444 | 609 | } |
4d7da022 | 610 | |
21d9e444 | 611 | .page-node-type-product .product .field--name-body { |
9b263139 | 612 | padding-top: 20px; |
21d9e444 AE |
613 | clear: both; |
614 | } | |
4d7da022 AE |
615 | } |
616 | ||
21d9e444 AE |
617 | |
618 | @media screen and (min-width: 768px) { | |
619 | .page-node-type-product .product .field--name-field-image { | |
620 | width: 382px; | |
21d9e444 | 621 | float: left; |
21d9e444 AE |
622 | } |
623 | ||
624 | .page-node-type-product .product .field--name-field-extra-images { | |
625 | float: left; | |
626 | clear: left; | |
627 | ||
628 | width: 382px; | |
21d9e444 | 629 | margin-top: 10px; |
21d9e444 AE |
630 | } |
631 | ||
b766958e AE |
632 | .page-node-type-product .product .field--name-body, |
633 | .page-node-type-product .product .field--name-field-vendor-product-link, | |
634 | .page-node-type-product .product .field--name-field-certification-details, | |
635 | .page-node-type-product .product .field--name-field-certification-date, | |
636 | .page-node-type-product .product .field--name-field-source-code-links { | |
21d9e444 AE |
637 | margin-left: 400px; |
638 | margin-bottom: 20px; | |
639 | } | |
640 | ||
641 | .page-node-type-product .product .field--name-field-categories { | |
642 | float: left; | |
643 | clear: left; | |
644 | } | |
645 | ||
646 | .page-node-type-product .product .field--name-field-vendor { | |
647 | float: left; | |
648 | } | |
649 | ||
4d7da022 AE |
650 | } |
651 | ||
652 | ||
9f8b2429 AE |
653 | /* News and Product Announcements */ |
654 | ||
655 | ||
656 | .page-node-type-product-announcement .page-header, | |
fa74cee2 | 657 | .page-node-type-product-announcement .tabs--primary, |
9f8b2429 AE |
658 | .page-node-type-product-announcement .region-content, |
659 | .page-node-type-general-news-item .page-header, | |
fa74cee2 | 660 | .page-node-type-general-news-item .tabs--primary, |
dca6d2ea AE |
661 | .page-node-type-general-news-item .region-content, |
662 | .page-node-type-page .page-header, | |
fa74cee2 | 663 | .page-node-type-page .tabs--primary, |
dca6d2ea | 664 | .page-node-type-page .region-content, |
9f8b2429 | 665 | .path-news .page-header, |
fa74cee2 | 666 | .path-news .tabs--primary, |
9f8b2429 AE |
667 | .path-news .region-content { |
668 | max-width: 800px; | |
669 | margin: 0 auto; | |
670 | } | |
671 | ||
8499d9cd AE |
672 | /* don't apply above max-width rule to main page */ |
673 | .path-frontpage .page-header, | |
fa74cee2 | 674 | .path-frontpage .tabs--primary, |
8499d9cd AE |
675 | .path-frontpage .region-content { |
676 | max-width: 2000px; /* high number beyond the max */ | |
677 | } | |
678 | ||
dca6d2ea AE |
679 | .page-node-type-page .page-header { |
680 | margin-bottom: 20px; | |
681 | } | |
682 | ||
e9d294a4 AE |
683 | .path-news h2, |
684 | .block-views-blocknews-news-block article h2 { | |
9f8b2429 AE |
685 | font-size: 25px; |
686 | } | |
687 | ||
688 | .page-node-type-product-announcement .author, | |
689 | .page-node-type-general-news-item .author { | |
690 | margin: 10px 0 20px 0; | |
691 | font-style: oblique; | |
692 | } | |
693 | ||
694 | .page-node-type-product-announcement .field--name-body, | |
695 | .page-node-type-general-news-item .field--name-body { | |
696 | margin-bottom: 20px; | |
697 | } | |
698 | ||
699 | .page-node-type-product-announcement .field--name-field-external-news-link, | |
700 | .page-node-type-general-news-item .field--name-field-external-news-link { | |
701 | margin-bottom: 20px; | |
702 | } | |
703 | ||
704 | .page-node-type-product-announcement .field--name-field-vendor-page, | |
705 | .page-node-type-product-announcement .field--name-field-announced-products { | |
706 | margin-bottom: 20px; | |
707 | } | |
708 | ||
709 | ||
41399eb4 AE |
710 | /* Search Results */ |
711 | ||
712 | ||
713 | @media screen and (max-width: 600px) { | |
f12cbe51 | 714 | .path-search .region-content > ol { |
41399eb4 AE |
715 | width: 300px; |
716 | } | |
717 | } | |
718 | @media screen and (min-width: 601px) and (max-width 1000px) { | |
f12cbe51 | 719 | .path-search .region-content > ol { |
41399eb4 AE |
720 | width: 560px; |
721 | } | |
722 | } | |
723 | @media screen and (min-width: 1001px) { | |
f12cbe51 | 724 | .path-search .region-content > ol { |
41399eb4 AE |
725 | width: 900px; |
726 | } | |
727 | } | |
728 | ||
f12cbe51 | 729 | .path-search .region-content > ol { |
41399eb4 AE |
730 | margin: 0 auto; |
731 | padding-left: 0; | |
732 | overflow: auto; | |
733 | } | |
734 | ||
f12cbe51 | 735 | .path-search .region-content > ol li { |
41399eb4 AE |
736 | width: 280px; |
737 | height: 280px; | |
738 | margin: 0px auto; | |
739 | padding: 10px; | |
740 | ||
741 | float: left; | |
742 | ||
743 | list-style: none; | |
744 | overflow: hidden; | |
745 | } | |
746 | ||
f12cbe51 | 747 | .path-search .region-content > ol li h3 { |
41399eb4 AE |
748 | text-align: center; |
749 | } | |
750 | ||
f12cbe51 | 751 | .path-search .region-content > ol li .search-image { |
41399eb4 AE |
752 | width: 100px; |
753 | height: 100px; | |
754 | ||
755 | margin: 0 auto; | |
756 | ||
757 | display: flex; | |
758 | align-items: center; | |
759 | } | |
760 | ||
f12cbe51 | 761 | .path-search .region-content > ol li img { |
41399eb4 AE |
762 | } |
763 | ||
764 | ||
16670121 VSB |
765 | /* Footer */ |
766 | ||
5235611e | 767 | |
16670121 VSB |
768 | .footer { |
769 | background: #333; | |
770 | color: #FFF; | |
771 | } | |
772 | ||
06d8ab9f | 773 | /* full page width for footer */ |
c900f9d4 | 774 | .footer { |
c900f9d4 AE |
775 | width: 100%; |
776 | } | |
777 | ||
30d080b7 | 778 | .footer a { color: #DDCC00; } |
16670121 VSB |
779 | |
780 | .footer a:hover { color: #FFF; } | |
781 | ||
782 | .footer h4 { font-weight: bold; } | |
783 | ||
784 | .footer .copyright { font-size: 0.9em; text-align: center; width: 80%; margin-top: 1em; border-top: 1px solid #111; padding: 1em; } | |
785 | ||
0bd91ac3 AE |
786 | #fsf-logo-footer { margin-bottom: 10px; } |
787 | ||
18f8d3b1 AE |
788 | @media print { #fsf-logo-footer { filter: invert(100%) } } |
789 |