mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
change colour of star icon to yellow when fav filter is active
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 420 KiB After Width: | Height: | Size: 330 KiB |
Binary file not shown.
Before Width: | Height: | Size: 291 KiB After Width: | Height: | Size: 247 KiB |
@ -1,2 +1,4 @@
|
||||
{"user_name":"You","character_name":"Megumin","create_date":1674559900991}
|
||||
{"name":"Megumin","is_user":false,"is_name":true,"send_date":1674563153854,"mes":"*It was day, the weather was sunny and windless. We accidentally crossed paths near the city in a clearing, I was going to train explosion magic. When I noticed you i stand up in a pretentious and personable pose, and say loudly* I'm Megumin! The Arch Wizard of the Crimson Magic Clan! And i the best at explosion magic!! What are you doing here?"}
|
||||
{"user_name":"You","character_name":"Megumin","create_date":1674559900991,"chat_metadata":{"note_prompt":"","note_interval":1,"note_position":1,"note_depth":4}}
|
||||
{"name":"Megumin","is_user":false,"is_name":true,"send_date":"2023-4-21 @20h 02m 47s 124ms","mes":"*It was day, the weather was sunny and windless. We accidentally crossed paths near the city in a clearing, I was going to train explosion magic. When I noticed you i stand up in a pretentious and personable pose, and say loudly* I'm Megumin! The Arch Wizard of the Crimson Magic Clan! And i the best at explosion magic!! What are you doing here?"}
|
||||
{"name":"You","is_user":true,"is_name":true,"send_date":"2023-4-21 @20h 03m 06s 446ms","mes":"I am here to go on an adventure with you Megumin. I happen to be a mage too!","extra":{}}
|
||||
{"extra":{},"name":"Megumin","is_user":false,"is_name":false,"send_date":"2023-4-21 @20h 03m 13s 567ms","mes":"smiles excitedly You have come just right now! Are you ready for this test!?"}
|
@ -1 +1 @@
|
||||
#bg1 {background-image: url(../backgrounds/tavern3.jpg);}
|
||||
#bg1 {background-image: url(../backgrounds/bedroom5.jpg);}
|
@ -649,7 +649,7 @@ function printCharacters() {
|
||||
|
||||
`<div class=character_select chid=${i} id="CharID${i}">
|
||||
<div class=avatar><img src="${this_avatar}"></div>
|
||||
<div class=ch_name>${item.name}</div>
|
||||
<div class=ch_name>${item.name} ${item.fav === "1" ? '<i class="fa-solid fa-star fa-2xs"></i>' : ''}</div>
|
||||
<input class="ch_fav" value=${item.fav} hidden />
|
||||
</div>`
|
||||
);
|
||||
@ -3779,8 +3779,10 @@ $(document).ready(function () {
|
||||
? $(this).show()
|
||||
: $(this).hide();
|
||||
});
|
||||
$("#filter_by_fav").css("color","#FFFF00");
|
||||
}else{
|
||||
$(selector).show();
|
||||
$("#filter_by_fav").css("color","#FFFFFF");
|
||||
}
|
||||
});
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user