aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/InkStroke.scss
blob: 0595283fc81a505b187882a17f7a7e9ed1b79103 (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
.inkstroke-UI {
    //   transform-origin: top left;
    position: absolute;
    overflow: visible;
    pointer-events: none;
    z-index: 2001; // 1 higher than documentdecorations

    svg:not(:root) {
        overflow: visible !important;
        position: absolute;
        left: 0px;
        top: 0px;
    }
}

.inkStroke-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    transition: inherit;
    .inkStroke {
        mix-blend-mode: multiply;
        stroke-linejoin: round;
        stroke-linecap: round;
        overflow: visible !important;
        transform-origin: top left;
        width: 100%;
        height: 100%;
        pointer-events: none;
        transition: inherit;
        svg:not(:root) {
            overflow: visible !important;
            transition: inherit;
        }
    }

    .inkStroke-text {
        position: absolute;
        &:hover {
            background: #9f9f9f0a;
        }
        > .formattedTextBox {
            position: relative;
        }
    }
}