More view related tweaks

pull/224/head
Satyajit Sahoo 2014-11-29 18:43:30 +05:30
parent 9aa670d828
commit ec000bba3f
1 changed files with 45 additions and 1 deletions

View File

@ -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;
}