Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Unified Diff: chrome/common/extensions/docs/templates/private/fatnav.html

Issue 102593005: Clean patch with DCC static content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed tests for sidenav_data_source Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/templates/private/fatnav.html
diff --git a/chrome/common/extensions/docs/templates/private/fatnav.html b/chrome/common/extensions/docs/templates/private/fatnav.html
new file mode 100644
index 0000000000000000000000000000000000000000..b82b0a54e77441ebd575e19d942080576eb7d783
--- /dev/null
+++ b/chrome/common/extensions/docs/templates/private/fatnav.html
@@ -0,0 +1,89 @@
+<nav id="fatnav" role="navigation">
+<ul>
+ {{#l0:items}}
+ <li class="pillar">
+ <span class="toplevel">{{l0.title}}</span>
+ <ul class="expandee">
+ {{#l1:l0.items}}
+ <li class="submenu">{{l1.title}}
+ <ul>
+ {{?l1.items}}{{#l2:l1.items}}
+ <li class="category">
+ {{?l2.href}}<a href="{{l2.href}}">{{/l2.href}}
+ {{l2.title}}
+ {{?l2.href}}</a>{{/l2.href}}
+ <ul>
+ {{?l2.items}}{{#l3:l2.items}}
+ <li><a href="{{l3.href}}">{{l3.title}}</a>
+ </li>
+ {{/l2.items}}{{/l2.items}}
+ </ul>
+ </li>
+ {{/l1.items}}{{/l1.items}}
+ </ul>
+ </li>
+ {{/l0.items}}
+ </ul>
+ </li>
+ {{/items}}
+ <li id="search">
+ <img src="{{static}}/images/search.png">
+ <div class="expandee">
+
+<!-- override search styles set globally by site.css -->
+<style>
+.gsc-above-wrapper-area, .gsc-result-info {
+ font-size: 11px;
+}
+.gs-webResult div, .gs-result div {
+ line-height: initial;
+}
+.gs-webResult a, .gs-result a {
+ text-decoration: none;
+}
+td.gcsc-branding-img-noclear, .gcsc-branding-img-noclear a {
+ width: 51px;
+ height: 15px;
+ vertical-align: top;
+}
+.gsc-table-result, .gsc-thumbnail-inside, .gsc-url-top {
+ padding: 0;
+}
+.gsc-control-cse tr, .gsc-control-cse td, .gsc-control-cse th {
+ padding: inherit;
+ border: none;
+}
+.gsc-control-cse {
+ white-space: normal;
+ border: none;
+ padding: 0 1em;
+}
+#search .gsc-control-cse img {
+ height: inherit;
+ width: inherit;
+}
+.gsc-control-cse table {
+ margin: initial;
+}
+.gsc-control-cse * {
+ box-sizing: initial;
+ -webkit-box-sizing: initial;
+ -moz-box-sizing: initial;
+}
+#fatnav .expandee .gsc-control-cse a {
+ padding: 0;
+ color: inherit;
+}
+</style>
+
+ <form id="chrome-docs-cse-search-form" action="http://google.com/cse">
+ <input type="search" id="chrome-docs-cse-input" name="q" placeholder="What are you looking for?">
+ <input type="hidden" name="cx" value="010997258251033819707:7owyldxmpkc" />
+ <input type="hidden" name="ie" value="UTF-8" />
+ </form>
+ <gcse:searchresults-only gname="results"></gcse:searchresults-only>
+ </div>
+ </li>
+</ul>
+</nav>
+

Powered by Google App Engine
This is Rietveld 408576698