| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219 |
- /* Team Overview Panel Styles */
- .team-overview-container {
- position: absolute;
- top: 20px;
- right: 20px;
- bottom: 20px;
- width: 350px;
- max-width: 25%;
- min-width: 300px;
- background-color: rgba(240, 240, 240, 0.95);
- border-width: 2px;
- border-color: rgb(100, 100, 100);
- border-radius: 10px;
- padding: 15px;
- flex-direction: column;
- display: flex;
- visibility: visible;
- /* Ensure high z-index to appear on top */
- z-index: 1000;
- overflow: hidden;
- }
- .team-header {
- flex-direction: column;
- justify-content: flex-start;
- align-items: stretch;
- margin-bottom: 15px;
- padding-bottom: 10px;
- border-bottom-width: 1px;
- border-bottom-color: rgb(180, 180, 180);
- flex-shrink: 0;
- }
- .header-buttons {
- flex-direction: row;
- justify-content: space-between;
- margin-top: 8px;
- gap: 8px;
- }
- .team-title {
- font-size: 18px;
- font-weight: bold;
- color: rgb(50, 50, 50);
- margin-bottom: 5px;
- }
- .nav-button {
- background-color: rgb(70, 130, 180);
- color: white;
- border-width: 0;
- border-radius: 5px;
- padding: 6px 10px;
- font-size: 11px;
- flex: 1;
- margin: 0 2px;
- }
- .nav-button:hover {
- background-color: rgb(90, 150, 200);
- }
- .team-members-scroll {
- flex-grow: 1;
- flex-shrink: 1;
- margin-bottom: 15px;
- min-height: 200px;
- overflow: hidden;
- }
- .team-member-card {
- background-color: rgba(255, 255, 255, 0.8);
- border-width: 1px;
- border-color: rgb(200, 200, 200);
- border-radius: 8px;
- margin-bottom: 10px;
- padding: 12px;
- flex-direction: column;
- }
- .member-name {
- font-size: 16px;
- font-weight: bold;
- color: rgb(30, 30, 30);
- margin-bottom: 8px;
- }
- .member-stats {
- flex-direction: row;
- flex-wrap: wrap;
- justify-content: space-between;
- }
- .stat-item {
- flex-direction: row;
- margin-bottom: 4px;
- min-width: 80px;
- }
- .stat-name {
- font-size: 12px;
- color: rgb(80, 80, 80);
- min-width: 40px;
- }
- .stat-value {
- font-size: 12px;
- font-weight: bold;
- color: rgb(20, 20, 20);
- }
- .member-equipment {
- margin-top: 8px;
- padding-top: 8px;
- border-top-width: 1px;
- border-top-color: rgb(220, 220, 220);
- }
- .equipment-title {
- font-size: 12px;
- font-weight: bold;
- color: rgb(60, 60, 60);
- margin-bottom: 4px;
- }
- .equipment-list {
- font-size: 11px;
- color: rgb(100, 100, 100);
- white-space: normal;
- }
- .team-stats {
- background-color: rgba(250, 250, 250, 0.9);
- border-width: 1px;
- border-color: rgb(180, 180, 180);
- border-radius: 6px;
- padding: 10px;
- flex-shrink: 0;
- margin-top: auto;
- }
- .stats-title {
- font-size: 14px;
- font-weight: bold;
- color: rgb(40, 40, 40);
- margin-bottom: 8px;
- }
- .stats-row {
- flex-direction: row;
- justify-content: space-between;
- margin-bottom: 4px;
- }
- .stat-label {
- font-size: 12px;
- color: rgb(80, 80, 80);
- }
- .stat-value {
- font-size: 12px;
- font-weight: bold;
- color: rgb(20, 20, 20);
- }
- .perception-toggle {
- font-size: 12px;
- color: rgb(80, 80, 80);
- margin-top: 8px;
- padding: 4px;
- }
- .perception-toggle .unity-toggle__checkmark {
- background-color: rgb(70, 130, 180);
- border-color: rgb(100, 100, 100);
- }
- .perception-toggle:checked .unity-toggle__checkmark {
- background-color: rgb(50, 100, 150);
- }
- /* Responsive adjustments */
- @media (max-height: 600px) {
- .team-overview-container {
- top: 10px;
- bottom: 10px;
- right: 10px;
- width: 300px;
- min-width: 280px;
- font-size: 90%;
- padding: 10px;
- }
-
- .team-members-scroll {
- min-height: 150px;
- }
-
- .nav-button {
- font-size: 10px;
- padding: 4px 8px;
- }
- }
- @media (max-width: 1200px) {
- .team-overview-container {
- width: 280px;
- min-width: 260px;
- right: 10px;
- }
- }
- /* Ensure proper scrolling behavior */
- .team-members-scroll > .unity-scroll-view__content-container {
- flex-grow: 1;
- }
- .team-members-scroll .unity-scroller--vertical {
- width: 10px;
- }
|