aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/Page.scss
blob: d8034b4b4103ba7c6c11fa478fc549f04074594f (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
.pdfViewer-text {
    .page {
        position: relative;
    }
}
.pdfPage-cont {
    position: relative;

    .pdfPage-canvasContainer {
        position: absolute;
    }

    .pdfPage-dragAnnotationBox {
        position: absolute;
        background-color: transparent;
        opacity: 0.1;
    }

    .pdfPage-textLayer {
        position: absolute;
        width: 100%;
        height: 100%;
        div {
            user-select: text;
        }
        span {
            color: transparent;
            position: absolute;
            white-space: pre;
            cursor: text;
            -webkit-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
        }
    }
}