@gingkoo/pandora-metabase 1.0.158-alpha.2 → 1.0.158-alpha.21

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.
Files changed (145) hide show
  1. package/lib/cjs/common/SplitView/index.js +2 -2
  2. package/lib/cjs/components/dialog/column-type-label/index.d.ts +8 -0
  3. package/lib/cjs/components/dialog/column-type-label/index.js +22 -0
  4. package/lib/cjs/components/dialog/column-type-label/index.less +17 -0
  5. package/lib/cjs/components/dialog/custom-column/config.js +2 -2
  6. package/lib/cjs/components/dialog/custom-column/expression-editor.js +1 -1
  7. package/lib/cjs/components/dialog/custom-column/expressions/suggest.js +2 -2
  8. package/lib/cjs/components/dialog/custom-column/expressions/tokenizer.js +2 -2
  9. package/lib/cjs/components/dialog/custom-column/index.js +2 -2
  10. package/lib/cjs/components/dialog/custom-column/tokenized-expression.js +6 -6
  11. package/lib/cjs/components/dialog/custom-column/tokenizedI-input.js +8 -8
  12. package/lib/cjs/components/dialog/custom-editor/index.js +4 -4
  13. package/lib/cjs/components/dialog/expression/date-format-picker.js +1 -1
  14. package/lib/cjs/components/dialog/expression/index.js +4 -4
  15. package/lib/cjs/components/dialog/formula/index.js +55 -14
  16. package/lib/cjs/components/dialog/formula/index.less +7 -0
  17. package/lib/cjs/components/dialog/formula/utils.js +5 -1
  18. package/lib/cjs/components/dialog/formula-list/CaseWhenGroup.d.ts +3 -4
  19. package/lib/cjs/components/dialog/formula-list/CaseWhenGroup.js +138 -214
  20. package/lib/cjs/components/dialog/formula-list/LogicGroup.js +55 -39
  21. package/lib/cjs/components/dialog/formula-list/index.d.ts +3 -0
  22. package/lib/cjs/components/dialog/formula-list/index.js +414 -321
  23. package/lib/cjs/components/dialog/formula-list/index.less +1012 -1105
  24. package/lib/cjs/components/dialog/formula-list/utils.d.ts +16 -2
  25. package/lib/cjs/components/dialog/formula-list/utils.js +650 -131
  26. package/lib/cjs/components/dialog/select-column/index.js +10 -4
  27. package/lib/cjs/components/dialog/select-column/index.less +6 -1
  28. package/lib/cjs/components/dialog/select-column-multiple/index.js +12 -9
  29. package/lib/cjs/components/dialog/select-column-multiple/index.less +10 -0
  30. package/lib/cjs/components/dialog/select-join-column/index.js +9 -5
  31. package/lib/cjs/components/dialog/select-join-column/index.less +10 -0
  32. package/lib/cjs/components/dialog/select-join-column-multiple/index.js +10 -6
  33. package/lib/cjs/components/dialog/select-join-column-multiple/index.less +10 -0
  34. package/lib/cjs/components/dialog/select-permission-table/index.js +1 -1
  35. package/lib/cjs/components/dialog/select-summarize/index.js +2 -2
  36. package/lib/cjs/components/dialog/select-table/index.js +5 -5
  37. package/lib/cjs/components/icons.js +1 -1
  38. package/lib/cjs/components/metabase/index.js +129 -60
  39. package/lib/cjs/components/metabase/index.less +28 -29
  40. package/lib/cjs/components/modules/components/Wrapper.js +2 -2
  41. package/lib/cjs/components/modules/components/header.d.ts +2 -1
  42. package/lib/cjs/components/modules/components/header.js +7 -3
  43. package/lib/cjs/components/modules/components/item-wrapper.js +1 -1
  44. package/lib/cjs/components/modules/components/meta-icon.js +3 -5
  45. package/lib/cjs/components/modules/custom-column.js +7 -4
  46. package/lib/cjs/components/modules/filter.js +2 -2
  47. package/lib/cjs/components/modules/join-data.js +100 -21
  48. package/lib/cjs/components/modules/sort.js +6 -3
  49. package/lib/cjs/components/modules/summarize/group-by.js +10 -6
  50. package/lib/cjs/components/modules/summarize/select-index.js +12 -5
  51. package/lib/cjs/components/modules/table-data.js +50 -16
  52. package/lib/cjs/components/popup.js +7 -7
  53. package/lib/cjs/components/right-click-menu.js +3 -3
  54. package/lib/cjs/components/sql-syntax-confirm.d.ts +14 -0
  55. package/lib/cjs/components/sql-syntax-confirm.js +149 -0
  56. package/lib/cjs/enum.d.ts +1 -0
  57. package/lib/cjs/enum.js +16 -0
  58. package/lib/cjs/hooks/patch.js +1 -1
  59. package/lib/cjs/hooks/patch2.js +1 -1
  60. package/lib/cjs/hooks/use-state.js +118 -111
  61. package/lib/cjs/hooks/winsize.js +1 -1
  62. package/lib/cjs/index.d.ts +4 -2
  63. package/lib/cjs/index.js +14 -6
  64. package/lib/cjs/locale/en.js +35 -0
  65. package/lib/cjs/locale/zh.js +35 -0
  66. package/lib/cjs/prompt.d.ts +3 -0
  67. package/lib/cjs/prompt.js +262 -0
  68. package/lib/cjs/store/enum.d.ts +50 -0
  69. package/lib/cjs/store/enum.js +56 -2
  70. package/lib/cjs/store/helper.js +2 -2
  71. package/lib/cjs/store/types.d.ts +9 -52
  72. package/lib/cjs/store/types.js +25 -54
  73. package/lib/cjs/types.d.ts +6 -0
  74. package/lib/cjs/utils/event.js +3 -3
  75. package/lib/cjs/utils/helper.js +1 -1
  76. package/lib/cjs/utils/keydown.js +2 -2
  77. package/lib/cjs/utils/selection.js +1 -1
  78. package/lib/cjs/utils/storage.js +2 -2
  79. package/lib/cjs/utils/transformSql.d.ts +44 -1
  80. package/lib/cjs/utils/transformSql.js +1042 -29
  81. package/lib/cjs/utils.d.ts +3 -1
  82. package/lib/cjs/utils.js +82 -43
  83. package/lib/cjs/validate.d.ts +2 -0
  84. package/lib/cjs/validate.js +42 -0
  85. package/lib/es/components/dialog/column-type-label/index.d.ts +8 -0
  86. package/lib/es/components/dialog/column-type-label/index.js +16 -0
  87. package/lib/es/components/dialog/column-type-label/index.less +17 -0
  88. package/lib/es/components/dialog/expression/index.js +1 -1
  89. package/lib/es/components/dialog/formula/index.js +53 -12
  90. package/lib/es/components/dialog/formula/index.less +7 -0
  91. package/lib/es/components/dialog/formula/utils.js +5 -1
  92. package/lib/es/components/dialog/formula-list/CaseWhenGroup.d.ts +3 -4
  93. package/lib/es/components/dialog/formula-list/CaseWhenGroup.js +141 -217
  94. package/lib/es/components/dialog/formula-list/LogicGroup.js +54 -38
  95. package/lib/es/components/dialog/formula-list/index.d.ts +3 -0
  96. package/lib/es/components/dialog/formula-list/index.js +409 -316
  97. package/lib/es/components/dialog/formula-list/index.less +1012 -1105
  98. package/lib/es/components/dialog/formula-list/utils.d.ts +16 -2
  99. package/lib/es/components/dialog/formula-list/utils.js +646 -126
  100. package/lib/es/components/dialog/select-column/index.js +7 -1
  101. package/lib/es/components/dialog/select-column/index.less +6 -1
  102. package/lib/es/components/dialog/select-column-multiple/index.js +9 -6
  103. package/lib/es/components/dialog/select-column-multiple/index.less +10 -0
  104. package/lib/es/components/dialog/select-join-column/index.js +7 -3
  105. package/lib/es/components/dialog/select-join-column/index.less +10 -0
  106. package/lib/es/components/dialog/select-join-column-multiple/index.js +7 -3
  107. package/lib/es/components/dialog/select-join-column-multiple/index.less +10 -0
  108. package/lib/es/components/metabase/index.js +126 -57
  109. package/lib/es/components/metabase/index.less +28 -29
  110. package/lib/es/components/modules/components/header.d.ts +2 -1
  111. package/lib/es/components/modules/components/header.js +6 -2
  112. package/lib/es/components/modules/components/meta-icon.js +2 -4
  113. package/lib/es/components/modules/custom-column.js +4 -1
  114. package/lib/es/components/modules/join-data.js +98 -19
  115. package/lib/es/components/modules/sort.js +4 -1
  116. package/lib/es/components/modules/summarize/group-by.js +5 -1
  117. package/lib/es/components/modules/summarize/select-index.js +8 -1
  118. package/lib/es/components/modules/table-data.js +47 -13
  119. package/lib/es/components/sql-syntax-confirm.d.ts +14 -0
  120. package/lib/es/components/sql-syntax-confirm.js +142 -0
  121. package/lib/es/enum.d.ts +1 -0
  122. package/lib/es/enum.js +1 -0
  123. package/lib/es/hooks/use-state.js +112 -105
  124. package/lib/es/index.d.ts +4 -2
  125. package/lib/es/index.js +8 -6
  126. package/lib/es/locale/en.js +35 -0
  127. package/lib/es/locale/zh.js +35 -0
  128. package/lib/es/prompt.d.ts +3 -0
  129. package/lib/es/prompt.js +3 -0
  130. package/lib/es/store/enum.d.ts +50 -0
  131. package/lib/es/store/enum.js +55 -1
  132. package/lib/es/store/types.d.ts +9 -52
  133. package/lib/es/store/types.js +2 -53
  134. package/lib/es/types.d.ts +6 -0
  135. package/lib/es/utils/transformSql.d.ts +44 -1
  136. package/lib/es/utils/transformSql.js +1038 -25
  137. package/lib/es/utils.d.ts +3 -1
  138. package/lib/es/utils.js +76 -37
  139. package/lib/es/validate.d.ts +2 -0
  140. package/lib/es/validate.js +1 -0
  141. package/package.json +31 -1
  142. package/lib/cjs/components/dialog/diff-viewer/index copy.d.ts +0 -10
  143. package/lib/cjs/components/dialog/diff-viewer/index copy.js +0 -139
  144. package/lib/es/components/dialog/diff-viewer/index copy.d.ts +0 -10
  145. package/lib/es/components/dialog/diff-viewer/index copy.js +0 -132
@@ -407,6 +407,22 @@
407
407
  position: relative;
408
408
  // margin: 0 var(--sqb-item-shell-margin-x);
409
409
 
410
+ // Keep value inputs consistent in both the inline editor and its modal.
411
+ .sqb-Custom-input {
412
+ border: 0;
413
+ border-radius: 0;
414
+ padding: 0;
415
+ background: none !important;
416
+
417
+ .pd-Input,
418
+ .pd-Input-inner-wrapper {
419
+ border: 0;
420
+ border-radius: 0;
421
+ padding: 0;
422
+ background: none !important;
423
+ }
424
+ }
425
+
410
426
  &.hover,
411
427
  &:hover {
412
428
  z-index: 5;
@@ -470,17 +486,13 @@
470
486
 
471
487
  .formula-node-group {
472
488
  .formula-node-remove,
473
- .Sqb-CaseRow-actions,
474
- .Sqb-CaseRecover,
475
489
  .item-del {
476
490
  display: none;
477
491
  }
478
492
  }
479
493
  }
