blob: 9e775cf095ff543e3896f82f3a3dee2032fc3787 (
plain) (
blame)
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
|
import styled from "styled-components";
export const ProgressBackground = styled.div`
position: relative;
z-index: -1;
width: 100%;
height: 20px;
background-color: ${({ theme }) => theme.gray};
border-radius: 2px;
margin-top: 5%;
`;
export const Progress = styled.div<{ value: number }>`
width: ${({ value }) => value * 6.25}%;
height: 20px;
align-self: flex-start;
background-color: ${({ theme }) => theme.green};
border-radius: 2px;
transition: width 0.5s;
`;
export const Separator = styled.div`
position: absolute;
top: 0;
width: 1px;
height: 100%;
background-color: ${({ theme }) => theme.border100};
`;
export const TimeStamps = styled.div`
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
`;
export const TimeStamp = styled.p`
color: ${({ theme }) => theme.text};
`;
|