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
32 lines (28 loc) · 789 Bytes
/
elements.tsx
File metadata and controls
32 lines (28 loc) · 789 Bytes
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
import styled from '../../styled-components'
export const Wrapper = styled.div`
padding: ${({ theme }) => theme.padding.normal};
background-color: ${({ theme }) => theme.color.fade(theme.color.white, 0.1)};
overflow-y: scroll;
`
export const Container = styled.div``
export const Pipe = styled.div`
display: flex;
align-items: center;
margin: ${({ theme }) => `${theme.padding.small} 0`};
`
export const ExpandAll = styled<
{
isActive: boolean
},
'div'
>('div')`
display: flex;
justify-content: flex-end;
font-size: ${({ theme }) => theme.fontSize.small};
cursor: pointer;
color: ${({ theme }) => theme.color.black};
opacity: ${({ isActive }) => (isActive ? '1' : '0.5')};
:hover {
opacity: ${({ isActive }) => (isActive ? '1' : '0.75')};
}
`