From b3c45017b337aff070f67fed485f62bc8131c1b0 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Mon, 7 Sep 2015 12:09:16 +0200 Subject: [PATCH 1/2] add font-rendering bugfix for safari while animating --- app/assets/stylesheets/zammad.css.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/assets/stylesheets/zammad.css.scss b/app/assets/stylesheets/zammad.css.scss index dc571ce16..67e33a2f9 100644 --- a/app/assets/stylesheets/zammad.css.scss +++ b/app/assets/stylesheets/zammad.css.scss @@ -2116,6 +2116,13 @@ footer { .nav-tab-icon .icon.icon-loading { animation: rotateplane 1.2s infinite ease-in-out; fill: $supergood-color; + + /* + Safari font rendering bugfix while animating + http://stackoverflow.com/questions/9733011/safari-changing-font-weights-when-unrelated-animations-are-running + */ + z-index: 60000; + position: relative; } .nav-tab-close { From 9193520d5128c4feef507606f0d9708131b2a063 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Mon, 7 Sep 2015 12:09:52 +0200 Subject: [PATCH 2/2] remove unnecessary icon modifier class --- app/assets/javascripts/app/views/task_widget_tasks.jst.eco | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/views/task_widget_tasks.jst.eco b/app/assets/javascripts/app/views/task_widget_tasks.jst.eco index 3efa71e96..5a4461224 100644 --- a/app/assets/javascripts/app/views/task_widget_tasks.jst.eco +++ b/app/assets/javascripts/app/views/task_widget_tasks.jst.eco @@ -4,7 +4,7 @@ <% if item.task.notify && item.data.iconClass is 'priority': %> <%- @Icon('priority-modified-outer-circle', "icon-#{item.data.iconClass}") %> <% else: %> - <%- @Icon(item.data.iconClass, "icon-#{item.data.iconClass}") %> + <%- @Icon(item.data.iconClass) %> <% end %> <% if item.task.notify && item.data.iconClass is 'priority': %> <%- @Icon('priority-modified-inner-circle', "modified-inner-circle icon-#{item.data.iconClass}") %>