summaryrefslogtreecommitdiff
path: root/addons/sale_timesheet/static/src/scss/sale_timesheet.scss
blob: c23f7459eaa54cc087b3066509e3e0bd5e685368 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
$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;
        }
    }

}