From bd6bb74967c6195c2ff2be73cdfa4f34c0c8de30 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Wed, 19 Sep 2012 07:27:52 +0100 Subject: [PATCH] Fix: Header TD elements need an outline of none to stop of focus flicker (matching TH elements which already have this) --- media/css/demo_table.css | 3 ++- media/css/jquery.dataTables.css | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/media/css/demo_table.css b/media/css/demo_table.css index f41a0042..12f352da 100644 --- a/media/css/demo_table.css +++ b/media/css/demo_table.css @@ -201,7 +201,8 @@ table.display td.center { background: url('../images/sort_desc_disabled.png') no-repeat center right; } -th:active { +table.display thead th:active, +table.display thead td:active { outline: none; } diff --git a/media/css/jquery.dataTables.css b/media/css/jquery.dataTables.css index 83df98ea..7da7faec 100644 --- a/media/css/jquery.dataTables.css +++ b/media/css/jquery.dataTables.css @@ -201,7 +201,8 @@ table.dataTable tr.even td.sorting_3 { background-color: #F9F9FF; } .sorting_asc_disabled { background: url('../images/sort_asc_disabled.png') no-repeat center right; } .sorting_desc_disabled { background: url('../images/sort_desc_disabled.png') no-repeat center right; } -table.dataTable th:active { +table.dataTable thead th:active, +table.dataTable thead td:active { outline: none; }