cvs commit: www/test/style screen.css

jeroen at linuxfromscratch.org jeroen at linuxfromscratch.org
Thu Aug 21 17:13:03 PDT 2003


jeroen      03/08/21 18:13:03

  Modified:    test     search.html
               test/cgi-bin lfscounter.cgi
               test/style screen.css
  Log:
  Removed the <button> element since it's not supported in Konqueror. Make in-page input elements unstyled.
  
  Revision  Changes    Path
  1.23      +2 -6      www/test/search.html
  
  Index: search.html
  ===================================================================
  RCS file: /home/cvsroot/www/test/search.html,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- search.html	21 Aug 2003 23:34:13 -0000	1.22
  +++ search.html	22 Aug 2003 00:13:03 -0000	1.23
  @@ -31,7 +31,6 @@
   		<p>
   			<label title="Enter your search terms"><input size="15" type="text" name="query" onfocus="if(this.value==this.defaultValue) this.value='';" value="enter text here" maxlength="255" accesskey="s" /></label>
   			<label title="Submit the search terms"><input type="submit" value="search" /></label><br />
  -			<a href="search.html" title="For more search options, click here" accesskey="4"><span class="accesskey">S</span>earch options</a>
   			</p>
   		</form>
   	</div>
  @@ -67,9 +66,7 @@
   	<th><label for="query">Search with swish:</label></th>
   	<td>
   		<label title="Enter the text to search for"><input maxlength="200" size="32" type="text" id="query" onfocus="if(this.value==this.defaultValue) this.value='';" value="Enter text here" /></label>
  -		<label title="Submit the search query">
  -			<button type="submit">Go!</button>
  -		</label>
  +		<label title="Submit the search query"><input class="button" type="submit" value="Go!" /></label>
   	</td>
   </tr>
   </tbody></table>
  @@ -92,8 +89,7 @@
   	<th><label for="inputField">Search with google:</label></th>
   	<td>
   		<label title="Enter the text to search for"><input type="text" size="32" tabindex="3" id="inputField" name="q" maxlength="255"  onfocus="if(this.value==this.defaultValue) this.value='';" value="Enter text here" /></label> 
  -		<label title="Submit the search query">
  -				<button type="submit">Go!</button></label>
  +		<label title="Submit the search query"><input type="submit" value="Go!" /></label>
   		<input type="hidden" name="domains" value="linuxfromscratch.org" />
   		<em><a href="http://www.google.com/help/features.html">Search help</a></em>
   	</td>
  
  
  
  1.10      +2 -2      www/test/cgi-bin/lfscounter.cgi
  
  Index: lfscounter.cgi
  ===================================================================
  RCS file: /home/cvsroot/www/test/cgi-bin/lfscounter.cgi,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- lfscounter.cgi	21 Aug 2003 23:34:13 -0000	1.9
  +++ lfscounter.cgi	22 Aug 2003 00:13:03 -0000	1.10
  @@ -239,7 +239,7 @@
   </tr>
   
   <tr>
  -	<th colspan="2" class="button"><button type="submit">Register me</button></th>
  +	<th colspan="2" class="button"><input type="submit" value="Register me" /></th>
   </tr>
   </tbody>
   </table>
  @@ -354,7 +354,7 @@
   </tr>
   
   <tr>
  -	<th colspan="2" class="button"><button type="submit">Query</button></th>
  +	<th colspan="2" class="button"><input type="submit" value="Query" /></th>
   </tr>
   
   </tbody>
  
  
  
  1.36      +4 -8      www/test/style/screen.css
  
  Index: screen.css
  ===================================================================
  RCS file: /home/cvsroot/www/test/style/screen.css,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- screen.css	21 Aug 2003 23:22:08 -0000	1.35
  +++ screen.css	22 Aug 2003 00:13:03 -0000	1.36
  @@ -141,7 +141,7 @@
   	font-style: italic;
   }
   
  -input {
  +#search input {
   	background-color: #dfdfdf;
   	color: #000;
   	vertical-align: middle;
  @@ -150,14 +150,14 @@
   	margin: 0 0 5px 0;
   }
   
  -i\nput { border: 1px solid #ccc; }
  +#search i\nput { border: 1px solid #ccc; }
   	/* Workaround for Konqueror, see http://centricle.com/ref/css/filters/ */
   
  -input:active, input:hover {
  +#search input:active, input:hover {
   	background-color: #eee;
   }
   
  -input:focus, #rootcontent input:focus {
  +input:focus {
   	background-color:#fff;
   	color:#000;
   }
  @@ -174,10 +174,6 @@
   form table th.button {
   	width: 100%;
   	text-align: center;
  -}
  -
  -#rootcontent input {
  -	background-color: #efefef;
   }
   
   /* Custom classes */
  
  
  



More information about the website mailing list