1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | @import "variables";
|
11 |
|
12 | .bordered() {
|
13 | border-color: @border-color;
|
14 | border-width: 0 0 1px 0;
|
15 | }
|
16 |
|
17 | .selected_indicator() {
|
18 | font-size: 12px;
|
19 | }
|
20 |
|
21 | :host {
|
22 | display: block;
|
23 |
|
24 | .row_computed {
|
25 | display: none;
|
26 | flex-direction: row;
|
27 | }
|
28 | }
|
29 |
|
30 | .dropping * {
|
31 | pointer-events: none;
|
32 | }
|
33 |
|
34 | :host #psp_row {
|
35 | display: var(--psp_row-display, flex);
|
36 | margin: var(--psp_row-margin, 0);
|
37 | overflow: visible;
|
38 | align-items: var(--column_selector--align-items, center);
|
39 | width: auto !important;
|
40 | height: auto !important;
|
41 | float: none !important;
|
42 | }
|
43 |
|
44 | :host .is_visible {
|
45 | width: var(--column_selector--width, 20px);
|
46 | min-width: var(--column_selector--width, 20px);
|
47 | height: var(--is_visible--height, auto);
|
48 | cursor: var(--is_visible--cursor, pointer);
|
49 | font-size: var(--column_selector--font-size, 14px);
|
50 | margin-top: -2px;
|
51 | display: var(--is_visible-display, none);
|
52 | }
|
53 |
|
54 | :host #sort_order {
|
55 | display: none;
|
56 | font-family: var(--button--font-family, inherit);
|
57 | margin-right: 4px;
|
58 | &:before {
|
59 | content: var(--row-sort-order--before, "-");
|
60 | }
|
61 | &:hover {
|
62 | color: var(--active--color, inherit);
|
63 | }
|
64 | }
|
65 |
|
66 | :host {
|
67 | #filter_operand {
|
68 | display: var(--filter_operand-display, none);
|
69 | margin: 0;
|
70 | padding: 0px;
|
71 | height: 19px;
|
72 | color: inherit;
|
73 | outline: none;
|
74 | border-color: var(--inactive--color, #ccc);
|
75 | }
|
76 |
|
77 | #filter_operator {
|
78 | margin: 0 0 0 15px;
|
79 | display: var(--filter_operator-display, none);
|
80 | height: 17px;
|
81 | &:hover {
|
82 | color: var(--active--color, inherit);
|
83 | }
|
84 | }
|
85 |
|
86 | #sort_order {
|
87 | cursor: pointer;
|
88 | width: 10px;
|
89 | }
|
90 | }
|
91 |
|
92 | :host {
|
93 |
|
94 |
|
95 |
|
96 |
|
97 | select {
|
98 | margin-left: 15px;
|
99 | padding-right: 15px;
|
100 | cursor: pointer;
|
101 | }
|
102 | }
|
103 |
|
104 | @keyframes expand2 {
|
105 | from {
|
106 | transform: translateX(10px);
|
107 | }
|
108 | }
|
109 |
|
110 | @keyframes expand3 {
|
111 | from {
|
112 | transform: scale(0.9);
|
113 | }
|
114 | }
|
115 |
|
116 | :host(:hover) .is_visible {
|
117 | color: var(--active--color, --column-selector--color);
|
118 | }
|
119 |
|
120 | :host {
|
121 | border: 0px solid rgba(0, 0, 0, 0);
|
122 |
|
123 | #row_close {
|
124 | display: var(--row_close-display, inline);
|
125 | cursor: pointer;
|
126 | min-width: 5px;
|
127 | max-width: 5px;
|
128 | margin-right: 3px;
|
129 | flex-grow: 0;
|
130 | font-size: 10px;
|
131 | margin-left: 3px;
|
132 | }
|
133 |
|
134 | .is_visible:before {
|
135 | content: var(--is_visible--before, none);
|
136 | }
|
137 |
|
138 | .is_visible {
|
139 | color: var(--column-selector--color, #999);
|
140 | font-family: var(--column-selector--font-family, Arial) !important;
|
141 | }
|
142 |
|
143 | #sort_order {
|
144 | display: var(--sort_order-display, none);
|
145 | padding: var(--sort_order-padding, 0);
|
146 | }
|
147 |
|
148 | #row_exclamation {
|
149 | color: red;
|
150 | }
|
151 |
|
152 | #row_close {
|
153 | color: #999;
|
154 | font-family: Arial;
|
155 | font-size: 10px;
|
156 | &:hover {
|
157 | color: var(--active--color, inherit);
|
158 | }
|
159 | }
|
160 | #column_aggregate {
|
161 | font-family: Arial;
|
162 | }
|
163 |
|
164 | .row_draggable select {
|
165 | border: none;
|
166 | }
|
167 |
|
168 | .row_draggable select:focus {
|
169 | outline: none;
|
170 | }
|
171 |
|
172 | select::-ms-expand {
|
173 | display: none;
|
174 | }
|
175 |
|
176 | select {
|
177 | -webkit-appearance: none;
|
178 | -moz-appearance: none;
|
179 | -ms-appearance: none;
|
180 | appearance: none;
|
181 | background: var(
|
182 | --select--background,
|
183 | url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgNC45IDEwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0LjkgMTA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7ZmlsbDojQUFBQUFBO30KPC9zdHlsZT4KPHRpdGxlPmFycm93czwvdGl0bGU+Cjxwb2x5Z29uIGNsYXNzPSJzdDAiIHBvaW50cz0iMS40LDQuNyAyLjUsMy4yIDMuNSw0LjcgIi8+Cjxwb2x5Z29uIGNsYXNzPSJzdDAiIHBvaW50cz0iMy41LDUuMyAyLjUsNi44IDEuNCw1LjMgIi8+Cjwvc3ZnPg==)
|
184 | no-repeat 95% 50%
|
185 | );
|
186 | background-color: var(--select--background-color, white);
|
187 | color: inherit;
|
188 | border-radius: 5px;
|
189 | height: 24px;
|
190 | padding: var(--column_type--padding, 0px 0px 0px 5px);
|
191 | font-size: 12px;
|
192 | }
|
193 |
|
194 | .awesomplete > ul {
|
195 | border-radius: 0px;
|
196 | margin: 0px;
|
197 | border: none;
|
198 | transition: none !important;
|
199 | background: var(--plugin--background, #fff) !important;
|
200 | }
|
201 |
|
202 | .awesomplete > ul:before {
|
203 | content: none;
|
204 | }
|
205 |
|
206 | .awesomplete > input,
|
207 | input {
|
208 | .bordered();
|
209 | box-sizing: border-box;
|
210 | background-color: transparent;
|
211 | }
|
212 |
|
213 | .row_draggable {
|
214 | animation: var(--row_draggable--animation, expand2 0.5s ease-out);
|
215 | cursor: move;
|
216 | border-style: solid;
|
217 | background-color: var(--row_draggable-background-color, none);
|
218 | overflow: var(--row_draggable-overflow, visible);
|
219 | border-color: var(--row_draggable-border-color, none);
|
220 | border-width: var(--row_draggable-border-width, 0);
|
221 | padding: var(--row_draggable-padding, 0);
|
222 | font-size: 12px;
|
223 | flex-grow: 1;
|
224 | color: inherit;
|
225 | transition: height 0.2s;
|
226 | box-sizing: border-box;
|
227 | height: var(--row_draggable-height, 21px);
|
228 | min-height: var(--row_draggable-height, 21px);
|
229 | display: var(--row_draggable-display, flex);
|
230 | align-items: var(--row-draggable--align-items);
|
231 | flex-direction: var(--row-draggable--flex-direction, column);
|
232 | justify-content: var(--row_draggable--justify-content, center);
|
233 | margin: var(--row_draggable--margin, 0);
|
234 | transition: var(--row_draggable--transition, none);
|
235 |
|
236 | * {
|
237 | opacity: var(--row_draggable_children-opacity, 1);
|
238 | }
|
239 |
|
240 | select {
|
241 | margin: 0px 0px 0px 27px;
|
242 | }
|
243 | }
|
244 |
|
245 | ul {
|
246 | transition: background-color 0.2s, border-color 0.2s;
|
247 | }
|
248 | }
|
249 |
|
250 | :host(.null-column) {
|
251 | .is_visible {
|
252 | opacity: 0 !important;
|
253 | }
|
254 | .row_draggable {
|
255 | background-color: var(--null--background, transparent) !important;
|
256 | border-color: @border-color !important;
|
257 | border-width: 0 0 1px 0 !important;
|
258 | }
|
259 | }
|
260 |
|
261 | :host([drop-target]) {
|
262 | .row_draggable {
|
263 | background-color: var(
|
264 | --active--background,
|
265 | rgb(240, 240, 255)
|
266 | ) !important;
|
267 | animation: var(
|
268 | --drop-target--animation,
|
269 | var(--row_draggable--animation, expand3 0.5s ease-out)
|
270 | );
|
271 | border: var(--active--border, solid #1078d1) !important;
|
272 | }
|
273 | }
|
274 |
|
275 | :host {
|
276 | .integer:before,
|
277 | .float:before {
|
278 | content: var(
|
279 | --float--column-type--content,
|
280 | var(--column-type--content, "123")
|
281 | );
|
282 | color: var(
|
283 | --float--column-type--color,
|
284 | var(--column-type--color, #016bc6)
|
285 | );
|
286 | }
|
287 |
|
288 | .string:before {
|
289 | content: var(
|
290 | --string--column-type--content,
|
291 | var(--column-type--content, "abc")
|
292 | );
|
293 | color: var(
|
294 | --string--column-type--color,
|
295 | var(--column-type--color, #fe9292)
|
296 | );
|
297 | }
|
298 |
|
299 | .boolean:before {
|
300 | content: var(
|
301 | --boolean--column-type--content,
|
302 | var(--column-type--content, "t/f")
|
303 | );
|
304 | color: var(
|
305 | --boolean--column-type--color,
|
306 | var(--column-type--color, #999999)
|
307 | );
|
308 | }
|
309 |
|
310 | .date:before {
|
311 | content: var(
|
312 | --date--column-type--content,
|
313 | var(--column-type--content, "mdy")
|
314 | );
|
315 | color: var(
|
316 | --date--column-type--color,
|
317 | var(--column-type--color, #999999)
|
318 | );
|
319 | }
|
320 |
|
321 | .datetime:before {
|
322 | content: var(
|
323 | --datetime--column-type--content,
|
324 | var(--column-type--content, "mdy")
|
325 | );
|
326 | color: var(
|
327 | --datetime--column-type--color,
|
328 | var(--column-type--color, #999999)
|
329 | );
|
330 | }
|
331 | }
|
332 |
|
333 | .column_row() {
|
334 | font-family: var(--interface-monospace--font-family, monospace);
|
335 | position: relative;
|
336 | display: inline-block;
|
337 | padding: var(--column_type--padding, 0px 5px);
|
338 | min-width: 18px;
|
339 | }
|
340 |
|
341 | :host .column_name {
|
342 | overflow: hidden;
|
343 | max-width: var(--column_name-max-width, none);
|
344 | white-space: nowrap;
|
345 | text-overflow: ellipsis;
|
346 | }
|
347 |
|
348 | :host span#name:before {
|
349 | .column_row();
|
350 | display: var(--name-before-display, none);
|
351 | width: var(--column_type--width, auto);
|
352 | }
|
353 |
|
354 | :host #column_aggregate {
|
355 | display: var(--column_aggregate-display, none);
|
356 | font-size: 10px;
|
357 | font-family: @sans-serif-fonts;
|
358 | width: 88%;
|
359 | height: 20px;
|
360 | }
|
361 |
|
362 | :host span#name {
|
363 | flex: var(--column-name--flex, 0 1 auto);
|
364 | width: 100%;
|
365 | white-space: nowrap;
|
366 | margin: var(--column_name-margin, 0);
|
367 | }
|