From f5575782c4e8085e6f71f69ec2e368d1b4bdc795 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Fri, 14 Feb 2014 14:32:31 +0000 Subject: docs(docs.css): add initial type-hint styles --- docs/app/assets/css/docs.css | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'docs/app') diff --git a/docs/app/assets/css/docs.css b/docs/app/assets/css/docs.css index 1a0b678f..2d667602 100644 --- a/docs/app/assets/css/docs.css +++ b/docs/app/assets/css/docs.css @@ -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); +} -- cgit v1.2.3