- {(localStorage.getItem('view') === 'true' && backgroundEnabled) ?
:null}
- {(localStorage.getItem('favouriteEnabled') === 'true' && backgroundEnabled) ?
:null}
+ <>
+ {(localStorage.getItem('navbarHover') === 'true') ?
:null}
+
+ {(localStorage.getItem('view') === 'true' && backgroundEnabled) ?
:null}
+ {(localStorage.getItem('favouriteEnabled') === 'true' && backgroundEnabled) ?
:null}
- {(localStorage.getItem('notesEnabled') === 'true') ?
-
-
-
-
- :null}
+ {(localStorage.getItem('notesEnabled') === 'true') ?
+
+
+
+
+ :null}
- {(window.constants.BETA_VERSION === true) ?
-
- props.openModal('feedbackModal')}/>
+ {(window.constants.BETA_VERSION === true) ?
+
+ props.openModal('feedbackModal')}/>
+
+ :null}
+
+ {(localStorage.getItem('refresh') === 'true') ?
+
+ window.location.reload()}/>
+
+ :null}
+
+
+ props.openModal('mainModal')}/>
- :null}
-
- {(localStorage.getItem('refresh') === 'true') ?
-
- window.location.reload()}/>
-
- :null}
-
-
- props.openModal('mainModal')}/>
-
-
+
+ >
);
}
diff --git a/src/components/widgets/navbar/scss/index.scss b/src/components/widgets/navbar/scss/index.scss
index bd13d697..be17a7e1 100644
--- a/src/components/widgets/navbar/scss/index.scss
+++ b/src/components/widgets/navbar/scss/index.scss
@@ -36,3 +36,24 @@
.visibilityshow {
visibility: visible !important;
}
+
+.navbar-hidden + .navbar-container {
+ display: none;
+}
+
+.navbar-hidden {
+ position: absolute;
+ width: 50vw;
+ right: 0;
+ top: 0;
+ background: none;
+ height: 75px;
+}
+
+.navbar-hidden:hover + .navbar-container {
+ display: block !important;
+}
+
+.navbar-container:hover {
+ display: block;
+}
\ No newline at end of file
diff --git a/src/modules/default_settings.json b/src/modules/default_settings.json
index a27748a6..5d7f41fa 100644
--- a/src/modules/default_settings.json
+++ b/src/modules/default_settings.json
@@ -214,5 +214,9 @@
{
"name": "backgroundFilter",
"value": "grayscale"
+ },
+ {
+ "name": "navbarHover",
+ "value": false
}
]
diff --git a/src/translations/de_DE.json b/src/translations/de_DE.json
index c0a1b697..83375352 100644
--- a/src/translations/de_DE.json
+++ b/src/translations/de_DE.json
@@ -220,7 +220,8 @@
"navbar": {
"title": "Navigationsleiste",
"notes": "Notizen",
- "refresh": "Aktualisieren"
+ "refresh": "Aktualisieren",
+ "hover": "Display on hover"
},
"font": {
"title": "Schriftart",
diff --git a/src/translations/en_GB.json b/src/translations/en_GB.json
index 0a8517c8..7307ebc0 100644
--- a/src/translations/en_GB.json
+++ b/src/translations/en_GB.json
@@ -220,7 +220,8 @@
"navbar": {
"title": "Navbar",
"notes": "Notes",
- "refresh": "Refresh button"
+ "refresh": "Refresh button",
+ "hover": "Display on hover"
},
"font": {
"title": "Font",
diff --git a/src/translations/en_US.json b/src/translations/en_US.json
index 4e53d480..c5b35f4b 100644
--- a/src/translations/en_US.json
+++ b/src/translations/en_US.json
@@ -220,7 +220,8 @@
"navbar": {
"title": "Navbar",
"notes": "Notes",
- "refresh": "Refresh button"
+ "refresh": "Refresh button",
+ "hover": "Display on hover"
},
"font": {
"title": "Font",
diff --git a/src/translations/es.json b/src/translations/es.json
index 30670127..e2197eb0 100644
--- a/src/translations/es.json
+++ b/src/translations/es.json
@@ -220,7 +220,8 @@
"navbar": {
"title": "Barra de búsqueda",
"notes": "Notas",
- "refresh": "Botón de recargar"
+ "refresh": "Botón de recargar",
+ "hover": "Display on hover"
},
"font": {
"title": "Fuente",
diff --git a/src/translations/fr.json b/src/translations/fr.json
index c3a24614..49f478db 100644
--- a/src/translations/fr.json
+++ b/src/translations/fr.json
@@ -220,7 +220,8 @@
"navbar": {
"title": "Navbar",
"notes": "Notes",
- "refresh": "Refresh button"
+ "refresh": "Refresh button",
+ "hover": "Display on hover"
},
"font": {
"title": "Font",
diff --git a/src/translations/nl.json b/src/translations/nl.json
index ebc0e9b2..1c1881e9 100644
--- a/src/translations/nl.json
+++ b/src/translations/nl.json
@@ -220,7 +220,8 @@
"navbar": {
"title": "Navbar",
"notes": "Notes",
- "refresh": "Refresh button"
+ "refresh": "Refresh button",
+ "hover": "Display on hover"
},
"font": {
"title": "Font",
diff --git a/src/translations/no.json b/src/translations/no.json
index 3dbfc52a..1950eb43 100644
--- a/src/translations/no.json
+++ b/src/translations/no.json
@@ -220,7 +220,8 @@
"navbar": {
"title": "Navbar",
"notes": "Notes",
- "refresh": "Refresh button"
+ "refresh": "Refresh button",
+ "hover": "Display on hover"
},
"font": {
"title": "Font",
diff --git a/src/translations/ru.json b/src/translations/ru.json
index 39b0845e..bc222795 100644
--- a/src/translations/ru.json
+++ b/src/translations/ru.json
@@ -220,7 +220,8 @@
"navbar": {
"title": "Navbar",
"notes": "Notes",
- "refresh": "Refresh button"
+ "refresh": "Refresh button",
+ "hover": "Display on hover"
},
"font": {
"title": "Font",
diff --git a/src/translations/zh_CN.json b/src/translations/zh_CN.json
index 86ece73d..ae93f158 100644
--- a/src/translations/zh_CN.json
+++ b/src/translations/zh_CN.json
@@ -220,7 +220,8 @@
"navbar": {
"title": "Navbar",
"notes": "Notes",
- "refresh": "Refresh button"
+ "refresh": "Refresh button",
+ "hover": "Display on hover"
},
"font": {
"title": "Font",