-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.scss
127 lines (108 loc) · 1.84 KB
/
index.scss
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
$background: #212C31;
$select-back: #3A444B;
$action-color: #AEB4B7;
$normal: #E9ECEC;
$keyword: #AA1BC8;
$function: #3B79B8;
$string: #4F8400;
$regex: #606CD6;
$numeric: #AB6400;
$operator: #3D808A;
$muted: #9FA5A5;
$default-font-size: 16px;
$default-line-height: 19px;
.nrql-editor {
display: flex;
flex-direction: column;
background-color: $background;
border-radius: 4px;
}
.account-picker {
display: flex;
width: 200px;
padding: 8px;
select, button {
background-color: $select-back;
color: $normal;
box-shadow: none;
svg {
fill: #FFFFFF;
}
}
select {
left: 0;
}
}
.color-coded-nrql {
display: block;
overflow: hidden;
box-sizing: border-box;
&::before, &::after {
box-sizing: border-box;
}
* {
box-sizing: border-box;
&::before, &::after {
box-sizing: border-box;
}
}
}
.editor {
position: relative;
height: 60px;
display: block;
}
.entry, .display {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 8px;
background: transparent;
border: none;
white-space: pre-wrap;
word-wrap: break-word;
font: $default-font-size monospace;
line-height: $default-line-height;
}
.entry {
opacity: 0.6;
margin: 0;
resize: none;
color: transparent;
caret-color: $normal;
}
.display {
pointer-events: none;
z-index: 3;
margin: 0;
overflow-y: auto;
code {
position: absolute;
top: 0;
left: 0;
margin: 0;
padding: 8px;
display: block;
color: $normal;
font: $default-font-size monospace;
padding-bottom: $default-line-height;
}
}
.actions {
display: flex;
border-top: 1px solid $select-back;
color: $normal;
align-items: center;
gap: 8px;
padding: 8px;
}
.bump-right {
margin-left: auto;
}
.small-button {
min-height: 24px;
min-width: 24px;
padding: 4px 8px;
}