Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / chrome / common / extensions / docs / templates / private / fatnav.html
1 <nav id="fatnav" role="navigation">
2 <ul>
3   {{#l0:items}}
4     <li class="pillar">
5       <span class="toplevel">{{l0.title}}</span>
6       <ul class="expandee">
7         {{#l1:l0.items}}
8           <li class="submenu">{{l1.title}}
9             <ul>
10              {{?l1.items}}{{#l2:l1.items}}
11                 <li class="category">
12                   {{?l2.href}}<a href="{{l2.href}}">{{/l2.href}}
13                   {{l2.title}}
14                   {{?l2.href}}</a>{{/l2.href}}
15                   <ul>
16                     {{?l2.items}}{{#l3:l2.items}}
17                       <li><a href="{{l3.href}}">{{l3.title}}</a>
18                       </li>
19                     {{/l2.items}}{{/l2.items}}
20                   </ul>
21                 </li>
22               {{/l1.items}}{{/l1.items}}
23             </ul>
24           </li>
25         {{/l0.items}}
26       </ul>
27     </li>
28   {{/items}}
29   <li id="search">
30     <img src="{{static}}/images/search.png">
31     <div class="expandee">
32
33 <!-- override search styles set globally by site.css -->
34 <style>
35 .gsc-above-wrapper-area, .gsc-result-info {
36   font-size: 11px;
37 }
38 .gs-webResult div, .gs-result div {
39   line-height: initial;
40 }
41 .gs-webResult a, .gs-result a {
42   text-decoration: none;
43 }
44 td.gcsc-branding-img-noclear, .gcsc-branding-img-noclear a {
45   width: 51px;
46   height: 15px;
47   vertical-align: top;
48 }
49 .gsc-table-result, .gsc-thumbnail-inside, .gsc-url-top {
50   padding: 0;
51 }
52 .gsc-control-cse tr, .gsc-control-cse td, .gsc-control-cse th {
53  padding: inherit;
54  border: none;
55 }
56 .gsc-control-cse {
57   white-space: normal;
58   border: none;
59   padding: 0 1em;
60 }
61 #search .gsc-control-cse img {
62   height: inherit;
63   width: inherit;
64 }
65 .gsc-control-cse table {
66   margin: initial;
67 }
68 .gsc-control-cse * {
69   box-sizing: initial;
70   -webkit-box-sizing: initial;
71   -moz-box-sizing: initial;
72 }
73 #fatnav .expandee .gsc-control-cse a {
74  padding: 0;
75  color: inherit;
76 }
77 </style>
78
79       <form id="chrome-docs-cse-search-form" action="https://google.com/cse">
80         <input type="search" id="chrome-docs-cse-input" name="q" placeholder="What are you looking for?">
81         <input type="hidden" name="cx" value="010997258251033819707:7owyldxmpkc" />
82         <input type="hidden" name="ie" value="UTF-8" />
83       </form>
84       <gcse:searchresults-only gname="results"></gcse:searchresults-only>
85     </div>
86   </li>
87 </ul>
88 </nav>
89