summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-10-20 07:08:05 +0000
committerGo MAEDA <maeda@farend.jp>2024-10-20 07:08:05 +0000
commitd58c2a21eaf97a439c7adf061aa529e58fe51748 (patch)
tree1a334e202b9372431a024c3c4f1251e72a362739
parent309e6a27f35f56b397dc711c7ddfebef7e4b5db1 (diff)
downloadredmine-d58c2a21eaf97a439c7adf061aa529e58fe51748.tar.gz
redmine-d58c2a21eaf97a439c7adf061aa529e58fe51748.zip
Swap odd and even table row background colors (#41500).
Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23152 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/assets/stylesheets/application.css4
-rw-r--r--app/assets/themes/alternate/stylesheets/application.css16
2 files changed, 10 insertions, 10 deletions
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css
index 6efc9fac7..9bff4f48f 100644
--- a/app/assets/stylesheets/application.css
+++ b/app/assets/stylesheets/application.css
@@ -432,8 +432,8 @@ table.list tbody tr.group:hover { background-color:inherit; }
table td {padding:2px;}
table p {margin:0;}
-table.list:not(.odd-even) tbody tr:nth-child(odd), .odd, #issue-changesets div.changeset:nth-child(odd) { background-color:#f6f7f8; }
-table.list:not(.odd-even) tbody tr:nth-child(even), .even, #issue-changesets div.changeset:nth-child(even) { background-color: #fff; }
+table.list:not(.odd-even) tbody tr:nth-child(odd), .odd, #issue-changesets div.changeset:nth-child(odd) { background-color: #fff; }
+table.list:not(.odd-even) tbody tr:nth-child(even), .even, #issue-changesets div.changeset:nth-child(even) { background-color: #f6f7f8; }
table.list:not(.odd-even) tbody tr:nth-child(odd):hover, .odd:hover, #issue-changesets div.changeset:nth-child(odd):hover,
table.list:not(.odd-even) tbody tr:nth-child(even):hover, .even:hover, #issue-changesets div.changeset:nth-child(even):hover { background-color:#ffffdd; }
diff --git a/app/assets/themes/alternate/stylesheets/application.css b/app/assets/themes/alternate/stylesheets/application.css
index d13773dff..5734ebae2 100644
--- a/app/assets/themes/alternate/stylesheets/application.css
+++ b/app/assets/themes/alternate/stylesheets/application.css
@@ -55,30 +55,30 @@ table.list thead th {
table.list tr.issue a { color: #666; }
tr.odd.priority-highest, table.list tbody tr.odd.priority-highest:hover { color: #900; font-weight: bold; }
-tr.odd.priority-highest { background: #ffc4c4; }
+tr.odd.priority-highest { background: #ffd4d4; }
tr.even.priority-highest, table.list tbody tr.even.priority-highest:hover { color: #900; font-weight: bold; }
-tr.even.priority-highest { background: #ffd4d4; }
+tr.even.priority-highest { background: #ffc4c4; }
tr.priority-highest a, tr.priority-5:hover a { color: #900; }
tr.odd.priority-highest td, tr.even.priority-highest td { border-color: #ffb4b4; }
tr.odd.priority-high2, table.list tbody tr.odd.priority-high4:hover { color: #900; }
-tr.odd.priority-high2 { background: #ffc4c4; }
+tr.odd.priority-high2 { background: #ffd4d4; }
tr.even.priority-high2, table.list tbody tr.even.priority-high4:hover { color: #900; }
-tr.even.priority-high2 { background: #ffd4d4; }
+tr.even.priority-high2 { background: #ffc4c4; }
tr.priority-high2 a { color: #900; }
tr.odd.priority-high2 td, tr.even.priority-high4 td { border-color: #ffb4b4; }
tr.odd.priority-high3, table.list tbody tr.odd.priority-high3:hover { color: #900; }
-tr.odd.priority-high3 { background: #fee; }
+tr.odd.priority-high3 { background: #fff2f2; }
tr.even.priority-high3, table.list tbody tr.even.priority-high3:hover { color: #900; }
-tr.even.priority-high3 { background: #fff2f2; }
+tr.even.priority-high3 { background: #fee; }
tr.priority-high3 a { color: #900; }
tr.odd.priority-high3 td, tr.even.priority-high3 td { border-color: #fcc; }
tr.odd.priority-lowest, table.list tbody tr.odd.priority-lowest:hover { color: #559; }
-tr.odd.priority-lowest { background: #eaf7ff; }
+tr.odd.priority-lowest { background: #f2faff; }
tr.even.priority-lowest, table.list tbody tr.even.priority-lowest:hover { color: #559; }
-tr.even.priority-lowest { background: #f2faff; }
+tr.even.priority-lowest { background: #eaf7ff; }
tr.priority-lowest a { color: #559; }
tr.odd.priority-lowest td, tr.even.priority-lowest td { border-color: #add7f3; }