-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathcontactStyles.ts
112 lines (95 loc) · 1.8 KB
/
contactStyles.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
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
import styled, { css } from 'styled-components';
import Bracket from '@/components/decorations/Bracket';
import * as m from '@/styles/_mixins';
import { $lightBgColor } from '@/styles/_variables';
const ContactUsContainer = styled.div`
background-color: ${$lightBgColor};
height: 42rem;
position: relative;
margin-bottom: -10rem;
//media query mixins
${m.mobile(css`
height: unset;
padding-bottom: 2rem;
margin-bottom: 3rem;
`)}
${m.desktopBreakpointMinus(css`
img {
display: none;
}
`)}
${m.desktop(css`
height: 32rem;
`)}
`;
const FormAndDecorations = styled.div`
//media query mixins
${m.tablet(css`
display: flex;
flex-wrap: wrap;
justify-content: center;
position: absolute;
bottom: 48%;
right: 4%;
z-index: 11;
`)}
${m.desktop(css`
bottom: 52%;
right: 8%;
`)}
`;
const YellowBracket = styled(Bracket)`
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
//media query mixins
${m.mobile(css`
display: none;
`)}
${m.tablet(css`
position: absolute;
top: 28%;
right: 120%;
width: 8rem;
`)}
${m.desktop(css`
top: 25%;
right: 120%;
`)}
${m.desktopBreakpointPlus(css`
top: 45%;
right: 140%;
`)}
`;
const YellowColon = styled.img`
//media query mixins
${m.tablet(css`
position: absolute;
top: -10%;
right: -5%;
`)}
${m.desktop(css`
right: -15%;
`)}
`;
const ResponseMessage = styled.div`
position: absolute;
right: 8%;
bottom: -5%;
margin: auto;
//media query mixins
${m.mobile(css`
position: unset;
margin-top: 1rem;
padding: 0 2rem;
`)}
${m.smallMobile(css`
max-width: fit-content;
`)}
`;
export default {
ContactUsContainer,
FormAndDecorations,
YellowBracket,
YellowColon,
ResponseMessage,
};