-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathPopup.styled.tsx
More file actions
50 lines (45 loc) · 978 Bytes
/
Popup.styled.tsx
File metadata and controls
50 lines (45 loc) · 978 Bytes
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
import styled from 'styled-components';
export const PopupOverlay = styled.div`
position: fixed;
inset: 0;
background: rgba(113, 113, 113, 0.3);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
`;
export const PopupBox = styled.div`
width: 500px;
background-color: #fcfcfc;
border: 3px solid #28723f;
border-radius: 15px;
text-align: center;
padding: 40px;
z-index: 10000;
`;
export const PopupTitle = styled.p`
font-size: 22px;
font-weight: 700;
color: black;
margin-bottom: 20px;
`;
export const PopupText = styled.p`
font-size: 18px;
color: black;
margin-bottom: 20px;
`;
export const PopupCloseButton = styled.button`
background-color: #28723f;
color: #fcfcfc;
font-size: 16px;
padding: 10px 20px;
border: none;
border-radius: 10px;
cursor: pointer;
box-shadow: 0px 2px 10px rgba(25, 25, 25, 0.2);
width: 100px;
margin-top: 20px;
&:hover {
background-color: #1f5b30;
}
`;