From e5cbb190317dba2eddd933678474569563ec840b Mon Sep 17 00:00:00 2001 From: Belen Barros Pena Date: Fri, 31 Jan 2014 07:02:32 +0000 Subject: [PATCH] toaster: Apply error style to cell links This patch changes default.css so that any anchor tag inside a table cell with the error class applied inherits the class styles. This ensures that the failed tasks listed in the builds table look red like the failed tasks in the tasks table. Signed-off-by: Belen Barros Pena --- lib/toaster/toastergui/static/css/default.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/toaster/toastergui/static/css/default.css b/lib/toaster/toastergui/static/css/default.css index 461583977f2..80ae072677f 100644 --- a/lib/toaster/toastergui/static/css/default.css +++ b/lib/toaster/toastergui/static/css/default.css @@ -64,7 +64,7 @@ td a:hover { color: #000000; text-decoration: underline; } .table-hover tbody tr.error:hover > td { background-color: #F5F5F5;} /* override default Bootstrap behaviour */ /* Set error, warning, success and muted styles */ -.error, .red, tr.error a { color: #b94a48; } +.error, .red, td.error a, tr.error a { color: #b94a48; } a.error:hover, a.error:focus, tr.error a:hover { color: #943A38; text-decoration: underline; } .warning, .yellow { color: #c09853;} a.warning { background-color: transparent; } -- 2.47.3