add these code to your classic theme's css file issue backgroup will change color when you change its priority!
Added by yu xiaohang about 14 years ago
Just add these code under your redmine\public\themes\classic\stylesheets\application.css file ,color will change follow the setting of issue priority !
@/* Issues Grid Styles By Priorities*/
table.list tr.issue a { color: #3c3c3c; }
/* P5 /
tr.odd.priority-5, table.list tbody tr.odd.priority-5:hover { color: #900; font-weight: bold; }
tr.odd.priority-5 { background: #ffc4c4; }
tr.even.priority-5, table.list tbody tr.even.priority-5:hover { color: #900; font-weight: bold; }
tr.even.priority-5 { background: #ffd4d4; }
tr.priority-5 a, tr.priority-5:hover a { color: #900; }
tr.odd.priority-5 td, tr.even.priority-5 td { border-color: #ffb4b4; }
/ P4 */
tr.odd.priority-4, table.list tbody tr.odd.priority-4:hover { color: #900; }
tr.odd.priority-4 { background: #ffc4c4; }
tr.even.priority-4, table.list tbody tr.even.priority-4:hover { color: #900; }
tr.even.priority-4 { background: #ffd4d4; }
tr.priority-4 a { color: #900; }
tr.odd.priority-4 td, tr.even.priority-4 td { border-color: #ffb4b4; }
/* P3 */
tr.odd.priority-3, table.list tbody tr.odd.priority-3:hover { color: #900; }
tr.odd.priority-3 { background: #fee; }
tr.even.priority-3, table.list tbody tr.even.priority-3:hover { color: #900; }
tr.even.priority-3 { background: #fff2f2; }
tr.priority-3 a { color: #900; }
tr.odd.priority-3 td, tr.even.priority-3 td { border-color: #fcc; }
/* P2 (2 is NORMAL So No Styles) */
/* P1 */
tr.odd.priority-1, table.list tbody tr.odd.priority-1:hover { color: #559; }
tr.odd.priority-1 { background: #eaf7ff; }
tr.even.priority-1, table.list tbody tr.even.priority-1:hover { color: #559; }
tr.even.priority-1 { background: #f2faff; }
tr.priority-1 a { color: #559; }
tr.odd.priority-1 td, tr.even.priority-1 td { border-color: #add7f3; }
/* END Issues Grid Styles By Priorities*/@
Replies (5)
RE: add these code to your classic theme's css file issue backgroup will change color when you change its priority! - Added by yu xiaohang about 14 years ago
@ at begging and ending are not included!
RE: add these code to your classic theme's css file issue backgroup will change color when you change its priority! - Added by Felix Schäfer about 14 years ago
Or you could use the alternate them directly, see RedmineSettings.
RE: add these code to your classic theme's css file issue backgroup will change color when you change its priority! - Added by yu xiaohang about 14 years ago
oh really? but i like these cute icons haha。。。
RE: add these code to your classic theme's css file issue backgroup will change color when you change its priority! - Added by Felix Schäfer about 14 years ago
What icons? Anyway, what I meant is that there is a redmine theme called "alternate" that includes that already.
RE: add these code to your classic theme's css file issue backgroup will change color when you change its priority! - Added by yu xiaohang about 14 years ago
oh i know that, thanks ,i just mean i like classic theme's cute icons but this theme dont have issue highlighting function so i tried to change its issue display css file ,sorry for my poor english.