-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5ed21d4
commit c32b509
Showing
2 changed files
with
80 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
import { PaneContent, PaneWrapper } from "../../components" | ||
import styled from "styled-components" | ||
|
||
type SubheaderProps = { | ||
children: React.ReactNode | ||
} | ||
|
||
export const Subheader = styled.nav<SubheaderProps>` | ||
position: relative; | ||
height: 4.5rem; | ||
padding: 0.5rem 0.5rem; | ||
font-size: 12px; | ||
display: flex; | ||
justify-content: space-between; | ||
background: ${({ theme }) => theme.color.backgroundLighter}; | ||
border-block: 1px solid black; | ||
` | ||
|
||
export const NavGroup = styled.section` | ||
display: flex; | ||
gap: 1rem; | ||
height: 100%; | ||
` | ||
|
||
export const Nav = styled.div` | ||
all: unset; | ||
background: ${({ theme }) => theme.color.transparent}; | ||
color: ${({ theme }) => theme.color.foreground}; | ||
display: flex; | ||
align-items: center; | ||
gap: .75rem; | ||
padding: .25rem .75rem; | ||
border-bottom: 1px solid ${({ theme }) => theme.color.transparent}; | ||
&:hover { | ||
border-color: ${({ theme }) => theme.color.selection} | ||
} | ||
` |