480
- &.item-selected {
481
- .item-check {
482
- display: block;
483
- }
494
+ &.item-selected > .item-check {
495
+ display: block;
484
496
  }
485
497
  .item-check {
486
498
  display: none;
@@ -493,6 +505,7 @@
493
505
  width: 100%;
494
506
  height: 100%;
495
507
  transform: translateY(-50%);
508
+ pointer-events: auto;
496
509
  .pd-Checkbox-mask-wrapper {
497
510
  margin: 0;
498
511
  width: 100%;
@@ -506,6 +519,9 @@
506
519
 
507
520
  &.item-composite {
508
521
  &.item-selected {
522
+ padding-left: 24px;
523
+ box-sizing: border-box;
524
+
509
525
  .formula-node-group {
510
526
  box-shadow: inset 0 0 0 2px rgba(80, 158, 227, 0.42);
511
527
  background: rgba(80, 158, 227, 0.12);
@@ -516,14 +532,27 @@
516
532
  box-shadow: inset 0 0 0 2px rgba(80, 158, 227, 0.55);
517
533
  }
518
534
  }
535
+
536
+ .formula-node-remove {
537
+ display: none;
538
+ }
519
539
  }
520
540
 
521
- .item-check {
522
- height: 100%;
541
+ > .item-check {
542
+ left: 4px;
543
+ top: 50%;
544
+ width: 20px;
545
+ height: 20px;
546
+ overflow: hidden;
547
+ transform: translateY(-50%);
548
+ z-index: 4;
523
549
 
524
550
  .pd-Checkbox-mask-wrapper {
551
+ width: 20px;
552
+ height: 20px;
553
+ padding: 0;
525
554
  align-items: center;
526
- padding-top: 0;
555
+ justify-content: center;
527
556
  }
528
557
  }
529
558
  }
@@ -572,7 +601,9 @@
572
601
  }
573
602
 
574
603
  > .right-arrow,
575
- > .left-arrow {
604
+ > .left-arrow,
605
+ > .Sqb-Filter-item-frame > .right-arrow,
606
+ > .Sqb-Filter-item-frame > .left-arrow {
576
607
  position: absolute;
577
608
  top: 50%;
578
609
  z-index: 3;
@@ -624,7 +655,8 @@
624
655
  }
625
656
  }
626
657
 
627
- > .left-arrow {
658
+ > .left-arrow,
659
+ > .Sqb-Filter-item-frame > .left-arrow {
628
660
  left: var(--sqb-arrow-offset-left);
629
661
 
630
662
  &::before {
@@ -636,7 +668,8 @@
636
668
  }
637
669
  }
638
670
 
639
- > .right-arrow {
671
+ > .right-arrow,
672
+ > .Sqb-Filter-item-frame > .right-arrow {
640
673
  right: var(--sqb-arrow-offset-right);
641
674
 
642
675
  &::before {
@@ -668,13 +701,15 @@
668
701
  }
669
702
 
670
703
  &:not(.item-fixed).hover {
671
- > .left-arrow {
704
+ > .left-arrow,
705
+ > .Sqb-Filter-item-frame > .left-arrow {
672
706
  opacity: 0.82;
673
707
  pointer-events: auto;
674
708
  transform: translateY(-50%) scale(1);
675
709
  }
676
710
 
677
- > .right-arrow {
711
+ > .right-arrow,
712
+ > .Sqb-Filter-item-frame > .right-arrow {
678
713
  opacity: 0.82;
679
714
  pointer-events: auto;
680
715
  transform: translateY(-50%) scale(1);
@@ -731,21 +766,6 @@
731
766
  }
732
767
  }
733
768
 
734
- .Sqb-CaseKeyword {
735
- display: inline-flex;
736
- align-items: center;
737
- padding: 0 2px;
738
- color: rgb(140, 148, 163);
739
- font-size: 12px;
740
- line-height: 32px;
741
- font-weight: 600;
742
- letter-spacing: 0.08em;
743
- text-transform: uppercase;
744
- background: transparent;
745
- border: 0;
746
- pointer-events: none;
747
- }
748
-
749
769
  .Sqb-TableName.operator-trigger {
750
770
  padding: 4px 7px;
751
771
  }
@@ -790,6 +810,23 @@
790
810
  row-gap: var(--sqb-item-gap-y);
791
811
  align-items: flex-start;
792
812
 
813
+ &.Sqb-NotebookCell--pasteable {
814
+ --sqb-paste-gap: 8px;
815
+ align-items: center;
816
+ column-gap: var(--sqb-paste-gap);
817
+ gap: 8px var(--sqb-paste-gap) !important;
818
+
819
+ > .Sqb-Filter-item-copy-static,
820
+ > .Sqb-Filter-item {
821
+ align-self: center;
822
+ }
823
+
824
+ > .Sqb-Filter-item-copy-static {
825
+ flex: 0 0 auto;
826
+ margin: 0;
827
+ }
828
+ }
829
+
793
830
  > .Sqb-Filter-item {
794
831
  align-self: center;
795
832
  }
@@ -798,6 +835,22 @@
798
835
  align-self: flex-start;
799
836
  }
800
837
 
838
+ > .Sqb-Filter-item.item-composite:has(.logic-group),
839
+ > .Sqb-Filter-item.item-composite:has(.Sqb-CaseWhenGroup) {
840
+ align-self: stretch;
841
+ flex: 1 1 100%;
842
+ width: 100%;
843
+ max-width: 100%;
844
+ box-sizing: border-box;
845
+ }
846
+
847
+ > .Sqb-Filter-item.item-composite:has(.logic-group) > .Sqb-Filter-item-node,
848
+ > .Sqb-Filter-item.item-composite:has(.Sqb-CaseWhenGroup) > .Sqb-Filter-item-node {
849
+ display: block;
850
+ width: 100%;
851
+ max-width: 100%;
852
+ }
853
+
801
854
  &.Sqb-NotebookCell--embedded {
802
855
  padding: 0;
803
856
  border-radius: 0;
@@ -827,6 +880,16 @@
827
880
  margin-right: var(--sqb-item-shell-margin-x);
828
881
  }
829
882
 
883
+ &.Sqb-NotebookCell--embedded > .Sqb-Filter-item.item-selected {
884
+ margin-left: 0;
885
+ margin-right: 0;
886
+ }
887
+
888
+ &.Sqb-NotebookCell--embedded > .Sqb-Filter-item.item-selected > .item-check {
889
+ display: block;
890
+ z-index: 5;
891
+ }
892
+
830
893
  .case-group-shell {
831
894
  --sqb-action-offset: -16px;
832
895
  --sqb-arrow-offset-left: var(--sqb-action-offset);
@@ -969,28 +1032,10 @@
969
1032
  }
970
1033
  }
971
1034
 
972
- .Sqb-FormulaGroup.flow-group {
973
- display: flex;
974
- width: 100%;
975
- flex: 0 0 100%;
976
- flex-direction: column;
977
- align-items: stretch;
978
- gap: 2px;
979
- padding: 8px 12px 6px;
980
- background: rgba(80, 158, 227, 0.08);
981
- border: 1px solid rgba(80, 158, 227, 0.16);
982
- }
983
-
984
1035
  .Sqb-FormulaGroup.Sqb-CaseWhenGroup {
985
- --sqb-case-index-column: 24px;
986
- --sqb-case-action-column: 46px;
987
- --sqb-case-inner-gap: 8px;
988
1036
  gap: 6px;
989
1037
  padding: 9px 10px 8px;
990
1038
  border-radius: 10px;
991
- background: #f9fbff;
992
- border-color: rgba(80, 158, 227, 0.2);
993
- box-shadow: inset 3px 0 0 rgba(80, 158, 227, 0.34), 0 1px 2px rgba(80, 158, 227, 0.06);
994
1039
  }
995
1040
 
996
1041
  .Sqb-CaseWhenTools {
@@ -1048,31 +1093,99 @@
1048
1093
  }
1049
1094
 
1050
1095
  .Sqb-FormulaGroup.logic-group {
1051
- display: inline-flex;
1052
- flex-wrap: wrap;
1053
- align-items: center;
1054
- gap: 4px;
1055
- width: auto;
1096
+ display: flex;
1097
+ flex-direction: column;
1098
+ align-items: stretch;
1099
+ gap: 2px;
1100
+ width: 100%;
1056
1101
  max-width: 100%;
1057
- padding: 4px 8px;
1102
+ box-sizing: border-box;
1103
+ padding: 6px 28px 8px 10px;
1058
1104
  background: rgba(72, 125, 227, 0.05);
1059
1105
  border: 1px solid rgba(72, 125, 227, 0.12);
1060
1106
  }
1061
1107
 
1062
1108
  .Sqb-FormulaGroup.logic-group > .formula-node-remove {
1063
- position: static;
1064
- top: auto;
1065
- right: auto;
1066
- margin-left: 2px;
1067
- align-self: center;
1109
+ position: absolute;
1110
+ top: 6px;
1111
+ right: 6px;
1112
+ margin-left: 0;
1113
+ align-self: auto;
1068
1114
  flex: 0 0 auto;
1069
1115
  }
1070
1116
 
1071
- .Sqb-LogicGroup-content {
1117
+ .Sqb-LogicGroup-body {
1118
+ display: flex;
1119
+ flex-direction: column;
1120
+ align-items: stretch;
1121
+ gap: 4px;
1122
+ width: 100%;
1123
+ min-width: 0;
1124
+ padding-left: 16px;
1125
+ box-sizing: border-box;
1126
+ }
1127
+
1128
+ .Sqb-LogicGroup-operator {
1129
+ display: inline-flex;
1130
+ flex: 0 0 auto;
1131
+ align-items: center;
1132
+ justify-content: center;
1133
+ align-self: flex-start;
1134
+ min-width: 32px;
1135
+ height: 20px;
1136
+ overflow: hidden;
1137
+ padding: 0;
1138
+ border-radius: 10px;
1139
+ background-color: rgb(72, 125, 227);
1140
+ box-sizing: border-box;
1141
+ cursor: pointer;
1142
+ }
1143
+
1144
+ .Sqb-LogicGroup-operator:hover {
1145
+ background-color: rgba(72, 125, 227, 0.88);
1146
+ }
1147
+
1148
+ .Sqb-LogicGroup-operator--or {
1149
+ background-color: rgb(46, 167, 138);
1150
+ }
1151
+
1152
+ .Sqb-LogicGroup-operator--or:hover {
1153
+ background-color: rgba(46, 167, 138, 0.88);
1154
+ }
1155
+
1156
+ .Sqb-LogicGroup-operator > *,
1157
+ .Sqb-LogicGroup-operator .Sqb-TableName,
1158
+ .Sqb-LogicGroup-operator .logic-operator,
1159
+ .Sqb-LogicGroup-operator button {
1160
+ appearance: none;
1161
+ -webkit-appearance: none;
1072
1162
  display: inline-flex;
1163
+ align-items: center;
1164
+ justify-content: center;
1165
+ min-width: 32px;
1166
+ height: 20px;
1167
+ margin: 0;
1168
+ padding: 0 8px;
1169
+ border: 0;
1170
+ border-radius: 10px;
1171
+ background: transparent !important;
1172
+ background-color: transparent !important;
1173
+ box-shadow: none;
1174
+ color: #fff !important;
1175
+ font-size: 10px;
1176
+ font-weight: 600;
1177
+ line-height: 1;
1178
+ white-space: nowrap;
1179
+ cursor: pointer;
1180
+ box-sizing: border-box;
1181
+ }
1182
+
1183
+ .Sqb-LogicGroup-content {
1184
+ display: flex;
1073
1185
  flex: 0 1 auto;
1074
1186
  flex-wrap: wrap;
1075
- align-items: center;
1187
+ align-items: flex-start;
1188
+ width: 100%;
1076
1189
  min-width: 0;
1077
1190
  column-gap: 4px;
1078
1191
  row-gap: 2px;
@@ -1095,6 +1208,12 @@
1095
1208
  max-width: 100%;
1096
1209
  }
1097
1210
 
1211
+ .Sqb-NestedFormulaList .Sqb-NotebookCell.Sqb-NotebookCell--embedded.Sqb-NotebookCell--pasteable {
1212
+ --sqb-paste-gap: 8px;
1213
+ align-items: center;
1214
+ gap: 8px var(--sqb-paste-gap) !important;
1215
+ }
1216
+
1098
1217
  .Sqb-NestedFormulaList .Sqb-NotebookCell.Sqb-NotebookCell--embedded .Sqb-TableName {
1099
1218
  margin: 0;
1100
1219
  }
@@ -1118,19 +1237,47 @@
1118
1237
  .Sqb-NestedFormulaList
1119
1238
  .Sqb-NotebookCell.Sqb-NotebookCell--embedded
1120
1239
  .Sqb-Filter-item
1240
+ > .right-arrow,
1241
+ .Sqb-NestedFormulaList
1242
+ .Sqb-NotebookCell.Sqb-NotebookCell--embedded
1243
+ .Sqb-Filter-item
1244
+ > .Sqb-Filter-item-frame
1245
+ > .left-arrow,
1246
+ .Sqb-NestedFormulaList
1247
+ .Sqb-NotebookCell.Sqb-NotebookCell--embedded
1248
+ .Sqb-Filter-item
1249
+ > .Sqb-Filter-item-frame
1121
1250
  > .right-arrow {
1122
1251
  transform: translateY(-50%) scale(0.86);
1123
1252
  opacity: 0;
1124
1253
  pointer-events: none;
1125
1254
  }
1126
1255
 
1256
+ .Sqb-LogicGroup-content
1257
+ .Sqb-NestedFormulaList
1258
+ .Sqb-NotebookCell.Sqb-NotebookCell--embedded.Sqb-NotebookCell--pasteable {
1259
+ --sqb-paste-gap: 8px;
1260
+ align-items: center;
1261
+ gap: 8px var(--sqb-paste-gap) !important;
1262
+ }
1263
+
1264
+ .Sqb-NestedFormulaList
1265
+ .Sqb-NotebookCell.Sqb-NotebookCell--embedded
1266
+ .Sqb-Filter-item:hover
1267
+ > .left-arrow,
1268
+ .Sqb-NestedFormulaList
1269
+ .Sqb-NotebookCell.Sqb-NotebookCell--embedded
1270
+ .Sqb-Filter-item.hover
1271
+ > .left-arrow,
1127
1272
  .Sqb-NestedFormulaList
1128
1273
  .Sqb-NotebookCell.Sqb-NotebookCell--embedded
1129
1274
  .Sqb-Filter-item:hover
1275
+ > .Sqb-Filter-item-frame
1130
1276
  > .left-arrow,
1131
1277
  .Sqb-NestedFormulaList
1132
1278
  .Sqb-NotebookCell.Sqb-NotebookCell--embedded
1133
1279
  .Sqb-Filter-item.hover
1280
+ > .Sqb-Filter-item-frame
1134
1281
  > .left-arrow {
1135
1282
  transform: translateY(-50%) scale(1);
1136
1283
  opacity: 0.82;
@@ -1144,6 +1291,16 @@
1144
1291
  .Sqb-NestedFormulaList
1145
1292
  .Sqb-NotebookCell.Sqb-NotebookCell--embedded
1146
1293
  .Sqb-Filter-item.hover
1294
+ > .right-arrow,
1295
+ .Sqb-NestedFormulaList
1296
+ .Sqb-NotebookCell.Sqb-NotebookCell--embedded
1297
+ .Sqb-Filter-item:hover
1298
+ > .Sqb-Filter-item-frame
1299
+ > .right-arrow,
1300
+ .Sqb-NestedFormulaList
1301
+ .Sqb-NotebookCell.Sqb-NotebookCell--embedded
1302
+ .Sqb-Filter-item.hover
1303
+ > .Sqb-Filter-item-frame
1147
1304
  > .right-arrow {
1148
1305
  transform: translateY(-50%) scale(1);
1149
1306
  opacity: 0.82;
@@ -1151,12 +1308,16 @@
1151
1308
  }
1152
1309
 
1153
1310
  .Sqb-LogicGroup-content .Sqb-NestedFormulaList,
1154
- .Sqb-LogicGroup-content .Sqb-NestedFormulaList .Sqb-NotebookCell {
1155
- display: inline-flex;
1311
+ .Sqb-LogicGroup-content .Sqb-NestedFormulaList .Sqb-NotebookCell,
1312
+ .Sqb-LogicGroup-content .Sqb-NestedFormulaList .Sqb-NotebookCell.Sqb-NotebookCell--embedded {
1313
+ display: flex;
1156
1314
  flex-wrap: wrap;
1157
1315
  align-items: center;
1158
1316
  gap: 8px 14px;
1159
- width: auto;
1317
+ width: 100%;
1318
+ min-width: 0;
1319
+ max-width: 100%;
1320
+ box-sizing: border-box;
1160
1321
  }
1161
1322
 
1162
1323
  .Sqb-LogicGroup-content .Sqb-NestedFormulaList {
@@ -1174,648 +1335,121 @@
1174
1335
  gap: 8px 14px;
1175
1336
  }
1176
1337
 
1177
- .case-section {
1178
- display: flex;
1179
- flex-wrap: wrap;
1180
- align-items: center;
1181
- gap: 8px 14px;
1182
- }
1183
-
1184
- .case-section-condition,
1185
- .case-section-result,
1186
- .case-section-else {
1187
- position: relative;
1188
- padding: 8px 10px 2px;
1189
- border-radius: 12px;
1190
- }
1191
-
1192
- .case-section-condition {
1193
- background: rgba(72, 125, 227, 0.1);
1194
- border: 1px solid rgba(72, 125, 227, 0.15);
1195
- margin-right: 8px;
1196
- }
1197
-
1198
- .case-section-result,
1199
- .case-section-else {
1200
- background: rgba(46, 167, 138, 0.1);
1201
- border: 1px solid rgba(46, 167, 138, 0.14);
1202
- }
1203
-
1204
- .case-section-condition::before,
1205
- .case-section-result::before,
1206
- .case-section-else::before {
1207
- content: none;
1338
+ .Sqb-Filter-item.group-child {
1339
+ margin-right: var(--sqb-item-shell-margin-x);
1208
1340
  }
1209
1341
 
1210
- .case-section-condition .Sqb-Filter-item,
1211
- .case-section-result .Sqb-Filter-item,
1212
- .case-section-else .Sqb-Filter-item {
1213
- margin-top: 0;
1342
+ .Sqb-Filter-item.group-flow-child {
1343
+ width: auto;
1214
1344
  }
1215
1345
 
1216
- .Sqb-FormulaGroup-row.row-case {
1217
- display: grid;
1218
- grid-template-columns: auto minmax(0, 1fr) var(--sqb-case-action-column);
1219
- column-gap: var(--sqb-case-inner-gap);
1220
- min-height: 28px;
1221
- box-sizing: border-box;
1222
- margin: 0;
1223
- padding: 0 24px 3px 0;
1224
- border-bottom: 1px solid rgba(80, 158, 227, 0.1);
1225
- align-items: center;
1226
- gap: 8px 10px;
1346
+ .Sqb-Filter-item.group-logic-child {
1347
+ flex: 0 0 auto;
1227
1348
  }
1228
1349
 
1229
- .Sqb-FormulaGroup-row.row-when,
1230
- .Sqb-FormulaGroup-row.row-else {
1231
- display: grid;
1232
- grid-template-columns: var(--sqb-case-index-column) minmax(0, 1fr) var(--sqb-case-action-column);
1233
- column-gap: var(--sqb-case-inner-gap);
1234
- row-gap: 8px;
1350
+ .Sqb-LogicGroup-content .Sqb-Filter-item.item-composite {
1351
+ flex: 1 1 100%;
1235
1352
  width: 100%;
1236
- margin-left: 0;
1353
+ max-width: 100%;
1237
1354
  box-sizing: border-box;
1238
- padding: 6px;
1239
- border: 1px solid rgba(80, 158, 227, 0.14);
1240
- border-radius: 8px;
1241
- background: rgba(255, 255, 255, 0.82);
1242
- align-items: center;
1243
- gap: 8px var(--sqb-case-inner-gap);
1244
1355
  }
1245
1356
 
1246
- .Sqb-FormulaGroup-row.row-when {
1247
- align-items: center;
1357
+ .Sqb-LogicGroup-content .Sqb-Filter-item.item-composite > .Sqb-Filter-item-node {
1358
+ width: 100%;
1359
+ max-width: 100%;
1248
1360
  }
1249
1361
 
1250
- .Sqb-CaseWhenGroup .Sqb-FormulaGroup-row.row-when:hover,
1251
- .Sqb-CaseWhenGroup .Sqb-FormulaGroup-row.row-else:hover {
1252
- border-color: rgba(80, 158, 227, 0.28);
1253
- background: #fff;
1254
- }
1255
-
1256
- .Sqb-CaseWhenGroup
1257
- .Sqb-FormulaGroup-row.Sqb-CaseRegion--active:not(:has(.Sqb-CaseRegion--active)),
1258
- .Sqb-CaseWhenGroup .Sqb-FormulaGroup-row.row-case:hover:not(:has(.Sqb-CaseWhenGroup:hover)),
1259
- .Sqb-CaseWhenGroup .Sqb-FormulaGroup-row.row-when:hover:not(:has(.Sqb-CaseWhenGroup:hover)),
1260
- .Sqb-CaseWhenGroup .Sqb-FormulaGroup-row.row-else:hover:not(:has(.Sqb-CaseWhenGroup:hover)) {
1261
- border-color: rgba(80, 158, 227, 0.64);
1262
- background: rgba(80, 158, 227, 0.07);
1263
- box-shadow: 0 0 0 2px rgba(80, 158, 227, 0.18), 0 2px 8px rgba(80, 158, 227, 0.1);
1264
- }
1265
-
1266
- .Sqb-CaseWhenGroup
1267
- .Sqb-FormulaGroup-row.Sqb-CaseRegion--active:not(:has(.Sqb-CaseRegion--active))
1268
- .Sqb-CaseSection-condition,
1269
- .Sqb-CaseWhenGroup
1270
- .Sqb-FormulaGroup-row.Sqb-CaseRegion--active:not(:has(.Sqb-CaseRegion--active))
1271
- .Sqb-CaseSection-result,
1272
- .Sqb-CaseWhenGroup
1273
- .Sqb-FormulaGroup-row.row-when:hover:not(:has(.Sqb-CaseWhenGroup:hover))
1274
- .Sqb-CaseSection-condition,
1275
- .Sqb-CaseWhenGroup
1276
- .Sqb-FormulaGroup-row.row-when:hover:not(:has(.Sqb-CaseWhenGroup:hover))
1277
- .Sqb-CaseSection-result,
1278
- .Sqb-CaseWhenGroup
1279
- .Sqb-FormulaGroup-row.row-else:hover:not(:has(.Sqb-CaseWhenGroup:hover))
1280
- .Sqb-CaseSection-result {
1281
- border-color: rgba(80, 158, 227, 0.2);
1282
- background-color: rgba(255, 255, 255, 0.86);
1283
- }
1284
-
1285
- .Sqb-CaseBranchIndex {
1286
- display: inline-flex;
1287
- align-items: center;
1288
- justify-content: center;
1289
- flex: 0 0 auto;
1290
- width: 18px;
1291
- height: 18px;
1362
+ .Sqb-Filter-item.case-row-item {
1292
1363
  margin-top: 0;
1293
- justify-self: center;
1294
- align-self: center;
1295
- border-radius: 999px;
1296
- background: rgba(80, 158, 227, 0.12);
1297
- color: rgb(61, 126, 189);
1298
- font-size: 10px;
1299
- font-weight: 600;
1364
+ margin-bottom: 0;
1300
1365
  }
1301
1366
 
1302
- .Sqb-CaseBranchIndex--else {
1303
- background: rgba(242, 169, 59, 0.16);
1304
-
1305
- &::before {
1306
- content: '';
1307
- width: 7px;
1308
- height: 7px;
1309
- border-radius: 999px;
1310
- background: rgb(214, 137, 31);
1311
- }
1367
+ .Sqb-Filter-item.case-row-item-end {
1368
+ margin-left: 0;
1312
1369
  }
1313
1370
 
1314
- .Sqb-CaseBranch-body {
1315
- display: grid;
1316
- grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
1317
- align-items: center;
1318
- align-self: stretch;
1319
- min-width: 0;
1320
- width: 100%;
1321
- gap: 8px var(--sqb-case-inner-gap);
1371
+ .CwBlock.Sqb-CaseWhenGroup .Sqb-NestedFormulaList .Sqb-Filter-item {
1372
+ margin-top: 0;
1373
+ margin-bottom: 0;
1322
1374
  }
1323
1375
 
1324
- .Sqb-CaseWhenGroup:not(.Sqb-CaseWhenGroup--nested)
1325
- > .Sqb-FormulaGroup-row.row-when
1326
- > .Sqb-CaseBranch-body,
1327
- .Sqb-CaseWhenGroup:not(.Sqb-CaseWhenGroup--nested)
1328
- > .Sqb-FormulaGroup-row.row-else
1329
- > .Sqb-CaseBranch-body {
1330
- display: block;
1331
- width: 100%;
1332
- min-width: 0;
1333
- overflow-x: auto;
1334
- overflow-y: hidden;
1335
- padding-bottom: 4px;
1336
- }
1337
-
1338
- .Sqb-CaseWhenGroup:not(.Sqb-CaseWhenGroup--nested)
1339
- > .Sqb-FormulaGroup-row.row-when
1340
- > .Sqb-CaseBranch-body
1341
- > .Sqb-CaseBranch-scrollInner {
1342
- display: grid;
1343
- grid-template-columns: max-content max-content;
1344
- column-gap: var(--sqb-case-inner-gap);
1345
- row-gap: 8px;
1376
+ .CwBlock.Sqb-CaseWhenGroup .Sqb-NestedFormulaList.Sqb-NestedFormulaList--hasCaseWhen,
1377
+ .CwBlock.Sqb-CaseWhenGroup
1378
+ .Sqb-NestedFormulaList.Sqb-NestedFormulaList--hasCaseWhen
1379
+ > .Sqb-NotebookCell {
1346
1380
  width: max-content;
1347
1381
  min-width: 100%;
1382
+ max-width: none;
1348
1383
  }
1349
1384
 
1350
- .Sqb-CaseWhenGroup:not(.Sqb-CaseWhenGroup--nested)
1351
- > .Sqb-FormulaGroup-row.row-else
1352
- > .Sqb-CaseBranch-body
1353
- > .Sqb-CaseBranch-scrollInner {
1354
- display: grid;
1355
- grid-template-columns: max-content;
1356
- row-gap: 8px;
1385
+ .CwBlock.Sqb-CaseWhenGroup
1386
+ .Sqb-NestedFormulaList.Sqb-NestedFormulaList--hasCaseWhen
1387
+ > .Sqb-NotebookCell.Sqb-NotebookCell--embedded
1388
+ > .Sqb-Filter-item.item-composite,
1389
+ .CwBlock.Sqb-CaseWhenGroup
1390
+ .Sqb-NestedFormulaList.Sqb-NestedFormulaList--hasCaseWhen
1391
+ > .Sqb-NotebookCell.Sqb-NotebookCell--embedded
1392
+ > .Sqb-Filter-item.item-composite
1393
+ > .Sqb-Filter-item-node {
1394
+ flex: 0 0 auto;
1357
1395
  width: max-content;
1358
1396
  min-width: 100%;
1397
+ max-width: none;
1359
1398
  }
1360
1399
 
1361
- .Sqb-CaseWhenGroup:not(.Sqb-CaseWhenGroup--nested)
1362
- > .Sqb-FormulaGroup-row
1363
- > .Sqb-CaseBranch-body
1364
- > .Sqb-CaseBranch-scrollInner
1365
- > .Sqb-CaseSection {
1400
+ .Sqb-CaseWhenGroup.Sqb-CaseWhenGroup--nested {
1401
+ flex: 0 0 auto;
1366
1402
  width: max-content;
1367
- min-width: 240px;
1403
+ min-width: 100%;
1368
1404
  max-width: none;
1369
- grid-template-columns: 38px max-content;
1370
1405
  }
1371
1406
 
1372
- .Sqb-CaseWhenGroup:not(.Sqb-CaseWhenGroup--nested)
1373
- > .Sqb-FormulaGroup-row.row-else
1374
- > .Sqb-CaseBranch-body
1375
- > .Sqb-CaseBranch-scrollInner
1376
- > .Sqb-CaseSection {
1377
- min-width: 100%;
1407
+ .CwBlock.Sqb-CaseWhenGroup .Sqb-NestedFormulaList,
1408
+ .CwBlock.Sqb-CaseWhenGroup .Sqb-NestedFormulaList .Sqb-NotebookCell,
1409
+ .Sqb-LogicGroup-content .Sqb-NestedFormulaList,
1410
+ .Sqb-LogicGroup-content .Sqb-NestedFormulaList .Sqb-NotebookCell {
1411
+ vertical-align: middle;
1378
1412
  }
1379
1413
 
1380
- .Sqb-CaseWhenGroup:not(.Sqb-CaseWhenGroup--nested)
1381
- > .Sqb-FormulaGroup-row
1382
- > .Sqb-CaseBranch-body
1383
- > .Sqb-CaseBranch-scrollInner
1384
- > .Sqb-CaseSection
1385
- > .Sqb-CaseSection-content {
1386
- width: max-content;
1387
- min-width: 0;
1388
- max-width: none;
1389
- }
1390
-
1391
- .Sqb-FormulaGroup-row.row-else .Sqb-CaseBranch-body {
1392
- grid-template-columns: minmax(0, 1fr);
1393
- }
1394
-
1395
- .Sqb-CaseRow-actions {
1396
- display: flex;
1397
- align-items: center;
1398
- gap: 6px;
1399
- min-height: 28px;
1400
- margin-top: 0;
1401
- }
1402
-
1403
- .Sqb-CaseRow-actions.when-row-actions {
1404
- justify-self: end;
1405
- margin: 0;
1406
- padding-top: 0;
1407
- align-self: center;
1408
- }
1409
-
1410
- .Sqb-FormulaGroup-row.row-else,
1411
- .Sqb-FormulaGroup-row.row-case {
1412
- width: 100%;
1413
- }
1414
-
1415
- .Sqb-FormulaGroup-row.row-end {
1416
- display: grid;
1417
- grid-template-columns: auto minmax(0, 1fr) var(--sqb-case-action-column);
1418
- column-gap: var(--sqb-case-inner-gap);
1419
- align-items: center;
1420
- margin: 0;
1421
- padding: 0;
1422
- }
1423
-
1424
- .Sqb-Filter-item.group-child {
1425
- margin-right: var(--sqb-item-shell-margin-x);
1426
- }
1427
-
1428
- .Sqb-Filter-item.group-flow-child {
1429
- width: auto;
1430
- }
1431
-
1432
- .Sqb-Filter-item.group-logic-child {
1433
- flex: 0 0 auto;
1434
- }
1435
-
1436
- .Sqb-Filter-item.case-row-item {
1437
- margin-top: 0;
1438
- margin-bottom: 0;
1439
- }
1440
-
1441
- .Sqb-Filter-item.case-row-item-end {
1442
- margin-left: 0;
1443
- }
1444
-
1445
- .Sqb-CaseSection {
1446
- display: grid;
1447
- grid-template-columns: minmax(0, 1fr);
1448
- align-items: center;
1449
- min-height: auto;
1450
- min-width: 0;
1451
- gap: 8px 14px;
1452
- }
1453
-
1454
- .Sqb-CaseSection-condition {
1455
- flex: 1 1 280px;
1456
- min-height: auto;
1457
- margin-right: 0;
1458
- max-width: 100%;
1459
- }
1460
-
1461
- .Sqb-CaseSection-case {
1462
- flex: 1 1 320px;
1463
- min-height: auto;
1464
- margin-left: 0;
1465
- }
1466
-
1467
- .Sqb-CaseSection-result {
1468
- flex: 1 1 240px;
1469
- min-height: auto;
1470
- max-width: 100%;
1471
- }
1472
-
1473
- .Sqb-FormulaGroup.flow-group .Sqb-CaseKeyword {
1474
- flex: 0 0 auto;
1414
+ .Sqb-FormulaGroup.logic-group .Sqb-LogicGroup-operator .Sqb-TableName.logic-operator,
1415
+ .Sqb-FormulaGroup.logic-group .Sqb-LogicGroup-operator button,
1416
+ .Sqb-FormulaGroup.logic-group .Sqb-TableName.logic-operator {
1417
+ appearance: none;
1418
+ -webkit-appearance: none;
1475
1419
  display: inline-flex;
1476
1420
  align-items: center;
1477
1421
  justify-content: center;
1478
- min-width: 34px;
1479
- min-height: 20px;
1480
- line-height: 1;
1481
- padding: 0 6px;
1482
- border-radius: 999px;
1483
- font-size: 10px;
1484
- font-weight: 700;
1485
- letter-spacing: 0;
1486
- color: rgba(83, 92, 112, 0.76);
1487
- background: rgba(83, 92, 112, 0.07);
1488
- }
1489
-
1490
- .Sqb-FormulaGroup.flow-group .Sqb-CaseKeyword.keyword-case,
1491
- .Sqb-FormulaGroup.flow-group .Sqb-CaseKeyword.keyword-end {
1492
- color: rgb(61, 126, 189);
1493
- background: rgba(80, 158, 227, 0.12);
1494
- }
1495
-
1496
- .Sqb-FormulaGroup.flow-group .Sqb-CaseKeyword.keyword-branch {
1497
- color: rgba(83, 92, 112, 0.84);
1498
- align-self: center;
1499
- }
1500
-
1501
- .Sqb-FormulaGroup.flow-group .Sqb-CaseKeyword.keyword-when {
1502
- color: rgb(61, 126, 189);
1503
- background: rgba(80, 158, 227, 0.12);
1504
- }
1505
-
1506
- .Sqb-FormulaGroup.flow-group .Sqb-CaseKeyword.keyword-then {
1507
- color: rgb(32, 137, 112);
1508
- background: rgba(46, 167, 138, 0.12);
1509
- }
1510
-
1511
- .Sqb-FormulaGroup.flow-group .Sqb-CaseKeyword.keyword-else {
1512
- color: rgb(190, 121, 24);
1513
- background: rgba(242, 169, 59, 0.16);
1514
- }
1515
-
1516
- .Sqb-FormulaGroup.flow-group .Sqb-NestedFormulaList,
1517
- .Sqb-FormulaGroup.flow-group .Sqb-NestedFormulaList .Sqb-NotebookCell {
1518
- display: inline-flex;
1519
- flex-wrap: wrap;
1520
- align-items: center;
1521
- gap: 8px 14px;
1522
- width: auto;
1523
- min-width: 0;
1524
- }
1525
-
1526
- .Sqb-FormulaGroup.flow-group .Sqb-NestedFormulaList .Sqb-Filter-item {
1527
- margin-top: 0;
1528
- margin-bottom: 0;
1529
- }
1530
-
1531
- .Sqb-FormulaGroup.flow-group .Sqb-CaseSection-case,
1532
- .Sqb-FormulaGroup.flow-group .Sqb-CaseSection-condition,
1533
- .Sqb-FormulaGroup.flow-group .Sqb-CaseSection-result {
1534
- min-width: 0;
1535
- box-sizing: border-box;
1536
- min-height: 34px;
1537
- padding: 3px 6px;
1538
- border: 1px solid transparent;
1539
- border-radius: 7px;
1540
- }
1541
-
1542
- .Sqb-FormulaGroup.flow-group .Sqb-FormulaGroup-row.row-when .Sqb-CaseSection-condition,
1543
- .Sqb-FormulaGroup.flow-group .Sqb-FormulaGroup-row.row-when .Sqb-CaseSection-result,
1544
- .Sqb-FormulaGroup.flow-group .Sqb-FormulaGroup-row.row-else .Sqb-CaseSection-result {
1545
- display: grid;
1546
- grid-template-columns: 38px minmax(0, 1fr);
1547
- align-items: center;
1548
- column-gap: 8px;
1549
- row-gap: 6px;
1550
- }
1551
-
1552
- .Sqb-FormulaGroup.flow-group .Sqb-CaseSection-case {
1553
- padding: 0;
1554
- background: transparent;
1555
- }
1556
-
1557
- .Sqb-FormulaGroup.flow-group .Sqb-CaseSection-condition {
1558
- background: rgba(80, 158, 227, 0.06);
1559
- border-color: rgba(80, 158, 227, 0.12);
1560
- }
1561
-
1562
- .Sqb-FormulaGroup.flow-group .Sqb-CaseSection-result {
1563
- background: rgba(46, 167, 138, 0.06);
1564
- border-color: rgba(46, 167, 138, 0.12);
1565
- }
1566
-
1567
- .Sqb-FormulaGroup.flow-group .Sqb-CaseSection-else {
1568
- background: rgba(242, 169, 59, 0.07);
1569
- border-color: rgba(242, 169, 59, 0.14);
1570
- }
1571
-
1572
- .Sqb-FormulaGroup.flow-group .Sqb-FormulaGroup-row.row-when .Sqb-NestedFormulaList,
1573
- .Sqb-FormulaGroup.flow-group
1574
- .Sqb-FormulaGroup-row.row-when
1575
- .Sqb-NestedFormulaList
1576
- .Sqb-NotebookCell,
1577
- .Sqb-FormulaGroup.flow-group .Sqb-FormulaGroup-row.row-else .Sqb-NestedFormulaList,
1578
- .Sqb-FormulaGroup.flow-group
1579
- .Sqb-FormulaGroup-row.row-else
1580
- .Sqb-NestedFormulaList
1581
- .Sqb-NotebookCell {
1582
- display: inline-flex;
1583
- flex-wrap: wrap;
1584
- align-items: center;
1585
- width: auto;
1586
- }
1587
-
1588
- .Sqb-CaseWhenGroup .Sqb-FormulaGroup-row:is(.row-when, .row-else) .Sqb-CaseSection-content--wrap {
1589
- width: max-content;
1590
- min-width: 0;
1591
- max-width: none;
1592
- }
1593
-
1594
- .Sqb-CaseWhenGroup
1595
- .Sqb-FormulaGroup-row:is(.row-when, .row-else)
1596
- .Sqb-CaseSection-content--wrap
1597
- > .Sqb-NestedFormulaList:not(.Sqb-NestedFormulaList--hasCaseWhen),
1598
- .Sqb-CaseWhenGroup
1599
- .Sqb-FormulaGroup-row:is(.row-when, .row-else)
1600
- .Sqb-CaseSection-content--wrap
1601
- > .Sqb-NestedFormulaList:not(.Sqb-NestedFormulaList--hasCaseWhen)
1602
- > .Sqb-NotebookCell,
1603
- .Sqb-CaseWhenGroup
1604
- .Sqb-FormulaGroup-row:is(.row-when, .row-else)
1605
- .Sqb-CaseSection-content--wrap
1606
- > .Sqb-NestedFormulaList:not(.Sqb-NestedFormulaList--hasCaseWhen)
1607
- > .Sqb-NotebookCell.Sqb-NotebookCell--embedded {
1608
- display: inline-flex;
1609
- flex-wrap: wrap;
1610
- align-items: center;
1611
- gap: 8px 14px;
1612
- width: max-content;
1613
- min-width: 0;
1614
- max-width: 520px;
1615
- box-sizing: border-box;
1616
- }
1617
-
1618
- .Sqb-CaseWhenGroup
1619
- .Sqb-FormulaGroup-row:is(.row-when, .row-else)
1620
- .Sqb-CaseSection-content--wrap
1621
- > .Sqb-NestedFormulaList:not(.Sqb-NestedFormulaList--hasCaseWhen)
1622
- > .Sqb-NotebookCell.Sqb-NotebookCell--embedded
1623
- > .Sqb-Filter-item:not(.item-composite) {
1624
- flex: 0 1 auto;
1625
- min-width: 0;
1626
- max-width: 100%;
1627
- }
1628
-
1629
- .Sqb-CaseWhenGroup
1630
- .Sqb-FormulaGroup-row:is(.row-when, .row-else)
1631
- .Sqb-CaseSection-content--wrap
1632
- > .Sqb-NestedFormulaList:not(.Sqb-NestedFormulaList--hasCaseWhen)
1633
- > .Sqb-NotebookCell.Sqb-NotebookCell--embedded
1634
- > .Sqb-Filter-item:not(.item-composite)
1635
- > .Sqb-Filter-item-node,
1636
- .Sqb-CaseWhenGroup
1637
- .Sqb-FormulaGroup-row:is(.row-when, .row-else)
1638
- .Sqb-CaseSection-content--wrap
1639
- > .Sqb-NestedFormulaList:not(.Sqb-NestedFormulaList--hasCaseWhen)
1640
- > .Sqb-NotebookCell.Sqb-NotebookCell--embedded
1641
- > .Sqb-Filter-item:not(.item-composite)
1642
- .Sqb-TableName {
1643
- min-width: 0;
1644
- max-width: 100%;
1645
- }
1646
-
1647
- .Sqb-CaseWhenGroup
1648
- .Sqb-FormulaGroup-row:is(.row-when, .row-else)
1649
- .Sqb-CaseSection-content--wrap
1650
- > .Sqb-NestedFormulaList:not(.Sqb-NestedFormulaList--hasCaseWhen)
1651
- > .Sqb-NotebookCell.Sqb-NotebookCell--embedded
1652
- > .Sqb-Filter-item:not(.item-composite)
1653
- .Sqb-TableName {
1654
- white-space: normal;
1655
- overflow-wrap: anywhere;
1656
- }
1657
-
1658
- .Sqb-FormulaGroup.flow-group .Sqb-NestedFormulaList.Sqb-NestedFormulaList--hasCaseWhen,
1659
- .Sqb-FormulaGroup.flow-group
1660
- .Sqb-NestedFormulaList.Sqb-NestedFormulaList--hasCaseWhen
1661
- > .Sqb-NotebookCell {
1662
- width: max-content;
1663
- min-width: 100%;
1664
- max-width: none;
1665
- }
1666
-
1667
- .Sqb-FormulaGroup.flow-group
1668
- .Sqb-NestedFormulaList.Sqb-NestedFormulaList--hasCaseWhen
1669
- > .Sqb-NotebookCell.Sqb-NotebookCell--embedded
1670
- > .Sqb-Filter-item.item-composite,
1671
- .Sqb-FormulaGroup.flow-group
1672
- .Sqb-NestedFormulaList.Sqb-NestedFormulaList--hasCaseWhen
1673
- > .Sqb-NotebookCell.Sqb-NotebookCell--embedded
1674
- > .Sqb-Filter-item.item-composite
1675
- > .Sqb-Filter-item-node {
1676
- flex: 0 0 auto;
1677
- width: max-content;
1678
- min-width: 100%;
1679
- max-width: none;
1680
- }
1681
-
1682
- .Sqb-CaseWhenGroup.Sqb-CaseWhenGroup--nested {
1683
1422
  flex: 0 0 auto;
1684
- width: max-content;
1685
- min-width: 100%;
1686
- max-width: none;
1687
- }
1688
-
1689
- .Sqb-CaseWhenGroup.Sqb-CaseWhenGroup--nested > .Sqb-FormulaGroup-row.row-when,
1690
- .Sqb-CaseWhenGroup.Sqb-CaseWhenGroup--nested > .Sqb-FormulaGroup-row.row-else {
1691
- grid-template-columns: var(--sqb-case-index-column) max-content var(--sqb-case-action-column);
1692
- width: max-content;
1693
- min-width: 100%;
1694
- }
1695
-
1696
- .Sqb-CaseWhenGroup.Sqb-CaseWhenGroup--nested
1697
- > .Sqb-FormulaGroup-row.row-when
1698
- > .Sqb-CaseBranch-body {
1699
- grid-template-columns: max-content max-content;
1700
- width: max-content;
1701
- min-width: 100%;
1702
- max-width: none;
1703
- }
1704
-
1705
- .Sqb-CaseWhenGroup.Sqb-CaseWhenGroup--nested
1706
- > .Sqb-FormulaGroup-row.row-else
1707
- > .Sqb-CaseBranch-body {
1708
- grid-template-columns: max-content;
1709
- width: max-content;
1710
- min-width: 100%;
1711
- max-width: none;
1712
- }
1713
-
1714
- .Sqb-CaseWhenGroup.Sqb-CaseWhenGroup--nested
1715
- > .Sqb-FormulaGroup-row
1716
- > .Sqb-CaseBranch-body
1717
- > .Sqb-CaseSection {
1718
- width: max-content;
1719
- min-width: 240px;
1720
- max-width: none;
1721
- grid-template-columns: 38px max-content;
1722
- }
1723
-
1724
- .Sqb-CaseWhenGroup.Sqb-CaseWhenGroup--nested
1725
- > .Sqb-FormulaGroup-row
1726
- > .Sqb-CaseBranch-body
1727
- > .Sqb-CaseSection
1728
- > .Sqb-CaseSection-content {
1729
- width: max-content;
1730
- min-width: 0;
1731
- max-width: none;
1732
- }
1733
-
1734
- .Sqb-FormulaGroup.flow-group .Sqb-CaseSection-case {
1735
- flex: 1 1 auto;
1736
- }
1737
-
1738
- .Sqb-CaseSection-content {
1739
- display: block;
1740
- width: 100%;
1741
- min-width: 0;
1742
- max-width: 100%;
1743
- }
1744
-
1745
- .Sqb-CaseWhenGroup
1746
- .Sqb-FormulaGroup-row:is(.row-when, .row-else)
1747
- .Sqb-CaseSection-content.Sqb-CaseSection-content--wrap {
1748
- width: max-content;
1749
- min-width: 0;
1750
- max-width: none;
1751
- }
1752
-
1753
- .Sqb-CaseWhenGroup
1754
- .Sqb-FormulaGroup-row:is(.row-when, .row-else)
1755
- .Sqb-CaseSection-content.Sqb-CaseSection-content--wrap
1756
- > .Sqb-NestedFormulaList:not(.Sqb-NestedFormulaList--hasCaseWhen),
1757
- .Sqb-CaseWhenGroup
1758
- .Sqb-FormulaGroup-row:is(.row-when, .row-else)
1759
- .Sqb-CaseSection-content.Sqb-CaseSection-content--wrap
1760
- > .Sqb-NestedFormulaList:not(.Sqb-NestedFormulaList--hasCaseWhen)
1761
- > .Sqb-NotebookCell,
1762
- .Sqb-CaseWhenGroup
1763
- .Sqb-FormulaGroup-row:is(.row-when, .row-else)
1764
- .Sqb-CaseSection-content.Sqb-CaseSection-content--wrap
1765
- > .Sqb-NestedFormulaList:not(.Sqb-NestedFormulaList--hasCaseWhen)
1766
- > .Sqb-NotebookCell.Sqb-NotebookCell--embedded {
1767
- display: inline-flex;
1768
- flex-wrap: wrap;
1769
- align-items: center;
1770
- gap: 8px 14px;
1771
- width: max-content;
1772
- min-width: 0;
1773
- max-width: 520px;
1774
- box-sizing: border-box;
1775
- }
1776
-
1777
- .Sqb-FormulaGroup.logic-group > .Sqb-CaseKeyword {
1778
- display: inline-flex;
1779
- align-items: center;
1780
- min-height: 28px;
1781
- line-height: 1;
1782
- padding: 0;
1783
- }
1784
-
1785
- .Sqb-FormulaGroup.flow-group .Sqb-NestedFormulaList,
1786
- .Sqb-FormulaGroup.flow-group .Sqb-NestedFormulaList .Sqb-NotebookCell,
1787
- .Sqb-LogicGroup-content .Sqb-NestedFormulaList,
1788
- .Sqb-LogicGroup-content .Sqb-NestedFormulaList .Sqb-NotebookCell {
1789
- vertical-align: middle;
1790
- }
1791
-
1792
- .Sqb-FormulaGroup.logic-group .Sqb-TableName.logic-operator {
1793
- justify-content: center;
1794
- flex: 0 0 32px;
1795
- width: 32px;
1423
+ width: auto;
1796
1424
  min-width: 32px;
1797
1425
  height: 20px;
1798
1426
  min-height: 20px;
1799
- padding: 0 6px;
1427
+ margin: 0;
1428
+ padding: 0 8px;
1429
+ border: 0;
1800
1430
  border-radius: 10px;
1801
- margin-right: 0;
1802
- margin-bottom: 0;
1431
+ background-color: transparent;
1432
+ color: #fff;
1803
1433
  font-size: 10px;
1804
1434
  font-weight: 600;
1805
1435
  line-height: 1;
1806
1436
  white-space: nowrap;
1437
+ cursor: pointer;
1438
+ box-sizing: border-box;
1807
1439
  }
1808
1440
 
1809
- .Sqb-FormulaGroup-row.row-else .Sqb-CaseSection-result,
1810
- .Sqb-FormulaGroup-row.row-case .Sqb-CaseSection-case {
1811
- width: 100%;
1441
+ .Sqb-FormulaGroup.logic-group .Sqb-LogicGroup-operator--and .logic-operator,
1442
+ .Sqb-FormulaGroup.logic-group .Sqb-TableName.logic-operator.logic-and {
1443
+ background-color: transparent;
1444
+ color: #fff;
1812
1445
  }
1813
1446
 
1814
- .Sqb-CaseWhenGroup .Sqb-FormulaGroup-row.row-else .Sqb-CaseSection-result {
1815
- width: auto;
1447
+ .Sqb-FormulaGroup.logic-group .Sqb-LogicGroup-operator--or .logic-operator,
1448
+ .Sqb-FormulaGroup.logic-group .Sqb-TableName.logic-operator.logic-or {
1449
+ background-color: transparent;
1450
+ color: #fff;
1816
1451
  }
1817
1452
 
1818
- .Sqb-CaseRow-add,
1819
1453
  .Sqb-CaseRow-remove {
1820
1454
  display: inline-flex;
1821
1455
  align-items: center;
@@ -1841,67 +1475,6 @@
1841
1475
  }
1842
1476
  }
1843
1477
 
1844
- .Sqb-CaseRecover {
1845
- display: inline-flex;
1846
- align-items: center;
1847
- gap: 4px;
1848
- margin: 0;
1849
- min-height: 22px;
1850
- padding: 0 7px;
1851
- border: 1px dashed rgba(80, 158, 227, 0.35);
1852
- border-radius: 7px;
1853
- background: rgba(80, 158, 227, 0.06);
1854
- color: rgb(80, 158, 227);
1855
- cursor: pointer;
1856
- font-size: 11px;
1857
- line-height: 1;
1858
- transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
1859
-
1860
- svg {
1861
- width: 10px;
1862
- height: 10px;
1863
- }
1864
-
1865
- &:hover {
1866
- border-color: rgba(80, 158, 227, 0.48);
1867
- background: rgba(80, 158, 227, 0.12);
1868
- }
1869
- }
1870
-
1871
- .Sqb-CaseRecoverSlot {
1872
- display: inline-flex;
1873
- align-items: center;
1874
- justify-content: flex-start;
1875
- width: auto;
1876
- padding: 0 0 6px;
1877
- }
1878
-
1879
- .Sqb-CaseRecover.recover-row,
1880
- .Sqb-CaseRecover.recover-else-row {
1881
- align-self: flex-start;
1882
- margin: 0 0 0 26px;
1883
- }
1884
-
1885
- .Sqb-CaseRecover.inline-after-case {
1886
- margin: 0 0 0 26px;
1887
- }
1888
-
1889
- .Sqb-CaseSection-case .Sqb-CaseRecover.recover-case {
1890
- margin: 2px 0 6px 4px;
1891
- }
1892
-
1893
- .Sqb-CaseRow-add {
1894
- border: 1px solid rgba(80, 158, 227, 0.28);
1895
- background: rgba(80, 158, 227, 0.12);
1896
- color: rgb(80, 158, 227);
1897
-
1898
- &:hover {
1899
- border-color: rgba(80, 158, 227, 0.42);
1900
- background: rgba(80, 158, 227, 0.18);
1901
- box-shadow: 0 2px 5px rgba(80, 158, 227, 0.14);
1902
- }
1903
- }
1904
-
1905
1478
  .Sqb-CaseRow-remove {
1906
1479
  border-color: rgba(245, 63, 63, 0.2);
1907
1480
  background: rgba(245, 63, 63, 0.06);
@@ -2004,8 +1577,6 @@
2004
1577
 
2005
1578
  .Sqb-FormulaListZoomEditor-body:not(.Sqb-FormulaListZoomEditor-body--formulaList)
2006
1579
  .formula-node-group,
2007
- .Sqb-FormulaListZoomEditor-body:not(.Sqb-FormulaListZoomEditor-body--formulaList)
2008
- .Sqb-FormulaGroup.flow-group,
2009
1580
  .Sqb-FormulaListZoomEditor-body:not(.Sqb-FormulaListZoomEditor-body--formulaList)
2010
1581
  .Sqb-FormulaGroup.Sqb-CaseWhenGroup {
2011
1582
  flex: 1 1 auto;
@@ -2041,313 +1612,15 @@
2041
1612
  align-items: stretch;
2042
1613
  }
2043
1614
 
2044
- .Sqb-FormulaListZoomEditor-body:not(.Sqb-FormulaListZoomEditor-body--formulaList)
2045
- .Sqb-FormulaGroup.flow-group,
2046
- .Sqb-FormulaListZoomEditor-body:not(.Sqb-FormulaListZoomEditor-body--formulaList)
2047
- .Sqb-FormulaGroup.Sqb-CaseWhenGroup {
2048
- flex-direction: column;
2049
- align-items: stretch;
2050
- }
2051
-
2052
- .Sqb-FormulaListZoomEditor-body .Sqb-FormulaGroup-row {
2053
- width: 100%;
2054
- min-width: 0;
2055
- }
2056
-
2057
- .Sqb-FormulaListZoomEditor-body .Sqb-FormulaGroup-row.row-case,
2058
- .Sqb-FormulaListZoomEditor-body .Sqb-FormulaGroup-row.row-end {
2059
- grid-template-columns: auto minmax(0, 1fr) var(--sqb-case-action-column);
2060
- }
2061
-
2062
- .Sqb-FormulaListZoomEditor-body .Sqb-FormulaGroup-row.row-when,
2063
- .Sqb-FormulaListZoomEditor-body .Sqb-FormulaGroup-row.row-else {
2064
- grid-template-columns:
2065
- var(--sqb-case-index-column) minmax(0, 1fr)
2066
- var(--sqb-case-action-column);
2067
- }
2068
-
2069
- .Sqb-FormulaListZoomEditor-body
2070
- .Sqb-CaseWhenGroup:not(.Sqb-CaseWhenGroup--nested)
2071
- > .Sqb-FormulaGroup-row
2072
- > .Sqb-CaseBranch-body {
2073
- display: block;
2074
- width: 100%;
2075
- min-width: 0;
2076
- overflow-x: auto;
2077
- overflow-y: hidden;
2078
- padding-bottom: 4px;
2079
- }
2080
-
2081
- .Sqb-FormulaListZoomEditor-body
2082
- .Sqb-CaseWhenGroup:not(.Sqb-CaseWhenGroup--nested)
2083
- > .Sqb-FormulaGroup-row
2084
- > .Sqb-CaseBranch-body:has(.Sqb-CaseWhenGroup--nested) {
2085
- overflow: visible;
2086
- padding-bottom: 0;
2087
- }
2088
-
2089
- .Sqb-FormulaListZoomEditor-body
2090
- .Sqb-CaseWhenGroup:not(.Sqb-CaseWhenGroup--nested)
2091
- > .Sqb-FormulaGroup-row
2092
- > .Sqb-CaseBranch-body
2093
- > .Sqb-CaseBranch-scrollInner {
2094
- display: grid;
2095
- grid-template-columns: minmax(0, 1fr);
2096
- row-gap: 8px;
2097
- width: 100%;
2098
- min-width: 100%;
2099
- }
2100
-
2101
- .Sqb-FormulaListZoomEditor-body .Sqb-CaseWhenGroup.Sqb-CaseWhenGroup--nested {
2102
- width: 100%;
2103
- max-width: 100%;
2104
- }
2105
-
2106
- .Sqb-FormulaListZoomEditor-body .Sqb-CaseWhenGroup.Sqb-CaseWhenGroup--nested .Sqb-CaseBranch-body {
2107
- display: grid;
2108
- width: 100%;
2109
- min-width: 0;
2110
- overflow: visible;
2111
- grid-template-columns: minmax(0, 1fr);
2112
- }
2113
-
2114
- .Sqb-FormulaListZoomEditor-body .Sqb-FormulaGroup.flow-group .Sqb-CaseSection-case,
2115
- .Sqb-FormulaListZoomEditor-body .Sqb-FormulaGroup.flow-group .Sqb-CaseSection-condition,
2116
- .Sqb-FormulaListZoomEditor-body .Sqb-FormulaGroup.flow-group .Sqb-CaseSection-result {
2117
- width: 100%;
2118
- min-width: 0;
2119
- max-width: 100%;
2120
- overflow: hidden;
2121
- }
2122
-
2123
- .Sqb-FormulaListZoomEditor-body .Sqb-FormulaGroup.flow-group .Sqb-CaseSection-content {
2124
- display: block;
2125
- width: 100%;
2126
- min-width: 0;
2127
- max-width: 100%;
2128
- overflow: visible;
2129
- padding-bottom: 0;
2130
- }
2131
-
2132
- .Sqb-FormulaListZoomEditor-body
2133
- .Sqb-FormulaGroup.flow-group
2134
- .Sqb-FormulaGroup-row.row-when
2135
- .Sqb-CaseSection-condition,
2136
- .Sqb-FormulaListZoomEditor-body
2137
- .Sqb-FormulaGroup.flow-group
2138
- .Sqb-FormulaGroup-row.row-when
2139
- .Sqb-CaseSection-result,
2140
- .Sqb-FormulaListZoomEditor-body
2141
- .Sqb-FormulaGroup.flow-group
2142
- .Sqb-FormulaGroup-row.row-else
2143
- .Sqb-CaseSection-result {
2144
- width: 100%;
2145
- min-width: 100%;
2146
- max-width: 100%;
2147
- overflow: visible;
2148
- grid-template-columns: 38px minmax(0, 1fr);
2149
- }
2150
-
2151
- .Sqb-FormulaListZoomEditor-body
2152
- .Sqb-FormulaGroup.flow-group
2153
- .Sqb-FormulaGroup-row.row-when
2154
- .Sqb-CaseSection-content,
2155
- .Sqb-FormulaListZoomEditor-body
2156
- .Sqb-FormulaGroup.flow-group
2157
- .Sqb-FormulaGroup-row.row-else
2158
- .Sqb-CaseSection-content {
2159
- width: 100%;
2160
- min-width: 0;
2161
- max-width: none;
2162
- }
2163
-
2164
- .Sqb-FormulaListZoomEditor-body
2165
- .Sqb-CaseWhenGroup:not(.Sqb-CaseWhenGroup--nested)
2166
- > .Sqb-FormulaGroup-row
2167
- > .Sqb-CaseBranch-body
2168
- > .Sqb-CaseBranch-scrollInner
2169
- > .Sqb-CaseSection
2170
- > .Sqb-CaseSection-content.Sqb-CaseSection-content--wrap
2171
- > .Sqb-NestedFormulaList:not(.Sqb-NestedFormulaList--hasCaseWhen),
2172
- .Sqb-FormulaListZoomEditor-body
2173
- .Sqb-CaseWhenGroup:not(.Sqb-CaseWhenGroup--nested)
2174
- > .Sqb-FormulaGroup-row
2175
- > .Sqb-CaseBranch-body
2176
- > .Sqb-CaseBranch-scrollInner
2177
- > .Sqb-CaseSection
2178
- > .Sqb-CaseSection-content.Sqb-CaseSection-content--wrap
2179
- > .Sqb-NestedFormulaList:not(.Sqb-NestedFormulaList--hasCaseWhen)
2180
- > .Sqb-NotebookCell,
2181
- .Sqb-FormulaListZoomEditor-body
2182
- .Sqb-CaseWhenGroup:not(.Sqb-CaseWhenGroup--nested)
2183
- > .Sqb-FormulaGroup-row
2184
- > .Sqb-CaseBranch-body
2185
- > .Sqb-CaseBranch-scrollInner
2186
- > .Sqb-CaseSection
2187
- > .Sqb-CaseSection-content.Sqb-CaseSection-content--wrap
2188
- > .Sqb-NestedFormulaList:not(.Sqb-NestedFormulaList--hasCaseWhen)
2189
- > .Sqb-NotebookCell.Sqb-NotebookCell--embedded {
2190
- display: inline-flex;
2191
- flex: 0 1 auto;
2192
- flex-wrap: wrap;
2193
- align-items: center;
2194
- gap: 8px 14px;
2195
- width: max-content;
2196
- min-width: 0;
2197
- max-width: 520px;
2198
- box-sizing: border-box;
2199
- }
2200
-
2201
- .Sqb-FormulaListZoomEditor-body
2202
- .Sqb-CaseWhenGroup:not(.Sqb-CaseWhenGroup--nested)
2203
- > .Sqb-FormulaGroup-row
2204
- > .Sqb-CaseBranch-body
2205
- > .Sqb-CaseBranch-scrollInner
2206
- > .Sqb-CaseSection
2207
- > .Sqb-CaseSection-content.Sqb-CaseSection-content--wrap
2208
- > .Sqb-NestedFormulaList:not(.Sqb-NestedFormulaList--hasCaseWhen)
2209
- > .Sqb-NotebookCell.Sqb-NotebookCell--embedded
2210
- > .Sqb-Filter-item:not(.item-composite) {
2211
- flex: 0 1 auto;
2212
- min-width: 0;
2213
- max-width: 100%;
2214
- }
2215
-
2216
- .Sqb-FormulaListZoomEditor-body
2217
- .Sqb-CaseWhenGroup:not(.Sqb-CaseWhenGroup--nested)
2218
- > .Sqb-FormulaGroup-row
2219
- > .Sqb-CaseBranch-body
2220
- > .Sqb-CaseBranch-scrollInner
2221
- > .Sqb-CaseSection
2222
- > .Sqb-CaseSection-content
2223
- > .Sqb-NestedFormulaList.Sqb-NestedFormulaList--hasCaseWhen,
2224
- .Sqb-FormulaListZoomEditor-body
2225
- .Sqb-CaseWhenGroup:not(.Sqb-CaseWhenGroup--nested)
2226
- > .Sqb-FormulaGroup-row
2227
- > .Sqb-CaseBranch-body
2228
- > .Sqb-CaseBranch-scrollInner
2229
- > .Sqb-CaseSection
2230
- > .Sqb-CaseSection-content
2231
- > .Sqb-NestedFormulaList.Sqb-NestedFormulaList--hasCaseWhen
2232
- > .Sqb-NotebookCell,
2233
- .Sqb-FormulaListZoomEditor-body
2234
- .Sqb-CaseWhenGroup:not(.Sqb-CaseWhenGroup--nested)
2235
- > .Sqb-FormulaGroup-row
2236
- > .Sqb-CaseBranch-body
2237
- > .Sqb-CaseBranch-scrollInner
2238
- > .Sqb-CaseSection
2239
- > .Sqb-CaseSection-content
2240
- > .Sqb-NestedFormulaList.Sqb-NestedFormulaList--hasCaseWhen
2241
- > .Sqb-NotebookCell.Sqb-NotebookCell--embedded {
2242
- display: flex;
2243
- flex: 1 1 auto;
2244
- flex-wrap: wrap;
2245
- width: 100%;
2246
- min-width: 0;
2247
- max-width: 100%;
2248
- }
2249
-
2250
- .Sqb-FormulaListZoomEditor-body
2251
- .Sqb-CaseWhenGroup:not(.Sqb-CaseWhenGroup--nested)
2252
- > .Sqb-FormulaGroup-row
2253
- > .Sqb-CaseBranch-body
2254
- > .Sqb-CaseBranch-scrollInner
2255
- > .Sqb-CaseSection
2256
- > .Sqb-CaseSection-content
2257
- > .Sqb-NestedFormulaList
2258
- > .Sqb-NotebookCell.Sqb-NotebookCell--embedded
2259
- > .Sqb-Filter-item {
2260
- flex: 0 0 auto;
2261
- }
2262
-
2263
- .Sqb-FormulaListZoomEditor-body
2264
- .Sqb-CaseWhenGroup:not(.Sqb-CaseWhenGroup--nested)
2265
- > .Sqb-FormulaGroup-row
2266
- > .Sqb-CaseBranch-body
2267
- > .Sqb-CaseBranch-scrollInner
2268
- > .Sqb-CaseSection
2269
- > .Sqb-CaseSection-content
2270
- > .Sqb-NestedFormulaList
2271
- > .Sqb-NotebookCell.Sqb-NotebookCell--embedded
2272
- > .Sqb-Filter-item.item-composite {
2273
- flex: 1 0 100%;
2274
- width: 100%;
2275
- min-width: 100%;
2276
- max-width: none;
2277
- }
2278
-
2279
- .Sqb-FormulaListZoomEditor-body
2280
- .Sqb-CaseWhenGroup:not(.Sqb-CaseWhenGroup--nested)
2281
- > .Sqb-FormulaGroup-row
2282
- > .Sqb-CaseBranch-body
2283
- > .Sqb-CaseBranch-scrollInner
2284
- > .Sqb-CaseSection
2285
- > .Sqb-CaseSection-content
2286
- > .Sqb-NestedFormulaList
2287
- > .Sqb-NotebookCell.Sqb-NotebookCell--embedded
2288
- > .Sqb-Filter-item.item-composite
2289
- > .Sqb-Filter-item-node {
2290
- width: 100%;
2291
- min-width: 0;
2292
- max-width: 100%;
2293
- }
2294
-
2295
- .Sqb-FormulaListZoomEditor-body
2296
- .Sqb-CaseWhenGroup:not(.Sqb-CaseWhenGroup--nested)
2297
- > .Sqb-FormulaGroup-row
2298
- > .Sqb-CaseBranch-body
2299
- > .Sqb-CaseBranch-scrollInner
2300
- > .Sqb-CaseSection
2301
- > .Sqb-CaseSection-content
2302
- > .Sqb-NestedFormulaList
2303
- > .Sqb-NotebookCell.Sqb-NotebookCell--embedded
2304
- > .Sqb-Filter-item.item-composite
2305
- .Sqb-CaseWhenGroup {
2306
- width: 100%;
2307
- min-width: 0;
2308
- max-width: 100%;
2309
- }
2310
-
2311
- .Sqb-FormulaListZoomEditor-body
2312
- .Sqb-CaseWhenGroup.Sqb-CaseWhenGroup--nested
2313
- .Sqb-CaseSection-content
2314
- > .Sqb-NestedFormulaList,
2315
- .Sqb-FormulaListZoomEditor-body
2316
- .Sqb-CaseWhenGroup.Sqb-CaseWhenGroup--nested
2317
- .Sqb-CaseSection-content
2318
- > .Sqb-NestedFormulaList
2319
- > .Sqb-NotebookCell,
2320
- .Sqb-FormulaListZoomEditor-body
2321
- .Sqb-CaseWhenGroup.Sqb-CaseWhenGroup--nested
2322
- .Sqb-CaseSection-content
2323
- > .Sqb-NestedFormulaList
2324
- > .Sqb-NotebookCell.Sqb-NotebookCell--embedded {
2325
- display: flex;
2326
- flex: 1 1 auto;
2327
- flex-wrap: wrap;
2328
- align-items: center;
2329
- width: 100%;
2330
- min-width: 0;
2331
- max-width: 100%;
1615
+ .Sqb-FormulaListZoomEditor-body:not(.Sqb-FormulaListZoomEditor-body--formulaList)
1616
+ .Sqb-FormulaGroup.Sqb-CaseWhenGroup {
1617
+ flex-direction: column;
1618
+ align-items: stretch;
2332
1619
  }
2333
1620
 
2334
- .Sqb-FormulaListZoomEditor-body
2335
- .Sqb-CaseWhenGroup.Sqb-CaseWhenGroup--nested
2336
- .Sqb-CaseSection-content
2337
- > .Sqb-NestedFormulaList
2338
- > .Sqb-NotebookCell.Sqb-NotebookCell--embedded
2339
- > .Sqb-Filter-item.item-composite,
2340
- .Sqb-FormulaListZoomEditor-body
2341
- .Sqb-CaseWhenGroup.Sqb-CaseWhenGroup--nested
2342
- .Sqb-CaseSection-content
2343
- > .Sqb-NestedFormulaList
2344
- > .Sqb-NotebookCell.Sqb-NotebookCell--embedded
2345
- > .Sqb-Filter-item.item-composite
2346
- > .Sqb-Filter-item-node {
2347
- flex: 1 1 100%;
1621
+ .Sqb-FormulaListZoomEditor-body .Sqb-FormulaGroup-row {
2348
1622
  width: 100%;
2349
1623
  min-width: 0;
2350
- max-width: 100%;
2351
1624
  }
2352
1625
 
2353
1626
  .Sqb-FormulaListZoomEditor .Sqb-TableName {
@@ -2383,7 +1656,6 @@
2383
1656
  border-color: rgba(147, 161, 171, 0.8);
2384
1657
  }
2385
1658
 
2386
- .Sqb-FormulaListZoomEditor .Sqb-CaseRow-add,
2387
1659
  .Sqb-FormulaListZoomEditor .Sqb-CaseRow-remove {
2388
1660
  display: inline-flex;
2389
1661
  align-items: center;
@@ -2403,26 +1675,6 @@
2403
1675
  color 160ms ease, opacity 160ms ease;
2404
1676
  }
2405
1677
 
2406
- .Sqb-FormulaListZoomEditor .Sqb-CaseRow-add svg,
2407
- .Sqb-FormulaListZoomEditor .Sqb-CaseRow-remove svg {
2408
- display: block;
2409
- flex: 0 0 auto;
2410
- width: 12px;
2411
- height: 12px;
2412
- }
2413
-
2414
- .Sqb-FormulaListZoomEditor .Sqb-CaseRow-add {
2415
- border-color: rgba(80, 158, 227, 0.28);
2416
- background: rgba(80, 158, 227, 0.12);
2417
- color: rgb(80, 158, 227);
2418
- }
2419
-
2420
- .Sqb-FormulaListZoomEditor .Sqb-CaseRow-add:hover {
2421
- border-color: rgba(80, 158, 227, 0.42);
2422
- background: rgba(80, 158, 227, 0.18);
2423
- box-shadow: 0 2px 5px rgba(80, 158, 227, 0.14);
2424
- }
2425
-
2426
1678
  .Sqb-FormulaListZoomEditor .Sqb-CaseRow-remove {
2427
1679
  border-color: rgba(245, 63, 63, 0.2);
2428
1680
  background: rgba(245, 63, 63, 0.06);
@@ -2443,33 +1695,6 @@
2443
1695
  box-shadow: 0 2px 5px rgba(245, 63, 63, 0.12);
2444
1696
  }
2445
1697
 
2446
- .Sqb-FormulaListZoomEditor .Sqb-CaseRecover {
2447
- display: inline-flex;
2448
- align-items: center;
2449
- gap: 4px;
2450
- min-height: 22px;
2451
- margin: 0;
2452
- padding: 0 7px;
2453
- border: 1px dashed rgba(80, 158, 227, 0.35);
2454
- border-radius: 7px;
2455
- background: rgba(80, 158, 227, 0.06);
2456
- color: rgb(80, 158, 227);
2457
- cursor: pointer;
2458
- font-size: 11px;
2459
- line-height: 1;
2460
- transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
2461
- }
2462
-
2463
- .Sqb-FormulaListZoomEditor .Sqb-CaseRecover svg {
2464
- width: 10px;
2465
- height: 10px;
2466
- }
2467
-
2468
- .Sqb-FormulaListZoomEditor .Sqb-CaseRecover:hover {
2469
- border-color: rgba(80, 158, 227, 0.48);
2470
- background: rgba(80, 158, 227, 0.12);
2471
- }
2472
-
2473
1698
  .Sqb-FormulaListZoomEditor-footer {
2474
1699
  display: flex;
2475
1700
  flex: 0 0 auto;
@@ -2506,100 +1731,782 @@
2506
1731
  border-color: rgba(80, 158, 227, 0.88);
2507
1732
  }
2508
1733
 
2509
- .Sqb-FormulaGroup.logic-group > .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested),
1734
+ .Sqb-FormulaGroup.logic-group .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested),
2510
1735
  .Sqb-FormulaGroup.logic-group
2511
- > .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
1736
+ .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
2512
1737
  > .Sqb-NestedFormulaList,
2513
1738
  .Sqb-FormulaGroup.logic-group
2514
- > .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
1739
+ .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
2515
1740
  > .Sqb-NestedFormulaList
2516
1741
  > .Sqb-NotebookCell,
2517
1742
  .Sqb-FormulaGroup.logic-group
2518
- > .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
1743
+ .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
2519
1744
  > .Sqb-NestedFormulaList
2520
1745
  > .Sqb-NotebookCell.Sqb-NotebookCell--embedded,
2521
1746
  .Sqb-FormulaGroup.logic-group
2522
- > .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
1747
+ .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
2523
1748
  > .Sqb-NestedFormulaList
2524
1749
  > .Sqb-NotebookCell.Sqb-NotebookCell--embedded
2525
1750
  > .Sqb-Filter-item.item-composite,
2526
1751
  .Sqb-FormulaGroup.logic-group
2527
- > .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
1752
+ .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
2528
1753
  > .Sqb-NestedFormulaList
2529
1754
  > .Sqb-NotebookCell.Sqb-NotebookCell--embedded
2530
1755
  > .Sqb-Filter-item.item-composite
2531
1756
  > .Sqb-Filter-item-node,
2532
1757
  .Sqb-FormulaGroup.logic-group
2533
- > .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
1758
+ .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
2534
1759
  .Sqb-CaseWhenGroup.Sqb-CaseWhenGroup--nested {
2535
1760
  min-width: 0;
2536
1761
  max-width: 100%;
2537
1762
  box-sizing: border-box;
2538
1763
  }
2539
1764
 
2540
- .Sqb-FormulaGroup.logic-group > .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested) {
1765
+ .Sqb-FormulaGroup.logic-group .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested) {
2541
1766
  flex: 1 1 auto;
2542
1767
  }
2543
1768
 
2544
1769
  .Sqb-FormulaGroup.logic-group
2545
- > .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
1770
+ .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
2546
1771
  > .Sqb-NestedFormulaList,
2547
1772
  .Sqb-FormulaGroup.logic-group
2548
- > .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
1773
+ .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
2549
1774
  > .Sqb-NestedFormulaList
2550
1775
  > .Sqb-NotebookCell,
2551
1776
  .Sqb-FormulaGroup.logic-group
2552
- > .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
1777
+ .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
2553
1778
  > .Sqb-NestedFormulaList
2554
1779
  > .Sqb-NotebookCell.Sqb-NotebookCell--embedded,
2555
1780
  .Sqb-FormulaGroup.logic-group
2556
- > .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
1781
+ .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
2557
1782
  > .Sqb-NestedFormulaList
2558
1783
  > .Sqb-NotebookCell.Sqb-NotebookCell--embedded
2559
1784
  > .Sqb-Filter-item.item-composite,
2560
1785
  .Sqb-FormulaGroup.logic-group
2561
- > .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
1786
+ .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
2562
1787
  > .Sqb-NestedFormulaList
2563
1788
  > .Sqb-NotebookCell.Sqb-NotebookCell--embedded
2564
1789
  > .Sqb-Filter-item.item-composite
2565
1790
  > .Sqb-Filter-item-node,
2566
1791
  .Sqb-FormulaGroup.logic-group
2567
- > .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
1792
+ .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
2568
1793
  .Sqb-CaseWhenGroup.Sqb-CaseWhenGroup--nested {
2569
1794
  flex: 1 1 auto;
2570
1795
  width: 100%;
2571
1796
  }
2572
1797
 
1798
+ .Sqb-FormulaGroup.logic-group .Sqb-LogicGroup-content:has(.logic-group),
1799
+ .Sqb-FormulaGroup.logic-group
1800
+ .Sqb-LogicGroup-content:has(.logic-group)
1801
+ > .Sqb-NestedFormulaList,
1802
+ .Sqb-FormulaGroup.logic-group
1803
+ .Sqb-LogicGroup-content:has(.logic-group)
1804
+ > .Sqb-NestedFormulaList
1805
+ > .Sqb-NotebookCell,
2573
1806
  .Sqb-FormulaGroup.logic-group
2574
- > .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
2575
- .Sqb-CaseWhenGroup.Sqb-CaseWhenGroup--nested
2576
- > .Sqb-FormulaGroup-row.row-when,
1807
+ .Sqb-LogicGroup-content:has(.logic-group)
1808
+ > .Sqb-NestedFormulaList
1809
+ > .Sqb-NotebookCell.Sqb-NotebookCell--embedded,
1810
+ .Sqb-FormulaGroup.logic-group
1811
+ .Sqb-LogicGroup-content:has(.logic-group)
1812
+ > .Sqb-NestedFormulaList
1813
+ > .Sqb-NotebookCell.Sqb-NotebookCell--embedded
1814
+ > .Sqb-Filter-item.item-composite,
2577
1815
  .Sqb-FormulaGroup.logic-group
2578
- > .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
2579
- .Sqb-CaseWhenGroup.Sqb-CaseWhenGroup--nested
2580
- > .Sqb-FormulaGroup-row.row-else {
2581
- grid-template-columns:
2582
- var(--sqb-case-index-column) minmax(0, 1fr)
2583
- var(--sqb-case-action-column);
1816
+ .Sqb-LogicGroup-content:has(.logic-group)
1817
+ > .Sqb-NestedFormulaList
1818
+ > .Sqb-NotebookCell.Sqb-NotebookCell--embedded
1819
+ > .Sqb-Filter-item.item-composite
1820
+ > .Sqb-Filter-item-node,
1821
+ .Sqb-FormulaGroup.logic-group .Sqb-LogicGroup-content .Sqb-FormulaGroup.logic-group {
1822
+ flex: 1 1 auto;
2584
1823
  width: 100%;
2585
1824
  min-width: 0;
2586
1825
  max-width: 100%;
1826
+ box-sizing: border-box;
2587
1827
  }
2588
1828
 
2589
- .Sqb-FormulaGroup.logic-group
2590
- > .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
2591
- .Sqb-CaseWhenGroup.Sqb-CaseWhenGroup--nested
2592
- > .Sqb-FormulaGroup-row.row-when
2593
- > .Sqb-CaseBranch-body,
2594
- .Sqb-FormulaGroup.logic-group
2595
- > .Sqb-LogicGroup-content:has(.Sqb-CaseWhenGroup--nested)
2596
- .Sqb-CaseWhenGroup.Sqb-CaseWhenGroup--nested
2597
- > .Sqb-FormulaGroup-row.row-else
2598
- > .Sqb-CaseBranch-body {
2599
- width: 100%;
1829
+ .Sqb-NotebookCell .Sqb-Filter-item:not(.item-composite) .Sqb-TableName {
1830
+ min-height: 24px !important;
1831
+ padding: 0 8px !important;
1832
+ border: 1px solid #c5dcf3 !important;
1833
+ border-radius: 4px !important;
1834
+ background: #e8f3ff !important;
1835
+ color: #2b6cb0 !important;
1836
+ box-shadow: none !important;
1837
+ font-size: 12px !important;
1838
+ font-weight: 500;
1839
+ line-height: 22px !important;
1840
+ }
1841
+
1842
+ .Sqb-NotebookCell .Sqb-Filter-item:not(.item-composite) .Sqb-TableName.purple-name {
1843
+ background: #f3e8ff !important;
1844
+ color: #6b46c1 !important;
1845
+ border-color: #e0d0f5 !important;
1846
+ }
1847
+
1848
+ .Sqb-NotebookCell .Sqb-Filter-item:not(.item-composite) .Sqb-TableName.green-name {
1849
+ background: #e6f6e6 !important;
1850
+ color: #2f855a !important;
1851
+ border-color: #c8e6c8 !important;
1852
+ }
1853
+
1854
+ .Sqb-NotebookCell .Sqb-Filter-item:not(.item-composite) .Sqb-TableName.teal-name {
1855
+ background: #e4f7f4 !important;
1856
+ color: #0f766e !important;
1857
+ border-color: #b7e2db !important;
1858
+ }
1859
+
1860
+ .Sqb-NotebookCell .Sqb-Filter-item:not(.item-composite) .Sqb-TableName.gray-name {
1861
+ background: #eef1f4 !important;
1862
+ color: #5c6773 !important;
1863
+ border-color: #d5dbe3 !important;
1864
+ }
1865
+
1866
+ .Sqb-NotebookCell .Sqb-Filter-item:not(.item-composite) .Sqb-TableName.notSelected {
1867
+ background: #f4f8fc !important;
1868
+ color: #7d9ab8 !important;
1869
+ border: 1px solid #d5e4f2 !important;
1870
+ font-weight: 400;
1871
+ }
1872
+
1873
+ .Sqb-NotebookCell .Sqb-Filter-item:not(.item-composite) .Sqb-TableName.purple-name.notSelected {
1874
+ background: #f7f4fc !important;
1875
+ color: #8b7ab0 !important;
1876
+ border-color: #e4dcf0 !important;
1877
+ }
1878
+
1879
+ .Sqb-NotebookCell .Sqb-Filter-item:not(.item-composite) .Sqb-TableName.green-name.notSelected {
1880
+ background: #f3f8f3 !important;
1881
+ color: #6a9a78 !important;
1882
+ border-color: #d4e8d4 !important;
1883
+ }
1884
+
1885
+ .Sqb-NotebookCell .Sqb-Filter-item:not(.item-composite) .Sqb-TableName.teal-name.notSelected {
1886
+ background: #f1faf8 !important;
1887
+ color: #5b9a93 !important;
1888
+ border-color: #d0ebe7 !important;
1889
+ }
1890
+
1891
+ .Sqb-NotebookCell .Sqb-Filter-item:not(.item-composite) .item-del {
1892
+ width: 10px;
1893
+ height: 10px;
1894
+ margin-left: 4px;
1895
+ opacity: 0.4;
1896
+ }
1897
+
1898
+ .Sqb-NotebookCell .Sqb-Filter-item:not(.item-composite):hover .item-del {
1899
+ opacity: 0.85;
1900
+ }
1901
+
1902
+ .Sqb-NotebookCell .Sqb-Filter-item:not(.item-composite) .isError {
1903
+ width: 14px !important;
1904
+ min-width: 14px !important;
1905
+ height: 14px !important;
1906
+ padding: 0 !important;
1907
+ font-size: 12px !important;
1908
+ }
1909
+
1910
+ .Sqb-NotebookCell .CwBlock.Sqb-CaseWhenGroup,
1911
+ .Sqb-NotebookCell .CwBlock.logic-group,
1912
+ .CwBlock.Sqb-CaseWhenGroup,
1913
+ .CwBlock.logic-group {
1914
+ --cw-kw: #2f7fd4;
1915
+ --cw-rail: #c5d4e4;
1916
+ display: flex !important;
1917
+ flex-direction: column !important;
1918
+ align-items: stretch !important;
1919
+ gap: 0 !important;
1920
+ width: 100% !important;
1921
+ padding: 10px 12px 12px !important;
1922
+ background: #f3f7fb !important;
1923
+ border: 1px solid #d5e3f0 !important;
1924
+ border-radius: 8px !important;
1925
+ box-shadow: none !important;
1926
+ }
1927
+
1928
+ .Sqb-NotebookCell .CwBlock.Sqb-CaseWhenGroup:hover,
1929
+ .CwBlock.Sqb-CaseWhenGroup:hover {
1930
+ border-color: rgba(47, 127, 212, 0.32) !important;
1931
+ }
1932
+
1933
+ .Sqb-NotebookCell .CwBlock.Sqb-CaseWhenGroup.Sqb-CaseWhenGroup--nested,
1934
+ .CwBlock .CwBlock.Sqb-CaseWhenGroup {
1935
+ padding: 8px 10px 10px !important;
1936
+ background: #eef4fa !important;
1937
+ }
1938
+
1939
+ .CwBlock .CwLine {
1940
+ position: relative;
1941
+ display: flex !important;
1942
+ flex-direction: row !important;
1943
+ flex-wrap: nowrap !important;
1944
+ align-items: flex-start !important;
1945
+ gap: 8px !important;
1946
+ width: 100% !important;
1947
+ margin: 0 !important;
1948
+ padding: 0 !important;
1949
+ border: none !important;
1950
+ background: transparent !important;
1951
+ box-shadow: none !important;
1952
+ grid-template-columns: none !important;
1953
+ }
1954
+
1955
+ .CwBlock .CwBranch {
1956
+ position: relative;
1957
+ display: flex;
1958
+ flex-direction: column;
1959
+ gap: 8px;
1960
+ margin-top: 10px;
1961
+ margin-left: 8px;
1962
+ padding: 8px 80px 8px 12px;
1963
+ border: 1px solid #e3edf6;
1964
+ border-left: 2px solid var(--cw-rail);
1965
+ border-radius: 8px;
1966
+ background: #fff;
1967
+ }
1968
+
1969
+ .CwBlock .CwLine--case + .CwBranch {
1970
+ margin-top: 8px;
1971
+ }
1972
+
1973
+ .CwBlock .CwBranch:hover,
1974
+ .CwBlock .CwBranch.Sqb-CaseRegion--active {
1975
+ background: #eaf3fc;
1976
+ border-color: rgba(47, 127, 212, 0.28);
1977
+ border-left-color: var(--cw-kw);
1978
+ box-shadow: 0 0 0 1px rgba(47, 127, 212, 0.1);
1979
+ }
1980
+
1981
+ .CwBlock .CwBranch:hover:has(.CwBlock:hover),
1982
+ .CwBlock .CwBranch.Sqb-CaseRegion--active:has(.CwBlock:hover) {
1983
+ background: #fff;
1984
+ border-color: #e3edf6;
1985
+ border-left-color: var(--cw-rail);
1986
+ box-shadow: none;
1987
+ }
1988
+
1989
+ .CwBlock .CwLine--when,
1990
+ .CwBlock .CwLine--else {
1991
+ padding-left: 0 !important;
1992
+ border-left: none !important;
1993
+ margin-top: 0;
1994
+ }
1995
+
1996
+ .CwBlock .CwLine--addWhen {
1997
+ margin-top: 10px;
1998
+ margin-left: 8px;
1999
+ padding-left: 12px !important;
2000
+ background: transparent !important;
2001
+ border: none !important;
2002
+ box-shadow: none !important;
2003
+ }
2004
+
2005
+ .CwBlock .CwLine--then {
2006
+ padding-left: 24px !important;
2007
+ border-left: none !important;
2008
+ margin-top: 0;
2009
+ }
2010
+
2011
+ .CwBlock .CwLine--end {
2012
+ margin-top: 12px;
2013
+ }
2014
+
2015
+ .CwBlock .CwLine-k {
2016
+ display: flex;
2017
+ flex: 0 0 42px;
2018
+ align-items: center;
2019
+ width: 42px;
2020
+ min-height: 24px;
2021
+ color: var(--cw-kw);
2022
+ font-size: 13px;
2023
+ font-weight: 700;
2024
+ letter-spacing: 0.04em;
2025
+ line-height: 24px;
2026
+ white-space: nowrap;
2027
+ }
2028
+
2029
+ .CwBlock .CwLine-ops {
2030
+ position: absolute;
2031
+ top: 8px;
2032
+ right: 8px;
2033
+ z-index: 12;
2034
+ display: flex;
2035
+ align-items: center;
2036
+ gap: 6px;
2037
+ margin: 0;
2038
+ }
2039
+
2040
+ .CwBlock .CwLine-ops > * {
2041
+ display: inline-flex;
2042
+ flex: 0 0 22px;
2043
+ width: 22px;
2044
+ height: 22px;
2045
+ }
2046
+
2047
+ .CwBlock .CwLine-ops .CwLine-op {
2048
+ appearance: none !important;
2049
+ -webkit-appearance: none !important;
2050
+ box-sizing: border-box !important;
2051
+ display: inline-flex !important;
2052
+ align-items: center !important;
2053
+ justify-content: center !important;
2054
+ width: 22px !important;
2055
+ min-width: 22px !important;
2056
+ min-height: 22px !important;
2057
+ height: 22px !important;
2058
+ margin: 0 !important;
2059
+ padding: 0 !important;
2060
+ border: 1px solid #d5e3f0 !important;
2061
+ border-radius: 4px !important;
2062
+ background: #fff !important;
2063
+ background-color: #fff !important;
2064
+ box-shadow: none !important;
2065
+ color: #5c6773 !important;
2066
+ opacity: 1 !important;
2067
+ cursor: pointer;
2068
+ line-height: 0 !important;
2069
+ }
2070
+
2071
+ .CwBlock .CwLine-ops .CwLine-op svg {
2072
+ display: block !important;
2073
+ width: 12px !important;
2074
+ height: 12px !important;
2075
+ flex: none;
2076
+ }
2077
+
2078
+ .CwBlock .CwLine-ops .CwLine-op:hover {
2079
+ border-color: #b7c9dc !important;
2080
+ background: #fff !important;
2081
+ background-color: #fff !important;
2082
+ color: #334155 !important;
2083
+ }
2084
+
2085
+ .CwBlock .CwLine-ops .CwLine-op:disabled {
2086
+ opacity: 1 !important;
2087
+ background: #fff !important;
2088
+ color: #5c6773 !important;
2089
+ cursor: not-allowed;
2090
+ }
2091
+
2092
+ .CwBlock .CwLine-v {
2093
+ flex: 1 1 auto;
2600
2094
  min-width: 0;
2095
+ width: auto;
2096
+ padding: 0;
2097
+ }
2098
+
2099
+ .CwBlock .CwLine--end .CwLine-v {
2100
+ display: none;
2101
+ }
2102
+
2103
+ .CwBlock .CwLine-add,
2104
+ .CwBlock .Sqb-NotebookCell > .pd-Dropdown .CwLine-add {
2105
+ appearance: none !important;
2106
+ -webkit-appearance: none !important;
2107
+ display: inline-flex !important;
2108
+ align-items: center !important;
2109
+ gap: 4px !important;
2110
+ height: 24px !important;
2111
+ min-width: 0 !important;
2112
+ margin: 0 !important;
2113
+ padding: 0 !important;
2114
+ border: none !important;
2115
+ border-radius: 0 !important;
2116
+ background: none !important;
2117
+ background-color: transparent !important;
2118
+ box-shadow: none !important;
2119
+ color: #86909c !important;
2120
+ font-size: 12px !important;
2121
+ font-weight: 400 !important;
2122
+ line-height: 24px !important;
2123
+ cursor: pointer;
2124
+ }
2125
+
2126
+ .CwBlock .CwLine-add:hover,
2127
+ .CwBlock .Sqb-NotebookCell > .pd-Dropdown .CwLine-add:hover {
2128
+ color: var(--cw-kw) !important;
2129
+ }
2130
+
2131
+ .CwBlock .CwLine-add svg,
2132
+ .CwBlock .Sqb-NotebookCell > .pd-Dropdown .CwLine-add svg {
2133
+ width: 10px;
2134
+ height: 10px;
2135
+ color: inherit;
2136
+ fill: currentcolor;
2137
+ }
2138
+
2139
+ .CwBlock .Sqb-NotebookCell > .pd-Dropdown,
2140
+ .CwBlock .Sqb-NotebookCell > .pd-Dropdown > .pd-Dropdown-trigger {
2141
+ padding: 0 !important;
2142
+ border: none !important;
2143
+ background: transparent !important;
2144
+ box-shadow: none !important;
2145
+ }
2146
+
2147
+ .CwBlock .Sqb-NestedFormulaList,
2148
+ .CwBlock .Sqb-NestedFormulaList .Sqb-NotebookCell,
2149
+ .CwBlock .Sqb-NestedFormulaList .Sqb-NotebookCell.Sqb-NotebookCell--embedded {
2150
+ display: flex !important;
2151
+ flex-wrap: wrap !important;
2152
+ align-items: center !important;
2153
+ gap: 6px 8px !important;
2154
+ width: 100% !important;
2155
+ }
2156
+
2157
+ .Sqb-Filter-item.item-composite > .Sqb-Filter-item-frame {
2158
+ position: relative;
2159
+ display: block;
2160
+ width: max-content;
2601
2161
  max-width: 100%;
2602
- overflow-x: auto;
2603
- overflow-y: hidden;
2604
- padding-bottom: 4px;
2162
+ margin: 0;
2163
+ padding: 0;
2164
+ vertical-align: top;
2165
+ }
2166
+
2167
+ .Sqb-Filter-item.item-composite > .Sqb-Filter-item-frame > .left-arrow,
2168
+ .Sqb-Filter-item.item-composite > .Sqb-Filter-item-frame > .right-arrow {
2169
+ position: absolute !important;
2170
+ top: 50% !important;
2171
+ margin: 0 !important;
2172
+ transform: translateY(-50%) scale(0.86) !important;
2173
+ }
2174
+
2175
+ .Sqb-Filter-item.item-composite.hover > .Sqb-Filter-item-frame > .left-arrow,
2176
+ .Sqb-Filter-item.item-composite.hover > .Sqb-Filter-item-frame > .right-arrow,
2177
+ .Sqb-Filter-item.item-composite:hover > .Sqb-Filter-item-frame > .left-arrow,
2178
+ .Sqb-Filter-item.item-composite:hover > .Sqb-Filter-item-frame > .right-arrow {
2179
+ transform: translateY(-50%) scale(1) !important;
2180
+ }
2181
+
2182
+ .Sqb-Filter-item.item-composite > .Sqb-Filter-item-frame > .left-arrow {
2183
+ left: -16px !important;
2184
+ right: auto !important;
2185
+ }
2186
+
2187
+ .Sqb-Filter-item.item-composite > .Sqb-Filter-item-frame > .right-arrow {
2188
+ right: -16px !important;
2189
+ left: auto !important;
2190
+ }
2191
+
2192
+ .Sqb-NestedFormulaList .Sqb-NotebookCell--embedded > .Sqb-Filter-item.item-composite:has(.logic-group),
2193
+ .Sqb-NestedFormulaList .Sqb-NotebookCell--embedded > .Sqb-Filter-item.item-composite:has(.Sqb-CaseWhenGroup),
2194
+ .CwBlock .Sqb-Filter-item.item-composite:has(.logic-group),
2195
+ .CwBlock .Sqb-Filter-item.item-composite:has(.Sqb-CaseWhenGroup) {
2196
+ flex: 1 1 100% !important;
2197
+ display: block !important;
2198
+ width: 100% !important;
2199
+ max-width: 100% !important;
2200
+ margin: 0 !important;
2201
+ padding: 0 !important;
2202
+ align-self: stretch !important;
2203
+ }
2204
+
2205
+ .Sqb-NestedFormulaList .Sqb-NotebookCell--embedded > .Sqb-Filter-item.item-composite:has(.logic-group) > .Sqb-Filter-item-node,
2206
+ .Sqb-NestedFormulaList .Sqb-NotebookCell--embedded > .Sqb-Filter-item.item-composite:has(.Sqb-CaseWhenGroup) > .Sqb-Filter-item-node,
2207
+ .CwBlock .Sqb-Filter-item.item-composite:has(.logic-group) > .Sqb-Filter-item-node,
2208
+ .CwBlock .Sqb-Filter-item.item-composite:has(.Sqb-CaseWhenGroup) > .Sqb-Filter-item-node,
2209
+ .CwBlock .Sqb-Filter-item.item-composite > .Sqb-Filter-item-frame > .Sqb-Filter-item-node {
2210
+ width: max-content !important;
2211
+ max-width: 100% !important;
2212
+ }
2213
+
2214
+ .Sqb-NotebookCell .CwBlock.logic-group,
2215
+ .CwBlock.logic-group {
2216
+ padding: 8px 28px 8px 12px !important;
2217
+ }
2218
+
2219
+ .Sqb-NotebookCell .CwBlock .CwBlock.logic-group,
2220
+ .CwBlock .CwBlock.logic-group {
2221
+ margin: 0 !important;
2222
+ padding: 8px 28px 8px 12px !important;
2223
+ background: #f3f7fb !important;
2224
+ border: 1px solid #d5e3f0 !important;
2225
+ border-radius: 8px !important;
2226
+ box-shadow: none !important;
2227
+ width: max-content !important;
2228
+ max-width: 100% !important;
2229
+ }
2230
+
2231
+ .Sqb-NotebookCell .CwBlock .CwBlock.logic-group:hover,
2232
+ .CwBlock .CwBlock.logic-group:hover {
2233
+ background: #eaf3fc !important;
2234
+ border-color: rgba(47, 127, 212, 0.28) !important;
2235
+ }
2236
+
2237
+ .Sqb-NotebookCell .CwBlock .CwBlock.Sqb-CaseWhenGroup,
2238
+ .CwBlock .CwBlock.Sqb-CaseWhenGroup {
2239
+ margin: 0 !important;
2240
+ width: max-content !important;
2241
+ max-width: 100% !important;
2242
+ }
2243
+
2244
+ .Sqb-NotebookCell .CwBlock.logic-group .Sqb-LogicGroup-paren,
2245
+ .CwBlock.logic-group .Sqb-LogicGroup-paren {
2246
+ display: inline-flex !important;
2247
+ align-items: center;
2248
+ align-self: flex-start;
2249
+ min-width: 0 !important;
2250
+ width: auto !important;
2251
+ min-height: 24px !important;
2252
+ padding: 0 !important;
2253
+ border-radius: 0 !important;
2254
+ background: none !important;
2255
+ color: var(--cw-kw) !important;
2256
+ font-size: 14px !important;
2257
+ font-weight: 700 !important;
2258
+ line-height: 24px !important;
2259
+ letter-spacing: 0 !important;
2260
+ }
2261
+
2262
+ .Sqb-NotebookCell .CwBlock.logic-group .Sqb-LogicGroup-body,
2263
+ .CwBlock.logic-group .Sqb-LogicGroup-body {
2264
+ padding-left: 16px !important;
2265
+ border-left: 1px solid var(--cw-rail) !important;
2266
+ gap: 4px !important;
2267
+ }
2268
+
2269
+ .Sqb-NotebookCell .CwBlock.logic-group .Sqb-LogicGroup-operator,
2270
+ .Sqb-NotebookCell .CwBlock.logic-group .Sqb-LogicGroup-operator--and,
2271
+ .Sqb-NotebookCell .CwBlock.logic-group .Sqb-LogicGroup-operator--or,
2272
+ .CwBlock.logic-group .Sqb-LogicGroup-operator {
2273
+ min-width: 0 !important;
2274
+ height: auto !important;
2275
+ padding: 0 !important;
2276
+ border-radius: 0 !important;
2277
+ background: none !important;
2278
+ background-color: transparent !important;
2279
+ overflow: visible !important;
2280
+ box-shadow: none !important;
2281
+ }
2282
+
2283
+ .Sqb-NotebookCell .CwBlock.logic-group .Sqb-LogicGroup-operator .logic-operator,
2284
+ .Sqb-NotebookCell .CwBlock.logic-group .Sqb-LogicGroup-operator .Sqb-TableName,
2285
+ .Sqb-NotebookCell .CwBlock.logic-group .Sqb-LogicGroup-operator .Sqb-TableName.logic-operator,
2286
+ .Sqb-NotebookCell .CwBlock.logic-group .Sqb-LogicGroup-operator .Sqb-TableName.logic-and,
2287
+ .Sqb-NotebookCell .CwBlock.logic-group .Sqb-LogicGroup-operator .Sqb-TableName.logic-or,
2288
+ .CwBlock.logic-group .Sqb-LogicGroup-operator .logic-operator,
2289
+ .CwBlock.logic-group .Sqb-LogicGroup-operator .Sqb-TableName {
2290
+ min-width: 0 !important;
2291
+ height: 24px !important;
2292
+ padding: 0 !important;
2293
+ border: none !important;
2294
+ border-radius: 0 !important;
2295
+ background: none !important;
2296
+ background-color: transparent !important;
2297
+ color: var(--cw-kw) !important;
2298
+ font-size: 12px !important;
2299
+ font-weight: 700 !important;
2300
+ letter-spacing: 0.02em;
2301
+ text-transform: uppercase;
2302
+ line-height: 24px !important;
2303
+ box-shadow: none !important;
2304
+ }
2305
+
2306
+ .Sqb-NotebookCell .CwBlock.logic-group .Sqb-LogicGroup-operator--or .logic-operator,
2307
+ .CwBlock.logic-group .Sqb-LogicGroup-operator--or .logic-operator {
2308
+ color: var(--cw-kw) !important;
2309
+ }
2310
+
2311
+ .CwBlock .sqb-Custom-input,
2312
+ .CwBlock .sqb-Custom-input.pd-Input,
2313
+ .CwBlock .sqb-Custom-input.pd-InputNumber,
2314
+ .CwBlock .Sqb-ExprToken .sqb-Custom-input {
2315
+ height: 24px !important;
2316
+ min-height: 24px !important;
2317
+ font-size: 12px !important;
2318
+ }
2319
+
2320
+ .Sqb-Filter-item:has(.sqb-InputListToken) {
2321
+ max-width: 100%;
2322
+ box-sizing: border-box;
2323
+ }
2324
+
2325
+ .Sqb-Filter-item .Sqb-TableName.sqb-InputListToken,
2326
+ .Sqb-NotebookCell .Sqb-Filter-item:not(.item-composite) .Sqb-TableName.sqb-InputListToken {
2327
+ align-items: center;
2328
+ flex: 0 0 auto !important;
2329
+ width: max-content !important;
2330
+ max-width: 100%;
2331
+ height: 24px !important;
2332
+ min-height: 24px !important;
2333
+ max-height: 24px !important;
2334
+ padding: 0 8px !important;
2335
+ box-sizing: border-box;
2336
+ overflow: hidden;
2337
+ }
2338
+
2339
+ .Sqb-Filter-item .sqb-InputListToken > .pd-Icon {
2340
+ flex: 0 0 auto;
2341
+ width: 12px;
2342
+ height: 12px;
2343
+ margin-right: 6px;
2344
+ font-size: 12px;
2345
+ line-height: 1;
2346
+ }
2347
+
2348
+ .Sqb-Filter-item .sqb-InputListToken .sqb-Custom-input.pd-Select,
2349
+ .Sqb-Filter-item .sqb-InputListToken .pd-Select-view,
2350
+ .Sqb-Filter-item .sqb-InputListToken .pd-Input-tag,
2351
+ .Sqb-Filter-item .sqb-InputListToken .pd-Input-tag-view,
2352
+ .Sqb-Filter-item .sqb-InputListToken .pd-Input-tag-inner {
2353
+ height: 18px !important;
2354
+ min-height: 18px !important;
2355
+ max-height: 18px !important;
2356
+ padding: 0 !important;
2357
+ border: none !important;
2358
+ background: transparent !important;
2359
+ box-shadow: none !important;
2360
+ line-height: 18px !important;
2361
+ }
2362
+
2363
+ .Sqb-Filter-item .sqb-InputListToken .sqb-Custom-input.pd-Select {
2364
+ display: inline-flex !important;
2365
+ flex: 0 0 auto !important;
2366
+ align-items: center;
2367
+ width: max-content !important;
2368
+ min-width: 160px !important;
2369
+ max-width: 100% !important;
2370
+ }
2371
+
2372
+ .Sqb-Filter-item .sqb-InputListToken .pd-Select-view {
2373
+ display: flex !important;
2374
+ flex: 1 1 auto;
2375
+ flex-wrap: nowrap !important;
2376
+ align-items: center !important;
2377
+ width: auto !important;
2378
+ min-width: 160px !important;
2379
+ max-width: 100%;
2380
+ }
2381
+
2382
+ .Sqb-Filter-item .sqb-InputListToken .pd-Input-tag,
2383
+ .Sqb-Filter-item .sqb-InputListToken .pd-Input-tag-view,
2384
+ .Sqb-Filter-item .sqb-InputListToken .pd-Input-tag-inner {
2385
+ display: flex !important;
2386
+ flex: 1 1 auto;
2387
+ flex-wrap: nowrap !important;
2388
+ align-items: center !important;
2389
+ width: auto !important;
2390
+ min-width: 0 !important;
2391
+ max-width: 100% !important;
2392
+ overflow: hidden;
2393
+ }
2394
+
2395
+ .Sqb-Filter-item .sqb-InputListToken .pd-Input-tag:not(.pd-Input-tag-has-placeholder),
2396
+ .Sqb-Filter-item .sqb-InputListToken .pd-Input-tag:not(.pd-Input-tag-has-placeholder) .pd-Input-tag-view,
2397
+ .Sqb-Filter-item .sqb-InputListToken .pd-Input-tag:not(.pd-Input-tag-has-placeholder) .pd-Input-tag-inner {
2398
+ flex: 1 1 auto;
2399
+ width: auto !important;
2400
+ min-width: 0 !important;
2401
+ overflow: hidden;
2402
+ }
2403
+
2404
+ .Sqb-Filter-item .sqb-InputListToken .pd-Input-tag-inner {
2405
+ gap: 4px;
2406
+ }
2407
+
2408
+ .Sqb-Filter-item .sqb-InputListToken .pd-Input-tag-input {
2409
+ position: static !important;
2410
+ flex: 0 0 auto !important;
2411
+ height: 18px !important;
2412
+ margin: 0 !important;
2413
+ padding: 0 !important;
2414
+ opacity: 1 !important;
2415
+ box-sizing: border-box !important;
2416
+ caret-color: #0f766e;
2417
+ font-size: 12px !important;
2418
+ }
2419
+
2420
+ .Sqb-Filter-item .sqb-InputListToken .pd-Input-tag:not(.pd-Input-tag-has-placeholder) .pd-Input-tag-input {
2421
+ flex: 0 0 auto !important;
2422
+ min-width: 10px !important;
2423
+ max-width: 160px;
2424
+ }
2425
+
2426
+ .Sqb-Filter-item .sqb-InputListToken .pd-Input-tag-has-placeholder .pd-Input-tag-input {
2427
+ flex: 1 1 auto !important;
2428
+ width: 100% !important;
2429
+ min-width: 0 !important;
2430
+ max-width: none !important;
2431
+ overflow: hidden;
2432
+ text-overflow: ellipsis;
2433
+ }
2434
+
2435
+ .Sqb-Filter-item .sqb-InputListToken .pd-Input-tag-input-mirror {
2436
+ position: absolute !important;
2437
+ height: 0 !important;
2438
+ overflow: hidden !important;
2439
+ pointer-events: none;
2440
+ }
2441
+
2442
+ .Sqb-Filter-item .sqb-InputListToken .pd-Select-clear-icon,
2443
+ .Sqb-Filter-item .sqb-InputListToken .pd-Input-tag-clear-icon {
2444
+ display: none !important;
2445
+ }
2446
+
2447
+ .Sqb-Filter-item .sqb-InputListToken .pd-Select-view input::placeholder,
2448
+ .Sqb-Filter-item .sqb-InputListToken .pd-Input-tag-input::placeholder {
2449
+ color: rgba(15, 118, 110, 0.45);
2450
+ font-size: 12px;
2451
+ }
2452
+
2453
+ .Sqb-Filter-item .sqb-InputListToken .pd-Input-tag-tag,
2454
+ .Sqb-Filter-item .sqb-InputListToken .pd-Tag {
2455
+ flex: 0 0 auto;
2456
+ height: 18px !important;
2457
+ margin: 0 !important;
2458
+ padding: 0 4px 0 6px !important;
2459
+ line-height: 16px !important;
2460
+ font-size: 12px !important;
2461
+ color: #0f766e !important;
2462
+ background: #fff !important;
2463
+ border: 1px solid #c5e6e1 !important;
2464
+ border-radius: 4px;
2465
+ }
2466
+
2467
+ .Sqb-Filter-item .sqb-InputListToken .pd-Tag svg {
2468
+ color: #5b9a93;
2469
+ }
2470
+
2471
+ .Sqb-Filter-item .sqb-InputListToken .pd-Select-suffix,
2472
+ .Sqb-Filter-item .sqb-InputListToken .pd-Select-size-large.pd-Select-multiple .pd-Select-suffix {
2473
+ flex: 0 0 auto;
2474
+ align-self: center;
2475
+ margin-left: 2px;
2476
+ padding-right: 0;
2477
+ color: inherit;
2478
+ }
2479
+
2480
+ .Sqb-Filter-item .sqb-InputListToken .item-del,
2481
+ .Sqb-NotebookCell .Sqb-Filter-item:not(.item-composite) .sqb-InputListToken .item-del {
2482
+ margin-left: 2px;
2483
+ }
2484
+
2485
+ .CwBlock .sqb-InputListToken .sqb-Custom-input.pd-Select {
2486
+ height: auto !important;
2487
+ min-height: 18px !important;
2488
+ max-height: none !important;
2489
+ }
2490
+
2491
+ .CwBlock .Sqb-Filter-item:not(.item-composite) .isError {
2492
+ width: 12px !important;
2493
+ min-width: 12px !important;
2494
+ height: 12px !important;
2495
+ padding: 0 !important;
2496
+ font-size: 11px !important;
2497
+ }
2498
+
2499
+ .CwBlock .Sqb-CaseWhenTools .formula-node-remove,
2500
+ .CwBlock .Sqb-CaseWhenTools .formula-node-tool,
2501
+ .CwBlock > .formula-node-remove {
2502
+ background: transparent !important;
2503
+ border: none !important;
2504
+ box-shadow: none !important;
2505
+ color: #c5cdd6 !important;
2506
+ }
2507
+
2508
+ .CwBlock .Sqb-CaseWhenTools .formula-node-remove:hover,
2509
+ .CwBlock > .formula-node-remove:hover {
2510
+ background: #eef2f6 !important;
2511
+ color: #5b6775 !important;
2605
2512
  }