p5.js-web-editor/client/styles/components/_asset-size.scss

49 lines
877 B
SCSS
Raw Permalink Normal View History

.asset-size {
2019-11-25 10:15:10 +00:00
position: relative;
flex: 1;
margin-bottom: #{18 / $base-font-size}rem;
2019-11-25 10:15:10 +00:00
font-size: #{14 / $base-font-size}rem;
}
.asset-size-bar {
position: relative;
content: ' ';
display: block;
width: 200px;
height: 20px;
2019-11-25 10:15:10 +00:00
border-radius: #{3 / $base-font-size}rem;
border: 1px solid transparent;
overflow: hidden;
@include themify() {
background-color: getThemifyVariable('progress-bar-background-color');
}
}
.asset-size-bar::before {
content: ' ';
display: block;
position: absolute;
top: 0;
left: 0;
bottom: 0;
width: calc(var(--percent, 1) * 100%);
@include themify() {
background-color: getThemifyVariable('progress-bar-active-color');
}
}
.asset-current {
position: absolute;
top: #{28 / $base-font-size}rem;
left: 0;
}
.asset-max {
position: absolute;
2019-11-25 10:15:10 +00:00
top: 0;
left: #{210 / $base-font-size}rem;
}