-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.tsx
More file actions
94 lines (82 loc) · 1.97 KB
/
styles.tsx
File metadata and controls
94 lines (82 loc) · 1.97 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
88
89
90
91
92
93
94
import { styled } from 'styled-components';
import { StyledText } from '@components/Text/StyledText';
export const CancelContainer = styled.div`
margin: 0 auto;
width: 100%;
flex-grow: 1;
display: flex;
flex-direction: column;
`;
export const SubTitle = styled.h3`
font-size: 1rem;
font-weight: bold;
margin-bottom: 0.625rem;
text-align: center;
text-align: left;
margin-top: 0.625rem;
padding: 1.25rem;
`;
export const Text = styled.p`
font-size: 0.875rem;
margin-bottom: 0.3125rem;
text-align: left;
margin-top: 0.625rem;
padding: 0rem 1.25rem;
`;
export const InfoBox = styled.div`
background: ${({ theme }) => theme.colors.background.secondary};
padding: 4.375rem;
margin-top: 0.625rem;
border-radius: 0.625rem;
margin: 0.625rem 1.25rem 1.25rem 1.25rem;
`;
export const InfoItem = styled.p`
font-size: 0.875rem;
margin-bottom: 0.625rem;
padding: 0.125rem 0.625rem;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
height: 100%;
`;
export const CheckboxWrapper = styled.div`
display: flex;
align-items: center;
margin-bottom: 1.25rem;
padding: 0rem 0.9375rem;
input[type='checkbox'] {
margin-right: 0.625rem;
}
`;
export const CheckboxInput = styled.input`
margin-right: 0.625rem;
cursor: pointer;
appearance: none;
width: 1.25rem;
height: 1.25rem;
border: 0.125rem solid ${({ theme }) => theme.colors.border.divider};
border-radius: 0.25rem;
position: relative;
&:checked {
background-color: ${({ theme }) => theme.colors.brand.primaryLight};
border-color: ${({ theme }) => theme.colors.brand.primary};
}
&:checked::after {
content: '✓';
color: ${({ theme }) => theme.colors.text.contrast};
font-size: 0.875rem;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
`;
export const Label = styled.label`
display: flex;
align-items: center;
cursor: pointer;
`;
export const StyledCheckboxText = styled(StyledText)`
color: ${({ theme }) => theme.colors.text.caption};
`;