diff --git a/app/assets/javascripts/app/controllers/ticket_zoom/higlighter.coffee b/app/assets/javascripts/app/controllers/ticket_zoom/higlighter.coffee index 5800eddb5..3edacb434 100644 --- a/app/assets/javascripts/app/controllers/ticket_zoom/higlighter.coffee +++ b/app/assets/javascripts/app/controllers/ticket_zoom/higlighter.coffee @@ -165,8 +165,8 @@ class App.TicketZoomHighlighter extends App.Controller #@articles.attr('data-highlightcolor', @colors[@activeColorIndex].name) pickColor: (e) => - @$('.js-highlightColor .visibility-change.is-active').removeClass('is-active') - $(e.currentTarget).find('.visibility-change').addClass('is-active') + @$('.js-highlightColor .is-selected').removeClass('is-selected') + $(e.currentTarget).find('.js-selectedIcon').addClass('is-selected') @activeColorIndex = $(e.currentTarget).attr('data-key') @setColor() diff --git a/app/assets/javascripts/app/views/layout_ref/merge_customer_view.jst.eco b/app/assets/javascripts/app/views/layout_ref/merge_customer_view.jst.eco index 9731720d1..a7ffc32ee 100644 --- a/app/assets/javascripts/app/views/layout_ref/merge_customer_view.jst.eco +++ b/app/assets/javascripts/app/views/layout_ref/merge_customer_view.jst.eco @@ -13,28 +13,6 @@ @@ -49,28 +27,6 @@ diff --git a/app/assets/javascripts/app/views/layout_ref/ticket_zoom.jst.eco b/app/assets/javascripts/app/views/layout_ref/ticket_zoom.jst.eco index 786d6a9b7..cf89ca0a4 100644 --- a/app/assets/javascripts/app/views/layout_ref/ticket_zoom.jst.eco +++ b/app/assets/javascripts/app/views/layout_ref/ticket_zoom.jst.eco @@ -18,8 +18,8 @@ <%- @Ti(entry.name) %> - - + + <%- @Icon('checkmark') %> <% end %> diff --git a/app/assets/javascripts/app/views/ticket_zoom/highlighter.jst.eco b/app/assets/javascripts/app/views/ticket_zoom/highlighter.jst.eco index 801846408..26e8283f3 100644 --- a/app/assets/javascripts/app/views/ticket_zoom/highlighter.jst.eco +++ b/app/assets/javascripts/app/views/ticket_zoom/highlighter.jst.eco @@ -13,8 +13,8 @@ <%- @Ti(entry.name) %> - - + + <%- @Icon('checkmark') %> <% end %> diff --git a/app/assets/stylesheets/zammad.scss b/app/assets/stylesheets/zammad.scss index 0d8775586..341b33638 100644 --- a/app/assets/stylesheets/zammad.scss +++ b/app/assets/stylesheets/zammad.scss @@ -5032,7 +5032,7 @@ footer { } .dropdown-iconSpacer, - .dropdown-activeSpacer { + .dropdown-selectedSpacer { display: flex; align-items: center; } @@ -5041,10 +5041,19 @@ footer { width: 25px; } - .dropdown-activeSpacer { + .dropdown-selectedSpacer { width: 34px; margin-left: auto; justify-content: flex-end; + opacity: 0; + + .icon { + fill: white; + } + + &.is-selected { + opacity: 1; + } } a {