From c63027311d5a972c0f6057c02689b93a43b41bf0 Mon Sep 17 00:00:00 2001 From: Tobias Engelmann Date: Tue, 11 Nov 2014 18:54:52 +0100 Subject: [PATCH 1/2] Add styles for repeatable and nullable for function arguments. --- less/main.less | 2 +- static/styles/jaguar.css | 10 +++------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/less/main.less b/less/main.less index 9f63782a..3a06ffa0 100644 --- a/less/main.less +++ b/less/main.less @@ -230,7 +230,7 @@ } } - .optional { + .optional, .repeatable, .nullable { float: left; border-radius: 3px; background-color: #ddd!important; diff --git a/static/styles/jaguar.css b/static/styles/jaguar.css index b55ac49f..7b97a922 100644 --- a/static/styles/jaguar.css +++ b/static/styles/jaguar.css @@ -140,12 +140,6 @@ li { font-size: 0.7em; padding: 2px 4px; } -.main h4.name span.type-signature.type a { - color: #fff; -} -.main h4.name > span.type-signature:first-child { - margin-right: 8px; -} .main h4.name span.type { margin-left: 5px; } @@ -294,7 +288,9 @@ li { .main table .description p { margin: 0; } -.main table .optional { +.main table .optional, +.main table .repeatable, +.main table .nullable { float: left; border-radius: 3px; background-color: #ddd!important; From 696e9588987f9399031d4e5ec6b9c03714ee6ce9 Mon Sep 17 00:00:00 2001 From: Tobias Engelmann Date: Wed, 12 Nov 2014 00:08:30 +0100 Subject: [PATCH 2/2] Added accidentially removed styles again. --- less/main.less | 8 ++++++++ static/styles/jaguar.css | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/less/main.less b/less/main.less index 3a06ffa0..9970ecfe 100644 --- a/less/main.less +++ b/less/main.less @@ -47,6 +47,14 @@ color: #fff; font-size: 0.7em; padding: 2px 4px; + + &.type a { + color: #fff; + } + } + + & > span.type-signature:first-child { + margin-right: 8px; } span.type { diff --git a/static/styles/jaguar.css b/static/styles/jaguar.css index 7b97a922..4cac5e16 100644 --- a/static/styles/jaguar.css +++ b/static/styles/jaguar.css @@ -140,6 +140,12 @@ li { font-size: 0.7em; padding: 2px 4px; } +.main h4.name span.type-signature.type a { + color: #fff; +} +.main h4.name > span.type-signature:first-child { + margin-right: 8px; +} .main h4.name span.type { margin-left: 5px; }