react-graph-grid 0.1.11 → 0.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,16 +4,15 @@ A React package containing a grid that can communicate with other grids through
4
4
 
5
5
  For all questions, please contact rmb@mail.ru
6
6
 
7
- Installation
7
+ ## Installation
8
8
 
9
9
  npm install react-grpah-grid
10
10
 
11
11
 
12
- Example
13
-
14
- import { GridCD } from '../../node_modules/react-graph-grid/src/GridCD';
15
- import TestData from '../../node_modules/react-graph-grid/src/Tests/TestData';
12
+ ## Example
16
13
 
14
+ import { GridCD, TestData } from 'react-grpah-grid';
15
+
17
16
  ...
18
17
 
19
18
  /*
@@ -23,7 +22,7 @@ Example
23
22
  * Id: 1,
24
23
  * Name: 'Mikle',
25
24
  * SecondName: 'Razumtsev',
26
- * Date: '26/01/1979'
25
+ * Date: '26/01/1979',
27
26
  * Comment: 'Me',
28
27
  * Hometown: 'Voronezh',
29
28
  * HometownId: 1,
@@ -32,7 +31,7 @@ Example
32
31
  * Id: 2,
33
32
  * Name: 'Boris',
34
33
  * SecondName: 'Razumtsev',
35
- * Date: '14/06/1953'
34
+ * Date: '14/06/1953',
36
35
  * Comment: 'Father',
37
36
  * Hometown: 'Grafskaya',
38
37
  * HometownId: 2,
@@ -41,7 +40,7 @@ Example
41
40
  * Id: 3,
42
41
  * Name: 'Ilia',
43
42
  * SecondName: 'Razumtsev',
44
- * Date: '16/09/1980'
43
+ * Date: '16/09/1980',
45
44
  * Comment: 'Brother',
46
45
  * Hometown: 'Pskov',
47
46
  * HometownId: 4,
@@ -56,6 +55,7 @@ Example
56
55
  *
57
56
  */
58
57
 
