From fe05827340092db16eda3159cb19da8bf7f5b093 Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Sun, 13 Oct 2024 09:31:53 +0200 Subject: [PATCH] Added css for difflib tables --- templates/themes/clear-blue/base.css | 34 ++++++++++++++++++++++++-- templates/themes/clear-digits/base.css | 34 ++++++++++++++++++++++++-- templates/themes/clear-green/base.css | 34 ++++++++++++++++++++++++-- templates/themes/clear-red/base.css | 34 ++++++++++++++++++++++++-- 4 files changed, 128 insertions(+), 8 deletions(-) diff --git a/templates/themes/clear-blue/base.css b/templates/themes/clear-blue/base.css index 01af330..2c9e8fc 100644 --- a/templates/themes/clear-blue/base.css +++ b/templates/themes/clear-blue/base.css @@ -101,7 +101,6 @@ table { width: 100%; margin: 2px 0px; } - td, th { border: 1px solid #dddddd; text-align: left; @@ -109,8 +108,39 @@ td, th { } tr:nth-child(even) { - background-color: #dddddd; + background-color: #eeeeee; } + +table.diff +{ + font-family:Courier; + border:medium; +} +.diff_header +{ + background-color:#e0e0e0 +} +td.diff_header +{ + text-align:right +} +.diff_next +{ + background-color:#c0c0c0 +} +.diff_add +{ + background-color:#aaffaa +} +.diff_chg +{ + background-color:#ffff77 +} +.diff_sub +{ + background-color:#ffaaaa +} + /* * Forms */ diff --git a/templates/themes/clear-digits/base.css b/templates/themes/clear-digits/base.css index 4f348e8..4ff65f0 100644 --- a/templates/themes/clear-digits/base.css +++ b/templates/themes/clear-digits/base.css @@ -101,7 +101,6 @@ table { width: 100%; margin: 2px 0px; } - td, th { border: 1px solid #dddddd; text-align: left; @@ -109,8 +108,39 @@ td, th { } tr:nth-child(even) { - background-color: #dddddd; + background-color: #eeeeee; } + +table.diff +{ + font-family:Courier; + border:medium; +} +.diff_header +{ + background-color:#e0e0e0 +} +td.diff_header +{ + text-align:right +} +.diff_next +{ + background-color:#c0c0c0 +} +.diff_add +{ + background-color:#aaffaa +} +.diff_chg +{ + background-color:#ffff77 +} +.diff_sub +{ + background-color:#ffaaaa +} + /* * Forms */ diff --git a/templates/themes/clear-green/base.css b/templates/themes/clear-green/base.css index 6c40891..67228ea 100644 --- a/templates/themes/clear-green/base.css +++ b/templates/themes/clear-green/base.css @@ -101,7 +101,6 @@ table { width: 100%; margin: 2px 0px; } - td, th { border: 1px solid #dddddd; text-align: left; @@ -109,8 +108,39 @@ td, th { } tr:nth-child(even) { - background-color: #dddddd; + background-color: #eeeeee; } + +table.diff +{ + font-family:Courier; + border:medium; +} +.diff_header +{ + background-color:#e0e0e0 +} +td.diff_header +{ + text-align:right +} +.diff_next +{ + background-color:#c0c0c0 +} +.diff_add +{ + background-color:#aaffaa +} +.diff_chg +{ + background-color:#ffff77 +} +.diff_sub +{ + background-color:#ffaaaa +} + /* * Forms */ diff --git a/templates/themes/clear-red/base.css b/templates/themes/clear-red/base.css index 3eda96d..8239a33 100644 --- a/templates/themes/clear-red/base.css +++ b/templates/themes/clear-red/base.css @@ -101,7 +101,6 @@ table { width: 100%; margin: 2px 0px; } - td, th { border: 1px solid #dddddd; text-align: left; @@ -109,8 +108,39 @@ td, th { } tr:nth-child(even) { - background-color: #dddddd; + background-color: #eeeeee; } + +table.diff +{ + font-family:Courier; + border:medium; +} +.diff_header +{ + background-color:#e0e0e0 +} +td.diff_header +{ + text-align:right +} +.diff_next +{ + background-color:#c0c0c0 +} +.diff_add +{ + background-color:#aaffaa +} +.diff_chg +{ + background-color:#ffff77 +} +.diff_sub +{ + background-color:#ffaaaa +} + /* * Forms */