perl-docs-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mose...@apache.org
Subject cvs commit: modperl-docs/tmpl/custom/html search search_field
Date Mon, 29 Apr 2002 22:30:09 GMT
moseley     02/04/29 15:30:09

  Modified:    src      style.css
               src/search search.tt
               tmpl/custom/html search search_field
  Log:
  Update style sheet per Stas' request to make the search specific
  styles easier to spot.  Removed some non-used ones, too.
  
  Revision  Changes    Path
  1.66      +52 -38    modperl-docs/src/style.css
  
  Index: style.css
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/style.css,v
  retrieving revision 1.65
  retrieving revision 1.66
  diff -u -r1.65 -r1.66
  --- style.css	29 Apr 2002 04:51:34 -0000	1.65
  +++ style.css	29 Apr 2002 22:30:09 -0000	1.66
  @@ -65,9 +65,7 @@
   
   a.pdfsrc {
       font-family: verdana, arial, helvetica, sans-serif;
  -    font-size: 0.9em;
  -    font-weight: bold;
  -    color: #525d76;
  +    font-size: 0.8em;
   }
   a.pdfsrc:link, 
   a.pdfsrc:visited, 
  @@ -266,94 +264,110 @@
   }
   
   
  -
  -
  -
  -/*** swish-e search stuff ***/
  +/* Wrapped around each section of content */
   div.index-section {
       font-family: helvetica, arial, verdana, sans-serif;
       font-size: 1.0em;
       color: #000000;
   }
   
  -/* font specs for search box */
  -.radio-font {
  -    font-family: verdana, arial, helvetica, sans-serif;
  -    font-size: 0.9em;
  -    color: #000000;
  -}
   
  -div.searchform { 
  +
  +
  +/*** swish-e search stuff ***/
  +
  +/***********
  +Not currently used, but in source or templates:
  +
  +    span.search-text in tmpl/custom/html/search
  +
  +    in tmpl/custom/html/search_field
  +    td.search-title {
  +        font-size: 12px;
  +    }
  +
  +    /* font specs for search box */
  +    .radio-font {
  +        font-family: verdana, arial, helvetica, sans-serif;
  +        font-size: 0.9em;
  +        color: #000000;
  +    }
  +
  +    in search.tt for displaying the title
  +    td.search-heading
  +
  +**************/
  +
  +
  +/* Wrapped around the entire search form in src/search/search.tt */
  +div.search-form { 
       font-size: 1.0em; 
   }
   
  -input {
  -    font-size: 12px;
  +/* List of site sections in search.tt */
  +li.search-list {
  +    list-style: none;
   }
   
  -select {
  +
  +
  +/* Search form styles */
  +input {
       font-size: 12px;
   }
   
  -td.searchtitle {
  +select {
       font-size: 12px;
   }
   
  -li.search-list {
  -    list-style: none;
  -}
   
   
  -td.searchheader {
  +/* "Results for" line in search results search.tt */
  +td.search-header {
       background-color: #525d76;
       font-family: verdana, arial, helvetica, sans-serif;
       color: #ffffff;
       font-size: 0.9em;
   }
   
  -td.searchtimes {
  +/* Shows search time */
  +td.search-times {
       background-color: #525d76;
       font-family: verdana, arial, helvetica, sans-serif;
       color: #ffffff;
       font-size: 0.7em;
   }
   
  -
  -td.searchnav {
  +/* Prev|Next page in search results */
  +td.search-nav {
       background-color: #eeeeee;
       font-family: verdana, arial, helvetica, sans-serif;
       color: #000000;
       font-size: 0.8em;
   }
   
  -td.limits {
  -    font-family: helvetica, arial, verdana, sans-serif;
  -    color: #000000;
  -    font-size: 1.0em;
  -}
   
  -span.base-result {
  +/* title line for a search result */
  +span.search-result-title {
       font-family: helvetica, arial, verdana, sans-serif;
       color: #000000;
       font-size: 1.0em;
   }
   
  -span.searchrank {
  -    font-family: helvetica, arial, verdana, sans-serif;
  -    color: #000000;
  -    font-size: 0.9em;
  -}
   
  -div.searchsummary {
  +/* context in search result */
  +div.search-summary {
       font-size: 0.8em;
   }
   
  -div.searchprops {
  +/* a search result's properties */
  +div.search-props {
       margin-top: 0.4em;
       font-size: 0.80em;
       color: #009999;
   }
   
  +/* swish.cgi */
   span.searchhighlight { 
       background-color: #ffff99;
   }
  
  
  
  1.15      +9 -9      modperl-docs/src/search/search.tt
  
  Index: search.tt
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/search/search.tt,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- search.tt	26 Apr 2002 23:00:51 -0000	1.14
  +++ search.tt	29 Apr 2002 22:30:09 -0000	1.15
  @@ -81,7 +81,7 @@
   
   [% BLOCK search_form %]
   
  -    <div class="searchform">
  +    <div class="search-form">
       [% CGI.start_form( '-action' => CGI.script_name, '-method' => 'GET' ) %]
           [% CGI.textfield( {
               name    => 'query',
  @@ -108,11 +108,11 @@
       [% search.stopwords_removed %]
       <table cellpadding="1" cellspacing="0" border="0" width="100%">
           <tr>
  -            <td class="searchheader">
  +            <td class="search-header">
                   &nbsp;Results for <b>[% search.query_simple | html %]</b>
                   &nbsp; [% search.navigation('from') %] to [% search.navigation('to')
%] of [% search.navigation('hits') %] results.
               </td>
  -            <td align="right" class="searchtimes">
  +            <td align="right" class="search-times">
                   [% search.navigation('search_time') %]
               </td>
           </tr>
  @@ -120,7 +120,7 @@
           [% IF search.navigation('pages') %]
   
           <tr>
  -            <td class="searchnav">
  +            <td class="search-nav">
                   &nbsp;Page:
                   [% search.navigation('pages') %]
   
  @@ -134,8 +134,8 @@
                       Next [% search.navigation('next_count') %]</a>
                   [% END %]
               </td>
  -            <td align="right" class="searchnav">
  -                <a href="#search_form"><span class="advanced-search">Advanced
Search</span></a>
  +            <td align="right" class="search-nav">
  +                <a href="#search_form">Advanced Search</a>
               </td>
               
           </tr>
  @@ -151,7 +151,7 @@
       [% FOREACH item = search.results %]
           <dl>
               <dt>
  -                <span class="base-result">
  +                <span class="search-result-title">
                       [% item.swishreccount %]
                        <a href="[% item.swishdocpath_href %]">
                       [% ( item.swishtitle || item.swishdocpath )  %]
  @@ -160,12 +160,12 @@
               </dt>
   
               <dd>
  -                <div class="searchsummary">
  +                <div class="search-summary">
                       [% item.swishdescription %]
                   </div>
               </dd>
               <dd>
  -                <div class="searchprops">
  +                <div class="search-props">
                       [% item.swishdocpath | replace('#.+', '') %]<br>
                       Rank: [% item.swishrank %] |
                       Page: [% item.pagelen / 1000 | format('%2.1f') %]k,
  
  
  
  1.23      +1 -1      modperl-docs/tmpl/custom/html/search
  
  Index: search
  ===================================================================
  RCS file: /home/cvs/modperl-docs/tmpl/custom/html/search,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- search	26 Apr 2002 23:00:51 -0000	1.22
  +++ search	29 Apr 2002 22:30:09 -0000	1.23
  @@ -109,7 +109,7 @@
           [% IF 0 %]
               [% stag %] IF search.results [% etag %]
                   <br>
  -                <a href="#search_form"><span class="searchtext">Advanced</span></a>
  +                <a href="#search_form"><span class="search-text">Advanced</span></a>
               [% stag %] END [% etag %]
           [% END %]
   
  
  
  
  1.3       +2 -2      modperl-docs/tmpl/custom/html/search_field
  
  Index: search_field
  ===================================================================
  RCS file: /home/cvs/modperl-docs/tmpl/custom/html/search_field,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- search_field	26 Apr 2002 23:00:51 -0000	1.2
  +++ search_field	29 Apr 2002 22:30:09 -0000	1.3
  @@ -28,7 +28,7 @@
   
       <table border="0" cellspacing="0" cellpadding="2">
           <tr>
  -            <td valign="top" nowrap class="searchtitle">Search</td>
  +            <td valign="top" nowrap class="search-title">Search</td>
          
               <td valign="top" nowrap>
                   [% stag %] CGI.textfield( {
  @@ -56,7 +56,7 @@
   [% BLOCK std_search_widget %]
       <table border="0" cellspacing="0" cellpadding="2">
           <tr>
  -            <td valign="top" nowrap  class="searchtitle">Search</td>
  +            <td valign="top" nowrap  class="search-title">Search</td>
   
               <td valign="top" nowrap>
                   <input type="text" name="query" size="12" maxlength="200" value="">
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org


Mime
View raw message