ItEr14S10RFDesenhoGraficoPortalItEr13S10: CSS fixes to listdetails component

This commit is contained in:
Lorenzo Tilve 2009-06-29 11:43:23 +02:00 committed by Javier Moran Rua
parent 86f5cad2d7
commit dc77d8b9a3
3 changed files with 14 additions and 9 deletions

View file

@ -64,6 +64,7 @@ public class ListDetails extends HtmlMacroComponent {
@Override @Override
public void afterCompose() { public void afterCompose() {
setClass("listdetails");
super.afterCompose(); super.afterCompose();
for (TaskBean taskBean : taskBeans) { for (TaskBean taskBean : taskBeans) {
addTask(taskBean); addTask(taskBean);

View file

@ -3,8 +3,8 @@
top = self; top = self;
]]> ]]>
</zscript> </zscript>
<hbox> <hbox class="taskdetail_grid">
<textbox id="nameBox" ctrlKeys="#down#up#right#left" onCtrlKey="top.userWantsToMove(self,event);" value="" onChange="top.updateBean();" /> <textbox id="nameBox" ctrlKeys="#down#up#right#left" onCtrlKey="top.userWantsToMove(self,event);" value="" onChange="top.updateBean();" class="task_title"/>
<textbox id="startDateTextBox" value="" ctrlKeys="#down#up#right#left" onCtrlKey="top.userWantsToMove(self,event);" onChange="top.updateBean();" onOK="top.userWantsDateBox(self);" /> <textbox id="startDateTextBox" value="" ctrlKeys="#down#up#right#left" onCtrlKey="top.userWantsToMove(self,event);" onChange="top.updateBean();" onOK="top.userWantsDateBox(self);" />
<datebox id="startDateBox" compact="true" onChange="top.updateBean();" visible="${false}" onBlur="top.dateBoxHasLostFocus(self);"/> <datebox id="startDateBox" compact="true" onChange="top.updateBean();" visible="${false}" onBlur="top.dateBoxHasLostFocus(self);"/>
<textbox id="endDateTextBox" ctrlKeys="#down#up#right#left" onCtrlKey="top.userWantsToMove(self,event);" value="" onChange="top.updateBean();" onOK="top.userWantsDateBox(self);"/> <textbox id="endDateTextBox" ctrlKeys="#down#up#right#left" onCtrlKey="top.userWantsToMove(self,event);" value="" onChange="top.updateBean();" onOK="top.userWantsDateBox(self);"/>

View file

@ -8,14 +8,16 @@
} }
.listdetails { .listdetails {
width:200px; width:280px;
float:left; float:left;
margin-top:46px; margin-top:46px;
border-bottom: 1px solid #86A4BE;
font-size:10px !important;
} }
.listdetails table { .taskdetail_grid table {
height:20px; height:30px;
border-bottom: 1px solid #86A4BE; width:280px;
} }
.listdetails img { .listdetails img {
@ -27,22 +29,24 @@
} }
.listdetails input { .listdetails input {
width: 90px; width: 80px;
font-size:10px !important; font-size:10px !important;
border-bottom:0px; border-bottom:0px;
border-right:0px; border-right:0px;
height:17px; height:17px;
} }
.task_title {
width: 120px !important;
}
.listdetails .z-datebox-inp { .listdetails .z-datebox-inp {
height:17px; font-family:"Verdana,Tahoma,Arial,Helvetica,sans-serif";
font-size:10px !important; font-size:10px !important;
border-bottom:0px; border-bottom:0px;
border-right:0px; border-right:0px;
} }
/* Task box properties */ /* Task box properties */
.yui-resize, .box { .yui-resize, .box {
border: 1px solid; border: 1px solid;