From 281eb9b4c0bbb507ddc356bd8b0f6b311ff7188c Mon Sep 17 00:00:00 2001 From: Lorenzo Tilve Date: Sat, 3 Oct 2009 23:42:01 +0200 Subject: [PATCH] ItEr28S09CUCreacionProxectoPlanificacionItEr27S09: Applied spreadsheet appearance for taskdetails list --- .../main/webapp/common/css/navalpro_zk.css | 15 ++++-- .../src/main/webapp/planner/css/ganttzk.css | 46 +++++++++++-------- 2 files changed, 38 insertions(+), 23 deletions(-) diff --git a/navalplanner-webapp/src/main/webapp/common/css/navalpro_zk.css b/navalplanner-webapp/src/main/webapp/common/css/navalpro_zk.css index ba66a2f2a..6109128ac 100644 --- a/navalplanner-webapp/src/main/webapp/common/css/navalpro_zk.css +++ b/navalplanner-webapp/src/main/webapp/common/css/navalpro_zk.css @@ -1,3 +1,11 @@ +/* + * navalpro_zk.css ###PROJECT_NAME### + * + * This stylesheet contains declarations for ZK overriden components + * according to the ZK Style Guides [http://www.zkoss.org/doc/styleguide] + * to integrate the custom appearance of the web application. + */ + .logo { background-image: url("../img/v3/blue_ga.jpg"); height: 50px; @@ -8,7 +16,7 @@ position: absolute; } -.headings { /* height:90px; */ +.headings { height: 90px; } @@ -310,7 +318,7 @@ button.z-button { padding-bottom: 0; } -.z-textbox,.z-decimalbox,.z-intbox,.z-longbox,.z-doublebox { +.z-textbox,.z-decimalbox,.z-intbox,.z-longbox,.z-doublebox, .z-datebox { font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 11px; } @@ -382,6 +390,5 @@ div.z-grid { .z-tree .z-textbox,.z-tree .z-decimalbox,.z-tree .z-intbox,.z-tree .z-longbox,.z-tree .z-doublebox { - width: 100%; - height: 22px; + height: 17px; } \ No newline at end of file diff --git a/navalplanner-webapp/src/main/webapp/planner/css/ganttzk.css b/navalplanner-webapp/src/main/webapp/planner/css/ganttzk.css index 6481c95b2..0804ba38a 100644 --- a/navalplanner-webapp/src/main/webapp/planner/css/ganttzk.css +++ b/navalplanner-webapp/src/main/webapp/planner/css/ganttzk.css @@ -1,6 +1,11 @@ /* -* ganttz.css Ganttz specific styles -* / + * ganttz.css Ganttz specific styles + * + * The purpose of this stylesheet is to declare custom classes and objects + * will be positioned inside scheduler components. + * It might contain references to ZK Style Guides [http://www.zkoss.org/doc/styleguide] + * if needed within the scheduler. + */ The next constants are used within the planner styling: @@ -49,30 +54,38 @@ zkTasklist.GANTT_PANEL_LEFT = 300 font-size: 10px !important; border-bottom: 0px; border-right: 0px; - height: 17px; + border-top: 0px; + border-left: 1px dotted #86A4BE; + height: 16px; + padding-left:2px; } #listdetails_container .z-datebox-inp, #listdetails_container div.z-tree-col-cnt { - font-family: "Verdana,Tahoma,Arial,Helvetica,sans-serif"; - font-size: 10px !important; + font-size: 9px !important; border-bottom: 0px; border-right: 0px; } -.depth_1 .task_title { - width: 121px !important; +.listdetails input +.listdetails input { + min-width: 90px; + height: 19px; } -.depth_2 .task_title { - width: 104px !important; +.listdetails .depth_1 input.task_title { + width: 121px; } -.depth_3 .task_title { +.listdetails .depth_2 input.task_title { + width: 104px; +} + +.listdetails .depth_3 .task_title { width: 85px; } -.depth_4 .task_title { +.listdetails .depth_4 .task_title { width: 64px; } @@ -271,7 +284,7 @@ table { } #scroll_container { - margin-top: 49px; + margin-top: 47px; float: left; position: absolute; } @@ -494,11 +507,6 @@ tr.z-vbox-sep { padding: 0px; } -.listdetails .z-tree .z-textbox, -.listdetails .z-tree .z-decimalbox, -.listdetails .z-tree .z-intbox, -.listdetails .z-tree .z-longbox, -.listdetails .z-tree .z-doublebox { - width: 100%; - height: 18px; +.listdetails td { + border-bottom: 1px dotted #86A4BE !important; } \ No newline at end of file