aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/templates/css
diff options
context:
space:
mode:
authorMatias Niemelä2013-05-07 11:02:17 -0400
committerMisko Hevery2013-05-08 15:25:56 -0700
commit404c9a653a1e28de1c6dda996875d6616812313a (patch)
tree95f9869221406b896c83a644c5d998560f63c3f6 /docs/src/templates/css
parentee2689051bb40794eeb81baf80dc0717fd9edd2a (diff)
downloadangular.js-404c9a653a1e28de1c6dda996875d6616812313a.tar.bz2
feat(ngdocs): add variable type hinting with colors
Diffstat (limited to 'docs/src/templates/css')
-rw-r--r--docs/src/templates/css/docs.css39
1 files changed, 39 insertions, 0 deletions
diff --git a/docs/src/templates/css/docs.css b/docs/src/templates/css/docs.css
index 7d22baab..fdc74736 100644
--- a/docs/src/templates/css/docs.css
+++ b/docs/src/templates/css/docs.css
@@ -202,3 +202,42 @@ ul.events > li > h3 {
.clear {
clear: both;
}
+
+.variables-matrix td {
+ vertical-align:top;
+ padding:5px;
+}
+
+.type-hint {
+ display:inline-block;
+}
+
+.variables-matrix .type-hint {
+ text-align:center;
+ display:block;
+ 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);
+}