diff --git a/src/App/AST.css b/src/App/AST.css index afc7a09..598bfd1 100644 --- a/src/App/AST.css +++ b/src/App/AST.css @@ -83,15 +83,17 @@ button.inputEvent:active:not(:disabled) { display: inline-block; } -hr { +/* hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 0; - margin-bottom: -1px; + margin-top: -1px; + margin-bottom: -5px; padding: 0; -} + z-index: -1; +} */ ul { list-style-type: circle; @@ -101,7 +103,7 @@ ul { /* list-style-position: ; */ } -.onTop { - box-shadow: 0 -10px 20px 10px rgba(0, 0, 0, 0.75); +.shadowBelow { + box-shadow: 0 -15px 15px 15px rgba(0, 0, 0, 0.4); z-index: 1; } \ No newline at end of file diff --git a/src/App/App.css b/src/App/App.css index 2420326..402e678 100644 --- a/src/App/App.css +++ b/src/App/App.css @@ -5,12 +5,23 @@ summary { margin-left: -20; } */ +details:has(+ details) { + border-bottom: 1px lightgrey solid; +} + .runtimeState { - padding-left: 4px; + padding: 4px; + /* padding-left: 4px; padding-right: 4px; padding-top: 2px; - padding-bottom: 2px; - margin-top: 2px; + padding-bottom: 2px; */ +} + +.runtimeState:has(+.runtimeState) { + border-bottom: 1px lightgrey solid; +} +.runtimeState:has(+.runtimeState.active) { + border-bottom: 0; } .runtimeState:hover { @@ -22,7 +33,7 @@ summary { /* background-color: rgba(255, 140, 0, 0.2); */ background-color: rgba(0,0,255,0.2); /* border: solid black 3px; */ - border: solid blue 2px; + border: solid blue 1px; } /* details:not(:has(details)) > summary::marker { color: white; diff --git a/src/App/App.tsx b/src/App/App.tsx index 67a8a90..a044ffe 100644 --- a/src/App/App.tsx +++ b/src/App/App.tsx @@ -212,13 +212,16 @@ export function App() { {/* Top bar */} - + - + state tree
-
input events -
output events diff --git a/src/App/RTHistory.tsx b/src/App/RTHistory.tsx index 56883a8..779efc1 100644 --- a/src/App/RTHistory.tsx +++ b/src/App/RTHistory.tsx @@ -21,8 +21,9 @@ export function RTHistory({rt, rtIdx, ast, setRTIdx, setTime, refRightSideBar}: return
{rt.map((r, idx) => <> -
-
gotoRt(idx, r.simtime)}> +
gotoRt(idx, r.simtime)}>
{formatTime(r.simtime)}   @@ -33,6 +34,7 @@ export function RTHistory({rt, rtIdx, ast, setRTIdx, setTime, refRightSideBar}: {r.outputEvents.length>0 && <>^ {r.outputEvents.map((e:RaisedEvent) => {e.name})} } + {/*
*/}
)}
; }