more contrast on save note button

This commit is contained in:
Thomas Nahuel Rusiecki 2025-01-08 14:36:23 -03:00
parent 3d81000176
commit 67461b3edd

View file

@ -65,7 +65,7 @@
<a
type="submit"
id="saveLink{{ note.id }}"
class="text-muted disabled me-4"
class="text-muted disabled me-4 border border-light rounded"
style="pointer-events: none;"
title="{% trans 'Save changes' %}"
onclick="submitUpdatedNote('{{ note.id }}'); return false;"
@ -252,8 +252,8 @@
function toggleSaveLink(blockquoteElem) {
const saveLink = document.getElementById("saveLink" + blockquoteElem.dataset.noteId);
saveLink.classList.remove("disabled", "text-muted");
saveLink.classList.add("text-success");
saveLink.classList.remove("disabled", "text-muted", "border-light");
saveLink.classList.add("text-success", "border-success");
saveLink.style.pointerEvents = "auto";
}