| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- /* Settlement Interaction UI Styles */
- .settlement-prompt {
- position: absolute;
- top: 20px;
- left: 50%;
- translate: -50% 0;
- background-color: rgba(0, 0, 0, 0.8);
- border-radius: 10px;
- padding: 15px;
- border-width: 2px;
- border-color: rgb(255, 215, 0);
- min-width: 300px;
- align-items: center;
- justify-content: center;
- }
- .prompt-container {
- align-items: center;
- justify-content: center;
- }
- .settlement-name {
- font-size: 18px;
- color: rgb(255, 215, 0);
- font-weight: bold;
- margin-bottom: 5px;
- text-align: center;
- -unity-text-align: middle-center;
- }
- .interaction-instruction {
- font-size: 14px;
- color: rgb(255, 255, 255);
- text-align: center;
- -unity-text-align: middle-center;
- margin-top: 5px;
- }
- /* Animation for the prompt */
- .settlement-prompt {
- transition-property: opacity;
- transition-duration: 0.3s;
- transition-timing-function: ease-in-out;
- }
- /* Hover effect for better visibility */
- .settlement-prompt:hover {
- background-color: rgba(0, 0, 0, 0.9);
- border-color: rgb(255, 255, 0);
- }
|