update
This commit is contained in:
parent
4ca100dd48
commit
961356f37d
7 changed files with 66 additions and 4998 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
@import url(../assets//fa-free//css//all.css);
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background: #313131;
|
background: #313131;
|
||||||
color: white;
|
color: white;
|
||||||
|
|
|
@ -8,13 +8,53 @@ sidebar {
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
tab {
|
.sidebar-header {
|
||||||
margin-bottom: 6px;
|
margin: 6px 0px 24px 0px;
|
||||||
padding: 12px 24px;
|
display: grid;
|
||||||
|
grid-auto-flow: column;
|
||||||
|
align-items: center;
|
||||||
|
p {margin: 0px}
|
||||||
|
.sidebar-header-branding {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.sidebar-toggles {
|
||||||
|
text-align: right;
|
||||||
|
[enableBells="false"], [enableToggle="false"] {display: none}
|
||||||
|
button {
|
||||||
|
fill: white;
|
||||||
|
background: transparent;
|
||||||
|
border: none;
|
||||||
|
padding: 10px 12px;
|
||||||
|
border-radius: 4px;
|
||||||
|
cursor: pointer;
|
||||||
|
&:hover {background: #323232}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.sidebar-size-compact {
|
||||||
|
width: 36px;
|
||||||
|
p {font-size: 0px}
|
||||||
|
.sidebar-header img {display: none}
|
||||||
|
tab {
|
||||||
|
font-size: 0px;
|
||||||
|
padding: 10px !important;
|
||||||
|
i {font-size: 16px}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.sidebar-tabs {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
tab {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 32px auto;
|
||||||
|
margin-bottom: 6px;
|
||||||
|
padding-left: 24px;
|
||||||
|
padding-right: 24px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
font-size: 14px;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
&:hover {background: #282828}
|
&:hover {background: #282828}
|
||||||
&.active {background-color: #323232;}
|
&.active {background-color: #323232;}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
2
.vscode/settings.json
vendored
Normal file
2
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
{
|
||||||
|
}
|
1
app/astro/src/env.d.ts
vendored
Normal file
1
app/astro/src/env.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/// <reference types="astro/client" />
|
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
21
package.json
21
package.json
|
@ -6,10 +6,13 @@
|
||||||
"main": ".build/output/electron/app/electron/main/index.js",
|
"main": ".build/output/electron/app/electron/main/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "concurrently -k -r \"bun run astro:start\" \"wait-on http://localhost:4321 && bun run electron:start\"",
|
"start": "concurrently -k -r \"bun run astro:start\" \"wait-on http://localhost:4321 && bun run electron:start\"",
|
||||||
|
"start:verbose": "concurrently -k -r \"bun run astro:start:verbose\" \"wait-on http://localhost:4321 && bun run electron:start\"",
|
||||||
"build": "bun run tsc && bun run astro:build && bun run electron:build",
|
"build": "bun run tsc && bun run astro:build && bun run electron:build",
|
||||||
"tsc": "tsc -p .build/devlopment/tsconfig-build.json",
|
"tsc": "tsc -p .build/devlopment/tsconfig-build.json",
|
||||||
"astro:start": "astro dev --root ./.app/astro/",
|
"astro:start": "astro dev --silent --root ./.app/astro/",
|
||||||
"astro:build": "astro build --silent --root ./.app/astro/",
|
"astro:build": "astro build --silent --root ./.app/astro/",
|
||||||
|
"astro:start:vertbose": "astro dev --root ./.app/astro/",
|
||||||
|
"astro:build:vertbose": "astro build --root ./.app/astro/",
|
||||||
"electron:start": "NODE_ENV=development electron .",
|
"electron:start": "NODE_ENV=development electron .",
|
||||||
"electron:build": "electron-builder --config ./.build/electron-builder.ts",
|
"electron:build": "electron-builder --config ./.build/electron-builder.ts",
|
||||||
"electron:postinstall": "cd node_modules/electron && bun postinstall"
|
"electron:postinstall": "cd node_modules/electron && bun postinstall"
|
||||||
|
@ -18,16 +21,16 @@
|
||||||
"types": ["bun-types"]
|
"types": ["bun-types"]
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/mdx": "^1.0.3",
|
"@astrojs/mdx": "latest",
|
||||||
"astro": "^3.0.12",
|
"astro": "latest",
|
||||||
"electron-titlebar-respect": "^1.1.2",
|
"electron-titlebar-respect": "latest",
|
||||||
"typescript": "^5.2.2"
|
"typescript": "latest"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"concurrently": "^8.2.1",
|
"concurrently": "latest",
|
||||||
"electron": "latest",
|
"electron": "latest",
|
||||||
"electron-builder": "^24.6.4",
|
"electron-builder": "latest",
|
||||||
"sass": "^1.66.1",
|
"sass": "latest",
|
||||||
"wait-on": "^7.0.1"
|
"wait-on": "latest"
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in a new issue