From 0797cf00de87f13fe25db5284d5e2309fd75242c Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Tue, 16 Sep 2014 12:21:50 +0200 Subject: [PATCH] add team icon, optimise svg --- app/assets/images/sprite.svg | 72 +++++++++--------------------- app/assets/stylesheets/zzz.css.erb | 30 ++++++++++--- 2 files changed, 43 insertions(+), 59 deletions(-) diff --git a/app/assets/images/sprite.svg b/app/assets/images/sprite.svg index 36e1ac136..b2d570a41 100644 --- a/app/assets/images/sprite.svg +++ b/app/assets/images/sprite.svg @@ -115,20 +115,6 @@ - - - - - - - - - - - - - - @@ -140,53 +126,35 @@ - - - + + + + + + + + + + + + + + + - - - - - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/assets/stylesheets/zzz.css.erb b/app/assets/stylesheets/zzz.css.erb index 94dad9667..512a30495 100644 --- a/app/assets/stylesheets/zzz.css.erb +++ b/app/assets/stylesheets/zzz.css.erb @@ -846,7 +846,8 @@ ol.tabs li { } .icon-switch:hover .organisation.icon, - .task.active .organisation.icon { + .task.active .organisation.icon, + .white.organisation.icon { background-position: 0 -128px; } @@ -857,7 +858,8 @@ ol.tabs li { } .icon-switch:hover .user.icon, - .task.active .user.icon { + .task.active .user.icon, + .white.user.icon { background-position: -14px -128px; } @@ -868,7 +870,8 @@ ol.tabs li { } .icon-switch:hover .note.icon, - .task.active .note.icon { + .task.active .note.icon, + .white.note.icon { background-position: -28px -128px; } @@ -879,7 +882,8 @@ ol.tabs li { } .icon-switch:hover .pen.icon, - .task.active .pen.icon { + .task.active .pen.icon, + .white.pen.icon { background-position: -42px -128px; } @@ -889,7 +893,8 @@ ol.tabs li { background-position: -56px -115px; } .icon-switch:hover .important.icon, - .task.active .important.icon { + .task.active .important.icon, + .white.important.icon { background-position: -56px -128px; } @@ -899,7 +904,8 @@ ol.tabs li { background-position: -70px -115px; } .icon-switch:hover .tools.icon, - .task.active .tools.icon { + .task.active .tools.icon, + .white.tools.icon { background-position: -70px -128px; } @@ -909,10 +915,20 @@ ol.tabs li { background-position: -84px -115px; } .icon-switch:hover .clock.icon, - .task.active .clock.icon { + .task.active .clock.icon, + .white.clock.icon { background-position: -84px -128px; } + .team.icon { + height: 13px; + width: 20px; + background-position: -98px -115px; + } + .white.team.icon { + background-position: -98px -128px; + } + .channel.icon { width: 17px; height: 16px;