diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-10-21 18:08:50 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-10-22 13:22:47 +0200 |
commit | 282e06e1921833da17efad2d8ffd3689b14fb44b (patch) | |
tree | f9e2379a061e0084d81d3d19bee987bedacb8314 /play.css | |
parent | 8cf3428c0f7378124cb0a7092e0b554608b5fed1 (diff) | |
download | hammer-of-the-scots-282e06e1921833da17efad2d8ffd3689b14fb44b.tar.gz |
Battle box.
Diffstat (limited to 'play.css')
-rw-r--r-- | play.css | 29 |
1 files changed, 17 insertions, 12 deletions
@@ -125,10 +125,6 @@ header.your_turn { background-color: orange; } position: absolute; } -#map svg image { - pointer-events: none; -} - #map svg path.area { fill-opacity: 0; fill: white; @@ -155,7 +151,6 @@ header.your_turn { background-color: orange; } /* TURN MARKER */ div.turn { - pointer-events: none; position: absolute; width: 66px; height: 66px; @@ -197,11 +192,11 @@ body.shift .block.known:hover { .oldblocks div.block { border-radius: 8px; } .newblocks div.block { border-radius: 4px; } -#map div.block { +#blocks > div.block { position: absolute; } -#battle div.block { +#battle > div.block { position: relative; } @@ -239,11 +234,23 @@ div.block.r3 { transform: rotate(-270deg); } div.block:hover { z-index: 1; } div.block { - transition-property: top, left, transform; - transition-duration: 700ms, 700ms, 200ms; - transition-timing-function: ease; + transition-property: top, left, transform, opacity; + transition-duration: 700ms, 700ms, 250ms, 250ms; + transition-timing-function: ease, ease, ease, linear; } +/* BATTLE BOX HIDING */ + +#map svg path.area.battle { + fill-opacity: 0.5; + fill: black; +} + +/* +div.block.battle { filter: grayscale(60%) brightness(60%) !important } +*/ +div.block.battle { opacity: 0; pointer-events: none } + /* HERALD DIALOG */ #herald { @@ -262,8 +269,6 @@ body.Scotland #herald li.action:hover { background-color: hsl(0, 59%, 35%); } /* BATTLE BOARD */ -#battle { top: 160px; left: 185px; } - #battle { background-color: silver; } #battle_message { background-color: lightsteelblue; } #battle_header { background-color: steelblue; color: white; } |