[introspection-doc-generator] Elliot's changes to the templates and adding all resources into a single place
- From: Alan Knowles <alank src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [introspection-doc-generator] Elliot's changes to the templates and adding all resources into a single place
- Date: Mon, 29 Mar 2010 14:20:07 +0000 (UTC)
commit 0106fe5711fbc4bab7561782a12d07c9dced25f4
Author: Alan Knowles <alan akkbhome com>
Date: Mon Mar 29 22:19:17 2010 +0800
Elliot's changes to the templates and adding all resources into a single place
HTML layout for documentation now seperate from css/js/gif etc.
docs/class.html | 173 +++------
docs/class_ix.html | 49 +++
docs/class_ix.tmpl | 44 --
docs/elbow-end.gif | Bin 844 -> 0 bytes
docs/index.html | 36 ++
docs/index.tmpl | 131 ------
docs/{ => resources}/default.css | 143 ++++---
docs/resources/library_gnome.css | 715 ++++++++++++++++++++++++++++++++
docs/resources/library_gnome_print.css | 9 +
docs/{ => resources}/page.js | 0
docs/s.gif | Bin 43 -> 0 bytes
11 files changed, 951 insertions(+), 349 deletions(-)
---
diff --git a/docs/class.html b/docs/class.html
index 0f1afd8..33f5218 100644
--- a/docs/class.html
+++ b/docs/class.html
@@ -1,112 +1,36 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-
+
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:roo="http://www.akbkhome.com/roojs1/" xml:lang="en" lang="en">
<head>
- <meta http-equiv="content-type" content="text/html; charset="UTF-8" />
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="generator" content="JsDoc Toolkit" />
{! Link.base = "../"; /* all generated links will be relative to this */ !}
<title>JsDoc Reference - {+data.name+}</title>
+ <script type="text/javascript" src="page.js"></script>
- <link rel="stylesheet" type="text/css" href="default.css" />
-
- <script type="text/javascript" src="page.js">
-
- </script>
-
-
+ <link rel="stylesheet" type="text/css" href="default.css" />
+ <link rel="stylesheet" type="text/css" href="library_gnome.css"></link>
+ <link media="print" rel="stylesheet" type="text/css" href="library_gnome_print.css"></link>
+
+
</head>
<body onload="RooDocsPage.onload();">
<div id="page">
- <ul id="general">
- <li id="siteaction-gnome_home" class="home">
- <a href="http://www.gnome.org/">Home</a>
- </li>
- <li id="siteaction-gnome_news">
- <a href="http://news.gnome.org">
- News</a>
- </li>
- <li id="siteaction-gnome_projects">
- <a href="http://www.gnome.org/projects/">
- Projects</a>
- </li>
- <li id="siteaction-gnome_art">
- <a href="http://art.gnome.org">
- Art</a>
- </li>
- <li id="siteaction-gnome_support">
- <a href="http://www.gnome.org/support/">
- Support</a>
- </li>
- <li id="siteaction-gnome_development">
- <a href="http://developer.gnome.org">
- Development</a>
- </li>
- <li id="siteaction-gnome_community">
- <a href="http://www.gnome.org/community/">
- Community</a>
- </li>
- </ul>
- <div id="header">
- <div id="header-wrap">
- <h1>
- Un-official Seed Documentation<!-- GNOME Documentation Library--></h1>
- <div id="control">
- <div id="search">
- <form method="get" action="http://www.google.com/custom">
- <input type="hidden" name="domains" value="library.gnome.org">
- </input>
- <input type="hidden" name="sitesearch" value="library.gnome.org">
- </input>
- <input type="text" name="q" maxlength="255" size="15" class="searchTerms">
- </input>
- <input type="submit" class="searchButton" value="Search">
- </input>
- </form>
- </div>
- </div>
- <div id="tabs">
- <ul id="portal-globalnav">
- <li id="portaltab-root">
- <a href="http://library.gnome.org/">
- <span>
- Home</span>
- </a>
- </li>
- <li id="portaltab-users">
- <a href="http://library.gnome.org/users/">
- <span>
- Users</span>
- </a>
- </li>
- <li id="portaltab-sysadmins">
- <a href="http://library.gnome.org/admin/">
- <span>
- Administrators</span>
- </a>
- </li>
- <li id="portaltab-developers" class="selected">
- <a href="http://library.gnome.org/devel/">
- <span>
- Developers</span>
- </a>
- </li>
- <li id="portaltab-about">
- <a href="http://library.gnome.org/about/about">
- <span>
- About</span>
- </a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
+
+ <div id="header">
+ <div id="header-wrap">
+ <h1>
+ Un-official Seed Documentation<!-- GNOME Documentation Library-->
+ </h1>
+
+ </div>
+ </div>
@@ -117,12 +41,13 @@
-
-<div class="left-class-list" style="width:18%;float:left;">
- <a href="index.shtml"> Back to Seed Clases </a> <br/><br/>
- <!--#include virtual="_ix_{+data.ns+}.shtml" -->
-</div>
-
+
+ <div class="left-class-list" style="width:18%;float:left;">
+ <a href="index.html"> Back to Seed Clases </a>
+ <br/><br/>
+ {+data.left_bar+}
+ </div>
+
<div class="body-wrap" style="width:78%;float:left;">
<!-- ============================== links to methods. ================================= -->
@@ -144,24 +69,26 @@
<!-- ============================== inheritance Block. ================================= -->
<if test="data.extendsClasses.length">
<div class="inheritance res-block">
- <pre class="res-block-inner">{!
+ <p class="res-block-inner">{!
var iblock_indent = 0;
data.extendsClasses.reverse().map(
function($) {
- output += iblock_indent ? ('<img src="s.gif" height="1" width="' +
- iblock_indent + '"/><img src="elbow-end.gif" class="elbow"/>') : '';
- output += new Link().toSymbolLong($.alias) + "\n";
- iblock_indent += 20;
+ output += (iblock_indent ? '<img src="elbow-end.gif" class="elbow elbow_indent' +
+ + iblock_indent + '" alt="parent-child marker"/>' : '');
+ output += new Link().toSymbolLong($.alias);
+ output += "\n<br/>";
+ iblock_indent += 1;
+
}
)
-
- !}<img src="s.gif" height="1" width="{+ iblock_indent +}"/><img class="elbow" src="http://www.akbkhome.com/roojs1/images/default/tree/elbow-end.gif"/>{+data.alias+}
+ !}<img class="elbow elbow_indent{+iblock_indent+}" src="elbow-end.gif" alt="parent-child marker"/>
+ {+data.alias+}
- </pre>
+ </p>
</div>
</if>
@@ -366,7 +293,8 @@
<if test="!cfgProperties.length">
<table cellspacing="0" class="member-table">
- <caption class="Empty">Properties- Has None</caption>
+ <caption class="Empty">Properties</caption>
+ <tr><td>None</td></tr>
</table>
</if>
@@ -441,19 +369,15 @@
ownMethods.push.apply(ownMethods, data.methods.sort(makeSortby("name")));
!}
- <!-- static's first
-
-
- -->
-
- <!-- then dynamics first -->
+ <!-- constructors, then statics, then dynamics -->
<if test="!ownMethods.length">
<table cellspacing="0" class="member-table">
- <caption class="Empty">Methods - Has None</caption>
+ <caption class="Empty">Public Methods</caption>
+ <tr><td>None</td></tr>
</table>
</if>
@@ -686,7 +610,8 @@
<if test="!ownEvents.length">
<table cellspacing="0" class="member-table">
- <caption class="Empty">Events - Has None</caption>
+ <caption class="Empty">Events</caption>
+ <tr><td>None</td></tr>
</table>
</if>
@@ -804,16 +729,18 @@
</table>
</if>
- <a id="{+data.alias+}-references"></a>
- <!--#include virtual="references.{+data.alias+}.html" -->
-
+ <a id="{+data.alias+}-references"></a>
+ <!--references-->
+</div>
+</div>
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">
<if test="data.copyright">©{+data.copyright+}<br /></if>
- Documentation generated by <a href="http://www.akbkhome.com/svn/seed/JSDOC">Seed/Jstoolkit</a>
- Based on
+ Documentation generated by
+ <a href="http://git.gnome.org/browse/introspection-doc-generator">Introspection Doc Generator</a>
+ Loosely Based on
<a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> on {+new Date()+}
</div>
</body>
diff --git a/docs/class_ix.html b/docs/class_ix.html
new file mode 100755
index 0000000..96602b1
--- /dev/null
+++ b/docs/class_ix.html
@@ -0,0 +1,49 @@
+<h2 class="classTitle">{+ (new Link().toSymbol(data.name)) +}</h2>
+<br/>
+
+<h3>Classes</h3>
+
+<if test="data.objects.length > 0">
+ <ul>
+ <for each="c" in="data.objects">
+ <li> {+ (new Link().toSymbol(data.name + '.' + c)) +} </li>
+ </for>
+ </ul>
+</if>
+
+<h3>Interfaces</h3>
+<if test="data.interfaces.length > 0">
+ <ul>
+ <for each="c" in="data.interfaces">
+ <li> {+ (new Link().toSymbol(data.name + '.' + c)) +} </li>
+ </for>
+ </ul>
+</if>
+
+<h3>Structs</h3>
+<if test="data.structs.length > 0">
+ <ul>
+ <for each="c" in="data.structs">
+ <li> {+ (new Link().toSymbol(data.name + '.' + c)) +} </li>
+ </for>
+ </ul>
+</if>
+
+<h3>Unions</h3>
+<if test="data.unions.length > 0">
+ <ul>
+ <for each="c" in="data.unions">
+ <li> {+ (new Link().toSymbol(data.name + '.' + c)) +} </li>
+ </for>
+ </ul>
+</if>
+
+<h3>Enums</h3>
+<if test="data.enums.length > 0">
+ <ul>
+ <for each="c" in="data.enums">
+ <li> {+ (new Link().toSymbol(data.name + '.' + c)) +} </li>
+ </for>
+
+ </ul>
+</if>
\ No newline at end of file
diff --git a/docs/index.html b/docs/index.html
new file mode 100755
index 0000000..6a1062d
--- /dev/null
+++ b/docs/index.html
@@ -0,0 +1,36 @@
+-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
+- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
++<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <title>Seed Documentation</title>
+ <link rel="stylesheet" type="text/css" href="default.css" />
+ <link rel="stylesheet" type="text/css" href="library_gnome.css"></link>
+ <link media="print" rel="stylesheet" type="text/css" href="library_gnome_print.css"></link>
+ </head>
+
+ <body>
+
+<div id="page">
+
+ <div id="header">
+ <div id="header-wrap">
+ <h1>Un-official Seed Documentation</h1>
+ </div>
+ </div>
+
+
+ <for each="thisClass" in="data">
+
+ <div>
+ <h2 class="classTitle">{+ (new Link().toSymbol(thisClass)) +}</h2>
+ </div>
+
+ </for>
+
+</div>
+ </body>
+ </html>
+
+
\ No newline at end of file
diff --git a/docs/default.css b/docs/resources/default.css
old mode 100644
new mode 100755
similarity index 84%
rename from docs/default.css
rename to docs/resources/default.css
index 40be75d..3ccdc37
--- a/docs/default.css
+++ b/docs/resources/default.css
@@ -1,11 +1,30 @@
-
- import url("http://library.gnome.org/skin/lgo.css");
- import url("http://library.gnome.org/skin/print.css") print;
-
-
-/* default.css
+/* default.css
/<style>
/ */
+.detailList dd {
+ clear: both;
+}
+.left-class-list ol, .left-class-list ul {
+ list-style-image:none;
+ list-style-position:outside;
+ list-style-type:none;
+ margin: 4px;
+ padding: 4px;
+}
+.left-class-list {
+ background:#F8F8F8 none repeat scroll 0 0;
+ border:1px solid white;
+ float:left;
+ margin:5px;
+ padding:5px;
+ width:18%;
+}
+.class-picture {
+ float:right;
+ margin:20px 10px 10px;
+
+}
+
body
{
font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
@@ -82,7 +101,10 @@ h1.classTitle
line-height:130%;
}
-h2 { font-size: 110%; }
+h2 {
+ font-size: 110%;
+ padding-left: 1em;
+}
/* --------- the labels at the top of the page... -------- */
.class-summary-table .label
@@ -91,11 +113,11 @@ h2 { font-size: 110%; }
margin-bottom: 4px;
}
-.class-summary-table
+.class-summary-table
{
margin-left:10px;
margin-top:5px;
-
+
}
.class-summary-table td
{
@@ -104,13 +126,37 @@ h2 { font-size: 110%; }
}
.elbow
{
- vertical-align: middle;
- padding-right: 2px;
- }
-
+ vertical-align: middle;
+ padding-right: 2px;
+}
+
+.elbow_indent2 {
+ padding-left: 10px;
+}
+
+.elbow_indent3 {
+ padding-left: 20px;
+}
+
+.elbow_indent4 {
+ padding-left: 40px;
+}
+
+.elbow_indent5 {
+ padding-left: 50px;
+}
+
+.elbow_indent6 {
+ padding-left: 50px;
+}
+
+.elbow_indent7 {
+ padding-left: 60px;
+}
+
/** --------------------- Caption above tables -----------------------**/
caption.Empty,
-caption,
+caption,
div.sectionTitle
{
background-color: #7F8FB1;
@@ -145,12 +191,10 @@ div.sectionTitle { margin-bottom: 8px; }
td.attributes, .fixedFont
{
line-height: 15px;
-/* color: #002EBE; */
font-family: "Courier New",Courier,monospace;
font-size: 13px;
margin-left: 10px;
}
-
td.attributes, .fixedFont a
{
color: #999999;
@@ -162,7 +206,7 @@ td.attributes, .fixedFont b i
}
.itemname
{
- color: #002EBE;
+ color: #002EBE;
}
@@ -175,7 +219,6 @@ td.attributes, .fixedFont b i
.summaryTable td.nameDescription, .description
{
- font: 13px Palatino,Garamond,serif;
line-height: 15px;
padding: 4px;
padding-left: 4px;
@@ -191,17 +234,17 @@ ul.inheritsList
}
.detailList {
- margin-left: 20px;
+ margin-left: 20px;
padding-top: 10px;
line-height: 20px;
clear: left;
}
-.detailList dt
-{
- margin-left: 20px;
+.detailList dt
+{
+ margin-left: 20px;
clear: left;
float: left;
-
+
}
.detailList .heading
@@ -209,7 +252,7 @@ ul.inheritsList
font-weight: bold;
padding-bottom: 6px;
margin-left: 0;
-
+
}
.light, td.attributes, .light a:link, .light a:visited
@@ -229,15 +272,15 @@ ul.inheritsList
clear: none;
float: left;
margin-left: 10px;
-
-
+
+
}
-.detailList dt
+.detailList dt
{
-
-
+
+
margin-bottom:: 12px;
margin-left: 20px;
}
@@ -272,7 +315,7 @@ ul.inheritsList
text-align:left;
background-color: #f8f8f8;
}
-div.hr {
+div.hr {
background:#CCCCCC none repeat scroll 0%;
height:1px;
line-height:1px;
@@ -287,7 +330,7 @@ div.hr {
width:100%;
}
-.member-table th {
+.member-table th {
background-color:#eee;
border-left:1px solid #EEE;
border-right:1px solid #DDD;
@@ -295,11 +338,11 @@ div.hr {
padding:3px;
text-align:left;
vertical-align:middle;
-
-
+
+
font-size:11px;
white-space:nowrap;
-
+
}
.member-table td.micon {
@@ -310,28 +353,28 @@ div.hr {
}
.member-table td.micon a {
-
+
display:block;
-
+
text-decoration: none;
-
+
height:18px;
width:16px;
}
.member-table td.micon,
-.member-table td.sig,
+.member-table td.sig,
.member-table td.msource {
border-top:1px solid #D0D0D0;
vertical-align:top;
padding: 5px;
font-size: 13px;
}
-.expanded .mdesc .short{
+.expanded .mdesc .short{
display:none;
}
.expanded .mdesc .comments,
-.expanded .mdesc .long {
+.expanded .mdesc .long {
display:block;
margin-top: 10px;
margin-left: 10px;
@@ -339,20 +382,20 @@ div.hr {
.mdesc .comments,
-.mdesc .long {
+.mdesc .long {
display:none;
}
-.mdesc .short {
+.mdesc .short {
color: #999;
margin-left: 10px;
}
.expandable td.micon a {
- background:transparent url(http://devel.akbkhome.com/extjs/resources/images/default/tree/elbow-plus-nl.gif) no-repeat scroll 0px 0px;
+ background:transparent url(elbow-plus-nl.gif) no-repeat scroll 0px 0px;
cursor:pointer}
.expanded td.micon a {
- background:transparent url(http://devel.akbkhome.com/extjs/resources/images/default/tree/elbow-minus-nl.gif) no-repeat scroll 0px 0px;
+ background:transparent url(elbow-minus-nl.gif) no-repeat scroll 0px 0px;
cursor:pointer;
}
@@ -360,7 +403,7 @@ div.hr {
/* ---- table with no contents */
-caption.Empty
+caption.Empty
{
background-color:#EEEEEE;
border:medium none;
@@ -374,7 +417,7 @@ caption.Empty
/* fix up lists back to normal */
-.body-wrap ul
+.body-wrap ul
{
ist-style-image: none;
list-style-position: outside;
@@ -406,7 +449,7 @@ caption.Empty
padding:10px;
width:95%;
float:left;
-
+
}
@@ -420,18 +463,16 @@ caption.Empty
.notInherited td.micon,
.notInherited td.msource
{
-
+
background-color: #7F8FB1;
color : #fff;
font-weight: bold;
- /*border: 1px solid red; */
}
-td.msource
+td.msource
{
width: 160px;
}
-
.detailList dd {
clear: both;
}
diff --git a/docs/resources/library_gnome.css b/docs/resources/library_gnome.css
new file mode 100755
index 0000000..2fee732
--- /dev/null
+++ b/docs/resources/library_gnome.css
@@ -0,0 +1,715 @@
+body {
+ margin: 0px;
+ padding: 0px;
+ font-family: sans-serif;
+ background: white;
+ color: black;
+ height: 101%;
+}
+
+div {
+ margin: 0;
+}
+
+body.with-star {
+ background: white url(star.png) -100px -200px no-repeat;
+}
+
+#page {
+ margin: 0px;
+ padding: 0px;
+}
+
+#page ul {
+ margin: 0;
+}
+
+div.in-column {
+ margin: 0 0 2em 1em;
+ float: right;
+ max-width: 12em;
+}
+
+hr {
+ color: #888;
+ background: #888;
+ border: 0;
+ height: 1px;
+ width: 90%;
+ text-align: center;
+ clear: both;
+}
+
+
+div.body {
+ clear: both;
+}
+
+
+div.sidebar {
+ position: absolute;
+ text-align: left;
+ right: 0px;
+ top: 60px;
+ width: 27ex;
+ padding-left: 1ex;
+ border-left: 1ex solid #eee;
+ margin-top: 4em;
+}
+
+div.sidebar h2 {
+ margin-top: 0;
+ padding: 5px 2ex 5px 2ex;
+ background: url(t.png) top left repeat-y;
+ font-size: 100%;
+}
+
+ul.i18n,
+ul.toc {
+ padding: 0;
+ padding-left: 20px;
+ margin: 0;
+ margin-right: 10px;
+ list-style: none;
+}
+
+ul.i18n li,
+ul.toc li {
+ margin: 0;
+ margin-left: 1em;
+ padding: 0;
+ list-style: circle;
+}
+
+ul.toc li a {
+ text-decoration: none;
+ color: black;
+}
+
+ul.toc li a:hover {
+ text-decoration: underline;
+}
+
+#general {
+ list-style: none;
+ background: #2E3436 url(general_bg.png) 0 100% repeat-x;
+ text-align: right;
+ padding: 0 1ex;
+ margin: 0;
+ font-size: 70%;
+}
+
+#general li {
+ display: inline;
+ background: url(general_separator.png) 0 0 no-repeat;
+ padding-top: 10px;
+ padding-bottom: 8px;
+ margin-left: 0px;
+ margin-top: 0px;
+}
+
+#general li a {
+ font-weight: bold;
+ color: #FFFFFF;
+ margin: 0 2ex;
+ text-decoration: none;
+ line-height: 30px;
+}
+
+#general li a:hover {
+ text-decoration: underline;
+}
+
+#general .home {
+ float: left;
+ background: url(general_separator.png) 100% 0 no-repeat;
+ padding-top: 0;
+ padding-bottom: 0;
+}
+
+#general .home a {
+ float: left;
+ background: url(foot.png) 7px 50% no-repeat;
+ margin-left: 0;
+ padding-left: 27px;
+}
+
+
+#header {
+ background: #729FCF url(top-header-gradient.png) top left repeat-x;
+ float: left;
+ width: 100%;
+ font-size: 75%;
+}
+
+#header-wrap {
+ background: transparent url(library.png) 15px 10px no-repeat;
+ min-height: 67px;
+}
+
+#header h1 {
+ margin: 0;
+ margin-left: 85px;
+ padding-top: 25px;
+ font-size: 200%;
+ color: #eeeeec;
+}
+
+#tabs {
+ background: url(bar.png) 0 100% repeat-x;
+ width: 100%;
+ float: left;
+ margin: 0;
+ padding: 0;
+}
+
+#portal-globalnav {
+ float: right;
+ list-style: none;
+ margin: 0;
+ margin-right: 3ex;
+}
+
+#portal-globalnav li {
+ float: left;
+ margin: 0;
+ margin-left: 0.2ex;
+ font-size: 2ex;
+}
+
+#portal-globalnav li a:hover {
+ color: #111111;
+}
+
+#portal-globalnav li a {
+ float: left;
+ text-decoration: none;
+ color: #555555;
+ background: url(tab_left.png) 0 0 no-repeat;
+ padding: 7px 0 7px 7px;
+ border-bottom: 2px solid #CCCCCC;
+}
+
+#portal-globalnav li span {
+ background: url(tab_right.png) 100% 0 no-repeat;
+ padding: 7px 28px 7px 19px;
+}
+
+#portal-globalnav li.selected a {
+ color: #3566A5;
+ background: url(tab_left.png) 0 -57px no-repeat;
+ border-bottom: none;
+ padding-top: 8px;
+ padding-bottom: 8px;
+}
+
+#portal-globalnav li.selected a span {
+ background: url(tab_right.png) 100% -57px no-repeat;
+ padding-top: 8px;
+ padding-bottom: 8px;
+}
+
+
+
+div.articleinfo h1 {
+ padding-top: 1ex;
+ color: #3f3f3f;
+}
+
+div.articleinfo h3.abstract {
+ font-weight: normal;
+ border: 5px solid #eee;
+ padding: 1ex;
+ -moz-border-radius: 10px;
+ -khtml-border-radius: 10px;
+ font-size: 100%;
+ background: white;
+}
+
+div.articleinfo dd.affiliation {
+ color: #a4a4a4;
+ margin-bottom: 1ex;
+}
+
+div.articleinfo dl {
+ margin-left: 1em;
+}
+
+dl.doc-index {
+ margin-left: 1em;
+}
+
+dl.doc-index p {
+ margin: 0.5ex 0;
+}
+
+dl.doc-index dt {
+ margin-top: 2em;
+}
+
+dl.doc-index dd {
+ margin: 0em 1em 2em 1em;
+}
+
+dl.doc-index dt a {
+ text-decoration: none;
+ font-weight: bold;
+ font-size: 110%;
+}
+
+dl.doc-index dt a:hover {
+ text-decoration: underline;
+}
+
+div.body {
+ background-color: transparent;
+ border: none;
+ padding: 1em;
+}
+
+div.body-sidebar {
+ margin-right: 27ex;
+}
+
+a {
+ color: #3465a4;
+}
+
+div.navbar {
+ margin: 0 29ex 0 2ex;
+}
+
+h1.title {
+ font-size: 1.72em;
+ margin: 0; padding: 0;
+ color: #3f3f3f;
+}
+
+h1.title a {
+ color: inherit;
+ text-decoration: none;
+}
+
+div#language {
+ position: absolute;
+ right: 2em;
+ top: 6ex;
+}
+
+/* from goran css */
+
+#dev, #usr, #adm {
+ float: left;
+ margin: 20px 3% 0px 3%;
+ width: 42%;
+ padding: 5px;
+}
+
+div.sidebar #dev, div.sidebar #usr, div.sidebar #adm {
+ float: none;
+ width: 90%;
+ font-size: 90%;
+ margin-top: 0;
+}
+
+br.clear {
+ clear: both;
+}
+
+#dev p, #usr p, #adm p {
+ margin: 20px;
+}
+
+#usr h2 a, #usr h2 span,
+#dev h2 a, #dev h2 span,
+#adm h2 a, #adm h2 span {
+ display: block; width: 80%;
+ text-decoration: none;
+ padding: 10px 20px;
+}
+#usr h2 a, #usr h2 span { color: #ffffff; }
+#dev h2 a, #dev h2 span { color: #2e3436; }
+#adm h2 a, #adm h2 span { color: #ffffff; }
+
+#usr h2, #dev h2, #adm h2 {
+ height: 40px;
+ font-size: 11pt;
+ -moz-border-radius: 10px;
+ -khtml-border-radius: 10px;
+ padding: 0px;
+ background: none;
+}
+
+#usr h2 { background: #729fcf url(user-icon.png) 95% no-repeat; }
+#dev h2 { background: #edd400 url(dev-icon.png) 95% no-repeat; }
+#adm h2 { background: #00b147 url(adm-icon.png) 95% no-repeat; }
+
+#updated h3 { margin-bottom: 15px; }
+
+div.sidebar h4 a {
+ text-decoration: none;
+ margin: 0px;
+}
+div.sidebar p.i18n {
+ margin-top: -15px;
+}
+
+div.sidebar fieldset {
+ margin-top: 30px;
+ border: none;
+}
+
+table#top {
+ margin: 1em auto;
+ clear: both;
+ border: 1px solid #faa;
+ background: #fee;
+ width: 95%;
+}
+
+div.book, div.chapter, div.refentry, div.sect1, div.index {
+ margin: 1em;
+}
+
+.synopsis, .classsynopsis
+{
+ background: #eee;
+ border: solid 1px #aaa;
+ padding: 0.5em;
+}
+.programlisting
+{
+ background: #eef;
+ border: solid 1px #aaf;
+ padding: 0.5em;
+}
+.variablelist
+{
+ padding: 4px;
+ margin-left: 3em;
+}
+.variablelist td:first-child
+{
+ vertical-align: top;
+}
+
+.variablelist p {
+ margin: 0;
+}
+
+div.other-languages ul, div.downloads ul {
+ list-style: none;
+ padding: 0 1em;
+ margin: 0;
+}
+
+div.other-languages ul li, div.downloads ul li {
+ margin: 0;
+ padding: 0;
+}
+
+div.other-languages a, div.downloads a {
+ text-decoration: none;
+}
+
+div.other-languages a:hover, div.downloads a:hover {
+ text-decoration: underline;
+}
+
+ul.versions {
+ margin: 0;
+ padding: 0;
+ padding-left: 1em;
+}
+
+ul.versions li {
+ display: inline;
+ margin: 0 0.5ex;
+}
+
+h2.category {
+ background-position: center left;
+ background-repeat: no-repeat;
+ margin-top: 2em;
+ color: #006;
+ min-height: 32px;
+}
+
+h2.cat-accessibility-directory { padding-left: 40px; background-image: url(icons/accessibility-directory.png); }
+h2.cat-gnome-util { padding-left: 40px; background-image: url(icons/gnome-util.png); }
+h2.cat-gnome-joystick { padding-left: 40px; background-image: url(icons/gnome-joystick.png); }
+h2.cat-gnome-graphics { padding-left: 40px; background-image: url(icons/gnome-graphics.png); }
+h2.cat-gnome-globe { padding-left: 40px; background-image: url(icons/gnome-globe.png); }
+h2.cat-gnome-applications { padding-left: 40px; background-image: url(icons/gnome-applications.png); }
+h2.cat-gnome-other { padding-left: 40px; background-image: url(icons/gnome-other.png); }
+h2.cat-gnome-devel { padding-left: 40px; background-image: url(icons/gnome-devel.png); }
+h2.cat-gnome-multimedia { padding-left: 40px; background-image: url(icons/gnome-multimedia.png); }
+h2.cat-gnome-system { padding-left: 40px; background-image: url(icons/gnome-system.png); }
+h2.cat-gnome-other { padding-left: 40px; background-image: url(icons/gnome-other.png); }
+
+h2.cat-gdp-documentation { padding-left: 40px; background-image: url(icons/gdp-32.png); }
+
+h3.subsection {
+ color: #006;
+ font-style: italic;
+ margin-left: 1ex;
+}
+
+span.lang-code {
+ font-size: 70%;
+ color: #666;
+}
+
+li.active-language {
+ font-weight: bold;
+ margin-bottom: 1ex;
+}
+
+p.no-translation {
+ font-style: italic;
+ color: #888;
+ font-size: 80%;
+}
+
+p.no-translation a {
+ text-decoration: none;
+}
+
+div.subindex {
+ margin: 2em 7em 1em 4em;
+ padding-left: 110px;
+ background-position: top left;
+ background-repeat: no-repeat;
+ min-height: 96px;
+}
+
+div.subindex p {
+ color: #666;
+}
+
+div.subindex h2 {
+ padding: 0;
+ margin: 0;
+}
+
+div.subindex h2 a {
+ text-decoration: inherit;
+}
+
+div.subindex h2 a:hover {
+ text-decoration: underline;
+}
+
+h1.subindex {
+ padding-left: 110px;
+ background-position: top left;
+ background-repeat: no-repeat;
+ line-height: 96px;
+ min-height: 96px;
+}
+
+#subindex-references { background-image: url(icons/api-96.png); }
+#subindex-guides { background-image: url(icons/guides-96.png); }
+#subindex-tools { background-image: url(icons/tools-96.png); }
+#subindex-gdp { background-image: url(icons/gdp-96.png); }
+#subindex-gnome-devel { background-image: url(icons/gnome-development-96.png); }
+
+div#search {
+ position: absolute;
+ text-align: right;
+ right: 1em;
+ top: 5em;
+ font-size: 75%;
+}
+
+form#symlookup {
+ margin: 2em 1em 2em 0em;
+ text-align: right;
+}
+
+input.searchTerms {
+ border: 1px solid #888888;
+}
+
+div#search input.searchTerms {
+ margin-right: 1ex;
+}
+
+input.searchButton {
+ background: white url(search_icon.gif) no-repeat scroll 2px center;
+ color: black;
+ cursor: pointer;
+ padding: 1px 1px 1px 15px;
+ text-transform: none;
+ border: 1px solid #888888;
+}
+
+form#symlookup input.searchTerms {
+ width: 100%;
+ margin-bottom: 1ex;
+}
+
+p.other-versions {
+ font-size: 80%;
+ color: #888;
+}
+
+p.other-versions a {
+ text-decoration: none;
+}
+
+p.upcoming-deprecation {
+ padding: 0.5em 1em 0.5em 60px;
+ min-height: 48px;
+ border: solid 1px #e0e0df;
+ background-color: #fffff0;
+ background-position: 6px 0.5em;
+ background-repeat: no-repeat;
+ background-image: url(/skin/admon-warning.png);
+}
+
+p.canonical-ref {
+ padding: 0.5em 1em 0.5em 60px;
+ min-height: 48px;
+ border: solid 1px #e0e0df;
+ margin-right: 29ex;
+ background-color: #fffff0;
+ background-position: 6px 0.5em;
+ background-repeat: no-repeat;
+ background-image: url(/skin/admon-note.png);
+}
+
+ul.indextoc {
+ margin: 1em 0;
+ padding: 0 0 0 1em;
+ list-style: circle;
+}
+
+ul.indextoc ul {
+ padding: 0 0 0 1em;
+}
+
+ul.indextoc li {
+ font-weight: bold;
+}
+
+ul.indextoc li li {
+ font-weight: normal;
+}
+
+ul.indextoc > li {
+ margin-bottom: 1ex;
+}
+
+ul.indextoc a {
+ text-decoration: none;
+}
+
+div.downloads h4 {
+ min-height: 24px;
+ line-height: 24px;
+ background: transparent url(gnome-mime-application-x-archive.png) top left no-repeat;
+ padding-left: 26px;
+}
+
+div.downloads p.devhelp-note {
+ font-size: 80%;
+}
+
+div.downloads p.devhelp-note {
+ font-size: 80%;
+ color: #444;
+}
+
+span.module-more {
+ font-size: 75%;
+}
+
+dl.doc-index dt span.module-more a {
+ font-weight: normal;
+}
+
+div#footer {
+ margin: 2ex 30ex 2ex 1ex;
+ clear: both;
+ text-align: center;
+ border-top: 1px solid gray;
+ padding-top: 1.5em;
+ color: #888;
+}
+
+div#footer p {
+ margin: 0;
+ font-size: 80%;
+}
+
+div#footer a {
+ color: #3465a4;
+ text-decoration: none;
+}
+
+div#footer a:hover {
+ text-decoration: underline;
+}
+
+div.devel-remark {
+ font-style: italic;
+ color: #800;
+ margin: 1ex 0;
+}
+
+p.caution-nightly {
+ background: #eee url(caution-nightly.png) no-repeat;
+ font-weight: bold;
+ border: 1px outset black;
+ padding: 2px 2px 2px 50px;
+ text-align: center;
+ margin-bottom: 2em;
+ min-height: 50px;
+}
+
+/* code listings */
+
+.listing_code .programlisting .cbracket { color: #a40000; } /* tango: scarlet red 3 */
+.listing_code .programlisting .comment { color: #a1a39d; } /* tango: aluminium 4 */
+.listing_code .programlisting .function { color: #000000; font-weight: bold; }
+.listing_code .programlisting .function a { color: #11326b; font-weight: bold; } /* tango: sky blue 4 */
+.listing_code .programlisting .keyword { color: #4e9a06; } /* tango: chameleon 3 */
+.listing_code .programlisting .linenum { color: #babdb6; } /* tango: aluminium 3 */
+.listing_code .programlisting .normal { color: #000000; }
+.listing_code .programlisting .number { color: #75507b; } /* tango: plum 2 */
+.listing_code .programlisting .preproc { color: #204a87; } /* tango: sky blue 3 */
+.listing_code .programlisting .string { color: #c17d11; } /* tango: chocolate 2 */
+.listing_code .programlisting .type { color: #000000; }
+.listing_code .programlisting .type a { color: #11326b; } /* tango: sky blue 4 */
+.listing_code .programlisting .symbol { color: #ce5c00; } /* tango: orange 3 */
+
+.listing_frame {
+ /* tango:sky blue 1 */
+ border: solid 1px #729fcf;
+ padding: 0px;
+}
+
+.listing_lines, .listing_code {
+ margin-top: 0px;
+ margin-bottom: 0px;
+ padding: 0.5em;
+}
+.listing_lines {
+ /* tango:sky blue 0.5 */
+ background: #a6c5e3;
+ /* tango:aluminium 6 */
+ color: #2e3436;
+}
+.listing_code {
+ /* tango:sky blue 0 */
+ background: #e6f3ff;
+}
+.listing_code .programlisting {
+ /* override from previous */
+ border: none 0px;
+ padding: 0px;
+}
+.listing_lines pre, .listing_code pre {
+ margin: 0px;
+}
diff --git a/docs/resources/library_gnome_print.css b/docs/resources/library_gnome_print.css
new file mode 100755
index 0000000..47d4d1a
--- /dev/null
+++ b/docs/resources/library_gnome_print.css
@@ -0,0 +1,9 @@
+ul#general,
+div#header,
+div.sidebar {
+ display: none;
+}
+
+div.body-sidebar {
+ margin-right: 0;
+}
diff --git a/docs/page.js b/docs/resources/page.js
old mode 100644
new mode 100755
similarity index 100%
rename from docs/page.js
rename to docs/resources/page.js
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]