svn commit: r50752 - head/en_US.ISO8859-1/htdocs/cgi

Wolfram Schneider wosch at FreeBSD.org
Sun Aug 27 18:35:48 UTC 2017


Author: wosch
Date: Sun Aug 27 18:35:46 2017
New Revision: 50752
URL: https://svnweb.freebsd.org/changeset/doc/50752

Log:
  fix namespaces for input fields

Modified:
  head/en_US.ISO8859-1/htdocs/cgi/man.cgi

Modified: head/en_US.ISO8859-1/htdocs/cgi/man.cgi
==============================================================================
--- head/en_US.ISO8859-1/htdocs/cgi/man.cgi	Sun Aug 27 17:46:45 2017	(r50751)
+++ head/en_US.ISO8859-1/htdocs/cgi/man.cgi	Sun Aug 27 18:35:46 2017	(r50752)
@@ -968,16 +968,16 @@ b { color: #996600; }
 i { color: #008000; }
 -->
 span.footer_links { font-size: small; }
-input, button { font-size: large; }
-input[name='query'] { text-align: center; }
 span.space { font-size: xx-small; }
+form#man > input, form#man > button { font-size: large; }
+form#man > input[name='query'] { text-align: center; }
 
 @media only screen and (max-height: 640px), (max-width: 880px) {
 div#header, div#menu { display: none !important; }
 div#content { padding-top: 4.9em; }
-form > input, button { font-size: 200%; }
-form > button { font-size: 200%; }
-input[name='query'] { width: 12em; }
+form#man > input, button { font-size: 200%; }
+form#man > button { font-size: 200%; }
+form#man > input[name='query'] { width: 12em; }
 }
 </style>
 |;
@@ -1733,7 +1733,7 @@ sub formquery {
     my $autofocus = $query ? "" : "autofocus";
 
     print <<ETX;
-<form method="get" action="$BASE">
+<form id="man" method="get" action="$BASE">
 <!-- Manual Page or Keyword Search: -->
   
 <input id="query" value="$query" name="query" size="36" $autofocus />


More information about the svn-doc-all mailing list