@linkdlab/funcnodes_react_flow 0.3.12 → 0.3.13

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.
@@ -244,6 +244,18 @@
244
244
  color: #0056b3;
245
245
  }
246
246
 
247
+ :root {
248
+ --funcnodesedgecolor: #7bb3ec;
249
+ }
250
+
251
+ .funcnodes-edge .react-flow__edge-path {
252
+ stroke: var(--funcnodesedgecolor);
253
+ stroke-width: 2px;
254
+ }
255
+ .funcnodes-edge.selected .react-flow__edge-path {
256
+ stroke: #11ff00;
257
+ }
258
+
247
259
  .dialogoverlay {
248
260
  background-color: rgba(0, 0, 0, 0.5);
249
261
  position: fixed;
@@ -332,18 +344,6 @@
332
344
  overflow: auto;
333
345
  }
334
346
 
335
- :root {
336
- --funcnodesedgecolor: #7bb3ec;
337
- }
338
-
339
- .funcnodes-edge .react-flow__edge-path {
340
- stroke: var(--funcnodesedgecolor);
341
- stroke-width: 2px;
342
- }
343
- .funcnodes-edge.selected .react-flow__edge-path {
344
- stroke: #11ff00;
345
- }
346
-
347
347
  /* this gets exported as style.css and can be used for the default theming */
348
348
  /* these are the necessary styles for React Flow, they get used by base.css and style.css */
349
349
  .react-flow {
@@ -961,73 +961,6 @@ button {
961
961
  font-size: inherit;
962
962
  }
963
963
 
964
- .funcnodesreactflowheader {
965
- display: flex;
966
- flex-direction: row;
967
- height: 50px;
968
- justify-content: flex-start;
969
- position: relative;
970
- top: 0;
971
- left: 0;
972
- z-index: 1000;
973
- }
974
- .funcnodesreactflowheader .headerelement {
975
- height: 100%;
976
- display: flex;
977
- align-items: center;
978
- margin: 4px 4px 4px 4px;
979
- position: relative;
980
- white-space: nowrap;
981
- }
982
- .funcnodesreactflowheader .statusbar {
983
- width: 250px;
984
- height: 1.5rem;
985
- background-color: var(--funcnodesbackground2);
986
- display: inline-block;
987
- margin: 2px 4px 0px 4px;
988
- position: relative;
989
- border-radius: 0.5rem;
990
- overflow: hidden;
991
- }
992
- .funcnodesreactflowheader .statusbar-progressbar {
993
- position: absolute;
994
- top: 0;
995
- left: 0;
996
- width: 0;
997
- height: 100%;
998
- background-color: var(--funheadercolor);
999
- display: inline-block;
1000
- }
1001
- .funcnodesreactflowheader .statusbar-message {
1002
- position: relative;
1003
- top: 0;
1004
- left: 0;
1005
- font-size: 0.8rem;
1006
- color: var(--funheadercolor);
1007
- mix-blend-mode: difference;
1008
- }
1009
-
1010
- .headermenucontent {
1011
- max-height: 90vh;
1012
- overflow: auto;
1013
- padding: 5px;
1014
- border-radius: 0.25rem;
1015
- }
1016
-
1017
- .headermenuitem {
1018
- padding: 0 5px;
1019
- }
1020
- .headermenuitem[data-highlighted] {
1021
- background-color: var(--funcnodesbackground_light);
1022
- }
1023
- .headermenuitem[data-state=open] {
1024
- background-color: var(--funcnodesbackground_light);
1025
- }
1026
- .headermenuitem[data-state=checked] {
1027
- background-color: var(--funcnodesbackground_light);
1028
- color: #fff;
1029
- }
1030
-
1031
964
  :root {
1032
965
  --funheadercolor: #00d9ff;
1033
966
  --funcnodesbackground1: hsl(243, 26%, 13%);
@@ -1098,6 +1031,73 @@ button {
1098
1031
  color: red;
1099
1032
  }
1100
1033
 
1034
+ .funcnodesreactflowheader {
1035
+ display: flex;
1036
+ flex-direction: row;
1037
+ height: 50px;
1038
+ justify-content: flex-start;
1039
+ position: relative;
1040
+ top: 0;
1041
+ left: 0;
1042
+ z-index: 1000;
1043
+ }
1044
+ .funcnodesreactflowheader .headerelement {
1045
+ height: 100%;
1046
+ display: flex;
1047
+ align-items: center;
1048
+ margin: 4px 4px 4px 4px;
1049
+ position: relative;
1050
+ white-space: nowrap;
1051
+ }
1052
+ .funcnodesreactflowheader .statusbar {
1053
+ width: 250px;
1054
+ height: 1.5rem;
1055
+ background-color: var(--funcnodesbackground2);
1056
+ display: inline-block;
1057
+ margin: 2px 4px 0px 4px;
1058
+ position: relative;
1059
+ border-radius: 0.5rem;
1060
+ overflow: hidden;
1061
+ }
1062
+ .funcnodesreactflowheader .statusbar-progressbar {
1063
+ position: absolute;
1064
+ top: 0;
1065
+ left: 0;
1066
+ width: 0;
1067
+ height: 100%;
1068
+ background-color: var(--funheadercolor);
1069
+ display: inline-block;
1070
+ }
1071
+ .funcnodesreactflowheader .statusbar-message {
1072
+ position: relative;
1073
+ top: 0;
1074
+ left: 0;
1075
+ font-size: 0.8rem;
1076
+ color: var(--funheadercolor);
1077
+ mix-blend-mode: difference;
1078
+ }
1079
+
1080
+ .headermenucontent {
1081
+ max-height: 90vh;
1082
+ overflow: auto;
1083
+ padding: 5px;
1084
+ border-radius: 0.25rem;
1085
+ }
1086
+
1087
+ .headermenuitem {
1088
+ padding: 0 5px;
1089
+ }
1090
+ .headermenuitem[data-highlighted] {
1091
+ background-color: var(--funcnodesbackground_light);
1092
+ }
1093
+ .headermenuitem[data-state=open] {
1094
+ background-color: var(--funcnodesbackground_light);
1095
+ }
1096
+ .headermenuitem[data-state=checked] {
1097
+ background-color: var(--funcnodesbackground_light);
1098
+ color: #fff;
1099
+ }
1100
+
1101
1101
  :root {
1102
1102
  --node_border_radius: 5px;
1103
1103
  --handle_outer_radius: 4px;