FV Speed Eating

QOL improvements for feeding your active villager

  1. /* ==UserStyle==
  2. @name FV Speed Eating
  3. @namespace https://gf.qytechs.cn/en/scripts/407410-fv-speed-eating
  4. @description QOL improvements for feeding your active villager
  5. @version 1.0.2
  6. ==/UserStyle== */
  7.  
  8. @-moz-document regexp("(https?://www\.furvilla\.com/inventory)\??.*(type=is_food).*") {
  9. /* styling the inventory */
  10. .modal-open .inventory {
  11. position: fixed;
  12. z-index: 9999;
  13. width: 275px;
  14. left: calc(50% + 300px);
  15. top: 130px;
  16. background: #fff;
  17. border-radius: 12px;
  18. box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  19. padding: 15px 0;
  20. counter-reset: food;
  21. }
  22.  
  23. /* styling the inventory */
  24. .modal-open .inventory li {
  25. flex: 0 0 100%;
  26. counter-increment: food;
  27. }
  28.  
  29. /* ennumerates the food */
  30. .modal-open .inventory-item-info:before {
  31. content: counter(food) ".";
  32. padding-left: 5px;
  33. }
  34.  
  35. /* styling the inventory */
  36. .modal-open .inventory-item-info {
  37. height: auto;
  38. border: none;
  39. padding: 2px 0;
  40. box-shadow: none !important;
  41. }
  42.  
  43. /* goodbye */
  44. .modal-open .inventory-item-info a img,
  45. .modal-open > .modal .logo,
  46. .modal-open > .modal .modal-header,
  47. .modal-open > .modal .modal-footer,
  48. .modal-open > .modal div.text-center,
  49. .modal-open > .modal p img {
  50. display: none;
  51. }
  52.  
  53. /* styling the inventory */
  54. .modal-open .inventory-item-info a .name {
  55. margin: 0;
  56. }
  57.  
  58. /*styling the SECOND modal*/
  59. .modal-open > .modal {
  60. top: 30px;
  61. width: 600px;
  62. height: 150px;
  63. margin: 0 auto;
  64. }
  65.  
  66. /*styling the SECOND modal*/
  67. .modal-open > .modal .modal-dialog {
  68. width: 100%;
  69. margin: 0;
  70. }
  71.  
  72. /*styling the SECOND modal*/
  73. .modal-open > .modal .modal-content {
  74. min-width: unset;
  75. padding: 0;
  76. top: 0;
  77. }
  78.  
  79. /* narrow window hell */
  80. @media screen and (max-width: 1150px) {
  81. .modal-open .inventory {
  82. left: unset;
  83. right: 0;
  84. }
  85. .modal-open .content .modal-dialog {
  86. position: absolute;
  87. right: 275px;
  88. }
  89. .modal-open > .modal {
  90. margin: 0;
  91. left: unset;
  92. right: 275px;
  93. }
  94. }
  95.  
  96. /* narrow window hell */
  97. @media screen and (max-width: 875px) {
  98. .modal-open .content .modal-dialog, .modal-open > .modal {
  99. width: calc(100% - 275px);
  100. }
  101. .modal-open .content .modal-dialog {
  102. margin: 30px 0;
  103. }
  104. }
  105.  
  106. /* narrow window hell but worse */
  107. @media screen and (max-width: 768px) {
  108. .modal-open .content .modal-dialog, .modal-open > .modal {
  109. width: 100%;
  110. right: 0;
  111. }
  112. .modal-open .modal-header {
  113. height: 200px;
  114. overflow: hidden;
  115. }
  116. .modal-open .inventory {
  117. max-height: 290px;
  118. width: 100%;
  119. overflow: auto;
  120. }
  121. .modal-open .inventory li {
  122. flex: 0 0 50%;
  123. }
  124. }
  125.  
  126. /* compatibility with Condensed Inventory */
  127. /* (styles/130958/) */
  128. .modal-open .inventory-item {
  129. height: auto;
  130. }
  131. .modal-open .show-inventory-actions.tooltipster.tooltipstered {
  132. margin: 0;
  133. font-size: inherit;
  134. width: auto;
  135. }
  136. .modal-open .name {
  137. width: auto;
  138. float: none;
  139. }
  140.  
  141.  
  142. /* BIG BUTTONS */
  143. /* remove the selection below for normal button sizing */
  144. .modal-open > .modal {
  145. height: 333px;
  146. }
  147. .modal-open > .modal .modal-content {
  148. min-height: 310px;
  149. }
  150. .item-modal-content {
  151. min-height: 593px;
  152. }
  153. .modal-open > .modal .modal-content .btn, .well .btn {
  154. width: 100%;
  155. height: 250px;
  156. }
  157. .modal .logo, .modal-header, .modal-body div:nth-child(2) {
  158. display: none;
  159. }
  160. /* okay don't delete anything after this line */
  161.  
  162. }

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址