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
49 lines (42 loc) · 913 Bytes
/
styles.ts
File metadata and controls
49 lines (42 loc) · 913 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
43
44
45
46
47
48
49
import { css } from 'emotion'
export const operator = (borderColor: string) => css`
flex: 1;
display: flex;
flex-direction: column;
padding: 0 var(--padding-4);
cursor: default;
border: 1px solid var(--color-dark-1);
background-color: var(--color-dark-2);
border-radius: var(--border-radius-1);
`
export const operatorClickable = css`
cursor: pointer;
`
export const operatorType = css`
color: var(--color-white-4);
`
export const chevron = css`
color: var(--color-white-4);
`
export const notVisible = css`
visibility: hidden;
`
export const operatorHeader = css`
display: flex;
align-items: center;
> *:first-child {
margin-right: 10px;
}
> *:nth-child(3) {
margin-left: auto;
color: var(--color-white-2);
}
`
export const operatorItem = css`
display: flex;
align-items: center;
margin-bottom: var(--padding-3);
> * {
margin-right: 10px;
}
`