forked from DiwasKhatri07/KnightSense-Chess-Engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
53 lines (48 loc) · 1.17 KB
/
Copy pathstyles.css
File metadata and controls
53 lines (48 loc) · 1.17 KB
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
/* KnightSense board overlay styles */
.knight-overlay-container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 2147483647;
}
.knight-overlay-container svg {
overflow: visible;
}
.knight-arrow {
stroke-linecap: round;
fill: none;
opacity: 0.9;
transition: opacity 0.2s ease;
}
/* Soft glow so arrows read well over any square colour */
.knight-arrow {
filter: drop-shadow(0 0 1px rgba(0,0,0,0.4));
}
/* Best-move destination square highlight */
.knight-highlight {
position: absolute;
border-radius: 6px;
opacity: 0.38;
pointer-events: none;
transition: left 0.15s ease, top 0.15s ease, width 0.15s ease, height 0.15s ease;
}
/* Floating evaluation chip (top engine score) */
.knight-eval-chip {
position: absolute;
bottom: 1.5%;
padding: 2px 9px;
border-radius: 999px;
background: rgba(13, 15, 26, 0.82);
border: 1px solid rgba(200, 16, 46, 0.55);
color: #ffb3c0;
font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
font-size: 13px;
font-weight: 700;
letter-spacing: 0.4px;
pointer-events: none;
box-shadow: 0 4px 14px rgba(0,0,0,0.45);
backdrop-filter: blur(4px);
}