| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363 |
- /* Travel UI Styles */
- .travel-container {
- /* Full screen overlay that blocks all clicks */
- position: absolute !important;
- top: 0 !important;
- left: 0 !important;
- right: 0 !important;
- bottom: 0 !important;
- width: 100% !important;
- height: 100% !important;
- background-color: transparent !important;
- justify-content: center !important;
- align-items: center !important;
- display: none;
- }
- .travel-panel {
- background-color: rgba(45, 45, 45, 0.95) !important;
- border-width: 2px !important;
- border-color: rgb(80, 80, 80) !important;
- border-radius: 8px !important;
- padding: 15px !important;
- width: 320px !important;
- min-height: 420px !important;
- max-height: 600px !important;
- flex-direction: column;
- flex-shrink: 0;
- cursor: move;
- }
- .travel-header {
- flex-direction: row !important;
- justify-content: space-between !important;
- align-items: center !important;
- margin-bottom: 10px !important;
- background-color: rgba(60, 60, 60, 0.8) !important;
- margin: -20px -20px 10px -20px !important;
- padding: 10px 20px !important;
- border-top-left-radius: 6px !important;
- border-top-right-radius: 6px !important;
- }
- .travel-title {
- font-size: 14px !important;
- -unity-font-style: bold !important;
- color: rgb(220, 220, 220) !important;
- margin: 0 !important;
- flex-grow: 1 !important;
- }
- .close-button {
- width: 24px !important;
- height: 24px !important;
- margin: 0 !important;
- padding: 0 !important;
- background-color: transparent !important;
- border-width: 0 !important;
- color: rgb(200, 200, 200) !important;
- font-size: 16px !important;
- -unity-font-style: bold !important;
- }
- .close-button:hover {
- background-color: rgba(200, 50, 50, 0.7) !important;
- color: white !important;
- }
- .travel-info {
- flex-direction: column;
- margin-bottom: 10px;
- padding: 10px;
- background-color: rgba(30, 30, 30, 0.8);
- border-radius: 5px;
- border-width: 1px;
- border-color: rgba(100, 100, 100, 0.5);
- height: 120px;
- flex-shrink: 0;
- overflow: hidden;
- }
- .info-label {
- font-size: 14px;
- color: rgb(240, 240, 240) !important;
- margin-bottom: 3px;
- -unity-font-style: normal;
- height: auto;
- min-height: 18px;
- flex-shrink: 0;
- }
- .button-container {
- flex-direction: row;
- justify-content: space-between;
- margin-top: auto;
- /* Note: gap not supported in Unity, use margins on children instead */
- }
- .travel-button {
- flex: 1;
- padding: 8px 12px;
- font-size: 12px;
- -unity-font-style: bold;
- border-width: 0;
- border-radius: 5px;
- min-height: 35px;
- white-space: normal;
- -unity-text-align: middle-center;
- margin-left: 4px;
- margin-right: 4px;
- }
- .primary-button {
- background-color: rgb(34, 139, 34);
- color: rgb(255, 255, 255);
- }
- .primary-button:hover {
- background-color: rgb(50, 180, 50);
- }
- .primary-button:disabled {
- background-color: rgb(80, 80, 80) !important;
- color: rgb(150, 150, 150) !important;
- }
- .primary-button:disabled:hover {
- background-color: rgb(80, 80, 80) !important;
- color: rgb(150, 150, 150) !important;
- }
- .secondary-button {
- background-color: rgb(180, 50, 50);
- color: rgb(255, 255, 255);
- }
- .secondary-button:hover {
- background-color: rgb(220, 70, 70);
- }
- /* Route Options Section */
- .route-options {
- flex-direction: column;
- margin-bottom: 15px;
- padding: 10px;
- background-color: rgba(25, 25, 35, 0.8);
- border-radius: 5px;
- border-width: 1px;
- border-color: rgba(100, 100, 120, 0.5);
- flex-grow: 1;
- min-height: 200px;
- max-height: 300px;
- flex-shrink: 0;
- overflow: hidden;
- }
- .section-title {
- font-size: 14px;
- -unity-font-style: bold;
- color: rgb(220, 220, 255) !important;
- margin-bottom: 8px;
- }
- .toggle-container {
- flex-direction: column;
- flex-grow: 1;
- /* Note: gap not supported in Unity, using margin-bottom on children instead */
- }
- .route-toggle {
- color: rgb(240, 240, 240) !important;
- font-size: 13px;
- margin-bottom: 5px;
- }
- .route-toggle > .unity-toggle__checkmark {
- background-color: rgba(50, 50, 50, 0.9) !important;
- border-color: rgb(120, 120, 120) !important;
- border-width: 1px !important;
- border-radius: 3px !important;
- }
- .route-toggle:checked > .unity-toggle__checkmark {
- background-color: rgb(34, 139, 34) !important;
- border-color: rgb(50, 180, 50) !important;
- }
- .route-toggle > .unity-toggle__text {
- color: rgb(240, 240, 240) !important;
- }
- .special-costs {
- color: rgb(255, 200, 100);
- -unity-font-style: bold;
- white-space: normal;
- -unity-text-align: upper-left;
- overflow: visible;
- flex-shrink: 0;
- min-height: 20px;
- max-height: 60px;
- }
- .warning-section {
- flex-direction: column;
- margin-bottom: 10px;
- height: 20px;
- flex-shrink: 0;
- }
- .insufficient-funds {
- color: rgb(255, 100, 100) !important;
- -unity-font-style: bold !important;
- font-size: 12px !important;
- -unity-text-align: middle-center;
- background-color: rgba(150, 30, 30, 0.3);
- border-radius: 3px;
- padding: 3px;
- border-width: 1px;
- border-color: rgba(255, 100, 100, 0.5);
- height: 18px;
- flex-shrink: 0;
- }
- .alternative-button {
- background-color: rgb(100, 100, 150);
- color: rgb(255, 255, 255);
- margin-top: auto;
- margin-bottom: 2px;
- font-size: 11px;
- padding: 6px 8px;
- min-height: 28px;
- }
- .alternative-button:hover {
- background-color: rgb(130, 130, 180);
- }
- /* Responsive adjustments */
- @media (max-width: 800px) {
- .travel-container {
- left: 10px;
- right: 10px;
- max-width: none;
- }
-
- .travel-panel {
- padding: 15px;
- }
-
- .button-container {
- flex-direction: column;
- /* Note: gap not supported, using margin on children */
- }
-
- .travel-button {
- min-height: 35px;
- font-size: 13px;
- margin-bottom: 8px;
- margin-left: 0;
- margin-right: 0;
- }
- }
- /* Route List Styles */
- .route-list {
- flex-direction: column;
- flex-grow: 1;
- margin-top: 5px;
- overflow: scroll;
- max-height: 250px;
- }
- .route-option {
- flex-direction: row;
- background-color: rgba(40, 40, 40, 0.8);
- border-width: 1px;
- border-color: rgba(80, 80, 80, 0.5);
- border-radius: 4px;
- margin-bottom: 4px;
- padding: 8px;
- min-height: 70px;
- cursor: link;
- overflow: hidden;
- }
- .route-option:hover {
- background-color: rgba(60, 60, 60, 0.9);
- border-color: rgba(120, 120, 120, 0.8);
- }
- .route-selected {
- background-color: rgba(34, 139, 34, 0.3) !important;
- border-color: rgb(50, 180, 50) !important;
- border-width: 2px !important;
- }
- .route-color-indicator {
- width: 8px;
- min-width: 8px;
- margin-right: 10px;
- border-radius: 4px;
- background-color: rgb(100, 100, 100);
- flex-shrink: 0;
- }
- .route-details {
- flex-direction: column;
- flex-grow: 1;
- justify-content: flex-start;
- overflow: hidden;
- }
- .route-header {
- font-size: 13px;
- -unity-font-style: bold;
- color: rgb(220, 220, 220);
- margin-bottom: 3px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .route-time {
- font-size: 11px;
- color: rgb(180, 220, 180);
- margin-bottom: 2px;
- white-space: nowrap;
- }
- .route-cost {
- font-size: 11px;
- color: rgb(220, 180, 180);
- margin-bottom: 2px;
- white-space: nowrap;
- }
- .route-special {
- font-size: 10px;
- color: rgb(255, 200, 100);
- -unity-font-style: italic;
- white-space: normal;
- overflow: hidden;
- }
- .route-debug {
- font-size: 9px;
- color: rgb(150, 150, 150);
- -unity-font-style: italic;
- margin-top: 2px;
- white-space: nowrap;
- overflow: hidden;
- }
- /* Click blocker - invisible overlay that blocks all clicks */
- .click-blocker {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0); /* Transparent but still blocks clicks */
- }
|