From 443088f6093d3420212be0e1af3b9e802dca9362 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 6 Aug 2024 22:03:31 +0300 Subject: Add support for advanced package search --- www/advanced-search-body.css | 84 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 www/advanced-search-body.css (limited to 'www/advanced-search-body.css') diff --git a/www/advanced-search-body.css b/www/advanced-search-body.css new file mode 100644 index 0000000..b2a23f6 --- /dev/null +++ b/www/advanced-search-body.css @@ -0,0 +1,84 @@ +/* + * Filter form (based on proplist and form-table) + */ +#filter input, #filter select, +#package-version-count, #package-version-count #count +{ + width: 100%; + margin:0; +} + +#filter-btn {padding-left: .4em;} + +/* + * Package version count. + */ +#count +{ + font-size: 1.32em; + line-height: 1.4em; + color: #555; + + margin: 1.2em 0 0 0; +} + +/* + * Project, Package, and Version tables. + */ +table.project, .package, table.version, #filter +{ + margin-top: .8em; + margin-bottom: .8em; + + padding-top: .4em; + padding-bottom: .4em; +} + +.package, #project-break +{ + padding-left: 2.25em; +} + +table.version, #package-break +{ + padding-left: 4.5em; +} + +table.version:nth-child(even) {background-color: rgba(0, 0, 0, 0.07);} + +table.project th, .package th, #filter th +{ + width: 5.5em; +} + +table.version th +{ + width: 7.3em; +} + +table.project tr.project td .value, +.package tr.name td .value, +.package tr.summary td .value, +.package tr.license td .value, +table.version tr.version td .value, +table.version tr.depends td .value, +table.version tr.requires td .value, +table.version tr.reviews td .value +{ + /* style. */ + font-family: monospace; + font-size: 0.94em; +} + +table.version tr.reviews td .none {color: #fe7c04;} +table.version tr.reviews td .fail {color: #ff0000;} +table.version tr.reviews td .pass {color: #00bb00;} + +#package-break, #project-break +{ + margin-left: -.4rem; + + /* style. */ + font-family: monospace; + font-weight: 500; +} -- cgit v1.1