Bin
2025-12-16 9e0b2ba2c317b1a86212f24cbae3195ad1f3dbfa
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
.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);
    }
  }
}