2017-01-21 17:06:19 +00:00
|
|
|
html, body { font-size: 100%; }
|
|
|
|
body
|
|
|
|
{
|
|
|
|
font-family: sans-serif;
|
|
|
|
}
|
|
|
|
|
2017-04-28 17:13:41 +00:00
|
|
|
hr
|
|
|
|
{
|
|
|
|
width: 80%; height: 0;
|
|
|
|
border: 0;
|
|
|
|
border-top: 0.1em solid hsl(237, 48%, 47%);
|
|
|
|
}
|
|
|
|
|
2017-01-21 17:06:19 +00:00
|
|
|
#canvas-main
|
|
|
|
{
|
|
|
|
position: absolute;
|
|
|
|
top: 0; right: 0; bottom: 0; left: 0;
|
2017-02-19 13:22:35 +00:00
|
|
|
z-index: 1000;
|
2017-02-19 11:35:29 +00:00
|
|
|
|
|
|
|
cursor: crosshair;
|
2017-01-21 17:06:19 +00:00
|
|
|
}
|
2017-01-22 13:05:59 +00:00
|
|
|
|
2017-06-26 16:18:37 +00:00
|
|
|
#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 */
|
|
|
|
|
2017-02-19 13:22:35 +00:00
|
|
|
#sidebar
|
|
|
|
{
|
|
|
|
position: absolute;
|
|
|
|
top: 0; left: 0; bottom: 0;
|
|
|
|
z-index: 2000;
|
2017-04-25 18:34:03 +00:00
|
|
|
display: flex; flex-direction: column;
|
2017-02-19 13:22:35 +00:00
|
|
|
|
2017-02-19 13:30:18 +00:00
|
|
|
padding: 0.3em 0.45em;
|
|
|
|
|
2017-04-27 17:36:45 +00:00
|
|
|
background: url(/images/transparent-square-tiles.png), hsla(27, 100%, 59%, 0.71);
|
2017-04-25 18:34:03 +00:00
|
|
|
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;
|
2017-02-19 13:30:18 +00:00
|
|
|
border-top: 0.2em solid rgba(255, 255, 255, 0.3);
|
2017-02-19 13:22:35 +00:00
|
|
|
}
|
|
|
|
|
2017-04-28 17:13:41 +00:00
|
|
|
.brush-settings
|
|
|
|
{
|
|
|
|
display: flex; flex-direction: column;
|
|
|
|
min-height: 5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.brush-preview-display
|
|
|
|
{
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
2017-04-28 11:42:34 +00:00
|
|
|
.brush-indicator
|
|
|
|
{
|
2017-04-28 17:13:41 +00:00
|
|
|
position: relative;
|
|
|
|
top: 50%; left: 50%; transform: translate(-50%, -50%);
|
|
|
|
|
|
|
|
margin: 1em 0 0 0;
|
2017-04-28 11:42:34 +00:00
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
2017-04-25 18:34:03 +00:00
|
|
|
.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%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.palette-colour
|
|
|
|
{
|
|
|
|
float: left;
|
|
|
|
width: 50%; height: 3em;
|
2017-04-28 17:13:41 +00:00
|
|
|
box-sizing: border-box;
|
2017-04-25 18:34:03 +00:00
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2017-04-28 11:42:34 +00:00
|
|
|
.palette-colour[data-selected]
|
|
|
|
{
|
|
|
|
border: 0.2em dashed hsl(219, 87%, 54%);
|
|
|
|
}
|
|
|
|
|
2017-06-15 12:12:30 +00:00
|
|
|
|
|
|
|
/**************************************/
|
|
|
|
|
|
|
|
#debuginfo
|
|
|
|
{
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0; right: 0;
|
|
|
|
padding: 0.5em;
|
|
|
|
|
|
|
|
z-index: 5000;
|
2017-06-24 19:24:56 +00:00
|
|
|
|
|
|
|
text-align: right;
|
2017-06-15 12:12:30 +00:00
|
|
|
}
|
|
|
|
|
2017-06-15 16:20:22 +00:00
|
|
|
.debug-value
|
|
|
|
{
|
|
|
|
font-family: monospace; /* todo: use custom fonts! :D */
|
|
|
|
}
|
|
|
|
|
2017-06-15 12:12:30 +00:00
|
|
|
|
2017-01-22 13:05:59 +00:00
|
|
|
.fps
|
|
|
|
{
|
|
|
|
top: 0.2em !important; right: 0.2em !important;
|
|
|
|
}
|