more contrast on save note button
This commit is contained in:
parent
3d81000176
commit
67461b3edd
|
@ -65,7 +65,7 @@
|
||||||
<a
|
<a
|
||||||
type="submit"
|
type="submit"
|
||||||
id="saveLink{{ note.id }}"
|
id="saveLink{{ note.id }}"
|
||||||
class="text-muted disabled me-4"
|
class="text-muted disabled me-4 border border-light rounded"
|
||||||
style="pointer-events: none;"
|
style="pointer-events: none;"
|
||||||
title="{% trans 'Save changes' %}"
|
title="{% trans 'Save changes' %}"
|
||||||
onclick="submitUpdatedNote('{{ note.id }}'); return false;"
|
onclick="submitUpdatedNote('{{ note.id }}'); return false;"
|
||||||
|
@ -252,8 +252,8 @@
|
||||||
function toggleSaveLink(blockquoteElem) {
|
function toggleSaveLink(blockquoteElem) {
|
||||||
const saveLink = document.getElementById("saveLink" + blockquoteElem.dataset.noteId);
|
const saveLink = document.getElementById("saveLink" + blockquoteElem.dataset.noteId);
|
||||||
|
|
||||||
saveLink.classList.remove("disabled", "text-muted");
|
saveLink.classList.remove("disabled", "text-muted", "border-light");
|
||||||
saveLink.classList.add("text-success");
|
saveLink.classList.add("text-success", "border-success");
|
||||||
saveLink.style.pointerEvents = "auto";
|
saveLink.style.pointerEvents = "auto";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue