code revision to adapt to feedback

This commit is contained in:
Perrom 2025-04-14 10:29:48 +02:00
parent 8ba5114ecc
commit 19d04e81eb
5 changed files with 13 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

View file

@ -132,7 +132,8 @@ $(".TagSubmit").on('click', function () {
rename_tag_close();
cleanCheckmark();
$('[data-id='+$tagboxid+']').wrap('<div class="tag-changed"></div>');
$('.tag-changed').prepend('<div class="tag-checkmark"></div>');
$('.tag-changed').prepend('<i class="icon-ok-circled tag-checkmark"></i>');
$('.tag-changed').prepend('<i class="icon-ok tag-checkmark-fill"></i>');
}).catch((message) => {
$('.TagSubmit').show();
$('.TagLoading').hide();
@ -143,6 +144,7 @@ $(".TagSubmit").on('click', function () {
function cleanCheckmark(){
$('.tag-changed > *').unwrap();
$('.tag-checkmark').remove();
$('.tag-checkmark-fill').remove();
}
/*-------

View file

@ -4467,11 +4467,17 @@ a#showPermissions:hover {text-decoration: none;}
}
.tag-checkmark{
position: absolute;
padding: 15px;
background-image: url('icon/checkmark-light.png');
background-repeat: no-repeat;
transform: scale(1.5);
padding: 2.5px 0px;
color: #6ccd5d;
z-index: 1;
}
.tag-checkmark-fill{
position: absolute;
padding: 2.75px 0px;
color: white;
z-index: 2;
}
/* Picture Edit */

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

View file

@ -1356,7 +1356,7 @@ background:#6C2D2D!important;
}
.tag-checkmark{
background-image: url('icon/checkmark-dark.png') !important;
color: #4da48f !important;
}
/* Album Move (and album search) */