diff --git a/app/index.html b/app/index.html
index 281687c..3b40269 100644
--- a/app/index.html
+++ b/app/index.html
@@ -22,7 +22,7 @@
diff --git a/static/css/style.css b/static/css/style.css
index 70662b8..b825e8b 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -278,16 +278,31 @@ body {
}
.topBar .usernameBox {
- text-align: right;
margin-left: auto;
cursor: pointer;
filter: invert(var(--invertdm));
+ margin-right: 5px;
+ height: 41px;
+ width: 41px;
+ line-height: 41px;
+ text-align: left;
+ font-size: 16px;
+ cursor: pointer;
+ margin-top: 5px;
+ background-color: var(--bar);
+ border-radius: 8px;
+ border: none;
+ transition: 0.125s;
}
-.topBar img {
- scale: 0.5;
+.topBar .usernameBox:hover {
+ background-color: var(--icon-button-hover);
}
+.topBar .usernameBox img {
+ height: 22px;
+ filter: invert(var(--invertdm));
+}
.notesBar {
position: fixed;
width: 180px;
diff --git a/static/js/main.js b/static/js/main.js
index 1b30793..039fff2 100644
--- a/static/js/main.js
+++ b/static/js/main.js
@@ -10,7 +10,7 @@ if (localStorage.getItem("DONOTSHARE-password") === null) {
}
if (localStorage.getItem("CACHE-username") !== null) {
- document.getElementById("usernameBox").innerText = localStorage.getItem("CACHE-username")
+ //document.getElementById("usernameBox").innerText = localStorage.getItem("CACHE-username")
}
let remote = localStorage.getItem("homeserverURL")
@@ -205,7 +205,7 @@ async function checknetwork() {
if (response.status == 400) {
displayError("Something went wrong! Signing you out...")
closeErrorButton.classList.add("hidden")
- usernameBox.innerText = ""
+ //usernameBox.innerText = ""
setTimeout(function () {
window.location.replace("/logout")
}, 2500);
@@ -261,13 +261,13 @@ function updateUserInfo() {
if (response.status === 500) {
displayError("Something went wrong! Signing you out...")
closeErrorButton.classList.add("hidden")
- usernameBox.innerText = ""
+ //usernameBox.innerText = ""
setTimeout(function () {
window.location.replace("/logout")
}, 2500);
} else {
let responseData = await response.json()
- usernameBox.innerText = responseData["username"]
+ //usernameBox.innerText = responseData["username"]
usernameThing.innerText = "Username: " + responseData["username"]
storageThing.innerText = "You've used " + formatBytes(responseData["storageused"]) + " out of " + formatBytes(responseData["storagemax"])
storageProgressThing.value = responseData["storageused"]
diff --git a/static/svg/acct-settings.svg b/static/svg/acct-settings.svg
index a2cd760..6dff5d1 100644
--- a/static/svg/acct-settings.svg
+++ b/static/svg/acct-settings.svg
@@ -1 +1,2 @@
-
\ No newline at end of file
+
+
\ No newline at end of file