summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2018-12-06 22:21:49 +0100
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2018-12-06 22:21:49 +0100
commitfa70f7be28804fb497c4c3424463f9f1ba4bb453 (patch)
treeef045d1560f3623c077c80ece50932df9ddb0317 /src
parent1bbc394c55332221798bd82a44c07caa24db9281 (diff)
...
Diffstat (limited to 'src')
-rw-r--r--src/css/src/roster-editor/info-card/character.scss7
-rw-r--r--src/roster-editor/src/View/Character.elm4
2 files changed, 9 insertions, 2 deletions
diff --git a/src/css/src/roster-editor/info-card/character.scss b/src/css/src/roster-editor/info-card/character.scss
index 92e4558..5e4a958 100644
--- a/src/css/src/roster-editor/info-card/character.scss
+++ b/src/css/src/roster-editor/info-card/character.scss
@@ -30,6 +30,13 @@
background-size: 200% 100%;
}
+.character-portrait-battle-index
+{
+ position: relative;
+ z-index: 2;
+ top: -200%;
+}
+
.character-portrait-team-0 { background-color: rgba(57, 106, 177, 0.3); }
.character-portrait-team-1 { background-color: rgba(204, 37, 41, 0.3); }
.character-portrait-team-2 { background-color: rgba(62, 150, 81, 0.3); }
diff --git a/src/roster-editor/src/View/Character.elm b/src/roster-editor/src/View/Character.elm
index c55265d..4a943c1 100644
--- a/src/roster-editor/src/View/Character.elm
+++ b/src/roster-editor/src/View/Character.elm
@@ -120,9 +120,9 @@ get_portrait_html char =
)
]
[
- (get_battle_index_html char),
(get_portrait_body_html char),
- (get_portrait_armor_html char)
+ (get_portrait_armor_html char),
+ (get_battle_index_html char)
]
)