Skip to content
Browse files

Works with .NET 4.0, and has completely rewritten documentation templ…

…ates using HTML (Chrome/Safari only)
  • Loading branch information...
1 parent bb7c034 commit 68e5bd4ac4be0aae3fa8ebee2b28923648935ec8 @dylanbeattie dylanbeattie committed
View
BIN lib/spark/Spark.pdb
Binary file not shown.
View
6 src/Docu.Console/Docu.csproj
@@ -254,9 +254,6 @@
<Content Include="templates\js\navigation.js">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
- <Content Include="templates\_footer.spark">
- <CopyToOutputDirectory>Always</CopyToOutputDirectory>
- </Content>
<Content Include="templates\!namespace\_events.spark">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
@@ -283,6 +280,9 @@
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
+ <None Include="templates\_common_footer.spark">
+ <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+ </None>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
View
3 src/Docu.Console/app.config
@@ -0,0 +1,3 @@
+<?xml version="1.0"?>
+<configuration>
+<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
View
19 src/Docu.Console/templates/!namespace/!type.htm.spark
@@ -1,4 +1,4 @@
-<!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 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>${h(Type.PrettyName)} - ${WriteProductName(Assemblies[0])} Documentation</title>
@@ -10,14 +10,21 @@
<script type="text/javascript" src="../js/example.js"></script>
</head>
<body>
+ <header><h1>${WriteProductName(Assemblies[0])} : API Documentation</h1>
+ </header>
+
<namespaces />
<types />
- <div class="header">
+ <article>
+ <header>
<p class="class"><strong>Type</strong> ${h(Type.PrettyName)}</p>
+ </header>
+ <section>
+ <header>
<p><strong>Namespace</strong> ${Namespace.Name}</p>
<p if="Type.ParentType != null && Type.ParentType.PrettyName != 'object'"><strong>Parent</strong> ${Format(Type.ParentType)}</p>
<p if="Type.Interfaces.Count > 0"><strong>Interfaces</strong> ${WriteInterfaces(Type.Interfaces)}</p>
- </div>
+ </header>
<div class="sub-header">
<if condition="(Type.Summary != null && Type.Summary.Children.Count() > 0) || (Type.Remarks != null && Type.Remarks.Children.Count() > 0)">
<div id="summary">
@@ -55,7 +62,6 @@
</ul>
</if>
</div>
-
<events events="Type.Events" title="'Events'" />
<var publicInstanceMethods="Type.Methods.Where(x => x.IsPublic && !x.IsStatic)" />
@@ -66,7 +72,8 @@
<properties properties="Type.Properties" title="'Public properties'" />
<fields fields="Type.Fields" title="'Public fields'" />
-
- <use file="../_footer" />
+ </section>
+ </article>
+ <use file="../_common_footer" />
</body>
</html>
View
58 src/Docu.Console/templates/!namespace/_methods.spark
@@ -1,32 +1,46 @@
<if condition="methods.Count() > 0">
<h3 class="section">${title}</h3>
-
+
<div id="${method.Name}" class="method" each="var method in methods">
- <h4>${Format(method.ReturnType)} <strong>${h(method.PrettyName)}</strong>(${OutputMethodParams(method)})</h4>
+ <h4>
+ ${Format(method.ReturnType)} <strong>${h(method.PrettyName)}</strong>(${OutputMethodParams(method)})
+ </h4>
<div class="content">
- <comment content="method.Summary" />
- <remarks content="method.Remarks" />
+ <comment content="method.Summary" />
+ <remarks content="method.Remarks" />
+
+ <var hasReturn="method.ReturnType.PrettyName != 'void'" />
+ <var hasParams="method.Parameters.Any(x => x.HasDocumentation)" />
- <var hasReturn="method.ReturnType.PrettyName != 'void'" />
- <var hasParams="method.Parameters.Any(x => x.HasDocumentation)" />
+ <div class="parameters" if="hasParams">
+ <h5>Parameters</h5>
+ <dl>
+ <for each="var param in method.Parameters">
+ <dt>
+ <code>${Format(param.Reference)}</code> ${param.Name}
+ </dt>
+ <dd if="!param.Summary.IsEmpty">
+ <comment content="param.Summary" />
+ </dd>
+ </for>
+ </dl>
+ </div>
- <div class="parameters" if="hasParams">
- <h5>Parameters</h5>
+ <div class="return" if="!method.Returns.IsEmpty">
- <for each="var param in method.Parameters">
- <h6><code>${Format(param.Reference)}</code> ${param.Name}</h6>
- <p class="comments" if="!param.Summary.IsEmpty"><comment content="param.Summary" /></p>
- </for>
- </div>
+ <h5>Returns</h5>
+ <dl>
+ <dt>
+ <code>${Format(method.ReturnType)}</code>
+ </dt>
+ <dd>
+ <comment content="method.Returns" />
+ </dd>
+ </dl>
+ </div>
- <div class="return" if="!method.Returns.IsEmpty">
- <h5>Return</h5>
- <h6><code>${Format(method.ReturnType)}</code></h6>
- <p><comment content="method.Returns" /></p>
- </div>
-
- <value content="method.Value" />
- <example content="method.Example" />
- </div>
+ <value content="method.Value" />
+ <example content="method.Example" />
+ </div>
</div>
</if>
View
4 src/Docu.Console/templates/!namespace/_namespaces.spark
@@ -1,4 +1,4 @@
-<div id="namespaces">
+<nav id="namespaces">
<h2 class="fixed">Namespaces</h2>
<div class="scroll">
<ul>
@@ -11,4 +11,4 @@
</li>
</ul>
</div>
-</div>
+</nav>
View
40 src/Docu.Console/templates/!namespace/_properties.spark
@@ -1,19 +1,27 @@
<if condition="properties.Count() > 0">
- <h3 class="section">${title}</h3>
+ <h3 class="section">${title}</h3>
- <div id="${property.Name}" class="method" each="var property in properties">
- <h4>${Format(property.ReturnType)} <strong>${h(property.Name)}</strong> <if condition="property.HasGet">get;</if> <if condition="property.HasSet">set;</if></h4>
- <div class="content">
- <comment content="property.Summary" />
- <remarks content="property.Remarks" />
-
- <div class="return" if="property.ReturnType.HasDocumentation">
- <h5>Property type</h5>
- <h6><code>${Format(property.ReturnType)}</code></h6>
- <p><comment content="property.ReturnType.Summary" /></p>
- </div>
- <value content="property.Value" />
- <example content="property.Example" />
- </div>
- </div>
+ <div id="${property.Name}" class="method" each="var property in properties">
+ <h4>
+ ${Format(property.ReturnType)} <strong>${h(property.Name)}</strong> <if condition="property.HasGet">get;</if> <if condition="property.HasSet">set;</if>
+ </h4>
+ <div class="content">
+ <comment content="property.Summary" />
+ <remarks content="property.Remarks" />
+
+ <div class="return" if="property.ReturnType.HasDocumentation">
+ <h5>Property type</h5>
+ <dl>
+ <dt>
+ <code>${Format(property.ReturnType)}</code>
+ </dt>
+ <dd>
+ <comment content="property.ReturnType.Summary" />
+ </dd>
+ </dl>
+ </div>
+ <value content="property.Value" />
+ <example content="property.Example" />
+ </div>
+ </div>
</if>
View
4 src/Docu.Console/templates/!namespace/_types.spark
@@ -1,4 +1,4 @@
-<div id="types">
+<nav id="types">
<h2 class="fixed">Types in ${Namespace.PrettyName}</h2>
<div class="scroll">
<ul>
@@ -11,4 +11,4 @@
</li>
</ul>
</div>
-</div>
+</nav>
View
15 src/Docu.Console/templates/!namespace/index.htm.spark
@@ -1,4 +1,4 @@
-<!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 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>${Namespace.Name} - ${WriteProductName(Assemblies[0])} Documentation</title>
@@ -9,11 +9,15 @@
<script type="text/javascript" src="../js/navigation.js"></script>
</head>
<body>
+ <header><h1>${WriteProductName(Assemblies[0])} : API Documentation</h1>
+ </header>
<namespaces />
<types />
- <div class="header">
+ <article>
+ <header>
<p class="class"><strong>Namespace</strong> ${Namespace.Name}</p>
- </div>
+ </header>
+ <section>
<div class="sub-header">
<if condition="Namespace.HasClasses">
<h3 class="section">Classes</h3>
@@ -34,7 +38,8 @@
</if>
<p if="!Namespace.HasTypes">This namespace is empty.</p>
</div>
-
- <use file="../_footer" />
+ </section>
+ </article>
+ <use file="../_common_footer" />
</body>
</html>
View
6 src/Docu.Console/templates/_common_footer.spark
@@ -0,0 +1,6 @@
+<footer>
+ <span id="version">Built from v${WriteVersion(Assemblies[0])} of ${WriteAssemblyTitle(Assemblies[0])}</span>
+ <span id="docu-link">
+ Generated by <a href="http://docu.jagregory.com">docu</a>
+ </span>
+</footer>
View
4 src/Docu.Console/templates/_footer.spark
@@ -1,4 +0,0 @@
-<div id="footer">
- <p>Based on v${WriteVersion(Assemblies[0])} of ${WriteAssemblyTitle(Assemblies[0])}</p>
- <p>Generated by <a href="http://docu.jagregory.com">docu</a></p>
-</div>
View
4 src/Docu.Console/templates/_namespaces.spark
@@ -1,8 +1,8 @@
-<div id="namespaces">
+<nav id="namespaces">
<h2 class="fixed">Namespaces</h2>
<div class="scroll">
<ul>
<li each="var ns in Namespaces">${Format(ns)}</li>
</ul>
</div>
-</div>
+</nav>
View
4 src/Docu.Console/templates/_types.spark
@@ -1,4 +1,4 @@
-<div id="types">
+<nav id="types">
<h2 class="fixed">All Types</h2>
<div class="scroll">
<ul>
@@ -7,4 +7,4 @@
</for>
</ul>
</div>
-</div>
+</nav>
View
13 src/Docu.Console/templates/index.htm.spark
@@ -1,17 +1,20 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
- <title>${WriteProductName(Assemblies[0])} Documentation</title>
+ <title>${WriteProductName(Assemblies[0])} API Documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link type="text/css" rel="stylesheet" href="main.css" />
</head>
<body>
+ <header><h1>${WriteProductName(Assemblies[0])} : API Documentation</h1>
+ </header>
<namespaces />
<types />
- <div class="header">
+ <article>
+ <header>
<p class="class">${WriteProductName(Assemblies[0])} Documentation</p>
- </div>
-
- <use file="_footer" />
+ </header>
+ </article>
+ <use file="_common_footer" />
</body>
</html>
View
394 src/Docu.Console/templates/main.css
@@ -1,225 +1,263 @@
-/*body {
- margin: 0;
- padding: 0;
- font-family: Verdana,Arial,Helvetica,sans-serif;
- font-size: 90%;
+/* HTML5 ? Boilerplate */
+
+html, body, div, span, object, iframe,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
+small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td,
+article, aside, canvas, details, figcaption, figure,
+footer, header, hgroup, menu, nav, section, summary,
+time, mark, audio, video {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ font-size: 100%;
+ font: inherit;
+ vertical-align: baseline;
+}
+
+article, aside, details, figcaption, figure,
+footer, header, hgroup, menu, nav, section {
+ display: block;
+}
+
+blockquote, q { quotes: none; }
+blockquote:before, blockquote:after,
+q:before, q:after { content: ""; content: none; }
+ins { background-color: #ff9; color: #000; text-decoration: none; }
+mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
+del { text-decoration: line-through; }
+abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }
+table { border-collapse: collapse; border-spacing: 0; }
+hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
+input, select { vertical-align: middle; }
+
+body { font:13px/1.231 sans-serif; }
+select, input, textarea, button { font:99% sans-serif; }
+pre, code, kbd, samp { font-family: monospace, sans-serif; }
+
+html { overflow-y: scroll; }
+a:hover, a:active { outline: none; }
+ul, ol { margin-left: 2em; }
+ol { list-style-type: decimal; }
+nav ul, nav li { margin: 0; list-style:none; list-style-image: none; }
+small { font-size: 85%; }
+strong, th { font-weight: bold; }
+td { vertical-align: top; }
+sub, sup { font-size: 75%; line-height: 0; position: relative; }
+sup { top: -0.5em; }
+sub { bottom: -0.25em; }
+
+pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; padding: 15px; }
+textarea { overflow: auto; }
+.ie6 legend, .ie7 legend { margin-left: -7px; }
+input[type="radio"] { vertical-align: text-bottom; }
+input[type="checkbox"] { vertical-align: bottom; }
+.ie7 input[type="checkbox"] { vertical-align: baseline; }
+.ie6 input { vertical-align: text-bottom; }
+label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }
+button, input, select, textarea { margin: 0; }
+input:valid, textarea:valid { }
+input:invalid, textarea:invalid { -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; }
+.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }
+
+
+::-moz-selection{ background: #FF5E99; color:#fff; }
+::selection { background:#FF5E99; color:#fff; }
+a:link { -webkit-tap-highlight-color: #FF5E99; }
+button { width: auto; overflow: visible; }
+.ie7 img { -ms-interpolation-mode: bicubic; }
+
+h1, h2, h3, h4, h5, h6 { font-weight: bold; }
+a, a:active, a:visited { color: #607890; }
+a:hover { color: #036; }
+
+
+/**
+ * Primary styles
+ *
+ * Author: Dylan Beattie (dylan@dylanbeattie.net)
+ */
+
+body > header {
+ position: absolute;
+ left: 8px;
+ right: 8px;
+ top: 8px;
+ height: 16px;
+ padding: 4px;
+ border: 1px solid #333333;
+}
+
+body > header > span#project-link {
+ position: absolute;
+ right: 4px;
+ top: 4px;
+}
+
+body {
+ background-color: #999999;
+}
+nav {
+ padding: 0px;
}
-
-.header {
- background: #048;
- border-bottom: 3px solid #006;
- margin: 0;
- color: #FFF;
- padding: 10px;
- clear: left;
- font-size: 13px;
-}
-
-.header p {
- margin: 0 0 4px 0;
-}
-
-.header .class {
- font-size: 24px;
- font-weight: bold;
+div.scroll {
+ padding: 4px;
+ overflow: auto;
+ position: absolute;
+ top: 24px;
+ bottom: 0px;
+ left: 0px;
+ right: 0px;
+ background-color: #fff;
}
-.header strong {
- font-size: 13px;
- width: 100px;
- float: left;
+div.scroll ul li {
+ padding: 2px 0px;
}
-
-.header a {
- background: transparent;
- color: #FFF;
+div.scroll ul li a {
+ text-decoration: none;
}
-
-.header a:hover {
- background: #FFF;
- color: #039;
+nav#namespaces {
+ position: absolute;
+ top: 42px;
+ left: 8px;
+ bottom: 8px;
+ width: 384px;
+ overflow: hidden;
}
-.sub-header {
- margin: 0 20px;
+nav#types {
+ position: absolute;
+ top: 42px;
+ right: 8px;
+ left: 400px;
+ height: 204px;
+ background-color: #fff;
+ overflow: hidden;
}
-.sub-header ul {
- margin: 0 0 0 30px;
- padding: 0;
- list-style: none;
+article {
+ position: absolute;
+ left: 400px;
+ top: 256px;
+ bottom: 40px;
+ right: 8px;
+ background-color: #fff;
}
-
-.sub-header ul li {
- float: left;
- margin: 0 15px 0 0;
- padding: 0;
- text-indent: 0;
+footer {
+ position: absolute;
+ left: 400px;
+ bottom: 8px;
+ height: 16px;
+ right: 8px;
+ background-color: #aaaaaa;
+ padding: 4px;
+ font-size: 80%;
}
-.section {
- color: #333;
- border-bottom: 1px solid #999;
- margin: 10px 10px 0 10px;
- padding: 10px 0 0 0;
- clear: left;
+header {
+ background-color: #cccccc;
}
-
-div.method {
- background: #EFEFEF;
- border: 1px dotted #CCC;
- margin: 5px 10px 15px 10px;
- padding: 0;
-}
-
-div.method h4 {
- background: #CCC;
- border-bottom: 1px solid #666;
- color: #000;
- padding: 2px 5px;
- margin: 0 0 10px 0;
- font-weight: normal;
+header p {
+ padding: 4px;
}
-div.method h4 a {
- background: transparent;
+nav h2, header p.class {
+ background-color: #333333;
+ padding: 4px;
+ color: #fff;
}
-div.method .content {
- padding: 0 10px 5px 10px;
+article section {
+ position: absolute;
+ top: 24px;
+ bottom: 0px;
+ left: 0px;
+ right: 0px;
+ overflow:auto;
}
-div.parameters, div.return {
- background: #fff;
- border: 1px solid #ccc;
- padding: 10px;
- margin-top: 10px;
+section ul li {
+ margin: 4px 0px;
}
-
-div.parameters h5, div.return h5 {
- color: #666;
- margin: -10px 0 0 -10px;
- padding: 3px;
- font-weight: normal;
- font-size: 10px;
- border-bottom: 1px solid #ccc;
- border-right: 1px solid #ccc;
- float: left;
+article section header p { margin: 0px; }
+article section h3, article section p {
+ padding: 4px;
+ margin: 4px 0px;
}
-
-div.parameters h6, div.return h6 {
- clear: left;
- font-size: 14px;
- font-weight: normal;
- margin: 0;
- padding: 6px 0 3px 0;
+article section h3 {
+ font-size: 120%;
}
-
-div.parameters p, div.return p {
- border-top: 1px solid #ccc;
- margin: 0;
- padding: 3px 3px 0 3px;
+div.method {
+ padding: 4px 4px 4px 16px;
}
-#summary {
- background: #EFEFEF;
- border: 1px dotted #999999;
- margin: 5px 10px 15px 10px;
- padding: 5px 10px;
+div#summary {
+ padding: 4px;
}
-#namespaces {
- width: 50%;
- float: left;
- background: #FFF;
+div.method div.content {
+ margin: 8px;
}
-#types {
- width: 50%;
- float: left;
- background: #FFF;
- margin-left: -1px;
+footer span#docu-link {
+ position: absolute;
+ right: 4px;
}
-
-h2.fixed {
- background: #CCC;
- color: #000;
- border-top: 1px solid #999;
- border-bottom: 1px solid #999;
- margin: 0;
- padding: 2px 10px;
- font-size: 12px;
- font-weight: bold;
+code {
+ font-family: Consolas, Courier, monospaced;
+ font-weight: normal;
}
+
-div.scroll {
- overflow: scroll;
- height: 150px;
+h5 {
+ margin: 8px 0px;
}
-#namespaces ul, #types ul {
- list-style: none;
- margin: 0 0 10px 0;
- padding: 0;
-}
+dl dt { width: 180px; float: left; }
+dl dd { margin-left: 180px; }
+
+
-#namespaces ul li, #types ul li {
- text-indent: 0;
- padding-left: 10px;
-}
+.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
+.hidden { display: none; visibility: hidden; }
+.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
+.visuallyhidden.focusable:active,
+.visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
+.invisible { visibility: hidden; }
+.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
+.clearfix:after { clear: both; }
+.clearfix { zoom: 1; }
-a {
- background: #eef;
- color: #039;
- text-decoration: none;
-}
-a:hover {
- color: #FFF;
- background: #039;
-}
+@media all and (orientation:portrait) {
-#namespaces a.current, #types a.current {
- background: #039;
- color: #FFF;
- text-decoration: none;
}
-#footer {
- text-align: center;
- font-size: 10px;
- color: #888;
- clear: left;
- padding-top: 10px;
-}
+@media all and (orientation:landscape) {
-blockquote {
- margin: 10px;
- padding: 6px;
- background: #F5F5F5;
- border-top: 3px solid #CCC;
- border-bottom: 3px solid #CCC;
}
-.value {
- border-top-width: 1px;
- border-bottom-width: 1px;
- font-size: 90%;
+@media screen and (max-device-width: 480px) {
+
+ /* html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
}
-.example {
- margin: 10px 0;
-}
-.example pre {
- background: #DDD;
- color: #000;
- font-size: 14px;
- font-family: Monaco, Consolas, Courier New, Monospace;
- padding: 4px 10px;
- border: 3px solid #AAA;
+@media print {
+ * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
+ -ms-filter: none !important; }
+ a, a:visited { color: #444 !important; text-decoration: underline; }
+ a[href]:after { content: " (" attr(href) ")"; }
+ abbr[title]:after { content: " (" attr(title) ")"; }
+ .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
+ pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
+ thead { display: table-header-group; }
+ tr, img { page-break-inside: avoid; }
+ @page { margin: 0.5cm; }
+ p, h2, h3 { orphans: 3; widows: 3; }
+ h2, h3{ page-break-after: avoid; }
}
-code {
- font-family: Monaco, Consolas, Courier New, Monospace;
-}*/
View
6 src/Docu.Tests/Output/SparkTemplateBaseSpecs.cs
@@ -102,6 +102,10 @@ public override Guid GeneratedViewId
{
get { return Guid.NewGuid(); }
}
- }
+
+ public override void Render() {
+ throw new NotImplementedException();
+ }
+ }
}
}
View
14 src/UpgradeLog.XML
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type='text/xsl' href='_UpgradeReport_Files/UpgradeReport.xslt'?><UpgradeLog>
+<Properties><Property Name="Solution" Value="Docu">
+</Property><Property Name="Solution File" Value="D:\Projects\Docu\src\Docu.sln">
+</Property><Property Name="Date" Value="09 April 2011">
+</Property><Property Name="Time" Value="13:21">
+</Property></Properties><Event ErrorLevel="0" Project="Docu" Source="Docu.Console\Docu.csproj" Description="Project converted successfully">
+</Event><Event ErrorLevel="3" Project="Docu" Source="Docu.Console\Docu.csproj" Description="Converted">
+</Event><Event ErrorLevel="0" Project="Docu.Tests" Source="Docu.Tests\Docu.Tests.csproj" Description="Project converted successfully">
+</Event><Event ErrorLevel="3" Project="Docu.Tests" Source="Docu.Tests\Docu.Tests.csproj" Description="Converted">
+</Event><Event ErrorLevel="0" Project="" Source="Docu.sln" Description="Solution converted successfully">
+</Event><Event ErrorLevel="3" Project="" Source="Docu.sln" Description="Converted">
+</Event><Event ErrorLevel="0" Project="Docu" Source="Docu.Console\Docu.csproj" Description="Scan complete: Upgrade not required for project files.">
+</Event><Event ErrorLevel="0" Project="Docu.Tests" Source="Docu.Tests\Docu.Tests.csproj" Description="Scan complete: Upgrade not required for project files.">
+</Event></UpgradeLog>
View
207 src/_UpgradeReport_Files/UpgradeReport.css
@@ -0,0 +1,207 @@
+BODY
+{
+ BACKGROUND-COLOR: white;
+ FONT-FAMILY: "Verdana", sans-serif;
+ FONT-SIZE: 100%;
+ MARGIN-LEFT: 0px;
+ MARGIN-TOP: 0px
+}
+P
+{
+ FONT-FAMILY: "Verdana", sans-serif;
+ FONT-SIZE: 70%;
+ LINE-HEIGHT: 12pt;
+ MARGIN-BOTTOM: 0px;
+ MARGIN-LEFT: 10px;
+ MARGIN-TOP: 10px
+}
+.note
+{
+ BACKGROUND-COLOR: #ffffff;
+ COLOR: #336699;
+ FONT-FAMILY: "Verdana", sans-serif;
+ FONT-SIZE: 100%;
+ MARGIN-BOTTOM: 0px;
+ MARGIN-LEFT: 0px;
+ MARGIN-TOP: 0px;
+ PADDING-RIGHT: 10px
+}
+.infotable
+{
+ BACKGROUND-COLOR: #f0f0e0;
+ BORDER-BOTTOM: #ffffff 0px solid;
+ BORDER-COLLAPSE: collapse;
+ BORDER-LEFT: #ffffff 0px solid;
+ BORDER-RIGHT: #ffffff 0px solid;
+ BORDER-TOP: #ffffff 0px solid;
+ FONT-SIZE: 70%;
+ MARGIN-LEFT: 10px
+}
+.issuetable
+{
+ BACKGROUND-COLOR: #ffffe8;
+ BORDER-COLLAPSE: collapse;
+ COLOR: #000000;
+ FONT-SIZE: 100%;
+ MARGIN-BOTTOM: 10px;
+ MARGIN-LEFT: 13px;
+ MARGIN-TOP: 0px
+}
+.issuetitle
+{
+ BACKGROUND-COLOR: #ffffff;
+ BORDER-BOTTOM: #dcdcdc 1px solid;
+ BORDER-TOP: #dcdcdc 1px;
+ COLOR: #003366;
+ FONT-WEIGHT: normal
+}
+.header
+{
+ BACKGROUND-COLOR: #cecf9c;
+ BORDER-BOTTOM: #ffffff 1px solid;
+ BORDER-LEFT: #ffffff 1px solid;
+ BORDER-RIGHT: #ffffff 1px solid;
+ BORDER-TOP: #ffffff 1px solid;
+ COLOR: #000000;
+ FONT-WEIGHT: bold
+}
+.issuehdr
+{
+ BACKGROUND-COLOR: #E0EBF5;
+ BORDER-BOTTOM: #dcdcdc 1px solid;
+ BORDER-TOP: #dcdcdc 1px solid;
+ COLOR: #000000;
+ FONT-WEIGHT: normal
+}
+.issuenone
+{
+ BACKGROUND-COLOR: #ffffff;
+ BORDER-BOTTOM: 0px;
+ BORDER-LEFT: 0px;
+ BORDER-RIGHT: 0px;
+ BORDER-TOP: 0px;
+ COLOR: #000000;
+ FONT-WEIGHT: normal
+}
+.content
+{
+ BACKGROUND-COLOR: #e7e7ce;
+ BORDER-BOTTOM: #ffffff 1px solid;
+ BORDER-LEFT: #ffffff 1px solid;
+ BORDER-RIGHT: #ffffff 1px solid;
+ BORDER-TOP: #ffffff 1px solid;
+ PADDING-LEFT: 3px
+}
+.issuecontent
+{
+ BACKGROUND-COLOR: #ffffff;
+ BORDER-BOTTOM: #dcdcdc 1px solid;
+ BORDER-TOP: #dcdcdc 1px solid;
+ PADDING-LEFT: 3px
+}
+A:link
+{
+ COLOR: #cc6633;
+ TEXT-DECORATION: underline
+}
+A:visited
+{
+ COLOR: #cc6633;
+}
+A:active
+{
+ COLOR: #cc6633;
+}
+A:hover
+{
+ COLOR: #cc3300;
+ TEXT-DECORATION: underline
+}
+H1
+{
+ BACKGROUND-COLOR: #003366;
+ BORDER-BOTTOM: #336699 6px solid;
+ COLOR: #ffffff;
+ FONT-SIZE: 130%;
+ FONT-WEIGHT: normal;
+ MARGIN: 0em 0em 0em -20px;
+ PADDING-BOTTOM: 8px;
+ PADDING-LEFT: 30px;
+ PADDING-TOP: 16px
+}
+H2
+{
+ COLOR: #000000;
+ FONT-SIZE: 80%;
+ FONT-WEIGHT: bold;
+ MARGIN-BOTTOM: 3px;
+ MARGIN-LEFT: 10px;
+ MARGIN-TOP: 20px;
+ PADDING-LEFT: 0px
+}
+H3
+{
+ COLOR: #000000;
+ FONT-SIZE: 80%;
+ FONT-WEIGHT: bold;
+ MARGIN-BOTTOM: -5px;
+ MARGIN-LEFT: 10px;
+ MARGIN-TOP: 20px
+}
+H4
+{
+ COLOR: #000000;
+ FONT-SIZE: 70%;
+ FONT-WEIGHT: bold;
+ MARGIN-BOTTOM: 0px;
+ MARGIN-TOP: 15px;
+ PADDING-BOTTOM: 0px
+}
+UL
+{
+ COLOR: #000000;
+ FONT-SIZE: 70%;
+ LIST-STYLE: square;
+ MARGIN-BOTTOM: 0pt;
+ MARGIN-TOP: 0pt
+}
+OL
+{
+ COLOR: #000000;
+ FONT-SIZE: 70%;
+ LIST-STYLE: square;
+ MARGIN-BOTTOM: 0pt;
+ MARGIN-TOP: 0pt
+}
+LI
+{
+ LIST-STYLE: square;
+ MARGIN-LEFT: 0px
+}
+.expandable
+{
+ CURSOR: hand
+}
+.expanded
+{
+ color: black
+}
+.collapsed
+{
+ DISPLAY: none
+}
+.foot
+{
+BACKGROUND-COLOR: #ffffff;
+BORDER-BOTTOM: #cecf9c 1px solid;
+BORDER-TOP: #cecf9c 2px solid
+}
+.settings
+{
+MARGIN-LEFT: 25PX;
+}
+.help
+{
+TEXT-ALIGN: right;
+margin-right: 10px;
+}
View
232 src/_UpgradeReport_Files/UpgradeReport.xslt
@@ -0,0 +1,232 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl='urn:schemas-microsoft-com:xslt'>
+
+ <xsl:key name="ProjectKey" match="Event" use="@Project" />
+
+ <xsl:template match="Events" mode="createProjects">
+ <projects>
+ <xsl:for-each select="Event">
+ <!--xsl:sort select="@Project" order="descending"/-->
+ <xsl:if test="(1=position()) or (preceding-sibling::*[1]/@Project != @Project)">
+
+ <xsl:variable name="ProjectName" select="@Project"/>
+
+ <project>
+ <xsl:attribute name="name">
+ <xsl:value-of select="@Project"/>
+ </xsl:attribute>
+
+ <xsl:if test="@Project=''">
+ <xsl:attribute name="solution">
+ <xsl:value-of select="@Solution"/>
+ </xsl:attribute>
+ </xsl:if>
+
+ <xsl:for-each select="key('ProjectKey', $ProjectName)">
+ <!--xsl:sort select="@Source" /-->
+ <xsl:if test="(1=position()) or (preceding-sibling::*[1]/@Source != @Source)">
+
+ <source>
+ <xsl:attribute name="name">
+ <xsl:value-of select="@Source"/>
+ </xsl:attribute>
+
+ <xsl:variable name="Source">
+ <xsl:value-of select="@Source"/>
+ </xsl:variable>
+
+ <xsl:for-each select="key('ProjectKey', $ProjectName)[ @Source = $Source ]">
+
+ <event>
+ <xsl:attribute name="error-level">
+ <xsl:value-of select="@ErrorLevel"/>
+ </xsl:attribute>
+ <xsl:attribute name="description">
+ <xsl:value-of select="@Description"/>
+ </xsl:attribute>
+ </event>
+ </xsl:for-each>
+ </source>
+ </xsl:if>
+ </xsl:for-each>
+
+ </project>
+ </xsl:if>
+ </xsl:for-each>
+ </projects>
+ </xsl:template>
+
+ <xsl:template match="projects">
+ <xsl:for-each select="project">
+ <xsl:sort select="@Name" order="ascending"/>
+ <h2>
+ <xsl:if test="@solution"><a _locID="Solution">Solution</a>: <xsl:value-of select="@solution"/></xsl:if>
+ <xsl:if test="not(@solution)"><a _locID="Project">Project</a>: <xsl:value-of select="@name"/>
+ <xsl:for-each select="source">
+ <xsl:variable name="Hyperlink" select="@name"/>
+ <xsl:for-each select="event[@error-level='4']">
+ &#32;<A class="note"><xsl:attribute name="HREF"><xsl:value-of select="$Hyperlink"/></xsl:attribute><xsl:value-of select="@description"/></A>
+ </xsl:for-each>
+ </xsl:for-each>
+ </xsl:if>
+ </h2>
+
+ <table cellpadding="2" cellspacing="0" width="98%" border="1" bordercolor="white" class="infotable">
+ <tr>
+ <td nowrap="1" class="header" _locID="Filename">Filename</td>
+ <td nowrap="1" class="header" _locID="Status">Status</td>
+ <td nowrap="1" class="header" _locID="Errors">Errors</td>
+ <td nowrap="1" class="header" _locID="Warnings">Warnings</td>
+ </tr>
+
+ <xsl:for-each select="source">
+ <xsl:sort select="@name" order="ascending"/>
+ <xsl:variable name="source-id" select="generate-id(.)"/>
+
+ <xsl:if test="count(event)!=count(event[@error-level='4'])">
+
+ <tr class="row">
+ <td class="content">
+ <A HREF="javascript:"><xsl:attribute name="onClick">javascript:document.images['<xsl:value-of select="$source-id"/>'].click()</xsl:attribute><IMG border="0" _locID="IMG.alt" _locAttrData="alt" alt="expand/collapse section" class="expandable" height="11" onclick="changepic()" src="_UpgradeReport_Files/UpgradeReport_Plus.gif" width="9" ><xsl:attribute name="name"><xsl:value-of select="$source-id"/></xsl:attribute><xsl:attribute name="child">src<xsl:value-of select="$source-id"/></xsl:attribute></IMG></A>&#32;<xsl:value-of select="@name"/>
+ </td>
+ <td class="content">
+ <xsl:if test="count(event[@error-level='3'])=1">
+ <xsl:for-each select="event[@error-level='3']">
+ <xsl:if test="@description='Converted'"><a _locID="Converted1">Converted</a></xsl:if>
+ <xsl:if test="@description!='Converted'"><xsl:value-of select="@description"/></xsl:if>
+ </xsl:for-each>
+ </xsl:if>
+ <xsl:if test="count(event[@error-level='3'])!=1 and count(event[@error-level='3' and @description='Converted'])!=0"><a _locID="Converted2">Converted</a>
+ </xsl:if>
+ </td>
+ <td class="content"><xsl:value-of select="count(event[@error-level='2'])"/></td>
+ <td class="content"><xsl:value-of select="count(event[@error-level='1'])"/></td>
+ </tr>
+
+ <tr class="collapsed" bgcolor="#ffffff">
+ <xsl:attribute name="id">src<xsl:value-of select="$source-id"/></xsl:attribute>
+
+ <td colspan="7">
+ <table width="97%" border="1" bordercolor="#dcdcdc" rules="cols" class="issuetable">
+ <tr>
+ <td colspan="7" class="issuetitle" _locID="ConversionIssues">Conversion Report - <xsl:value-of select="@name"/>:</td>
+ </tr>
+
+ <xsl:for-each select="event[@error-level!='3']">
+ <xsl:if test="@error-level!='4'">
+ <tr>
+ <td class="issuenone" style="border-bottom:solid 1 lightgray">
+ <xsl:value-of select="@description"/>
+ </td>
+ </tr>
+ </xsl:if>
+ </xsl:for-each>
+ </table>
+ </td>
+ </tr>
+ </xsl:if>
+ </xsl:for-each>
+
+ <tr valign="top">
+ <td class="foot">
+ <xsl:if test="count(source)!=1">
+ <xsl:value-of select="count(source)"/><a _locID="file1"> files</a>
+ </xsl:if>
+ <xsl:if test="count(source)=1">
+ <a _locID="file2">1 file</a>
+ </xsl:if>
+ </td>
+ <td class="foot">
+ <a _locID="Converted3">Converted</a>:&#32;<xsl:value-of select="count(source/event[@error-level='3' and @description='Converted'])"/><BR />
+ <a _locID="NotConverted">Not converted</a>:&#32;<xsl:value-of select="count(source) - count(source/event[@error-level='3' and @description='Converted'])"/>
+ </td>
+ <td class="foot"><xsl:value-of select="count(source/event[@error-level='2'])"/></td>
+ <td class="foot"><xsl:value-of select="count(source/event[@error-level='1'])"/></td>
+ </tr>
+ </table>
+ </xsl:for-each>
+ </xsl:template>
+
+ <xsl:template match="Property">
+ <xsl:if test="@Name!='Date' and @Name!='Time' and @Name!='LogNumber' and @Name!='Solution'">
+ <tr><td nowrap="1"><b><xsl:value-of select="@Name"/>: </b><xsl:value-of select="@Value"/></td></tr>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="UpgradeLog">
+ <html>
+ <head>
+ <META HTTP-EQUIV="Content-Type" content="text/html; charset=utf-8" />
+ <link rel="stylesheet" href="_UpgradeReport_Files\UpgradeReport.css" />
+ <title _locID="ConversionReport0">Conversion Report&#32;
+ <xsl:if test="Properties/Property[@Name='LogNumber']">
+ <xsl:value-of select="Properties/Property[@Name='LogNumber']/@Value"/>
+ </xsl:if>
+ </title>
+ <script language="javascript">
+ function outliner () {
+ oMe = window.event.srcElement
+ //get child element
+ var child = document.all[event.srcElement.getAttribute("child",false)];
+ //if child element exists, expand or collapse it.
+ if (null != child)
+ child.className = child.className == "collapsed" ? "expanded" : "collapsed";
+ }
+
+ function changepic() {
+ uMe = window.event.srcElement;
+ var check = uMe.src.toLowerCase();
+ if (check.lastIndexOf("upgradereport_plus.gif") != -1)
+ {
+ uMe.src = "_UpgradeReport_Files/UpgradeReport_Minus.gif"
+ }
+ else
+ {
+ uMe.src = "_UpgradeReport_Files/UpgradeReport_Plus.gif"
+ }
+ }
+ </script>
+ </head>
+ <body topmargin="0" leftmargin="0" rightmargin="0" onclick="outliner();">
+ <h1 _locID="ConversionReport">Conversion Report - <xsl:value-of select="Properties/Property[@Name='Solution']/@Value"/></h1>
+
+ <p><span class="note">
+ <b _locID="TimeOfConversion">Time of Conversion:</b>&#32;&#32;<xsl:value-of select="Properties/Property[@Name='Date']/@Value"/>&#32;&#32;<xsl:value-of select="Properties/Property[@Name='Time']/@Value"/><br/>
+ </span></p>
+
+ <xsl:variable name="SortedEvents">
+ <Events>
+ <xsl:for-each select="Event">
+ <xsl:sort select="@Project" order="ascending"/>
+ <xsl:sort select="@Source" order="ascending"/>
+ <xsl:sort select="@ErrorLevel" order="ascending"/>
+ <Event>
+ <xsl:attribute name="Project"><xsl:value-of select="@Project"/> </xsl:attribute>
+ <xsl:attribute name="Solution"><xsl:value-of select="/UpgradeLog/Properties/Property[@Name='Solution']/@Value"/> </xsl:attribute>
+ <xsl:attribute name="Source"><xsl:value-of select="@Source"/> </xsl:attribute>
+ <xsl:attribute name="ErrorLevel"><xsl:value-of select="@ErrorLevel"/> </xsl:attribute>
+ <xsl:attribute name="Description"><xsl:value-of select="@Description"/> </xsl:attribute>
+ </Event>
+ </xsl:for-each>
+ </Events>
+ </xsl:variable>
+
+ <xsl:variable name="Projects">
+ <xsl:apply-templates select="msxsl:node-set($SortedEvents)/*" mode="createProjects"/>
+ </xsl:variable>
+
+ <xsl:apply-templates select="msxsl:node-set($Projects)/*"/>
+
+ <p></p><p>
+ <table class="note">
+ <tr>
+ <td nowrap="1">
+ <b _locID="ConversionSettings">Conversion Settings</b>
+ </td>
+ </tr>
+ <xsl:apply-templates select="Properties"/>
+ </table></p>
+ </body>
+ </html>
+ </xsl:template>
+</xsl:stylesheet>
View
BIN src/_UpgradeReport_Files/UpgradeReport_Minus.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN src/_UpgradeReport_Files/UpgradeReport_Plus.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
6 src/enduserDocTemplates/_common_footer.spark
@@ -0,0 +1,6 @@
+<footer>
+ <span id="version">Built from v${WriteVersion(Assemblies[0])} of ${WriteAssemblyTitle(Assemblies[0])}</span>
+ <span id="docu-link">
+ Generated by <a href="http://docu.jagregory.com">docu</a>
+ </span>
+</footer>
View
8 src/enduserDocTemplates/_namespaces.spark
@@ -0,0 +1,8 @@
+<nav id="namespaces">
+ <h2 class="fixed">Namespaces</h2>
+ <div class="scroll">
+ <ul>
+ <li each="var ns in Namespaces">${Format(ns)}</li>
+ </ul>
+ </div>
+</nav>
View
10 src/enduserDocTemplates/_types.spark
@@ -0,0 +1,10 @@
+<nav id="types">
+ <h2 class="fixed">All Types</h2>
+ <div class="scroll">
+ <ul>
+ <for each="var ns in Namespaces">
+ <li each="var type in ns.Types">${Format(type)}</li>
+ </for>
+ </ul>
+ </div>
+</nav>
View
20 src/enduserDocTemplates/index.htm.spark
@@ -0,0 +1,20 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <title>${WriteProductName(Assemblies[0])} API Documentation</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link type="text/css" rel="stylesheet" href="main.css" />
+ </head>
+ <body>
+ <header><h1>${WriteProductName(Assemblies[0])} : API Documentation</h1>
+ </header>
+ <namespaces />
+ <types />
+ <article>
+ <header>
+ <p class="class">${WriteProductName(Assemblies[0])} Documentation</p>
+ </header>
+ </article>
+ <use file="_common_footer" />
+ </body>
+</html>
View
375 src/enduserDocTemplates/main.css
@@ -1,202 +1,263 @@
-body {
- margin: 0;
- padding: 0;
- font-family: Verdana,Arial,Helvetica,sans-serif;
- font-size: 90%;
-}
+/* HTML5 ? Boilerplate */
-.header {
- background: #048;
- border-bottom: 3px solid #006;
- margin: 0;
- color: #FFF;
- padding: 10px;
- clear: left;
- font-size: 13px;
+html, body, div, span, object, iframe,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
+small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td,
+article, aside, canvas, details, figcaption, figure,
+footer, header, hgroup, menu, nav, section, summary,
+time, mark, audio, video {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ font-size: 100%;
+ font: inherit;
+ vertical-align: baseline;
}
-.header p
-{
- margin: 0 0 4px 0;
+article, aside, details, figcaption, figure,
+footer, header, hgroup, menu, nav, section {
+ display: block;
}
-.header .class
-{
- font-size: 24px;
- font-weight: bold;
-}
+blockquote, q { quotes: none; }
+blockquote:before, blockquote:after,
+q:before, q:after { content: ""; content: none; }
+ins { background-color: #ff9; color: #000; text-decoration: none; }
+mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
+del { text-decoration: line-through; }
+abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }
+table { border-collapse: collapse; border-spacing: 0; }
+hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
+input, select { vertical-align: middle; }
-.header strong
-{
- font-size: 13px;
- width: 100px;
- float: left;
-}
+body { font:13px/1.231 sans-serif; }
+select, input, textarea, button { font:99% sans-serif; }
+pre, code, kbd, samp { font-family: monospace, sans-serif; }
-.header a
-{
- background: transparent;
- color: #FFF;
-}
+html { overflow-y: scroll; }
+a:hover, a:active { outline: none; }
+ul, ol { margin-left: 2em; }
+ol { list-style-type: decimal; }
+nav ul, nav li { margin: 0; list-style:none; list-style-image: none; }
+small { font-size: 85%; }
+strong, th { font-weight: bold; }
+td { vertical-align: top; }
+sub, sup { font-size: 75%; line-height: 0; position: relative; }
+sup { top: -0.5em; }
+sub { bottom: -0.25em; }
-.header a:hover
-{
- background: #FFF;
- color: #039;
-}
+pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; padding: 15px; }
+textarea { overflow: auto; }
+.ie6 legend, .ie7 legend { margin-left: -7px; }
+input[type="radio"] { vertical-align: text-bottom; }
+input[type="checkbox"] { vertical-align: bottom; }
+.ie7 input[type="checkbox"] { vertical-align: baseline; }
+.ie6 input { vertical-align: text-bottom; }
+label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }
+button, input, select, textarea { margin: 0; }
+input:valid, textarea:valid { }
+input:invalid, textarea:invalid { -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; }
+.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }
-.sub-header {
- margin: 0 20px;
-}
-.sub-header ul
-{
- margin: 0 0 0 30px;
- padding: 0;
- list-style: none;
-}
+::-moz-selection{ background: #FF5E99; color:#fff; }
+::selection { background:#FF5E99; color:#fff; }
+a:link { -webkit-tap-highlight-color: #FF5E99; }
+button { width: auto; overflow: visible; }
+.ie7 img { -ms-interpolation-mode: bicubic; }
+
+h1, h2, h3, h4, h5, h6 { font-weight: bold; }
+a, a:active, a:visited { color: #607890; }
+a:hover { color: #036; }
-.sub-header ul li {
- float: left;
- margin: 0 15px 0 0;
- padding: 0;
- text-indent: 0;
+
+/**
+ * Primary styles
+ *
+ * Author: Dylan Beattie (dylan@dylanbeattie.net)
+ */
+
+body > header {
+ position: absolute;
+ left: 8px;
+ right: 8px;
+ top: 8px;
+ height: 16px;
+ padding: 4px;
+ border: 1px solid #333333;
}
-.section {
- color: #333;
- border-bottom: 1px solid #999;
- margin: 10px 10px 0 10px;
- padding: 10px 0 0 0;
- clear: left;
+body > header > span#project-link {
+ position: absolute;
+ right: 4px;
+ top: 4px;
+}
+
+body {
+ background-color: #999999;
+}
+nav {
+ padding: 0px;
+}
+div.scroll {
+ padding: 4px;
+ overflow: auto;
+ position: absolute;
+ top: 24px;
+ bottom: 0px;
+ left: 0px;
+ right: 0px;
+ background-color: #fff;
}
-div.method
-{
- background: #EFEFEF;
- border: 1px dotted #CCC;
- margin: 5px 10px 15px 10px;
- padding: 0;
+div.scroll ul li {
+ padding: 2px 0px;
+}
+div.scroll ul li a {
+ text-decoration: none;
+}
+nav#namespaces {
+ position: absolute;
+ top: 42px;
+ left: 8px;
+ bottom: 8px;
+ width: 384px;
+ overflow: hidden;
}
-div.method h4
-{
- background: #CCC;
- border-bottom: 1px solid #666;
- color: #000;
- padding: 2px 5px;
- margin: 0 0 10px 0;
- font-weight: normal;
+nav#types {
+ position: absolute;
+ top: 42px;
+ right: 8px;
+ left: 400px;
+ height: 204px;
+ background-color: #fff;
+ overflow: hidden;
}
-div.method .content
-{
- padding: 0 10px 5px 10px;
+article {
+ position: absolute;
+ left: 400px;
+ top: 256px;
+ bottom: 40px;
+ right: 8px;
+ background-color: #fff;
+}
+footer {
+ position: absolute;
+ left: 400px;
+ bottom: 8px;
+ height: 16px;
+ right: 8px;
+ background-color: #aaaaaa;
+ padding: 4px;
+ font-size: 80%;
}
-div.method table caption
-{
- font-size: 12px;
- font-weight: bold;
- margin: 0;
- text-align: left;
+header {
+ background-color: #cccccc;
+}
+header p {
+ padding: 4px;
}
-div.method table
-{
- margin: 10px 0 0 0;
+nav h2, header p.class {
+ background-color: #333333;
+ padding: 4px;
+ color: #fff;
}
-#summary
-{
- background:#EFEFEF;
- border:1px dotted #999999;
- margin: 5px 10px 15px 10px;
- padding: 5px 10px;
+article section {
+ position: absolute;
+ top: 24px;
+ bottom: 0px;
+ left: 0px;
+ right: 0px;
+ overflow:auto;
}
-#namespaces
-{
- width: 50%;
- float: left;
- background: #FFF;
+section ul li {
+ margin: 4px 0px;
+}
+article section header p { margin: 0px; }
+article section h3, article section p {
+ padding: 4px;
+ margin: 4px 0px;
+}
+article section h3 {
+ font-size: 120%;
+}
+div.method {
+ padding: 4px 4px 4px 16px;
}
-#types
-{
- width: 50%;
- float: left;
- background: #FFF;
- margin-left: -1px;
+div#summary {
+ padding: 4px;
}
-h2.fixed {
- background: #CCC;
- color: #000;
- border-top: 1px solid #999;
- border-bottom: 1px solid #999;
- margin: 0;
- padding: 2px 10px;
- font-size: 12px;
- font-weight: bold;
+div.method div.content {
+ margin: 8px;
}
-div.scroll
-{
- overflow: scroll;
- height: 150px;
+footer span#docu-link {
+ position: absolute;
+ right: 4px;
+}
+code {
+ font-family: Consolas, Courier, monospaced;
+ font-weight: normal;
}
+
-#namespaces ul, #types ul
-{
- list-style: none;
- margin: 0 0 10px 0;
- padding: 0;
+h5 {
+ margin: 8px 0px;
}
-#namespaces ul li, #types ul li
-{
- text-indent: 0;
- padding-left: 10px;
+dl dt { width: 180px; float: left; }
+dl dd { margin-left: 180px; }
+
+
+
+.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
+.hidden { display: none; visibility: hidden; }
+.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
+.visuallyhidden.focusable:active,
+.visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
+.invisible { visibility: hidden; }
+.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
+.clearfix:after { clear: both; }
+.clearfix { zoom: 1; }
+
+
+@media all and (orientation:portrait) {
+
}
-a {
- background: #eef;
- color: #039;
- text-decoration: none;
+@media all and (orientation:landscape) {
+
}
-a:hover {
- color: #FFF;
- background: #039;
+@media screen and (max-device-width: 480px) {
+
+ /* html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
}
-#namespaces a.current, #types a.current {
- background: #039;
- color: #FFF;
- text-decoration: none;
+
+@media print {
+ * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
+ -ms-filter: none !important; }
+ a, a:visited { color: #444 !important; text-decoration: underline; }
+ a[href]:after { content: " (" attr(href) ")"; }
+ abbr[title]:after { content: " (" attr(title) ")"; }
+ .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
+ pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
+ thead { display: table-header-group; }
+ tr, img { page-break-inside: avoid; }
+ @page { margin: 0.5cm; }
+ p, h2, h3 { orphans: 3; widows: 3; }
+ h2, h3{ page-break-after: avoid; }
}
-#footer
-{
- text-align: center;
- font-size: 10px;
- color: #888;
- clear: left;
- padding-top: 10px;
-}
-
-blockquote
-{
- margin: 10px;
- padding: 6px;
- background: #F5F5F5;
- border-top: 3px solid #CCC;
- border-bottom: 3px solid #CCC;
-}
-.value
-{
- border-top-width: 1px;
- border-bottom-width: 1px;
- font-size: 90%;
-}

0 comments on commit 68e5bd4

Please sign in to comment.
Something went wrong with that request. Please try again.