plots: add image widget (#64)

This commit is contained in:
jean-emmanuel 2017-12-18 21:35:39 +01:00
parent e65d287907
commit e1e54c038b
3 changed files with 108 additions and 3 deletions

View file

@ -77,15 +77,43 @@
}
}
.image-container {
width:100rem;
height:100rem;
padding:1rem;
.image {
display: flex;
flex-direction: row;
flex: 1 1 100%;
background-size:cover;
border:1rem solid var(--color-bg);
background-repeat: no-repeat;
}
&.noborder {
--color-border:transparent;
--color-light:transparent;
--color-light:transparent;
background: transparent;
padding: 0!important;
.image {
outline:transparent!important;
border:0!important;
box-shadow:none!important;
margin: 0!important;
}
}
}
.panel:not(.tab) > .led-container,
.panel:not(.tab) > .rgbled-container,
.panel:not(.tab) > .text-container,
.panel:not(.tab) > .visualizer-container,
.panel:not(.tab) > .eq-container,
.panel:not(.tab) > .plot-container {
.panel:not(.tab) > .plot-container,
.panel:not(.tab) > .image-container {
--color-border:transparent;
padding: 0rem;
.plot, .text, .led {
.plot, .text, .led, .image {
padding: 0rem;
margin: 1rem;
background-clip: content-box;