From f2c75b7247bff4e8c2b299abb6401e1f4ef8600a Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Tue, 10 Feb 2015 10:23:59 +0000 Subject: [PATCH] Update - bootstrap integration: Modify the colours of the sorting icons --- .../bootstrap/3/dataTables.bootstrap.css | 23 +++++++++++++------ 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/integration/bootstrap/3/dataTables.bootstrap.css b/integration/bootstrap/3/dataTables.bootstrap.css index dec2c7f..a6b5cd3 100644 --- a/integration/bootstrap/3/dataTables.bootstrap.css +++ b/integration/bootstrap/3/dataTables.bootstrap.css @@ -74,22 +74,31 @@ table.dataTable thead .sorting_desc_disabled { position: relative; } -table.dataTable thead th.sorting:after, -table.dataTable thead th.sorting_asc:after, -table.dataTable thead th.sorting_desc:after { +table.dataTable thead .sorting:after, +table.dataTable thead .sorting_asc:after, +table.dataTable thead .sorting_desc:after { position: absolute; top: 8px; right: 8px; display: block; font-family: 'Glyphicons Halflings'; + opacity: 0.5; +} +table.dataTable thead .sorting:after { + opacity: 0.2; content: "\e150"; /* sort */ - color: #999; } -table.dataTable thead th.sorting_asc:after { color: #333; content: "\e155"; /* sort-by-attributes */ } -table.dataTable thead th.sorting_desc:after { color: #333; content: "\e156"; /* sort-by-attributes-alt */ } +table.dataTable thead .sorting_asc:after { + content: "\e155"; /* sort-by-attributes */ +} +table.dataTable thead .sorting_desc:after { + content: "\e156"; /* sort-by-attributes-alt */ +} table.dataTable thead .sorting_asc_disabled:after, -table.dataTable thead .sorting_desc_disabled:after { color: #eee } +table.dataTable thead .sorting_desc_disabled:after { + color: #eee; +} table.dataTable thead > tr > th { padding-left: 8px;