This repository has been archived by the owner on Nov 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(client): use new popover in formulaMenu
- Loading branch information
1 parent
0bab18f
commit 1caeb27
Showing
9 changed files
with
162 additions
and
81 deletions.
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
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
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,27 @@ | ||
import { theme, styled } from '../../../themes' | ||
|
||
export const PopoverWrapper = styled('div', { | ||
position: 'relative', | ||
display: 'inline' | ||
}) | ||
|
||
export const ChildWrapper = styled('button', { | ||
position: 'relative', | ||
border: 'none', | ||
background: 'transparent', | ||
padding: 0 | ||
}) | ||
|
||
export const ContentWrapper = styled('div', { | ||
include: ['ceramicPrimary', 'refractionPrimary', 'cornerFix'], | ||
backgroundColor: theme.colors.white, | ||
backgroundClip: 'padding-box', | ||
color: theme.colors.typePrimary, | ||
padding: '10px 12px', | ||
minHeight: '2rem', | ||
borderRadius: '4px', | ||
minWidth: '10rem', | ||
// The outline here should appear internally | ||
outline: `0.2px solid ${theme.colors.white}`, | ||
outlineOffset: '-0.2px' | ||
}) |
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
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