/* Prevent the text contents of draggable elements from being selectable. */ [draggable] { -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; user-select: none; } body { cursor: default; font-family: helvetica, arial, sans-serif; font-size: 0.8em; } .node { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none; cursor: move; background-color: #aaa; border-style: solid; border-width: 1px; border-color: black; border-radius: 3px; padding: 0px; margin: 0px; margin-left: auto; margin-right: auto; } .node + .node { margin-top: 12px; } .node .data { background-color: grey; } .node .id { float: left; font-size: 0.8em; vertical-align: text-top; opacity: 0.6; min-width: 2.8em; display: inline-block; pointer-events: none; margin-left: 2px; } .node .title { float: left; font-weight: bold; font-size: 1.1em; background: transparent; pointer-events: auto; width: 65%; min-height: 1.1em; } .node .state { float: right; padding-left: 5px; padding-right: 5px; background: transparent; pointer-events: auto; cursor: pointer; background-color: #aaa; border: solid 1px #666; } .node .description { border-top: solid black 1px; display: block; clear: both; padding-left: 5px; background: #999; pointer-events: auto; min-height: 0.5em; } .node .edit { border-color: red; pointer-events: all; width: 90% /* border: inherit; padding: inherit; margin: inherit; background: inherit; */ } .node .button { float: right; display: inline-box; width: 1em; vertical-align: text-center; text-align: center; cursor: pointer; pointer-events: auto; background-color: #aaa; border: solid 1px #666; } .node .children { clear: both; padding: 6px; min-height: 5px; border: dotted 1px black; overflow: hidden; } .collapsed .children { clear: both; background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,1)); max-height: 0px; padding-top: 0px; opacity: 0.2; } .collapsed .description { height: 0px; overflow: hidden; min-height: 0px; } .board { min-height: 200px; width: 500px; padding: 8px; margin: 2px; display: inline-box; float:left; } .log { clear: both; height: 20em; font-family: monospace; font-size: 1em; padding: 2px 5px; color: #0f0; background-color: #111; border: 1px solid #030; border-radius: 4px; overflow: auto; }