From 6e24ebca6b249aa8c89f73a651dc254ded89c98f Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Thu, 4 Jan 2018 09:51:09 +0100 Subject: [PATCH] Display icons on identities/responses/filters lists --- skins/elastic/styles/widgets/lists.less | 28 +++++++++++++++++++++++++ skins/elastic/templates/responses.html | 2 +- skins/elastic/ui.js | 2 +- 3 files changed, 30 insertions(+), 2 deletions(-) diff --git a/skins/elastic/styles/widgets/lists.less b/skins/elastic/styles/widgets/lists.less index 8f9d7b865..c0c616a65 100644 --- a/skins/elastic/styles/widgets/lists.less +++ b/skins/elastic/styles/widgets/lists.less @@ -918,3 +918,31 @@ html.touch { } } } + +#identities-table { + td.mail:before { + &:extend(.font-icon-class); + content: @fa-var-at; + } +} + +#responses-table { + td.name:before { + &:extend(.font-icon-class); + content: @fa-var-comment; + } +} + +#filterslist { + td.name:before { + &:extend(.font-icon-class); + content: @fa-var-filter; + } +} + +#filtersetslist { + td.name:before { + &:extend(.font-icon-class); + content: @fa-var-file-alt; + } +} diff --git a/skins/elastic/templates/responses.html b/skins/elastic/templates/responses.html index 63bf08545..2dc68f256 100644 --- a/skins/elastic/templates/responses.html +++ b/skins/elastic/templates/responses.html @@ -13,7 +13,7 @@
-
diff --git a/skins/elastic/ui.js b/skins/elastic/ui.js index fc13e7d35..d93722657 100644 --- a/skins/elastic/ui.js +++ b/skins/elastic/ui.js @@ -2947,7 +2947,7 @@ function rcube_elastic_ui() records = $('tr,li', navlist).filter(function() { return this.style.display != 'none'; }); height = $(records[0]).height() || 50; - navlist.animate({height: (Math.min(5, records.length) * height) + 'px'}, speed); + navlist.animate({height: (Math.min(5, records.length) * height + 1) + 'px'}, speed); button.addClass('collapse').removeClass('expand'); } else {