CharacterSlotUSS.uss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. .CharacterSlotMain {
  2. width: 100%;
  3. height: 100%;
  4. position: relative;
  5. }
  6. /* Create New Character Button Styles */
  7. .create-character-btn {
  8. flex-grow: 1;
  9. background-color: rgba(100, 100, 100, 0.3);
  10. border-width: 2px;
  11. border-color: rgba(150, 150, 150, 0.6);
  12. border-radius: 8px;
  13. padding: 0;
  14. margin: 0;
  15. transition-duration: 0.2s;
  16. transition-property: background-color, border-color, scale;
  17. }
  18. .create-character-btn:hover {
  19. background-color: rgba(120, 120, 120, 0.4);
  20. border-color: rgba(180, 180, 180, 0.8);
  21. scale: 1.02;
  22. }
  23. .create-character-btn:active {
  24. background-color: rgba(80, 80, 80, 0.5);
  25. scale: 0.98;
  26. }
  27. .create-character-content {
  28. flex-grow: 1;
  29. justify-content: center;
  30. align-items: center;
  31. flex-direction: column;
  32. padding: 10px;
  33. }
  34. .create-character-icon {
  35. width: 60px;
  36. height: 60px;
  37. background-color: rgba(70, 130, 180, 0.3);
  38. border-radius: 50%;
  39. justify-content: center;
  40. align-items: center;
  41. margin-bottom: 10px;
  42. border-width: 2px;
  43. border-color: rgba(70, 130, 180, 0.6);
  44. }
  45. .plus-icon {
  46. font-size: 32px;
  47. color: rgba(255, 255, 255, 0.9);
  48. -unity-text-align: middle-center;
  49. -unity-font-style: bold;
  50. }
  51. .create-character-text {
  52. font-size: 12px;
  53. color: rgba(255, 255, 255, 0.8);
  54. -unity-text-align: middle-center;
  55. -unity-font-style: bold;
  56. }
  57. /* Character Card Styles */
  58. .character-card {
  59. flex-grow: 1;
  60. background-color: rgba(50, 50, 70, 0.9);
  61. border-width: 2px;
  62. border-color: rgba(100, 120, 150, 0.8);
  63. border-radius: 8px;
  64. padding: 0;
  65. margin: 0;
  66. transition-duration: 0.2s;
  67. transition-property: background-color, border-color, scale;
  68. }
  69. .character-card:hover {
  70. background-color: rgba(60, 60, 80, 0.95);
  71. border-color: rgba(120, 140, 170, 1.0);
  72. scale: 1.02;
  73. }
  74. .character-card:active {
  75. scale: 0.98;
  76. }
  77. .character-card.selected-slot {
  78. border-color: rgb(0, 120, 215);
  79. background-color: rgba(0, 120, 215, 0.2);
  80. border-width: 3px;
  81. }
  82. .disabled-card {
  83. display: none;
  84. }
  85. .character-card-content {
  86. flex-grow: 1;
  87. flex-direction: column;
  88. padding: 8px;
  89. }
  90. /* Character Portrait */
  91. .character-portrait {
  92. height: 80px;
  93. justify-content: center;
  94. align-items: center;
  95. margin-bottom: 8px;
  96. }
  97. .portrait-placeholder {
  98. width: 60px;
  99. height: 60px;
  100. background-color: rgba(100, 100, 120, 0.6);
  101. border-radius: 50%;
  102. justify-content: center;
  103. align-items: center;
  104. border-width: 2px;
  105. border-color: rgba(150, 150, 170, 0.8);
  106. }
  107. .portrait-icon {
  108. font-size: 28px;
  109. color: rgba(255, 255, 255, 0.8);
  110. -unity-text-align: middle-center;
  111. }
  112. /* Character Info */
  113. .character-info {
  114. flex-grow: 1;
  115. flex-direction: column;
  116. }
  117. .character-name {
  118. font-size: 14px;
  119. color: rgba(255, 255, 255, 0.95);
  120. -unity-text-align: middle-center;
  121. -unity-font-style: bold;
  122. margin-bottom: 8px;
  123. white-space: nowrap;
  124. text-overflow: ellipsis;
  125. overflow: hidden;
  126. }
  127. /* Character Stats */
  128. .character-stats {
  129. flex-direction: column;
  130. margin-bottom: 8px;
  131. }
  132. .stat-row {
  133. flex-direction: row;
  134. justify-content: space-between;
  135. margin-bottom: 2px;
  136. padding-left: 4px;
  137. padding-right: 4px;
  138. }
  139. .stat-label {
  140. font-size: 10px;
  141. color: rgba(200, 200, 200, 0.8);
  142. -unity-font-style: bold;
  143. min-width: 25px;
  144. }
  145. .stat-value {
  146. font-size: 10px;
  147. color: rgba(255, 255, 255, 0.9);
  148. -unity-font-style: bold;
  149. -unity-text-align: middle-right;
  150. min-width: 20px;
  151. }
  152. /* Character Bottom Info */
  153. .character-bottom-info {
  154. flex-direction: row;
  155. justify-content: space-between;
  156. padding-left: 4px;
  157. padding-right: 4px;
  158. margin-top: auto;
  159. }
  160. .hp-label, .ac-label {
  161. font-size: 9px;
  162. color: rgba(255, 255, 255, 0.8);
  163. -unity-font-style: bold;
  164. }
  165. /* Legacy compatibility */
  166. .DisabledCharacterCard {
  167. display: none;
  168. }
  169. .EnabledCharacterStyle {
  170. flex-grow: 1;
  171. }