-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.tsx
More file actions
87 lines (73 loc) · 1.41 KB
/
styles.tsx
File metadata and controls
87 lines (73 loc) · 1.41 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
import { styled } from 'styled-components';
export const ProfileEditContainer = styled.div`
margin: 0 auto;
width: 100%;
flex-grow: 1;
display: flex;
flex-direction: column;
align-items: center;
`;
export const ProfilePicWrapper = styled.div`
display: flex;
flex-direction: column;
align-items: center;
`;
export const ProfilePic = styled.div`
width: 7.25rem;
height: 7.25rem;
flex-shrink: 0;
border-radius: 50%;
overflow: hidden;
margin-top: 2.125rem;
img {
width: 100%;
height: 100%;
object-fit: cover;
}
`;
export const Label = styled.div`
text-align: center;
`;
export const Row = styled.div`
display: flex;
justify-content: center;
align-items: center;
width: 100%;
margin-top: 10px;
${Label} {
width: auto;
margin: 0;
}
`;
export const FileInput = styled.input`
display: none;
`;
export const List = styled.ul`
width: 100%;
padding: 0;
margin: 0;
list-style: none;
border-top: 0px solid ${({ theme }) => theme.colors.background.divider};
position: absolute;
bottom: 20px;
`;
export const ListItem = styled.li`
display: flex;
align-items: center;
padding: 15px 10px;
border-bottom: 0px solid ${({ theme }) => theme.colors.background.divider};
cursor: pointer;
& img:first-child {
margin-right: 1rem;
}
& img:last-child {
margin-left: auto;
}
&:hover {
background: ${({ theme }) => theme.colors.background.secondary};
}
span {
flex: 1;
text-align: left;
}
`;