mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
18 lines
425 B
TypeScript
18 lines
425 B
TypeScript
import type {Theme} from '@emotion/react';
|
|
import {css} from '@emotion/react';
|
|
|
|
const SidebarDropdownMenu = (p: {theme: Theme}) => css`
|
|
position: absolute;
|
|
background: ${p.theme.background};
|
|
color: ${p.theme.textColor};
|
|
border-radius: 4px;
|
|
box-shadow:
|
|
0 0 0 1px rgba(0, 0, 0, 0.08),
|
|
0 4px 20px 0 rgba(0, 0, 0, 0.3);
|
|
padding: 5px 0;
|
|
width: 250px;
|
|
z-index: 1000;
|
|
`;
|
|
|
|
export default SidebarDropdownMenu;
|