-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
63 lines (63 loc) · 1.97 KB
/
index.html
File metadata and controls
63 lines (63 loc) · 1.97 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
<!DOCTYPE html>
<html lang="en" data-bs-theme="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hex Editor</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
crossorigin="anonymous">
<style>
body {
font-family: 'Courier New', Courier, monospace;
}
.hex-input {
width: 40px;
padding: 1px 4px;
font-size: 0.9rem;
text-align: center;
border: 1px solid #444;
background-color: #333;
color: #eee;
}
.ascii-char {
color: #adb5bd;
}
.table-sm th, .table-sm td {
padding: 0.2rem;
}
.hex-input.highlight {
background-color: #f8d7da; /* A light red from Bootstrap's danger theme */
color: #58151c;
border-color: #f8d7da;
border-radius: 2px;
}
/* --- VIRTUALIZATION STYLES --- */
.scroll-container {
height: 65vh; /* Or any fixed height */
overflow-y: auto;
position: relative;
background-color: #212529; /* bg-dark */
border-radius: 0.375rem; /* rounded */
padding: 0.5rem; /* p-2 */
}
.scroll-sizer {
position: relative;
width: 100%;
}
.virtual-table {
position: absolute;
top: 0;
left: 0;
width: 100%;
}
</style>
</head>
<body>
<div id="app"></div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"></script>
</body>
</html>