/* 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; } .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 { font-size: 0.7em; vertical-align: text-top; opacity: 0.3; min-width: 2em; display: inline-block; pointer-events: none; } .node .title { padding-left: 5px; background: transparent; pointer-events: none; } .node .state { float: right; padding-left: 5px; padding-right: 5px; background: transparent; pointer-events: none; } .node .description { clear: both; padding-left: 5px; background: transparent; pointer-events: none; } .node .edit { border-color: red; pointer-events: all; /* border: inherit; padding: inherit; margin: inherit; background: inherit; */ } .node .button { float: right; display: inline-box; width: 1em; height: 1em; font-size: 0.7em; vertical-align: text-center; text-align: center; border: solid green 2px; cursor: pointer; pointer-events: auto; } .node .children { padding: 6px; min-height: 5px; border: dotted 1px black; overflow: hidden; } .collapsed { background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.6)); max-height: 16px; padding: 16px; } .board { /* width: *; */ min-height: 100px; width: 500px; padding: 2px; margin: 2px; display: inline-box; float:left; background: -moz-linear-gradient(left center, rgb(0,0,0), rgb(79,79,79), rgb(21,21,21)); background: -webkit-gradient(linear, left top, right top, color-stop(0, rgb(0,0,0)), color-stop(0.50, rgb(79,79,79)), color-stop(1, rgb(21,21,21))); background: -webkit-linear-gradient(left center, rgb(0,0,0), rgb(79,79,79), rgb(21,21,21)); background: -ms-linear-gradient(left center, rgb(0,0,0), rgb(79,79,79), rgb(21,21,21)); } .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; }