Merge branch 'demo' into feat/add-inferred-belief-node
# Conflicts: # src/pages/VisProgPage/VisProg.module.css # src/pages/VisProgPage/visualProgrammingUI/NodeRegistry.ts
This commit is contained in:
@@ -33,6 +33,12 @@
|
||||
|
||||
/* Node Styles */
|
||||
|
||||
:global(.react-flow__node.selected) {
|
||||
outline: 1px dashed blue !important;
|
||||
border-radius: 5pt;
|
||||
outline-offset: 4px;
|
||||
}
|
||||
|
||||
.default-node {
|
||||
padding: 10px 15px;
|
||||
background-color: canvas;
|
||||
@@ -41,6 +47,8 @@
|
||||
filter: drop-shadow(0 0 0.75rem black);
|
||||
}
|
||||
|
||||
|
||||
|
||||
.node-norm {
|
||||
outline: rgb(0, 149, 25) solid 2pt;
|
||||
filter: drop-shadow(0 0 0.25rem forestgreen);
|
||||
@@ -85,6 +93,7 @@
|
||||
padding: 3px 10px;
|
||||
background-color: canvas;
|
||||
border-radius: 5pt;
|
||||
cursor: move;
|
||||
outline: black solid 2pt;
|
||||
filter: drop-shadow(0 0 0.75rem black);
|
||||
}
|
||||
@@ -93,6 +102,7 @@
|
||||
padding: 3px 10px;
|
||||
background-color: canvas;
|
||||
border-radius: 5pt;
|
||||
cursor: move;
|
||||
outline: forestgreen solid 2pt;
|
||||
filter: drop-shadow(0 0 0.25rem forestgreen);
|
||||
}
|
||||
@@ -101,6 +111,7 @@
|
||||
padding: 3px 10px;
|
||||
background-color: canvas;
|
||||
border-radius: 5pt;
|
||||
cursor: move;
|
||||
outline: yellow solid 2pt;
|
||||
filter: drop-shadow(0 0 0.25rem yellow);
|
||||
}
|
||||
@@ -109,6 +120,7 @@
|
||||
padding: 3px 10px;
|
||||
background-color: canvas;
|
||||
border-radius: 5pt;
|
||||
cursor: move;
|
||||
outline: teal solid 2pt;
|
||||
filter: drop-shadow(0 0 0.25rem teal);
|
||||
}
|
||||
@@ -117,6 +129,7 @@
|
||||
padding: 3px 10px;
|
||||
background-color: canvas;
|
||||
border-radius: 5pt;
|
||||
cursor: move;
|
||||
outline: dodgerblue solid 2pt;
|
||||
filter: drop-shadow(0 0 0.25rem dodgerblue);
|
||||
}
|
||||
@@ -125,6 +138,7 @@
|
||||
padding: 3px 10px;
|
||||
background-color: canvas;
|
||||
border-radius: 5pt;
|
||||
cursor: move;
|
||||
outline: orange solid 2pt;
|
||||
filter: drop-shadow(0 0 0.25rem orange);
|
||||
}
|
||||
@@ -133,6 +147,7 @@
|
||||
padding: 3px 10px;
|
||||
background-color: canvas;
|
||||
border-radius: 5pt;
|
||||
cursor: move;
|
||||
outline: red solid 2pt;
|
||||
filter: drop-shadow(0 0 0.25rem red);
|
||||
}
|
||||
@@ -141,6 +156,7 @@
|
||||
padding: 3px 10px;
|
||||
background-color: canvas;
|
||||
border-radius: 5pt;
|
||||
cursor: move;
|
||||
outline: plum solid 2pt;
|
||||
filter: drop-shadow(0 0 0.25rem plum);
|
||||
}
|
||||
@@ -158,3 +174,52 @@
|
||||
font-style: italic;
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
.node-toolbar-tooltip {
|
||||
background-color: darkgray;
|
||||
color: white;
|
||||
padding: 8px 12px;
|
||||
border-radius: 6px;
|
||||
font-size: 12px;
|
||||
font-family: sans-serif;
|
||||
font-weight: bold;
|
||||
cursor: help;
|
||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.custom-tooltip {
|
||||
pointer-events: none;
|
||||
background-color: Canvas;
|
||||
color: CanvasText;
|
||||
padding: 8px 12px;
|
||||
border-radius: 0 6px 6px 0;
|
||||
outline: CanvasText solid 2px;
|
||||
font-size: 14px;
|
||||
filter: drop-shadow(0 0 0.25rem CanvasText);
|
||||
white-space: nowrap;
|
||||
position: relative;
|
||||
animation: fadeIn 0.2s ease-out;
|
||||
}
|
||||
|
||||
.custom-tooltip-header {
|
||||
pointer-events: none;
|
||||
background-color: CanvasText;
|
||||
color: Canvas;
|
||||
padding: 8px 12px;
|
||||
border-radius: 6px 0 0 6px;
|
||||
outline: CanvasText solid 2px;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
font-variant-caps: small-caps;
|
||||
filter: drop-shadow(0 0 0.25rem CanvasText);
|
||||
white-space: nowrap;
|
||||
position: relative;
|
||||
animation: fadeIn 0.2s ease-out;
|
||||
}
|
||||
|
||||
|
||||
@keyframes fadeIn {
|
||||
from { opacity: 0; transform: translateY(5px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
Reference in New Issue
Block a user