• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2
3Copyright (c) 2013-2016, Tyler Gilbert
4All rights reserved.
5
6Redistribution and use in source and binary forms, with or without
7modification, are permitted provided that the following conditions are met:
8    * Redistributions of source code must retain the above copyright
9      notice, this list of conditions and the following disclaimer.
10    * Redistributions in binary form must reproduce the above copyright
11      notice, this list of conditions and the following disclaimer in the
12      documentation and/or other materials provided with the distribution.
13    * Neither the name of the <organization> nor the
14      names of its contributors may be used to endorse or promote products
15      derived from this software without specific prior written permission.
16
17THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
18ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
21DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
26SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27*/
28
29$( document ).ready(function() {
30
31	$("div.headertitle").addClass("page-header");
32	$("div.title").addClass("h1");
33
34	$('li > a[href="index.html"] > span').before("<i class='fa fa-cog'></i> ");
35	$('li > a[href="index.html"] > span').text("Stratify Labs");
36	$('li > a[href="modules.html"] > span').before("<i class='fa fa-square'></i> ");
37	$('li > a[href="namespaces.html"] > span').before("<i class='fa fa-bars'></i> ");
38	$('li > a[href="annotated.html"] > span').before("<i class='fa fa-list-ul'></i> ");
39	$('li > a[href="classes.html"] > span').before("<i class='fa fa-book'></i> ");
40	$('li > a[href="inherits.html"] > span').before("<i class='fa fa-sitemap'></i> ");
41	$('li > a[href="functions.html"] > span').before("<i class='fa fa-list'></i> ");
42	$('li > a[href="functions_func.html"] > span').before("<i class='fa fa-list'></i> ");
43	$('li > a[href="functions_vars.html"] > span').before("<i class='fa fa-list'></i> ");
44	$('li > a[href="functions_enum.html"] > span').before("<i class='fa fa-list'></i> ");
45	$('li > a[href="functions_eval.html"] > span').before("<i class='fa fa-list'></i> ");
46	$(".icona .icon").addClass("label label-danger");
47	$(".icona .icon").after(" ");
48
49	$('img[src="closed.png"]').before("<i class='fa fa-chevron-right'></i> ");
50	$('img[src="closed.png"]').hide();
51
52	$("div.qindex").css("margin-bottom", "3em");
53	$("div.textblock").css("margin-bottom", "3em");
54	$("table.memberdecls").css("margin-bottom", "3em");
55	$("table.memberdecls").css("margin-top", "3em");
56
57
58	$("span.arrow").replaceWith("<i class='fa fa-chevron-right'></i> ");
59
60	$("ul.tablist").addClass("nav nav-pills");
61	$("ul.tablist").css("margin-top", "0.5em");
62	$("ul.tablist").css("margin-bottom", "0.5em");
63	$("li.current").addClass("active");
64	$("iframe").attr("scrolling", "yes");
65
66	$("#nav-path > ul").addClass("breadcrumb");
67
68	$("table.params").addClass("table");
69	$("div.ingroups").wrapInner("<small></small>");
70	$("div.levels").css("margin", "0.5em");
71	$("div.levels > span").addClass("btn btn-default btn-xs");
72	$("div.levels > span").css("margin-right", "0.25em");
73
74	$("table.directory").addClass("table table-striped table-bordered");
75	$("[class^=separator]").remove();
76
77	$("div.summary > a").addClass("btn btn-default btn-xs");
78	$("table.fieldtable").addClass("table");
79	$(".fragment").addClass("well");
80	$(".memitem").addClass("panel panel-default");
81	$(".memproto").addClass("panel-heading");
82	$(".memdoc").addClass("panel-body");
83	$("span.mlabel").addClass("label label-info");
84
85	$("table.memberdecls").addClass("table table-bordered");
86	//$("[class^=memitem]").addClass("active");
87
88	$("div.ah").addClass("btn btn-default");
89	$("span.mlabels").addClass("pull-right");
90	$("table.mlabels").css("width", "100%")
91	$("td.mlabels-right").addClass("pull-right");
92
93	$("div.ttc").addClass("panel panel-info");
94	$("div.ttname").addClass("panel-heading");
95	$("div.ttdef,div.ttdoc,div.ttdeci").addClass("panel-body");
96
97
98});