BuildingInterface.uss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. /* Building Interface Styles */
  2. .building-panel {
  3. position: absolute;
  4. top: 20px;
  5. left: 20px;
  6. min-width: 200px;
  7. background-color: rgba(0, 0, 0, 0.8);
  8. border-radius: 10px;
  9. padding: 15px;
  10. border-left-color: rgb(255, 255, 255);
  11. border-right-color: rgb(255, 255, 255);
  12. border-top-color: rgb(255, 255, 255);
  13. border-bottom-color: rgb(255, 255, 255);
  14. border-top-width: 2px;
  15. border-right-width: 2px;
  16. border-bottom-width: 2px;
  17. border-left-width: 2px;
  18. }
  19. .panel-title {
  20. font-size: 18px;
  21. color: rgb(255, 255, 255);
  22. -unity-font-style: bold;
  23. margin-bottom: 10px;
  24. -unity-text-align: middle-center;
  25. }
  26. .button-container {
  27. flex-direction: column;
  28. margin-bottom: 15px;
  29. }
  30. .build-button {
  31. margin-bottom: 8px;
  32. min-height: 35px;
  33. font-size: 14px;
  34. border-radius: 5px;
  35. border-width: 2px;
  36. -unity-font-style: bold;
  37. transition-duration: 0.2s;
  38. }
  39. .wall-button {
  40. background-color: rgb(100, 150, 100);
  41. border-color: rgb(150, 200, 150);
  42. color: rgb(255, 255, 255);
  43. }
  44. .wall-button:hover {
  45. background-color: rgb(120, 170, 120);
  46. border-color: rgb(180, 230, 180);
  47. }
  48. .wall-button.active {
  49. background-color: rgb(150, 200, 150);
  50. border-color: rgb(200, 255, 200);
  51. }
  52. .door-button {
  53. background-color: rgb(150, 100, 100);
  54. border-color: rgb(200, 150, 150);
  55. color: rgb(255, 255, 255);
  56. }
  57. .door-button:hover {
  58. background-color: rgb(170, 120, 120);
  59. border-color: rgb(230, 180, 180);
  60. }
  61. .door-button.active {
  62. background-color: rgb(200, 150, 150);
  63. border-color: rgb(255, 200, 200);
  64. }
  65. .normal-button {
  66. background-color: rgb(100, 100, 150);
  67. border-color: rgb(150, 150, 200);
  68. color: rgb(255, 255, 255);
  69. }
  70. .normal-button:hover {
  71. background-color: rgb(120, 120, 170);
  72. border-color: rgb(180, 180, 230);
  73. }
  74. .normal-button.active {
  75. background-color: rgb(150, 150, 200);
  76. border-color: rgb(200, 200, 255);
  77. }
  78. .status-container {
  79. flex-direction: column;
  80. border-top-width: 1px;
  81. border-top-color: rgba(255, 255, 255, 0.3);
  82. padding-top: 10px;
  83. }
  84. .status-label {
  85. font-size: 14px;
  86. color: rgb(200, 255, 200);
  87. -unity-font-style: bold;
  88. margin-bottom: 5px;
  89. }
  90. .instruction-label {
  91. font-size: 12px;
  92. color: rgb(200, 200, 200);
  93. white-space: normal;
  94. }