TownShopUI.uss 1.9 KB

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