From 8fe4101229c4cebf51de4af854cd168a9a5e711b Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Thu, 3 Nov 2022 10:56:34 +0800 Subject: [PATCH] Fixed #83 now --- src/sass/gtk/_common-3.0.scss | 14 +++++---- src/sass/gtk/apps/_gnome-3.0.scss | 52 ------------------------------- src/sass/gtk/apps/_misc.scss | 18 +++++++++++ 3 files changed, 26 insertions(+), 58 deletions(-) diff --git a/src/sass/gtk/_common-3.0.scss b/src/sass/gtk/_common-3.0.scss index ee5968c2..8b993b70 100644 --- a/src/sass/gtk/_common-3.0.scss +++ b/src/sass/gtk/_common-3.0.scss @@ -1499,7 +1499,6 @@ treeview.view { border-left-color: $track; // this is actually the tree lines color, border-top-color: $divider; // while this is the grid lines color, better then nothing min-height: $medium-size; - background-color: $base; window.background.csd &:not(:selected):not(:hover):not(.progressbar):not(.expander):not(.trough):not(.separator) { background-color: transparent; } @@ -3038,6 +3037,14 @@ messagedialog { // Message Dialog styling } } + checkbutton.text-button { + padding: 2px $space-size * 2 2px $space-size * 4; + + > check { + margin-left: 0; + } + } + &.csd { // rounded bottom border styling for csd version &.background { // bigger radius for better antialiasing @@ -3093,11 +3100,6 @@ filechooser { border-radius: 0 0 $window-radius 0; list { background-color: transparent; } - - treeview.view { - @extend .view; - background-color: transparent; - } } > placesview { diff --git a/src/sass/gtk/apps/_gnome-3.0.scss b/src/sass/gtk/apps/_gnome-3.0.scss index e8edbab4..c2a24c84 100644 --- a/src/sass/gtk/apps/_gnome-3.0.scss +++ b/src/sass/gtk/apps/_gnome-3.0.scss @@ -118,11 +118,6 @@ .nautilus-list-view { background-color: transparent; border-radius: $window-radius; - - treeview.view:not(:hover):not(:active):not(:selected) { - background-color: transparent; - border-radius: 0; - } } notebook { @@ -463,10 +458,6 @@ window.org-gnome-gedit { > scrolledwindow { // raised widget border-bottom-left-radius: $window-radius; - - treeview.view:not(:hover):not(:selected) { - background: none; - } } } @@ -895,13 +886,6 @@ window#gnome-system-monitor.background.csd { border-radius: 0 0 $window-radius $window-radius; > box.vertical { - > scrolledwindow { - treeview.view:not(.progressbar):not(.trough) { - background: none; - @extend .view; - } - } - > revealer > actionbar > revealer > box { border-radius: 0 0 $window-radius $window-radius; } @@ -1618,12 +1602,6 @@ box.vertical > revealer > toolbar.search-bar { * Document Viewer * *******************/ window.background.csd { - > box.vertical { - > paned.horizontal > box.vertical > scrolledwindow { - > treeview.view:not(:hover):not(:selected) { background-color: transparent; } - } - } - evview.view.content-view { border-radius: 0 0 $window-radius $window-radius; @@ -1642,34 +1620,12 @@ window.background.csd { > scrolledwindow { border-radius: 0 0 $window-radius $window-radius; background-color: $base; - - treeview.view:not(:hover):not(:selected) { - background-color: transparent; - } } > box.vertical { > scrolledwindow { border-radius: 0 0 0 $window-radius; background-color: $background; - - treeview.view:not(:hover):not(:selected) { - background-color: transparent; - } - } - } - } -} - - -/************** - * Gnome Disk * - **************/ -window.background.csd { - > box.vertical > paned.horizontal { - > scrolledwindow { - treeview.view:not(:selected):not(:hover) { - background-color: transparent; } } } @@ -2062,12 +2018,6 @@ dialog.background.csd { } } - > box.vertical > stack.view { - > scrolledwindow > treeview.view:not(:hover):not(:selected):not(:active) { - background-color: transparent; - } - } - toolbar.toolbar { border-radius: 0 0 $window-radius $window-radius; } @@ -2091,8 +2041,6 @@ dialog.background.csd { background: none; } } - - treeview.view:not(:hover):not(:selected) { background: none; } } viewport.frame { diff --git a/src/sass/gtk/apps/_misc.scss b/src/sass/gtk/apps/_misc.scss index 12b2a396..d8fef947 100644 --- a/src/sass/gtk/apps/_misc.scss +++ b/src/sass/gtk/apps/_misc.scss @@ -351,3 +351,21 @@ window.background.csd { } } } + +/*********** + * GnuCash * + ***********/ + +#gnc-id-main-window { + gnc-id-sheet-list > scrolledwindow { + box-shadow: $shadow-z4; + + @if $rimless == 'true' { + margin-top: -1px; + border: 1px solid $solid-border; + } @else { + margin-top: -2px; + border: 2px solid $primary; + } + } +}