diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-01-17 15:32:08 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:39 +0100 |
commit | c0c9ba83d7c3362f1d6f161772f52de2fccff29f (patch) | |
tree | ce2abeeeddc72e5115be73609833a1d7a0ce11b7 | |
parent | 6fbb2af64491c77629e79d57ac17aeec14162bab (diff) | |
download | nevsky-c0c9ba83d7c3362f1d6f161772f52de2fccff29f.tar.gz |
Veche display and no sliding out of tucked cards.
-rw-r--r-- | play.html | 33 |
1 files changed, 13 insertions, 20 deletions
@@ -343,6 +343,10 @@ body.shift .capabilities { z-index: 200; } +body.shift #capabilities1, body.shift #capabilities2 { + z-index: 200; +} + .mat .forces, .mat .routed, .mat .assets, #veche { position: absolute; display: flex; @@ -356,6 +360,10 @@ body.shift .capabilities { //background-color: #f004; } +#veche { + gap: 4px; +} + .mat > .background > div { //outline: 1px solid red; } @@ -446,9 +454,9 @@ body.shift .mustered_vassals { .mat.russian.vladislav .background { background-image:url(mats.2x/mat_russian_vladislav-fs8.png) } } -.conquered + .conquered { margin-left: -44px; margin-bottom: 13px; } -.conquered + .conquered + .conquered { margin-bottom: 26px; } -.conquered + .conquered + .conquered + .conquered { margin-bottom: 39px; } +.locale_markers > .conquered + .conquered { margin-left: -44px; margin-bottom: 13px; } +.locale_markers > .conquered + .conquered + .conquered { margin-bottom: 26px; } +.locale_markers > .conquered + .conquered + .conquered + .conquered { margin-bottom: 39px; } .siege + .siege { margin-left: -44px; margin-bottom: 13px; } .siege + .siege + .siege { margin-bottom: 26px; } @@ -459,25 +467,12 @@ body.shift .mustered_vassals { .tuck_under_map { margin: 0 auto 36px auto; width: 1275px; - min-height: 132px; + min-height: 260px; + margin-top: -130px; display: grid; grid-template-columns: auto auto; } -.tuck_under_map .card { - height: 132px; - background-position: 0 100%; - border-top-left-radius: 0; - border-top-right-radius: 0; - z-index: 1; -} - -.tuck_under_map .card:hover { - height: 253px; - margin-bottom: -132px; - z-index: 2; -} - #capabilities1, #capabilities2 { display: flex; flex-wrap: wrap; @@ -793,8 +788,6 @@ body.shift .mustered_vassals { gap: 4px; } -#veche { position: absolute; } - .veche_label { pointer-events: none; border: 3px solid transparent; |