summaryrefslogtreecommitdiff |
diff options
author | nsensfel <SpamShield0@noot-noot.org> | 2018-07-06 17:58:18 +0200 |
---|---|---|
committer | nsensfel <SpamShield0@noot-noot.org> | 2018-07-06 17:58:18 +0200 |
commit | 9766626c96c325f98d302a235f8bf569375e7af7 (patch) | |
tree | 15a803c69e0b1987ea8f88c2c4c9eb92cf54a8f7 /src/battlemap/www/style.css | |
parent | d3a88c205888228191141faeb085e3c67ea3ebd0 (diff) |
Adds status markers.
For the first release, there is are no planned statuses, except the
ranks.
Diffstat (limited to 'src/battlemap/www/style.css')
-rw-r--r-- | src/battlemap/www/style.css | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/src/battlemap/www/style.css b/src/battlemap/www/style.css index a0a2565..74ef048 100644 --- a/src/battlemap/www/style.css +++ b/src/battlemap/www/style.css @@ -312,11 +312,12 @@ { position: absolute; left: 100px; - top: 1em; + top: 0; margin-left: 0.5em; width: calc(100% - 100px - 0.5em); } + .battlemap-character-card-health > .battlemap-gauge-bar { background-color: darkred; @@ -327,9 +328,36 @@ { position: absolute; left: 100px; - top: calc(1em + 1.5em + 1em); + top: calc(1.5em + 1em); + margin-left: 0.5em; + width: calc(100% - 100px - 0.5em); +} + +.battlemap-character-card-statuses +{ + position: absolute; + left: 100px; + top: calc(2*(1.5em + 0.5em) + 0.7em); margin-left: 0.5em; width: calc(100% - 100px - 0.5em); + display: flex; +} + +.battlemap-character-card-status +{ + height: 1.5em; + width: 1.5em; + background-size: 100%; +} + +.battlemap-character-card-target-status +{ + background-image: url("/asset/svg/status/target.svg"); +} + +.battlemap-character-card-commander-status +{ + background-image: url("/asset/svg/status/commander.svg"); } .battlemap-character-card-movement > .battlemap-gauge-bar |