forked from cerebral/overmind
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelements.tsx
More file actions
45 lines (41 loc) · 1.03 KB
/
elements.tsx
File metadata and controls
45 lines (41 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import styled from '../../styled-components'
export const List = styled.div`
border-right: 1px solid
${({ theme }) => theme.color.fade(theme.color.black, 0.9)};
`
export const ActionItem = styled.div`
position: relative;
padding: ${({ theme }) => theme.padding.smallerer};
cursor: pointer;
text-indent: 15px;
border-bottom: 1px solid
${({ theme }) => theme.color.fade(theme.color.black, 0.9)};
:hover {
background-color: ${({ theme }) =>
theme.color.fade(theme.color.black, 0.95)};
}
`
export const ActionColor = styled<
{
color: string
},
'span'
>('span')`
position: absolute;
top: 0;
left: 0;
width: 10px;
height: 100%;
background-color: ${({ color }) => color};
`
export const ActionSubItem = styled.div`
padding: ${({ theme }) => theme.padding.smallerer};
cursor: pointer;
text-indent: 15px;
border-bottom: 1px solid
${({ theme }) => theme.color.fade(theme.color.black, 0.9)};
:hover {
background-color: ${({ theme }) =>
theme.color.fade(theme.color.black, 0.95)};
}
`