forked from cerebral/overmind
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.ts
More file actions
42 lines (37 loc) · 795 Bytes
/
styles.ts
File metadata and controls
42 lines (37 loc) · 795 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
33
34
35
36
37
38
39
40
41
42
import { css } from 'emotion'
export const wrapper = css`
display: flex;
flex-direction: column;
padding: var(--padding-5);
height: 100%;
box-sizing: border-box;
overflow-y: scroll;
`
export const panels = css`
display: flex;
justify-content: space-around;
`
export const panel = css`
padding: var(--padding-2);
> span {
margin: 0 var(--padding-2);
}
`
export const componentContainer = (canExpand: boolean) => css`
position: relative;
display: flex;
align-items: center;
cursor: pointer;
background-color: ${canExpand ? 'var(--color-dark-3)' : 'transparent'};
> div {
flex: 1;
}
> p {
position: absolute;
top: var(--padding-2);
right: var(--padding-3);
}
`
export const statsContainer = css`
margin-bottom: var(--padding-5);
`