summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2018-05-30 13:07:20 +0200
committernsensfel <SpamShield0@noot-noot.org>2018-05-30 13:07:20 +0200
commit909341677754013acd2ffd28395e389fcf7f0317 (patch)
tree8eed16797852e1e7cb4ed88f71f3ae9775f197a3 /src/battlemap/www/style.css
parent7619e8980532821d205f6794de031585c040f819 (diff)
Adding some visuals for the health.
Diffstat (limited to 'src/battlemap/www/style.css')
-rw-r--r--src/battlemap/www/style.css44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/battlemap/www/style.css b/src/battlemap/www/style.css
index e714f83..26141c4 100644
--- a/src/battlemap/www/style.css
+++ b/src/battlemap/www/style.css
@@ -189,12 +189,56 @@
grid-row: row 1;
}
+.battlemap-character-card-percent-bar
+{
+ border-radius: 5px;
+ height: 24px;
+ width: 100px;
+ border: 2px solid #6C5D53;
+ text-align: center;
+}
+
+.battlemap-character-card-percent-bar-text
+{
+ line-height: 24px;
+ position: relative;
+ height: inherit;
+ z-index: 1;
+ width: 100px;
+}
+
+.battlemap-character-card-percent-bar-bar
+{
+ position: relative;
+ height: inherit;
+ border-radius: 5px;
+ z-index: 0;
+ top: -100%;
+ max-width: 100px;
+}
+
.battlemap-character-card-health
{
grid-column: col 2;
grid-row: row 2;
}
+.battlemap-character-card-health-bar
+{
+ background-color: darkred;
+}
+
+.battlemap-character-card-movement
+{
+ grid-column: col 2;
+ grid-row: row 2;
+}
+
+.battlemap-character-card-movement-bar
+{
+ background-color: orange;
+}
+
.battlemap-character-card-weapon
{
display: grid;