diff --git a/package.json b/package.json index 81b96bb..219bed2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "zerohost-dashboard", - "version": "1.0.9", + "version": "1.1.0", "private": true, "type": "module", "scripts": { diff --git a/public/css/style.css b/public/css/style.css index 0f7827c..cac12c4 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -649,11 +649,11 @@ cap-widget { display: flex; align-items: center; justify-content: center; - width: 52px; - height: 52px; - background: var(--bg-primary); - border: 1px solid var(--border); - border-radius: 12px; + width: 44px; + height: 44px; + background: transparent; + border: 1px solid rgba(255,255,255,0.08); + border-radius: 10px; text-decoration: none; transition: all var(--transition); cursor: pointer; @@ -661,8 +661,8 @@ cap-widget { .discord-login-card:hover { border-color: #5865F2; - background: rgba(88, 101, 242, 0.1); - transform: translateX(-50%) scale(1.05); + background: rgba(88, 101, 242, 0.08); + transform: translateX(-50%) scale(1.1); } .auth-error { diff --git a/public/js/app.js b/public/js/app.js index b80b420..50897ef 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -665,8 +665,8 @@ function renderLoginPage() { - - + @@ -677,6 +677,8 @@ function renderLoginPage() { $('#login-email-btn').addEventListener('click', () => { $('#login-choices').style.display = 'none'; $('#login-email-form').style.display = 'block'; + const dc = $('#discord-login-card'); + if (dc) dc.style.display = 'none'; setupPasskeyAutofill(); initIcons(); }); @@ -684,6 +686,8 @@ function renderLoginPage() { $('#login-back-btn').addEventListener('click', () => { $('#login-email-form').style.display = 'none'; $('#login-choices').style.display = 'block'; + const dc = $('#discord-login-card'); + if (dc) dc.style.display = ''; initIcons(); }); @@ -1507,7 +1511,7 @@ async function renderDashboard() {
-
v1.0.9
+
v1.1.0