From fd2af7734c0ebc2b29db8537bfc21002423fc346 Mon Sep 17 00:00:00 2001 From: smorelli Date: Fri, 19 Jul 2024 22:40:13 +0200 Subject: [PATCH] Notefox 4.1 - Improvements UI: All notes --- README.md | 2 ++ css/style.css | 6 ++++-- js/all-notes.js | 10 +++++++--- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a4eac1d..1fc5142 100755 --- a/README.md +++ b/README.md @@ -23,6 +23,8 @@ Take notes on every website in a smart and simple way! https://www.notefox.eu/about/ +**Notefox doesn't collect any personal data if you don't use a *Notefox Account***. Read [Privacy Policy](https://www.notefox.eu/privacy/) and [Terms of Service](https://www.notefox.eu/terms/) to know more. + ## Documentation You can find the API documentation at this link: diff --git a/css/style.css b/css/style.css index e2e6ecd..9bdaeec 100755 --- a/css/style.css +++ b/css/style.css @@ -951,7 +951,8 @@ div.h2-container:hover { } .clear-button-float-right { - margin-top: 20px !important; + margin-bottom: 20px !important; + margin-left: auto; } @media screen and (max-width: 1000px) { @@ -2451,7 +2452,8 @@ hr.hr-domain:last-child { .select-grid-no-text { background-repeat: no-repeat; - background-position: center left 8px, center right 8px; + /*background-position: center left 8px, center right 8px;*/ + background-position: center left 20%, center right 20%; background-size: auto 20px, auto 20px; -webkit-appearance: none; -moz-appearance: none; diff --git a/js/all-notes.js b/js/all-notes.js index a4ce8ac..a80a34e 100755 --- a/js/all-notes.js +++ b/js/all-notes.js @@ -480,15 +480,19 @@ function loadAllWebsites(clear = false, sort_by = "name-az", apply_filter = true //console.log(domain); + let row = document.createElement("div"); + row.classList.add("rows", "text-align-right"); + + let input_clear_all_notes_domain = document.createElement("input"); + if (domain !== "**global") { - let input_clear_all_notes_domain = document.createElement("input"); input_clear_all_notes_domain.type = "button"; input_clear_all_notes_domain.value = all_strings["clear-all-notes-of-this-domain-button"]; input_clear_all_notes_domain.classList.add("button", "margin-top-5-px", "margin-right-5-px", "small-button", "clear-button", "clear-button-float-right"); input_clear_all_notes_domain.onclick = function () { clearAllNotesDomain(domain); } - section.append(input_clear_all_notes_domain); + row.append(input_clear_all_notes_domain); let h2_container = document.createElement("div"); h2_container.classList.add("h2-container"); @@ -502,6 +506,7 @@ function loadAllWebsites(clear = false, sort_by = "name-az", apply_filter = true } } h2_container.append(h2); + section.append(row); section.append(h2_container); } @@ -824,7 +829,6 @@ function generateNotes(page, url, notes, title, lastUpdate, type, fullUrl, type_ } } - //row1.append(pageUrl); subrowUrl.append(pageUrl); }