21 feature app redesign #23

Open
tristonarmstrong wants to merge 18 commits from 21-feature-app-redesign into main
4 changed files with 3 additions and 94 deletions
Showing only changes of commit 66eee63a9c - Show all commits

View File

@ -7,62 +7,6 @@
</head>
<body>
<div data-tauri-drag-region class="titlebar">
<div class="titlebar-button" id="titlebar-close">
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="lucide lucide-circle-x"
>
<circle cx="12" cy="12" r="10" />
<path d="m15 9-6 6" />
<path d="m9 9 6 6" />
</svg>
</div>
<div class="titlebar-button" id="titlebar-minimize">
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="lucide lucide-circle-minus"
>
<circle cx="12" cy="12" r="10" />
<path d="M8 12h8" />
</svg>
</div>
<div class="titlebar-button" id="titlebar-maximize">
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="lucide lucide-circle-plus"
>
<circle cx="12" cy="12" r="10" />
<path d="M8 12h8" />
<path d="M12 8v8" />
</svg>
</div>
</div>
<div id="root" />
<script type="module" src="/src/main.ts" defer></script>
</body>

View File

@ -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"

View File

@ -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

View File

@ -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;
}