phase-4: scss upgrade
This commit is contained in:
committed by
saikiranvella
parent
d5cf3fc31f
commit
dbcc0376b0
Generated
+413
@@ -11,6 +11,7 @@
|
|||||||
"@sveltejs/adapter-auto": "^3.0.0",
|
"@sveltejs/adapter-auto": "^3.0.0",
|
||||||
"@sveltejs/kit": "^2.0.0",
|
"@sveltejs/kit": "^2.0.0",
|
||||||
"@sveltejs/vite-plugin-svelte": "^4.0.0",
|
"@sveltejs/vite-plugin-svelte": "^4.0.0",
|
||||||
|
"sass": "^1.100.0",
|
||||||
"svelte": "^5.0.0",
|
"svelte": "^5.0.0",
|
||||||
"svelte-check": "^4.0.0",
|
"svelte-check": "^4.0.0",
|
||||||
"typescript": "^5.0.0",
|
"typescript": "^5.0.0",
|
||||||
@@ -478,6 +479,316 @@
|
|||||||
"@jridgewell/sourcemap-codec": "^1.4.14"
|
"@jridgewell/sourcemap-codec": "^1.4.14"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@parcel/watcher": {
|
||||||
|
"version": "2.5.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.5.6.tgz",
|
||||||
|
"integrity": "sha512-tmmZ3lQxAe/k/+rNnXQRawJ4NjxO2hqiOLTHvWchtGZULp4RyFeh6aU4XdOYBFe2KE1oShQTv4AblOs2iOrNnQ==",
|
||||||
|
"dev": true,
|
||||||
|
"hasInstallScript": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"dependencies": {
|
||||||
|
"detect-libc": "^2.0.3",
|
||||||
|
"is-glob": "^4.0.3",
|
||||||
|
"node-addon-api": "^7.0.0",
|
||||||
|
"picomatch": "^4.0.3"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/parcel"
|
||||||
|
},
|
||||||
|
"optionalDependencies": {
|
||||||
|
"@parcel/watcher-android-arm64": "2.5.6",
|
||||||
|
"@parcel/watcher-darwin-arm64": "2.5.6",
|
||||||
|
"@parcel/watcher-darwin-x64": "2.5.6",
|
||||||
|
"@parcel/watcher-freebsd-x64": "2.5.6",
|
||||||
|
"@parcel/watcher-linux-arm-glibc": "2.5.6",
|
||||||
|
"@parcel/watcher-linux-arm-musl": "2.5.6",
|
||||||
|
"@parcel/watcher-linux-arm64-glibc": "2.5.6",
|
||||||
|
"@parcel/watcher-linux-arm64-musl": "2.5.6",
|
||||||
|
"@parcel/watcher-linux-x64-glibc": "2.5.6",
|
||||||
|
"@parcel/watcher-linux-x64-musl": "2.5.6",
|
||||||
|
"@parcel/watcher-win32-arm64": "2.5.6",
|
||||||
|
"@parcel/watcher-win32-ia32": "2.5.6",
|
||||||
|
"@parcel/watcher-win32-x64": "2.5.6"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@parcel/watcher-android-arm64": {
|
||||||
|
"version": "2.5.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.5.6.tgz",
|
||||||
|
"integrity": "sha512-YQxSS34tPF/6ZG7r/Ih9xy+kP/WwediEUsqmtf0cuCV5TPPKw/PQHRhueUo6JdeFJaqV3pyjm0GdYjZotbRt/A==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"android"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/parcel"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@parcel/watcher-darwin-arm64": {
|
||||||
|
"version": "2.5.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.5.6.tgz",
|
||||||
|
"integrity": "sha512-Z2ZdrnwyXvvvdtRHLmM4knydIdU9adO3D4n/0cVipF3rRiwP+3/sfzpAwA/qKFL6i1ModaabkU7IbpeMBgiVEA==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"darwin"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/parcel"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@parcel/watcher-darwin-x64": {
|
||||||
|
"version": "2.5.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.5.6.tgz",
|
||||||
|
"integrity": "sha512-HgvOf3W9dhithcwOWX9uDZyn1lW9R+7tPZ4sug+NGrGIo4Rk1hAXLEbcH1TQSqxts0NYXXlOWqVpvS1SFS4fRg==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"darwin"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/parcel"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@parcel/watcher-freebsd-x64": {
|
||||||
|
"version": "2.5.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.5.6.tgz",
|
||||||
|
"integrity": "sha512-vJVi8yd/qzJxEKHkeemh7w3YAn6RJCtYlE4HPMoVnCpIXEzSrxErBW5SJBgKLbXU3WdIpkjBTeUNtyBVn8TRng==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"freebsd"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/parcel"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@parcel/watcher-linux-arm-glibc": {
|
||||||
|
"version": "2.5.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.5.6.tgz",
|
||||||
|
"integrity": "sha512-9JiYfB6h6BgV50CCfasfLf/uvOcJskMSwcdH1PHH9rvS1IrNy8zad6IUVPVUfmXr+u+Km9IxcfMLzgdOudz9EQ==",
|
||||||
|
"cpu": [
|
||||||
|
"arm"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/parcel"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@parcel/watcher-linux-arm-musl": {
|
||||||
|
"version": "2.5.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-musl/-/watcher-linux-arm-musl-2.5.6.tgz",
|
||||||
|
"integrity": "sha512-Ve3gUCG57nuUUSyjBq/MAM0CzArtuIOxsBdQ+ftz6ho8n7s1i9E1Nmk/xmP323r2YL0SONs1EuwqBp2u1k5fxg==",
|
||||||
|
"cpu": [
|
||||||
|
"arm"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/parcel"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@parcel/watcher-linux-arm64-glibc": {
|
||||||
|
"version": "2.5.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.5.6.tgz",
|
||||||
|
"integrity": "sha512-f2g/DT3NhGPdBmMWYoxixqYr3v/UXcmLOYy16Bx0TM20Tchduwr4EaCbmxh1321TABqPGDpS8D/ggOTaljijOA==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/parcel"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@parcel/watcher-linux-arm64-musl": {
|
||||||
|
"version": "2.5.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.5.6.tgz",
|
||||||
|
"integrity": "sha512-qb6naMDGlbCwdhLj6hgoVKJl2odL34z2sqkC7Z6kzir8b5W65WYDpLB6R06KabvZdgoHI/zxke4b3zR0wAbDTA==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/parcel"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@parcel/watcher-linux-x64-glibc": {
|
||||||
|
"version": "2.5.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.5.6.tgz",
|
||||||
|
"integrity": "sha512-kbT5wvNQlx7NaGjzPFu8nVIW1rWqV780O7ZtkjuWaPUgpv2NMFpjYERVi0UYj1msZNyCzGlaCWEtzc+exjMGbQ==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/parcel"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@parcel/watcher-linux-x64-musl": {
|
||||||
|
"version": "2.5.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.5.6.tgz",
|
||||||
|
"integrity": "sha512-1JRFeC+h7RdXwldHzTsmdtYR/Ku8SylLgTU/reMuqdVD7CtLwf0VR1FqeprZ0eHQkO0vqsbvFLXUmYm/uNKJBg==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/parcel"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@parcel/watcher-win32-arm64": {
|
||||||
|
"version": "2.5.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.5.6.tgz",
|
||||||
|
"integrity": "sha512-3ukyebjc6eGlw9yRt678DxVF7rjXatWiHvTXqphZLvo7aC5NdEgFufVwjFfY51ijYEWpXbqF5jtrK275z52D4Q==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"win32"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/parcel"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@parcel/watcher-win32-ia32": {
|
||||||
|
"version": "2.5.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.5.6.tgz",
|
||||||
|
"integrity": "sha512-k35yLp1ZMwwee3Ez/pxBi5cf4AoBKYXj00CZ80jUz5h8prpiaQsiRPKQMxoLstNuqe2vR4RNPEAEcjEFzhEz/g==",
|
||||||
|
"cpu": [
|
||||||
|
"ia32"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"win32"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/parcel"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@parcel/watcher-win32-x64": {
|
||||||
|
"version": "2.5.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.5.6.tgz",
|
||||||
|
"integrity": "sha512-hbQlYcCq5dlAX9Qx+kFb0FHue6vbjlf0FrNzSKdYK2APUf7tGfGxQCk2ihEREmbR6ZMc0MVAD5RIX/41gpUzTw==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"win32"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/parcel"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@polka/url": {
|
"node_modules/@polka/url": {
|
||||||
"version": "1.0.0-next.29",
|
"version": "1.0.0-next.29",
|
||||||
"resolved": "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.29.tgz",
|
"resolved": "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.29.tgz",
|
||||||
@@ -1033,6 +1344,17 @@
|
|||||||
"node": ">=0.10.0"
|
"node": ">=0.10.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/detect-libc": {
|
||||||
|
"version": "2.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
|
||||||
|
"integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "Apache-2.0",
|
||||||
|
"optional": true,
|
||||||
|
"engines": {
|
||||||
|
"node": ">=8"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/devalue": {
|
"node_modules/devalue": {
|
||||||
"version": "5.8.1",
|
"version": "5.8.1",
|
||||||
"resolved": "https://registry.npmjs.org/devalue/-/devalue-5.8.1.tgz",
|
"resolved": "https://registry.npmjs.org/devalue/-/devalue-5.8.1.tgz",
|
||||||
@@ -1134,6 +1456,13 @@
|
|||||||
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
|
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/immutable": {
|
||||||
|
"version": "5.1.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/immutable/-/immutable-5.1.6.tgz",
|
||||||
|
"integrity": "sha512-q1swsS8K7L8usSHuOqF2TAoCCkonYz0SG38wLAggaa4Wml70zixIvt2ql4coQ2C2B3hTjltJry4r6bULwgAXLQ==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT"
|
||||||
|
},
|
||||||
"node_modules/import-meta-resolve": {
|
"node_modules/import-meta-resolve": {
|
||||||
"version": "4.2.0",
|
"version": "4.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.2.0.tgz",
|
||||||
@@ -1144,6 +1473,31 @@
|
|||||||
"url": "https://github.com/sponsors/wooorm"
|
"url": "https://github.com/sponsors/wooorm"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/is-extglob": {
|
||||||
|
"version": "2.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
|
||||||
|
"integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"engines": {
|
||||||
|
"node": ">=0.10.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/is-glob": {
|
||||||
|
"version": "4.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
|
||||||
|
"integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"dependencies": {
|
||||||
|
"is-extglob": "^2.1.1"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=0.10.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/is-reference": {
|
"node_modules/is-reference": {
|
||||||
"version": "3.0.3",
|
"version": "3.0.3",
|
||||||
"resolved": "https://registry.npmjs.org/is-reference/-/is-reference-3.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/is-reference/-/is-reference-3.0.3.tgz",
|
||||||
@@ -1220,6 +1574,14 @@
|
|||||||
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
|
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/node-addon-api": {
|
||||||
|
"version": "7.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz",
|
||||||
|
"integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
"node_modules/picocolors": {
|
"node_modules/picocolors": {
|
||||||
"version": "1.1.1",
|
"version": "1.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
|
||||||
@@ -1337,6 +1699,57 @@
|
|||||||
"node": ">=6"
|
"node": ">=6"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/sass": {
|
||||||
|
"version": "1.100.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/sass/-/sass-1.100.0.tgz",
|
||||||
|
"integrity": "sha512-B5j0rYMlinhhOo9tjQebMVVn0TfyXAF+wB3b2ggZUuJ/is/Y+7+JGjirAMxHZ9Z3hIP98NPfamlAkBHa1lAaXQ==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"chokidar": "^5.0.0",
|
||||||
|
"immutable": "^5.1.5",
|
||||||
|
"source-map-js": ">=0.6.2 <2.0.0"
|
||||||
|
},
|
||||||
|
"bin": {
|
||||||
|
"sass": "sass.js"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=20.19.0"
|
||||||
|
},
|
||||||
|
"optionalDependencies": {
|
||||||
|
"@parcel/watcher": "^2.4.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/sass/node_modules/chokidar": {
|
||||||
|
"version": "5.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-5.0.0.tgz",
|
||||||
|
"integrity": "sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"readdirp": "^5.0.0"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 20.19.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://paulmillr.com/funding/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/sass/node_modules/readdirp": {
|
||||||
|
"version": "5.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/readdirp/-/readdirp-5.0.0.tgz",
|
||||||
|
"integrity": "sha512-9u/XQ1pvrQtYyMpZe7DXKv2p5CNvyVwzUB6uhLAnQwHMSgKMBR62lc7AHljaeteeHXn11XTAaLLUVZYVZyuRBQ==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 20.19.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "individual",
|
||||||
|
"url": "https://paulmillr.com/funding/"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/set-cookie-parser": {
|
"node_modules/set-cookie-parser": {
|
||||||
"version": "3.1.0",
|
"version": "3.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-3.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-3.1.0.tgz",
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
"@sveltejs/adapter-auto": "^3.0.0",
|
"@sveltejs/adapter-auto": "^3.0.0",
|
||||||
"@sveltejs/kit": "^2.0.0",
|
"@sveltejs/kit": "^2.0.0",
|
||||||
"@sveltejs/vite-plugin-svelte": "^4.0.0",
|
"@sveltejs/vite-plugin-svelte": "^4.0.0",
|
||||||
|
"sass": "^1.100.0",
|
||||||
"svelte": "^5.0.0",
|
"svelte": "^5.0.0",
|
||||||
"svelte-check": "^4.0.0",
|
"svelte-check": "^4.0.0",
|
||||||
"typescript": "^5.0.0",
|
"typescript": "^5.0.0",
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
||||||
body {
|
|
||||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
||||||
background: #0f1117;
|
|
||||||
color: #e2e8f0;
|
|
||||||
font-size: 13px;
|
|
||||||
}
|
|
||||||
@@ -93,27 +93,24 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
background: none;
|
background: none;
|
||||||
border: 1px solid #1e293b;
|
border: 1px solid var(--border);
|
||||||
border-radius: 6px;
|
border-radius: var(--radius-sm);
|
||||||
padding: 6px 12px;
|
padding: 6px 12px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ctx-toggle-label {
|
.ctx-toggle-label {
|
||||||
font-size: 11px;
|
font-size: var(--fs-sm);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
letter-spacing: 0.07em;
|
letter-spacing: 0.07em;
|
||||||
color: #475569;
|
color: var(--text-dimmer);
|
||||||
}
|
}
|
||||||
|
|
||||||
.ctx-toggle-chevron {
|
.ctx-toggle-chevron { font-size: var(--fs-2xs); color: var(--text-faint); }
|
||||||
font-size: 9px;
|
|
||||||
color: #334155;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ── Cards grid ────────────────────────────────────────────────── */
|
/* ── Cards grid ─────────────────────────────────────────────────── */
|
||||||
.grid {
|
.grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
|
grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
|
||||||
@@ -121,28 +118,13 @@
|
|||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card { background: #1e293b; border-radius: 8px; padding: 12px 14px; }
|
.card { background: var(--bg-card); border-radius: var(--radius-md); padding: 12px var(--space-lg); }
|
||||||
|
|
||||||
.label-row {
|
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
|
||||||
display: flex;
|
.label { font-size: var(--fs-xs); color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; }
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
|
||||||
gap: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.label {
|
/* ── Tooltip ─────────────────────────────────────────────────────── */
|
||||||
font-size: 10px;
|
.tip-wrap { position: relative; display: inline-flex; flex-shrink: 0; }
|
||||||
color: #64748b;
|
|
||||||
text-transform: uppercase;
|
|
||||||
letter-spacing: 0.05em;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ── Tooltip ──────────────────────────────────────────────────── */
|
|
||||||
.tip-wrap {
|
|
||||||
position: relative;
|
|
||||||
display: inline-flex;
|
|
||||||
flex-shrink: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tip-anchor {
|
.tip-anchor {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
@@ -151,10 +133,10 @@
|
|||||||
width: 13px;
|
width: 13px;
|
||||||
height: 13px;
|
height: 13px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: #1e293b;
|
background: var(--bg-card);
|
||||||
border: 1px solid #334155;
|
border: 1px solid var(--text-faint);
|
||||||
color: #475569;
|
color: var(--text-dimmer);
|
||||||
font-size: 9px;
|
font-size: var(--fs-2xs);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
cursor: help;
|
cursor: help;
|
||||||
}
|
}
|
||||||
@@ -166,12 +148,12 @@
|
|||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
width: 220px;
|
width: 220px;
|
||||||
background: #1e293b;
|
background: var(--bg-card);
|
||||||
border: 1px solid #334155;
|
border: 1px solid var(--text-faint);
|
||||||
border-radius: 6px;
|
border-radius: var(--radius-sm);
|
||||||
padding: 8px 10px;
|
padding: 8px 10px;
|
||||||
font-size: 11px;
|
font-size: var(--fs-sm);
|
||||||
color: #94a3b8;
|
color: var(--text-muted);
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
z-index: 50;
|
z-index: 50;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
@@ -185,10 +167,10 @@
|
|||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
border: 5px solid transparent;
|
border: 5px solid transparent;
|
||||||
border-top-color: #334155;
|
border-top-color: var(--text-faint);
|
||||||
}
|
}
|
||||||
|
|
||||||
.tip-wrap:hover .tip-box { display: block; }
|
.tip-wrap:hover .tip-box { display: block; }
|
||||||
|
|
||||||
.value { font-size: 17px; font-weight: 700; color: #f1f5f9; margin-top: 4px; }
|
.value { font-size: 17px; font-weight: 700; color: var(--text-primary); margin-top: 4px; }
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script>
|
<script>
|
||||||
import { page, navigating } from '$app/stores';
|
import { page, navigating } from '$app/stores';
|
||||||
import '../app.css';
|
import '../styles/app.scss';
|
||||||
let { children } = $props();
|
let { children } = $props();
|
||||||
|
|
||||||
// Label shown under the nav progress bar while loading a page
|
// Label shown under the nav progress bar while loading a page
|
||||||
@@ -43,90 +43,4 @@
|
|||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style>
|
<!-- All layout styles live in src/styles/_layout.css (global) -->
|
||||||
.shell { min-height: 100vh; display: flex; flex-direction: column; }
|
|
||||||
|
|
||||||
nav {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 24px;
|
|
||||||
padding: 14px 32px;
|
|
||||||
border-bottom: 1px solid #1e293b;
|
|
||||||
background: #0f1117;
|
|
||||||
position: sticky;
|
|
||||||
top: 0;
|
|
||||||
z-index: 10;
|
|
||||||
}
|
|
||||||
|
|
||||||
.brand { font-size: 15px; font-weight: 700; color: #f1f5f9; }
|
|
||||||
|
|
||||||
.links { display: flex; gap: 4px; margin-left: auto; }
|
|
||||||
|
|
||||||
.links a {
|
|
||||||
color: #64748b;
|
|
||||||
text-decoration: none;
|
|
||||||
padding: 6px 14px;
|
|
||||||
border-radius: 6px;
|
|
||||||
font-weight: 500;
|
|
||||||
transition: color 0.15s, background 0.15s;
|
|
||||||
}
|
|
||||||
.links a:hover { color: #e2e8f0; background: #1e293b; }
|
|
||||||
.links a.active { color: #e2e8f0; background: #1e293b; }
|
|
||||||
|
|
||||||
main { flex: 1; padding: 28px 32px; }
|
|
||||||
|
|
||||||
/* ── Navigation progress ─────────────────────────────────────────── */
|
|
||||||
.nav-progress {
|
|
||||||
position: fixed;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
height: 2px;
|
|
||||||
z-index: 100;
|
|
||||||
background: #1e293b;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-bar {
|
|
||||||
height: 100%;
|
|
||||||
background: #3b82f6;
|
|
||||||
animation: progress 1.5s ease-in-out infinite;
|
|
||||||
transform-origin: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes progress {
|
|
||||||
0% { transform: translateX(-100%) scaleX(0.3); }
|
|
||||||
50% { transform: translateX(0%) scaleX(0.7); }
|
|
||||||
100% { transform: translateX(100%) scaleX(0.3); }
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Centered spinner + label in the page body */
|
|
||||||
.nav-overlay {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
gap: 14px;
|
|
||||||
padding: 100px 0;
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-spinner {
|
|
||||||
width: 40px;
|
|
||||||
height: 40px;
|
|
||||||
border: 3px solid #1e293b;
|
|
||||||
border-top-color: #3b82f6;
|
|
||||||
border-radius: 50%;
|
|
||||||
animation: spin 0.7s linear infinite;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-label {
|
|
||||||
font-size: 12px;
|
|
||||||
color: #475569;
|
|
||||||
letter-spacing: 0.02em;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes spin {
|
|
||||||
to { transform: rotate(360deg); }
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|||||||
+72
-311
@@ -370,116 +370,53 @@
|
|||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
/* ── Page ──────────────────────────────────────────────────────── */
|
/* ── Page ── unique to this route ──────────────────────────────── */
|
||||||
.page { max-width: 1400px; padding-bottom: 60px; }
|
.page { max-width: 1400px; padding-bottom: 60px; }
|
||||||
|
|
||||||
/* ── Toolbar ────────────────────────────────────────────────────── */
|
/* ── Toolbar ────────────────────────────────────────────────────── */
|
||||||
.toolbar { margin-bottom: 20px; display: flex; flex-direction: column; gap: 10px; }
|
.toolbar { margin-bottom: 20px; display: flex; flex-direction: column; gap: 10px; }
|
||||||
|
.toolbar-top { display: flex; align-items: center; gap: 8px; }
|
||||||
.toolbar-top {
|
.search-row { display: flex; gap: 8px; align-items: center; }
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-row {
|
|
||||||
display: flex;
|
|
||||||
gap: 8px;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
input {
|
input {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
background: #1e293b;
|
background: var(--bg-card);
|
||||||
border: 1px solid #2d3f55;
|
border: 1px solid var(--border-input);
|
||||||
border-radius: 8px;
|
border-radius: var(--radius-md);
|
||||||
color: #e2e8f0;
|
color: var(--text-secondary);
|
||||||
padding: 10px 14px;
|
padding: 10px var(--space-lg);
|
||||||
font-size: 13px;
|
font-size: var(--fs-md);
|
||||||
font-family: 'SF Mono', 'Fira Code', monospace;
|
font-family: 'SF Mono', 'Fira Code', monospace;
|
||||||
letter-spacing: 0.02em;
|
letter-spacing: 0.02em;
|
||||||
outline: none;
|
outline: none;
|
||||||
transition: border-color 0.15s;
|
transition: border-color var(--transition);
|
||||||
}
|
}
|
||||||
input:focus { border-color: #3b82f6; box-shadow: 0 0 0 2px #3b82f620; }
|
input:focus { border-color: var(--blue); box-shadow: 0 0 0 2px #3b82f620; }
|
||||||
|
|
||||||
button {
|
/* btn-search-toggle — page-specific ghost variant */
|
||||||
padding: 10px 18px;
|
|
||||||
border-radius: 8px;
|
|
||||||
font-size: 13px;
|
|
||||||
font-weight: 600;
|
|
||||||
cursor: pointer;
|
|
||||||
border: none;
|
|
||||||
white-space: nowrap;
|
|
||||||
transition: background 0.15s, opacity 0.15s;
|
|
||||||
}
|
|
||||||
button:disabled { opacity: 0.45; cursor: default; }
|
|
||||||
|
|
||||||
/* Primary catalyst button */
|
|
||||||
.btn-catalyst {
|
|
||||||
background: #2563eb;
|
|
||||||
color: #fff;
|
|
||||||
display: inline-flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
gap: 6px;
|
|
||||||
padding: 10px 20px;
|
|
||||||
}
|
|
||||||
.btn-catalyst:hover:not(:disabled) { background: #1d4ed8; }
|
|
||||||
|
|
||||||
/* Secondary search toggle */
|
|
||||||
.btn-search-toggle {
|
.btn-search-toggle {
|
||||||
background: #1e293b;
|
background: var(--bg-card);
|
||||||
color: #64748b;
|
color: var(--text-dim);
|
||||||
border: 1px solid #2d3f55;
|
border: 1px solid var(--border-input);
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
padding: 8px 14px;
|
padding: 8px var(--space-lg);
|
||||||
}
|
}
|
||||||
.btn-search-toggle:hover { background: #263347; color: #94a3b8; }
|
.btn-search-toggle:hover { background: #263347; color: var(--text-muted); }
|
||||||
|
|
||||||
/* Screen button inside the expanded search row */
|
|
||||||
.btn-screen {
|
|
||||||
background: #1e3a5f;
|
|
||||||
color: #60a5fa;
|
|
||||||
border: 1px solid #1e3a5f;
|
|
||||||
display: inline-flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
min-width: 80px;
|
|
||||||
}
|
|
||||||
.btn-screen:hover:not(:disabled) { background: #163356; }
|
|
||||||
|
|
||||||
.screened-at {
|
.screened-at {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
font-size: 11px;
|
font-size: var(--fs-sm);
|
||||||
color: #475569;
|
color: var(--text-dimmer);
|
||||||
}
|
|
||||||
|
|
||||||
.loading-area {
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
padding: 80px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.error-banner {
|
|
||||||
background: #450a0a55;
|
|
||||||
border: 1px solid #7f1d1d;
|
|
||||||
border-radius: 8px;
|
|
||||||
color: #f87171;
|
|
||||||
padding: 10px 14px;
|
|
||||||
margin-bottom: 16px;
|
|
||||||
font-size: 13px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ── Market Context Strip ───────────────────────────────────────── */
|
/* ── Market Context Strip ───────────────────────────────────────── */
|
||||||
.ctx-strip {
|
.ctx-strip {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 1px;
|
gap: 1px;
|
||||||
background: #1e293b;
|
background: var(--border);
|
||||||
border: 1px solid #1e293b;
|
border: 1px solid var(--border);
|
||||||
border-radius: 10px;
|
border-radius: var(--radius-lg);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
@@ -487,210 +424,49 @@
|
|||||||
.ctx-chip {
|
.ctx-chip {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-width: 70px;
|
min-width: 70px;
|
||||||
background: #0f1117;
|
background: var(--bg-base);
|
||||||
padding: 10px 14px;
|
padding: 10px var(--space-lg);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 3px;
|
gap: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ctx-label {
|
.ctx-label {
|
||||||
font-size: 9px;
|
font-size: var(--fs-2xs);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
letter-spacing: 0.08em;
|
letter-spacing: 0.08em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
color: #475569;
|
color: var(--text-dimmer);
|
||||||
}
|
}
|
||||||
|
|
||||||
.ctx-val {
|
.ctx-val {
|
||||||
font-size: 15px;
|
font-size: var(--fs-lg);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: #f1f5f9;
|
color: var(--text-primary);
|
||||||
font-variant-numeric: tabular-nums;
|
font-variant-numeric: tabular-nums;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ctx-regime[data-regime="HIGH"] { color: #f87171; }
|
.ctx-regime[data-regime="HIGH"] { color: var(--red); }
|
||||||
.ctx-regime[data-regime="NORMAL"] { color: #94a3b8; }
|
.ctx-regime[data-regime="NORMAL"] { color: var(--text-muted); }
|
||||||
.ctx-regime[data-regime="LOW"] { color: #4ade80; }
|
.ctx-regime[data-regime="LOW"] { color: var(--green); }
|
||||||
|
|
||||||
/* ── Section ────────────────────────────────────────────────────── */
|
/* ── Score cell ─────────────────────────────────────────────────── */
|
||||||
.section {
|
|
||||||
background: #0d1117;
|
|
||||||
border: 1px solid #1e293b;
|
|
||||||
border-radius: 10px;
|
|
||||||
margin-bottom: 16px;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.section-header {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 10px;
|
|
||||||
padding: 14px 18px 12px;
|
|
||||||
border-bottom: 1px solid #1e293b;
|
|
||||||
background: #111827;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
font-size: 11px;
|
|
||||||
font-weight: 700;
|
|
||||||
text-transform: uppercase;
|
|
||||||
letter-spacing: 0.08em;
|
|
||||||
color: #64748b;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.count {
|
|
||||||
font-size: 10px;
|
|
||||||
font-weight: 600;
|
|
||||||
color: #334155;
|
|
||||||
background: #1e293b;
|
|
||||||
padding: 2px 7px;
|
|
||||||
border-radius: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ── Mode Tabs ──────────────────────────────────────────────────── */
|
|
||||||
.mode-tabs {
|
|
||||||
display: flex;
|
|
||||||
gap: 4px;
|
|
||||||
margin-left: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mode-tabs button {
|
|
||||||
background: transparent;
|
|
||||||
color: #475569;
|
|
||||||
border: 1px solid #1e293b;
|
|
||||||
font-size: 11px;
|
|
||||||
padding: 4px 12px;
|
|
||||||
border-radius: 6px;
|
|
||||||
}
|
|
||||||
.mode-tabs button.active {
|
|
||||||
background: #1e3a5f;
|
|
||||||
color: #60a5fa;
|
|
||||||
border-color: #1e3a5f;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ── Table ──────────────────────────────────────────────────────── */
|
|
||||||
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
|
|
||||||
|
|
||||||
table { width: max-content; min-width: 100%; border-collapse: collapse; }
|
|
||||||
|
|
||||||
thead th {
|
|
||||||
text-align: left;
|
|
||||||
padding: 8px 14px;
|
|
||||||
font-size: 10px;
|
|
||||||
font-weight: 700;
|
|
||||||
text-transform: uppercase;
|
|
||||||
letter-spacing: 0.06em;
|
|
||||||
color: #334155;
|
|
||||||
border-bottom: 1px solid #1e293b;
|
|
||||||
white-space: nowrap;
|
|
||||||
background: #111827;
|
|
||||||
}
|
|
||||||
|
|
||||||
tbody tr { border-bottom: 1px solid #161f2e; }
|
|
||||||
tbody tr:hover { background: #131c2b; }
|
|
||||||
|
|
||||||
tbody td {
|
|
||||||
padding: 10px 14px;
|
|
||||||
vertical-align: middle;
|
|
||||||
white-space: nowrap;
|
|
||||||
font-size: 13px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Sticky ticker column */
|
|
||||||
.col-ticker,
|
|
||||||
tbody td:first-child {
|
|
||||||
position: sticky;
|
|
||||||
left: 0;
|
|
||||||
background: inherit;
|
|
||||||
z-index: 1;
|
|
||||||
}
|
|
||||||
thead .col-ticker { background: #111827; }
|
|
||||||
tbody td:first-child { background: #0d1117; }
|
|
||||||
tbody tr:hover td:first-child { background: #131c2b; }
|
|
||||||
|
|
||||||
.ticker {
|
|
||||||
font-weight: 700;
|
|
||||||
font-size: 13px;
|
|
||||||
color: #f1f5f9;
|
|
||||||
letter-spacing: 0.02em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.num {
|
|
||||||
color: #64748b;
|
|
||||||
font-variant-numeric: tabular-nums;
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Score cell: truncates gate failure text, shown in full via title tooltip */
|
|
||||||
.score-cell {
|
.score-cell {
|
||||||
color: #64748b;
|
color: var(--text-dim);
|
||||||
font-size: 11px;
|
font-size: var(--fs-sm);
|
||||||
max-width: 140px;
|
max-width: 140px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ── Verdict Pill ───────────────────────────────────────────────── */
|
/* ── Risk flags ─────────────────────────────────────────────────── */
|
||||||
.verdict-pill {
|
|
||||||
display: inline-block;
|
|
||||||
padding: 3px 10px;
|
|
||||||
border-radius: 20px;
|
|
||||||
font-size: 11px;
|
|
||||||
font-weight: 700;
|
|
||||||
letter-spacing: 0.02em;
|
|
||||||
}
|
|
||||||
.verdict-pill.green { background: #14532d33; color: #4ade80; }
|
|
||||||
.verdict-pill.yellow { background: #71350033; color: #facc15; }
|
|
||||||
.verdict-pill.red { background: #450a0a33; color: #f87171; }
|
|
||||||
|
|
||||||
/* ── Tags ───────────────────────────────────────────────────────── */
|
|
||||||
.tag {
|
|
||||||
display: inline-block;
|
|
||||||
background: #1e293b;
|
|
||||||
color: #64748b;
|
|
||||||
padding: 2px 8px;
|
|
||||||
border-radius: 4px;
|
|
||||||
font-size: 10px;
|
|
||||||
font-weight: 600;
|
|
||||||
letter-spacing: 0.04em;
|
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
|
||||||
.tag.sm { font-size: 10px; padding: 1px 6px; }
|
|
||||||
|
|
||||||
/* ── Risk Flags ─────────────────────────────────────────────────── */
|
|
||||||
.flags { display: flex; flex-direction: column; gap: 2px; }
|
.flags { display: flex; flex-direction: column; gap: 2px; }
|
||||||
.flag { color: #fb923c; font-size: 11px; }
|
.flag { color: var(--orange); font-size: var(--fs-sm); }
|
||||||
|
|
||||||
/* ── Errors ─────────────────────────────────────────────────────── */
|
/* ── Error list ─────────────────────────────────────────────────── */
|
||||||
.error-list { padding: 12px 18px; display: flex; flex-direction: column; gap: 6px; }
|
.error-list { padding: 12px var(--space-xl); display: flex; flex-direction: column; gap: 6px; }
|
||||||
.error-item { color: #64748b; font-size: 12px; }
|
.error-item { color: var(--text-dim); font-size: 12px; }
|
||||||
.error-item .ticker { color: #f87171; font-weight: 700; margin-right: 8px; }
|
.error-item :global(.ticker) { color: var(--red); font-weight: 700; margin-right: 8px; }
|
||||||
|
|
||||||
/* ── Analyze button ─────────────────────────────────────────────── */
|
|
||||||
.btn-analyze {
|
|
||||||
background: transparent;
|
|
||||||
color: #7c93b0;
|
|
||||||
border: 1px solid #1e293b;
|
|
||||||
font-size: 11px;
|
|
||||||
font-weight: 600;
|
|
||||||
letter-spacing: 0.04em;
|
|
||||||
padding: 4px 12px;
|
|
||||||
border-radius: 6px;
|
|
||||||
display: inline-flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 5px;
|
|
||||||
margin-left: 8px;
|
|
||||||
white-space: nowrap;
|
|
||||||
transition: color 0.15s, border-color 0.15s, background 0.15s;
|
|
||||||
}
|
|
||||||
.btn-analyze:hover:not(:disabled) {
|
|
||||||
background: #0f2240;
|
|
||||||
color: #93c5fd;
|
|
||||||
border-color: #1e3a5f;
|
|
||||||
}
|
|
||||||
.btn-analyze:disabled { opacity: 0.4; cursor: default; }
|
|
||||||
|
|
||||||
/* ── LLM Sidebar ────────────────────────────────────────────────── */
|
/* ── LLM Sidebar ────────────────────────────────────────────────── */
|
||||||
.sidebar-backdrop {
|
.sidebar-backdrop {
|
||||||
@@ -702,12 +478,10 @@
|
|||||||
|
|
||||||
.sidebar {
|
.sidebar {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0; right: 0; bottom: 0;
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
width: 380px;
|
width: 380px;
|
||||||
background: #0d1117;
|
background: var(--bg-surface);
|
||||||
border-left: 1px solid #1e3a5f;
|
border-left: 1px solid var(--blue-surface);
|
||||||
z-index: 101;
|
z-index: 101;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -718,9 +492,9 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 16px 18px;
|
padding: 16px var(--space-xl);
|
||||||
border-bottom: 1px solid #1e293b;
|
border-bottom: 1px solid var(--border);
|
||||||
background: #0d1e30;
|
background: var(--blue-badge);
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -728,36 +502,36 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
font-size: 13px;
|
font-size: var(--fs-md);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: #e2e8f0;
|
color: var(--text-secondary);
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-type {
|
.sidebar-type {
|
||||||
font-size: 10px;
|
font-size: var(--fs-xs);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
letter-spacing: 0.06em;
|
letter-spacing: 0.06em;
|
||||||
background: #1e3a5f;
|
background: var(--blue-surface);
|
||||||
color: #60a5fa;
|
color: var(--blue-muted);
|
||||||
padding: 2px 8px;
|
padding: 2px 8px;
|
||||||
border-radius: 20px;
|
border-radius: var(--radius-pill);
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-close {
|
.sidebar-close {
|
||||||
background: none;
|
background: none;
|
||||||
border: none;
|
border: none;
|
||||||
color: #475569;
|
color: var(--text-dimmer);
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border-radius: 4px;
|
border-radius: var(--radius-xs);
|
||||||
}
|
}
|
||||||
.sidebar-close:hover { color: #94a3b8; background: #1e293b; }
|
.sidebar-close:hover { color: var(--text-muted); background: var(--bg-card); }
|
||||||
|
|
||||||
.sidebar-body {
|
.sidebar-body {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
padding: 18px;
|
padding: var(--space-xl);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 16px;
|
gap: 16px;
|
||||||
@@ -772,30 +546,30 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-error {
|
.sidebar-error {
|
||||||
color: #f87171;
|
color: var(--red);
|
||||||
background: #450a0a33;
|
background: var(--red-bg);
|
||||||
border-radius: 8px;
|
border-radius: var(--radius-md);
|
||||||
padding: 12px 14px;
|
padding: 12px var(--space-lg);
|
||||||
font-size: 13px;
|
font-size: var(--fs-md);
|
||||||
}
|
}
|
||||||
|
|
||||||
.sb-sentiment-row { display: flex; align-items: center; gap: 8px; }
|
.sb-sentiment-row { display: flex; align-items: center; gap: 8px; }
|
||||||
|
|
||||||
.sb-summary {
|
.sb-summary {
|
||||||
font-size: 13px;
|
font-size: var(--fs-md);
|
||||||
color: #94a3b8;
|
color: var(--text-muted);
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
border-left: 3px solid #1e3a5f;
|
border-left: 3px solid var(--blue-surface);
|
||||||
padding-left: 12px;
|
padding-left: 12px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sb-sub {
|
.sb-sub {
|
||||||
font-size: 10px;
|
font-size: var(--fs-xs);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
letter-spacing: 0.08em;
|
letter-spacing: 0.08em;
|
||||||
color: #475569;
|
color: var(--text-dimmer);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -806,33 +580,20 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 3px;
|
gap: 3px;
|
||||||
padding: 10px 12px;
|
padding: 10px 12px;
|
||||||
background: #111827;
|
background: var(--bg-elevated);
|
||||||
border-radius: 6px;
|
border-radius: var(--radius-sm);
|
||||||
border: 1px solid #1e293b;
|
border: 1px solid var(--border);
|
||||||
}
|
}
|
||||||
|
|
||||||
.sb-name {
|
.sb-name {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: #e2e8f0;
|
color: var(--text-secondary);
|
||||||
}
|
}
|
||||||
|
|
||||||
.sb-reason {
|
.sb-reason {
|
||||||
font-size: 11px;
|
font-size: var(--fs-sm);
|
||||||
color: #64748b;
|
color: var(--text-dim);
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* ── Sidebar sentiment pill ─────────────────────────────────────── */
|
|
||||||
.sentiment-pill {
|
|
||||||
font-size: 10px;
|
|
||||||
font-weight: 700;
|
|
||||||
letter-spacing: 0.06em;
|
|
||||||
padding: 3px 10px;
|
|
||||||
border-radius: 20px;
|
|
||||||
}
|
|
||||||
.sentiment-pill[data-sentiment="BULLISH"] { background: #14532d33; color: #4ade80; }
|
|
||||||
.sentiment-pill[data-sentiment="BEARISH"] { background: #450a0a33; color: #f87171; }
|
|
||||||
.sentiment-pill[data-sentiment="NEUTRAL"] { background: #1e293b; color: #94a3b8; }
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -228,6 +228,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
/* ── Page ── unique to this route ──────────────────────────────── */
|
||||||
.page { max-width: 1100px; padding-bottom: 60px; }
|
.page { max-width: 1100px; padding-bottom: 60px; }
|
||||||
|
|
||||||
.page-header {
|
.page-header {
|
||||||
@@ -238,44 +239,12 @@
|
|||||||
margin-bottom: 24px;
|
margin-bottom: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 { font-size: 20px; font-weight: 700; color: #f1f5f9; margin-bottom: 4px; }
|
h1 { font-size: var(--fs-2xl); font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
|
||||||
.subtitle { font-size: 12px; color: #475569; }
|
.subtitle { font-size: 12px; color: var(--text-dimmer); }
|
||||||
|
|
||||||
/* ── Buttons ─────────────────────────────────────────────────────── */
|
/* btn-delete — calls-specific icon button */
|
||||||
button {
|
.btn-delete { background: transparent; color: var(--text-dimmer); padding: 4px 8px; font-size: 14px; }
|
||||||
padding: 9px 18px;
|
.btn-delete:hover { color: var(--red); }
|
||||||
border-radius: 8px;
|
|
||||||
font-size: 13px;
|
|
||||||
font-weight: 600;
|
|
||||||
cursor: pointer;
|
|
||||||
border: none;
|
|
||||||
transition: background 0.15s;
|
|
||||||
}
|
|
||||||
.btn-primary { background: #2563eb; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
|
|
||||||
.btn-primary:hover:not(:disabled) { background: #1d4ed8; }
|
|
||||||
.btn-primary:disabled { opacity: 0.5; cursor: default; }
|
|
||||||
.btn-delete { background: transparent; color: #475569; padding: 4px 8px; font-size: 14px; }
|
|
||||||
.btn-delete:hover { color: #f87171; }
|
|
||||||
|
|
||||||
/* ── Section ─────────────────────────────────────────────────────── */
|
|
||||||
.section {
|
|
||||||
background: #0d1117;
|
|
||||||
border: 1px solid #1e293b;
|
|
||||||
border-radius: 10px;
|
|
||||||
margin-bottom: 16px;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.section-header {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 10px;
|
|
||||||
padding: 14px 18px;
|
|
||||||
border-bottom: 1px solid #1e293b;
|
|
||||||
background: #111827;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #64748b; margin: 0; }
|
|
||||||
|
|
||||||
/* ── Form ────────────────────────────────────────────────────────── */
|
/* ── Form ────────────────────────────────────────────────────────── */
|
||||||
.call-form { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
|
.call-form { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
|
||||||
@@ -284,60 +253,53 @@
|
|||||||
.form-row .narrow { min-width: 120px; }
|
.form-row .narrow { min-width: 120px; }
|
||||||
|
|
||||||
label { display: flex; flex-direction: column; gap: 5px; }
|
label { display: flex; flex-direction: column; gap: 5px; }
|
||||||
label > span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; }
|
label > span {
|
||||||
|
font-size: var(--fs-sm);
|
||||||
|
font-weight: 600;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.05em;
|
||||||
|
color: var(--text-dim);
|
||||||
|
}
|
||||||
|
|
||||||
input, textarea {
|
input, textarea {
|
||||||
background: #1e293b;
|
background: var(--bg-card);
|
||||||
border: 1px solid #2d3f55;
|
border: 1px solid var(--border-input);
|
||||||
border-radius: 8px;
|
border-radius: var(--radius-md);
|
||||||
color: #e2e8f0;
|
color: var(--text-secondary);
|
||||||
padding: 9px 12px;
|
padding: 9px 12px;
|
||||||
font-size: 13px;
|
font-size: var(--fs-md);
|
||||||
outline: none;
|
outline: none;
|
||||||
transition: border-color 0.15s;
|
transition: border-color var(--transition);
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
}
|
}
|
||||||
input:focus, textarea:focus { border-color: #3b82f6; }
|
input:focus, textarea:focus { border-color: var(--blue); }
|
||||||
textarea { resize: vertical; }
|
textarea { resize: vertical; }
|
||||||
|
|
||||||
.hint { font-size: 11px; color: #475569; }
|
.hint { font-size: var(--fs-sm); color: var(--text-dimmer); }
|
||||||
.form-error { color: #f87171; font-size: 12px; background: #450a0a33; padding: 8px 12px; border-radius: 6px; }
|
.form-error {
|
||||||
|
color: var(--red);
|
||||||
|
font-size: 12px;
|
||||||
|
background: var(--red-bg);
|
||||||
|
padding: 8px 12px;
|
||||||
|
border-radius: var(--radius-sm);
|
||||||
|
}
|
||||||
|
|
||||||
/* ── Call card ───────────────────────────────────────────────────── */
|
/* ── Call card ───────────────────────────────────────────────────── */
|
||||||
.call-meta { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
|
.call-meta { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
|
||||||
|
|
||||||
.call-title {
|
.call-title { font-size: 14px; font-weight: 700; color: var(--text-primary); text-decoration: none; }
|
||||||
font-size: 14px;
|
.call-title:hover { color: var(--blue-muted); }
|
||||||
font-weight: 700;
|
|
||||||
color: #f1f5f9;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
.call-title:hover { color: #60a5fa; }
|
|
||||||
|
|
||||||
.call-badges { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
.call-badges { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
||||||
|
.date-badge { font-size: var(--fs-sm); color: var(--text-dimmer); }
|
||||||
|
|
||||||
.tag {
|
.call-body { padding: var(--space-xl); display: flex; flex-direction: column; gap: 16px; }
|
||||||
display: inline-block;
|
|
||||||
background: #1e293b;
|
|
||||||
color: #64748b;
|
|
||||||
padding: 2px 8px;
|
|
||||||
border-radius: 4px;
|
|
||||||
font-size: 10px;
|
|
||||||
font-weight: 600;
|
|
||||||
letter-spacing: 0.04em;
|
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
|
||||||
|
|
||||||
.date-badge { font-size: 11px; color: #475569; }
|
|
||||||
.count { font-size: 10px; color: #334155; background: #1e293b; padding: 2px 7px; border-radius: 20px; }
|
|
||||||
|
|
||||||
.call-body { padding: 18px; display: flex; flex-direction: column; gap: 16px; }
|
|
||||||
|
|
||||||
.thesis {
|
.thesis {
|
||||||
font-size: 13px;
|
font-size: var(--fs-md);
|
||||||
color: #94a3b8;
|
color: var(--text-muted);
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
border-left: 3px solid #1e3a5f;
|
border-left: 3px solid var(--blue-surface);
|
||||||
padding-left: 14px;
|
padding-left: 14px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
@@ -350,35 +312,29 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.snap-card {
|
.snap-card {
|
||||||
background: #111827;
|
background: var(--bg-elevated);
|
||||||
border: 1px solid #1e293b;
|
border: 1px solid var(--border);
|
||||||
border-radius: 8px;
|
border-radius: var(--radius-md);
|
||||||
padding: 10px 12px;
|
padding: 10px 12px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 3px;
|
gap: 3px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
transition: border-color 0.15s;
|
transition: border-color var(--transition);
|
||||||
}
|
}
|
||||||
.snap-card:hover { border-color: #334155; }
|
.snap-card:hover { border-color: var(--text-faint); }
|
||||||
|
|
||||||
.snap-ticker { font-size: 12px; font-weight: 700; color: #f1f5f9; }
|
.snap-ticker { font-size: 12px; font-weight: 700; color: var(--text-primary); }
|
||||||
.snap-price { font-size: 11px; color: #64748b; font-variant-numeric: tabular-nums; }
|
.snap-price { font-size: var(--fs-sm); color: var(--text-dim); font-variant-numeric: tabular-nums; }
|
||||||
.snap-signal { font-size: 10px; font-weight: 600; }
|
.snap-signal { font-size: var(--fs-xs); font-weight: 600; }
|
||||||
|
|
||||||
.view-link { font-size: 12px; color: #60a5fa; text-decoration: none; }
|
.view-link { font-size: 12px; color: var(--blue-muted); text-decoration: none; }
|
||||||
.view-link:hover { text-decoration: underline; }
|
.view-link:hover { text-decoration: underline; }
|
||||||
|
|
||||||
.empty { color: #475569; font-size: 13px; padding: 40px 0; text-align: center; }
|
.empty { color: var(--text-dimmer); font-size: var(--fs-md); padding: 40px 0; text-align: center; }
|
||||||
.error-banner { background: #450a0a55; border: 1px solid #7f1d1d; border-radius: 8px; color: #f87171; padding: 10px 14px; margin-bottom: 16px; font-size: 13px; }
|
|
||||||
|
|
||||||
/* ── Calendar ───────────────────────────────────────────────────── */
|
/* ── Calendar ───────────────────────────────────────────────────── */
|
||||||
.cal-grid {
|
.cal-grid { padding: 8px var(--space-xl) 14px; display: flex; flex-direction: column; gap: 2px; }
|
||||||
padding: 8px 18px 14px;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cal-event {
|
.cal-event {
|
||||||
display: grid;
|
display: grid;
|
||||||
@@ -386,33 +342,25 @@
|
|||||||
gap: 14px;
|
gap: 14px;
|
||||||
align-items: start;
|
align-items: start;
|
||||||
padding: 8px 6px;
|
padding: 8px 6px;
|
||||||
border-radius: 6px;
|
border-radius: var(--radius-sm);
|
||||||
transition: background 0.1s;
|
transition: background 0.1s;
|
||||||
}
|
}
|
||||||
.cal-event:hover { background: #111827; }
|
.cal-event:hover { background: var(--bg-elevated); }
|
||||||
.cal-event.past { opacity: 0.45; }
|
.cal-event.past { opacity: 0.45; }
|
||||||
|
|
||||||
.cal-date {
|
.cal-date { font-size: var(--fs-sm); font-variant-numeric: tabular-nums; color: var(--text-dimmer); padding-top: 1px; white-space: nowrap; }
|
||||||
font-size: 11px;
|
|
||||||
font-variant-numeric: tabular-nums;
|
|
||||||
color: #475569;
|
|
||||||
padding-top: 1px;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cal-content { display: flex; flex-direction: column; gap: 2px; }
|
.cal-content { display: flex; flex-direction: column; gap: 2px; }
|
||||||
|
|
||||||
.cal-ticker { font-size: 12px; font-weight: 700; color: #f1f5f9; }
|
.cal-ticker { font-size: 12px; font-weight: 700; color: var(--text-primary); }
|
||||||
|
.cal-type { font-size: var(--fs-sm); font-weight: 600; }
|
||||||
.cal-type { font-size: 11px; font-weight: 600; }
|
.cal-detail { font-weight: 400; color: var(--text-dim); }
|
||||||
.cal-detail { font-weight: 400; color: #64748b; }
|
.past-type { color: var(--text-dimmer) !important; }
|
||||||
.past-type { color: #475569 !important; }
|
.cal-est { font-size: var(--fs-xs); color: var(--text-dimmer); }
|
||||||
|
|
||||||
.cal-est { font-size: 10px; color: #475569; }
|
|
||||||
|
|
||||||
.cal-divider {
|
.cal-divider {
|
||||||
font-size: 10px;
|
font-size: var(--fs-xs);
|
||||||
color: #334155;
|
color: var(--text-faint);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 8px 0 4px;
|
padding: 8px 0 4px;
|
||||||
letter-spacing: 0.06em;
|
letter-spacing: 0.06em;
|
||||||
|
|||||||
@@ -431,86 +431,85 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
/* ── Page ── unique to this route ──────────────────────────────── */
|
||||||
.page { max-width: 1400px; }
|
.page { max-width: 1400px; }
|
||||||
|
|
||||||
/* ── Toolbar ─────────────────────────────────────────────────────── */
|
/* ── Toolbar ─────────────────────────────────────────────────────── */
|
||||||
.toolbar { margin-bottom: 12px; }
|
.toolbar { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
|
||||||
|
|
||||||
|
/* btn-add = primary button style (same as btn-primary) */
|
||||||
.btn-add {
|
.btn-add {
|
||||||
background: #2563eb;
|
background: var(--blue-dark);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 8px;
|
border-radius: var(--radius-md);
|
||||||
padding: 9px 18px;
|
padding: 9px 18px;
|
||||||
font-size: 13px;
|
font-size: var(--fs-md);
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.btn-add:hover { background: #1d4ed8; }
|
.btn-add:hover { background: var(--blue-darker); }
|
||||||
|
|
||||||
.refreshing-hint {
|
.refreshing-hint {
|
||||||
font-size: 11px;
|
font-size: var(--fs-sm);
|
||||||
color: #475569;
|
color: var(--text-dimmer);
|
||||||
animation: pulse 1.5s ease-in-out infinite;
|
animation: pulse 1.5s ease-in-out infinite;
|
||||||
}
|
}
|
||||||
@keyframes pulse {
|
@keyframes pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
|
||||||
0%, 100% { opacity: 0.4; }
|
|
||||||
50% { opacity: 1; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ── Add holding form ────────────────────────────────────────────── */
|
/* ── Add holding form ────────────────────────────────────────────── */
|
||||||
.add-form {
|
.add-form {
|
||||||
background: #111827;
|
background: var(--bg-elevated);
|
||||||
border: 1px solid #1e293b;
|
border: 1px solid var(--border);
|
||||||
border-radius: 10px;
|
border-radius: var(--radius-lg);
|
||||||
padding: 18px;
|
padding: var(--space-xl);
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-row {
|
.form-title {
|
||||||
display: flex;
|
font-size: var(--fs-sm);
|
||||||
gap: 12px;
|
font-weight: 700;
|
||||||
align-items: flex-end;
|
text-transform: uppercase;
|
||||||
flex-wrap: wrap;
|
letter-spacing: 0.07em;
|
||||||
|
color: var(--text-dimmer);
|
||||||
|
margin-bottom: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.field {
|
.form-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
.field { display: flex; flex-direction: column; gap: 5px; }
|
||||||
gap: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.field label {
|
.field label {
|
||||||
font-size: 10px;
|
font-size: var(--fs-xs);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
letter-spacing: 0.06em;
|
letter-spacing: 0.06em;
|
||||||
color: #475569;
|
color: var(--text-dimmer);
|
||||||
}
|
}
|
||||||
|
|
||||||
.field input::placeholder { color: #334155; }
|
.field input::placeholder { color: var(--text-faint); }
|
||||||
|
|
||||||
.field input {
|
.field input {
|
||||||
background: #1e293b;
|
background: var(--bg-card);
|
||||||
border: 1px solid #2d3f55;
|
border: 1px solid var(--border-input);
|
||||||
border-radius: 6px;
|
border-radius: var(--radius-sm);
|
||||||
color: #e2e8f0;
|
color: var(--text-secondary);
|
||||||
padding: 8px 12px;
|
padding: 8px 12px;
|
||||||
font-size: 13px;
|
font-size: var(--fs-md);
|
||||||
outline: none;
|
outline: none;
|
||||||
min-width: 100px;
|
min-width: 100px;
|
||||||
height: 38px;
|
height: 38px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
.field input:focus { border-color: #3b82f6; }
|
.field input:focus { border-color: var(--blue); }
|
||||||
|
|
||||||
.field select {
|
.field select {
|
||||||
background: #1e293b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
|
background: var(--bg-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
|
||||||
border: 1px solid #2d3f55;
|
border: 1px solid var(--border-input);
|
||||||
border-radius: 6px;
|
border-radius: var(--radius-sm);
|
||||||
color: #e2e8f0;
|
color: var(--text-secondary);
|
||||||
padding: 8px 32px 8px 12px;
|
padding: 8px 32px 8px 12px;
|
||||||
font-size: 13px;
|
font-size: var(--fs-md);
|
||||||
outline: none;
|
outline: none;
|
||||||
min-width: 100px;
|
min-width: 100px;
|
||||||
height: 38px;
|
height: 38px;
|
||||||
@@ -519,83 +518,57 @@
|
|||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.field select:focus { border-color: #3b82f6; }
|
.field select:focus { border-color: var(--blue); }
|
||||||
|
|
||||||
.btn-save {
|
.btn-save {
|
||||||
background: #2563eb;
|
background: var(--blue-dark);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 6px;
|
border-radius: var(--radius-sm);
|
||||||
padding: 8px 20px;
|
padding: 8px 20px;
|
||||||
font-size: 13px;
|
font-size: var(--fs-md);
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
align-self: flex-end;
|
align-self: flex-end;
|
||||||
}
|
}
|
||||||
.btn-save:hover:not(:disabled) { background: #1d4ed8; }
|
.btn-save:hover:not(:disabled) { background: var(--blue-darker); }
|
||||||
.btn-save:disabled { opacity: 0.5; cursor: default; }
|
.btn-save:disabled { opacity: 0.5; cursor: default; }
|
||||||
|
|
||||||
.form-error {
|
.form-error { color: var(--red); font-size: 12px; margin-top: 10px; }
|
||||||
color: #f87171;
|
|
||||||
font-size: 12px;
|
|
||||||
margin-top: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ── Delete button ───────────────────────────────────────────────── */
|
/* ── Inline row editing ──────────────────────────────────────────── */
|
||||||
.form-title {
|
tr.editing { background: var(--blue-badge); }
|
||||||
font-size: 11px;
|
|
||||||
font-weight: 700;
|
|
||||||
text-transform: uppercase;
|
|
||||||
letter-spacing: 0.07em;
|
|
||||||
color: #475569;
|
|
||||||
margin-bottom: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-cancel-edit {
|
|
||||||
background: transparent;
|
|
||||||
border: 1px solid #2d3f55;
|
|
||||||
color: #64748b;
|
|
||||||
border-radius: 6px;
|
|
||||||
padding: 8px 16px;
|
|
||||||
font-size: 13px;
|
|
||||||
font-weight: 600;
|
|
||||||
cursor: pointer;
|
|
||||||
align-self: flex-end;
|
|
||||||
}
|
|
||||||
.btn-cancel-edit:hover { color: #94a3b8; }
|
|
||||||
|
|
||||||
tr.editing { background: #0d1e30; }
|
|
||||||
|
|
||||||
.inline-input {
|
.inline-input {
|
||||||
background: #1e293b;
|
background: var(--bg-card);
|
||||||
border: 1px solid #2d3f55;
|
border: 1px solid var(--border-input);
|
||||||
border-radius: 4px;
|
border-radius: var(--radius-xs);
|
||||||
color: #e2e8f0;
|
color: var(--text-secondary);
|
||||||
padding: 3px 6px;
|
padding: 3px 6px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
width: 80px;
|
width: 80px;
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
.inline-input:focus { border-color: #3b82f6; }
|
.inline-input:focus { border-color: var(--blue); }
|
||||||
|
|
||||||
.inline-select {
|
.inline-select {
|
||||||
background: #1e293b;
|
background: var(--bg-card);
|
||||||
border: 1px solid #2d3f55;
|
border: 1px solid var(--border-input);
|
||||||
border-radius: 4px;
|
border-radius: var(--radius-xs);
|
||||||
color: #e2e8f0;
|
color: var(--text-secondary);
|
||||||
padding: 3px 6px;
|
padding: 3px 6px;
|
||||||
font-size: 11px;
|
font-size: var(--fs-sm);
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-save-inline {
|
.btn-save-inline {
|
||||||
background: #14532d55;
|
background: #14532d55;
|
||||||
border: none;
|
border: none;
|
||||||
color: #4ade80;
|
color: var(--green);
|
||||||
font-size: 13px;
|
font-size: var(--fs-md);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
border-radius: 4px;
|
border-radius: var(--radius-xs);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
.btn-save-inline:hover:not(:disabled) { background: #14532d99; }
|
.btn-save-inline:hover:not(:disabled) { background: #14532d99; }
|
||||||
@@ -604,64 +577,54 @@
|
|||||||
.btn-cancel-inline {
|
.btn-cancel-inline {
|
||||||
background: none;
|
background: none;
|
||||||
border: none;
|
border: none;
|
||||||
color: #475569;
|
color: var(--text-dimmer);
|
||||||
font-size: 13px;
|
font-size: var(--fs-md);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
border-radius: 4px;
|
border-radius: var(--radius-xs);
|
||||||
}
|
}
|
||||||
.btn-cancel-inline:hover { color: #94a3b8; }
|
.btn-cancel-inline:hover { color: var(--text-muted); }
|
||||||
|
|
||||||
.row-actions { display: flex; gap: 4px; align-items: center; }
|
.row-actions { display: flex; gap: 4px; align-items: center; }
|
||||||
|
|
||||||
.btn-edit {
|
.btn-edit {
|
||||||
background: none;
|
background: none;
|
||||||
border: none;
|
border: none;
|
||||||
color: #334155;
|
color: var(--text-faint);
|
||||||
font-size: 13px;
|
font-size: var(--fs-md);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
border-radius: 4px;
|
border-radius: var(--radius-xs);
|
||||||
}
|
}
|
||||||
.btn-edit:hover { color: #60a5fa; background: #0f2240; }
|
.btn-edit:hover { color: var(--blue-muted); background: var(--blue-deep); }
|
||||||
|
|
||||||
.btn-delete {
|
.btn-delete {
|
||||||
background: none;
|
background: none;
|
||||||
border: none;
|
border: none;
|
||||||
color: #334155;
|
color: var(--text-faint);
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
border-radius: 4px;
|
border-radius: var(--radius-xs);
|
||||||
}
|
}
|
||||||
.btn-delete:hover { color: #f87171; background: #450a0a33; }
|
.btn-delete:hover { color: var(--red); background: var(--red-bg); }
|
||||||
|
|
||||||
.loading-area {
|
/* ── Loading / error ─────────────────────────────────────────────── */
|
||||||
display: flex;
|
.loading-area { display: flex; justify-content: center; align-items: center; padding: 100px 0; }
|
||||||
justify-content: center;
|
.error { color: var(--red); background: var(--red-bg); border-radius: var(--radius-md); padding: 10px var(--space-lg); }
|
||||||
align-items: center;
|
|
||||||
padding: 100px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.error { color: #f87171; background: #450a0a33; border-radius: 8px; padding: 10px 14px; }
|
|
||||||
|
|
||||||
|
/* ── P&L summary grid ────────────────────────────────────────────── */
|
||||||
.summary-grid {
|
.summary-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
.scard { background: #1e293b; border-radius: 8px; padding: 12px 14px; }
|
.scard { background: var(--bg-card); border-radius: var(--radius-md); padding: 12px var(--space-lg); }
|
||||||
|
|
||||||
.slabel-row {
|
.slabel-row { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
|
||||||
display: flex;
|
.slabel { font-size: var(--fs-xs); color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; }
|
||||||
align-items: center;
|
.svalue { font-size: var(--fs-xl); font-weight: 700; color: var(--text-primary); margin-top: 4px; }
|
||||||
justify-content: space-between;
|
|
||||||
gap: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.slabel { font-size: 10px; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; }
|
|
||||||
.svalue { font-size: 18px; font-weight: 700; color: #f1f5f9; margin-top: 4px; }
|
|
||||||
|
|
||||||
/* ── Summary card tooltips ───────────────────────────────────────── */
|
/* ── Summary card tooltips ───────────────────────────────────────── */
|
||||||
.stip-wrap { position: relative; display: inline-flex; flex-shrink: 0; }
|
.stip-wrap { position: relative; display: inline-flex; flex-shrink: 0; }
|
||||||
@@ -673,35 +636,32 @@
|
|||||||
width: 13px;
|
width: 13px;
|
||||||
height: 13px;
|
height: 13px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: #0f1117;
|
background: var(--bg-base);
|
||||||
border: 1px solid #334155;
|
border: 1px solid var(--text-faint);
|
||||||
color: #475569;
|
color: var(--text-dimmer);
|
||||||
font-size: 9px;
|
font-size: var(--fs-2xs);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
cursor: help;
|
cursor: help;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stip-box {
|
.stip-box {
|
||||||
display: none;
|
display: none;
|
||||||
position: fixed;
|
|
||||||
width: 220px;
|
|
||||||
background: #1e293b;
|
|
||||||
border: 1px solid #334155;
|
|
||||||
border-radius: 6px;
|
|
||||||
padding: 8px 10px;
|
|
||||||
font-size: 11px;
|
|
||||||
color: #94a3b8;
|
|
||||||
line-height: 1.5;
|
|
||||||
z-index: 200;
|
|
||||||
pointer-events: none;
|
|
||||||
white-space: normal;
|
|
||||||
/* anchor via JS-free trick: use absolute + translate to float above icon */
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: calc(100% + 6px);
|
bottom: calc(100% + 6px);
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
|
width: 220px;
|
||||||
|
background: var(--bg-card);
|
||||||
|
border: 1px solid var(--text-faint);
|
||||||
|
border-radius: var(--radius-sm);
|
||||||
|
padding: 8px 10px;
|
||||||
|
font-size: var(--fs-sm);
|
||||||
|
color: var(--text-muted);
|
||||||
|
line-height: 1.5;
|
||||||
|
z-index: 200;
|
||||||
|
pointer-events: none;
|
||||||
|
white-space: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stip-box::after {
|
.stip-box::after {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -709,64 +669,61 @@
|
|||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
border: 5px solid transparent;
|
border: 5px solid transparent;
|
||||||
border-top-color: #334155;
|
border-top-color: var(--text-faint);
|
||||||
}
|
}
|
||||||
|
|
||||||
.stip-wrap:hover .stip-box { display: block; }
|
.stip-wrap:hover .stip-box { display: block; }
|
||||||
|
|
||||||
|
/* ── Card section (portfolio tables) ────────────────────────────── */
|
||||||
.card-section {
|
.card-section {
|
||||||
background: #111827;
|
background: var(--bg-elevated);
|
||||||
border: 1px solid #1e293b;
|
border: 1px solid var(--border);
|
||||||
border-radius: 10px;
|
border-radius: var(--radius-lg);
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
h2 {
|
.card-section h2 {
|
||||||
font-size: 11px;
|
font-size: var(--fs-sm);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
letter-spacing: 0.07em;
|
letter-spacing: 0.07em;
|
||||||
color: #64748b;
|
color: var(--text-dim);
|
||||||
margin-bottom: 14px;
|
margin-bottom: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Portfolio table overrides (full-width, tighter padding) */
|
||||||
table { width: 100%; border-collapse: collapse; }
|
table { width: 100%; border-collapse: collapse; }
|
||||||
thead th {
|
thead th {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding: 7px 10px;
|
padding: 7px 10px;
|
||||||
font-size: 10px;
|
font-size: var(--fs-xs);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
letter-spacing: 0.05em;
|
letter-spacing: 0.05em;
|
||||||
color: #475569;
|
color: var(--text-dimmer);
|
||||||
border-bottom: 1px solid #1e293b;
|
border-bottom: 1px solid var(--border);
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
tbody tr { border-bottom: 1px solid #1a2233; }
|
tbody tr { border-bottom: 1px solid var(--bg-row-alt); }
|
||||||
tbody tr:hover { background: #1e293b55; }
|
tbody tr:hover { background: #1e293b55; }
|
||||||
tbody td { padding: 9px 10px; vertical-align: middle; white-space: nowrap; }
|
tbody td { padding: 9px 10px; vertical-align: middle; white-space: nowrap; }
|
||||||
|
|
||||||
th.sortable {
|
th.sortable { cursor: pointer; user-select: none; white-space: nowrap; }
|
||||||
cursor: pointer;
|
th.sortable:hover { color: var(--text-muted); }
|
||||||
user-select: none;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
th.sortable:hover { color: #94a3b8; }
|
|
||||||
|
|
||||||
.ticker { font-weight: 700; font-size: 14px; color: #f1f5f9; }
|
.ticker { font-weight: 700; font-size: 14px; color: var(--text-primary); }
|
||||||
.num { font-variant-numeric: tabular-nums; color: #94a3b8; }
|
.num { font-variant-numeric: tabular-nums; color: var(--text-muted); }
|
||||||
.tag { background: #1e293b; color: #94a3b8; padding: 2px 8px; border-radius: 4px; font-size: 11px; }
|
.reason { color: var(--text-muted); font-size: var(--fs-sm); white-space: normal; max-width: 260px; }
|
||||||
.reason { color: #94a3b8; font-size: 11px; white-space: normal; max-width: 260px; }
|
.right { text-align: right; }
|
||||||
.right { text-align: right; }
|
|
||||||
|
|
||||||
.green { color: #4ade80; font-weight: 600; }
|
/* Signal colour classes (used via glClass / advClass helpers) */
|
||||||
.yellow { color: #facc15; font-weight: 600; }
|
.green { color: var(--green); font-weight: 600; }
|
||||||
.orange { color: #fb923c; font-weight: 600; }
|
.yellow { color: var(--yellow); font-weight: 600; }
|
||||||
.red { color: #f87171; font-weight: 600; }
|
.orange { color: var(--orange); font-weight: 600; }
|
||||||
.gray { color: #64748b; }
|
.red { color: var(--red); font-weight: 600; }
|
||||||
|
.gray { color: var(--text-dim); }
|
||||||
|
|
||||||
.bar-bg { background: #1e293b; border-radius: 4px; height: 6px; }
|
.bar-bg { background: var(--bg-card); border-radius: var(--radius-xs); height: 6px; }
|
||||||
.bar-fill { background: #3b82f6; border-radius: 4px; height: 6px; }
|
.bar-fill { background: var(--blue); border-radius: var(--radius-xs); height: 6px; }
|
||||||
|
|
||||||
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
|
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -72,8 +72,8 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td class="ticker">{r.asset.ticker}</td>
|
<td class="ticker">{r.asset.ticker}</td>
|
||||||
<td class="num">{m.Price ?? '—'}</td>
|
<td class="num">{m.Price ?? '—'}</td>
|
||||||
<td><span class="vpill {vClass(r.inflated.label)}">{verdictShort(r.inflated.label)}</span></td>
|
<td><span class="verdict-pill {vClass(r.inflated.label)}">{verdictShort(r.inflated.label)}</span></td>
|
||||||
<td><span class="vpill {vClass(r.fundamental.label)}">{verdictShort(r.fundamental.label)}</span></td>
|
<td><span class="verdict-pill {vClass(r.fundamental.label)}">{verdictShort(r.fundamental.label)}</span></td>
|
||||||
<td class="num">{m['Exp Ratio%'] ?? '—'}</td>
|
<td class="num">{m['Exp Ratio%'] ?? '—'}</td>
|
||||||
<td class="num">{m['Yield%'] ?? '—'}</td>
|
<td class="num">{m['Yield%'] ?? '—'}</td>
|
||||||
<td class="num">{m['AUM'] ?? '—'}</td>
|
<td class="num">{m['AUM'] ?? '—'}</td>
|
||||||
@@ -113,8 +113,8 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td class="ticker">{r.asset.ticker}</td>
|
<td class="ticker">{r.asset.ticker}</td>
|
||||||
<td class="num">{m.Price ?? '—'}</td>
|
<td class="num">{m.Price ?? '—'}</td>
|
||||||
<td><span class="vpill {vClass(r.inflated.label)}">{verdictShort(r.inflated.label)}</span></td>
|
<td><span class="verdict-pill {vClass(r.inflated.label)}">{verdictShort(r.inflated.label)}</span></td>
|
||||||
<td><span class="vpill {vClass(r.fundamental.label)}">{verdictShort(r.fundamental.label)}</span></td>
|
<td><span class="verdict-pill {vClass(r.fundamental.label)}">{verdictShort(r.fundamental.label)}</span></td>
|
||||||
<td class="num">{m['YTM%'] ?? '—'}</td>
|
<td class="num">{m['YTM%'] ?? '—'}</td>
|
||||||
<td class="num">{m['Duration'] ?? '—'}</td>
|
<td class="num">{m['Duration'] ?? '—'}</td>
|
||||||
<td class="num">{m['Rating'] ?? '—'}</td>
|
<td class="num">{m['Rating'] ?? '—'}</td>
|
||||||
@@ -168,8 +168,8 @@
|
|||||||
<td class="ticker">{r.asset.ticker}</td>
|
<td class="ticker">{r.asset.ticker}</td>
|
||||||
<td class="num">{m.Price ?? '—'}</td>
|
<td class="num">{m.Price ?? '—'}</td>
|
||||||
<td><SignalBadge signal={r.signal} /></td>
|
<td><SignalBadge signal={r.signal} /></td>
|
||||||
<td><span class="vpill {vClass(r.inflated.label)}">{verdictShort(r.inflated.label)}</span></td>
|
<td><span class="verdict-pill {vClass(r.inflated.label)}">{verdictShort(r.inflated.label)}</span></td>
|
||||||
<td><span class="vpill {vClass(r.fundamental.label)}">{verdictShort(r.fundamental.label)}</span></td>
|
<td><span class="verdict-pill {vClass(r.fundamental.label)}">{verdictShort(r.fundamental.label)}</span></td>
|
||||||
<td class="num">{m['Exp Ratio%'] ?? '—'}</td>
|
<td class="num">{m['Exp Ratio%'] ?? '—'}</td>
|
||||||
<td class="num">{m['Yield%'] ?? '—'}</td>
|
<td class="num">{m['Yield%'] ?? '—'}</td>
|
||||||
<td class="num">{m['AUM'] ?? '—'}</td>
|
<td class="num">{m['AUM'] ?? '—'}</td>
|
||||||
@@ -209,8 +209,8 @@
|
|||||||
<td class="ticker">{r.asset.ticker}</td>
|
<td class="ticker">{r.asset.ticker}</td>
|
||||||
<td class="num">{m.Price ?? '—'}</td>
|
<td class="num">{m.Price ?? '—'}</td>
|
||||||
<td><SignalBadge signal={r.signal} /></td>
|
<td><SignalBadge signal={r.signal} /></td>
|
||||||
<td><span class="vpill {vClass(r.inflated.label)}">{verdictShort(r.inflated.label)}</span></td>
|
<td><span class="verdict-pill {vClass(r.inflated.label)}">{verdictShort(r.inflated.label)}</span></td>
|
||||||
<td><span class="vpill {vClass(r.fundamental.label)}">{verdictShort(r.fundamental.label)}</span></td>
|
<td><span class="verdict-pill {vClass(r.fundamental.label)}">{verdictShort(r.fundamental.label)}</span></td>
|
||||||
<td class="num">{m['YTM%'] ?? '—'}</td>
|
<td class="num">{m['YTM%'] ?? '—'}</td>
|
||||||
<td class="num">{m['Duration'] ?? '—'}</td>
|
<td class="num">{m['Duration'] ?? '—'}</td>
|
||||||
<td class="num">{m['Rating'] ?? '—'}</td>
|
<td class="num">{m['Rating'] ?? '—'}</td>
|
||||||
@@ -225,129 +225,58 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
/* ── Page ── unique to this route ──────────────────────────────── */
|
||||||
.page { max-width: 1100px; padding-bottom: 60px; }
|
.page { max-width: 1100px; padding-bottom: 60px; }
|
||||||
|
|
||||||
.page-header { margin-bottom: 20px; }
|
.page-header { margin-bottom: 20px; }
|
||||||
h1 { font-size: 20px; font-weight: 700; color: #f1f5f9; margin-bottom: 6px; }
|
h1 { font-size: var(--fs-2xl); font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
|
||||||
.subtitle { font-size: 12px; color: #475569; line-height: 1.5; }
|
.subtitle { font-size: 12px; color: var(--text-dimmer); line-height: 1.5; }
|
||||||
.subtitle strong { color: #94a3b8; }
|
.subtitle strong { color: var(--text-muted); }
|
||||||
|
|
||||||
/* ── Strong Buy banner ───────────────────────────────────────────── */
|
/* ── Strong Buy banner ───────────────────────────────────────────── */
|
||||||
.strong-header {
|
.strong-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 12px;
|
|
||||||
margin-bottom: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.strong-badge {
|
.strong-badge {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: #4ade80;
|
color: var(--green);
|
||||||
background: #14532d33;
|
background: var(--green-bg);
|
||||||
padding: 4px 14px;
|
padding: 4px 14px;
|
||||||
border-radius: 20px;
|
border-radius: var(--radius-pill);
|
||||||
}
|
}
|
||||||
|
|
||||||
.strong-sub { font-size: 11px; color: #475569; }
|
.strong-sub { font-size: var(--fs-sm); color: var(--text-dimmer); }
|
||||||
|
|
||||||
.empty-strong {
|
.empty-strong {
|
||||||
padding: 32px 20px;
|
padding: var(--space-3xl) 20px;
|
||||||
background: #111827;
|
background: var(--bg-elevated);
|
||||||
border: 1px solid #1e293b;
|
border: 1px solid var(--border);
|
||||||
border-radius: 10px;
|
border-radius: var(--radius-lg);
|
||||||
font-size: 13px;
|
font-size: var(--fs-md);
|
||||||
color: #64748b;
|
color: var(--text-dim);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-bottom: 24px;
|
margin-bottom: 24px;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ── Watch List ──────────────────────────────────────────────────── */
|
/* ── Watch List ──────────────────────────────────────────────────── */
|
||||||
.watch-header {
|
.watch-header { display: flex; align-items: center; gap: 12px; margin-top: 28px; margin-bottom: 12px; }
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 12px;
|
|
||||||
margin-top: 28px;
|
|
||||||
margin-bottom: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.watch-label {
|
.watch-label {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: #94a3b8;
|
color: var(--text-muted);
|
||||||
background: #1e293b;
|
background: var(--bg-card);
|
||||||
padding: 4px 14px;
|
padding: 4px 14px;
|
||||||
border-radius: 20px;
|
border-radius: var(--radius-pill);
|
||||||
}
|
}
|
||||||
|
|
||||||
.watch-sub { font-size: 11px; color: #475569; }
|
.watch-sub { font-size: var(--fs-sm); color: var(--text-dimmer); }
|
||||||
|
|
||||||
/* ── Section ─────────────────────────────────────────────────────── */
|
|
||||||
.section {
|
|
||||||
background: #0d1117;
|
|
||||||
border: 1px solid #1e293b;
|
|
||||||
border-radius: 10px;
|
|
||||||
margin-bottom: 14px;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
/* Watch sections are slightly dimmed — hover to focus */
|
||||||
.watch-section { opacity: 0.75; }
|
.watch-section { opacity: 0.75; }
|
||||||
.watch-section:hover { opacity: 1; transition: opacity 0.2s; }
|
.watch-section:hover { opacity: 1; transition: opacity 0.2s; }
|
||||||
|
|
||||||
.section-header {
|
/* ── Score cell ─────────────────────────────────────────────────── */
|
||||||
display: flex;
|
.score { color: var(--text-dimmer); font-size: var(--fs-sm); }
|
||||||
align-items: center;
|
|
||||||
gap: 10px;
|
|
||||||
padding: 12px 18px;
|
|
||||||
border-bottom: 1px solid #1e293b;
|
|
||||||
background: #111827;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #64748b; margin: 0; }
|
|
||||||
.count { font-size: 10px; color: #334155; background: #1e293b; padding: 2px 7px; border-radius: 20px; }
|
|
||||||
|
|
||||||
/* ── Table ───────────────────────────────────────────────────────── */
|
|
||||||
.table-wrap { overflow-x: auto; }
|
|
||||||
table { width: max-content; min-width: 100%; border-collapse: collapse; }
|
|
||||||
|
|
||||||
thead th {
|
|
||||||
text-align: left;
|
|
||||||
padding: 7px 14px;
|
|
||||||
font-size: 10px;
|
|
||||||
font-weight: 700;
|
|
||||||
text-transform: uppercase;
|
|
||||||
letter-spacing: 0.06em;
|
|
||||||
color: #334155;
|
|
||||||
border-bottom: 1px solid #1e293b;
|
|
||||||
white-space: nowrap;
|
|
||||||
background: #111827;
|
|
||||||
}
|
|
||||||
|
|
||||||
tbody tr { border-bottom: 1px solid #161f2e; }
|
|
||||||
tbody tr:hover { background: #131c2b; }
|
|
||||||
tbody td { padding: 10px 14px; vertical-align: middle; white-space: nowrap; font-size: 13px; }
|
|
||||||
|
|
||||||
.col-ticker,
|
|
||||||
tbody td:first-child { position: sticky; left: 0; background: #0d1117; z-index: 1; }
|
|
||||||
thead .col-ticker { background: #111827; }
|
|
||||||
tbody tr:hover td:first-child { background: #131c2b; }
|
|
||||||
|
|
||||||
.ticker { font-weight: 700; color: #f1f5f9; letter-spacing: 0.02em; }
|
|
||||||
.num { color: #64748b; font-variant-numeric: tabular-nums; font-size: 12px; }
|
|
||||||
.score { color: #475569; font-size: 11px; }
|
|
||||||
|
|
||||||
/* ── Verdict pills ───────────────────────────────────────────────── */
|
|
||||||
.vpill {
|
|
||||||
display: inline-block;
|
|
||||||
padding: 2px 9px;
|
|
||||||
border-radius: 20px;
|
|
||||||
font-size: 11px;
|
|
||||||
font-weight: 700;
|
|
||||||
}
|
|
||||||
.vpill.green { background: #14532d33; color: #4ade80; }
|
|
||||||
.vpill.yellow { background: #71350033; color: #facc15; }
|
|
||||||
.vpill.red { background: #450a0a33; color: #f87171; }
|
|
||||||
|
|
||||||
.error-banner { background: #450a0a55; border: 1px solid #7f1d1d; border-radius: 8px; color: #f87171; padding: 10px 14px; margin-bottom: 16px; font-size: 13px; }
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -0,0 +1,67 @@
|
|||||||
|
@use 'sass:map';
|
||||||
|
|
||||||
|
// ── Shared pill base ─────────────────────────────────────────────────────
|
||||||
|
%pill-base {
|
||||||
|
display: inline-block;
|
||||||
|
font-weight: 700;
|
||||||
|
letter-spacing: 0.06em;
|
||||||
|
padding: 3px 10px;
|
||||||
|
border-radius: var(--radius-pill);
|
||||||
|
}
|
||||||
|
|
||||||
|
// ── Verdict pill ─────────────────────────────────────────────────────────
|
||||||
|
// Unified: replaces both .verdict-pill (screener) and .vpill (safe-buys)
|
||||||
|
|
||||||
|
$verdict-variants: (
|
||||||
|
'green': (color: var(--green), bg: var(--green-bg)),
|
||||||
|
'yellow': (color: var(--yellow), bg: var(--yellow-bg)),
|
||||||
|
'red': (color: var(--red), bg: var(--red-bg)),
|
||||||
|
);
|
||||||
|
|
||||||
|
.verdict-pill {
|
||||||
|
@extend %pill-base;
|
||||||
|
font-size: var(--fs-sm);
|
||||||
|
letter-spacing: 0.02em;
|
||||||
|
|
||||||
|
@each $name, $vals in $verdict-variants {
|
||||||
|
&.#{$name} {
|
||||||
|
background: map.get($vals, 'bg');
|
||||||
|
color: map.get($vals, 'color');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// ── Sentiment pill (LLM sidebar — BULLISH / BEARISH / NEUTRAL) ───────────
|
||||||
|
|
||||||
|
$sentiment-variants: (
|
||||||
|
BULLISH: (color: var(--green), bg: var(--green-bg)),
|
||||||
|
BEARISH: (color: var(--red), bg: var(--red-bg)),
|
||||||
|
NEUTRAL: (color: var(--text-muted), bg: var(--bg-card)),
|
||||||
|
);
|
||||||
|
|
||||||
|
.sentiment-pill {
|
||||||
|
@extend %pill-base;
|
||||||
|
font-size: var(--fs-xs);
|
||||||
|
|
||||||
|
@each $sentiment, $vals in $sentiment-variants {
|
||||||
|
&[data-sentiment='#{$sentiment}'] {
|
||||||
|
background: map.get($vals, 'bg');
|
||||||
|
color: map.get($vals, 'color');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// ── Text colour helpers ───────────────────────────────────────────────────
|
||||||
|
|
||||||
|
$text-colors: (
|
||||||
|
'green': var(--green),
|
||||||
|
'yellow': var(--yellow),
|
||||||
|
'red': var(--red),
|
||||||
|
'orange': var(--orange),
|
||||||
|
);
|
||||||
|
|
||||||
|
@each $name, $color in $text-colors {
|
||||||
|
.text-#{$name} { color: $color; font-weight: 600; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-gray { color: var(--text-dim); }
|
||||||
@@ -0,0 +1,101 @@
|
|||||||
|
// ── Shared placeholders ───────────────────────────────────────────────────
|
||||||
|
|
||||||
|
%btn-disabled {
|
||||||
|
opacity: 0.45;
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
|
||||||
|
%btn-inline-flex {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
// ── Button base reset ─────────────────────────────────────────────────────
|
||||||
|
|
||||||
|
button {
|
||||||
|
cursor: pointer;
|
||||||
|
font-family: inherit;
|
||||||
|
font-size: var(--fs-md);
|
||||||
|
font-weight: 600;
|
||||||
|
border: none;
|
||||||
|
border-radius: var(--radius-md);
|
||||||
|
padding: 10px 18px;
|
||||||
|
white-space: nowrap;
|
||||||
|
transition: background var(--transition), opacity var(--transition), color var(--transition);
|
||||||
|
|
||||||
|
&:disabled { @extend %btn-disabled; }
|
||||||
|
}
|
||||||
|
|
||||||
|
// ── btn-primary (blue filled — "+ New Call", "Save Call") ───────────────
|
||||||
|
|
||||||
|
.btn-primary {
|
||||||
|
@extend %btn-inline-flex;
|
||||||
|
background: var(--blue-dark);
|
||||||
|
color: #fff;
|
||||||
|
gap: 8px;
|
||||||
|
|
||||||
|
&:hover:not(:disabled) { background: var(--blue-darker); }
|
||||||
|
&:disabled { opacity: 0.5; }
|
||||||
|
}
|
||||||
|
|
||||||
|
// ── btn-catalyst (blue filled — "📰 Today Market") ──────────────────────
|
||||||
|
|
||||||
|
.btn-catalyst {
|
||||||
|
@extend %btn-inline-flex;
|
||||||
|
background: var(--blue-dark);
|
||||||
|
color: #fff;
|
||||||
|
gap: 6px;
|
||||||
|
padding: 10px 20px;
|
||||||
|
|
||||||
|
&:hover:not(:disabled) { background: var(--blue-darker); }
|
||||||
|
}
|
||||||
|
|
||||||
|
// ── btn-ghost (dark border — "🔍 Search tickers") ───────────────────────
|
||||||
|
|
||||||
|
.btn-ghost {
|
||||||
|
background: var(--bg-card);
|
||||||
|
color: var(--text-dim);
|
||||||
|
border: 1px solid var(--border-input);
|
||||||
|
font-size: 12px;
|
||||||
|
padding: 8px 14px;
|
||||||
|
|
||||||
|
&:hover { background: #263347; color: var(--text-muted); }
|
||||||
|
}
|
||||||
|
|
||||||
|
// ── btn-screen (muted blue — "Screen" inside search row) ────────────────
|
||||||
|
|
||||||
|
.btn-screen {
|
||||||
|
@extend %btn-inline-flex;
|
||||||
|
background: var(--blue-surface);
|
||||||
|
color: var(--blue-muted);
|
||||||
|
border: 1px solid var(--blue-surface);
|
||||||
|
min-width: 80px;
|
||||||
|
|
||||||
|
&:hover:not(:disabled) { background: #163356; }
|
||||||
|
}
|
||||||
|
|
||||||
|
// ── btn-analyze (ghost blue — "✦ Analyze" in section header) ────────────
|
||||||
|
|
||||||
|
.btn-analyze {
|
||||||
|
@extend %btn-inline-flex;
|
||||||
|
background: transparent;
|
||||||
|
color: #7c93b0;
|
||||||
|
border: 1px solid var(--border);
|
||||||
|
font-size: var(--fs-sm);
|
||||||
|
font-weight: 600;
|
||||||
|
letter-spacing: 0.04em;
|
||||||
|
padding: 4px 12px;
|
||||||
|
border-radius: var(--radius-sm);
|
||||||
|
gap: 5px;
|
||||||
|
margin-left: 8px;
|
||||||
|
white-space: nowrap;
|
||||||
|
|
||||||
|
&:hover:not(:disabled) {
|
||||||
|
background: var(--blue-deep);
|
||||||
|
color: #93c5fd;
|
||||||
|
border-color: var(--blue-surface);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:disabled { @extend %btn-disabled; opacity: 0.4; }
|
||||||
|
}
|
||||||
@@ -0,0 +1,109 @@
|
|||||||
|
// ── Shell & Navigation ────────────────────────────────────────────────────
|
||||||
|
|
||||||
|
.shell {
|
||||||
|
min-height: 100vh;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: var(--space-2xl);
|
||||||
|
padding: 14px 32px;
|
||||||
|
border-bottom: 1px solid var(--border);
|
||||||
|
background: var(--bg-base);
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
.brand { font-size: var(--fs-lg); font-weight: 700; color: var(--text-primary); }
|
||||||
|
|
||||||
|
.links {
|
||||||
|
display: flex;
|
||||||
|
gap: var(--space-xs);
|
||||||
|
margin-left: auto;
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: var(--text-dim);
|
||||||
|
text-decoration: none;
|
||||||
|
padding: 6px 14px;
|
||||||
|
border-radius: var(--radius-sm);
|
||||||
|
font-weight: 500;
|
||||||
|
transition: color var(--transition), background var(--transition);
|
||||||
|
|
||||||
|
// Active and hover share identical styles — one rule
|
||||||
|
&:hover,
|
||||||
|
&.active {
|
||||||
|
color: var(--text-secondary);
|
||||||
|
background: var(--bg-card);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
main { flex: 1; padding: 28px 32px; }
|
||||||
|
|
||||||
|
// ── Navigation progress bar ───────────────────────────────────────────────
|
||||||
|
|
||||||
|
.nav-progress {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
height: 2px;
|
||||||
|
z-index: 100;
|
||||||
|
background: var(--bg-card);
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
|
.nav-bar {
|
||||||
|
height: 100%;
|
||||||
|
background: var(--blue);
|
||||||
|
animation: nav-progress 1.5s ease-in-out infinite;
|
||||||
|
transform-origin: left;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes nav-progress {
|
||||||
|
0% { transform: translateX(-100%) scaleX(0.3); }
|
||||||
|
50% { transform: translateX(0%) scaleX(0.7); }
|
||||||
|
100% { transform: translateX(100%) scaleX(0.3); }
|
||||||
|
}
|
||||||
|
|
||||||
|
// ── Page-load overlay ─────────────────────────────────────────────────────
|
||||||
|
|
||||||
|
.nav-overlay {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 14px;
|
||||||
|
padding: 100px 0;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-spinner {
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
border: 3px solid var(--bg-card);
|
||||||
|
border-top-color: var(--blue);
|
||||||
|
border-radius: 50%;
|
||||||
|
animation: spin 0.7s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-label {
|
||||||
|
font-size: var(--fs-xs);
|
||||||
|
color: var(--text-dimmer);
|
||||||
|
letter-spacing: 0.02em;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes spin { to { transform: rotate(360deg); } }
|
||||||
|
|
||||||
|
// ── Shared loading area ───────────────────────────────────────────────────
|
||||||
|
|
||||||
|
.loading-area {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
padding: 80px 0;
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
// ── Reset & Base ──────────────────────────────────────────────────────────
|
||||||
|
|
||||||
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
||||||
|
background: var(--bg-base);
|
||||||
|
color: var(--text-secondary);
|
||||||
|
font-size: var(--fs-md);
|
||||||
|
}
|
||||||
@@ -0,0 +1,78 @@
|
|||||||
|
// ── Section card ──────────────────────────────────────────────────────────
|
||||||
|
|
||||||
|
.section {
|
||||||
|
background: var(--bg-surface);
|
||||||
|
border: 1px solid var(--border);
|
||||||
|
border-radius: var(--radius-lg);
|
||||||
|
margin-bottom: 16px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.section-header {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 10px;
|
||||||
|
padding: 14px var(--space-xl) 12px;
|
||||||
|
border-bottom: 1px solid var(--border);
|
||||||
|
background: var(--bg-elevated);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Section heading — small caps label style
|
||||||
|
.section h2,
|
||||||
|
.section-header h2 {
|
||||||
|
font-size: var(--fs-sm);
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.08em;
|
||||||
|
color: var(--text-dim);
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// ── Count badge ───────────────────────────────────────────────────────────
|
||||||
|
|
||||||
|
.count {
|
||||||
|
font-size: var(--fs-xs);
|
||||||
|
font-weight: 600;
|
||||||
|
color: var(--text-faint);
|
||||||
|
background: var(--bg-card);
|
||||||
|
padding: 2px 7px;
|
||||||
|
border-radius: var(--radius-pill);
|
||||||
|
}
|
||||||
|
|
||||||
|
// ── Mode tabs (Mkt-Adjusted / Graham) ────────────────────────────────────
|
||||||
|
|
||||||
|
.mode-tabs {
|
||||||
|
display: flex;
|
||||||
|
gap: var(--space-xs);
|
||||||
|
margin-left: auto;
|
||||||
|
|
||||||
|
button {
|
||||||
|
background: transparent;
|
||||||
|
color: var(--text-dimmer);
|
||||||
|
border: 1px solid var(--border);
|
||||||
|
font-size: var(--fs-sm);
|
||||||
|
padding: 4px 12px;
|
||||||
|
border-radius: var(--radius-sm);
|
||||||
|
font-weight: 600;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background var(--transition), color var(--transition);
|
||||||
|
|
||||||
|
&.active {
|
||||||
|
background: var(--blue-surface);
|
||||||
|
color: var(--blue-muted);
|
||||||
|
border-color: var(--blue-surface);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// ── Error banner ──────────────────────────────────────────────────────────
|
||||||
|
|
||||||
|
.error-banner {
|
||||||
|
background: var(--red-deep);
|
||||||
|
border: 1px solid var(--red-border);
|
||||||
|
border-radius: var(--radius-md);
|
||||||
|
color: var(--red);
|
||||||
|
padding: 10px var(--space-lg);
|
||||||
|
margin-bottom: 16px;
|
||||||
|
font-size: var(--fs-md);
|
||||||
|
}
|
||||||
@@ -0,0 +1,91 @@
|
|||||||
|
// ── Shared table styles ───────────────────────────────────────────────────
|
||||||
|
|
||||||
|
.table-wrap {
|
||||||
|
overflow-x: auto;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
width: max-content;
|
||||||
|
min-width: 100%;
|
||||||
|
border-collapse: collapse;
|
||||||
|
|
||||||
|
thead th {
|
||||||
|
text-align: left;
|
||||||
|
padding: 8px var(--space-lg);
|
||||||
|
font-size: var(--fs-xs);
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.06em;
|
||||||
|
color: var(--text-faint);
|
||||||
|
border-bottom: 1px solid var(--border);
|
||||||
|
white-space: nowrap;
|
||||||
|
background: var(--bg-elevated);
|
||||||
|
}
|
||||||
|
|
||||||
|
tbody {
|
||||||
|
tr {
|
||||||
|
border-bottom: 1px solid var(--border-subtle);
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background: var(--bg-card-hover);
|
||||||
|
|
||||||
|
td:first-child { background: var(--bg-card-hover); }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
td {
|
||||||
|
padding: 10px var(--space-lg);
|
||||||
|
vertical-align: middle;
|
||||||
|
white-space: nowrap;
|
||||||
|
font-size: var(--fs-md);
|
||||||
|
|
||||||
|
// Sticky first column (body)
|
||||||
|
&:first-child {
|
||||||
|
position: sticky;
|
||||||
|
left: 0;
|
||||||
|
background: var(--bg-surface);
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Sticky col-ticker (thead — applied via class to support .col-ticker th)
|
||||||
|
.col-ticker {
|
||||||
|
position: sticky;
|
||||||
|
left: 0;
|
||||||
|
background: var(--bg-elevated);
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
// ── Cell helpers ──────────────────────────────────────────────────────────
|
||||||
|
|
||||||
|
.ticker {
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: var(--fs-md);
|
||||||
|
color: var(--text-primary);
|
||||||
|
letter-spacing: 0.02em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.num {
|
||||||
|
color: var(--text-dim);
|
||||||
|
font-variant-numeric: tabular-nums;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
// ── Tag pill (STOCK / ETF / BOND / sector) ────────────────────────────────
|
||||||
|
|
||||||
|
.tag {
|
||||||
|
display: inline-block;
|
||||||
|
background: var(--bg-card);
|
||||||
|
color: var(--text-dim);
|
||||||
|
padding: 2px 8px;
|
||||||
|
border-radius: var(--radius-xs);
|
||||||
|
font-size: var(--fs-xs);
|
||||||
|
font-weight: 600;
|
||||||
|
letter-spacing: 0.04em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
|
||||||
|
&.sm { padding: 1px 6px; }
|
||||||
|
}
|
||||||
@@ -0,0 +1,91 @@
|
|||||||
|
// ── Design Tokens ────────────────────────────────────────────────────────
|
||||||
|
// SCSS maps generate CSS custom properties. Organised by category so new
|
||||||
|
// tokens are easy to locate and add. All runtime theming uses var(--name).
|
||||||
|
|
||||||
|
// Background layers — darkest to lightest
|
||||||
|
$bg: (
|
||||||
|
base: #0f1117, // body, nav background
|
||||||
|
surface: #0d1117, // section cards, sidebar
|
||||||
|
elevated: #111827, // section headers, table headers
|
||||||
|
card: #1e293b, // input bg, tags, summary cards, ctx cards
|
||||||
|
card-hover: #131c2b, // table row hover
|
||||||
|
row-alt: #1a2233, // portfolio table row border
|
||||||
|
);
|
||||||
|
|
||||||
|
// Borders
|
||||||
|
$borders: (
|
||||||
|
border: #1e293b, // primary — cards, sections, inputs
|
||||||
|
border-subtle: #161f2e, // table row separators
|
||||||
|
border-input: #2d3f55, // form input borders
|
||||||
|
);
|
||||||
|
|
||||||
|
// Text — brightest to most muted
|
||||||
|
$text: (
|
||||||
|
text-primary: #f1f5f9, // headings, tickers, card values
|
||||||
|
text-secondary: #e2e8f0, // body text, input values
|
||||||
|
text-muted: #94a3b8, // secondary text, reasons
|
||||||
|
text-dim: #64748b, // labels, table headers, muted values
|
||||||
|
text-dimmer: #475569, // very muted — timestamps, hints
|
||||||
|
text-faint: #334155, // count badge text, column headers
|
||||||
|
);
|
||||||
|
|
||||||
|
// Blue accent ('blue' is a CSS color name — must be quoted)
|
||||||
|
$blues: (
|
||||||
|
'blue': #3b82f6, // focus ring, progress bar, bar-fill
|
||||||
|
'blue-dark': #2563eb, // primary button bg
|
||||||
|
'blue-darker': #1d4ed8, // primary button hover
|
||||||
|
'blue-muted': #60a5fa, // active tab text, edit icon hover
|
||||||
|
'blue-surface': #1e3a5f, // active tab bg, mode tab bg
|
||||||
|
'blue-deep': #0f2240, // analyze button hover bg
|
||||||
|
'blue-badge': #0d1e30, // sidebar header background
|
||||||
|
);
|
||||||
|
|
||||||
|
// Signal / semantic colors (green/yellow/red/orange are CSS color names — must be quoted)
|
||||||
|
$signals: (
|
||||||
|
'green': #4ade80,
|
||||||
|
'green-bg': #14532d33,
|
||||||
|
'yellow': #facc15,
|
||||||
|
'yellow-bg': #71350033,
|
||||||
|
'red': #f87171,
|
||||||
|
'red-bg': #450a0a33,
|
||||||
|
'red-deep': #450a0a55, // error banner bg
|
||||||
|
'red-border': #7f1d1d, // error banner border
|
||||||
|
'orange': #fb923c,
|
||||||
|
);
|
||||||
|
|
||||||
|
// ── Emit all maps as CSS custom properties ───────────────────────────────
|
||||||
|
:root {
|
||||||
|
@each $name, $val in $bg { --bg-#{$name}: #{$val}; }
|
||||||
|
@each $name, $val in $borders { --#{$name}: #{$val}; }
|
||||||
|
@each $name, $val in $text { --#{$name}: #{$val}; }
|
||||||
|
@each $name, $val in $blues { --#{$name}: #{$val}; }
|
||||||
|
@each $name, $val in $signals { --#{$name}: #{$val}; }
|
||||||
|
|
||||||
|
// Typography
|
||||||
|
--fs-2xs: 9px;
|
||||||
|
--fs-xs: 10px;
|
||||||
|
--fs-sm: 11px;
|
||||||
|
--fs-md: 13px;
|
||||||
|
--fs-lg: 15px;
|
||||||
|
--fs-xl: 18px;
|
||||||
|
--fs-2xl: 20px;
|
||||||
|
|
||||||
|
// Border radius
|
||||||
|
--radius-xs: 4px;
|
||||||
|
--radius-sm: 6px;
|
||||||
|
--radius-md: 8px;
|
||||||
|
--radius-lg: 10px;
|
||||||
|
--radius-pill: 20px;
|
||||||
|
|
||||||
|
// Spacing
|
||||||
|
--space-xs: 4px;
|
||||||
|
--space-sm: 8px;
|
||||||
|
--space-md: 12px;
|
||||||
|
--space-lg: 14px;
|
||||||
|
--space-xl: 18px;
|
||||||
|
--space-2xl: 24px;
|
||||||
|
--space-3xl: 32px;
|
||||||
|
|
||||||
|
// Transitions
|
||||||
|
--transition: 0.15s;
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
// ── Root stylesheet — imports all shared token/pattern partials ───────────
|
||||||
|
// Order matters: tokens first (defines CSS custom properties), then reset
|
||||||
|
// (uses tokens on body), then layout patterns.
|
||||||
|
|
||||||
|
@use 'tokens';
|
||||||
|
@use 'reset';
|
||||||
|
@use 'layout';
|
||||||
|
@use 'section';
|
||||||
|
@use 'table';
|
||||||
|
@use 'buttons';
|
||||||
|
@use 'badges';
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 88 B |
Reference in New Issue
Block a user