index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-07-01 16:30:15 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-07-01 16:30:15 -0700 |
commit | ce6cd0be50975f565e52454cfb37e142eac51fc9 (patch) | |
tree | 1085acaf1b29ca82a3865c8727e57dac885ddc67 /public/assets/css/radial.css | |
parent | e199c0d75a18b08e8c97247b384dd66a304eb97e (diff) |
WIP: split hexes and building structure into different layers
Diffstat (limited to 'public/assets/css/radial.css')
-rw-r--r-- | public/assets/css/radial.css | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/public/assets/css/radial.css b/public/assets/css/radial.css index 2f03cb2..9b84d8a 100644 --- a/public/assets/css/radial.css +++ b/public/assets/css/radial.css @@ -47,7 +47,7 @@ use[href="#hex"] { display: inline; opacity: 1; fill: #ffffff; - fill-opacity: 0.5; + /* fill-opacity: 0.5; */ /* fill: url(#asterisk); */ stroke: none; } @@ -72,6 +72,14 @@ use[href="#hex"] { display: none; } +[data-view-elevation="-1"] [class*="elevation"] { + display: none; +} + +[data-view-elevation="-1"] #background { + fill: #333; +} + [data-view-elevation="-1"] .building .elevation-basement { display: inline; } @@ -84,14 +92,21 @@ use[href="#hex"] { display: inline; } -[data-view-elevation="2"] .building .elevation-2 { +[data-view-elevation="2"] .building .elevation-2, +[data-view-elevation="2"] .building .elevation-1:last-child { display: inline; } -[data-view-elevation="3"] .building .elevation-3 { +[data-view-elevation="3"] .building .elevation-3, +[data-view-elevation="3"] .building .elevation-1:last-child, +[data-view-elevation="3"] .building .elevation-2:last-child { display: inline; } +#dots { + pointer-events: none; +} + /* [data-view-elevation="-1"] .building > *, [data-view-elevation="-1"] .building > .structure > * { |