[1/1] Highlighting row on hover in the search results. FS#53612

Message ID 20180608210420.1697-1-nodivbyzero@gmail.com
State New
Headers show
Series [1/1] Highlighting row on hover in the search results. FS#53612 | expand

Commit Message

Nodiv Byzero June 8, 2018, 9:04 p.m. UTC
---
 web/html/css/archweb.css | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

Comments

Lukas Fleischer June 9, 2018, 10:30 a.m. UTC | #1
On Fri, 08 Jun 2018 at 23:04:20, nodivbyzero wrote:
> ---
>  web/html/css/archweb.css | 12 ++++++++++--
>  1 file changed, 10 insertions(+), 2 deletions(-)
> [...]

We keep this in sync with the actual archweb CSS. So instead of doing
this, we should copy and commit the most recent version from archweb.
Nodiv Byzero June 10, 2018, 11:17 p.m. UTC | #2
Thank you for this info.
I'll submit my patch to archweb first.

On Sat, Jun 9, 2018 at 10:30 AM, Lukas Fleischer
<lfleischer@archlinux.org> wrote:
> On Fri, 08 Jun 2018 at 23:04:20, nodivbyzero wrote:
>> ---
>>  web/html/css/archweb.css | 12 ++++++++++--
>>  1 file changed, 10 insertions(+), 2 deletions(-)
>> [...]
>
> We keep this in sync with the actual archweb CSS. So instead of doing
> this, we should copy and commit the most recent version from archweb.

Patch

diff --git a/web/html/css/archweb.css b/web/html/css/archweb.css
index d8c66aa..54779eb 100644
--- a/web/html/css/archweb.css
+++ b/web/html/css/archweb.css
@@ -708,12 +708,20 @@  table.results {
         padding: .3em 1em .3em 3px;
     }
 
-    .results tr.odd {
+    .results tr.odd:hover {
         background: #fff;
     }
 
+    .results tr.odd {
+        background: #f5f5f5;
+    }
+
+    .results tr.even:hover {
+        background: #b3cfff;
+    }
+
     .results tr.even {
-        background: #e4eeff;
+        background: #ccdfff;
     }
 
     .results .flagged {