Skip to content

Commit

Permalink
Fixed #83 now
Browse files Browse the repository at this point in the history
  • Loading branch information
vinceliuice committed Nov 3, 2022
1 parent 21276cb commit 8fe4101
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 58 deletions.
14 changes: 8 additions & 6 deletions src/sass/gtk/_common-3.0.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -3093,11 +3100,6 @@ filechooser {
border-radius: 0 0 $window-radius 0;

list { background-color: transparent; }

treeview.view {
@extend .view;
background-color: transparent;
}
}

> placesview {
Expand Down
52 changes: 0 additions & 52 deletions src/sass/gtk/apps/_gnome-3.0.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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;
}
}
}

Expand Down Expand Up @@ -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;
}
Expand Down Expand Up @@ -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;

Expand All @@ -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;
}
}
}
Expand Down Expand Up @@ -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;
}
Expand All @@ -2091,8 +2041,6 @@ dialog.background.csd {
background: none;
}
}

treeview.view:not(:hover):not(:selected) { background: none; }
}

viewport.frame {
Expand Down
18 changes: 18 additions & 0 deletions src/sass/gtk/apps/_misc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}

0 comments on commit 8fe4101

Please sign in to comment.