Skip to content

Commit e79bdd0

Browse files
committed
add contact styles js file
1 parent d19b052 commit e79bdd0

File tree

1 file changed

+104
-0
lines changed

1 file changed

+104
-0
lines changed

styles/pages/contactStyles.js

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
import styled, { css } from 'styled-components';
2+
import Bracket from '@/components/decorations/Bracket';
3+
import * as m from '@/styles/_mixins';
4+
import { $lightBgColor } from '@/styles/_variables';
5+
6+
const ContactUsContainer = styled.div`
7+
background-color: ${$lightBgColor};
8+
height: 42rem;
9+
position: relative;
10+
margin-bottom: -10rem;
11+
12+
//media query mixins
13+
${m.mobile(css`
14+
height: unset;
15+
padding-bottom: 2rem;
16+
margin-bottom: 3rem;
17+
`)}
18+
19+
${m.desktopBreakpointMinus(css`
20+
img {
21+
display: none;
22+
}
23+
`)}
24+
25+
${m.desktop(css`
26+
height: 32rem;
27+
`)}
28+
`;
29+
30+
const FormAndDecorations = styled.div`
31+
//media query mixins
32+
${m.tablet(css`
33+
display: flex;
34+
flex-wrap: wrap;
35+
justify-content: center;
36+
position: absolute;
37+
bottom: 48%;
38+
right: 4%;
39+
z-index: 11;
40+
`)}
41+
42+
${m.desktop(css`
43+
bottom: 52%;
44+
right: 8%;
45+
`)}
46+
`;
47+
48+
const YellowBracket = styled(Bracket)`
49+
// -webkit-transform: scaleX(-1);
50+
// transform: scaleX(-1);
51+
52+
//media query mixins
53+
${m.mobile(css`
54+
display: none;
55+
`)}
56+
57+
${m.tablet(css`
58+
position: absolute;
59+
top: 28%;
60+
right: 120%;
61+
width: 8rem;
62+
`)}
63+
64+
${m.desktop(css`
65+
top: 25%;
66+
right: 120%;
67+
`)}
68+
69+
${m.desktopBreakpointPlus(css`
70+
top: 25%;
71+
right: 140%;
72+
`)}
73+
`;
74+
75+
const YellowColon = styled.img`
76+
//media query mixins
77+
${m.desktop(css`
78+
right: -15%;
79+
`)}
80+
81+
${m.tablet(css`
82+
position: absolute;
83+
top: -10%;
84+
right: -5%;
85+
`)}
86+
`;
87+
88+
const ResponseMessage = styled.div`
89+
position: absolute;
90+
right: 8%;
91+
bottom: -5%;
92+
margin: auto;
93+
94+
//media query mixins
95+
${m.mobile(css`
96+
position: unset;
97+
margin-top: 1rem;
98+
padding: 0 2rem;
99+
`)}
100+
101+
${m.smallMobile(css`
102+
max-width: fit-content;
103+
`)}
104+
`;

0 commit comments

Comments
 (0)