gtk themeing is very much half way fixed now

main
The_miro 2025-10-17 17:23:05 +02:00
parent 30573c4307
commit ab1fc6b3b4
2 changed files with 76 additions and 3 deletions

View File

@ -31,7 +31,7 @@ iconview:selected,
treeview:selected, treeview:selected,
list:selected, list:selected,
row:selected { row:selected {
color: #E40046; /* readable text */ color: #d6abab; /* readable text */
border-width: 5px; border-width: 5px;
border-color: #E40046; border-color: #E40046;
} }
@ -41,7 +41,7 @@ row:selected {
.view:selected:focus, .view:selected:focus,
row:selected:focus { row:selected:focus {
background-color: rgba(80, 24, 221, 0.35); background-color: rgba(80, 24, 221, 0.35);
color: #5018DD; color: #E40046; /* readable text */
} }
/* Smooth out / disable the dark flash when reaching scroll limits */ /* Smooth out / disable the dark flash when reaching scroll limits */

View File

@ -5,6 +5,7 @@
font-size: 14pt; font-size: 14pt;
color: #d6abab; /* Updated text color */ color: #d6abab; /* Updated text color */
background-color: #1a1a1a; background-color: #1a1a1a;
border-radius: 15px;
} }
/* Window styling */ /* Window styling */
@ -14,6 +15,51 @@ window {
padding: 20px; /* Increased padding for window */ padding: 20px; /* Increased padding for window */
} }
/* Thunar / GTK3 selection fixes */
.rubberband {
background-color: rgba(80, 24, 221, 0.2); /* translucent purple */
border: none;
border-radius: 5px;
}
/* Selected items (in icon view, list view, etc.) */
*:selected,
.view:selected,
iconview:selected,
treeview:selected,
list:selected,
row:selected {
color: #d6abab; /* readable text */
border-width: 5px;
border-color: #E40046;
}
/* Also handle focus highlight for keyboard navigation */
*:selected:focus,
.view:selected:focus,
row:selected:focus {
background-color: rgba(80, 24, 221, 0.35);
color: #E40046; /* readable text */
}
/* Smooth out / disable the dark flash when reaching scroll limits */
overshoot.top,
overshoot.bottom,
overshoot.left,
overshoot.right {
background: transparent; /* removes the opaque overlay */
background-color: rgba(80, 24, 221, 0.08); /* faint translucent purple instead */
border: none;
}
/* Optional: make it fade faster for less distraction */
overshoot {
transition: background-color 0.15s ease-in-out;
}
/* Buttons and entries */ /* Buttons and entries */
button, entry, .button { button, entry, .button {
background-color: #1a1a1a; background-color: #1a1a1a;
@ -68,7 +114,7 @@ scale trough highlight {
/* Scrollbars */ /* Scrollbars */
scrollbar { scrollbar {
background-color: #1a1a1a; background-color: none;
border-radius: 10px; border-radius: 10px;
} }
@ -89,3 +135,30 @@ tooltip {
padding: 5px; padding: 5px;
} }
/* Top menu bar (File, Edit, View, etc.) */
menubar {
background-color: #1a1a1a;
padding: 4px 8px;
}
/* Individual menu items */
menubar > menuitem {
padding: 4px 10px;
margin: 0 4px; /* spacing between each item */
border-radius: 8px;
color: #d6abab;
}
/* Hover state */
menubar > menuitem:hover {
background-color: rgba(80, 24, 221, 0.2);
color: #ffffff;
}
/* Active/open menu */
menubar > menuitem:active,
menubar > menuitem:checked {
background-color: rgba(80, 24, 221, 0.35);
color: #ffffff;
}