dotfiles/config/.themes/gtk-3.0/gtk-treeviews.css
Michael Chalupiak 24d4801414 themes
2025-02-01 15:42:37 -05:00

63 lines
1.7 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/************
* treeview *
************/
/*
Contributor notes:
Please use two space indentions.
Stack all related and child selectors and selector states into a logical hierarchy to a readable degree.
Make sure that all changes made here are part of the GtkTreeview.
*/
treeview {
-GtkTreeView-vertical-separator: 0;
outline-width: 1px;
outline-offset: 1px;
padding: 2px;
-gtk-icon-style: regular; }
/* outline effects in treeviews are causing issues with the interface expanding on focus and strange graphical artifacts that will stay around. */
treeview {
outline: none; }
treeview.dnd {
border-width: 1px;
border-style: solid;
border-color: @theme_selected_bg_color;
border-radius: 0; }
/* treeview misbehaves if we only define selection/focus globally, so well specify it here. */
treeview:selected,
treeview:selected:focus {
background-color: @theme_selected_bg_color;
color: @theme_selected_fg_color; }
scrolledwindow treeview check,
scrolledwindow treeview radio,
scrolledwindow treeview check:checked,
scrolledwindow treeview radio:checked {
padding: 0px; }
treeview entry {
border-radius: 0;
background-color: @theme_base_color;
background-image: none; }
/* This creates the treeview border path for expanded items. */
treeview.view {
padding: 0px;
padding-left: 1px;
border-left-color: @border_shade;
border-top-color: @border_shade; }
treeview.view:selected {
border-left-color: @border_bright; }
/* Hey Windows95 didn't have arrows in the headerbar either! */
treeview.view image {
color: transparent; }
/* Have to specify this or else bad things happen! */
treeview.view.separator {
min-height: 8px;
color: @border_dark; }