summaryrefslogtreecommitdiff
path: root/addons/web/static/src/scss/graph_view.scss
blob: 45e733ec60cd41dca56b7b19ac4d3899e76cee58 (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
.o_graph_controller {
    .o_graph_renderer {
        height: 100%;
        .o_graph_canvas_container {
            padding-top: 5px;
            position: relative;
            height: 100%;
            width: 100%;
            top: 0px;
            left: 0px;
            canvas {
                background-color: $o-view-background-color;
            }
        }
    }

    div.o_tooltip_legend {
        background-color: white;
        color:black;
        font-size: 12px;
        border: black solid 0.5px;
        border-radius: 3px;
        opacity: 1;
        position: absolute;
        padding:10px;
        z-index: 2;
        pointer-events: none;
        word-break: break-all;
    }

    div.o_graph_custom_tooltip {
        border-radius: 3px;
        background-color: white;
        border: black solid 0.5px;
        position: absolute;
        z-index: 1;
        padding: 6px;
        pointer-events: none;
        opacity: 0.9;
        font-family: Arial;
        table {
            font-size: 12px;
            overflow: hidden;
            display: block;
            border-collapse: collapse;
        }
        th.o_measure {
            color: black;
            font-weight: bolder;
            vertical-align: baseline;
            padding-bottom: 1px;
        }
        td {
            span.o_square {
                height: 12px;
                width: 12px;
                display: inline-block;
                vertical-align: middle;
            }
            span.o_label {
                text-overflow: ellipsis;
                overflow: hidden;
                white-space: nowrap;
                color: black;
                display: inline-block;
                vertical-align: middle;
            }
            &.o_value {
                color: black;
                padding-left: 5px;
                text-align: right;
                font-weight: bold;
            }
        }
        tr.o_show_more {
            text-align: center;
            color: black;
            font-weight: bolder;
        }
    }
}