render-canvas.less
Home
/
outputframe-app /
elements /
render-canvas /
render-canvas.less
@import url('../../../shared/theme.less');
render-canvas {
width: 100%;
height: 100%;
display: block;
position: absolute;
left: 0;
top: 0;
bottom: 0;
right: 0;
overflow: hidden;
}
render-canvas canvas {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border: 1px solid #c2c2c2;
background-color: @median-bg-white;
border-color: @draw-color-white;
}
@media (prefers-color-scheme: dark) {
render-canvas canvas {
background-color: @median-bg-dark;
border-color: @draw-color-dark;
}
}