AdventurersGuildUI_Clean.uss 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395
  1. /* Unity UI Toolkit - Clean Adventurers Guild UI */
  2. /* Use default Unity font instead of emoji font */
  3. /* Base reset and utility */
  4. .hidden {
  5. display: none;
  6. }
  7. /* Full screen overlay */
  8. .guild-overlay {
  9. position: absolute;
  10. width: 100%;
  11. height: 100%;
  12. background-color: rgba(0, 0, 0, 0.7);
  13. justify-content: center;
  14. align-items: center;
  15. }
  16. /* Main guild window */
  17. .guild-window {
  18. width: 1200px;
  19. height: 800px;
  20. background-color: rgba(25, 25, 35, 0.95);
  21. border-radius: 12px;
  22. border-width: 2px;
  23. border-color: rgb(100, 100, 150);
  24. padding: 0;
  25. flex-direction: column;
  26. }
  27. /* Header styling */
  28. .guild-header {
  29. flex-direction: row;
  30. justify-content: space-between;
  31. align-items: center;
  32. padding: 15px 20px;
  33. background-color: rgba(50, 50, 70, 0.8);
  34. border-top-left-radius: 12px;
  35. border-top-right-radius: 12px;
  36. border-bottom-width: 2px;
  37. border-bottom-color: rgb(100, 100, 150);
  38. min-height: 60px;
  39. }
  40. .guild-title {
  41. font-size: 24px;
  42. -unity-font-style: bold;
  43. color: rgb(255, 215, 0);
  44. margin: 0;
  45. }
  46. .header-right {
  47. flex-direction: row;
  48. align-items: center;
  49. }
  50. .renown-label {
  51. font-size: 14px;
  52. color: rgb(100, 200, 255);
  53. margin-right: 15px;
  54. background-color: rgba(100, 100, 150, 0.3);
  55. padding: 4px 8px;
  56. border-radius: 4px;
  57. }
  58. .close-button {
  59. width: 30px;
  60. height: 30px;
  61. background-color: rgba(139, 69, 19, 0.8);
  62. border-radius: 4px;
  63. font-size: 16px;
  64. -unity-font-style: bold;
  65. color: white;
  66. border-width: 0;
  67. margin: 0;
  68. }
  69. .close-button:hover {
  70. background-color: rgba(180, 90, 30, 1);
  71. }
  72. /* Tab container */
  73. .tab-container {
  74. flex-direction: row;
  75. padding: 0 20px;
  76. background-color: rgba(40, 40, 60, 0.8);
  77. min-height: 50px;
  78. align-items: center;
  79. }
  80. .tab-button {
  81. flex-grow: 1;
  82. height: 35px;
  83. font-size: 14px;
  84. -unity-font-style: bold;
  85. background-color: rgba(60, 60, 80, 0.8);
  86. color: rgb(200, 200, 200);
  87. border-width: 0;
  88. margin-right: 5px;
  89. border-radius: 4px;
  90. }
  91. .tab-button:hover {
  92. background-color: rgba(80, 80, 100, 0.9);
  93. }
  94. .tab-button.active-tab {
  95. background-color: rgba(100, 100, 150, 1);
  96. color: white;
  97. }
  98. /* Content area - main horizontal layout */
  99. .content-area {
  100. flex-direction: row;
  101. flex-grow: 1;
  102. padding: 20px;
  103. }
  104. /* Content panels */
  105. .content-panel {
  106. flex-grow: 1;
  107. margin-right: 20px;
  108. background-color: rgba(30, 30, 45, 0.9);
  109. border-radius: 8px;
  110. padding: 15px;
  111. border-width: 1px;
  112. border-color: rgba(100, 100, 150, 0.3);
  113. }
  114. /* Panel headers */
  115. .panel-header {
  116. flex-direction: row;
  117. justify-content: space-between;
  118. align-items: center;
  119. margin-bottom: 15px;
  120. padding-bottom: 10px;
  121. border-bottom-width: 1px;
  122. border-bottom-color: rgba(100, 100, 150, 0.3);
  123. }
  124. .panel-title {
  125. font-size: 18px;
  126. -unity-font-style: bold;
  127. color: rgb(255, 215, 0);
  128. }
  129. .refresh-button {
  130. height: 30px;
  131. font-size: 12px;
  132. background-color: rgba(100, 100, 150, 0.6);
  133. color: white;
  134. border-width: 0;
  135. border-radius: 4px;
  136. padding: 5px 10px;
  137. }
  138. .refresh-button:hover {
  139. background-color: rgba(120, 120, 170, 0.8);
  140. }
  141. .quest-count, .history-stats {
  142. font-size: 12px;
  143. color: rgb(150, 150, 150);
  144. }
  145. /* Scroll areas */
  146. .quest-scroll-area {
  147. flex-grow: 1;
  148. }
  149. .quest-scroll-area > .unity-scroll-view__content-container {
  150. flex-direction: column;
  151. padding: 5px;
  152. }
  153. /* Quest Details Panel (right side) */
  154. .quest-details-panel {
  155. width: 400px;
  156. background-color: rgba(25, 25, 35, 0.9);
  157. border-radius: 8px;
  158. padding: 15px;
  159. border-width: 1px;
  160. border-color: rgba(100, 100, 150, 0.3);
  161. flex-shrink: 0;
  162. }
  163. .details-title {
  164. font-size: 16px;
  165. -unity-font-style: bold;
  166. color: rgb(255, 215, 0);
  167. margin-bottom: 15px;
  168. -unity-text-align: middle-center;
  169. }
  170. .details-content {
  171. flex-grow: 1;
  172. }
  173. .details-placeholder {
  174. font-size: 14px;
  175. color: rgb(150, 150, 150);
  176. -unity-text-align: middle-center;
  177. margin-top: 50px;
  178. }
  179. /* Quest info in details panel */
  180. .quest-info-container {
  181. flex-direction: column;
  182. }
  183. .quest-title-large {
  184. font-size: 18px;
  185. -unity-font-style: bold;
  186. color: white;
  187. margin-bottom: 8px;
  188. }
  189. .quest-difficulty-badge {
  190. font-size: 12px;
  191. color: rgb(100, 200, 255);
  192. background-color: rgba(100, 100, 150, 0.3);
  193. padding: 3px 8px;
  194. border-radius: 3px;
  195. margin-bottom: 8px;
  196. align-self: flex-start;
  197. }
  198. .quest-time-info {
  199. font-size: 12px;
  200. color: rgb(255, 165, 0);
  201. margin-bottom: 12px;
  202. }
  203. .quest-description-large {
  204. font-size: 13px;
  205. color: rgb(200, 200, 200);
  206. margin-bottom: 15px;
  207. white-space: normal;
  208. }
  209. /* Sections in quest details */
  210. .section-title {
  211. font-size: 14px;
  212. -unity-font-style: bold;
  213. color: rgb(255, 215, 0);
  214. margin-bottom: 8px;
  215. margin-top: 15px;
  216. }
  217. .objectives-container, .location-container, .rewards-container {
  218. margin-bottom: 15px;
  219. }
  220. .objectives-list {
  221. margin-left: 10px;
  222. }
  223. .quest-location-info, .travel-time-info {
  224. font-size: 12px;
  225. color: rgb(100, 200, 255);
  226. margin-bottom: 3px;
  227. }
  228. .rewards-list {
  229. margin-left: 10px;
  230. }
  231. .reward-gold, .reward-renown {
  232. font-size: 12px;
  233. color: rgb(255, 215, 0);
  234. margin-bottom: 3px;
  235. }
  236. .reward-items {
  237. flex-direction: row;
  238. flex-wrap: wrap;
  239. }
  240. /* Action buttons */
  241. .quest-actions {
  242. flex-direction: row;
  243. justify-content: center;
  244. margin-top: 20px;
  245. padding-top: 15px;
  246. border-top-width: 1px;
  247. border-top-color: rgba(100, 100, 150, 0.3);
  248. }
  249. .action-button {
  250. height: 35px;
  251. min-width: 120px;
  252. font-size: 13px;
  253. -unity-font-style: bold;
  254. border-radius: 4px;
  255. margin: 0 5px;
  256. border-width: 0;
  257. }
  258. .accept-button {
  259. background-color: rgb(34, 139, 34);
  260. color: white;
  261. }
  262. .accept-button:hover {
  263. background-color: rgb(50, 155, 50);
  264. }
  265. .abandon-button {
  266. background-color: rgb(139, 69, 19);
  267. color: white;
  268. }
  269. .abandon-button:hover {
  270. background-color: rgb(160, 80, 30);
  271. }
  272. /* Quest list items (for the scrollable areas) */
  273. .quest-list-item {
  274. background-color: rgba(40, 40, 60, 0.8);
  275. margin-bottom: 8px;
  276. padding: 12px;
  277. border-radius: 6px;
  278. border-left-width: 4px;
  279. border-left-color: rgba(100, 100, 150, 0.7);
  280. min-height: 80px;
  281. }
  282. .quest-list-item:hover {
  283. background-color: rgba(50, 50, 70, 1);
  284. }
  285. .quest-list-item.selected {
  286. background-color: rgba(60, 60, 80, 1);
  287. border-left-color: rgb(255, 215, 0);
  288. }
  289. .quest-item-header {
  290. flex-direction: row;
  291. justify-content: space-between;
  292. align-items: flex-start;
  293. margin-bottom: 6px;
  294. }
  295. .quest-item-title {
  296. font-size: 14px;
  297. -unity-font-style: bold;
  298. color: white;
  299. flex-grow: 1;
  300. }
  301. .quest-item-difficulty {
  302. font-size: 11px;
  303. color: rgb(100, 200, 255);
  304. background-color: rgba(100, 100, 150, 0.3);
  305. padding: 2px 6px;
  306. border-radius: 3px;
  307. }
  308. .quest-item-description {
  309. font-size: 11px;
  310. color: rgb(180, 180, 180);
  311. margin-bottom: 6px;
  312. white-space: normal;
  313. }
  314. .quest-item-rewards {
  315. flex-direction: row;
  316. flex-wrap: wrap;
  317. }
  318. .quest-item-reward {
  319. font-size: 10px;
  320. color: rgb(255, 215, 0);
  321. background-color: rgba(255, 215, 0, 0.1);
  322. padding: 2px 5px;
  323. border-radius: 3px;
  324. margin-right: 4px;
  325. margin-bottom: 2px;
  326. }
  327. /* Quest urgency styling */
  328. .quest-list-item.urgency-critical {
  329. border-left-color: rgb(255, 0, 0);
  330. }
  331. .quest-list-item.urgency-high {
  332. border-left-color: rgb(255, 165, 0);
  333. }
  334. .quest-list-item.urgency-medium {
  335. border-left-color: rgb(255, 255, 0);
  336. }
  337. .quest-list-item.urgency-low {
  338. border-left-color: rgb(0, 255, 0);
  339. }