Open History to see the last commit
1.world-view-wrapper {
2 position: absolute;
3 bottom: var(--minimap-margin);
4 right: var(--minimap-margin);
5 display: flex;
6 flex-direction: row;
7 align-items: flex-end;
8 gap: 8px;
9 z-index: 100;
10}
11
12.world-view-controls {
13 display: flex;
14 flex-direction: column;
15 gap: 8px;
16}
17
18.minimap-sound-button {
19 border-radius: var(--hud-radius);
20 box-shadow: var(--hud-shadow);
21}
22
23/* Use the same vertical zoom stack beside the minimap at every screen size. */
24.minimap-zoom-controls {
25 flex-direction: column-reverse;
26 box-shadow: var(--hud-shadow);
27 border-radius: var(--hud-radius);
28}
29
30.minimap-zoom-controls .zoom-button-left {
31 border-radius: 0 0 var(--hud-radius) var(--hud-radius);
32 border-right: var(--hud-border-width) solid var(--hud-outline);
33}
34
35.minimap-zoom-controls .zoom-button-right {
36 border-radius: var(--hud-radius) var(--hud-radius) 0 0;
37 border-bottom: none;
38}
39
40.world-view-container {
41 position: relative;
42 width: var(--minimap-size);
43 height: var(--minimap-size);
44 border-radius: 12px;
45 border: var(--hud-border-width) solid var(--hud-outline);
46 box-shadow: var(--hud-shadow);
47 cursor: pointer;
48 transition: transform var(--transition-normal);
49 overflow: hidden;
50 background: var(--color-bg);
51}
52
53/* A small map label belongs to the frame and never intercepts navigation. */
54.world-view-container::after {
55 content: "Board";
56 position: absolute;
57 top: 6px;
58 left: 6px;
59 padding: 2px 5px;
60 border-radius: 4px;
61 background: var(--color-text);
62 color: white;
63 font-size: 8px;
64 font-weight: 700;
65 line-height: 1.4;
66 letter-spacing: 0.08em;
67 text-transform: uppercase;
68 pointer-events: none;
69}
70
71.world-view-canvas {
72 display: block;
73 width: 100%;
74 height: 100%;
75 border-radius: inherit;
76}
77
78/* Pop animation for new moves */
79.world-view-pop {
80 position: absolute;
81 width: 4px;
82 height: 4px;
83 border-radius: 50%;
84 transform: translate(-50%, -50%) scale(0);
85 pointer-events: none;
86 animation: worldview-pop 0.8s ease-out forwards;
87}
88
89@keyframes worldview-pop {
90 0% {
91 transform: translate(-50%, -50%) scale(0);
92 opacity: 1;
93 }
94 40% {
95 transform: translate(-50%, -50%) scale(2.5);
96 opacity: 0.9;
97 }
98 100% {
99 transform: translate(-50%, -50%) scale(4);
100 opacity: 0;
101 }
102}