aboutsummaryrefslogtreecommitdiff
path: root/www/advanced-search-body.css
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-08-06 22:03:31 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-08-07 19:19:22 +0300
commit443088f6093d3420212be0e1af3b9e802dca9362 (patch)
treeb1ec3b0c62ee0b8d66b0cbf21e21d68ae0d4f806 /www/advanced-search-body.css
parent7db53790ca2d2c004bfd00b503eca59a8d084870 (diff)
Add support for advanced package search
Diffstat (limited to 'www/advanced-search-body.css')
-rw-r--r--www/advanced-search-body.css84
1 files changed, 84 insertions, 0 deletions
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
+{
+ /* <code> 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;
+
+ /* <code> style. */
+ font-family: monospace;
+ font-weight: 500;
+}