Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add initial global search setup #713

Merged
merged 13 commits into from
Dec 22, 2020
26 changes: 21 additions & 5 deletions src/components/PreferencesModal/styled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const SectionControl = styled.div`
`

export const SectionSelect = styled.select`
${selectStyle}
${selectStyle};
padding: 0 16px;
width: 200px;
height: 40px;
Expand All @@ -56,7 +56,7 @@ export const SectionSelect = styled.select`
`

export const SectionPrimaryButton = styled.button`
${primaryButtonStyle}
${primaryButtonStyle};
padding: 0 16px;
height: 40px;
border-radius: 2px;
Expand All @@ -66,7 +66,7 @@ export const SectionPrimaryButton = styled.button`
`

export const SectionSecondaryButton = styled.button`
${secondaryButtonStyle}
${secondaryButtonStyle};
padding: 0 16px;
height: 40px;
border-radius: 2px;
Expand All @@ -75,7 +75,7 @@ export const SectionSecondaryButton = styled.button`
`

export const SectionInput = styled.input`
${inputStyle}
${inputStyle};
padding: 0 16px;
width: 200px;
height: 40px;
Expand All @@ -96,11 +96,27 @@ export const TopMargin = styled.div`
`

export const DeleteStorageButton = styled.button`
${secondaryButtonStyle}
${secondaryButtonStyle};
padding: 0 16px;
height: 40px;
border-radius: 2px;
cursor: pointer;
vertical-align: middle;
align-items: center;
`

export const SectionListSelect = styled.div`
${selectStyle};
padding: 0 16px;
width: 200px;
height: 40px;
border-radius: 2px;
font-size: 14px;
`

export const SearchMatchHighlight = styled.span`
background-color: ${({ theme }) => theme.searchHighlightBackgroundColor};
color: ${({ theme }) => theme.searchHighlightTextColor};

padding: 2px;
`
Loading