Change style of tasks that cannot be moved in the Gantt
Set a new class for fixed tasks showing a shadow under the task box and changing the border color. FEA: ItEr77S04BugFixing
This commit is contained in:
parent
0365b4b031
commit
e1fbcd6ac9
2 changed files with 9 additions and 0 deletions
|
|
@ -218,6 +218,9 @@ public class TaskComponent extends Div implements AfterCompose {
|
|||
: "";
|
||||
} else {
|
||||
cssClass += task.isInCriticalPath() ? " critical" : "";
|
||||
if (!task.canBeExplicitlyMoved()) {
|
||||
cssClass += " fixed";
|
||||
}
|
||||
}
|
||||
cssClass += " " + task.getAssignedStatus();
|
||||
if (task.isLimiting()) {
|
||||
|
|
|
|||
|
|
@ -155,6 +155,12 @@
|
|||
z-index : 99 !important;
|
||||
}
|
||||
|
||||
/* Fixed box */
|
||||
.fixed {
|
||||
box-shadow: 3px 3px 3px #999;
|
||||
border: #999;
|
||||
}
|
||||
|
||||
/* Task lane properties */
|
||||
.row {
|
||||
height: 12px;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue