Make types look the same everywhere

This commit is contained in:
Andreas Hocevar
2014-05-15 16:57:47 +02:00
parent 720052de12
commit fc88db53f6
2 changed files with 2 additions and 33 deletions

View File

@@ -160,17 +160,6 @@ li {
.main dd, .main .props {
font-size: 13px;
}
.main h4.name span.type-signature {
display: inline-block;
border-radius: 3px;
background-color: gray;
color: #fff;
font-size: 0.7em;
padding: 2px 4px;
}
.main h4.name span.type-signature.type a {
color: #2f61b1;
}
.main h4.name span.type {
margin-left: 10px;
}
@@ -180,7 +169,7 @@ li {
color: #c1c1c1;
margin-left: 7px;
}
.main h4.name span.returnType {
.main h4.name span.returnType, .main h4.name span.type {
margin-left: 3px;
background-color: transparent!important;
color: gray!important;
@@ -194,26 +183,6 @@ li {
font-size: 0.8em;
padding: 2px 4px;
}
.main span.number {
background-color: #ccc !important;
color: #2fa2b1 !important;
}
.main span.string {
background-color: #ccc !important;
color: #2fa2b1 !important;
}
.main span.object {
background-color: #ccc !important;
color: #2fa2b1 !important;
}
.main span.array {
background-color: #ccc !important;
color: #2fa2b1 !important;
}
.main span.boolean {
background-color: #ccc !important;
color: #2fa2b1 !important;
}
.main .subsection-title {
font-size: 15px;
margin-top: 30px;

View File

@@ -5,7 +5,7 @@ var typeSignature = '';
if (data.type && data.type.names) {
data.type.names.forEach(function (name) {
typeSignature += '<span class="type-signature type ' + name.toLowerCase() + '">' + self.linkto(name, self.htmlsafe(name)) + '</span> ';
typeSignature += '<span class="type-signature type ' + name.toLowerCase() + '">{' + self.linkto(name, self.htmlsafe(name)) + '}</span> ';
});
}
?>