Skip to content

Commit ed801b9

Browse files
committed
Some tweaks for gnome-tweaks
1 parent abae0d3 commit ed801b9

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed

gtk/src/adw-gtk3/gtk-3.0/_apps.scss

+37
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,43 @@ $disk_space_free: #eeeeec;
411411
// * gnome-tweaks *
412412
// ****************
413413

414+
.titlebar.tweak-titlebar-left {
415+
background-image: none;
416+
background-color: $sidebar_bg_color;
417+
border-bottom-color: transparent;
418+
&:backdrop {
419+
background-color: $sidebar_backdrop_color;
420+
}
421+
422+
button {
423+
background-color: transparent;
424+
&:hover { background-color: $titlebutton_normal_hover; }
425+
&:hover:active, &:active, &:hover:checked, &:checked { background-color: $titlebutton_normal_active; }
426+
&:backdrop { background: $titlebutton_backdrop; }
427+
&:backdrop:hover { background: $titlebutton_backdrop_hover; }
428+
}
429+
}
430+
431+
.titlebar.tweak-titlebar-right {
432+
background-image: none;
433+
background-color: $bg_color;
434+
border-bottom-color: transparent;
435+
}
436+
437+
.navigation-sidebar {
438+
background-color: $sidebar_bg_color;
439+
&:backdrop {
440+
background-color: $sidebar_backdrop_color;
441+
}
442+
443+
separator.horizontal {
444+
margin: 2px 0;
445+
padding: 0;
446+
background-color: transparent;
447+
}
448+
}
449+
450+
// legacy stuff
414451
list.tweak-categories separator.horizontal {
415452
background: transparent;
416453
margin: 2px 0;

gtk/src/adw-gtk3/gtk-3.0/_custom.scss

+3-1
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,11 @@
159159
}
160160

161161
// headerbar stuff
162-
headerbar, .titlebar {
162+
headerbar {
163163
box-shadow: 0 1px if($variant == 'light', gtkalpha($headerbar_shade_color, .3), gtkalpha($headerbar_shade_color, .1));
164+
}
164165

166+
headerbar, .titlebar {
165167
// Text colors for gtk named color support (except backdrop and disabled)
166168
&:not(.selection-mode) {
167169
&,

0 commit comments

Comments
 (0)