-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
155 lines (136 loc) · 3.17 KB
/
popup.html
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
154
155
<!DOCTYPE html>
<html>
<<<<<<< HEAD
<head>
<meta charset="UTF-8">
<title>YouTube AI Navigator</title>
<style>
body {
font-family: Arial, sans-serif;
width: 200px;
background-color: lightgray;
/* Changed background color */
margin: 0;
padding: 10px;
}
#userQuery {
width: 100%;
padding: 5px;
margin-bottom: 10px;
box-sizing: border-box;
border-radius: 8px;
/* Rounded edges */
border: 1px solid #cccccc;
/* Thin, uniform border color */
outline: none;
/* Remove the thick outline on focus */
}
#goButton {
width: 100%;
padding: 5px;
box-sizing: border-box;
background-color: #5a9bd5;
/* Softer blue */
color: white;
border: none;
cursor: pointer;
border-radius: 4px;
}
#goButton:hover {
background-color: #4b0082;
/* Dark purple on hover */
}
#statusMessage {
margin-top: 10px;
font-size: 14px;
color: green;
}
</style>
</head>
<body>
<input type="text" id="userQuery" placeholder="Start chatting!">
<button id="goButton">Go</button>
<p id="statusMessage"></p>
<script src="popup.js"></script>
=======
<head>
<meta charset="UTF-8">
<title>YouTube AI Navigator</title>
<style>
body {
font-family: Arial, sans-serif;
width: 300px;
margin: 0;
padding: 10px;
}
#userQuery {
width: 100%;
padding: 8px;
margin-bottom: 10px;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 4px;
}
#goButton {
width: 100%;
padding: 8px;
background-color: #ff0000;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
margin-bottom: 10px;
}
#goButton:hover {
background-color: #cc0000;
}
#resultsContainer {
max-height: 300px;
overflow-y: auto;
}
.timestamp-result {
margin-bottom: 12px;
padding: 8px;
background-color: #f8f8f8;
border-radius: 4px;
border: 1px solid #eee;
}
.timestamp-button {
background-color: #2196F3;
color: white;
border: none;
padding: 5px 10px;
border-radius: 3px;
cursor: pointer;
margin-bottom: 5px;
}
.timestamp-button:hover {
background-color: #1976D2;
}
.timestamp-summary {
font-size: 12px;
color: #666;
margin-top: 5px;
}
#statusMessage {
margin-top: 10px;
font-size: 14px;
color: #666;
}
.loading {
color: #2196F3;
}
.error {
color: #f44336;
}
</style>
</head>
<body>
<input type="text" id="userQuery" placeholder="Enter your request">
<button id="goButton">Search</button>
<div id="resultsContainer"></div>
<p id="statusMessage"></p>
<script src="popup.js"></script>
>>>>>>> 6a9cce9 (Created project)
</body>
</html>