AgentInfoPanel.uss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. .info-panel-container {
  2. position: absolute;
  3. right: 20px;
  4. top: 100px;
  5. width: 320px;
  6. background-color: rgba(25, 25, 35, 0.95);
  7. border-left-width: 3px;
  8. border-left-color: #ff6b6b;
  9. border-top-width: 1px;
  10. border-top-color: rgba(255, 255, 255, 0.1);
  11. border-right-width: 1px;
  12. border-right-color: rgba(0, 0, 0, 0.3);
  13. border-bottom-width: 1px;
  14. border-bottom-color: rgba(0, 0, 0, 0.3);
  15. padding: 0;
  16. min-height: 250px;
  17. max-height: 600px;
  18. }
  19. .info-panel-header {
  20. flex-direction: row;
  21. justify-content: space-between;
  22. align-items: center;
  23. padding: 15px;
  24. border-bottom-width: 1px;
  25. border-bottom-color: rgba(255, 107, 107, 0.3);
  26. background-color: rgba(255, 107, 107, 0.1);
  27. }
  28. .agent-name-title {
  29. font-size: 20px;
  30. color: #ff6b6b;
  31. -unity-font-style: bold;
  32. flex-grow: 1;
  33. }
  34. .close-button {
  35. background-color: rgba(255, 107, 107, 0.2);
  36. border-width: 1px;
  37. border-color: #ff6b6b;
  38. color: #ff6b6b;
  39. font-size: 18px;
  40. width: 30px;
  41. height: 30px;
  42. padding: 0;
  43. margin: 0;
  44. }
  45. .close-button:hover {
  46. background-color: rgba(255, 107, 107, 0.4);
  47. }
  48. .info-panel-content {
  49. padding: 15px;
  50. flex-grow: 1;
  51. }
  52. .section-title {
  53. font-size: 14px;
  54. color: #4a9eff;
  55. -unity-font-style: bold;
  56. margin-bottom: 10px;
  57. margin-top: 5px;
  58. }
  59. .stat-group {
  60. margin-bottom: 20px;
  61. }
  62. .stat-item {
  63. flex-direction: row;
  64. align-items: center;
  65. gap: 10px;
  66. margin-bottom: 12px;
  67. padding: 8px;
  68. background-color: rgba(74, 158, 255, 0.05);
  69. }
  70. .stat-name {
  71. color: #b0b0b0;
  72. font-size: 12px;
  73. -unity-font-style: bold;
  74. min-width: 80px;
  75. }
  76. .stat-bar {
  77. flex-grow: 1;
  78. height: 20px;
  79. background-color: rgba(0, 0, 0, 0.3);
  80. }
  81. .stat-bar > #unity-dragger {
  82. background-color: #4a9eff;
  83. }
  84. .stat-number {
  85. color: #4a9eff;
  86. font-size: 12px;
  87. -unity-font-style: bold;
  88. min-width: 35px;
  89. text-align: middle-right;
  90. }
  91. .total-stat {
  92. flex-direction: row;
  93. justify-content: space-between;
  94. align-items: center;
  95. margin-top: 15px;
  96. padding: 10px;
  97. background-color: rgba(46, 204, 113, 0.1);
  98. border-left-width: 2px;
  99. border-left-color: #2ecc71;
  100. }
  101. .total-stat-number {
  102. color: #2ecc71;
  103. font-size: 16px;
  104. -unity-font-style: bold;
  105. }
  106. .status-group {
  107. margin-top: 15px;
  108. padding-top: 15px;
  109. border-top-width: 1px;
  110. border-top-color: rgba(255, 255, 255, 0.1);
  111. }
  112. .status-text {
  113. color: #a0a0a0;
  114. font-size: 12px;
  115. white-space: normal;
  116. word-wrap: true;
  117. }