Changed tab label bg and margins

This commit is contained in:
itdominator 2021-11-28 01:32:51 -06:00
parent 46e2a37d30
commit 27ceca4e75
2 changed files with 22 additions and 13 deletions

View File

@ -1,6 +1,4 @@
/* Set fm to have transparent window */
box,
iconview,
notebook,
@ -14,6 +12,26 @@ treeview.view,
color: rgba(255, 255, 255, 1);
}
notebook > header > tabs > tab:checked {
/* Neon Blue 00e8ff */
background-color: rgba(0, 232, 255, 0.25);
/* Dark Bergundy */
/* background-color: rgba(116, 0, 0, 0.25); */
color: rgba(255, 255, 255, 0.5);
}
#message_view {
font: 16px "Monospace";
}
.view:selected,
.view:selected:hover {
box-shadow: inset 0 0 0 9999px rgba(21, 158, 167, 0.57);
color: rgba(255, 255, 255, 0.5);;
}
/* * {
background: rgba(0, 0, 0, 0.14);
color: rgba(255, 255, 255, 1);
@ -24,17 +42,6 @@ treeview.view,
color: rgba(255, 255, 255, 0.5);
} */
.view:selected,
.view:selected:hover {
box-shadow: inset 0 0 0 9999px rgba(21, 158, 167, 0.57);
color: rgba(255, 255, 255, 0.5);;
}
#message_view {
font: 16px "Monospace";
}
/* Rubberband coloring */
/* .rubberband,
rubberband,

View File

@ -91,6 +91,8 @@ class WidgetMixin:
label.set_label(f"{view.get_end_of_path()}")
label.set_width_chars(len(view.get_end_of_path()))
label.set_margin_start(5)
label.set_margin_end(15)
label.set_xalign(0.0)
# label.set_ellipsize(2) #PANGO_ELLIPSIZE_MIDDLE
tid.set_label(f"{view.id}")