From cbb7a11179b9c1c46e35f04d07d6386a44e400b2 Mon Sep 17 00:00:00 2001 From: wei <> Date: Sun, 23 Jul 2006 11:11:21 +0000 Subject: Update time-tracker demo and add simple dynamic SQLMap --- demos/time-tracker/themes/TimeTracker/project.css | 96 +++++++++++++++++++--- demos/time-tracker/themes/TimeTracker/site.css | 7 ++ .../time-tracker/themes/TimeTracker/time-entry.css | 46 +++++++++++ 3 files changed, 138 insertions(+), 11 deletions(-) create mode 100644 demos/time-tracker/themes/TimeTracker/time-entry.css (limited to 'demos/time-tracker/themes/TimeTracker') diff --git a/demos/time-tracker/themes/TimeTracker/project.css b/demos/time-tracker/themes/TimeTracker/project.css index 7b6863a0..809948cd 100644 --- a/demos/time-tracker/themes/TimeTracker/project.css +++ b/demos/time-tracker/themes/TimeTracker/project.css @@ -1,19 +1,17 @@ -fieldset.project label +fieldset.project label, fieldset.project p { - display: block; font-size: 0.9em; - margin-bottom: 0.2em; } .projectInfo { - width: 40%; + width: 49%; float: left; } .projectMembers { - width: 40%; + width: 50%; float: left; margin-left: 0.3em; } @@ -30,17 +28,20 @@ fieldset.project h2 background-position: center; } -.projectInfo div, .projectMembers div +.projectInfo div, .projectMembers div, .projectCategory div { margin: 0.7em 0; } -.projectInfo div input, .projectInfo div.manager select +.projectInfo div input, .projectInfo div.manager select, +.projectCategory .categoryName input { width: 15em; } -.projectInfo .estimateHours input +.projectInfo .estimateHours input, +.projectCategory .abbrev input, +.projectCategory .duration input { width: 4em; } @@ -57,14 +58,87 @@ fieldset.project h2 height: 17em; } -.actionButtons +.projectCategory { float: left; - width: 90%; - padding: 0.65em; + display: block; +} + +.actions +{ + float: left; + margin-top: 1em; + clear: both; + width: 100%; text-align: center; +} + +.actions .buttons +{ background-color: #D2E8E8; background-image: url(bar.png); background-repeat: repeat-x; background-position: center; + padding: 0.65em; +} + +.actions .buttons input +{ + padding: 0.15em 1em; +} + +.actions .buttons input.save +{ + padding: 0.15em 2.5em; +} + + + +fieldset.project .validator +{ + display: block; +} + +fieldset.project .categoryName +{ + width: 50%; + border: 1px solid red; +} + +fieldset.project td.abbrev, +fieldset.project td.duration, +fieldset.project td.edit +{ + width: 20%; + border: 1px solid red; +} + + +.fromProject select +{ + width: 15em; +} + +fieldset.project .projectCategory table +{ + border-collapse: collapse; + width: 100%; +} + +fieldset.project .projectCategory table th, fieldset.project td.edit +{ + white-space: nowrap; + text-align: left; + padding: 0.2em; +} + +fieldset.project .projectCategory table th +{ + font-size: 0.9em; +} + +fieldset.project .projectCategory table td +{ + border: 1px solid #6495ED; + padding: 0.2em; } \ No newline at end of file diff --git a/demos/time-tracker/themes/TimeTracker/site.css b/demos/time-tracker/themes/TimeTracker/site.css index 386260a6..8a162002 100644 --- a/demos/time-tracker/themes/TimeTracker/site.css +++ b/demos/time-tracker/themes/TimeTracker/site.css @@ -226,4 +226,11 @@ fieldset.signup .wizardNav .row1 { background-color: #eef; +} + + +.required-input, .required-input1, .required-input2 +{ + border: 2px solid red; + background-color: #FFE4E1 } \ No newline at end of file diff --git a/demos/time-tracker/themes/TimeTracker/time-entry.css b/demos/time-tracker/themes/TimeTracker/time-entry.css new file mode 100644 index 00000000..0956f4e7 --- /dev/null +++ b/demos/time-tracker/themes/TimeTracker/time-entry.css @@ -0,0 +1,46 @@ + +.loghours label, .timesheet label +{ + font-size: 0.9em; +} + +.loghours div, .timesheet div +{ + margin-bottom: 0.7em; +} +.loghours .category select, +.loghours .project select, +.loghours .description textarea +{ + width: 14em; +} + +.loghours .description textarea +{ + width: 95%; + height: 4em; +} + +.loghours .hours input +{ + width: 4em; + font-weight: bold; + text-align: center; +} + +.loghours .project, .loghours .category, .loghours .day +{ + width: 12em; + float: left; +} + +.loghours .addEntry input +{ + margin-top: 1em; + padding: 0.15em 2.5em; +} + +.sheetfor +{ + width: 15em; +} \ No newline at end of file -- cgit v1.2.3