aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-05-18 17:32:49 +0200
committerJochen Topf <jochen@topf.org>2014-05-18 17:32:49 +0200
commitf87078ab53ec0958126dd1078fc932309c563799 (patch)
tree4bcadf3efa3fd1fbdeed4eb56a77051ed3394c9e
parent97684ad75b7d776eb69c37f966fe567d9610d3a2 (diff)
downloadtaginfo-f87078ab53ec0958126dd1078fc932309c563799.tar
taginfo-f87078ab53ec0958126dd1078fc932309c563799.tar.gz
Make close button on compare page look like close button on help popup.
-rw-r--r--web/public/css/taginfo.css9
-rw-r--r--web/public/img/close.pngbin320 -> 0 bytes
-rw-r--r--web/views/compare.erb2
3 files changed, 10 insertions, 1 deletions
diff --git a/web/public/css/taginfo.css b/web/public/css/taginfo.css
index 48cf1ec..a24ab8c 100644
--- a/web/public/css/taginfo.css
+++ b/web/public/css/taginfo.css
@@ -445,6 +445,15 @@ table.comparison {
table.comparison a.close {
float: right;
+ display: block;
+ width: 16px;
+ height: 16px;
+ border: 1px solid #e8e8e4;
+ border-radius: 4px;
+}
+
+table.comparison a.close:hover {
+ border: 1px solid #d0d0d0;
}
table.comparison td.data h2 {
diff --git a/web/public/img/close.png b/web/public/img/close.png
deleted file mode 100644
index efbb39d..0000000
--- a/web/public/img/close.png
+++ /dev/null
Binary files differ
diff --git a/web/views/compare.erb b/web/views/compare.erb
index dd2e622..fb417d8 100644
--- a/web/views/compare.erb
+++ b/web/views/compare.erb
@@ -8,7 +8,7 @@
<tr>
<% @data.each_with_index do |data, num| %>
<td class="data first item<%= num %>" style="width: <%= 100/@data.size %>%">
- <a class="close" href="#"><img src="/img/close.png" width="16" height="16"/></a>
+ <a class="close ui-icon ui-icon-closethick" href="#"></a>
<h2></h2>
<p><%= data[:desc] %></p>
</td>