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