From 32d97ba55be9a56235354ddfe09dc4de2c5959ce Mon Sep 17 00:00:00 2001
From: Perrom
Date: Tue, 15 Apr 2025 12:03:08 +0200
Subject: [PATCH] relates #2350 small fixes
---
admin/themes/default/js/tags.js | 4 +---
admin/themes/default/theme.css | 16 +++++-----------
admin/themes/roma/theme.css | 6 +-----
3 files changed, 7 insertions(+), 19 deletions(-)
diff --git a/admin/themes/default/js/tags.js b/admin/themes/default/js/tags.js
index 43a09ae25..0689ec51e 100644
--- a/admin/themes/default/js/tags.js
+++ b/admin/themes/default/js/tags.js
@@ -132,8 +132,7 @@ $(".TagSubmit").on('click', function () {
rename_tag_close();
cleanCheckmark();
$('[data-id='+$tagboxid+']').wrap('');
- $('.tag-changed').prepend('');
- $('.tag-changed').prepend('');
+ $('.tag-changed').prepend('');
}).catch((message) => {
$('.TagSubmit').show();
$('.TagLoading').hide();
@@ -144,7 +143,6 @@ $(".TagSubmit").on('click', function () {
function cleanCheckmark(){
$('.tag-changed > *').unwrap();
$('.tag-checkmark').remove();
- $('.tag-checkmark-fill').remove();
}
/*-------
diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css
index a82585c09..7c5c9a867 100644
--- a/admin/themes/default/theme.css
+++ b/admin/themes/default/theme.css
@@ -4467,19 +4467,13 @@ a#showPermissions:hover {text-decoration: none;}
}
.tag-checkmark{
position: absolute;
- transform: scale(1.5);
- padding: 2.5px 0px;
- color: #6ccd5d;
+ scale: 0.8;
+ padding: 3px 1px;
+ border-radius: 50%;
+ background-color: #6ccd5d;
+ color: white;
z-index: 1;
}
-.tag-checkmark-fill{
- position: absolute;
- padding: 2.5px 0px;
- color: white;
- opacity: 0;
- z-index: 2;
-}
-
/* Picture Edit */
#pictureModify {
diff --git a/admin/themes/roma/theme.css b/admin/themes/roma/theme.css
index 9ca12d2b2..03d5b4355 100644
--- a/admin/themes/roma/theme.css
+++ b/admin/themes/roma/theme.css
@@ -1356,11 +1356,7 @@ background:#6C2D2D!important;
}
.tag-checkmark{
- color: #4da48f !important;
-}
-
-.tag-checkmark-fill{
- opacity: 1 !important;
+ background-color: #4da48f !important;
}
/* Album Move (and album search) */