ItemSelectionUI.uss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. /* Item Selection UI Styles */
  2. .item-selection-container {
  3. position: absolute;
  4. top: 0;
  5. left: 0;
  6. right: 0;
  7. bottom: 0;
  8. background-color: rgba(0, 0, 0, 0.7);
  9. align-items: center;
  10. justify-content: center;
  11. display: flex;
  12. }
  13. .item-selection-modal {
  14. background-color: rgb(45, 45, 45);
  15. border-color: rgb(100, 100, 100);
  16. border-width: 2px;
  17. border-radius: 8px;
  18. width: 400px;
  19. height: 500px;
  20. padding: 0;
  21. }
  22. .header {
  23. background-color: rgb(60, 60, 60);
  24. border-bottom-width: 1px;
  25. border-bottom-color: rgb(100, 100, 100);
  26. flex-direction: row;
  27. justify-content: space-between;
  28. align-items: center;
  29. padding: 10px 15px;
  30. border-top-left-radius: 6px;
  31. border-top-right-radius: 6px;
  32. }
  33. .title {
  34. font-size: 18px;
  35. color: rgb(255, 255, 255);
  36. -unity-font-style: bold;
  37. margin: 0;
  38. }
  39. .close-button {
  40. width: 25px;
  41. height: 25px;
  42. background-color: rgb(200, 80, 80);
  43. border-radius: 12px;
  44. border-width: 0;
  45. color: white;
  46. font-size: 16px;
  47. -unity-font-style: bold;
  48. }
  49. .close-button:hover {
  50. background-color: rgb(220, 100, 100);
  51. }
  52. .close-button:active {
  53. background-color: rgb(180, 60, 60);
  54. }
  55. .content {
  56. padding: 15px;
  57. flex-grow: 1;
  58. }
  59. .character-label {
  60. font-size: 16px;
  61. color: rgb(255, 220, 100);
  62. -unity-font-style: bold;
  63. margin-bottom: 10px;
  64. -unity-text-align: middle-center;
  65. }
  66. .instruction-label {
  67. font-size: 14px;
  68. color: rgb(200, 200, 200);
  69. margin-bottom: 15px;
  70. -unity-text-align: middle-center;
  71. }
  72. .item-scroll-view {
  73. flex-grow: 1;
  74. margin-bottom: 15px;
  75. }
  76. .item-list {
  77. flex-grow: 1;
  78. }
  79. .item-button {
  80. background-color: rgb(60, 60, 60);
  81. border-color: rgb(100, 100, 100);
  82. border-width: 1px;
  83. border-radius: 4px;
  84. margin-bottom: 8px;
  85. padding: 12px 15px;
  86. flex-direction: column;
  87. align-items: stretch;
  88. }
  89. .item-button:hover {
  90. background-color: rgb(80, 80, 80);
  91. border-color: rgb(150, 150, 150);
  92. }
  93. .item-button:active {
  94. background-color: rgb(100, 100, 100);
  95. }
  96. .item-name {
  97. font-size: 14px;
  98. color: rgb(255, 255, 255);
  99. -unity-font-style: bold;
  100. margin-bottom: 4px;
  101. }
  102. .item-description {
  103. font-size: 12px;
  104. color: rgb(180, 180, 180);
  105. -unity-font-style: italic;
  106. }
  107. .no-items-container {
  108. align-items: center;
  109. justify-content: center;
  110. flex-grow: 1;
  111. }
  112. .no-items-label {
  113. font-size: 14px;
  114. color: rgb(150, 150, 150);
  115. -unity-font-style: italic;
  116. -unity-text-align: middle-center;
  117. }
  118. .footer {
  119. background-color: rgb(50, 50, 50);
  120. border-top-width: 1px;
  121. border-top-color: rgb(100, 100, 100);
  122. padding: 10px 15px;
  123. flex-direction: row;
  124. justify-content: space-between;
  125. align-items: center;
  126. border-bottom-left-radius: 6px;
  127. border-bottom-right-radius: 6px;
  128. }
  129. .cancel-button {
  130. background-color: rgb(120, 120, 120);
  131. border-color: rgb(100, 100, 100);
  132. border-width: 1px;
  133. border-radius: 4px;
  134. padding: 8px 16px;
  135. color: white;
  136. font-size: 14px;
  137. }
  138. .cancel-button:hover {
  139. background-color: rgb(140, 140, 140);
  140. }
  141. .cancel-button:active {
  142. background-color: rgb(100, 100, 100);
  143. }
  144. .help-text {
  145. font-size: 12px;
  146. color: rgb(150, 150, 150);
  147. -unity-font-style: italic;
  148. }