TownShopUI.uss 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. /* Shop Item Styles */
  2. .shop-item {
  3. flex-direction: column;
  4. padding: 10px;
  5. margin-bottom: 5px;
  6. background-color: rgb(250, 250, 250);
  7. border-width: 1px;
  8. border-color: rgb(200, 200, 200);
  9. border-radius: 5px;
  10. min-height: 80px;
  11. }
  12. .shop-item:hover {
  13. background-color: rgb(240, 240, 240);
  14. }
  15. .sell-item {
  16. flex-direction: row;
  17. align-items: center;
  18. justify-content: space-between;
  19. padding: 10px;
  20. margin-bottom: 5px;
  21. background-color: rgb(250, 245, 240);
  22. border-width: 1px;
  23. border-color: rgb(200, 180, 160);
  24. border-radius: 5px;
  25. }
  26. .sell-item:hover {
  27. background-color: rgb(240, 235, 230);
  28. }
  29. .item-name {
  30. font-size: 16px;
  31. color: rgb(50, 50, 50);
  32. font-weight: bold;
  33. margin-bottom: 5px;
  34. }
  35. .item-description {
  36. font-size: 12px;
  37. color: rgb(100, 100, 100);
  38. margin-bottom: 10px;
  39. white-space: normal;
  40. }
  41. .item-price {
  42. font-size: 14px;
  43. color: rgb(0, 120, 0);
  44. font-weight: bold;
  45. margin-right: 10px;
  46. }
  47. .buy-button {
  48. background-color: rgb(50, 150, 50);
  49. color: rgb(255, 255, 255);
  50. border-width: 0;
  51. border-radius: 3px;
  52. padding: 5px 15px;
  53. font-weight: bold;
  54. min-width: 60px;
  55. }
  56. .buy-button:hover {
  57. background-color: rgb(40, 130, 40);
  58. }
  59. .sell-button {
  60. background-color: rgb(150, 100, 50);
  61. color: rgb(255, 255, 255);
  62. border-width: 0;
  63. border-radius: 3px;
  64. padding: 5px 15px;
  65. font-weight: bold;
  66. }
  67. .sell-button:hover {
  68. background-color: rgb(130, 80, 30);
  69. }
  70. .unaffordable {
  71. color: rgb(150, 50, 50) !important;
  72. }
  73. .not-accepted {
  74. color: rgb(150, 50, 50) !important;
  75. }
  76. .active-tab {
  77. background-color: rgb(200, 180, 140) !important;
  78. color: rgb(50, 50, 50) !important;
  79. }
  80. /* Medieval styling for the shop window */
  81. #shop-window {
  82. background-image: url('project://database/Assets/UI/medieval-background.png');
  83. }