Holotower Catalog Highlights and Pin

Highlight and pin threads in the catalog

作者
tentontruck
日安装量
0
总安装量
13
评分
0 0 0
版本
1.02
创建于
2025-07-20
更新于
2025-09-07
大小
11.9 KB
许可证
CC0
适用于

Holotower Catalog Highlights and Pin

Adds customizable Highlight and Pin features to the Catalog on Holotower:

  • Search is not case sensitive.
  • Tries to match subject first. If a thread has no subject, tries to match the post content.
  • Pin: pins the most recently bumped thread for each search criteria at the start of the catalog. Pinned threads are sorted by bump order.
  • Hide older threads: hides all the non-most recently bumped highlighted threads from the catalog.

CSS Customization (optional)

The appearance of the pinned threads can be customized with User CSS, using var(--pin-color) in the rule to dynamically use that pin's color. Rules may need !important to override the default style.

Example #1 - thicker lines:

.highlighted > div { box-shadow: inset 0px 0px 2px 6px var(--pin-color) !important; } 

Example #2 - remove the colored shadow; add a colored dashed top border:

.highlighted > div {
    box-shadow: none !important;
    border-top: 4px dashed var(--pin-color) !important;
}

Example #3 - remove the colored shadow; set background to pin color; set text to black (for bright pin colors)

.highlighted > div {
    box-shadow: none !important;
    background: var(--pin-color) !important;
    color: black;
}

QingJ © 2025

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