AdvancedTravelOptions.uss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. /* Advanced Travel Options Dialog Styles */
  2. .travel-option-item {
  3. background-color: rgba(255, 255, 255, 0.9);
  4. border-width: 1px;
  5. border-color: rgb(200, 200, 200);
  6. border-radius: 8px;
  7. margin-bottom: 10px;
  8. padding: 12px;
  9. flex-direction: row;
  10. align-items: center;
  11. transition: background-color 0.2s;
  12. }
  13. .travel-option-item:hover {
  14. background-color: rgba(230, 240, 255, 0.9);
  15. border-color: rgb(100, 150, 200);
  16. }
  17. .travel-option-item.selected {
  18. background-color: rgba(180, 220, 255, 0.9);
  19. border-color: rgb(70, 130, 180);
  20. border-width: 2px;
  21. }
  22. .option-radio {
  23. width: 16px;
  24. height: 16px;
  25. border-width: 2px;
  26. border-color: rgb(120, 120, 120);
  27. border-radius: 50%;
  28. margin-right: 12px;
  29. background-color: white;
  30. }
  31. .option-radio.selected {
  32. background-color: rgb(70, 130, 180);
  33. border-color: rgb(70, 130, 180);
  34. }
  35. .option-details {
  36. flex: 1;
  37. flex-direction: column;
  38. }
  39. .option-name {
  40. font-size: 16px;
  41. font-weight: bold;
  42. color: rgb(30, 30, 30);
  43. margin-bottom: 4px;
  44. }
  45. .option-description {
  46. font-size: 13px;
  47. color: rgb(80, 80, 80);
  48. white-space: normal;
  49. margin-bottom: 6px;
  50. }
  51. .option-cost {
  52. font-size: 14px;
  53. font-weight: bold;
  54. color: rgb(150, 100, 0);
  55. text-align: right;
  56. min-width: 100px;
  57. }
  58. .option-cost.affordable {
  59. color: rgb(0, 120, 0);
  60. }
  61. .option-cost.expensive {
  62. color: rgb(180, 70, 70);
  63. }
  64. .option-requirements {
  65. font-size: 12px;
  66. color: rgb(100, 100, 100);
  67. font-style: italic;
  68. }
  69. .option-requirements.missing {
  70. color: rgb(180, 70, 70);
  71. font-weight: bold;
  72. }
  73. /* Tunnel specific styling */
  74. .tunnel-option {
  75. border-left-width: 4px;
  76. border-left-color: rgb(139, 69, 19);
  77. }
  78. /* Ferry specific styling */
  79. .ferry-option {
  80. border-left-width: 4px;
  81. border-left-color: rgb(65, 105, 225);
  82. }
  83. /* Standard route styling */
  84. .standard-option {
  85. border-left-width: 4px;
  86. border-left-color: rgb(34, 139, 34);
  87. }
  88. /* Animation for selection */
  89. .travel-option-item {
  90. transition-property: background-color, border-color, transform;
  91. transition-duration: 0.15s;
  92. }
  93. .travel-option-item:active {
  94. transform: scale(0.98);
  95. }