forked from elfvingralf/macOSpilot-ai-assistant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotifications.html
55 lines (55 loc) · 1.35 KB
/
notifications.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
<!DOCTYPE html>
<html>
<head>
<title>macOSpilot floating window</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: rgba(
255,
255,
255,
0.6
); /* Fully opaque white background */
margin: 0;
padding: 5px;
text-align: left;
position: relative; /* Needed for absolute positioning of the close button */
}
.draggable {
-webkit-app-region: drag;
cursor: move;
}
#analysis {
color: #333; /* Text color */
padding: 10px;
margin-top: 5px;
font-size: 12px;
}
.window-message {
color: #333; /* Text color for the message */
padding-top: 2px; /* Space between the title and the message */
}
#closeBtn {
position: absolute;
top: 2px;
right: 5px;
border: none;
background: transparent;
font-size: 20px;
cursor: pointer;
padding: 5px;
margin: -5px;
border: 5px solid transparent;
}
</style>
</head>
<body>
<div class="draggable">
<button id="closeBtn" title="Close">×</button>
<!-- Close button -->
<div id="analysis" class="draggable"></div>
<script src="notificationRenderer.js"></script>
</div>
</body>
</html>