From d7c90b40bd6fd13e6c72db8b122398338790552c Mon Sep 17 00:00:00 2001 From: Megax Date: Sun, 10 Apr 2016 16:49:46 +0200 Subject: [PATCH] * Nemo sidebar treeview fix. --- gtk-3.20/scss/apps/_nemo.scss | 82 +++++++++++++++++------------------ 1 file changed, 40 insertions(+), 42 deletions(-) diff --git a/gtk-3.20/scss/apps/_nemo.scss b/gtk-3.20/scss/apps/_nemo.scss index d8526d5..8357f3a 100644 --- a/gtk-3.20/scss/apps/_nemo.scss +++ b/gtk-3.20/scss/apps/_nemo.scss @@ -27,6 +27,20 @@ -NemoPathbarButton-border-radius: $roundness; } + .sidebar .view { + -NemoPlacesTreeView-disk-full-bg-color: shade($bg_color, .8); + -NemoPlacesTreeView-disk-full-fg-color: $selected_bg_color; + -NemoPlacesTreeView-disk-full-bar-width: 1px; + -NemoPlacesTreeView-disk-full-bar-radius: 1px; + -NemoPlacesTreeView-disk-full-bottom-padding: 2px; + -NemoPlacesTreeView-disk-full-max-length: 75px; + + &:selected { + -NemoPlacesTreeView-disk-full-bg-color: $selected_fg_color; + -NemoPlacesTreeView-disk-full-fg-color: shade($selected_bg_color, 1.2); + } + } + .nemo-window { toolbar { border-width: 0 0 1px; @@ -44,20 +58,6 @@ margin: 0px; } - .sidebar .view { - -NemoPlacesTreeView-disk-full-bg-color: shade($toolbar_bg_color, .8); - -NemoPlacesTreeView-disk-full-fg-color: $selected_bg_color; - -NemoPlacesTreeView-disk-full-bar-width: 2px; - -NemoPlacesTreeView-disk-full-bar-radius: 1px; - -NemoPlacesTreeView-disk-full-bottom-padding: 0px; - -NemoPlacesTreeView-disk-full-max-length: 75px; - - &:selected { - -NemoPlacesTreeView-disk-full-bg-color: $selected_fg_color; - -NemoPlacesTreeView-disk-full-fg-color: shade($selected_bg_color, 1.2); - } - } - .sidebar frame { border: 0; } @@ -90,36 +90,36 @@ } toolbar { - button { - @include button($bg_color, $fg_color); - } - - button.linked, .linked .button { - @include linked_button($bg_color); - } - - combobox button { - padding: $spacing - 1px; - - &.text-button { - padding: $spacing; + button { + @include button($bg_color, $fg_color); } - &.image-button { - padding: ($spacing + 1px) ($spacing - 1px) ($spacing + 1px) $spacing; + button.linked, .linked .button { + @include linked_button($bg_color); + } + + combobox button { + padding: $spacing - 1px; + + &.text-button { + padding: $spacing; + } + + &.image-button { + padding: ($spacing + 1px) ($spacing - 1px) ($spacing + 1px) $spacing; + } + } + + separator, separator:disabled { + color: shade($bg_color, ($contrast + .1)); + border-color: currentColor; + -GtkWidget-window-dragging: true; + } + + &.primary-toolbar button { + padding: 5px 6px; } } - - separator, separator:disabled { - color: shade($bg_color, ($contrast + .1)); - border-color: currentColor; - -GtkWidget-window-dragging: true; - } - - &.primary-toolbar button { - padding: 5px 6px; - } - } } NemoQueryEditor { @@ -146,8 +146,6 @@ border-bottom-color: border_normal($toolbar_bg_color); } } - } } - }