diff --git a/.gitignore b/.gitignore
index 7b60151..1316bd6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
build
run.cmd
-run7.cmd
\ No newline at end of file
+run7.cmd
+stats.py
\ No newline at end of file
diff --git a/README.md b/README.md
index ecd46ef..de0d090 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
[![zotero](https://raw.githubusercontent.com/frianasoa/zenotes/main/docs/images/for-zotero-6.svg)](https://zotero.org)
-Now works with Zotero 7 Beta.
+Now works with Zotero 7.
## Description
ZeNotes is a Zotero plugin that will help you manage and visualize your notes. It is helpfull if you intend to make a systematic review directly on your Zotero using notes and pdf annotations. This tool will help you organize your notes on Zotero. It will show you on a table what you have been writing. You can edit your notes right on the table or add new notes. On the latest versions, you can add translations of your notes using Google or DeepL. You can also apply a generative AI prompts (Bard and ChatGPT for the moment) to a cell, a row, or the entire table. These actions are also available right in the pdf reader of Zotero.
diff --git a/content/notes/notes-dark.css b/content/notes/notes-dark.css
index 7fafb50..f9fbfdc 100644
--- a/content/notes/notes-dark.css
+++ b/content/notes/notes-dark.css
@@ -61,6 +61,9 @@ a {
}
.zn-menuitem:hover {
- background-color: black;
- border-bottom: solid 1px white;
+ background-color: black!important;
+ border-bottom: solid 1px white!important;
+}
+.context-menu-one:hover {
+ background-color: rgb(25, 25, 55)!important;
}
\ No newline at end of file
diff --git a/content/notes/notes.css b/content/notes/notes.css
index 74affa5..e0c8d39 100644
--- a/content/notes/notes.css
+++ b/content/notes/notes.css
@@ -1,6 +1,6 @@
* {
font-size: 1.02em;
- font-family: Arial;
+ /* font-family: Arial; */
box-sizing: border-box;
}
diff --git a/content/notes/notes.js b/content/notes/notes.js
index 2385dd3..02ef3e0 100644
--- a/content/notes/notes.js
+++ b/content/notes/notes.js
@@ -367,6 +367,16 @@ Notes = {
Zotero.ZeNotes.Prefs.set("font-size", pxsize);
},
+ loadfont()
+ {
+ var fontfamily = Zotero.ZeNotes.Prefs.get('font-family', "Arial");
+ if(!fontfamily)
+ {
+ fontfamily="Arial";
+ }
+ document.getElementById("zn-body").style.setProperty("font-family", fontfamily, "important");
+ },
+
loaddark()
{
var isdark = Zotero.Prefs.get('general.theme')=="dark" || window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;
@@ -388,6 +398,7 @@ window.addEventListener("load", function(){
Notes.loaddata();
Notes.initscroll();
Notes.loaddark();
+ Notes.loadfont();
});
document.addEventListener("wheel", function(e){
diff --git a/content/settings/display.xhtml b/content/settings/display.xhtml
index 99a045d..31a2f8d 100644
--- a/content/settings/display.xhtml
+++ b/content/settings/display.xhtml
@@ -5,6 +5,7 @@