-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
102 lines (93 loc) · 2.28 KB
/
index.html
File metadata and controls
102 lines (93 loc) · 2.28 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
95
96
97
98
99
100
101
102
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Data rendering</title>
<style>
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-color: #f3f4f6;
color: #333;
}
.modal-parent {
position: absolute;
height: 100vh;
width: 100vw;
display: none;
background-color: rgba(0, 0, 0, 0.6);
justify-content: center;
align-items: center;
}
.modal {
height: 350px;
width: 500px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
padding: 20px;
display: flex;
flex-direction: column;
position: relative;
overflow: hidden;
animation: fadeIn 0.3s ease;
}
.modal-head {
display: flex;
justify-content: flex-end;
}
.modal-head button {
background-color: #ff5f57;
border: none;
color: white;
padding: 8px 12px;
cursor: pointer;
border-radius: 5px;
font-size: 14px;
transition: background-color 0.2s;
}
.modal-head button:hover {
background-color: #e04c4c;
}
.modal-body {
flex-grow: 1;
margin-top: 10px;
padding: 10px;
overflow-y: auto;
color: #474747;
}
.user-div {
padding: 10px;
margin-bottom: 10px;
border-radius: 6px;
border: 1px solid #565656;
background-color: #565656;
color: #ffffff;
transition: background-color 0.3s ease, transform 0.2s;
cursor: pointer;
}
.user-div:hover {
background-color: #424242;
/* transform: scale(1.03); */
}
.main {
padding: 20px;
}
</style>
</head>
<body>
<div class="modal-parent">
<div class="modal">
<div class="modal-head">
<button onclick="closeModal()">close</button>
</div>
</div>
</div>
<div class="main">
<!-- <button onclick="openModal()">Open Modal</button> -->
</div>
<script src="./app.js"></script>
</body>
</html>