Commit Graph

15 Commits

Author SHA1 Message Date
HandyRandyx
d55fc05c3e [Hot Cards] Fix element duplication and missing homepage holo effect (#383) 2024-08-02 09:13:10 +03:00
HandyRandyx
a5df45ba48 [Hot Cards] Fix Holo style to work with any type of card (#376) 2024-07-30 06:32:09 +03:00
HandyRandyx
62cb8ecb3f [Hot Cards] Replace CDNs with local files (#374) 2024-07-30 06:27:29 +03:00
HandyRandyx
fc8e718519 [Hot Cards] Add utility files and update CDNs (#373) 2024-07-26 15:24:13 +03:00
HandyRandyx
11042b31ed [Hot Cards] Add Holo style preset and fix display on mobile (#371) 2024-07-24 19:18:32 +03:00
HandyRandyx
ccd6312087 [Hot Cards] Fix some incorrectly handled field formats (#366) 2024-07-20 10:16:18 +03:00
HandyRandyx
a129689479 [Hot Cards] Add multi-tag and multi-style support (#362) 2024-07-16 19:40:56 +03:00
HandyRandyx
e1a1106841 [Hot Cards] Add card_opts as new optional parameter (#357)
card_opts allows you to specify whether you want the card to be filled or not, and also set the opacity of the card.

Other changes:
- Adjust README to include the new option and other additions.
- Change misleading param name 'border_opts' to 'hover_opts' in the docs, code and in the configuration file.
- Update version to 1.1.2.
2024-07-07 15:03:02 +03:00
HandyRandyx
9e3f6ae052 [Hot Cards] Improve README for clearer text and some code enhancements (#356)
* Fix data is undefined error

The error wasn't breaking anything, but it was unnecesary for it to happen.

* Add flexibility to also modify style presets

The gradient angle and animation, as well as the border color and border animation of the style presets can now be modified using the field format.

* Update README with images and enhancements

* Update version

* Update README
2024-07-05 14:19:27 +03:00
HandyRandyx
a52ba76c6b [Hot Cards] Customizable Hot Cards (#355)
* Fix inconsistent height of hot cards in the home page

* Refactor CSS

* Rename classes for clarity

- hot-border -> hot-card
- hot-card -> hot-border

* Add support for 0-5 rating threshold alongside 0-100 range

* Improve configuration strings

* Add missed fallback

* Add customizable Hot Cards

- Allow users to specify Hot Cards to use tag-based or rating-based for each card type.
- Introduce a new custom string format for more flexible and detailed customization.
- Update README with detailed instructions, and examples.
2024-07-04 10:55:14 +03:00
DogmaDragon
6164a3158a [hotCards] Clarify setting description 2024-06-29 00:20:21 +03:00
HandyRandyx
52a596f275 Fix regex typo 2024-06-28 05:36:58 -03:00
feederbox826
f63a366836 [hotcards] add ?. fallbacks and clean regex, fix dependency chain (#349)
* [hotcards] add ?. fallbacks and clean regex, fix dependency chain

- use ?. to not fail when loading from `{}`
- use Object.values instead of Object.entries
- clean up regex with repeating patterns
- use pathname to pre-strip parameters
- move css to bottom, to ensure depencies load first

* prettier

---------

Co-authored-by: feederbox826 <feederbox826@users.noreply.github.com>
2024-06-28 05:53:00 +03:00
HandyRandyx
60ba922162 [hotCards] Fix csLib is not defined (#348) 2024-06-28 03:39:27 +03:00
HandyRandyx
fc9b56b502 Add Hot Cards plugin (#346)
* Add Hot Cards plugin

* Format code using prettier

Add Pornhub inspired theme (#347)

Format

Update theme order

Update theme order
2024-06-27 14:58:58 +03:00