docs(docs.css): add initial type-hint styles

This commit is contained in:
Peter Bacon Darwin
2014-02-14 14:32:31 +00:00
parent d85505d019
commit f5575782c4

View File

@@ -377,3 +377,43 @@ iframe.example {
top:20px;
right:20px;
}
.variables-matrix td {
vertical-align:top;
padding:5px;
}
.type-hint {
display:inline-block;
}
.variables-matrix .type-hint {
text-align:center;
min-width:60px;
}
.type-hint + .type-hint {
margin-top:5px;
}
.type-hint-string {
background:#3a87ad;
}
.type-hint-object {
background:#999;
}
.type-hint-array {
background:#F90;;
}
.type-hint-boolean {
background:rgb(18, 131, 39);
}
.type-hint-number {
background:rgb(189, 63, 66);
}