From da39917917f03bd709eb7807cc5d900ddeb1e48c Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 13 Sep 2018 19:32:13 +0300 Subject: Rename package-search.css to packages.css --- mod/mod-packages.cxx | 2 +- www/package-search-body.css | 41 ----------------------------------------- www/package-search.css | 3 --- www/package-search.scss | 3 --- www/packages-body.css | 41 +++++++++++++++++++++++++++++++++++++++++ www/packages.css | 3 +++ www/packages.scss | 3 +++ 7 files changed, 48 insertions(+), 48 deletions(-) delete mode 100644 www/package-search-body.css delete mode 100644 www/package-search.css delete mode 100644 www/package-search.scss create mode 100644 www/packages-body.css create mode 100644 www/packages.css create mode 100644 www/packages.scss diff --git a/mod/mod-packages.cxx b/mod/mod-packages.cxx index 1157378..1515a53 100644 --- a/mod/mod-packages.cxx +++ b/mod/mod-packages.cxx @@ -117,7 +117,7 @@ handle (request& rq, response& rs) s << " " << squery; s << ~TITLE - << CSS_LINKS (path ("package-search.css"), root) + << CSS_LINKS (path ("packages.css"), root) // // This hack is required to avoid the "flash of unstyled content", which // happens due to the presence of the autofocus attribute in the input diff --git a/www/package-search-body.css b/www/package-search-body.css deleted file mode 100644 index df77d14..0000000 --- a/www/package-search-body.css +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Search form (based on form-table) - */ -#search-txt, #search-txt input {width: 100%;} -#search-btn {padding-left: .4em;} - -/* - * Package count. - */ -#count -{ - font-size: 1.32em; - line-height: 1.4em; - color: #555; - - margin: 1.2em 0 0 0; -} - -/* - * Version table. - */ -.package -{ - margin-top: .8em; - margin-bottom: .8em; - - padding-top: .4em; - padding-bottom: .4em; -} -.package:nth-child(even) {background-color: rgba(0, 0, 0, 0.07);} - -.package th {width: 6.4em;} - -.package tr.name td .value, -.package tr.depends td .value, -.package tr.requires td .value -{ - /* style. */ - font-family: monospace; - font-size: 0.94em; -} diff --git a/www/package-search.css b/www/package-search.css deleted file mode 100644 index 88e0be9..0000000 --- a/www/package-search.css +++ /dev/null @@ -1,3 +0,0 @@ -@import url(common.css); -@import url(brep-common.css); -@import url(package-search-body.css); diff --git a/www/package-search.scss b/www/package-search.scss deleted file mode 100644 index ae2689e..0000000 --- a/www/package-search.scss +++ /dev/null @@ -1,3 +0,0 @@ -@import "common"; -@import "brep-common"; -@import "package-search-body"; diff --git a/www/packages-body.css b/www/packages-body.css new file mode 100644 index 0000000..df77d14 --- /dev/null +++ b/www/packages-body.css @@ -0,0 +1,41 @@ +/* + * Search form (based on form-table) + */ +#search-txt, #search-txt input {width: 100%;} +#search-btn {padding-left: .4em;} + +/* + * Package count. + */ +#count +{ + font-size: 1.32em; + line-height: 1.4em; + color: #555; + + margin: 1.2em 0 0 0; +} + +/* + * Version table. + */ +.package +{ + margin-top: .8em; + margin-bottom: .8em; + + padding-top: .4em; + padding-bottom: .4em; +} +.package:nth-child(even) {background-color: rgba(0, 0, 0, 0.07);} + +.package th {width: 6.4em;} + +.package tr.name td .value, +.package tr.depends td .value, +.package tr.requires td .value +{ + /* style. */ + font-family: monospace; + font-size: 0.94em; +} diff --git a/www/packages.css b/www/packages.css new file mode 100644 index 0000000..09c5647 --- /dev/null +++ b/www/packages.css @@ -0,0 +1,3 @@ +@import url(common.css); +@import url(brep-common.css); +@import url(packages-body.css); diff --git a/www/packages.scss b/www/packages.scss new file mode 100644 index 0000000..6417ed8 --- /dev/null +++ b/www/packages.scss @@ -0,0 +1,3 @@ +@import "common"; +@import "brep-common"; +@import "packages-body"; -- cgit v1.1