forked from fofr/face_looker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFaceTracker.css
More file actions
57 lines (52 loc) · 948 Bytes
/
FaceTracker.css
File metadata and controls
57 lines (52 loc) · 948 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
51
52
53
54
55
56
57
.face-tracker {
position: relative;
width: 100%;
height: 100%;
min-height: 300px;
background: #f0f0f0;
border-radius: 8px;
overflow: hidden;
}
.face-image {
width: 100%;
height: 100%;
object-fit: contain;
transition: opacity 0.1s ease-out;
}
.face-loading {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #666;
font-size: 14px;
}
.face-tracker-error {
display: flex;
align-items: center;
justify-content: center;
height: 200px;
color: #e74c3c;
background: #fdf2f2;
border: 1px solid #f5c6cb;
border-radius: 4px;
padding: 20px;
}
.face-debug {
position: absolute;
top: 10px;
left: 10px;
background: rgba(0, 0, 0, 0.8);
color: white;
padding: 8px 12px;
border-radius: 4px;
font-family: monospace;
font-size: 12px;
line-height: 1.4;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.face-tracker {
min-height: 250px;
}
}