From 404c9a653a1e28de1c6dda996875d6616812313a Mon Sep 17 00:00:00 2001 From: Matias Niemelä Date: Tue, 7 May 2013 11:02:17 -0400 Subject: feat(ngdocs): add variable type hinting with colors --- docs/src/templates/css/docs.css | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) (limited to 'docs/src/templates') 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); +} -- cgit v1.2.3