Use CSS for search button image.
authorJan Schneider <jan@horde.org>
Tue, 26 Oct 2010 22:52:15 +0000 (00:52 +0200)
committerJan Schneider <jan@horde.org>
Thu, 28 Oct 2010 10:05:48 +0000 (12:05 +0200)
kronolith/templates/index/index.inc
kronolith/themes/screen.css

index c874fa8..75922eb 100644 (file)
@@ -88,7 +88,7 @@
 
   <form id="kronolithSearchForm" action="">
     <input type="text" id="kronolithSearchTerm" value="<?php echo _("Search") ?>" default="<?php echo _("Search") ?>" />
-    <input id="kronolithSearchButton" type="image" src="<?php echo Horde_Themes::img('search.png') ?>" />
+    <input id="kronolithSearchButton" type="button" value="<?php echo _("Go") ?>" />
   </form>
 
   <div id="kronolithMenuCalendars">
index 5648539..efe625c 100644 (file)
@@ -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;
 }