@mixin gantt-decoration-color($color) {
    background-image: linear-gradient($color, $color);
    background-color: lighten($color, 10%);
    &:before {
        content: none;
    }
}

.o_mrp_workorder_gantt .o_gantt_cells .o_gantt_pill_wrapper div.o_gantt_pill {
    &.decoration-success {
        @include gantt-decoration-color($success);
    }
    &.decoration-warning {
        @include gantt-decoration-color(map-get($grays, '500'));
    }
    &.decoration-danger {
        @include gantt-decoration-color($danger);
    }
}
