aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/InkStroke.scss
blob: 664f2448b5083c50430a59ad87805771ee6662e1 (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
.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:0;
    top:0;
  }
}

.inkStroke-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
    .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;
        svg:not(:root) {
            overflow: visible !important;
        }
    }

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