Open History to see the last commit
1.drawing-cursor {
2 position: absolute;
3 top: 0;
4 left: 0;
5 width: 1px;
6 height: 1px;
7 z-index: 5;
8 visibility: hidden;
9 pointer-events: none;
10 will-change: transform;
11}
12
13.drawing-cursor[data-visible="true"] {
14 visibility: visible;
15}
16
17/* Keep the OS cursor hidden for the whole mouse-enabled board session. */
18.game-canvas-container[data-pencil-enabled="true"],
19.game-canvas-container[data-pencil-enabled="true"] .game-canvas {
20 cursor: none;
21}
22
23.drawing-cursor-pencil {
24 position: absolute;
25 width: 48px;
26 height: 48px;
27 left: -4px;
28 top: -44px;
29 transform-origin: 4px 44px;
30 transform: rotate(var(--pencil-angle, 0deg));
31 filter: drop-shadow(1px 2px 1px rgb(19 20 21 / 20%));
32}
33
34.cursor-ammo {
35 position: absolute;
36 left: var(--dial-x, 22px);
37 top: var(--dial-y, 8px);
38}