-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyleqe.css
More file actions
153 lines (133 loc) · 3.61 KB
/
styleqe.css
File metadata and controls
153 lines (133 loc) · 3.61 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
body {
font-family: Arial, sans-serif;
background: url(12.jpg) no-repeat;
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
#main {
margin: 10px; /* Reset margin */
background-color: #fff;
box-shadow: 0 0 20px rgba(0,0,0,0.1);
border-radius: 10px;
overflow: hidden;
animation: fadeIn 0.5s ease forwards;
position:absolute;
top: 350px;
left:750px;
}
#header {
background-color: #007bff;
color: #fff;
padding: 20px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
text-align: center;
}
h1 {
margin: 0;
font-size: 24px;
}
#feedback {
padding: 20px;
text-align: center; /* Center the content */
}
/* Table Styles */
table {
width: 1400px;
height: 480px;
border-collapse: collapse;
}
th, td {
padding: 10px;
border-bottom: 1px solid #ddd;
text-align: left;
width: 100px;
}
th {
background-color: #007bff;
color: #fff;
}
tr:hover {
background-color: #f2f2f2;
}
.edit-btn, .delete-btn {
padding: 5px 10px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
background-color: #007bff;
color: #fff;
border: none;
}
.edit-btn:hover, .delete-btn:hover {
background-color: #0056b3;
}
/* Popup Form Styles */
#popupForm {
display: none;
position: fixed;
top: 70%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0,0,0,0.3);
animation: fadeIn 0.5s ease forwards;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translate(-50%, -50%) scale(0.5);
}
to {
opacity: 1;
transform: translate(-50%, -50%) scale(1);
}
}
#popupForm h2 {
margin-top: 0;
text-align: center;
}
label {
display: block;
margin-bottom: 10px;
}
input[type="text"], textarea {
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
margin-bottom: 10px;
width: calc(100% - 22px);
}
input[type="submit"], button {
padding: 10px 20px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
input[type="submit"]:hover, button:hover {
background-color: #0056b3;
}
.close-btn {
position: absolute;
top: 10px;
right: 10px;
cursor: pointer;
font-size: 20px;
color: #777;
}
.close-btn:hover {
color: #333;
}