From 1c39e8efea59d4828880e9db2db41d916e2c6c25 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Mon, 15 Sep 2014 11:20:47 +0200 Subject: [PATCH 1/3] fix ticket zoom time zIndex --- .../javascripts/app/views/ticket_zoom/article_view.jst.eco | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/views/ticket_zoom/article_view.jst.eco b/app/assets/javascripts/app/views/ticket_zoom/article_view.jst.eco index 51cbdcda1..c77f0825a 100644 --- a/app/assets/javascripts/app/views/ticket_zoom/article_view.jst.eco +++ b/app/assets/javascripts/app/views/ticket_zoom/article_view.jst.eco @@ -72,6 +72,6 @@ - + <% end %> \ No newline at end of file From 9590fedeb933d089a756c71f3742bc559a9c1d3d Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Mon, 15 Sep 2014 12:27:16 +0200 Subject: [PATCH 2/3] make ticket action icons smaller and add set public icon --- app/assets/images/sprite.svg | 13 ++++++------- app/assets/stylesheets/zzz.css.erb | 26 +++++++++++--------------- 2 files changed, 17 insertions(+), 22 deletions(-) diff --git a/app/assets/images/sprite.svg b/app/assets/images/sprite.svg index cfafff8b1..1eafc1df0 100644 --- a/app/assets/images/sprite.svg +++ b/app/assets/images/sprite.svg @@ -1,5 +1,5 @@ - + 1 Created with Sketch (http://www.bohemiancoding.com/sketch) @@ -187,11 +187,10 @@ - - - - - - + + + + + \ No newline at end of file diff --git a/app/assets/stylesheets/zzz.css.erb b/app/assets/stylesheets/zzz.css.erb index 249c26f75..95c121ba2 100644 --- a/app/assets/stylesheets/zzz.css.erb +++ b/app/assets/stylesheets/zzz.css.erb @@ -1446,39 +1446,35 @@ ol.tabs li { } .split.action.icon { - width: 24px; - height: 20px; + width: 18px; + height: 15px; background-position: 0 -336px; } .reply.action.icon { - width: 19px; - height: 20px; - background-position: -24px -336px; - } - - .internal.action.icon { - width: 16px; - height: 20px; - background-position: -44px -336px; + width: 14px; + height: 15px; + background-position: -18px -336px; } + .internal.action.icon, .public.visibility.icon { width: 11px; height: 15px; - background-position: 0 -356px; + background-position: -32px -336px; } + .public.action.icon, .internal.visibility.icon { width: 11px; height: 15px; - background-position: -11px -356px; + background-position: -43px -336px; } .recipients.icon { width: 15px; height: 12px; - background-position: -22px -359px; + background-position: -54px -336px; } @@ -2782,7 +2778,7 @@ footer { .article-action .icon { margin-right: 10px; - vertical-align: bottom; + vertical-align: top; } .ticket-edit { From 340d758e924f2099094b01002b81e080f58b5a1d Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Mon, 15 Sep 2014 12:27:34 +0200 Subject: [PATCH 3/3] add internal-border to ticket items its not that beautiful yet --- .../app/controllers/ticket_zoom.js.coffee | 4 +- .../views/ticket_zoom/article_view.jst.eco | 6 ++- app/assets/stylesheets/zzz.css.erb | 44 ++++++++----------- 3 files changed, 25 insertions(+), 29 deletions(-) diff --git a/app/assets/javascripts/app/controllers/ticket_zoom.js.coffee b/app/assets/javascripts/app/controllers/ticket_zoom.js.coffee index 183b3f72a..eb12b7d84 100644 --- a/app/assets/javascripts/app/controllers/ticket_zoom.js.coffee +++ b/app/assets/javascripts/app/controllers/ticket_zoom.js.coffee @@ -883,9 +883,9 @@ class ArticleView extends App.Controller # runntime update if internal - $(e.target).closest('.ticket-article-item').find('.text-bubble').addClass('internal') + $(e.target).closest('.ticket-article-item').addClass('is-internal') else - $(e.target).closest('.ticket-article-item').find('.text-bubble').removeClass('internal') + $(e.target).closest('.ticket-article-item').removeClass('is-internal') show_toogle: (e) -> e.stopPropagation() diff --git a/app/assets/javascripts/app/views/ticket_zoom/article_view.jst.eco b/app/assets/javascripts/app/views/ticket_zoom/article_view.jst.eco index c77f0825a..d5f41ad03 100644 --- a/app/assets/javascripts/app/views/ticket_zoom/article_view.jst.eco +++ b/app/assets/javascripts/app/views/ticket_zoom/article_view.jst.eco @@ -1,5 +1,5 @@ <% for article in @articles: %> -
+