From 24543a1d838195e5fd9a4a4daab6d0f0d3247b0c Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Sat, 30 Aug 2014 12:24:24 +0200 Subject: [PATCH] add delete icon --- app/assets/images/sprite.svg | 8 ++++++-- app/assets/stylesheets/zzz.css.erb | 22 ++++++---------------- 2 files changed, 12 insertions(+), 18 deletions(-) diff --git a/app/assets/images/sprite.svg b/app/assets/images/sprite.svg index f2ce616d6..1af804920 100644 --- a/app/assets/images/sprite.svg +++ b/app/assets/images/sprite.svg @@ -1,6 +1,6 @@ - + 1 Created with Sketch (http://www.bohemiancoding.com/sketch) @@ -110,6 +110,11 @@ + + + + + @@ -182,7 +187,6 @@ - diff --git a/app/assets/stylesheets/zzz.css.erb b/app/assets/stylesheets/zzz.css.erb index 49b2e8bbc..f0a957569 100644 --- a/app/assets/stylesheets/zzz.css.erb +++ b/app/assets/stylesheets/zzz.css.erb @@ -1336,6 +1336,12 @@ ol.tabs li { background-position: -36px -299px; } + .delete.icon { + width: 9px; + height: 9px; + background-position: -48px -300px; + } + .dark.group.icon { width: 23px; height: 24px; @@ -1454,22 +1460,6 @@ form a.standalone { padding: 8px 13px; } - -.delete { - background:url("../assets/close.png") no-repeat; - text-indent: -9999em; - border: 0; - width: 40px; - height: 40px; - cursor:pointer; - float: right; - position: relative; - top: -15px; - left: 30px; - margin: 4px; - clear: right; -} - footer { clear: both; padding-top: 10px;