From ff51d8b28cd71ff3008e11aabe20906c7e7d4115 Mon Sep 17 00:00:00 2001 From: Dustin Falgout Date: Wed, 13 Apr 2016 02:04:57 -0500 Subject: [PATCH] fix nemo (for real this time) --- gtk-3.20/scss/apps/_nemo.scss | 55 ++++++++++++++++++++++------- gtk-3.20/scss/widgets/_sidebar.scss | 5 --- 2 files changed, 42 insertions(+), 18 deletions(-) diff --git a/gtk-3.20/scss/apps/_nemo.scss b/gtk-3.20/scss/apps/_nemo.scss index b489b41..8db280c 100644 --- a/gtk-3.20/scss/apps/_nemo.scss +++ b/gtk-3.20/scss/apps/_nemo.scss @@ -55,27 +55,56 @@ border-color: border_normal($toolbar_bg_color); } - > grid widget:last-child { - border-top-style: solid; - border-top-color: border_normal($toolbar_bg_color); - border-top-width: 1px; - } + /* Stupid selectors to target statusbar because nemo lacks 3.20 style class */ + grid { + > widget:last-child { + button { + min-height: 15px; + min-width: 22px; + margin: 5px; + } + + button:first-child { + margin-left: 20px; + } + + button:first-child + button { + margin-right: 15px; + } + + button:first-child + button + separator + button { + margin-left: 15px; + } + + > box > scale { + margin-right: 12px; + } + } + } // END statusbar menubar menuitem { margin: 0px; } - .sidebar frame { - border: 0; + .sidebar { + .frame { + border: 0; + } + + image { + padding-left: $spacing; + padding-right: $spacing; + } + + .places-sidebar { + &, & .view { + background-color: mix($bg_color, $base_color, .5); + } + } } statusbar { - border: none; - } - - .sidebar image { - padding-left: $spacing; - padding-right: $spacing; + border: 0; } paned { diff --git a/gtk-3.20/scss/widgets/_sidebar.scss b/gtk-3.20/scss/widgets/_sidebar.scss index 3ccb702..f52bea3 100755 --- a/gtk-3.20/scss/widgets/_sidebar.scss +++ b/gtk-3.20/scss/widgets/_sidebar.scss @@ -7,11 +7,6 @@ border-style: none; background-color: mix($bg_color, $base_color, .5); - .view { // .view, nemo sidebar fix. - background-color: $bg_color; - color: mix($fg_color, $bg_color, .1); - } - @at-root %sidebar_left, &:dir(ltr), &.left,