AO3: Tracking

Track any filterable listing.

< 腳本AO3: Tracking的回應

評論:正評 - 腳本一切正常

§
發表於:2021-01-08

Thanks, this is really helpful!

I had an issue with the tracker background/border not inheriting color from my skin, as well as the vertical alignment of the Tracked button, so I made a couple quick patches for those in case you or anyone else would like to incorporate them.


Tracked button vertical alignment:

434c434
<               header_menu.find('#search').prepend(tracked_button);
---
>               header_menu.find('#search').parent().prepend(tracked_button);

Background/border color inheritance:

447c447
<               var css = '#tracked-box {position: fixed; top: 0px; bottom: 0px; left: 0px; right: 0px; width: 60%; height: 80%; max-width: 800px; margin: auto; overflow-y: auto; border: 10px solid #eee; box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2); padding: 0 20px; background-color: #ffffff; z-index: 999;}\
---
>               var css = '#tracked-box {position: fixed; top: 0px; bottom: 0px; left: 0px; right: 0px; width: 60%; height: 80%; max-width: 800px; margin: auto; overflow-y: auto; border: 10px solid; border-color: inherit; box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2); padding: 0 20px; background-color: inherit; z-index: 999;}\

發表回覆

登入以回復

QingJ © 2025

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