TeamOverview.uss 3.7 KB

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