summaryrefslogtreecommitdiff
path: root/addons/hr_expense/static/src/scss/hr_expense.scss
blob: 5c0d1e8484d58c5f06f21d2356ed4dfb4ea14e05 (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
.o_content {
    .o_expense_card {
        border-bottom: 1px solid darken($o-control-panel-background-color, 20%);
        border-right: 1px solid darken($o-control-panel-background-color, 20%);
        text-align: center;
        padding: 10px;
        .content_center {
            margin-top: auto;
            margin-bottom: auto;
        }
        div {
            line-height: 1;
        }
    }

    .o_expense_container {
        @include o-position-sticky($left: 0px);
    }

    .o_expense_card_last {
        border-right: 0px;
    }

    .o_expense_purple {
        color: $o-enterprise-color;
    }
}
.hr_expense {
    &.o_list_view, &.o_kanban_view {
        height: auto;
        min-height: auto;
    }
}
.hr_expense .o_view_nocontent {
    top: 10%;
}
.o_view_nocontent {
    .o_nocontent_help {
        .o_view_nocontent_expense_receipt:before {
            @extend %o-nocontent-init-image;
            @include size(300px, 230px);
            background: transparent url(/hr_expense/static/img/nocontent.png) no-repeat center;
            background-size: 300px 230px;
            margin-bottom: 1rem;
        }
    }
}