cxgraph/cxgraph-web/style.css

110 lines
1.4 KiB
CSS

* {
font-family: monospace;
font-size: 16px;
}
body, html {
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}
.canvas-container {
position: absolute;
left: 0px;
top: 0px;
}
canvas, #overlay {
position: absolute;
left: 0px;
top: 0px;
width: 100vw;
height: 100vh;
}
#canvas {
z-index: 0;
}
#overlay {
z-index: 1;
pointer-events: none;
}
#overlay_points {
pointer-events: all;
}
.menus {
position: absolute;
left: 0px;
top: 0px;
right: 0px;
pointer-events: none;
display: flex;
flex-direction: row;
justify-content: space-between;
z-index: 10;
}
.menu {
pointer-events: all;
margin: 10px;
padding: 10px;
background: #334;
color: #fff;
height: fit-content;
box-shadow: 0 0 5px 1px #00000088;
}
details > *:not(summary) {
padding-top: 2px;
padding-bottom: 2px;
padding-left: 8px;
border-left: 1px solid #fff;
}
summary {
padding-bottom: 5px;
}
#source_text {
width: 400px;
height: 150px;
font-size: 15px;
}
#div_error_msg {
color: #f9a;
white-space: pre-line;
}
input {
color: #fff;
background: #667;
border: none;
border-radius: 2px;
margin-top: 2px;
margin-bottom: 2px;
padding-left: 3px;
padding-right: 3px;
}
input, textarea{
box-shadow: 0 0 5px 1px #00000044;
}
input[type=number], input[type=text] {
border-bottom: 2px solid #def;
}
input:hover {
background: #889;
}
input[type=button]:active {
background: #667;
}