blob: c2669a950c77c7ae06f56c49bd5e509db1e28261 (
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
$navHeight: 5rem;
$canvasSize: 1024px;
$scale: 0.5;
.generativeFillContainer {
position: absolute;
top: 0;
left: 0;
z-index: 9999;
height: 100vh;
width: 100vw;
display: flex;
flex-direction: column;
overflow: hidden;
.generativeFillControls {
flex-shrink: 0;
height: $navHeight;
color: #000000;
background-color: #ffffff;
z-index: 999;
width: 100%;
display: flex;
gap: 3rem;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #c7cdd0;
padding: 0 2rem;
h1 {
font-size: 1.5rem;
}
}
.drawingArea {
cursor: none;
touch-action: none;
position: relative;
flex-grow: 1;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
background-color: #f0f4f6;
canvas {
display: block;
position: absolute;
transform-origin: 50% 50%;
}
.pointer {
pointer-events: none;
position: absolute;
border-radius: 50%;
width: 50px;
height: 50px;
border: 1px solid #ffffff;
transform: translate(-50%, -50%);
display: flex;
justify-content: center;
align-items: center;
.innerPointer {
width: 100%;
height: 100%;
border: 1px solid #000000;
border-radius: 50%;
}
}
.iconContainer {
position: absolute;
top: 2rem;
left: 2rem;
display: flex;
flex-direction: column;
gap: 2rem;
}
.editsBox {
position: absolute;
top: 2rem;
right: 2rem;
display: flex;
flex-direction: column;
gap: 1rem;
img {
transition: all 0.2s ease-in-out;
&:hover {
opacity: 0.8;
}
}
}
}
}
|