[Rt-commit] r18596 - in rt/3.8/trunk/share/html: NoAuth/css/web2
elacour at bestpractical.com
elacour at bestpractical.com
Thu Feb 26 03:53:01 EST 2009
Author: elacour
Date: Thu Feb 26 03:52:59 2009
New Revision: 18596
Modified:
rt/3.8/trunk/share/html/Elements/SimpleSearch
rt/3.8/trunk/share/html/NoAuth/css/web2/layout.css
Log:
Remove "Search" button and replace it by grey text in text input field to save
space in topactions.
Modified: rt/3.8/trunk/share/html/Elements/SimpleSearch
==============================================================================
--- rt/3.8/trunk/share/html/Elements/SimpleSearch (original)
+++ rt/3.8/trunk/share/html/Elements/SimpleSearch Thu Feb 26 03:52:59 2009
@@ -46,6 +46,5 @@
%#
%# END BPS TAGGED BLOCK }}}
<form action="<% RT->Config->Get('WebPath') %>/Search/Simple.html" id="simple-search">
- <input size="12" name="q" autocomplete="off" accesskey="0" class="field" />
- <input type="submit" class="button" value="<&|/l&>Search</&>" />
+ <input size="12" name="q" autocomplete="off" accesskey="0" class="field" value="<&|/l&>Search</&>..." onfocus="if (this.value=='<&|/l&>Search</&>...') this.value=''" />
</form>
Modified: rt/3.8/trunk/share/html/NoAuth/css/web2/layout.css
==============================================================================
--- rt/3.8/trunk/share/html/NoAuth/css/web2/layout.css (original)
+++ rt/3.8/trunk/share/html/NoAuth/css/web2/layout.css Thu Feb 26 03:52:59 2009
@@ -113,11 +113,13 @@
float: right;
}
-#topactions #simple-search input.button {
- width: 5em;
-}
#topactions #simple-search .field{
margin-left: 1em;
+ color: #787;
+ }
+
+#topactions #simple-search .field:focus {
+ color: #000;
}
div#footer {
More information about the Rt-commit
mailing list