diff --git a/package-lock.json b/package-lock.json index 58ab406..6e50d80 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,24 +7,10 @@ "": { "name": "personal-translator", "version": "0.4.0", - "dependencies": { - "@tauri-apps/plugin-process": "^2.3.1", - "@tauri-apps/plugin-updater": "^2.10.0" - }, "devDependencies": { "@tauri-apps/cli": "^2" } }, - "node_modules/@tauri-apps/api": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-2.10.1.tgz", - "integrity": "sha512-hKL/jWf293UDSUN09rR69hrToyIXBb8CjGaWC7gfinvnQrBVvnLr08FeFi38gxtugAVyVcTa5/FD/Xnkb1siBw==", - "license": "Apache-2.0 OR MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/tauri" - } - }, "node_modules/@tauri-apps/cli": { "version": "2.10.1", "resolved": "https://registry.npmjs.org/@tauri-apps/cli/-/cli-2.10.1.tgz", @@ -241,24 +227,6 @@ "engines": { "node": ">= 10" } - }, - "node_modules/@tauri-apps/plugin-process": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-process/-/plugin-process-2.3.1.tgz", - "integrity": "sha512-nCa4fGVaDL/B9ai03VyPOjfAHRHSBz5v6F/ObsB73r/dA3MHHhZtldaDMIc0V/pnUw9ehzr2iEG+XkSEyC0JJA==", - "license": "MIT OR Apache-2.0", - "dependencies": { - "@tauri-apps/api": "^2.8.0" - } - }, - "node_modules/@tauri-apps/plugin-updater": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-updater/-/plugin-updater-2.10.0.tgz", - "integrity": "sha512-ljN8jPlnT0aSn8ecYhuBib84alxfMx6Hc8vJSKMJyzGbTPFZAC44T2I1QNFZssgWKrAlofvJqCC6Rr472JWfkQ==", - "license": "MIT OR Apache-2.0", - "dependencies": { - "@tauri-apps/api": "^2.10.1" - } } } } diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 36c9e4d..56afa6a 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -18,8 +18,9 @@ "minWidth": 400, "minHeight": 200, "center": true, - "transparent": false, + "transparent": true, "decorations": false, + "shadow": false, "alwaysOnTop": true, "resizable": true, "skipTaskbar": false diff --git a/src/styles/main.css b/src/styles/main.css index d60d1c7..f3ae74f 100644 --- a/src/styles/main.css +++ b/src/styles/main.css @@ -86,11 +86,9 @@ body { border: 1px solid var(--border-subtle); backdrop-filter: blur(30px) saturate(150%); -webkit-backdrop-filter: blur(30px) saturate(150%); - box-shadow: - 0 8px 32px rgba(0, 0, 0, 0.5), - 0 2px 8px rgba(0, 0, 0, 0.3), - inset 0 1px 0 rgba(255, 255, 255, 0.04); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); overflow: hidden; + clip-path: inset(0 round var(--radius-lg)); } /* ─── Drag Region / Control Bar ────────────────────────── */ @@ -788,10 +786,8 @@ body { border: 1px solid var(--border-subtle); backdrop-filter: blur(30px) saturate(150%); -webkit-backdrop-filter: blur(30px) saturate(150%); - box-shadow: - 0 8px 32px rgba(0, 0, 0, 0.5), - 0 2px 8px rgba(0, 0, 0, 0.3); overflow: hidden; + clip-path: inset(0 round var(--radius-lg)); } #settings-drag {