Debian Codegraph @

docs/autodocs/source/aibs_sphinx/templates/portalHeader.html

raw ◀ ▶
1 Debian patch touch this file
1 <style>
2
3 /* the icon font-family definition and helper classes */
4 @font-face {
5 font-family: 'portal_icon_font';
6 src: url('_static/external_assets/stylesheets/portal_icon_font.eot?39505677');
7 src: url('_static/external_assets/stylesheets/portal_icon_font.eot?39505677#iefix') format('embedded-opentype'),
8 url('_static/external_assets/stylesheets/portal_icon_font.woff?39505677') format('woff'),
9 url('_static/external_assets/stylesheets/portal_icon_font.ttf?39505677') format('truetype'),
10 url('_static/external_assets/stylesheets/portal_icon_font.svg?39505677#portal_icon_font') format('svg');
11 font-weight: normal;
12 font-style: normal;
13 }
14
15 [class^="icon-"]:before, [class*=" icon-"]:before {
16 font-family: "portal_icon_font";
17 font-style: normal;
18 font-weight: normal;
19 speak: none;
20
21 display: inline-block;
22 text-decoration: inherit;
23 width: 1em;
24 margin-right: .2em;
25 text-align: center;
26 /* opacity: .8; */
27
28 /* For safety - reset parent styles, that can break glyph codes*/
29 font-variant: normal;
30 text-transform: none;
31
32 /* fix buttons height, for twitter bootstrap */
33 line-height: 1em;
34
35 /* Animation center compensation - margins should be symmetric */
36 /* remove if not needed */
37 margin-left: .2em;
38
39 }
40
41 .icon-spin5:before { content: '\e806'; } /* '' */
42 .icon-left-open-1:before { content: '\e81e'; } /* '' */
43 .icon-plus-1:before { content: '\e801'; } /* '' */
44 .icon-facebook:before { content: '\e816'; } /* '' */
45 .icon-gplus:before { content: '\e818'; } /* '' */
46 .icon-linkedin-3:before { content: '\e815'; } /* '' */
47 .icon-twitter:before { content: '\e817'; } /* '' */
48 .icon-youtube-play:before { content: '\e805'; } /* '' */
49 .icon-plus-2:before { content: '\e809'; } /* '' */
50 .icon-record-1:before { content: '\e81c'; } /* '' */
51 .icon-cancel:before { content: '\e80b'; } /* '' */
52 .icon-search:before { content: '\e804'; } /* '' */
53 .icon-cancel-2:before { content: '\e80c'; } /* '' */
54 .icon-plus-4:before { content: '\e80d'; } /* '' */
55 .icon-cancel-3:before { content: '\e80e'; } /* '' */
56 .icon-plus:before { content: '\e808'; } /* '' */
57 .icon-down-open:before { content: '\e800'; } /* '' */
58 .icon-right-open:before { content: '\e802'; } /* '' */
59 .icon-up-open:before { content: '\e803'; } /* '' */
60 .icon-stop:before { content: '\e813'; } /* '' */
61 .icon-cancel-1:before { content: '\e820'; } /* '' */
62 .icon-plus-3:before { content: '\e80a'; } /* '' */
63 /* end icon font helpers */
64
65 /* icon font spin animation */
66 .animate-spin {
67 -moz-animation: spin 2s infinite linear;
68 -o-animation: spin 2s infinite linear;
69 -webkit-animation: spin 2s infinite linear;
70 animation: spin 2s infinite linear;
71 display: inline-block;
72 }
73 @-moz-keyframes spin {
74 0% {
75 -moz-transform: rotate(0deg);
76 -o-transform: rotate(0deg);
77 -webkit-transform: rotate(0deg);
78 transform: rotate(0deg);
79 }
80
81 100% {
82 -moz-transform: rotate(359deg);
83 -o-transform: rotate(359deg);
84 -webkit-transform: rotate(359deg);
85 transform: rotate(359deg);
86 }
87 }
88 @-webkit-keyframes spin {
89 0% {
90 -moz-transform: rotate(0deg);
91 -o-transform: rotate(0deg);
92 -webkit-transform: rotate(0deg);
93 transform: rotate(0deg);
94 }
95
96 100% {
97 -moz-transform: rotate(359deg);
98 -o-transform: rotate(359deg);
99 -webkit-transform: rotate(359deg);
100 transform: rotate(359deg);
101 }
102 }
103 @-o-keyframes spin {
104 0% {
105 -moz-transform: rotate(0deg);
106 -o-transform: rotate(0deg);
107 -webkit-transform: rotate(0deg);
108 transform: rotate(0deg);
109 }
110
111 100% {
112 -moz-transform: rotate(359deg);
113 -o-transform: rotate(359deg);
114 -webkit-transform: rotate(359deg);
115 transform: rotate(359deg);
116 }
117 }
118 @-ms-keyframes spin {
119 0% {
120 -moz-transform: rotate(0deg);
121 -o-transform: rotate(0deg);
122 -webkit-transform: rotate(0deg);
123 transform: rotate(0deg);
124 }
125
126 100% {
127 -moz-transform: rotate(359deg);
128 -o-transform: rotate(359deg);
129 -webkit-transform: rotate(359deg);
130 transform: rotate(359deg);
131 }
132 }
133 @keyframes spin {
134 0% {
135 -moz-transform: rotate(0deg);
136 -o-transform: rotate(0deg);
137 -webkit-transform: rotate(0deg);
138 transform: rotate(0deg);
139 }
140
141 100% {
142 -moz-transform: rotate(359deg);
143 -o-transform: rotate(359deg);
144 -webkit-transform: rotate(359deg);
145 transform: rotate(359deg);
146 }
147 }
148 /* end spin animation */
149
150 @font-face {
151 font-family: 'bebas_neueregular';
•152 src: url('/usr/share/fonts/opentype/bebas-neue/BebasNeue-Regular.otf') format('opentype');
153 font-weight: normal;
154 font-style: normal;
155 }
156
157 /* top chrome styles */
158 #top_chrome {
159
160 width:100%;
161 height:28px;
162 background-color:#163E65;
163 }
164
165 .chrome_link_block {
166
167 color:#fff !important;
168 display:inline-block;
169 height:100%;
170 max-height:28px;
171 }
172
173 .chrome_link_block:hover {
174
175 background-color:#eee;
176 color:#0779BE !important;
177 cursor:pointer;
178 }
179
180 #top_chrome a {
181
182 color:inherit !important;
183 text-decoration:none;
184 }
185
186 #top_chrome a:hover {
187
188 color:inherit !important;
189 }
190
191 #top_chrome_buttons {
192
193 float:right;
194 margin-right:50px;
195 }
196
197 .chrome_button {
198
199 font-family:arial,sans-serif;
200 font-weight:bold;
201 display:inline-block;
202 font-size:9px;
203 text-align:left;
204 text-decoration:none;
205 margin:9px 20px 10px 20px;
206 }
207
208 .chrome_active {
209
210 background-color:#1b7abd;
211 color:#fff;
212 }
213
214
215 /* header element styles*/
216 #header_content {
217
218 font-family: bebas_neueregular, arial, sans-serif;
219 font-size:22px;
220 color:#0779be;
221 letter-spacing:0.03em;
222
223 position:relative;
224 width:calc(100% - 112px);
225 min-width:800px;
226 height:76px;
227 border-bottom:2px solid #A5A8AB;
228 margin-left:50px;
229 margin-right:50px;
230 z-index:9999; /* IT-9508 */
231 }
232
233 #portal_logo {
234
235 position:absolute;
236 top:20px;
237 left:0px;
238 width:236px;
239 }
240
241 #portal_tabs {
242
243 position: absolute;
244 bottom: 12px;
245 left: 0px;
246 margin-bottom: -12px;
247 display: block;
248 }
249
250 .horizontal_list
251 {
252 margin: 0;
253 padding: 0;
254 list-style-type: none;
255 display: inline;
256 }
257
258 .horizontal_list li {
259
260 display: inline;
261 }
262
263 #portal_tab_menu_container {
264
265 display:none;
266 }
267
268 #portal_search_input_group {
269
270 position:absolute;
271 margin: 0;
272 padding: 0;
273 bottom:12px;
274 right:0px;
275 border:1px solid #DAD9D3;
276 color:#DAD9D3;
277 }
278
279 #portal_search_input_group input {
280
281 margin: 0;
282 padding: 0;
283 border:none;
284 width:110px;
285 color:#DAD9D3;
286 font-family:Helvetica,sans-serif;
287 font-size:12px;
288 height:28px;
289 margin-left:10px;
290
291 outline:none;
292 }
293
294 input::-ms-clear {
295 display: none;
296 }
297
298 #portal_search_input_group i {
299
300 font-size:0.8em;
301 cursor:pointer;
302 }
303
304 #pSiteSearchTextInput:focus {
305
306 color:#000;
307 }
308
309 .icon_menu_down {
310
311 font-size: 12px;
312 margin-left: 4px;
313 vertical-align: text-top;
314 padding-top: 4px;
315 display: inline-block;
316 }
317
318 .portal_tab_item {
319
320 background-color: #fff;
321 padding: 12px;
322 padding-left:20px;
323 padding-right:20px;
324 display: inline-block !important;
325 }
326
327 .portal_tab_item a:hover {
328
329 color:#fbe300;
330 }
331
332 .portal_tab_item:hover {
333
334 background-color: #0779be;
335 color:#fbe300 !important;
336 }
337
338
339 .portal_menu_active {
340
341 background-color: #EEEEEE;
342 }
343
344 .portal_menu_item_active {
345
346 color:#fbe300 !important;
347 }
348
349 .portal_tab_active {
350
351 color:#a5a8ab !important;
352 }
353
354 #header_content a {
355
356 color:inherit !important;
357 }
358
359 #header_content a:hover {
360
361 background-color: #0779be;
362 color:#fbe300 !important;
363 }
364
365 #header_content ul {
366
367 list-style: none;
368 position: relative;
369 top: 58px;
370 display: inline-table;
371 }
372
373 #header_content ul ul {
374
375 display:none;
376 opacity:0;
377 }
378
379 /* the fly out menus */
380 #header_content ul li:hover > ul,
381 #header_content ul li.hover > ul {
382
383 position: absolute;
384 top: 48px;
385 z-index:999;
386
387 display: block;
388 width: 152px;
389 padding:0px;
390 padding-top:20px;
391 padding-bottom:10px;
392 font-size: 12px;
393 font-family: Arial,Sans-Serif;
394 font-weight: bold;
395 text-transform: uppercase;
396
397 background-color: rgba(8,122,191,0.98);
398 color: #fff !important;
399 opacity: 1;
400
401 -webkit-animation: fade 0.25s;
402 animation: fade 0.25s;
403 }
404
405 @-webkit-keyframes fade {
406 from {opacity: 0}
407 to {opacity: 1}
408 }
409 @keyframes fade {
410 from {opacity: 0}
411 to {opacity: 1}
412 }
413
414 #header_content ul li:hover > ul li {
415
416 padding: 10px;
417 padding-top: 0px;
418 padding-left: 20px;
419 display: block;
420 opacity:1;
421 }
422
423 #header_content ul li:hover > ul a {
424
425 display: block;
426 opacity:1;
427 white-space:nowrap;
428 }
429
430 #portal_menu_start_list {
431
432 left: 81px;
433
434 /* IE sauce */
435 left:85px\9;
436
437 /* Safari sauce */
438 (;left:79px;);
439 }
440
441 #portal_menu_atlases_list {
442
443 left: 290px;
444 width: 210px !important;
445 height: 236px;
446
447 padding-bottom:5px !important;
448
449 /* IE sauce */
450 left: 303px\9;
451 height: 225px\9;
452
453 /* Safari sauce */
454 (;left:279px;);
455 }
456
457 #portal_menu_tools_list {
458
459 left: 500px;
460 width: 172px !important;
461 height: 236px;
462
463 padding-bottom:5px !important;
464
465 /* IE sauce */
466 left: 513px\9;
467 height:225px\9;
468
469 /* Safari sauce */
470 (;left:489px;);
471 (;height:227px;);
472 }
473
474 /* mozilla sauce */
475 @-moz-document url-prefix() {
476
477 #header_content {
478
479 height:107px;
480 }
481
482 #portal_menu_start_list {
483
484 left:85px;
485 }
486
487 #portal_menu_atlases_list {
488
489 left: 302px;
490 }
491
492 #portal_menu_tools_list {
493
494 left: 512px;
495 height:236px;
496 }
497 }
498
499
500 /* make it look OK on iPad also */
501 @media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
502
503 #portal_menu_start_list {
504
505 left:81px;
506 }
507
508 #portal_menu_atlases_list {
509
510 left: 291px;
511 }
512
513 #portal_menu_tools_list {
514
515 left: 501px;
516 height:236px;
517 }
518 }
519 @media all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape) {
520
521 #portal_menu_start_list {
522
523 left:81px;
524 }
525
526 #portal_menu_atlases_list {
527
528 left: 291px;
529 }
530
531 #portal_menu_tools_list {
532
533 left: 501px;
534 height:236px;
535 }
536 }
537
538 .portal_menu_list_heading {
539
540 color:#9ccae5;
541 border-bottom:1px solid #9ccae5;
542 padding-bottom:5px !important;
543 }
544
545 .portal_menu_list_heading + li {
546
547 padding-top:10px !important;
548 }
549
550 .portal_menu_list_heading li {
551
552 padding-bottom:0px;
553 }
554
555 #portal_menu_atlases_list li:last-of-type {
556
557 padding-bottom:15px !important;
558 }
559
560 .icon-spin5 {
561
562 color:#000;
563 }
564 </style>
565 <div id="pHeader">
566 <div id="top_chrome">
567 <div id="top_chrome_buttons">
568 <div class="chrome_link_block"><a href="http://www.alleninstitute.org" target="_blank" class="chrome_button">ALLEN INSTITUTE</a></div>
569 </div>
570 </div>
571
572 <div id="header_content">
573
574 <a href="http://AllenInstitute.github.io">
575 <img id="portal_logo" style="border:0;" src="_static/external_assets/images/AIBS_Logo.png"/>
576 </a>
577 </div>
578 </div>
579
580 <script>
581
582 jQuery('#portal_tab_menu').bind('touchstart', function() {
583
584 if(window.console)
585 console.log("touchstart");
586 });
587 </script>