openflexure-microscope-server/static/style.css
2019-01-18 16:50:34 +00:00

132 lines
No EOL
1.7 KiB
CSS

body {
margin: 0;
overflow: hidden;
font-family: sans-serif;
font-size: 14px;
}
* {
box-sizing: border-box;
}
/* Preview sizing */
.middle img {
width: 100%;
height: 100%;
object-fit: contain
}
/* Create columns that float next to each other */
.column {
padding: 10px;
height: 100%;
}
.left, .right {
background-color: #f4f4f4;
overflow-y: scroll;
flex: 0;
flex-shrink: 0;
flex-basis: 250px;
-webkit-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
.left{
float: left;
}
.right{
float: right;
}
.hidden{
flex-basis: 0;
padding:0
}
.middle {
position: relative;
flex-grow: 1;
background-color: #d3d3d3;
}
#left-sb-btn {
left: 20px;
}
#right-sb-btn {
right: 20px;
}
.sb-btn {
top: 20px;
position: absolute;
}
.sb-btn button{
width: 40px;
height: 40px;
margin: 0;
padding:5px;
}
/* Clear floats after the columns */
.row{
display: flex;
}
/* Flexboxes */
.flexbox {
display: flex;
margin-bottom: 5px;
}
.flexgrow {
flex-grow: 1;
}
/* Data divs */
#captures {
font-size:12px;
margin-top: 20px;
}
.capture {
height: 75px;
width: 240px;
margin-bottom: 5px;
background-color: #d3d3d3;
display: flex;
}
.capture-thumb {
width: 80px;
height: 75px;
}
.capture-heading {
font-weight: bold;
margin: 5px 0 5px 0;
display: inline-block;
}
.capture-actions {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-left: 5px;
}
.capture img {
width: 100%;
height: 100%;
object-fit: cover;
}
.capture-button {
width: 75px;
margin-bottom: 3px;
height: 22px;
}