TeamOverview.uss 3.6 KB

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