mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 08:21:39 -06:00
style(client): add topbar glow, sidebar shadow, and view toggle controls
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
@@ -327,6 +327,15 @@ html.radius-rounded {
|
|||||||
--shadow-2xl: var(--elevation-2xl);
|
--shadow-2xl: var(--elevation-2xl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.glow-wrapper {
|
||||||
|
background-image:
|
||||||
|
url('/topbar.png'), radial-gradient(50% 50% at center -25px, color-mix(in oklch, var(--primary) 35%, transparent) 0%, transparent 100%);
|
||||||
|
background-blend-mode: hard-light, color-dodge;
|
||||||
|
background-position: top;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: auto 12rem;
|
||||||
|
}
|
||||||
|
|
||||||
@layer base {
|
@layer base {
|
||||||
* {
|
* {
|
||||||
@apply border-border outline-ring/50;
|
@apply border-border outline-ring/50;
|
||||||
|
|||||||
@@ -22,7 +22,11 @@ const navItems = [
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Sidebar collapsible="icon" style="--sidebar-border: color-mix(in oklch, var(--primary) 18%, transparent)">
|
<Sidebar
|
||||||
|
collapsible="icon"
|
||||||
|
style="--sidebar-border: color-mix(in oklch, var(--primary) 18%, transparent)"
|
||||||
|
class="[&>div:last-child]:shadow-[4px_0_12px_-2px_oklch(0_0_0/0.08)]"
|
||||||
|
>
|
||||||
<SidebarHeader class="border-b border-sidebar-border">
|
<SidebarHeader class="border-b border-sidebar-border">
|
||||||
<div class="flex items-center gap-2.5 px-1 py-1">
|
<div class="flex items-center gap-2.5 px-1 py-1">
|
||||||
<!-- Logo mark -->
|
<!-- Logo mark -->
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ watch(search, () => {
|
|||||||
<SidebarProvider>
|
<SidebarProvider>
|
||||||
<AppSidebar />
|
<AppSidebar />
|
||||||
|
|
||||||
<SidebarInset class="flex flex-col min-h-screen">
|
<SidebarInset class="flex flex-col min-h-screen glow-wrapper">
|
||||||
<AppHeader
|
<AppHeader
|
||||||
title="Library"
|
title="Library"
|
||||||
:total="total"
|
:total="total"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
{
|
{
|
||||||
"idx": 0,
|
"idx": 0,
|
||||||
"version": "7",
|
"version": "7",
|
||||||
"when": 1766491316570,
|
"when": 1766491765889,
|
||||||
"tag": "0000_init_schema",
|
"tag": "0000_init_schema",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user