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-08-08 16:12:21 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-08-08 16:12:21 -0700 |
commit | ca9ad3ac2a8a0b5709ae7f55dcff3a7473bb9203 (patch) | |
tree | 006e73211ae3559ce8f80bc1cbe656472e4cdc29 /public/assets/css | |
parent | 23188152c91a8e638ab832fa1fa122d59d1fc391 (diff) |
Add toggle for auto map-centering
Diffstat (limited to 'public/assets/css')
-rw-r--r-- | public/assets/css/style.css | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/public/assets/css/style.css b/public/assets/css/style.css index a708375..aa90dee 100644 --- a/public/assets/css/style.css +++ b/public/assets/css/style.css @@ -5,6 +5,7 @@ margin: 0; box-sizing: border-box; pointer-events: none; + display: none; } body { @@ -488,11 +489,11 @@ input#content-visibility-toggle { display: none; } -#toggle-firing-arc-vis input { +#toggle-firing-arc-vis input, .opt-toggle input { display: none; } -#toggle-firing-arc-vis label { +#toggle-firing-arc-vis label, .opt-toggle label { display: block; background-color: #DDD; border: 1px solid #666; @@ -503,19 +504,22 @@ input#content-visibility-toggle { user-select: none; } -#toggle-firing-arc-vis label:hover { +#toggle-firing-arc-vis label:hover, .opt-toggle label:hover { background-color: #CCC; } -#toggle-firing-arc-vis input + label .visible { +#toggle-firing-arc-vis input + label .visible, +.opt-toggle input + label .on { display: none; } -#toggle-firing-arc-vis input:checked + label .visible { +#toggle-firing-arc-vis input:checked + label .visible, +.opt-toggle input:checked + label .on { display: inline; } -#toggle-firing-arc-vis input:checked + label .hidden { +#toggle-firing-arc-vis input:checked + label .hidden, +.opt-toggle input:checked + label .off { display: none; } |