Skip to content

Instantly share code, notes, and snippets.

@rikka0w0
Last active February 16, 2022 14:55
Show Gist options
  • Save rikka0w0/6b4929d26835af61b02a5ac1b0972d58 to your computer and use it in GitHub Desktop.
Save rikka0w0/6b4929d26835af61b02a5ac1b0972d58 to your computer and use it in GitHub Desktop.
Makes Eclipse and other GTK3 apps more compact, for small screens
@import 'colors.css';
scrollbar {
-GtkScrollbar-has-backward-stepper: false;
-GtkScrollbar-has-forward-stepper: false;
}
menubar > menuitem, .menubar > menuitem {
padding: 1px 5px;
}
menu menuitem, .menu menuitem {
min-height: 8px;
padding: 2px 0px;
}
checkbutton, radiobutton {
padding-top: 0px;
padding-bottom: 0px;
outline-offset: 0;
}
check, radio {
margin-top: 1px;
margin-bottom: 1px;
min-height: 12px;
min-width: 12px;
}
button {
padding-top: 2px;
padding-bottom: 2px;
padding-left: 3px;
padding-right: 3px;
}
headerbar button, combobox button {
padding-top: 0px;
padding-bottom: 0px;
padding-left: 0px;
padding-right: 0px;
}
combobox {
min-height: 24px;
padding-top: 0px;
padding-bottom: 0px;
margin-top: 0px;
margin-bottom: 0px;
}
entry {
min-height: 12px;
padding-top: 1px;
padding-bottom: 1px;
margin-top: 0px;
margin-bottom: 0px;
}
notebook > header > tabs > tab {
padding-top: 0px;
padding-bottom: 1px;
padding-right: 10px;
padding-left: 10px;
}
frame > border {
border-radius: 3px;
padding-right: 4px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment