]> source.dussan.org Git - redmine.git/commitdiff
Swap odd and even table row background colors (#41500).
authorGo MAEDA <maeda@farend.jp>
Sun, 20 Oct 2024 07:08:05 +0000 (07:08 +0000)
committerGo MAEDA <maeda@farend.jp>
Sun, 20 Oct 2024 07:08:05 +0000 (07:08 +0000)
Patch by Go MAEDA (user:maeda).

git-svn-id: https://svn.redmine.org/redmine/trunk@23152 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/assets/stylesheets/application.css
app/assets/themes/alternate/stylesheets/application.css

index 6efc9fac7878c1b91ac91a94bc114ed89af080d3..9bff4f48fa6f9f09555afadbaaa41b839f63fe45 100644 (file)
@@ -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; }
 
index d13773dff5e019aa40230af574c2835c216f222f..5734ebae26a9a8d74a2e2394ff1925ec5630f9a0 100644 (file)
@@ -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; }