aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DataVizBox/components/Chart.scss
blob: 6c3d59879eb4eb9c270b63550a3e52600e746688 (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
.chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default;
    margin-top: 10px;

    .graph{
        overflow: visible;
    }
    .slice {
        &.hover {
            stroke: black;
        }
    }
    
    .histogram-bar{
        outline: thin solid black;
        fill: #69b3a2;
        &.hover{
            fill: grey;
        }
    }

    .tooltip {
        // make the height width bigger
        width: fit-content;
        height: fit-content;
    }

    .hoverHighlight-selected,
    .selected {
        // change the color of the circle element to be red
        fill: transparent;
        outline: red solid 2px;
        border-radius: 100%;
        position: absolute;
        transform-box: fill-box;
        transform-origin: center;
    }
    .hoverHighlight {
        fill: transparent;
        outline: black solid 1px;
        border-radius: 100%;
    }
    .hoverHighlight-selected {
        fill: transparent;
        scale: 1;
        outline: black solid 1px;
        border-radius: 100%;
    }
    .datapoint {
        fill: black;
    }
    .brushed {
        // change the color of the circle element to be red
        fill: red;
    }
}