new plot widget

This commit is contained in:
jean-emmanuel 2016-03-14 10:54:13 +01:00
parent d98c0588bb
commit b7a042c02a
3 changed files with 222 additions and 1 deletions

View file

@ -35,6 +35,11 @@ $sidepanel-size:300rem;
/////////////
:root {
--color-accent:$color-accent;
--color-text:$color-text;
--color-text-fade:$color-text-fade;
}
* {
margin:0;
@ -1819,3 +1824,30 @@ a {
}
}
}
.plot-container {
min-height: 200rem;
min-width: 200rem;
.plot {
position: absolute;
top: 35rem;
left: 0;
right: 0;
bottom: 0;
// padding:2rem;
border: 1rem solid $color-bg;
background:rgba($color-bg,.5);
}
&.nolabel .plot {
top:0;
}
canvas {
width:100%;
height:100%;
// opacity: 0;
transition: opacity .2s;
&.visible {
opacity:1;
}
}
}