html, body { font-size: 100%; } body { font-family: sans-serif; overflow: hidden; /* Some browsers have weirdness */ } hr { width: 80%; height: 0; border: 0; border-top: 0.1em solid hsl(237, 48%, 47%); } #canvas-main { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1000; cursor: crosshair; } #canvas-main.brush { cursor: crosshair; } #canvas-main.pan { cursor: -webkit-grab; cursor: grab; } #canvas-main.pan:active { cursor: -webkit-grabbing; cursor: grabbing; } #canvas-main.pointer { cursor: default; } /* future: show a laser-pointer-style cursor here */ #sidebar { position: absolute; top: 0; left: 0; bottom: 0; z-index: 2000; display: flex; flex-direction: column; overflow-y: scroll; padding: 0.3em 0.45em; background: url(/images/transparent-square-tiles.png), hsla(27, 100%, 59%, 0.71); box-shadow: 0.5em 0 1em rgba(185, 183, 183, 0.56); } .logo { display: block; max-width: 10em; } .top-row { display: flex; } .connection-indicator { width: 1em; height: 1em; margin: 0.6em 0.2em; border-radius: 50%; background: hsl(8, 100%, 50%); box-shadow: 0 0 0.5em hsl(8, 100%, 50%); } .connection-indicator[data-connected] { background: hsl(100, 100%, 50%); box-shadow: 0 0 0.5em hsl(100, 100%, 50%); } .name { padding: 0.3em 0.5em; border-top: 0.2em solid rgba(255, 255, 255, 0.3); } .brush-settings { display: flex; flex-direction: column; min-height: 5em; } .brush-preview-display { flex: 1; } .brush-indicator { position: relative; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 1em 0 0 0; border-radius: 50%; } .tool-selector { display: inline-block; padding: 0.3em; border-radius: 0.1em; border: 0.2em solid transparent; cursor: pointer; } .tool-selector[data-selected] { border: 0.2em dashed hsl(219, 87%, 54%); } .tool-selector > img { max-width: 1.25em; } .palette-colour { float: left; width: 12.5%; height: 1.5em; box-sizing: border-box; cursor: pointer; } .palette-colour[data-selected] { border: 0.2em dashed hsl(219, 87%, 54%); } .palette br { clear: both; } /**************************************/ #debuginfo { position: absolute; bottom: 0; right: 0; padding: 0.5em; z-index: 5000; text-align: right; } .debug-value { font-family: monospace; /* todo: use custom fonts! :D */ } .fps { top: 0.2em !important; right: 0.2em !important; left: initial !important; }