eBay.com - Dark Mode

eBay.com - Dark Mode!

目前为 2024-11-19 提交的版本,查看 最新版本

  1. /* ==UserStyle==
  2. @name eBay.com - Dark Mode
  3. @namespace https://github.com/Nick2bad4u/UserStyles
  4. @version 2.1
  5. @description eBay.com - Dark Mode!
  6. @homepageURL https://github.com/Nick2bad4u/UserStyles
  7. @author Nick2bad4u
  8. @license UnLicense
  9. ==/UserStyle== */
  10. @-moz-document domain("ebay.com"), regexp(".*www.ebay.*")
  11. {
  12. /* Invert colors except images and videos */
  13. :is(html:not([stylus-iframe]), img, svg, video)
  14. {
  15. filter: invert(1) hue-rotate(180deg) !important;
  16. }
  17.  
  18. /* Ensure background images are not inverted */
  19. :is(html:not([stylus-iframe]), img, svg, video)
  20. {
  21. background-color: inherit !important;
  22. }
  23.  
  24. #gh-eb-Alerts,
  25. #gh-minicart-hover,
  26. #ifhItem0
  27. {
  28. filter: invert(1) hue-rotate(180deg) !important;
  29. }
  30.  
  31. li:nth-child(n) > div > div > button,
  32. li:nth-child(n) > div > div > button > svg,
  33. #s0-1-0-53-1-2-4-17\[0\[1\]\]-0\[3\]-2-\@match-media-0-\@ebay-carousel-next > svg,
  34. #s0-1-0-53-1-2-4-17\[0\[1\]\]-0\[3\]-2-\@match-media-0-\@ebay-carousel-container > button.carousel__control.carousel__control--prev > svg,
  35. button.carousel__playback > svg,
  36. #s0-1-0-53-1-2-4-17\[0\[1\]\]-0\[2\]-2-\@match-media-0-\@ebay-carousel-next > svg,
  37. #s0-1-0-53-1-2-4-17\[0\[1\]\]-0\[2\]-2-\@match-media-0-\@ebay-carousel-container > button.carousel__control.carousel__control--prev > svg,
  38. div > div.s-item__image-section > span > button > span > svg,
  39. #gh-ac-box2 > svg,
  40. #mainContent > div.s-answer-region.s-answer-region-center-top > div > div.clearfix.srp-controls__row-2 > div:nth-child(1) > div.srp-controls__control.follow-widget-wrap > div > div > button > span > svg,
  41. #mainContent > div.app-shell.contactui-viewmessage > div.app-river__center > div.msg-container > div.msg-inbox-container.msg-inbox-container--active > div.msg-inbox-main > div.msg-inbox-list > div.app-msg-inbox-action-bar > div.action-bar-button-group > span:nth-child(n) > span > span > button > svg,
  42. #imageupload__send--button > svg,
  43. svg.icon.icon
  44. {
  45. filter: invert(0) hue-rotate(180deg) !important;
  46. }
  47.  
  48. #ghno
  49. {
  50. filter: invert(1) hue-rotate(180deg) !important;
  51. background-color: #FFF;
  52. }
  53. }