List for cgit developers and users
 help / color / mirror / Atom feed
* [PATCH 1/1] css: highlight even table rows
@ 2016-07-06 20:56 list
  2016-07-06 22:00 ` Jason
  0 siblings, 1 reply; 10+ messages in thread
From: list @ 2016-07-06 20:56 UTC (permalink / raw)


From: Christian Hesse <mail at eworm.de>

This is stolen from kernel.org css [0].

[0] https://git.kernel.org/cgit-korg-0.10.1.css

Signed-off-by: Christian Hesse <mail at eworm.de>
---
 cgit.css | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/cgit.css b/cgit.css
index a4331f8..e039970 100644
--- a/cgit.css
+++ b/cgit.css
@@ -134,10 +134,22 @@ div#cgit table.list tr.logheader {
 	background: #eee;
 }
 
+div#cgit table.list tr:nth-child(even) {
+	background: #f7f7f7;
+}
+
+div#cgit table.list tr:nth-child(odd) {
+	background: white;
+}
+
 div#cgit table.list tr:hover {
 	background: #eee;
 }
 
+div#cgit table.list tr.nohover {
+	background: white;
+}
+
 div#cgit table.list tr.nohover:hover {
 	background: white;
 }
-- 
2.9.0



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-07-12  8:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-06 20:56 [PATCH 1/1] css: highlight even table rows list
2016-07-06 22:00 ` Jason
2016-07-06 22:00   ` Jason
2016-07-07  6:08     ` list
2016-07-07  7:12       ` [PATCH 1/1] ui-log: do not print empty " list
2016-07-07 10:28         ` Jason
2016-07-07 10:54           ` list
2016-07-07 11:41             ` [PATCH 1/1] css, ui-log: highlight empty rows in commit graph, but do not hover list
2016-07-07 12:39               ` [PATCH 1/1] ui-repolist: highlight section rows, " list
2016-07-12  8:59             ` [PATCH 1/1] ui-log: do not print empty table rows list

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).