From ccd1184c500a536eccf4434cd394368369e870b1 Mon Sep 17 00:00:00 2001 From: ak703 Date: Wed, 10 Mar 2004 00:15:12 +0000 Subject: [PATCH] modified some templates for use of stylesheet (app.css) extracted out of php code not all code is yet style based, but complains of update-users should be fixed --- calendar/templates/default/app.css | 124 ++++++++++++++++++++++++++++ calendar/templates/default/day.tpl | 7 +- calendar/templates/default/week.tpl | 4 +- 3 files changed, 129 insertions(+), 6 deletions(-) create mode 100644 calendar/templates/default/app.css diff --git a/calendar/templates/default/app.css b/calendar/templates/default/app.css new file mode 100644 index 0000000000..ab502002ba --- /dev/null +++ b/calendar/templates/default/app.css @@ -0,0 +1,124 @@ +/* CSS Document */ +A.minicalendar +{ + color: #000000; + font-size: 10px; + +} + +A.bminicalendar +{ + color: #336699; + font-style: italic; + font-weight: bold; + font-size: 10px; +} + +A.minicalendargrey +{ + color: #999999; + font-size: 10px; + font-weight: bold; +} + +A.bminicalendargrey +{ + color: #336699; + font-style: italic; + font-size:10px; +} + +A.minicalhol +{ + padding-left:3px; + padding-right:3px; + background: #dab0b0; + color: #000000; + font-size: 10px; +} + +A.bminicalhol +{ + padding-left:3px; + padding-right:3px; + background: #dab0b0; + color: #336699; + font-size: 10px; +} + +A.minicalgreyhol +{ + padding-left:3px; + padding-right:3px; + background: #dab0b0; + color: #999999; + font-size: 10px; +} + +A.bminicalgreyhol +{ + padding-left:3px; + padding-right:3px; + background: #dab0b0; + color: #999999; + font-size: 10px; +} + + +.event-on +{ + background: #D3DCE3; + border: #E8F0F0 1px solid; +} + +.event-off +{ + background: #E8F0F0; + border: #D3DCE3 1px solid; +} + +.event-holiday +{ + font-size: 100%; + background: #dac0c0; + color:#000000; + vertical-align: middle; +} + +.time +{ + background: #D3DCE3; + color:#000000; + font-size: 10px; + font-weight: bold; + vertical-align: middle; + width: 5.2%; + text-align: right; + padding-right: 5px; + line-height: 11px; + border: #E8F0F0 1px solid; +} + + +.planner-cell +{ + cursor: pointer; + cursor: hand; + border: thin solid black; +} + + +// week view + +.calendar-weekidentifier +{ + font-size:16px; + font-weight: bold; +} + +.calendar_header +{ + font-size:16px; + font-weight: bold; + text-align: center; +} \ No newline at end of file diff --git a/calendar/templates/default/day.tpl b/calendar/templates/default/day.tpl index 9b73009d3a..8ea40af19c 100755 --- a/calendar/templates/default/day.tpl +++ b/calendar/templates/default/day.tpl @@ -6,12 +6,11 @@ - -{day_events} + {day_events}
- {date}
- {username}
  +
+ {date} [{username}]

{print}

diff --git a/calendar/templates/default/week.tpl b/calendar/templates/default/week.tpl index 096f96ca17..649c4e241c 100755 --- a/calendar/templates/default/week.tpl +++ b/calendar/templates/default/week.tpl @@ -20,8 +20,8 @@ -
- {week_identifier}
{username}
+
+ {week_identifier}
{username}
{week_display}