-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
shrink headerbars | ||
see: https://unix.stackexchange.com/questions/257163/reduce-title-bar-height-in-gnome-3-gtk-3 | ||
*/ | ||
headerbar { | ||
min-height: 0px; | ||
padding-left: 2px; /* same as childrens vertical margins for nicer proportions */ | ||
padding-right: 2px; | ||
background-color: #2d2d2d; | ||
padding-top: 1px; | ||
} | ||
|
||
headerbar entry, | ||
headerbar spinbutton, | ||
headerbar button, | ||
headerbar separator { | ||
margin: 0px; /* same as headerbar side padding for nicer proportions */ | ||
margin-bottom: 0px; | ||
} | ||
|
||
/* shrink ssd titlebars */ | ||
.default-decoration { | ||
min-height: 0px; /* let the entry and button drive the titlebar size */ | ||
padding: 0px; | ||
background-color: #2d2d2d; | ||
} | ||
|
||
/* tweak these two props to reduce button size */ | ||
.default-decoration .titlebutton { | ||
min-height: 5px; | ||
min-width: 5px; | ||
} | ||
|
||
window.ssd headerbar.titlebar { | ||
padding-top: 3px; | ||
padding-bottom: 3px; | ||
padding-right: 6px; | ||
padding-left: 6px; | ||
min-height: 0px; | ||
} | ||
|