From ca26a866bdc661c338dc4adaf5e4b15564431cf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 13 Dec 2015 16:56:53 +0100 Subject: [PATCH] misc: use FontAwesome icons in sortable headers (#9096) --- wcs/qommon/static/css/dc2/admin.css | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/wcs/qommon/static/css/dc2/admin.css b/wcs/qommon/static/css/dc2/admin.css index 1b5d27d..3bfc3b8 100644 --- a/wcs/qommon/static/css/dc2/admin.css +++ b/wcs/qommon/static/css/dc2/admin.css @@ -368,12 +368,22 @@ table.main th.nosort { cursor: inherit; } +table.main th[data-field-sort-key] span:after { + padding-left: 1ex; + content: "\f0dc"; /* sort */ + font-family: FontAwesome; +} + table.main th.headerSortUp span:after { - content: " \23f7"; /* down pointing triangle */ + padding-left: 1ex; + content: "\f0dd"; /* sort-desc */ + font-family: FontAwesome; } table.main th.headerSortDown span:after { - content: " \23f6"; /* up pointing triangle */ + padding-left: 1ex; + content: "\f0de"; /* sort-asc */ + font-family: FontAwesome; } div.letters-nav { -- 2.6.4