From 09f391c332888c9c32ab70bf17a485b29d03e8bb Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Wed, 27 Oct 2010 00:52:15 +0200 Subject: [PATCH] Use CSS for search button image. --- kronolith/templates/index/index.inc | 2 +- kronolith/themes/screen.css | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/kronolith/templates/index/index.inc b/kronolith/templates/index/index.inc index c874fa86d..75922ebd4 100644 --- a/kronolith/templates/index/index.inc +++ b/kronolith/templates/index/index.inc @@ -88,7 +88,7 @@
" default="" /> - + " />
diff --git a/kronolith/themes/screen.css b/kronolith/themes/screen.css index 56485393f..efe625cfe 100644 --- a/kronolith/themes/screen.css +++ b/kronolith/themes/screen.css @@ -543,7 +543,17 @@ body.kronolithAjax { position: relative; top: 10px; } +#kronolithSearchButton { + background: transparent url('graphics/search.png'); + border: none; + width: 16px; + height: 16px; + vertical-align: middle; + text-indent: -10000px; + cursor: pointer; +} #kronolithSearchTerm { + vertical-align: middle; width: 126px; color: #ccc; } @@ -570,7 +580,7 @@ body.kronolithAjax { min-height: 16px; margin-bottom: 2px; padding: 2px 2px 2px 20px; - background: url("graphics/checkbox_off.png") 2px center no-repeat; + background: transparent url("graphics/checkbox_off.png") 2px center no-repeat; cursor: pointer; -moz-border-radius: 5px; -webkit-border-radius: 5px; @@ -1103,7 +1113,7 @@ table.kronolithView td.kronolithFirstCol { width: 16px; height: 16px; background-image: url('graphics/print.png'); - text-indent: -9999px; + text-indent: -10000; overflow: hidden; } -- 2.11.0