From f87078ab53ec0958126dd1078fc932309c563799 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Sun, 18 May 2014 17:32:49 +0200 Subject: Make close button on compare page look like close button on help popup. --- web/public/css/taginfo.css | 9 +++++++++ web/public/img/close.png | Bin 320 -> 0 bytes web/views/compare.erb | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) delete mode 100644 web/public/img/close.png 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 Binary files a/web/public/img/close.png and /dev/null 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 @@ <% @data.each_with_index do |data, num| %> - +

<%= data[:desc] %>

-- cgit v1.2.3