TeamOverview.uss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. /* Click blocker overlay - covers entire screen to prevent clicks through UI */
  2. .click-blocker {
  3. position: absolute;
  4. top: 0;
  5. left: 0;
  6. right: 0;
  7. bottom: 0;
  8. background-color: rgba(0, 0, 0, 0);
  9. }
  10. /* Team Overview Panel Styles */
  11. .team-overview-container {
  12. position: absolute;
  13. top: 20px;
  14. right: 20px;
  15. bottom: 20px;
  16. width: 350px;
  17. max-width: 25%;
  18. min-width: 300px;
  19. background-color: rgba(240, 240, 240, 0.95);
  20. border-width: 2px;
  21. border-color: rgb(100, 100, 100);
  22. border-radius: 10px;
  23. padding: 15px;
  24. flex-direction: column;
  25. overflow: hidden;
  26. }
  27. .team-header {
  28. flex-direction: column;
  29. justify-content: flex-start;
  30. align-items: stretch;
  31. margin-bottom: 15px;
  32. padding-bottom: 10px;
  33. border-bottom-width: 1px;
  34. border-bottom-color: rgb(180, 180, 180);
  35. flex-shrink: 0;
  36. }
  37. .header-buttons {
  38. flex-direction: row;
  39. justify-content: space-between;
  40. margin-top: 8px;
  41. gap: 8px;
  42. }
  43. .team-title {
  44. font-size: 18px;
  45. font-weight: bold;
  46. color: rgb(50, 50, 50);
  47. margin-bottom: 5px;
  48. }
  49. .nav-button {
  50. background-color: rgb(70, 130, 180);
  51. color: white;
  52. border-width: 0;
  53. border-radius: 5px;
  54. padding: 6px 10px;
  55. font-size: 11px;
  56. flex: 1;
  57. margin: 0 2px;
  58. }
  59. .nav-button:hover {
  60. background-color: rgb(90, 150, 200);
  61. }
  62. .team-members-scroll {
  63. flex-grow: 1;
  64. flex-shrink: 1;
  65. margin-bottom: 15px;
  66. min-height: 200px;
  67. overflow: hidden;
  68. }
  69. .team-stats {
  70. background-color: rgba(250, 250, 250, 0.9);
  71. border-width: 1px;
  72. border-color: rgb(180, 180, 180);
  73. border-radius: 6px;
  74. padding: 10px;
  75. flex-shrink: 0;
  76. margin-top: auto;
  77. }
  78. .team-member-card {
  79. background-color: rgba(255, 255, 255, 0.8);
  80. border-width: 1px;
  81. border-color: rgb(200, 200, 200);
  82. border-radius: 8px;
  83. margin-bottom: 10px;
  84. padding: 12px;
  85. flex-direction: column;
  86. }
  87. .member-name {
  88. font-size: 16px;
  89. font-weight: bold;
  90. color: rgb(30, 30, 30);
  91. margin-bottom: 8px;
  92. }
  93. .member-stats {
  94. flex-direction: row;
  95. flex-wrap: wrap;
  96. justify-content: space-between;
  97. }
  98. .stat-item {
  99. flex-direction: row;
  100. margin-bottom: 4px;
  101. min-width: 80px;
  102. }
  103. .stat-name {
  104. font-size: 12px;
  105. color: rgb(80, 80, 80);
  106. min-width: 40px;
  107. }
  108. .stat-value {
  109. font-size: 12px;
  110. font-weight: bold;
  111. color: rgb(20, 20, 20);
  112. }
  113. .member-equipment {
  114. margin-top: 8px;
  115. padding-top: 8px;
  116. border-top-width: 1px;
  117. border-top-color: rgb(220, 220, 220);
  118. }
  119. .equipment-title {
  120. font-size: 12px;
  121. font-weight: bold;
  122. color: rgb(60, 60, 60);
  123. margin-bottom: 4px;
  124. }
  125. .equipment-list {
  126. font-size: 11px;
  127. color: rgb(100, 100, 100);
  128. white-space: normal;
  129. }
  130. .stats-title {
  131. font-size: 14px;
  132. font-weight: bold;
  133. color: rgb(40, 40, 40);
  134. margin-bottom: 8px;
  135. }
  136. .stats-row {
  137. flex-direction: row;
  138. justify-content: space-between;
  139. margin-bottom: 4px;
  140. }
  141. .stat-label {
  142. font-size: 12px;
  143. color: rgb(80, 80, 80);
  144. }
  145. .stat-value {
  146. font-size: 12px;
  147. font-weight: bold;
  148. color: rgb(20, 20, 20);
  149. }
  150. .perception-toggle {
  151. font-size: 12px;
  152. color: rgb(80, 80, 80);
  153. margin-top: 8px;
  154. padding: 4px;
  155. }
  156. .perception-toggle .unity-toggle__checkmark {
  157. background-color: rgb(70, 130, 180);
  158. border-color: rgb(100, 100, 100);
  159. }
  160. .perception-toggle:checked .unity-toggle__checkmark {
  161. background-color: rgb(50, 100, 150);
  162. }
  163. /* Responsive adjustments */
  164. @media (max-height: 600px) {
  165. .team-overview-container {
  166. top: 10px;
  167. bottom: 10px;
  168. right: 10px;
  169. width: 300px;
  170. min-width: 280px;
  171. font-size: 90%;
  172. padding: 10px;
  173. }
  174. .team-members-scroll {
  175. min-height: 150px;
  176. }
  177. .nav-button {
  178. font-size: 10px;
  179. padding: 4px 8px;
  180. }
  181. }
  182. @media (max-width: 1200px) {
  183. .team-overview-container {
  184. width: 280px;
  185. min-width: 260px;
  186. right: 10px;
  187. }
  188. }
  189. /* Ensure proper scrolling behavior */
  190. .team-members-scroll > .unity-scroll-view__content-container {
  191. flex-grow: 1;
  192. }
  193. .team-members-scroll .unity-scroller--vertical {
  194. width: 10px;
  195. }