summaryrefslogtreecommitdiff
path: root/addons/web/static/src/scss/file_upload.scss
blob: 155b39ad110ba9ecc0e4a5dbab16ba68af1527e2 (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
.o_content {

    .o_kanban_progress_card {

        position: relative;
        padding: 0;
        min-height: 80px;
        cursor: pointer;

        .o_kanban_record_bottom {
            color: $gray-900;
        }
        .o_kanban_image_wrapper {
            opacity: 0.7;
        }
    }

    .o_list_progress_card {
        height: 25px;
        border: 1px solid #dfdfdf;
        position: relative;
        vertical-align: middle;
        padding: 0;

        .o_file_upload_upload_title {
            color: $headings-color;
            font-size: 13px;
            font-weight: 500;
        }
    }

    .o_file_upload_progress_bar {
        @include o-position-absolute($top: 0px, $left: 0px);
        height: 100%;
        width: 100%;
        .o_file_upload_progress_bar_value {
            transition: width 0.1s;
            border-right: 1px solid darken($o-brand-primary, 7.5%);
            height: 100%;
            width: 100%;
            background-color: $o-brand-primary;
            opacity: 0.5;
        }
        .o_upload_cross {
            @include o-position-absolute(0, 0);
            padding: 4px;
            color: #963535;
            cursor: pointer;
            font-size: 16px;
            &:active {
                opacity: 0.7;
            }
        }
        &:not(:hover) .o_upload_cross {
            display: none;
        }
    }
}