From: <cl...@us...> - 2004-05-16 04:13:36
|
Update of /cvsroot/phpicalendar/phpicalendar/templates/default In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24398/templates/default Modified Files: default.css week.tpl Log Message: Fixed week template, streamlined CSS. Index: default.css =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/templates/default/default.css,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** default.css 13 May 2004 18:38:15 -0000 1.15 --- default.css 16 May 2004 04:13:28 -0000 1.16 *************** *** 83,110 **** /* This is the main link style */ a.psf { text-decoration: none; } ! a.psf:link { color: #0066FF; background-color: transparent; } ! a.psf:visited { color: #0066FF; background-color: transparent; } ! a.psf:active { color: #3366CC; background-color: transparent; } ! a.psf:hover { color: #000099; background-color: transparent; } /* This is the link style for the mini-cals */ a.ps2 { text-decoration: underline; } ! a.ps2:link { color: #0066FF; background-color: transparent; } ! a.ps2:visited { color: #0066FF; background-color: transparent; } ! a.ps2:active { color: #3366CC; background-color: transparent; } ! a.ps2:hover { color: #000099; background-color: transparent; } /* This is the link style for year months */ a.ps3 { text-decoration: none; } ! a.ps3:link { color: #000; background-color: transparent; } ! a.ps3:visited { color: #000; background-color: transparent; } ! a.ps3:active { color: #000; background-color: transparent; } ! a.ps3:hover { color: #000; background-color: transparent; } /* This is the link style for events */ a.ps { text-decoration: none; } ! a.ps:link { color: #fff; background-color: transparent; } ! a.ps:visited { color: #fff; background-color: transparent; } ! a.ps:active { color: #fff; background-color: transparent; } a.ps:hover { color: #fff; text-decoration: underline; } --- 83,110 ---- /* This is the main link style */ a.psf { text-decoration: none; } ! a.psf:link { color: #0066FF; } ! a.psf:visited { color: #0066FF; } ! a.psf:active { color: #3366CC; } ! a.psf:hover { color: #000099; text-decoration: underline; } /* This is the link style for the mini-cals */ a.ps2 { text-decoration: underline; } ! a.ps2:link { color: #0066FF; } ! a.ps2:visited { color: #0066FF; } ! a.ps2:active { color: #3366CC; } ! a.ps2:hover { color: #000099; } /* This is the link style for year months */ a.ps3 { text-decoration: none; } ! a.ps3:link { color: #000; } ! a.ps3:visited { color: #000; } ! a.ps3:active { color: #000; } ! a.ps3:hover { color: #000; text-decoration: underline; } /* This is the link style for events */ a.ps { text-decoration: none; } ! a.ps:link { color: #fff; } ! a.ps:visited { color: #fff; } ! a.ps:active { color: #fff; } a.ps:hover { color: #fff; text-decoration: underline; } Index: week.tpl =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/templates/default/week.tpl,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** week.tpl 14 May 2004 05:42:31 -0000 1.6 --- week.tpl 16 May 2004 04:13:28 -0000 1.7 *************** *** 45,50 **** <div class="V12"><a class="psf" href="week.php?cal={CAL}&getdate={NEXT_WEEK}">»</a> </div> </td> <!-- loop daysofweek on --> ! <td width="80" align="center" class="{ROW1}" onmouseover="this.className='{ROW2}'" onmouseout="this.className='{ROW3}'" onclick="window.location.href='week.php?cal={CAL}&getdate={DAYLINK}'"> <a class="ps3" href="day.php?cal={CAL}&getdate={DAYLINK}"><span class="V9BOLD">{DAY}</span></a> </td> --- 45,51 ---- <div class="V12"><a class="psf" href="week.php?cal={CAL}&getdate={NEXT_WEEK}">»</a> </div> </td> + <td width="1"></td> <!-- loop daysofweek on --> ! <td width="80" {COLSPAN} align="center" class="{ROW1}" onmouseover="this.className='{ROW2}'" onmouseout="this.className='{ROW3}'" onclick="window.location.href='week.php?cal={CAL}&getdate={DAYLINK}'"> <a class="ps3" href="day.php?cal={CAL}&getdate={DAYLINK}"><span class="V9BOLD">{DAY}</span></a> </td> *************** *** 52,61 **** </tr> <tr valign="top"> ! <td width="60" class="rowOff2" colspan="4"> <!-- loop alldaysofweek on --> ! <td width="80" class="rowOff"> <!-- loop allday on --> <div class="alldaybg_{CALNO}"> <b>{EVENT}</b> </div> <!-- loop allday off --> --- 53,64 ---- </tr> <tr valign="top"> ! <td width="60" class="rowOff2" colspan="4"><img src="images/spacer.gif" width="60" height="1" alt=" " /></td> ! <td width="1"></td> <!-- loop alldaysofweek on --> ! <td width="80" {COLSPAN} class="rowOff"> <!-- loop allday on --> <div class="alldaybg_{CALNO}"> <b>{EVENT}</b> + <img src="images/spacer.gif" width="80" height="1" alt=" " /> </div> <!-- loop allday off --> *************** *** 63,68 **** <!-- loop alldaysofweek off --> </tr> - </table> - <table width="100%" border="0" cellspacing="0" cellpadding="0"> <!-- loop row on --> <tr> --- 66,69 ---- *************** *** 106,110 **** </td> <td width="10"> ! <img src="images/spacer.gif" width="10" height="1" alt=" "> </td> <td width="170" valign="top"> --- 107,111 ---- </td> <td width="10"> ! <img src="images/spacer.gif" width="10" height="1" alt=" " /> </td> <td width="170" valign="top"> |