summaryrefslogtreecommitdiff
path: root/sw-ui
diff options
context:
space:
mode:
Diffstat (limited to 'sw-ui')
-rw-r--r--sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/Board.kt8
1 files changed, 8 insertions, 0 deletions
diff --git a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/Board.kt b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/Board.kt
index 9cc72c31..3febee86 100644
--- a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/Board.kt
+++ b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/Board.kt
@@ -79,6 +79,14 @@ private fun RBuilder.tableCard(card: TableCard, indexInColumn: Int, block: Style
}
maxWidth = 100.pct
maxHeight = 70.pct
+
+ // bring to the foreground on hover
+ hover {
+ zIndex = 1000
+ maxWidth = 110.pct
+ maxHeight = 75.pct
+ boxShadow(offsetX = 3.px, offsetY = 3.px, blurRadius = 7.px, color = Color.black)
+ }
}
block()
}
bgstack15