GameOverScreen_Clean.uss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. /* Clean Game Over Screen Styles - Unity UI Toolkit Compatible */
  2. /* Main Overlay */
  3. .gameover-overlay {
  4. position: absolute;
  5. top: 0;
  6. left: 0;
  7. right: 0;
  8. bottom: 0;
  9. background-color: rgba(30, 0, 0, 0.9);
  10. justify-content: center;
  11. align-items: center;
  12. }
  13. .gameover-background {
  14. background-color: rgba(40, 20, 20, 0.95);
  15. border-width: 2px;
  16. border-color: rgb(160, 60, 60);
  17. border-radius: 15px;
  18. padding: 30px;
  19. width: 85%;
  20. max-width: 1000px;
  21. max-height: 90%;
  22. flex-direction: column;
  23. justify-content: flex-start;
  24. }
  25. /* Header */
  26. .gameover-title {
  27. font-size: 42px;
  28. color: rgb(255, 80, 80);
  29. margin-bottom: 10px;
  30. -unity-text-align: center;
  31. -unity-font-style: bold;
  32. }
  33. .gameover-subtitle {
  34. font-size: 18px;
  35. color: rgb(200, 150, 150);
  36. margin-bottom: 20px;
  37. -unity-text-align: center;
  38. -unity-font-style: italic;
  39. }
  40. /* Main Content */
  41. .main-content {
  42. flex-grow: 1;
  43. flex-direction: row;
  44. justify-content: space-between;
  45. }
  46. .statistics-section {
  47. flex-grow: 1;
  48. background-color: rgba(50, 30, 30, 0.7);
  49. border-radius: 10px;
  50. padding: 20px;
  51. margin-right: 10px;
  52. }
  53. .assessment-section {
  54. width: 30%;
  55. background-color: rgba(60, 25, 25, 0.7);
  56. border-radius: 10px;
  57. padding: 20px;
  58. margin-left: 10px;
  59. }
  60. .section-title {
  61. font-size: 20px;
  62. color: rgb(255, 150, 150);
  63. margin-bottom: 15px;
  64. -unity-text-align: center;
  65. -unity-font-style: bold;
  66. }
  67. /* Statistics Categories */
  68. .stats-category {
  69. margin-bottom: 20px;
  70. padding: 15px;
  71. background-color: rgba(0, 0, 0, 0.3);
  72. border-radius: 8px;
  73. }
  74. .category-title {
  75. font-size: 16px;
  76. color: rgb(255, 200, 100);
  77. margin-bottom: 10px;
  78. -unity-text-align: center;
  79. -unity-font-style: bold;
  80. }
  81. .stat-row {
  82. flex-direction: row;
  83. justify-content: space-between;
  84. margin-bottom: 5px;
  85. padding: 2px 0;
  86. }
  87. .stat-label {
  88. font-size: 14px;
  89. color: rgb(200, 180, 180);
  90. flex-grow: 1;
  91. }
  92. .stat-value {
  93. font-size: 14px;
  94. color: rgb(255, 255, 255);
  95. -unity-text-align: right;
  96. -unity-font-style: bold;
  97. }
  98. /* Assessment */
  99. .assessment-title {
  100. font-size: 18px;
  101. color: rgb(255, 150, 150);
  102. margin-bottom: 15px;
  103. -unity-text-align: center;
  104. -unity-font-style: bold;
  105. }
  106. .assessment-text {
  107. font-size: 16px;
  108. color: rgb(220, 200, 200);
  109. margin-bottom: 20px;
  110. -unity-text-align: center;
  111. white-space: normal;
  112. }
  113. /* Footer Buttons */
  114. .footer-section {
  115. align-items: center;
  116. margin-top: 20px;
  117. }
  118. .button-container {
  119. flex-direction: row;
  120. justify-content: center;
  121. align-items: center;
  122. }
  123. .action-button {
  124. min-width: 140px;
  125. height: 45px;
  126. margin: 0 15px;
  127. border-radius: 22px;
  128. font-size: 16px;
  129. -unity-font-style: bold;
  130. cursor: pointer;
  131. }
  132. .restart-button {
  133. background-color: rgb(100, 60, 60);
  134. border-color: rgb(140, 80, 80);
  135. color: rgb(255, 255, 255);
  136. }
  137. .restart-button:hover {
  138. background-color: rgb(140, 80, 80);
  139. border-color: rgb(180, 100, 100);
  140. }
  141. .menu-button {
  142. background-color: rgb(60, 60, 100);
  143. border-color: rgb(80, 80, 140);
  144. color: rgb(255, 255, 255);
  145. }
  146. .menu-button:hover {
  147. background-color: rgb(80, 80, 140);
  148. border-color: rgb(100, 100, 180);
  149. }