mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-03-23 14:21:01 +00:00
initial demo support
This commit is contained in:
parent
0f2e103294
commit
359a036558
406 changed files with 10513 additions and 1158 deletions
53
src/components/PlayerHUD.module.css
Normal file
53
src/components/PlayerHUD.module.css
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
.PlayerHUD {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: 1;
|
||||
pointer-events: none;
|
||||
padding-bottom: 48px;
|
||||
}
|
||||
|
||||
.ChatWindow {
|
||||
position: absolute;
|
||||
top: 60px;
|
||||
left: 4px;
|
||||
}
|
||||
|
||||
.Bar {
|
||||
width: 160px;
|
||||
height: 14px;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.HealthBar {
|
||||
composes: Bar;
|
||||
top: 60px;
|
||||
right: 32px;
|
||||
}
|
||||
|
||||
.EnergyBar {
|
||||
composes: Bar;
|
||||
top: 80px;
|
||||
right: 32px;
|
||||
}
|
||||
|
||||
.BarFill {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
transition: width 0.15s ease-out;
|
||||
}
|
||||
|
||||
.HealthBar .BarFill {
|
||||
background: #2ecc40;
|
||||
}
|
||||
|
||||
.EnergyBar .BarFill {
|
||||
background: #0af;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue