aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schneider <wosch@FreeBSD.org>2017-08-27 18:35:46 +0000
committerWolfram Schneider <wosch@FreeBSD.org>2017-08-27 18:35:46 +0000
commitfe4ac5908e777aa0b1031e26503cdfe9dc7c0682 (patch)
treea59e7a51df616bd572e7e1722e9473c38b450332
parent93acd189c74bb224027a3ae2d2e7374a801fc780 (diff)
downloaddoc-fe4ac5908e777aa0b1031e26503cdfe9dc7c0682.tar.gz
doc-fe4ac5908e777aa0b1031e26503cdfe9dc7c0682.zip
fix namespaces for input fields
Notes
Notes: svn path=/head/; revision=50752
-rwxr-xr-xen_US.ISO8859-1/htdocs/cgi/man.cgi12
1 files changed, 6 insertions, 6 deletions
diff --git a/en_US.ISO8859-1/htdocs/cgi/man.cgi b/en_US.ISO8859-1/htdocs/cgi/man.cgi
index b90b917c68..3bac74e99a 100755
--- a/en_US.ISO8859-1/htdocs/cgi/man.cgi
+++ b/en_US.ISO8859-1/htdocs/cgi/man.cgi
@@ -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: -->
&nbsp;&nbsp;
<input id="query" value="$query" name="query" size="36" $autofocus />