From 7db53790ca2d2c004bfd00b503eca59a8d084870 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 1 Aug 2024 20:03:48 +0300 Subject: Add support for loading package version reviews --- www/package-version-details-body.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'www/package-version-details-body.css') diff --git a/www/package-version-details-body.css b/www/package-version-details-body.css index 1c41ed5..284ccc2 100644 --- a/www/package-version-details-body.css +++ b/www/package-version-details-body.css @@ -289,6 +289,24 @@ h1, h2, h3 } /* + * Reviews. + */ +#reviews {margin-top: .4em; margin-bottom: 1em;} +#reviews th {width: 5.7em;} + +#reviews tr.fail td .value, +#reviews tr.pass td .value +{ + /* style. */ + font-family: monospace; + font-size: 0.94em; +} + +#reviews tr td .value .none {color: #fe7c04;} +#reviews tr td .value .fail {color: #ff0000;} +#reviews tr td .value .pass {color: #00bb00;} + +/* * Binaries. */ #binaries -- cgit v1.1