From ec000bba3fb61f4379e62506e701efbbebabb7b5 Mon Sep 17 00:00:00 2001 From: Satyajit Sahoo Date: Sat, 29 Nov 2014 18:43:30 +0530 Subject: [PATCH] More view related tweaks --- gtk-3.0/scss/_view.scss | 46 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/gtk-3.0/scss/_view.scss b/gtk-3.0/scss/_view.scss index 0acc213..ea99496 100644 --- a/gtk-3.0/scss/_view.scss +++ b/gtk-3.0/scss/_view.scss @@ -10,7 +10,12 @@ color: $text_color; background-color: $base_color; - &:selected { @extend %selected_items; } + &:insensitive, &:insensitive:insensitive { + background-color: shade($base_color, 0.9); + color: mix($text_color, $base_color, 0.5); + } + + &:selected, &:selected:focus { @extend %selected_items; } } .cell { @@ -72,6 +77,16 @@ GtkIconView { } } +.dim-label { + &, &.view { color: alpha(currentColor, 0.5); } +} + +.dnd { border: 1px solid $selected_bg_color; } + +.grip { background-color: transparent; } + +.arrow { color: alpha(currentColor, 0.7); } + .rubberband { &, &.view, &.content-view.view { border: 1px solid $selected_bg_color; @@ -95,6 +110,25 @@ GtkDrawingArea, GtkHTML { } +/************ + ! Treeview * +*************/ + +GtkTreeView { + -GtkTreeView-vertical-separator: 0; + + outline-offset: -1px; + + &.dnd { border: 1px solid $selected_bg_color; } + + .entry { + border-radius: 0; + background-color: $base_color; + background-image: none; + } +} + + /********************* ! Column view headers **********************/ @@ -175,3 +209,13 @@ GtkExpander { &:selected, &:selected:hover { color: $selected_fg_color; } } + + +/****************** + ! Pane separator * +*******************/ + +.pane-separator { + background-color: $bg_color; + color: transparent; +}