From f491fc8b19ea3efd7518efe81cdb750b1bec6e14 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 31 May 2024 23:36:53 +0200 Subject: blue tooltip space highlights --- play.css | 48 ++++++------------------------------------------ 1 file changed, 6 insertions(+), 42 deletions(-) diff --git a/play.css b/play.css index 205a1d5..b69cd62 100644 --- a/play.css +++ b/play.css @@ -113,21 +113,11 @@ body { #log { background-color: #f3ebd4 } #log div:empty { - min-height: 4px; + min-height: 6px; } #log .city_tip:hover { cursor: pointer; text-decoration: underline; } - #log .piece_tip:hover { cursor: pointer; text-decoration: underline; } -/* -#log .piece_tip.prussia:hover { background-color: var(--color-light-prussia); } -#log .piece_tip.hanover:hover { background-color: var(--color-light-hanover); } -#log .piece_tip.russia:hover { background-color: var(--color-light-russia); } -#log .piece_tip.sweden:hover { background-color: var(--color-light-sweden); } -#log .piece_tip.austria:hover { background-color: var(--color-light-austria); } -#log .piece_tip.imperial:hover { background-color: var(--color-light-imperial); } -#log .piece_tip.france:hover { background-color: var(--color-light-france); } -*/ #log .h { background-color: tan; @@ -277,24 +267,11 @@ span.suit.reserve { color: var(--color-reserve); font-weight: bold; font-family: border-radius: 50%; } -.space.tip { z-index: 3000 } -.space.country_austria.tip { border-color: gray; } -.space.country_sweden.tip { border-color: forestgreen; } -.space.country_poland.tip { border-color: indianred; } -.space.country_prussia.tip { border-color: royalblue; } -.space.country_hanover.tip { border-color: cornflowerblue; } -.space.country_saxony.tip { border-color: chocolate; } -.space.country_empire.tip { border-color: darkgoldenrod; } - -/* -.space.country_austria.action { border-color: gray; } -.space.country_sweden.action { border-color: forestgreen; } -.space.country_poland.action { border-color: indianred; } -.space.country_prussia.action { border-color: royalblue; } -.space.country_hanover.action { border-color: cornflowerblue; } -.space.country_saxony.action { border-color: chocolate; } -.space.country_empire.action { border-color: darkgoldenrod; } -*/ +.space.tip { + border-color: lime; + box-shadow: 0 0 2px black, inset 0 0 2px black; + z-index: 2000; +} .space.action { border-color: white; @@ -302,19 +279,6 @@ span.suit.reserve { color: var(--color-reserve); font-weight: bold; font-family: z-index: 2000; } -/* -.space.city.action { background-color: #fff8; } -.space.depot.action { background-color: #fff4; } -.space.objective.action { background-color: #fff4; } -.space.objective.action.prussia { background-color: #00547880; } -.space.objective.action.hanover { background-color: #91c9ed80; } -.space.objective.action.russia { background-color: #147d3680; } -.space.objective.action.sweden { background-color: #b2d23380; } -.space.objective.action.austria { background-color: #f5f5f580; } -.space.objective.action.imperial { background-color: #fbe30080; } -.space.objective.action.france { background-color: #ed1c2380; } -*/ - /* PIECES */ .piece { -- cgit v1.2.3