$canceled-color: gray;


.o_timesheet_plan_sale_timesheet {

    .o_title {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    [type='action'] {
        color: $o-brand-primary;
        cursor: pointer;
    }

    .o_timesheet_plan_stat_buttons {
        text-align: right;
        float: none;
        width: auto;
    }

    .o_profitability_wrapper {
        display: flex;
        flex: 1;
        flex-wrap: wrap;

        .o_profitability_section {
            display: flex;
            flex: 1;
            justify-content: flex-start;
        }

    }

    .o_timesheet_plan_sale_timesheet_dashboard {

        .table {
            margin-top: 15px;
            a {
                cursor: pointer;
            }
        }
        .table > thead > tr > th, .table > thead > tr > td,
        .table > tbody > tr > th, .table > tbody > tr > td {
            border: none;
        }
        .table > tbody > tr > td.o_timesheet_plan_dashboard_cell {
            text-align: right;
        }
        .table > tbody > tr > td.o_timesheet_plan_dashboard_total {
            border-top: 1px solid;
            text-align: right;
        }

        .section {

        }

    }

    .o_timesheet_plan_sale_timesheet_people_time {

        .o_progress_billable_time {
            background-color: #f0ad4e;
            color: white;
            cursor: pointer;
        }
        .o_progress_billable_fixed {
            background-color: #5bc0de;
            color: white;
            cursor: pointer;
        }
        .o_progress_non_billable_project {
            background-color: theme-color('primary');
            color: white;
            cursor: pointer;
        }
        .o_progress_non_billable_timesheet {
            background-color: rgb(11, 194, 1);
            color: white;
            cursor: pointer;
        }
        .o_progress_non_billable {
            background-color: purple;
            color: white;
            cursor: pointer;
        }
        .o_progress_canceled {
            background-color: $canceled-color;
            color: white;
            cursor: pointer;
        }
        .progress {
            border-radius: 3px;
        }

        .o_timesheet_plan_badge {
            margin-bottom: 10px;
            > .badge {
                border: none;
                font-size: unset;
                    a {
                    color: white;
                }
            }
        }

        .table > thead > tr > td,
        .table > tbody > tr > th, .table > tbody > tr > td {
            border: none;
            padding: 0px;
        }

        .table > thead > tr > th {
            border: none;
            padding-left: 0px;;
        }
    }

    .o_project_plan_project_timesheet_forecast {

        margin-top: 50px;

        th{
            text-align: center;
            vertical-align: top;
        }
        th.o_right_bordered, td.o_right_bordered {
            border-right: 2px solid $o-brand-primary;
            text-align: center;
        }

        .o_timesheet_forecast_sale_order{
            font-weight: bold;
            & > td:first-child {
                color: $o-brand-primary;
            }
        }
        .o_timesheet_forecast_sale_order_line{
            td:first-child {
                padding-left: 15px;
            }
            td:first-child > a {
                margin-left: 15px;
                cursor: pointer;
            }
        }
        .o_timesheet_forecast_hr_employee{
            td:first-child {
                padding-left: 30px;
            }
        }

        .o_timesheet_plan_redirect {
            cursor: pointer;
        }

        .o_canceled_tag {
            background-color: $canceled-color;
            color: white;
            border: 0px;
        }
    }

}
