Update style.css
Browse files
style.css
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
padding: 0;
|
5 |
box-sizing: border-box;
|
6 |
}
|
|
|
7 |
body {
|
8 |
font-family: Arial, sans-serif;
|
9 |
display: flex;
|
@@ -24,7 +25,8 @@ body {
|
|
24 |
padding: 10px 0;
|
25 |
gap: 20px;
|
26 |
}
|
27 |
-
|
|
|
28 |
cursor: pointer;
|
29 |
text-align: center;
|
30 |
display: flex;
|
@@ -32,16 +34,19 @@ body {
|
|
32 |
align-items: center;
|
33 |
gap: 5px;
|
34 |
}
|
35 |
-
|
|
|
36 |
width: 36px;
|
37 |
height: 36px;
|
38 |
transition: transform 0.2s ease, filter 0.2s ease;
|
39 |
}
|
40 |
-
|
|
|
41 |
transform: scale(1.2);
|
42 |
filter: brightness(1.2);
|
43 |
}
|
44 |
-
|
|
|
45 |
font-size: 12px;
|
46 |
}
|
47 |
|
@@ -54,6 +59,7 @@ body {
|
|
54 |
align-items: center;
|
55 |
justify-content: center;
|
56 |
}
|
|
|
57 |
.top-bar {
|
58 |
position: absolute;
|
59 |
top: 0;
|
@@ -67,6 +73,12 @@ body {
|
|
67 |
align-items: center;
|
68 |
justify-content: space-between;
|
69 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
.nav-buttons button {
|
71 |
background-color: #666;
|
72 |
color: white;
|
@@ -75,9 +87,25 @@ body {
|
|
75 |
font-size: 18px;
|
76 |
cursor: pointer;
|
77 |
}
|
|
|
78 |
.nav-buttons button:hover {
|
79 |
background-color: #888;
|
80 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
.content img {
|
82 |
max-width: 100%;
|
83 |
max-height: 100%;
|
@@ -85,6 +113,56 @@ body {
|
|
85 |
display: block;
|
86 |
}
|
87 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
/* Video overlay */
|
89 |
.video-overlay {
|
90 |
position: fixed;
|
@@ -98,11 +176,13 @@ body {
|
|
98 |
align-items: center;
|
99 |
z-index: 30;
|
100 |
}
|
|
|
101 |
.video-overlay iframe {
|
102 |
width: 80%;
|
103 |
height: 80%;
|
104 |
border: none;
|
105 |
}
|
|
|
106 |
.video-overlay .close-button {
|
107 |
position: absolute;
|
108 |
top: 20px;
|
@@ -110,49 +190,16 @@ body {
|
|
110 |
font-size: 24px;
|
111 |
color: white;
|
112 |
cursor: pointer;
|
|
|
|
|
|
|
113 |
}
|
|
|
114 |
.video-overlay .close-button:hover {
|
115 |
color: red;
|
116 |
}
|
117 |
|
118 |
-
|
119 |
-
|
120 |
-
/* Sidebar styling for website tab */
|
121 |
-
.website-icon {
|
122 |
-
cursor: pointer;
|
123 |
-
text-align: center;
|
124 |
-
display: flex;
|
125 |
-
flex-direction: column;
|
126 |
-
align-items: center;
|
127 |
-
gap: 5px;
|
128 |
-
}
|
129 |
-
.website-icon img {
|
130 |
-
width: 36px;
|
131 |
-
height: 36px;
|
132 |
-
transition: transform 0.2s ease, filter 0.2s ease;
|
133 |
-
}
|
134 |
-
.website-icon img:hover {
|
135 |
-
transform: scale(1.2);
|
136 |
-
filter: brightness(1.2);
|
137 |
-
}
|
138 |
-
|
139 |
-
/* Website Layer */
|
140 |
-
.website-layer {
|
141 |
-
position: absolute;
|
142 |
-
top: 0;
|
143 |
-
left: 0;
|
144 |
-
width: 100%;
|
145 |
-
height: 100%;
|
146 |
-
background-color: rgba(0, 0, 0, 0.9);
|
147 |
-
display: none;
|
148 |
-
z-index: 40;
|
149 |
-
}
|
150 |
-
.website-layer iframe {
|
151 |
-
width: 100%;
|
152 |
-
height: 100%;
|
153 |
-
border: none;
|
154 |
-
}
|
155 |
-
|
156 |
.textbox-layer {
|
157 |
position: absolute;
|
158 |
bottom: 0;
|
@@ -163,32 +210,12 @@ body {
|
|
163 |
padding: 15px;
|
164 |
border-top: 2px solid #ccc;
|
165 |
box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
|
166 |
-
transform:
|
167 |
transition: transform 0.3s ease-in-out;
|
168 |
-
display:
|
169 |
z-index: 30;
|
170 |
}
|
171 |
-
.textbox-layer.active {
|
172 |
-
transform: translateY(0);
|
173 |
-
}
|
174 |
|
175 |
-
.textbox-
|
176 |
-
|
177 |
-
text-align: center;
|
178 |
-
display: flex;
|
179 |
-
flex-direction: column;
|
180 |
-
align-items: center;
|
181 |
-
gap: 5px;
|
182 |
-
}
|
183 |
-
|
184 |
-
.textbox-icon img {
|
185 |
-
width: 36px;
|
186 |
-
height: 36px;
|
187 |
-
transition: transform 0.2s ease, filter 0.2s ease;
|
188 |
-
}
|
189 |
-
|
190 |
-
.textbox-icon img:hover {
|
191 |
-
transform: scale(1.2);
|
192 |
-
filter: brightness(1.2);
|
193 |
}
|
194 |
-
|
|
|
4 |
padding: 0;
|
5 |
box-sizing: border-box;
|
6 |
}
|
7 |
+
|
8 |
body {
|
9 |
font-family: Arial, sans-serif;
|
10 |
display: flex;
|
|
|
25 |
padding: 10px 0;
|
26 |
gap: 20px;
|
27 |
}
|
28 |
+
|
29 |
+
.prompt-icon, .video-icon, .website-icon, .textbox-icon {
|
30 |
cursor: pointer;
|
31 |
text-align: center;
|
32 |
display: flex;
|
|
|
34 |
align-items: center;
|
35 |
gap: 5px;
|
36 |
}
|
37 |
+
|
38 |
+
.prompt-icon img, .video-icon img, .website-icon img, .textbox-icon img {
|
39 |
width: 36px;
|
40 |
height: 36px;
|
41 |
transition: transform 0.2s ease, filter 0.2s ease;
|
42 |
}
|
43 |
+
|
44 |
+
.prompt-icon img:hover, .video-icon img:hover, .website-icon img:hover, .textbox-icon img:hover {
|
45 |
transform: scale(1.2);
|
46 |
filter: brightness(1.2);
|
47 |
}
|
48 |
+
|
49 |
+
.prompt-icon span, .video-icon span, .website-icon span, .textbox-icon span {
|
50 |
font-size: 12px;
|
51 |
}
|
52 |
|
|
|
59 |
align-items: center;
|
60 |
justify-content: center;
|
61 |
}
|
62 |
+
|
63 |
.top-bar {
|
64 |
position: absolute;
|
65 |
top: 0;
|
|
|
73 |
align-items: center;
|
74 |
justify-content: space-between;
|
75 |
}
|
76 |
+
|
77 |
+
.nav-buttons {
|
78 |
+
display: flex;
|
79 |
+
gap: 10px;
|
80 |
+
}
|
81 |
+
|
82 |
.nav-buttons button {
|
83 |
background-color: #666;
|
84 |
color: white;
|
|
|
87 |
font-size: 18px;
|
88 |
cursor: pointer;
|
89 |
}
|
90 |
+
|
91 |
.nav-buttons button:hover {
|
92 |
background-color: #888;
|
93 |
}
|
94 |
+
|
95 |
+
.main {
|
96 |
+
display: flex;
|
97 |
+
height: 100%;
|
98 |
+
}
|
99 |
+
|
100 |
+
.content {
|
101 |
+
flex: 1;
|
102 |
+
display: flex;
|
103 |
+
justify-content: center;
|
104 |
+
align-items: center;
|
105 |
+
position: relative;
|
106 |
+
background-color: #000;
|
107 |
+
}
|
108 |
+
|
109 |
.content img {
|
110 |
max-width: 100%;
|
111 |
max-height: 100%;
|
|
|
113 |
display: block;
|
114 |
}
|
115 |
|
116 |
+
/* Prompt box styling */
|
117 |
+
.prompt-box {
|
118 |
+
position: absolute;
|
119 |
+
top: 10%;
|
120 |
+
left: 10%;
|
121 |
+
background-color: rgba(255, 255, 255, 0.9);
|
122 |
+
color: #333;
|
123 |
+
padding: 15px;
|
124 |
+
border: 1px solid #ccc;
|
125 |
+
border-radius: 5px;
|
126 |
+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
127 |
+
display: none;
|
128 |
+
z-index: 20;
|
129 |
+
}
|
130 |
+
|
131 |
+
.prompt-box textarea {
|
132 |
+
width: 100%;
|
133 |
+
height: 60px;
|
134 |
+
margin-bottom: 10px;
|
135 |
+
padding: 10px;
|
136 |
+
font-size: 14px;
|
137 |
+
border: 1px solid #ccc;
|
138 |
+
border-radius: 5px;
|
139 |
+
}
|
140 |
+
|
141 |
+
.prompt-box button {
|
142 |
+
padding: 5px 10px;
|
143 |
+
font-size: 14px;
|
144 |
+
background-color: #007bff;
|
145 |
+
color: white;
|
146 |
+
border: none;
|
147 |
+
border-radius: 5px;
|
148 |
+
cursor: pointer;
|
149 |
+
}
|
150 |
+
|
151 |
+
/* Response box styling */
|
152 |
+
.response-box {
|
153 |
+
position: absolute;
|
154 |
+
top: 30%;
|
155 |
+
left: 10%;
|
156 |
+
background-color: rgba(255, 255, 255, 0.9);
|
157 |
+
color: #333;
|
158 |
+
padding: 15px;
|
159 |
+
border: 1px solid #ccc;
|
160 |
+
border-radius: 5px;
|
161 |
+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
162 |
+
display: none;
|
163 |
+
z-index: 20;
|
164 |
+
}
|
165 |
+
|
166 |
/* Video overlay */
|
167 |
.video-overlay {
|
168 |
position: fixed;
|
|
|
176 |
align-items: center;
|
177 |
z-index: 30;
|
178 |
}
|
179 |
+
|
180 |
.video-overlay iframe {
|
181 |
width: 80%;
|
182 |
height: 80%;
|
183 |
border: none;
|
184 |
}
|
185 |
+
|
186 |
.video-overlay .close-button {
|
187 |
position: absolute;
|
188 |
top: 20px;
|
|
|
190 |
font-size: 24px;
|
191 |
color: white;
|
192 |
cursor: pointer;
|
193 |
+
background: none;
|
194 |
+
border: none;
|
195 |
+
z-index: 31;
|
196 |
}
|
197 |
+
|
198 |
.video-overlay .close-button:hover {
|
199 |
color: red;
|
200 |
}
|
201 |
|
202 |
+
/* Textbox Layer */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
.textbox-layer {
|
204 |
position: absolute;
|
205 |
bottom: 0;
|
|
|
210 |
padding: 15px;
|
211 |
border-top: 2px solid #ccc;
|
212 |
box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
|
213 |
+
transform: translateX(100%);
|
214 |
transition: transform 0.3s ease-in-out;
|
215 |
+
display: none;
|
216 |
z-index: 30;
|
217 |
}
|
|
|
|
|
|
|
218 |
|
219 |
+
.textbox-layer.active {
|
220 |
+
transform: translateX(0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
221 |
}
|
|