Gantt widget valid/invalid link styling

This commit is contained in:
Nathan Gray 2014-06-10 18:53:08 +00:00
parent 41375adde8
commit 5a059571e3
2 changed files with 61 additions and 0 deletions

View File

@ -242,6 +242,30 @@
background-color: #ffc200; background-color: #ffc200;
border-color: #bf9d30; border-color: #bf9d30;
} }
.et2_gantt .gantt_task_link .gantt_line_wrapper div {
background-color: green;
}
.et2_gantt .gantt_task_link .gantt_link_arrow_left {
border-right-color: green;
}
.et2_gantt .gantt_task_link .gantt_link_arrow_right {
border-left-color: green;
}
.et2_gantt .gantt_task_link:hover .gantt_line_wrapper div {
box-shadow: 0 0 5px 0 green;
}
.et2_gantt .gantt_task_link.invalid_constraint .gantt_line_wrapper div {
background-color: #ae1d00;
}
.et2_gantt .gantt_task_link.invalid_constraint .gantt_link_arrow_left {
border-right-color: #ae1d00;
}
.et2_gantt .gantt_task_link.invalid_constraint .gantt_link_arrow_right {
border-left-color: #ae1d00;
}
.et2_gantt .gantt_task_link.invalid_constraint:hover .gantt_line_wrapper div {
box-shadow: 0 0 5px 0 #ae1d00;
}
/*Link to / Selector Widget*/ /*Link to / Selector Widget*/
.et2_link_to .et2_button_icon { .et2_link_to .et2_button_icon {
/*.background_color_10_gray;*/ /*.background_color_10_gray;*/

View File

@ -201,6 +201,43 @@ div.et2_file input.et2_file_upload{
background-color: @egw_color_1; background-color: @egw_color_1;
border-color: @egw_color_1_b; border-color: @egw_color_1_b;
} }
.gantt_task_link
{
.gantt_line_wrapper div
{
background-color: green;
}
.gantt_link_arrow_left
{
border-right-color: green;
}
.gantt_link_arrow_right
{
border-left-color: green;
}
&:hover .gantt_line_wrapper div {
box-shadow: 0 0 5px 0 green;
}
}
.gantt_task_link.invalid_constraint {
.gantt_line_wrapper div
{
background-color: @color_error;
}
.gantt_link_arrow_left
{
border-right-color: @color_error;
}
.gantt_link_arrow_right
{
border-left-color: @color_error;
}
&:hover .gantt_line_wrapper div
{
box-shadow: 0 0 5px 0 @color_error;
}
}
} }
/*Link to / Selector Widget*/ /*Link to / Selector Widget*/