diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-05-16 04:13:28 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-05-16 04:13:28 +0000 |
commit | 8102e20b3c38f4164d902f02b2c9823f917c8cec (patch) | |
tree | fdd892f8248f708d5ee0896eb817b57cc0a3aaa1 /templates | |
parent | 8767e4b66fffb6010646f92a77b267e5e254d2d0 (diff) | |
download | phpicalendar-8102e20b3c38f4164d902f02b2c9823f917c8cec.tar.gz phpicalendar-8102e20b3c38f4164d902f02b2c9823f917c8cec.tar.bz2 phpicalendar-8102e20b3c38f4164d902f02b2c9823f917c8cec.zip |
Fixed week template, streamlined CSS.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/default/default.css | 30 | ||||
-rw-r--r-- | templates/default/week.tpl | 13 |
2 files changed, 22 insertions, 21 deletions
diff --git a/templates/default/default.css b/templates/default/default.css index 8d8eab5..584c6e8 100644 --- a/templates/default/default.css +++ b/templates/default/default.css @@ -82,30 +82,30 @@ table, td {font: 11px Verdana, Arial, sans-serif; color: #000;} /* Link colors and attributes */
/* 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; }
+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; 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; }
+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; 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; }
+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; background-color: transparent; }
-a.ps:visited { color: #fff; background-color: transparent; }
-a.ps:active { color: #fff; background-color: transparent; }
+a.ps:link { color: #fff; }
+a.ps:visited { color: #fff; }
+a.ps:active { color: #fff; }
a.ps:hover { color: #fff; text-decoration: underline; }
/* Body attributes */
diff --git a/templates/default/week.tpl b/templates/default/week.tpl index 40f6096..6323dbd 100644 --- a/templates/default/week.tpl +++ b/templates/default/week.tpl @@ -44,26 +44,27 @@ <td align="right" valign="top" width="15" class="rowOff" onmouseover="this.className='rowOn'" onmouseout="this.className='rowOff'" onclick="window.location.href='week.php?cal={CAL}&getdate={NEXT_WEEK}'"> <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" align="center" class="{ROW1}" onmouseover="this.className='{ROW2}'" onmouseout="this.className='{ROW3}'" onclick="window.location.href='week.php?cal={CAL}&getdate={DAYLINK}'"> + <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> <!-- loop daysofweek off --> </tr> <tr valign="top"> - <td width="60" class="rowOff2" colspan="4"> + <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" class="rowOff"> + <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 --> </td> <!-- loop alldaysofweek off --> </tr> - </table> - <table width="100%" border="0" cellspacing="0" cellpadding="0"> <!-- loop row on --> <tr> <td rowspan="4" align="center" valign="top" width="60" class="timeborder">9:00 AM</td> @@ -105,7 +106,7 @@ </table> </td> <td width="10"> - <img src="images/spacer.gif" width="10" height="1" alt=" "> + <img src="images/spacer.gif" width="10" height="1" alt=" " /> </td> <td width="170" valign="top"> {SIDEBAR} |