Spaces:
Configuration error
Configuration error
File size: 1,115 Bytes
a7060a0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | .image {
top: 0;
position: absolute;
overflow: hidden;
}
.image-progress {
padding: 14px 16px;
display: flex;
justify-content: center;
background: var(--color-neutral-background);
border-radius: 4px;
box-shadow: 0 0 0 0.5px rgb(var(--color-neutral-shadow-raw) / 20%);
margin: 16px 0.5px;
flex-direction: column;
color: var(--color-neutral-content);
font-weight: bold;
&__bar {
--height: 6px;
/* Reset the default appearance */
appearance: none;
/* Get rid of default border in Firefox. */
border: none;
width: 200px;
height: var(--height);
display: block;
&::-webkit-progress-inner-element {
padding: 3px;
}
&[value]::-webkit-progress-bar {
background-color: #eee;
border-radius: 10px;
box-shadow: 0 0 0 0.5px rgb(0 0 0 / 40%);
height: var(--height);
}
&[value]::-webkit-progress-value {
background: royalblue;
border-radius: 10px;
background-size:
35px 20px,
100% 100%,
100% 100%;
transition: all 80ms ease;
height: var(--height);
}
}
}
|