Plugin Directory

Changeset 495444


Ignore:
Timestamp:
01/26/2012 04:03:28 AM (14 years ago)
Author:
Risal Affendie
Message:

Update css for file browsing

Location:
wp-risal-download
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wp-risal-download/tags/1.3/risal-download.php

    r492503 r495444  
    110110  foreach( $drtries as $drtry ){
    111111    if ( $xath !== $drtry ) {
    112     if ( $kira !== 2 ) { $kira = $kira + 1; } else { $kira = 1; }
    113     echo "<tr class=d".$kira.">";
     112    echo "<tr class=d1>";
    114113    if ( dirname($xath) == $drtry ) {
    115114    echo "<td><a href=\"plugins.php?page=risal&browse=true&path={$drtry}\" icon='sf'> .. </a></td>";
     
    125124
    126125    if(preg_match("/^\./", $tile) || $tile == $xcript): continue; endif; // This line will hide all invisible files.
    127     if ( $kira !== 2 ) { $kira = $kira + 1; } else { $kira = 1; }
    128     echo "<tr class=d".$kira.">";
     126    echo "<tr class=d1>";
    129127        echo '<td><a href="javascript:void(0)" onClick="refreshParent(\''.$tile.'\',\''.$xath.'\');" icon="f">' . $tile . '</a></td>';
    130128    echo "<td>".filesize($xath.'/'.$tile)."</td><td>".mime_content_type($xath.'/'.$tile)."</td></tr>";
  • wp-risal-download/tags/1.3/risal.css

    r492503 r495444  
    1010  text-decoration: none;
    1111  color: green;
     12}
     13
     14a[icon ^="f"]:hover {
     15  color: black;
    1216}
    1317
     
    136140    /*background-color: white; color: black;*/
    137141}
    138 tr.d2 td {
    139     border-right: 1px solid #C1DAD7;
    140     border-bottom: 1px solid #C1DAD7;
    141     background: #E3D1D1;
    142     padding: 6px 6px 6px 12px;
    143     color: #4f6b72;
    144     /*background-color: #E3D1D1; color: black;*/
     142
     143tr.d1:hover td {
     144background: #ffff9d;
     145color: #000;
    145146}
     147
  • wp-risal-download/trunk/risal-download.php

    r492503 r495444  
    110110  foreach( $drtries as $drtry ){
    111111    if ( $xath !== $drtry ) {
    112     if ( $kira !== 2 ) { $kira = $kira + 1; } else { $kira = 1; }
    113     echo "<tr class=d".$kira.">";
     112    echo "<tr class=d1>";
    114113    if ( dirname($xath) == $drtry ) {
    115114    echo "<td><a href=\"plugins.php?page=risal&browse=true&path={$drtry}\" icon='sf'> .. </a></td>";
     
    125124
    126125    if(preg_match("/^\./", $tile) || $tile == $xcript): continue; endif; // This line will hide all invisible files.
    127     if ( $kira !== 2 ) { $kira = $kira + 1; } else { $kira = 1; }
    128     echo "<tr class=d".$kira.">";
     126    echo "<tr class=d1>";
    129127        echo '<td><a href="javascript:void(0)" onClick="refreshParent(\''.$tile.'\',\''.$xath.'\');" icon="f">' . $tile . '</a></td>';
    130128    echo "<td>".filesize($xath.'/'.$tile)."</td><td>".mime_content_type($xath.'/'.$tile)."</td></tr>";
  • wp-risal-download/trunk/risal.css

    r492503 r495444  
    1010  text-decoration: none;
    1111  color: green;
     12}
     13
     14a[icon ^="f"]:hover {
     15  color: black;
    1216}
    1317
     
    136140    /*background-color: white; color: black;*/
    137141}
    138 tr.d2 td {
    139     border-right: 1px solid #C1DAD7;
    140     border-bottom: 1px solid #C1DAD7;
    141     background: #E3D1D1;
    142     padding: 6px 6px 6px 12px;
    143     color: #4f6b72;
    144     /*background-color: #E3D1D1; color: black;*/
     142
     143tr.d1:hover td {
     144background: #ffff9d;
     145color: #000;
    145146}
     147
Note: See TracChangeset for help on using the changeset viewer.