MapLocationNames.uss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /* Map Location Names Stylesheet */
  2. .map-location-names-container {
  3. position: absolute;
  4. width: 100%;
  5. height: 100%;
  6. left: 0;
  7. top: 0;
  8. z-index: 1; /* Just above the map, below other UI elements */
  9. pointer-events: none; /* CSS equivalent of PickingMode.Ignore */
  10. }
  11. .location-name-label {
  12. position: absolute;
  13. font-size: 12px;
  14. color: white;
  15. background-color: rgba(0, 0, 0, 0.6);
  16. padding-left: 4px;
  17. padding-right: 4px;
  18. padding-top: 2px;
  19. padding-bottom: 2px;
  20. border-radius: 3px;
  21. border-width: 1px;
  22. border-color: rgba(255, 255, 255, 0.3);
  23. text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  24. white-space: nowrap;
  25. pointer-events: none; /* Ensure labels don't block clicks */
  26. }
  27. /* Settlement name styles */
  28. .settlement-name {
  29. font-size: 13px;
  30. font-weight: bold;
  31. color: rgb(255, 255, 200); /* Light yellow */
  32. background-color: rgba(139, 69, 19, 0.8); /* Brown background */
  33. border-color: rgba(255, 215, 0, 0.5); /* Gold border */
  34. }
  35. /* Geographic feature name styles */
  36. .forest-name {
  37. color: rgb(144, 238, 144); /* Light green */
  38. background-color: rgba(0, 100, 0, 0.7);
  39. border-color: rgba(144, 238, 144, 0.5);
  40. }
  41. .lake-name {
  42. color: rgb(173, 216, 230); /* Light blue */
  43. background-color: rgba(0, 0, 139, 0.7);
  44. border-color: rgba(173, 216, 230, 0.5);
  45. }
  46. .mountain-name {
  47. color: rgb(220, 220, 220); /* Light gray */
  48. background-color: rgba(105, 105, 105, 0.8);
  49. border-color: rgba(220, 220, 220, 0.5);
  50. font-weight: bold;
  51. }
  52. .plain-name {
  53. color: rgb(255, 255, 224); /* Light yellow */
  54. background-color: rgba(154, 205, 50, 0.7);
  55. border-color: rgba(255, 255, 224, 0.5);
  56. }
  57. .river-name {
  58. color: rgb(135, 206, 235); /* Sky blue */
  59. background-color: rgba(0, 191, 255, 0.7);
  60. border-color: rgba(135, 206, 235, 0.5);
  61. }