58
+
59
59
  function loadRows(e) {
60
60
  return new Promise(function (resolve, reject) {
61
61
  const fetchParams = {
@@ -117,7 +117,7 @@ Example
117
117
  allowEdit={true}
118
118
  />
119
119
 
120
- Some grid properties
120
+ ## Some grid properties
121
121
 
122
122
  uid - grid uid
123
123
  keyField - primary key
@@ -152,12 +152,12 @@ Some grid properties
152
152
  }
153
153
 
154
154
 
155
- For more examples see DebugApp.jsx
155
+ ## For more examples see DebugApp.jsx
156
156
 
157
157
  Your App.jsx should look like this
158
158
 
159
- import DebugApp from 'react-graph-grid'
160
- import 'default.css'
159
+ import { DebugApp } from 'react-graph-grid';
160
+ import 'react-graph-grid/src/css/default.css';
161
161
 
162
162
  function App() {
163
163
  return (
@@ -170,6 +170,10 @@ For more examples see DebugApp.jsx
170
170
  export default App
171
171
 
172
172
 
173
+ 0.1.12 version
174
+
175
+ readme and css changes
176
+
173
177
  0.1.4 - 0.1.11 version
174
178
 
175
179
  package.json changes
@@ -200,5 +204,4 @@ For more examples see DebugApp.jsx
200
204
 
201
205
  0.0.5 version
202
206
 
203
- "Adjust column visibility" option added to GridFE.jsx module
204
-
207
+ "Adjust column visibility" option added to GridFE.jsx module
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
- {
1
+ {
2
2
  "name": "react-graph-grid",
3
3
  "author": "Mikhail Razumtsev",
4
- "version": "0.1.11",
4
+ "version": "0.1.12",
5
5
  "private": false,
6
6
  "description": "A React package containing a grid that can communicate with other grids through a connection graph",
7
7
  "keywords": [
@@ -1,8 +1,4 @@
1
1
  export class TestData {
2
-
3
- //constructor() {
4
- //}
5
-
6
2
  getFamily(e) {
7
3
  e = e || { grid: {} };
8
4
 
@@ -30,14 +26,12 @@
30
26
  { Id: 21, ParentId: [11, 23], Name: 'Tanya', SecondName: 'Dolginova', Date: '07/01/1963', Comment: 'Tetya', Hometown: 'Elista', HometownId: 5 },
31
27
  { Id: 22, ParentId: [0], Name: 'Misha', SecondName: 'Razumtsev', Date: '05/11/1918', Comment: 'Ded', Hometown: 'Grafskaya', HometownId: 2 },
32
28
  { Id: 23, ParentId: [0], Name: 'Zambo', SecondName: 'Dolginov', Date: '24/04/1926', Comment: 'Ded 2', Hometown: 'Elista', HometownId: 5 },
33
-
34
29
  { Id: 24, ParentId: [18, 34], Name: 'Alina', SecondName: 'Ushakova', Date: '??/??/????', Comment: 'Dv. Sister', Hometown: 'Elista', HometownId: 5 },
35
30
  { Id: 25, ParentId: [19, 33], Name: 'Igor', SecondName: 'Shaula', Date: '??/??/????', Comment: 'Dv. Brother', Hometown: 'Energodar', HometownId: 14 },
36
31
  { Id: 26, ParentId: [19, 33], Name: 'Dima', SecondName: 'Shaula', Date: '??/??/????', Comment: 'Dv. Brother', Hometown: 'Energodar', HometownId: 14 },
37
32
  { Id: 27, ParentId: [20, 35], Name: 'Olga', SecondName: 'Dolginova', Date: '??/??/????', Comment: 'Dv. Sister', Hometown: 'Elista', HometownId: 5 },
38
33
  { Id: 28, ParentId: [20, 35], Name: 'Venia', SecondName: 'Dolginov', Date: '??/??/????', Comment: 'Dv. Brother', Hometown: 'Elista', HometownId: 5 },
39
34
  { Id: 29, ParentId: [20, 36], Name: 'Oleg', SecondName: 'Dolginov', Date: '10/11/????', Comment: 'Dv. Brother', Hometown: 'Elista', HometownId: 5 },
40
-
41
35
  { Id: 30, ParentId: [0], Name: 'Yura', SecondName: 'Pelushskiy', Date: '??/??/1921', Comment: 'Dv. Ded', Hometown: 'Ustyuzhna', HometownId: 9 },
42
36
  { Id: 31, ParentId: [0], Name: 'Sanal', SecondName: 'Batyrev', Date: '11/06/????', Comment: 'Muzh Sestry 3', Hometown: 'Elista', HometownId: 5 },
43
37
  { Id: 32, ParentId: [0], Name: 'Dima', SecondName: 'Markelov', Date: '??/??/????', Comment: 'Muzh Sestry 2', Hometown: 'Elista', HometownId: 5 },
@@ -1,945 +0,0 @@
1
- body {
2
- }
3
-
4
- .modal-window-wnd {
5
- border-radius: 3px;
6
- overflow: hidden;
7
- background: white;
8
- border: 1px solid lightgray;
9
- }
10
-
11
- .modal-window-header {
12
- padding: 5px 10px 0;
13
- display: flex;
14
- flex-wrap: nowrap;
15
- justify-content: space-between;
16
- align-items: center;
17
- }
18
-
19
- .modal-window-header > h4 {
20
- white-space: nowrap;
21
- overflow: hidden;
22
- margin-left: 1.5em;
23
- }
24
-
25
- .modal-window-header > button {
26
- border: 0;
27
- background: 0 0;
28
- font-size: 21px;
29
- font-weight: 700;
30
- line-height: 1;
31
- opacity: 0.2;
32
- }
33
-
34
- .modal-window-header > button:hover:not(:disabled) {
35
- opacity: 1;
36
- cursor: pointer;
37
- }
38
-
39
- .modal-window-body {
40
- padding: 0 10px;
41
- height: 100%;
42
- overflow: auto;
43
- }
44
-
45
- .modal-window-footer {
46
- padding: 10px;
47
- justify-content: flex-end !important;
48
- }
49
-
50
- .modal-window-footer-button {
51
- padding: 2px 5px;
52
- margin: 5px;
53
- white-space: nowrap;
54
- overflow: hidden;
55
- }
56
-
57
- .modal-window-footer-button:hover:not(:disabled) {
58
- background-color: lightgray;
59
- cursor: pointer;
60
- }
61
-
62
- .overlay-default {
63
- flex-direction: column;
64
- justify-content: space-between;
65
- }
66
-
67
- .grid-div {
68
- overflow-x: auto;
69
- overflow-y: hidden;
70
- }
71
-
72
- .grid-default {
73
- /*border-collapse: collapse;*/
74
- table-layout: fixed !important;
75
- border-spacing: 0;
76
- /*border: solid 1px;*/
77
- }
78
-
79
- .grid-default > tr > td,
80
- .grid-default > tbody > tr > td {
81
- border: solid;
82
- border-width: 0 0 1px 1px;
83
- /*overflow-x: hidden;*/
84
- white-space: nowrap;
85
- text-overflow: clip;
86
- vertical-align: middle;
87
- /*white-space-collapse: collapse;*/
88
- }
89
-
90
- .grid-default > tr > td:last-child,
91
- .grid-default > tbody > tr > td:last-child {
92
- border-width: 0 1px 1px 1px;
93
- }
94
-
95
- .grid-default > tr > td.grid-waiting,
96
- .grid-default > tbody > tr > td.grid-waiting {
97
- border-width: 0;
98
- /*background-color: rgb(235, 235, 235);*/
99
- }
100
-
101
- .grid-default > tr > th,
102
- .grid-default > thead > tr > th {
103
- background-color: white;
104
- border: solid;
105
- border-width: 1px 0 1px 1px;
106
- /*border: none;*/
107
- /*box-shadow: inset 1px 0 0 0 gray, inset -1px -1px 0 0 gray;*/
108
- /*box-shadow: inset 0 -1px 0 0 gray;*/
109
- /*border-width: 0 1px 0 1px;*/
110
- white-space: nowrap;
111
- text-overflow: clip;
112
- /*vertical-align: middle;*/
113
- }
114
-
115
- .grid-default > tr > th:last-child,
116
- .grid-default > thead > tr > th:last-child {
117
- border-width: 1px;
118
- }
119
-
120
-
121
- .grid-header-div {
122
- border: none;
123
- margin: -1px -1px -1px -1px;
124
- /*border: solid;*/
125
- /*border-width: 1px 0 1px 1px;*/
126
- }
127
-
128
- .grid-header-th {
129
- background-color: white;
130
- vertical-align: top;
131
- }
132
-
133
- .grid-header-div-default {
134
- user-select: none;
135
- display: grid;
136
- grid-template-columns: auto 8px;
137
- grid-template-rows: auto auto;
138
- grid-auto-flow: row;
139
- align-items: center;
140
- justify-items: start;
141
- }
142
-
143
- .grid-header-content {
144
- display: flex;
145
- flex-wrap: nowrap;
146
- justify-content: space-between;
147
- align-items: center;
148
- padding: 2px 0;
149
- }
150
-
151
- .grid-header-drag-over {
152
- background-color: lightgray !important;
153
- }
154
-
155
- .grid-header-sort-sign {
156
- /*margin-top: -4px;*/
157
- font-size: 12px;
158
- display: flex;
159
- align-items: flex-end;
160
- justify-content: flex-end;
161
- cursor: pointer;
162
- align-items: center;
163
- background-color: white;
164
- }
165
-
166
- .grid-header-filter {
167
- /*white-space: nowrap;*/
168
- display: flex;
169
- grid-column: span 2;
170
- }
171
-
172
- .grid-filter-clear {
173
- border: 0;
174
- opacity: 0.2;
175
- display: flex;
176
- justify-content: center;
177
- align-items: center;
178
- margin: 0 2px;
179
- border-radius: 3px;
180
- }
181
-
182
- .grid-filter-clear:hover {
183
- opacity: 1;
184
- }
185
-
186
- .grid-cell {
187
- overflow: hidden;
188
- display: block;
189
- white-space: nowrap;
190
- text-overflow: clip;
191
- }
192
-
193
- .grid-selected-row {
194
- background-color: lightgray;
195
- }
196
-
197
- /*tr.grid-selected-row > td {
198
- padding: 0.01em;
199
- }
200
- */
201
- .grid-pager-default {
202
- display: flex;
203
- align-content: center;
204
- flex-wrap: nowrap;
205
- align-items: center;
206
- }
207
-
208
- .grid-pager-default > button, .grid-pager-default > span, .grid-pager-default > input, .grid-pager-default > select {
209
- margin: 5px 2px;
210
- }
211
-
212
- .grid-pocket-title {
213
- display: flex;
214
- justify-content: space-around;
215
- font-weight: bold;
216
- }
217
-
218
- .grid-pocket-button-div {
219
- display: flex;
220
- justify-content: center;
221
- align-items: center;
222
- }
223
-
224
- .grid-pocket-button {
225
- height: 18px;
226
- width: 20px;
227
- border-radius: 3px;
228
- border-width: 1px;
229
- display: flex;
230
- justify-content: center;
231
- font-size: large;
232
- align-items: center;
233
- padding: 0.01px;
234
- }
235
-
236
- .grid-pocket-button:hover:not(:disabled) {
237
- background-color: lightgray;
238
- cursor: pointer;
239
- }
240
-
241
- .grid-pocket-button-all.grid-pocket-button {
242
- font-weight: bold;
243
- }
244
-
245
- .grid-pager-button {
246
- /*margin: 5px 2px;*/
247
- /*height: 28px;
248
- width: 36px;*/
249
- height: 2em;
250
- width: 2.5em;
251
- border-radius: 3px;
252
- border-width: 1px;
253
- display: flex;
254
- align-items: center;
255
- justify-content: center; /*space-between;*/
256
- }
257
-
258
- .grid-pager-button:hover:not(:disabled) {
259
- background-color: lightgray;
260
- cursor: pointer;
261
- }
262
-
263
- .grid-pager-button:disabled {
264
- filter: grayscale(1.0);
265
- opacity: 0.2;
266
- }
267
-
268
- .toolbar-default {
269
- display: flex;
270
- align-content: center;
271
- flex-wrap: nowrap;
272
- align-items: center;
273
- }
274
-
275
- .toolbar-default > button {
276
- /* display: flex;
277
- align-items: center;
278
- flex-wrap: wrap;
279
- */ margin: 5px 2px;
280
- }
281
-
282
- .toolbar-default > button:hover:not(:disabled) {
283
- cursor: pointer;
284
- background-color: lightgray;
285
- }
286
-
287
- .toolbar-default > button > svg {
288
- margin: 0 2px 0 0;
289
- }
290
-
291
- .toolbar-default > button > div > svg {
292
- margin: 0 2px 0 0;
293
- }
294
-
295
-
296
- .grid-toolbar-button {
297
- /*height: 2em;*/
298
- /*height: 28px;*/
299
- height: 2em;
300
- width: 2.5em;
301
- display: flex;
302
- align-items: center;
303
- justify-content: space-between;
304
- border-radius: 3px;
305
- border-width: 1px;
306
- /*padding: 1px 0px;*/
307
- margin: 5px 2px;
308
- }
309
-
310
- .grid-toolbar-button:hover:not(:disabled) {
311
- cursor: pointer;
312
- background-color: lightgray;
313
- }
314
-
315
- .grid-toolbar-button:disabled, .grid-toolbar-button-md:disabled, .grid-toolbar-button-lg:disabled {
316
- filter: grayscale(1.0);
317
- opacity: 0.2;
318
- }
319
-
320
- .grid-toolbar-button-md {
321
- height: 3em;
322
- width: auto;
323
- display: grid;
324
- grid-template-columns: 2em auto;
325
- align-items: center;
326
- border-radius: 3px;
327
- border-width: 1px;
328
- min-width: 6em;
329
- justify-content: start;
330
- margin: 4px;
331
- overflow: hidden;
332
- }
333
-
334
- .grid-toolbar-button-lg {
335
- height: 4em;
336
- width: auto;
337
- display: grid;
338
- border-radius: 3px;
339
- border-width: 1px;
340
- align-content: space-around;
341
- align-items: center;
342
- justify-items: center;
343
- min-width: 8em;
344
- box-shadow: 2px 2px 4px 0px;
345
- margin: 4px;
346
- overflow: hidden;
347
- }
348
-
349
- .image-container-div {
350
- display: flex;
351
- align-items: center;
352
- justify-content: center;
353
- }
354
-
355
- .grid-pager-current {
356
- width: 3em;
357
- height: 1.6em;
358
- /*height: 22px;*/
359
- margin: 0 2px;
360
- }
361
-
362
- .grid-pager-of {
363
- padding: 0 3px;
364
- white-space: nowrap;
365
- }
366
-
367
- .grid-pager-total {
368
- padding: 0 3px;
369
- white-space: nowrap;
370
- }
371
-
372
- .grid-pager-size {
373
- }
374
-
375
- .grid-settings-ul {
376
- padding: 0;
377
- margin: 5px 0;
378
- }
379
-
380
- .grid-settings-ul > li {
381
- list-style-type: none;
382
- cursor: pointer;
383
- }
384
-
385
- .grid-loader {
386
- display: flex;
387
- align-items: center;
388
- justify-content: center;
389
- position: sticky;
390
- left: 0;
391
- }
392
-
393
- .dropdown-wnd {
394
- background: white;
395
- border: 1px solid;
396
- /*padding: 0 5px;*/
397
- }
398
-
399
- .dropdown-ul {
400
- padding: 0;
401
- /*margin: 5px 0;*/
402
- margin: 0;
403
- height: 100%;
404
- }
405
-
406
- .dropdown-ul > li {
407
- list-style-type: none;
408
- cursor: pointer;
409
- white-space: nowrap;
410
- padding: 4px;
411
- display: flex;
412
- align-items: center;
413
- flex-wrap: nowrap;
414
- justify-content: space-between;
415
- }
416
-
417
- .dropdown-ul > li:hover {
418
- background-color: lightgray;
419
- }
420
-
421
-
422
- .dropdown-ul > li.active {
423
- background-color: lightgray;
424
- }
425
-
426
- .dropdown-item-div {
427
- display: flex;
428
- justify-content: space-between;
429
- flex-wrap: nowrap;
430
- align-items: center;
431
- width: 100%;
432
- }
433
-
434
- .grid-header-content-grid {
435
- display: grid;
436
- grid-template-columns: auto 16px;
437
- grid-template-rows: auto auto;
438
- grid-auto-flow: row;
439
- }
440
-
441
- .grid-header-title {
442
- white-space: nowrap;
443
- overflow: hidden;
444
- margin: 2px 4px;
445
- }
446
-
447
- .grid-header-title.grid-header-title-sortable:hover {
448
- color: gray; /*#0026ff; /*#0d6efd;*/
449
- }
450
-
451
- .div-on-menu {
452
- margin: 10px;
453
- }
454
-
455
- .div-with-grid {
456
- padding: 5px;
457
- }
458
-
459
- .grid-col-filter {
460
- height: 2em;
461
- margin: 2px;
462
- width: calc(100% - 4px) !important;
463
- padding: 0 2px;
464
- box-sizing: border-box;
465
- }
466
-
467
- .grid-cell-lookup {
468
- display: grid;
469
- grid-template-columns: calc(100% - 3em) 1.5em 1.5em;
470
- grid-template-rows: auto;
471
- /*column-gap: 2px;*/
472
- align-items: center;
473
- align-content: center;
474
- white-space: nowrap;
475
- width: calc(100% - 0.2em);
476
- }
477
-
478
- .grid-cell-edit {
479
- display: grid;
480
- grid-template-columns: calc(100% - 3em) 1.5em 1.5em;
481
- grid-template-rows: auto;
482
- align-items: center;
483
- align-content: center;
484
- /*column-gap: 2px;*/
485
- width: calc(100% - 2px);
486
- }
487
-
488
- .grid-cell-button {
489
- height: 1.6em;
490
- width: 1.6em;
491
- display: flex;
492
- padding: 0 !important;
493
- border: 0; /*1px;*/
494
- align-items: center;
495
- justify-content: center;
496
- flex-wrap: nowrap;
497
- border-radius: 3px;
498
- border-style: solid;
499
- font-size: small;
500
- }
501
-
502
- .grid-cell-button:hover:not(:disabled) {
503
- cursor: pointer;
504
- background-color: lightgray;
505
- }
506
-
507
- .grid-columns-settings-div {
508
- display: grid;
509
- grid-template-columns: calc(50% - 4px) 8px calc(50% - 4px);
510
- margin: 10px;
511
- }
512
-
513
- .grid-columns-settings-div-ul {
514
- margin: 5px;
515
- }
516
-
517
- .grid-columns-settings-label {
518
- font-weight: 600;
519
- /*margin: 5px;*/
520
- }
521
-
522
- .graph-tabcontrol-buttons {
523
- margin: 0 1em;
524
- display: flex
525
- }
526
-
527
- .graph-tabcontrol-buttons > button {
528
- margin: 5px 2px 5px 2px;
529
- /*height: 2.3em;*/
530
- }
531
-
532
- .graph-tabcontrol-button {
533
- height: 1.8em;
534
- border-radius: 3px;
535
- border-width: 1px;
536
- display: flex;
537
- align-items: center;
538
- justify-content: space-between;
539
- }
540
-
541
- .graph-tabcontrol-button:hover:not(:disabled):not(.active) {
542
- background-color: lightgray;
543
- }
544
-
545
- .graph-tabcontrol-button:not(.active) {
546
- cursor: pointer;
547
- }
548
-
549
- .graph-tabcontrol-button.active {
550
- font-weight: bold;
551
- }
552
-
553
- .graph-filters-div {
554
- display: grid;
555
- grid-template-columns: 18px auto;
556
- align-items: center;
557
- margin: 0 -10px;
558
- }
559
-
560
- .graph-filter-line {
561
- display: grid;
562
- grid-template-columns: repeat(auto-fit, minmax(200px, 400px)); /*repeat(auto-fit, minmax(3em, 15em))*/
563
- /*grid-template-rows: auto auto auto;*/
564
- grid-auto-flow: row;
565
- align-items: center;
566
- align-content: center;
567
- overflow-x: auto;
568
- column-gap: 1em;
569
- margin-left: -10px;
570
- }
571
-
572
- .graph-filter {
573
- display: grid;
574
- grid-template-columns: auto; /*calc(100% - 5em) 2.5em 2.5em;*/
575
- /*grid-template-rows: auto auto;*/
576
- grid-auto-flow: row;
577
- row-gap: 2px;
578
- align-items: center;
579
- margin: 0.5em 0;
580
- min-width: 200px;
581
- }
582
-
583
- .field-edit {
584
- display: grid;
585
- /*grid-template-columns: calc(100% - 5em) 2.5em 2.5em;*/
586
- grid-template-columns: calc(100% - 4.4em) 2.2em 2.2em;
587
- grid-template-rows: auto auto;
588
- grid-auto-flow: row;
589
- align-items: center;
590
- /*column-gap: 4px;*/
591
- min-width: 10em;
592
- }
593
-
594
- /* .graph-filter > button {
595
- margin: 5px 2px;
596
- }
597
- */
598
- .graph-filter-title {
599
- font-weight: bold;
600
- white-space: nowrap;
601
- overflow-x: hidden;
602
- }
603
-
604
- .graph-grid {
605
- margin: 0 1em 0.5em 1em;
606
- }
607
-
608
- .graph-filter-button {
609
- /*margin: 5px 0 5px 3px;
610
- width: 2.2em;
611
- height: 2.2em;
612
- */
613
- min-height: 2.2em;
614
- width: 100%;
615
- border-radius: 3px;
616
- border-width: 1px;
617
- display: flex !important;
618
- align-items: center;
619
- justify-content: center; /*space-between;*/
620
- }
621
-
622
- .graph-filter-button:hover:not(:disabled) {
623
- cursor: pointer;
624
- background-color: lightgray;
625
- }
626
-
627
- .graph-filter-clear {
628
- /*margin: 5px 0;*/
629
- /*width: 2.2em;*/
630
- height: 2.2em;
631
- width: 100%;
632
- border-radius: 3px;
633
- border-width: 1px;
634
- display: flex !important;
635
- align-items: center;
636
- justify-content: center; /*space-between;*/
637
- }
638
-
639
- .graph-filter-clear:hover:not(:disabled) {
640
- cursor: pointer;
641
- background-color: lightgray;
642
- }
643
-
644
- .graph-card-button {
645
- margin: 5px 2px;
646
- width: 2.5em;
647
- }
648
-
649
- .graph-card-button:hover:not(:disabled) {
650
- cursor: pointer;
651
- background-color: lightgray;
652
- }
653
-
654
- .graph-card-toolbar {
655
- margin: 0 1em;
656
- position: sticky;
657
- top: 0;
658
- background-color: white;
659
- z-index: 100;
660
- }
661
-
662
- .graph-card-div {
663
- display: grid;
664
- grid-auto-flow: row;
665
- align-items: center;
666
- align-content: center;
667
- margin: 0.5em;
668
- /*overflow-y: auto;*/
669
- }
670
-
671
- .graph-card-field {
672
- display: grid;
673
- /*grid-template-columns: auto 2.5em 2.5em;*/
674
- grid-template-columns: 100%;
675
- grid-template-rows: auto auto;
676
- grid-auto-flow: row;
677
- align-items: center;
678
- align-content: center;
679
- margin: 0 1em 0.5em 1em;
680
- }
681
-
682
- .graph-card-field > span {
683
- font-weight: bold;
684
- }
685
-
686
-
687
- .input-default-class {
688
- height: 1.8em;
689
- box-sizing: border-box;
690
- }
691
-
692
- .input-default-class-lg {
693
- height: 2.2em;
694
- box-sizing: border-box;
695
- }
696
-
697
- .select-default-class {
698
- height: 1.8em;
699
- box-sizing: border-box;
700
- }
701
-
702
- .login-form {
703
- display: grid;
704
- align-items: center;
705
- align-content: center;
706
- margin: 20px;
707
- }
708
-
709
- .login-form-item {
710
- margin: 5px;
711
- }
712
-
713
- .login-form > input {
714
- }
715
-
716
- .filter-select {
717
- height: 2.5em;
718
- display: flex;
719
- flex-wrap: nowrap;
720
- align-items: center;
721
- }
722
-
723
- .filter-select > div {
724
- width: 100%;
725
- }
726
-
727
- .datepicker-div {
728
- margin: 1em;
729
- }
730
-
731
- .datepicker-input-lg {
732
- /*padding-top: 2px;*/
733
- overflow: hidden;
734
- }
735
-
736
- .datepicker-input-lg,
737
- .datepicker-input-lg > div.react-datepicker-wrapper,
738
- .datepicker-input-lg > div > div.react-datepicker__input-container,
739
- .datepicker-input-lg > div > div.react-datepicker__input-container input {
740
- width: 100% /*calc(100% - 1px);*/
741
- }
742
-
743
- .datepicker-input-lg > div > div.react-datepicker__input-container input {
744
- height: 2.2em;
745
- border-width: 1px;
746
- border-radius: 3px;
747
- }
748
-
749
- .datepicker-input {
750
- padding-top: 5px;
751
- overflow: hidden;
752
- }
753
-
754
- .datepicker-input,
755
- .datepicker-input > div.react-datepicker-wrapper,
756
- .datepicker-input > div > div.react-datepicker__input-container,
757
- .datepicker-input > div > div.react-datepicker__input-container input {
758
- width: calc(100% - 0px);
759
- }
760
-
761
- .grid-cell-lookup > div.datepicker-input > div > div.react-datepicker__input-container input {
762
- min-height: 1.7em;
763
- height: 1.7em;
764
- padding: 0;
765
- }
766
-
767
- .datepicker-filter, .datepicker-filter > div.react-datepicker-wrapper, .datepicker-filter > div > div.react-datepicker__input-container, .datepicker-filter > div > div.react-datepicker__input-container input {
768
- width: calc(100% - 0px);
769
- height: 1.7em;
770
- }
771
-
772
- .datepicker-filter > div > div.react-datepicker__input-container input {
773
- border-width: 1px;
774
- border-radius: 3px;
775
- padding: 0;
776
- }
777
-
778
- .datepicker-filter > div.react-datepicker-wrapper {
779
- margin-top: 1px;
780
- }
781
-
782
- .main-menu-wnd {
783
- border-color: lightgray !important;
784
- }
785
-
786
- .main-menu-div {
787
- display: flex;
788
- flex-wrap: nowrap;
789
- align-content: center;
790
- align-items: center;
791
- margin-left: 4px;
792
- }
793
-
794
- .main-menu-div > button {
795
- margin: 10px 2px;
796
- font-size: medium;
797
- font-weight: 300;
798
- border-color: lightgray;
799
- }
800
-
801
- .main-menu-div > button.active {
802
- font-weight: bolder;
803
- }
804
-
805
- .main-menu-div > button:hover:not(:disabled) {
806
- cursor: pointer;
807
- background-color: lightgray;
808
- }
809
-
810
- .menu-item, .menu-item-selected, .menu-item-root, .menu-item-root-selected {
811
- cursor: pointer;
812
- padding: 0 6px;
813
- /*width: auto;*/
814
- border-radius: 3px;
815
- border-width: 1px;
816
- /*min-width: 6em;*/
817
- margin: 4px;
818
- overflow: hidden;
819
- }
820
-
821
- .menu-item, .menu-item-selected {
822
- display: grid;
823
- grid-template-columns: 2em auto;
824
- justify-content: start;
825
- align-items: center;
826
- }
827
-
828
- .menu-item-root, .menu-item-root-selected {
829
- display: flex;
830
- justify-content: start;
831
- flex-wrap: nowrap;
832
- align-items: center;
833
- height: 2em;
834
- }
835
-
836
- .menu-item-root > div.image-container-div, .menu-item-root-selected > div.image-container-div {
837
- margin-right: 4px;
838
- }
839
-
840
- .menu-item-root:hover {
841
- background-color: lightgray;
842
- }
843
-
844
- .menu-item-root.active {
845
- padding: 0 1px;
846
- }
847
-
848
- .menu-item-root-selected {
849
- background-color: lightgray;
850
- border-width: 1px;
851
- border-radius: 2px;
852
- cursor: pointer;
853
- white-space: nowrap;
854
- padding: 0 6px;
855
- }
856
-
857
- .menu-item-root-selected.active {
858
- padding: 0 1px;
859
- }
860
-
861
- .menu-collapse-button {
862
- display: flex;
863
- border: none;
864
- height: 22px;
865
- width: 24px;
866
- padding: 0;
867
- border-radius: 3px;
868
- align-items: center;
869
- margin-top: 5px;
870
- }
871
-
872
- .menu-collapse-button:hover:not(:disabled) {
873
- cursor: pointer;
874
- background-color: lightgray;
875
- }
876
-
877
- .progress {
878
- }
879
-
880
- .progress-bar {
881
- background-color: lightgray;
882
- }
883
-
884
- .react-datepicker-popper {
885
- z-index: 9999 !important;
886
- }
887
-
888
- .report-params-header {
889
- display: flex;
890
- font-weight: bold;
891
- justify-content: center;
892
- margin: 5px;
893
- }
894
-
895
-
896
- .tree-div {
897
- display: grid;
898
- grid-template-columns: 16em calc(100% - 16em);
899
- }
900
-
901
- .tree,
902
- .tree-node,
903
- .tree-node-group {
904
- list-style: none;
905
- margin: 0;
906
- padding: 0;
907
- }
908
-
909
- .tree-branch-wrapper,
910
- .tree-node__leaf {
911
- outline: none;
912
- }
913
-
914
- .tree-node {
915
- cursor: pointer;
916
- }
917
-
918
- .tree-node {
919
- background: rgba(0, 0, 0, 0.1);
920
- }
921
-
922
- .tree-node > span {
923
- white-space: nowrap;
924
- }
925
-
926
-
927
- .tree-node--focused {
928
- background: rgba(0, 0, 0, 0.2);
929
- }
930
-
931
- .tree-node {
932
- display: flex;
933
- flex-wrap: nowrap;
934
- align-items: center;
935
- font-size: 16px;
936
- user-select: none;
937
- box-sizing: content-box;
938
- max-width: 30em;
939
- overflow-x: hidden;
940
- }
941
-
942
- .tree-right-panel {
943
- display: flex;
944
- justify-content: space-around;
945
- }