diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/advanced-search-body.css | 98 | ||||
-rw-r--r-- | www/advanced-search.css | 3 | ||||
-rw-r--r-- | www/advanced-search.scss | 3 | ||||
-rw-r--r-- | www/package-details-body.css | 19 | ||||
-rw-r--r-- | www/package-version-details-body.css | 30 |
5 files changed, 136 insertions, 17 deletions
diff --git a/www/advanced-search-body.css b/www/advanced-search-body.css new file mode 100644 index 0000000..47398ae --- /dev/null +++ b/www/advanced-search-body.css @@ -0,0 +1,98 @@ +/* + * 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 +{ + margin-top: 1.7em; + margin-bottom: -1.2em; + + padding-top: .4em; + padding-bottom: .4em; +} + +.package, table.version, #filter +{ + margin-top: .8em; + margin-bottom: .8em; + + padding-top: .4em; + padding-bottom: .4em; +} + +.package, #project-break +{ + margin-left: -.4rem; + padding-left: 2.25rem; +} + +table.version, #package-break +{ + margin-left: 4rem; + padding-left: .4rem; +} + +table.version +{ + width: calc(100% + .8rem - 4.4rem); +} + +table.version:nth-child(odd) {background-color: rgba(0, 0, 0, 0.07);} + +table.project th, .package th +{ + width: 5.5em; +} + +table.version th, #filter 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 +{ + /* <code> style. */ + font-family: monospace; + font-weight: 500; +} diff --git a/www/advanced-search.css b/www/advanced-search.css new file mode 100644 index 0000000..b594f97 --- /dev/null +++ b/www/advanced-search.css @@ -0,0 +1,3 @@ +@import url(common.css); +@import url(brep-common.css); +@import url(advanced-search-body.css); diff --git a/www/advanced-search.scss b/www/advanced-search.scss new file mode 100644 index 0000000..77cbe34 --- /dev/null +++ b/www/advanced-search.scss @@ -0,0 +1,3 @@ +@import "common"; +@import "brep-common"; +@import "advanced-search-body"; diff --git a/www/package-details-body.css b/www/package-details-body.css index 1083c54..23bd8f1 100644 --- a/www/package-details-body.css +++ b/www/package-details-body.css @@ -118,8 +118,7 @@ h1, h2 } #package th {width: 7.6em;} -#package tr.topics td a, -#package tr.project td a +#package tr.topics td a { display: inline-block; @@ -129,21 +128,18 @@ h1, h2 margin: 0 0.35em 0.1em 0; } -#package tr.topics td a:visited, -#package tr.project td a:visited +#package tr.topics td a:visited { color: #3870c0; } -#package tr.topics td a:hover, -#package tr.project td a:hover +#package tr.topics td a:hover { text-decoration: none; background-color: #def; } -#package tr.topics td, -#package tr.project td +#package tr.topics td { padding: 0; margin: 0 0 0 -0.5em; @@ -185,7 +181,8 @@ table.version th {width: 7.6em;} table.version tr.version td .value, table.version tr.priority td .value, table.version tr.depends td .value, -table.version tr.requires td .value +table.version tr.requires td .value, +table.version tr.reviews td .value { /* <code> style. */ font-family: monospace; @@ -195,3 +192,7 @@ table.version tr.requires td .value table.version tr.priority td .security {color: #ff0000; font-weight: bold;} table.version tr.priority td .high {color: #ff0000;} table.version tr.priority td .medium {color: #fe7c04;} + +table.version tr.reviews td .none {color: #fe7c04;} +table.version tr.reviews td .fail {color: #ff0000;} +table.version tr.reviews td .pass {color: #00bb00;} diff --git a/www/package-version-details-body.css b/www/package-version-details-body.css index 1c41ed5..bd4d753 100644 --- a/www/package-version-details-body.css +++ b/www/package-version-details-body.css @@ -171,8 +171,7 @@ h1, h2, h3 } #package th {width: 9.5em;} -#package tr.topics td a, -#package tr.project td a +#package tr.topics td a { display: inline-block; @@ -182,21 +181,18 @@ h1, h2, h3 margin: 0 0.35em 0.1em 0; } -#package tr.topics td a:visited, -#package tr.project td a:visited +#package tr.topics td a:visited { color: #3870c0; } -#package tr.topics td a:hover, -#package tr.project td a:hover +#package tr.topics td a:hover { text-decoration: none; background-color: #def; } -#package tr.topics td, -#package tr.project td +#package tr.topics td { padding: 0; margin: 0 0 0 -0.5em; @@ -289,6 +285,24 @@ h1, h2, h3 } /* + * Reviews. + */ +#reviews {margin-top: .4em; margin-bottom: 1em;} +#reviews th {width: 3.7em; padding-left: 3.2em;} + +#reviews tr.fail td .value, +#reviews tr.pass td .value +{ + /* <code> 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 |