summaryrefslogtreecommitdiff
path: root/src/gtkext/hexview.css
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2024-05-13 21:34:56 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2024-05-14 10:27:57 (GMT)
commite9f10d8fe1c5e9f8a70801c1cd4d3d342e290f15 (patch)
tree42a1d8560e8772e76e4e57db82a441d4a8152f74 /src/gtkext/hexview.css
parent071572b0df281cfa04442a636e84fbabd2acfe57 (diff)
Introduce a template for the widget providing a hex view.
Diffstat (limited to 'src/gtkext/hexview.css')
-rw-r--r--src/gtkext/hexview.css30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/gtkext/hexview.css b/src/gtkext/hexview.css
new file mode 100644
index 0000000..fdde1cc
--- /dev/null
+++ b/src/gtkext/hexview.css
@@ -0,0 +1,30 @@
+
+.gutter {
+
+ background-color: @theme_bg_color;
+
+}
+
+.custom-view {
+
+ background-color: @theme_base_color;
+
+}
+
+GtkHexView > :not(scrollbar) {
+
+ padding-left: 8px;
+
+}
+
+GtkHexView > :nth-last-child(2) {
+
+ padding-right: 4px;
+
+}
+
+GtkHexView > :nth-last-child(4) {
+
+ border-right: 1px solid @borders;
+
+}