From 448469ceb3480f1b4309091717fd4fa634fed857 Mon Sep 17 00:00:00 2001 From: Alex Coles Date: Tue, 27 May 2014 22:19:41 +0200 Subject: [PATCH] Display asc/desc sort indicator from icon font Signed-off-by: Alex Coles --- app/assets/stylesheets/content/_links.sass | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/content/_links.sass b/app/assets/stylesheets/content/_links.sass index 81b55e1c5f..e79d226b4e 100644 --- a/app/assets/stylesheets/content/_links.sass +++ b/app/assets/stylesheets/content/_links.sass @@ -43,11 +43,20 @@ a padding-right: 16px background-position: 100% 50% background-repeat: no-repeat - &.asc - background-image: url(image-path('sort_asc.png')) + &.asc:after + @include icon-common + content: "\e0dd" + margin-left: 5px + font-size: 1.2em + vertical-align: text-bottom + + &.desc:after + @include icon-common + content: "\e0de" + margin-left: 5px + font-size: 1.2em + vertical-align: text-bottom - &.desc - background-image: url(image-path('sort_desc.png')) &.issue.closed, &.issue.closed:hover text-decoration: line-through