diff --git a/index.html b/index.html index 8eaaebe..5052478 100644 --- a/index.html +++ b/index.html @@ -7,62 +7,6 @@ -
-
- - - - - -
-
- - - - -
-
- - - - - -
-
-
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 09f117a..13b3094 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -11,7 +11,7 @@ edition = "2021" tauri-build = { version = "1", features = [] } [dependencies] -tauri = { version = "1", features = [ "macos-private-api", "window-unmaximize", "window-show", "window-minimize", "window-hide", "window-start-dragging", "window-maximize", "window-unminimize", "window-close", "fs-read-file", "fs-create-dir", "fs-exists", "fs-write-file", "path-all", "shell-open"] } +tauri = { version = "1", features = [ "macos-private-api", "fs-read-file", "fs-create-dir", "fs-exists", "fs-write-file", "path-all", "shell-open"] } serde = { version = "1", features = ["derive"] } serde_json = "1" window-vibrancy = "0.4.0" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index f05cea8..e72cfce 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -18,15 +18,7 @@ "open": true }, "window": { - "all": false, - "close": true, - "hide": true, - "show": true, - "maximize": true, - "minimize": true, - "unmaximize": true, - "unminimize": true, - "startDragging": true + "all": false }, "fs": { "all": false, @@ -46,7 +38,6 @@ "title": "KlectrRadio", "width": 800, "height": 600, - "decorations": false, "resizable": true, "minWidth": 800, "minHeight": 600 diff --git a/src/styles.css b/src/styles.css index 2d04baf..6f74517 100644 --- a/src/styles.css +++ b/src/styles.css @@ -9,7 +9,7 @@ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-text-size-adjust: 100%; - @apply bg-gray-100 mt-6; + @apply bg-gray-100; } html, @@ -24,29 +24,3 @@ body { .paper { @apply bg-white rounded-lg; } - -.titlebar { - height: 30px; - user-select: none; - display: flex; - justify-content: flex-start; - gap: 8px; - position: fixed; - top: 0; - left: 0; - right: 0; - padding: 5px; - cursor: grab; -} -.titlebar-button { - display: inline-flex; - justify-content: center; - align-items: center; - width: 15px; - height: 15px; -} -.titlebar-button:hover { - border-radius: 100%; - background: #5bbec3; - cursor: pointer; -}