Minimap!
This commit is contained in:
parent
f7720a9915
commit
6c37e569ab
18 changed files with 1169 additions and 323 deletions
|
|
@ -165,13 +165,28 @@
|
|||
border-top-color: rgba(90, 74, 16, 1);
|
||||
}
|
||||
|
||||
/* Minimap — RenderTexture applied as background-image at runtime */
|
||||
/* Minimap — host container. MinimapView injects two stacked sub-elements
|
||||
(.minimap-terrain and .minimap-entities) at runtime. */
|
||||
.minimap {
|
||||
width: 110px;
|
||||
flex-shrink: 0;
|
||||
background-color: rgb(10, 26, 10);
|
||||
background-color: rgb(8, 10, 12);
|
||||
border-right-width: 1px;
|
||||
border-right-color: rgba(42, 58, 26, 1);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Static baked terrain. Background-image assigned by MinimapView. */
|
||||
.minimap-terrain {
|
||||
position: absolute;
|
||||
top: 0; left: 0; right: 0; bottom: 0;
|
||||
-unity-background-scale-mode: stretch-to-fill;
|
||||
}
|
||||
|
||||
/* Dynamic entity overlay. Drawn via Painter2D in generateVisualContent. */
|
||||
.minimap-entities {
|
||||
position: absolute;
|
||||
top: 0; left: 0; right: 0; bottom: 0;
|
||||
}
|
||||
|
||||
/* Portrait */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue