From f83d08298040ce5b5c83ebeab19154f692182c0e Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Sat, 7 Sep 2024 14:40:33 -0400 Subject: [PATCH] LibWebView: Alternate the color of inspector table rows This makes large tables a bit easier to read. --- Base/res/ladybird/inspector.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Base/res/ladybird/inspector.css b/Base/res/ladybird/inspector.css index 4f094302c41..4ac8f35f72d 100644 --- a/Base/res/ladybird/inspector.css +++ b/Base/res/ladybird/inspector.css @@ -24,6 +24,7 @@ --console-table-row-hover: rgb(80, 79, 79); --console-table-border: gray; --property-table-head: rgb(57, 57, 57); + --property-table-row: rgb(45, 45, 45); } } @@ -48,6 +49,7 @@ --console-table-row-hover: rgb(199, 198, 198); --console-table-border: gray; --property-table-head: rgb(229, 229, 229); + --property-table-row: rgb(240, 240, 240); } } @@ -281,6 +283,10 @@ details > :not(:first-child) { text-overflow: ellipsis; } +.property-table tr:nth-child(even) { + background-color: var(--property-table-row); +} + #fonts { display: flex; flex-direction: row;