diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-05-20 03:37:05 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-05-20 03:37:05 +0000 |
commit | 4cb7dcfc3f24135cbf1d92f679b7d0ebf6147aba (patch) | |
tree | 24dd583cad43beea41cef28db64a2581518a225c /templates | |
parent | d4da83ff7e74041812dd80aa8cd7951b94d179ad (diff) | |
download | phpicalendar-4cb7dcfc3f24135cbf1d92f679b7d0ebf6147aba.tar.gz phpicalendar-4cb7dcfc3f24135cbf1d92f679b7d0ebf6147aba.tar.bz2 phpicalendar-4cb7dcfc3f24135cbf1d92f679b7d0ebf6147aba.zip |
Shaved 120k off of year template.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/default/default.css | 11 | ||||
-rw-r--r-- | templates/default/month_medium.tpl | 16 |
2 files changed, 15 insertions, 12 deletions
diff --git a/templates/default/default.css b/templates/default/default.css index 40de9a0..5cc62de 100644 --- a/templates/default/default.css +++ b/templates/default/default.css @@ -46,6 +46,13 @@ table, td {font: 11px Verdana, Arial, sans-serif; color: #000;} .title { background-image: url(images/time_bg.gif); padding: 5px; }
.title h1 { font-family: Helvetica, sans-serif; font-size: 18px; color: #000; margin: 0px;}
+.medtitle { background-image: url(images/side_bg.gif); height: 20px; margin-top: 3px; font-weight: 900; }
+.yearreg { background-color: #fff; height: 30px; width: 30px; text-align: right; vertical-align: top; font-size: 9px; }
+.yearoff { background-color: #F2F2F2; height: 30px; width: 30px; text-align: right; vertical-align: top; font-size: 9px; }
+.yearon { background-color: #F2F9FF; height: 30px; width: 30px; text-align: right; vertical-align: top; font-size: 9px; }
+.yearmonth { background-color: #ccc; }
+.yearweek { background-color: #eee; width: 30px; font-size: 9px; font-weight: 900; text-align: center; height: 15px; }
+
/* older styles */
@@ -64,12 +71,8 @@ table, td {font: 11px Verdana, Arial, sans-serif; color: #000;} .monthreg { background-color: #fff; height: 105px; width: 105px; text-align: left; vertical-align: top; }
.monthoff { background-color: #F2F2F2; height: 105px; width: 105px; text-align: left; vertical-align: top; }
.monthon { background-color: #F2F9FF; height: 105px; width: 105px; text-align: left; vertical-align: top; }
-.yearreg { background-color: #fff; height: 30px; width: 30px; text-align: left; vertical-align: top; }
-.yearoff { background-color: #F2F2F2; height: 30px; width: 30px; text-align: left; vertical-align: top; }
-.yearon { background-color: #F2F9FF; height: 30px; width: 30px; text-align: left; vertical-align: top; }
.montheventtop { background-image: url(images/side_bg.gif); border-top: 1px solid #A1A5A9; }
.montheventline { border-right: 1px dotted #A1A5A9; }
-.yearmonth { background: #CCCCCC; }
/* Link colors and attributes */
/* This is the main link style */
diff --git a/templates/default/month_medium.tpl b/templates/default/month_medium.tpl index a6f33ae..3bc388d 100644 --- a/templates/default/month_medium.tpl +++ b/templates/default/month_medium.tpl @@ -1,26 +1,26 @@ <table border="0" width="210" cellspacing="0" cellpadding="0" class="calborder"> <tr> - <td align="center" class="sideback"><div style="height: 16px; margin-top: 3px;" class="G10BOLD"><a class="ps3" href="month.php?cal={CAL}&getdate={MONTH_DATE}">{MONTH_TITLE}</a></div></td> + <td align="center" class="medtitle"><a class="ps3" href="month.php?cal={CAL}&getdate={MONTH_DATE}">{MONTH_TITLE}</a></td> </tr> <tr> <td> <table border="0" width="210" cellspacing="1" cellpadding="0" class="yearmonth"> <tr> <!-- loop weekday on --> - <td width="30" height="14" class="dateback" align="center"><font class="V9BOLD">{LOOP_WEEKDAY}</font></td> + <td class="yearweek">{LOOP_WEEKDAY}</td> <!-- loop weekday off --> </tr> <!-- loop monthweeks on --> <tr> <!-- loop monthdays on --> <!-- switch notthismonth on --> - <td class="yearoff" onmouseover="this.style.backgroundColor='#DDDDDD'" onmouseout="this.style.backgroundColor='#F2F2F2'" onclick="window.location.href='day.php?cal=all_calendars_combined971&getdate={DAYLINK}'"> - <div align="right" class="V9"><a class="psf" href="day.php?cal={CAL}&getdate={DAYLINK}">{DAY}</a></div> + <td class="yearoff"> + <a class="psf" href="day.php?cal={CAL}&getdate={DAYLINK}">{DAY}</a> </td> <!-- switch notthismonth off --> <!-- switch istoday on --> - <td class="yearreg" onmouseover="this.style.backgroundColor='#DDDDDD'" onmouseout="this.style.backgroundColor='#FFFFFF'" onclick="window.location.href='day.php?cal=all_calendars_combined971&getdate={DAYLINK}'"> - <div align="right" class="V9"><a class="psf" href="day.php?cal={CAL}&getdate={DAYLINK}">{DAY}</a></div> + <td class="yearon"> + <a class="psf" href="day.php?cal={CAL}&getdate={DAYLINK}">{DAY}</a> <div align="center"> {ALLDAY} {EVENT} @@ -28,8 +28,8 @@ </td> <!-- switch istoday off --> <!-- switch ismonth on --> - <td class="yearreg" onmouseover="this.style.backgroundColor='#DDDDDD'" onmouseout="this.style.backgroundColor='#FFFFFF'" onclick="window.location.href='day.php?cal=all_calendars_combined971&getdate={DAYLINK}'"> - <div align="right" class="V9"><a class="psf" href="day.php?cal={CAL}&getdate={DAYLINK}">{DAY}</a></div> + <td class="yearreg"> + <a class="psf" href="day.php?cal={CAL}&getdate={DAYLINK}">{DAY}</a> <div align="center"> {ALLDAY} {EVENT} |