1
1
import styled from '@emotion/styled' ;
2
2
3
- export const PageWrapper = styled . div `
4
- width: 100%;
5
- height: 100vh;
6
- display: flex;
7
- justify-content: center;
8
- align-items: center;
3
+ export const AnswerSection = styled . span `
4
+ color: ${ ( { theme } ) => theme . color . black } ;
5
+ ${ ( { theme } ) => theme . typo . body2 } ;
9
6
` ;
10
7
11
- export const TopContentWrapper = styled . div `
12
- padding-left: 0.4375rem;
8
+ export const AnswerWrapper = styled . div `
13
9
display: flex;
14
- flex-direction: column;
15
- gap: 3.75rem;
10
+ gap: 0.375rem;
16
11
` ;
17
12
18
- export const Title = styled . span `
19
- color: ${ ( { theme } ) => theme . color . black } ;
20
- ${ ( { theme } ) => theme . typo . h2 } ;
21
- font-weight: 600;
13
+ export const ClickSection = styled . div < { isSelected : boolean } > `
14
+ width: 1rem;
15
+ height: 1rem;
16
+ border-radius: 50%;
17
+ border: ${ ( { isSelected, theme } ) =>
18
+ isSelected
19
+ ? `0.1875rem solid ${ theme . color . primary } `
20
+ : '0.0625rem solid #787878' } ;
21
+ cursor: pointer;
22
22
` ;
23
23
24
- export const SectionContainer = styled . span `
24
+ export const IncorrectWrapper = styled . div `
25
25
display: flex;
26
+ gap: 0.75rem;
27
+ ` ;
28
+
29
+ export const NotAnswerWrapper = styled . div `
26
30
display: flex;
27
- justify-content: space-between;
28
- padding-bottom: 1.25rem;
31
+ gap: 0.375rem;
29
32
` ;
30
33
31
- export const SectionWrapper = styled . div `
34
+ export const PageWrapper = styled . div `
35
+ width: 100%;
36
+ height: 100vh;
32
37
display: flex;
38
+ justify-content: center;
39
+ align-items: center;
33
40
` ;
34
41
35
42
export const Section = styled . div `
@@ -40,33 +47,32 @@ export const Section = styled.div`
40
47
margin: 0 0.3125rem 0 0.3125rem;
41
48
` ;
42
49
43
- export const IncorrectWrapper = styled . div `
50
+ export const SectionContainer = styled . span `
44
51
display: flex;
45
- gap: 0.75rem;
52
+ display: flex;
53
+ justify-content: space-between;
54
+ padding-bottom: 1.25rem;
46
55
` ;
47
56
48
- export const AnswerSection = styled . span `
49
- color: ${ ( { theme } ) => theme . color . black } ;
50
- ${ ( { theme } ) => theme . typo . body2 } ;
57
+ export const SectionWrapper = styled . div `
58
+ display: flex;
51
59
` ;
52
60
53
- export const AnswerWrapper = styled . div `
54
- display: flex;
55
- gap: 0.375rem;
61
+ export const SpinnerWrapper = styled . div `
62
+ position: absolute;
63
+ top: 50%;
64
+ left: 50%;
56
65
` ;
57
66
58
- export const NotAnswerWrapper = styled . div `
59
- display: flex;
60
- gap: 0.375rem;
67
+ export const Title = styled . span `
68
+ color: ${ ( { theme } ) => theme . color . black } ;
69
+ ${ ( { theme } ) => theme . typo . h2 } ;
70
+ font-weight: 600;
61
71
` ;
62
72
63
- export const ClickSection = styled . div < { isSelected : boolean } > `
64
- width: 1rem;
65
- height: 1rem;
66
- border-radius: 50%;
67
- border: ${ ( { isSelected, theme } ) =>
68
- isSelected
69
- ? `0.1875rem solid ${ theme . color . primary } `
70
- : `0.0625rem solid #787878` } ;
71
- cursor: pointer;
73
+ export const TopContentWrapper = styled . div `
74
+ padding-left: 0.4375rem;
75
+ display: flex;
76
+ flex-direction: column;
77
+ gap: 3.75rem;
72
78
` ;
0 commit comments