generated from grafana/grafana-starter-datasource-backend
-
Notifications
You must be signed in to change notification settings - Fork 76
/
Copy pathstyles.ts
68 lines (67 loc) · 1.12 KB
/
styles.ts
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
import { css } from '@emotion/css';
export const styles = {
Common: {
check: css`
margin-top: 5px;
`,
wrapper: css`
position: relative;
width: 100%;
`,
smallBtn: css`
margin-top: 5px;
margin-inline: 5px;
`,
selectWrapper: css`
width: 100%;
`,
inlineSelect: css`
margin-right: 5px;
`,
firstLabel: css`
margin-right: 5px;
`,
expand: css`
position: absolute;
top: 2px;
left: 6px;
z-index: 100;
color: gray;
`,
},
ConfigEditor: {
container: css`
justify-content: space-between;
h5 {
line-height: 34px;
margin-bottom: 5px;
}
button {
margin-right: 5px;
}
`,
wide: css`
width: 75%;
`,
subHeader: css`
padding: 5px 0 5px 0;
`,
},
QueryEditor: {
queryType: css`
justify-content: space-between;
span {
display: flex;
}
`,
inlineField: css`
margin-left: 7px;
`
},
FormatSelector: {
formatSelector: css`
display: flex;
`,
},
VariablesEditor: {},
};