-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyle.css
More file actions
140 lines (123 loc) · 2.96 KB
/
style.css
File metadata and controls
140 lines (123 loc) · 2.96 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
body {
transition: background 0.8s ease-in-out;
min-height: 100vh;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
text-align: center;
background: #f4f6f8;
margin: 0;
padding: 20px;
}
h2 {
color: #333;
text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}
/* OUTPUT PANEL */
#output {
margin-top: 20px;
padding: 20px;
border-radius: 15px;
background-color: rgba(255, 255, 255, 0.9);
box-shadow: 0 8px 32px rgba(0,0,0,0.1);
backdrop-filter: blur(4px);
text-align: left;
max-width: 600px;
margin-left: auto;
margin-right: auto;
border: 1px solid rgba(255, 255, 255, 0.3);
}
#output p {
margin: 8px 0;
}
#output strong {
color: #4b5563;
display: inline-block;
width: 130px;
}
/* ------------------------------------------------ */
/* LIVE CAMERA (TINY & FLOATING) */
/* ------------------------------------------------ */
#video-wrapper {
position: fixed;
bottom: 20px;
right: 20px;
width: 120px;
height: 120px;
border: 3px solid #fff;
border-radius: 50%;
overflow: hidden;
background-color: #333;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
z-index: 100;
}
#liveCameraFeed {
width: 100%;
height: 100%;
object-fit: cover;
transform: scaleX(-1);
}
/* ------------------------------------------------ */
/* 🎥 EMOTION FEEDBACK VIDEOS */
#introductionVideo,
#joyFeedbackVideo,
#sadFeedbackVideo {
width: 100%;
max-width: 600px;
aspect-ratio: 1 / 1;
object-fit: cover;
display: none;
margin: 20px auto;
border-radius: 20px;
box-shadow: 0 10px 30px rgba(0,0,0,0.4);
background-color: #000;
}
/* ------------------------------------------------ */
/* 🧠 ANIME CHARACTER (MOUTH OPEN / CLOSE) */
/* ------------------------------------------------ */
#animeCharacterContainer {
width: 100%;
max-width: 450px;
aspect-ratio: 1 / 1;
position: relative;
margin: 20px auto;
border-radius: 20px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0,0,0,0.3);
background: white;
}
.anime-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
display: none;
}
.anime-image.active {
display: block;
}
/* ------------------------------------------------ */
/* BUTTONS */
/* ------------------------------------------------ */
#buttonContainer {
margin: 20px 0;
}
button {
padding: 12px 25px;
font-size: 16px;
font-weight: bold;
border: none;
border-radius: 50px;
cursor: pointer;
transition: all 0.3s ease;
margin: 0 10px;
}
#startBtn { background-color: #4CAF50; color: white; }
#startBtn:hover { background-color: #45a049; transform: scale(1.05); }
#stopBtn { background-color: #f44336; color: white; }
#stopBtn:hover { background-color: #da190b; transform: scale(1.05); }
button:disabled {
background-color: #cccccc !important;
cursor: not-allowed;
transform: none !important;
}