-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtooltip.html
More file actions
120 lines (104 loc) · 2.74 KB
/
tooltip.html
File metadata and controls
120 lines (104 loc) · 2.74 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<style>
body {
margin: 0;
padding: 16px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
background-color: rgba(36, 36, 36, 0.95);
color: #f1f1f1;
font-size: 13px;
border-radius: 12px;
width: max-content;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.section {
margin-bottom: 16px;
}
.shortcut {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
}
.description {
font-size: 12px;
color: #aaa;
margin-left: 20px;
}
.key-combo {
background-color: rgba(255, 255, 255, 0.08);
padding: 2px 6px;
border-radius: 6px;
font-size: 12px;
font-weight: 500;
border: 1px solid rgba(255, 255, 255, 0.1);
margin-left: 4px;
}
.divider {
border-top: 1px solid rgba(255, 255, 255, 0.1);
margin: 12px 0;
}
.footer {
display: flex;
justify-content: space-between;
align-items: center;
}
.dropdown {
background-color: rgba(255, 255, 255, 0.1);
border: none;
color: white;
padding: 4px 10px;
border-radius: 6px;
font-size: 12px;
}
</style>
</head>
<body>
<div class="section">
<div class="shortcut">
<div>
<strong>Toggle Window</strong>
<div class="description">Show or hide the window.</div>
</div>
<div class="key-combo">⌘ b</div>
</div>
<div class="shortcut">
<div>
<strong>Take Screenshot</strong>
<div class="description">Take a screenshot of the problem description.</div>
</div>
<div class="key-combo">⌘ h</div>
</div>
<div class="shortcut">
<div>
<strong>Clear Screenshots</strong>
<div class="description">Remove all stored screenshots.</div>
</div>
<div class="key-combo">⌘ w</div>
</div>
<div class="shortcut">
<div>
<strong>Move Window</strong>
<div class="description">Arrow keys to reposition window.</div>
</div>
<div class="key-combo">⌘ ↑ ↓ ← →</div>
</div>
</div>
<div style="padding: 10px;">
<label for="apiKeyInput">🔑 OpenAI API Key</label><br />
<input type="text" id="apiKeyInput" placeholder="Enter your API key" style="width: 100%; margin-top: 4px;" />
</div>
<div class="divider"></div>
<div class="footer">
<select id="language-select">
<option value="Python">Python</option>
<option value="JavaScript">JavaScript</option>
<option value="Java">Java</option>
</select>
</div>
<script src="tooltip-render.js"></script>
</body>
</html>