Stylesheet to hide protected members.

Source tags are also hidden here as they only provide the file name and not the complete path.  This should be fixed in JSDoc 3.
This commit is contained in:
Tim Schaub
2012-09-24 17:50:39 +02:00
parent 4b015f9962
commit 99e58cb8e0
3 changed files with 31 additions and 43 deletions

View File

@@ -1,11 +1,9 @@
html
{
html {
overflow: auto;
background-color: #fff;
}
body
{
body {
font: 14px "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans serif;
line-height: 130%;
color: #000;
@@ -24,8 +22,7 @@ a:active {
color: #444;
}
header
{
header {
display: block;
padding: 6px 4px;
}
@@ -44,8 +41,7 @@ header
width: 100%;
}
section
{
section {
display: block;
background-color: #fff;
@@ -66,8 +62,7 @@ section
font-weight: lighter;
}
nav
{
nav {
display: block;
float: left;
margin-left: -230px;
@@ -119,24 +114,21 @@ footer {
font-size: 90%;
}
h1
{
h1 {
font-size: 200%;
font-weight: bold;
letter-spacing: -0.01em;
margin: 6px 0 9px 0;
}
h2
{
h2 {
font-size: 170%;
font-weight: bold;
letter-spacing: -0.01em;
margin: 6px 0 3px 0;
}
h3
{
h3 {
font-size: 150%;
font-weight: bold;
letter-spacing: -0.01em;
@@ -144,8 +136,7 @@ h3
margin: 6px 0 3px 0;
}
h4
{
h4 {
font-size: 130%;
font-weight: bold;
letter-spacing: -0.01em;
@@ -154,31 +145,35 @@ h4
color: #A35A00;
}
h5, .container-overview .subsection-title
{
h5, .container-overview .subsection-title {
font-size: 120%;
font-weight: bold;
letter-spacing: -0.01em;
margin: 8px 0 3px -16px;
}
h6
{
h6 {
font-size: 100%;
letter-spacing: -0.01em;
margin: 6px 0 3px 0;
font-style: italic;
}
.protected {
display: none;
}
dt.tag-source dd.tag-source {
display: none;
}
.ancestors { color: #999; }
.ancestors a
{
.ancestors a {
color: #999 !important;
text-decoration: none;
}
.important
{
.important {
font-weight: bold;
color: #950B02;
}
@@ -208,22 +203,19 @@ h6
margin-top: 1em;
}
.code-caption
{
.code-caption {
font-style: italic;
font-family: Palatino, 'Palatino Linotype', serif;
font-size: 107%;
margin: 0;
}
.prettyprint
{
.prettyprint {
border: 1px solid #ddd;
width: 80%;
}
.prettyprint code
{
.prettyprint code {
font-family: Consolas, 'Lucida Console', Monaco, monospace;
font-size: 100%;
line-height: 18px;
@@ -235,8 +227,7 @@ h6
border-left: 3px #ddd solid;
}
.params, .props
{
.params, .props {
border-spacing: 0;
border: 0;
border-collapse: collapse;
@@ -248,8 +239,7 @@ h6
font-size: 100%;
}
.params td, .params th, .props td, .props th
{
.params td, .params th, .props td, .props th {
border: 1px solid #ddd;
margin: 0px;
text-align: left;
@@ -258,14 +248,12 @@ h6
display: table-cell;
}
.params thead tr, .props thead tr
{
.params thead tr, .props thead tr {
background-color: #ddd;
font-weight: bold;
}
.params .params thead tr, .props .props thead tr
{
.params .params thead tr, .props .props thead tr {
background-color: #fff;
font-weight: bold;
}

View File

@@ -10,7 +10,7 @@
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-jsdoc.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
<link type="text/css" rel="stylesheet" href="styles/apidoc.css">
</head>
<body>

View File

@@ -1,12 +1,12 @@
<dt>
<dt class="protected">
<h4 class="name" id="<?js= id ?>"><?js= data.attribs + name + data.signature ?></h4>
<?js if (data.summary) { ?>
<p class="summary"><?js= summary ?></p>
<?js } ?>
</dt>
<dd>
<dd class="protected">
<?js if (data.description) { ?>
<div class="description">
<?js= data.description ?>