Changeset 1771 for trunk/template


Ignore:
Timestamp:
Jan 30, 2007, 10:48:09 PM (18 years ago)
Author:
vdigital
Message:

Small changes on mainpage to obtain W3C conformity

Location:
trunk/template/yoga
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/template/yoga/mainpage_categories.tpl

    r1292 r1771  
    1818        </h3>
    1919        <p>{categories.category.CAPTION_NB_IMAGES}</p>
    20         <p>{categories.category.DESCRIPTION}</p>
     20        <p>{categories.category.DESCRIPTION}&nbsp;</p> <!-- &nbsp; to avoid a HTML warning -->
    2121      </div>
    2222    </div>
  • trunk/template/yoga/menubar.css

    r1650 r1771  
    1313}
    1414
    15 #menubar .buttonmenu {
     15#menubar .button {
    1616  margin: 0 2px;
    1717  width: auto;
     
    2020  list-style: none;
    2121  text-align: center;
    22   float: right;
     22  float: left;
    2323}
    2424
     
    134134  margin-bottom: 1px;
    135135}
     136input#qsearchInput {
     137  width: 90%;
     138}
    136139
    137140#menubar #menuTagCloud {
  • trunk/template/yoga/menubar.tpl

    r1743 r1771  
    2323</dl>
    2424<!-- END links -->
    25 <dl id="mbCategories">
    2625  <!-- BEGIN start_filter -->
    27   <a href="{start_filter.URL}" title="{lang:start_filter_hint}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/start_filter.png" class="buttonmenu" alt="{lang:start_filter_hint}"></a>
     26  <a href="{start_filter.URL}" title="{lang:start_filter_hint}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/start_filter.png" class="button" alt="{lang:start_filter_hint}"></a>
    2827  <!-- END start_filter -->
    2928  <!-- BEGIN stop_filter -->
    30   <a href="{stop_filter.URL}" title="{lang:stop_filter_hint}"><img src="{pwg_root}{themeconf:icon_dir}/stop_filter.png" class="buttonmenu" alt="{lang:stop_filter_hint}"></a>
     29  <a href="{stop_filter.URL}" title="{lang:stop_filter_hint}"><img src="{pwg_root}{themeconf:icon_dir}/stop_filter.png" class="button" alt="{lang:stop_filter_hint}"></a>
    3130  <!-- END stop_filter -->
     31<dl id="mbCategories">
    3232  <dt><a href="{U_HOME}">{lang:Categories}</a></dt>
    3333  <dd>
     
    6868  <dt>{lang:title_menu}</dt>
    6969  <dd>
    70     <ul>
    7170      <!-- BEGIN summary -->
    7271      <!-- BEGIN quick_search -->
     
    7473      <script type="text/javascript">var qsearch_prompt="{lang:search}"; document.getElementById('qsearchInput').value=qsearch_prompt;</script>
    7574      <!-- END quick_search -->
     75      <!-- END summary -->
     76    <ul>
     77      <!-- BEGIN summary -->
    7678      <li><a href="{summary.U_SUMMARY}" title="{summary.TITLE}" {summary.REL}>{summary.NAME}</a></li>
    7779      <!-- END summary -->
  • trunk/template/yoga/theme/p0w0/theme.css

    r1769 r1771  
    249249        cursor:pointer
    250250}
    251 
     251input#qsearchInput {
     252  color: #36f; background-color: #cef;
     253}
    252254.zero { display: none }
    253255.one { }
  • trunk/template/yoga/theme/wipi/theme.css

    r1769 r1771  
    1919}
    2020#menubar DT A:hover {
    21   color: #111;
     21  color: #69c;
    2222  font-weight: lighter;
    2323}
     
    186186#content UL.thumbnails SPAN.wrap2:hover {
    187187  border-color: #69c;           /* thumbnails border color when mouse cursor is over it */
     188  background-color: #080808;
    188189}
    189190#menubar .buttonmenu {
     
    239240        cursor:pointer
    240241}
    241 
     242input#qsearchInput {
     243  color: #58c;
     244  background-color: #222; 
     245  border: 1px solid #333;
     246  padding: 1px 3px;
     247}
    242248.zero { display: none }
    243 .one { }
    244 .2nmore { }
     249.one { background: transparent; }
     250.2nmore { background: transparent; }
     251.nb-hits { color: #69c; }
     252.nb-comments { color: #f92; }
     253
     254FORM#quickconnect,
     255FORM#quickconnect FIELDSET,
     256FORM#quickconnect P,
     257FORM#quickconnect UL.actions,
     258FORM#quickconnect FIELDSET>UL.actions,
     259FORM#quickconnect UL.actions,
     260FORM#quickconnect P,
     261FORM#quickconnect LABEL {
     262  color: #69c;   
     263}
     264FORM#quickconnect P INPUT,
     265FORM#quickconnect INPUT[type=text],
     266FORM#quickconnect INPUT[type=password] {
     267  width: 85%;
     268  color: #58c;   
     269  background-color: #222; 
     270  border: 1px solid #333;
     271  padding: 1px 3px;
     272}
    245273
    246274/* nice looking month calendar*/
Note: See TracChangeset for help on using the changeset viewer.