Adafruit_WebSerial_Plotter/style.css
Melissa LeBlanc-Williams deba2b3d6a Initial commit
2020-02-13 12:14:58 -08:00

124 lines
2 KiB
CSS

/**
* Header
*/
.header {
align-content: center;
align-items: stretch;
box-shadow:
0 4px 5px 0 rgba(0, 0, 0, 0.14),
0 2px 9px 1px rgba(0, 0, 0, 0.12),
0 4px 2px -2px rgba(0, 0, 0, 0.2);
display: flex;
flex-direction: row;
flex-wrap: nowrap;
font-size: 20px;
height: 5vh;
min-height: 50px;
justify-content: flex-start;
padding: 16px 16px 0 16px;
position: fixed;
transition: transform 0.233s cubic-bezier(0, 0, 0.21, 1) 0.1s;
width: 100%;
will-change: transform;
z-index: 1000;
margin: 0;
}
.header h1 {
flex: 1;
font-size: 20px;
font-weight: 400;
margin-top: 7px;
}
body {
font-family: "Benton Sans", "Helvetica Neue", helvetica, arial, sans-serif;
margin: 0;
}
canvas {
border-width: 1px;
border-style: solid;
}
p {
margin: 0.2em;
}
button {
font-size: 0.9em;
margin: 5px 10px;
}
.serial-input {
margin: 10px 0;
height: 3vh;
line-height: 3vh;
}
.serial-input input {
font-family:Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New, monospace;
font-size: 0.8em;
width: 90%;
border-width: 1px;
border-style: solid;
}
.serial-input input:disabled {
border-width: 1px;
border-style: solid;
}
.serial-input button {
width: 8%;
margin: 0 auto;
}
.main {
flex: 1;
overflow-x: hidden;
overflow-y: auto;
padding-top: 80px;
padding-left: 1em;
padding-right: 1em;
}
.hidden {
display: none;
}
.controls {
height: 3vh;
line-height: 3vh;
}
.controls span {
margin-left: 8px;
}
.chart-container {
position: relative;
height:40vh;
margin: 10px auto;
}
#notSupported {
padding: 1em;
margin-top: 1em;
margin-bottom: 1em;
}
#log {
height: 40vh;
width: 100%;
font-family:Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New, monospace;
font-size: 0.8em;
border-width: 1px;
border-style: solid;
overflow-x: hidden;
overflow-x: auto;
transition : color 0.1s linear;
}