From 5f3d0a4cdbe46d4428ea33f60bd1032279512201 Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Sun, 20 Mar 2022 11:33:36 -0700 Subject: [PATCH] Fix building card to be on top of board pieces Signed-off-by: James Ketrenos --- client/src/App.css | 6 +++++- client/src/Placard.css | 3 +-- client/src/PlayersStatus.css | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/client/src/App.css b/client/src/App.css index 86dcda6..d722614 100755 --- a/client/src/App.css +++ b/client/src/App.css @@ -86,7 +86,11 @@ body { } .Table .PlayersStatus { - z-index: 750; + z-index: 500; /* Under Hand */ +} + +.Table .PlayersStatus.ActivePlayer { + z-index: 1500; /* On top of Hand */ } .Table .Hand { diff --git a/client/src/Placard.css b/client/src/Placard.css index 7c4b4ae..fe9ddc7 100644 --- a/client/src/Placard.css +++ b/client/src/Placard.css @@ -28,8 +28,7 @@ filter: brightness(110%); transform-origin: 100% 100%; transform: scale(1.5); - z-index: 10000; -} + } .Placard > div:nth-child(1) { height: 15.5%; diff --git a/client/src/PlayersStatus.css b/client/src/PlayersStatus.css index 26b79fe..76e1afb 100644 --- a/client/src/PlayersStatus.css +++ b/client/src/PlayersStatus.css @@ -16,7 +16,7 @@ pointer-events: all; right: auto; left: 0; - bottom: 11rem; /* 1rem over top of Resource cards in hand */ + bottom: 7rem; /* 1rem over top of Resource cards in hand */ } .PlayersStatus .Player {