/* Unity UI Toolkit Compatible Location Naming Styles */ /* Base location label styling */ .location-label { position: absolute; font-size: 12px; color: white; padding: 2px 6px; background-color: rgba(0, 0, 0, 0.7); border-radius: 3px; white-space: nowrap; transition-property: opacity; transition-duration: 0.3s; } /* Location type specific styles */ .location-town { color: rgb(255, 215, 0); -unity-font-style: bold; } .location-village { color: rgb(255, 165, 0); } .location-forest { color: rgb(34, 139, 34); } .location-mountain { color: rgb(169, 169, 169); } .location-landmark { color: rgb(255, 255, 0); -unity-font-style: bold; } /* Capital city special styling */ .location-capital { color: rgb(255, 215, 0); -unity-font-style: bold; font-size: 14px; background-color: rgba(25, 25, 25, 0.9); border-color: rgb(255, 215, 0); border-width: 1px; padding: 4px 8px; } /* Undiscovered location styling */ .location-label.undiscovered { opacity: 0.5; color: rgb(128, 128, 128); } /* Hover effects */ .location-label:hover { opacity: 1; background-color: rgba(0, 0, 0, 0.9); } /* Message display */ .location-message { font-size: 16px; -unity-font-style: bold; -unity-text-align: middle-center; background-color: rgba(25, 25, 25, 0.95); border-color: rgba(255, 255, 255, 0.3); border-width: 2px; border-radius: 6px; padding: 8px 12px; color: white; position: absolute; top: 50%; left: 50%; translate: -50% -50%; } /* Tooltip styling */ .location-tooltip { position: absolute; background-color: rgba(25, 25, 25, 0.95); border-color: rgb(139, 69, 19); border-width: 2px; border-radius: 6px; padding: 8px 12px; min-width: 120px; font-size: 12px; color: white; } .tooltip-title { font-size: 14px; -unity-font-style: bold; color: rgb(255, 215, 0); margin-bottom: 4px; } .tooltip-status { font-size: 11px; color: rgb(100, 200, 255); -unity-font-style: italic; } .tooltip-instructions { font-size: 10px; color: rgb(200, 200, 200); margin-top: 4px; -unity-font-style: italic; }