mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 11:19:55 +03:00
relates #2350 small fixes
This commit is contained in:
parent
38e771aa8a
commit
32d97ba55b
3 changed files with 7 additions and 19 deletions
|
@ -132,8 +132,7 @@ $(".TagSubmit").on('click', function () {
|
||||||
rename_tag_close();
|
rename_tag_close();
|
||||||
cleanCheckmark();
|
cleanCheckmark();
|
||||||
$('[data-id='+$tagboxid+']').wrap('<div class="tag-changed"></div>');
|
$('[data-id='+$tagboxid+']').wrap('<div class="tag-changed"></div>');
|
||||||
$('.tag-changed').prepend('<i class="icon-ok-circled tag-checkmark"></i>');
|
$('.tag-changed').prepend('<i class="icon-ok tag-checkmark"></i>');
|
||||||
$('.tag-changed').prepend('<i class="icon-ok tag-checkmark-fill"></i>');
|
|
||||||
}).catch((message) => {
|
}).catch((message) => {
|
||||||
$('.TagSubmit').show();
|
$('.TagSubmit').show();
|
||||||
$('.TagLoading').hide();
|
$('.TagLoading').hide();
|
||||||
|
@ -144,7 +143,6 @@ $(".TagSubmit").on('click', function () {
|
||||||
function cleanCheckmark(){
|
function cleanCheckmark(){
|
||||||
$('.tag-changed > *').unwrap();
|
$('.tag-changed > *').unwrap();
|
||||||
$('.tag-checkmark').remove();
|
$('.tag-checkmark').remove();
|
||||||
$('.tag-checkmark-fill').remove();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*-------
|
/*-------
|
||||||
|
|
|
@ -4467,19 +4467,13 @@ a#showPermissions:hover {text-decoration: none;}
|
||||||
}
|
}
|
||||||
.tag-checkmark{
|
.tag-checkmark{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
transform: scale(1.5);
|
scale: 0.8;
|
||||||
padding: 2.5px 0px;
|
padding: 3px 1px;
|
||||||
color: #6ccd5d;
|
border-radius: 50%;
|
||||||
|
background-color: #6ccd5d;
|
||||||
|
color: white;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
.tag-checkmark-fill{
|
|
||||||
position: absolute;
|
|
||||||
padding: 2.5px 0px;
|
|
||||||
color: white;
|
|
||||||
opacity: 0;
|
|
||||||
z-index: 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Picture Edit */
|
/* Picture Edit */
|
||||||
#pictureModify {
|
#pictureModify {
|
||||||
|
|
|
@ -1356,11 +1356,7 @@ background:#6C2D2D!important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tag-checkmark{
|
.tag-checkmark{
|
||||||
color: #4da48f !important;
|
background-color: #4da48f !important;
|
||||||
}
|
|
||||||
|
|
||||||
.tag-checkmark-fill{
|
|
||||||
opacity: 1 !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Album Move (and album search) */
|
/* Album Move (and album search) */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue