-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathSourceListItem.style.tsx
More file actions
42 lines (36 loc) · 949 Bytes
/
SourceListItem.style.tsx
File metadata and controls
42 lines (36 loc) · 949 Bytes
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
import colors from "../../styles/colors";
import styled from "styled-components";
import reviewColors from "../../constants/reviewColors";
import { Grid } from "@mui/material";
const SourceListItemStyled = styled(Grid)`
display: flex;
flex-direction: column;
gap: 16px;
.title {
font-size: 18px;
font-weight: 600;
color: ${colors.primary};
margin: 0;
width: 100%;
}
.title ::before {
content: "";
display: inline-block;
width: 10px;
height: 10px;
border-radius: 10px;
background: ${({ classification }) => reviewColors[classification]};
position: relative;
margin-right: 5px;
}
.summary {
color: ${colors.blackSecondary};
}
.footer {
display: flex;
gap: 16px;
justify-content: space-between;
align-items: center;
}
`;
export default SourceListItemStyled;