From f36d3298f0401e4fb1ca131d18d51d3d47e39818 Mon Sep 17 00:00:00 2001 From: Jason Oster Date: Tue, 7 Jul 2009 14:48:28 +0000 Subject: HTML/CSS template rewrites, nice-title integration, XSS fixes, version bump --- templates/tan/default.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'templates/tan/default.css') diff --git a/templates/tan/default.css b/templates/tan/default.css index 3f5b303..5317b0d 100644 --- a/templates/tan/default.css +++ b/templates/tan/default.css @@ -66,6 +66,9 @@ 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;} +/* Main class used for all page wrapper tables */ +.maintable { width: 990px; } + /* Month View */ .monthback { background-color: #A1A5A9; } @@ -83,6 +86,9 @@ table, td {font: 11px Verdana, Arial, sans-serif; color: #000;} .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; } +.yearleft { padding-right: 5px; padding-top: 5px; padding-bottom: 5px; } +.yearmiddle { padding: 5px; } +.yearright { padding-left: 5px; padding-top: 5px; padding-bottom: 5px; } /* older styles */ @@ -157,3 +163,13 @@ body { background-image: url(images/background.gif); } .query_style { font-size: 11px; font-family: verdana, geneva, arial, sans-serif; width: 156px; margin-bottom: 0; } .search_style { font-size: 12px; font-family: verdana, geneva, arial, sans-serif; width: 134px; margin-bottom: 0; } .login_style { font-size: 11px; font-family: verdana, geneva, arial, sans-serif; width: 80px; margin-bottom: 0; } + + +/* Make printed pages look nice */ +@media print { + .sidebar { width: 0px; display: none; } + .footer { display: none; } + .monthback { border-spacing: 0; } + .monthback td { border: 1px solid #606060; } + .calborder { border: 1px solid #606060; } +} -- cgit v1.2.3