feat: better navbar background

This commit is contained in:
tresabhi committed 2025-04-24 20:07:17 -05:00
1 parent 9f79f9c1e8
commit efe6d2b1a5
1 file changed
+12 -2
+12 -2
View File
@@ -29,6 +29,16 @@ const strings = getStrings(locale);
height: 100%; height: 100%;
} }
.navbar[data-expanded='false'] .content {
background-color: var(--black-a8);
backdrop-filter: blur(4rem);
box-shadow: var(--shadow-5);
}
.navbar[data-expanded='true'] .content {
background-color: var(--gray-1);
}
.navbar[data-expanded='true'] *[data-closed] { .navbar[data-expanded='true'] *[data-closed] {
display: none; display: none;
} }
@@ -64,11 +74,11 @@ const strings = getStrings(locale);
}} }}
> >
<Flex <Flex
className="content"
width="100%" width="100%"
p={{ initial: '4', sm: '3' }} p={{ initial: '4', sm: '3' }}
direction="column" direction="column"
align="center" align="center"
style={{ backgroundColor: Var('gray-1') }}
> >
<Flex gap="4" direction="column" maxWidth="80rem" width="100%"> <Flex gap="4" direction="column" maxWidth="80rem" width="100%">
<Flex align="center"> <Flex align="center">
@@ -208,7 +218,7 @@ const strings = getStrings(locale);
justify="end" justify="end"
flexGrow="1" flexGrow="1"
style={{ style={{
background: `linear-gradient(90deg, transparent, ${Var('gray-1')})`, background: `linear-gradient(90deg, transparent, ${Var('gray-1')} 90%)`,
}} }}
> >
{toolStrings.name} {toolStrings.name}