-
Notifications
You must be signed in to change notification settings - Fork 114
/
Copy pathAddToFolderStyled.ts
58 lines (52 loc) · 1.24 KB
/
AddToFolderStyled.ts
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
import styled from "styled-components";
export const AddToFolderContainer = styled.div`
width: 30rem;
display: flex;
flex-direction: column;
`;
export const FolderListContainer = styled.div`
display: flex;
flex-direction: column;
gap: 0.8rem;
max-height: 20rem;
overflow: hidden scroll;
`;
export const SelectFolder = styled.button<{ isSelect: boolean }>`
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
padding: 0.8rem;
gap: 0.8rem;
background-color: ${({ isSelect }) =>
isSelect ? "var(--light-blue)" : "transparent"};
`;
export const SelectLink = styled.p`
width: 30rem;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
color: var(--gray60);
font-size: 1.4rem;
line-height: 2.2rem;
text-align: center;
margin: 0.5rem 0 2.5rem 0;
`;
export const FolderName = styled.p`
color: var(--gray100);
line-height: 2.4rem;
font-size: 1.6rem;
`;
export const FolderCount = styled.span`
font-size: 1.4rem;
line-height: 1.671rem;
color: var(--gray60);
`;
export const SelectFolderIcon = styled.div`
display: none;
width: 1.125rem;
height: 0.95rem;
background-image: url("../../../../public/images/check.svg");
position: absolute;
right: 5.5rem;
`;