summaryrefslogtreecommitdiff
path: root/play.html
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-17 19:02:17 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:39 +0100
commit48c8d494e2467ffb69b3bc6c42bc832f6474419c (patch)
treede97c79f93955b54f0d5542059a3c79fa57247bb /play.html
parented0e937ab1e53afcd16a98f74e7a6be76fee2553 (diff)
downloadnevsky-48c8d494e2467ffb69b3bc6c42bc832f6474419c.tar.gz
Lord Events (battle).
Diffstat (limited to 'play.html')
-rw-r--r--play.html37
1 files changed, 29 insertions, 8 deletions
diff --git a/play.html b/play.html
index 0053be3..2498ae6 100644
--- a/play.html
+++ b/play.html
@@ -137,11 +137,10 @@ body.Teutons #plan_actions .russian { display: none }
#battle_grid #grid_ga {
width: 376px;
- height: 48px;
-}
-
-#battle_grid #grid_ga > div {
- margin: 0 auto;
+ height: 60px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
}
#grid_rd1:empty:not(.action), #grid_rd2:empty:not(.action), #grid_rd3:empty:not(.action),
@@ -281,11 +280,33 @@ body.Teutons #plan_actions .russian { display: none }
gap: 0px;
}
-body.shift .capabilities {
- z-index: 200;
+.mat .events {
+ position: absolute;
+ z-index: 3;
+ width: 372px;
+ height: 260px;
+ left: 2px;
+ top: -36px;
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: center;
+ gap: 0px;
+ transition-property: top;
+ transition-duration: 100ms;
+}
+
+.mat .events:hover {
+ top: -130px;
+}
+
+.mat .events:empty {
+ display: none;
}
-body.shift #capabilities1, body.shift #capabilities2 {
+body.shift .capabilities,
+body.shift .events,
+body.shift #capabilities1,
+body.shift #capabilities2 {
z-index: 200;
}