details.active { border: rgb(192, 125, 0); background-color:rgb(255, 251, 244); filter: drop-shadow( 0px 0px 3px rgba(192, 125, 0, 0.856)); } details > summary { padding: 2px; } /* these two rules add a bit of padding to an opened
node */ details:open > summary { margin-bottom: 4px; } details:open { padding-bottom: 8px; } details > summary:hover { background-color: #eee; cursor: pointer; } .stateTree > * { padding-left: 10px; /* border: 1px black solid; */ background-color: white; /* margin-bottom: 4px; */ /* padding-right: 2px; */ /* padding-top: 2px; */ /* padding-bottom: 2px; */ /* color: black; */ /* width: fit-content; */ /* border-radius: 10px; */ } /* if
has no children (besides the obvious child), then hide the marker */ details:not(:has(:not(summary))) > summary::marker { content: " "; } .outputEvent { border: 1px black solid; border-radius: 6px; margin-left: 4px; padding-left: 2px; padding-right: 2px; background-color: rgb(230, 249, 255); display: inline-block; } .inputEvent { border: 1px black solid; border-radius: 6px; margin-left: 4px; padding-left: 2px; padding-right: 2px; background-color: rgb(224, 247, 209); display: inline-block; } .inputEvent * { vertical-align: middle; } button.inputEvent:hover:not(:disabled) { background-color: rgb(195, 224, 176); } button.inputEvent:active:not(:disabled) { background-color: rgb(176, 204, 158); } .activeState { border: rgb(192, 125, 0); background-color:rgb(255, 251, 244); filter: drop-shadow( 0px 0px 3px rgba(192, 125, 0, 0.856)); border-radius: 6px; margin-left: 4px; padding-left: 2px; padding-right: 2px; display: inline-block; } hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 0; margin-bottom: -1px; padding: 0; } ul { list-style-type: circle; margin-block-start: 0; margin-block-end: 0; padding-inline-start: 24px; /* list-style-position: ; */ } .insetParent { position: relative; } .insetChild { position: absolute; box-shadow: inset 0 10px 10px -10px rgba(0, 0, 0, 0.75); height: 20px; z-index: 10; pointer-events: none; inset: 0; } .onTop { box-shadow: 0 -10px 10px 10px rgba(0, 0, 0, 0.75); z-index: 1; }