-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
72 lines (63 loc) · 1.56 KB
/
index.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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>BORD</title>
<style>
body {
height: 100vh;
width: 100vw;
}
#titlebar {
z-index: 13
}
.titlebar {
height: 30px;
user-select: none;
display: flex;
justify-content: flex-end;
position: fixed;
top: 0;
left: 0;
right: 0;
border-bottom: 3px solid white;
}
.title-header {
margin-right: auto;
font-size: 1.5rem;
margin-top: 0.3rem;
margin-left: 0.3rem;
}
.titlebar-button {
display: inline-flex;
justify-content: center;
align-items: center;
width: 30px;
height: 30px;
}
.titlebar-button>img {
background-color: white;
}
.titlebar-button:hover {
background: #252525;
}
</style>
</head>
<body>
<div data-tauri-drag-region class="titlebar" id="titlebar">
<h1 class="title-header">bord</h1>
<div class="titlebar-button" id="titlebar-minimize">
<img src="https://api.iconify.design/mdi:window-minimize.svg" alt="minimize" />
</div>
<div class="titlebar-button" id="titlebar-maximize">
<img src="https://api.iconify.design/mdi:window-maximize.svg" alt="maximize" />
</div>
<div class="titlebar-button" id="titlebar-close">
<img src="https://api.iconify.design/mdi:close.svg" alt="close" />
</div>
</div>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>