Skip to content

Instantly share code, notes, and snippets.

@Robinzon100
Last active May 26, 2023 09:36
Show Gist options
  • Save Robinzon100/f610a365e35fdc1f54d05d03b19ae6d6 to your computer and use it in GitHub Desktop.
Save Robinzon100/f610a365e35fdc1f54d05d03b19ae6d6 to your computer and use it in GitHub Desktop.
my gtk.css(~/.config/gtk-3.0/gtk.css) file for ubuntu GNOME
/* .header-bar.default-decoration {
padding-top: 1px;
padding-bottom: 1px;
font-size: 0.3em !important;
}
.header-bar.default-decoration .button.titlebutton {
padding: 0px;
}
window.ssd headerbar.titlebar {
padding-top: 1px;
padding-bottom: 1px;
min-height: 0;
}
window.ssd headerbar.titlebar button.titlebutton {
padding: 0px;
min-height: 0;
min-width: 0;
}
headerbar {
min-height: 0px;
padding-top: 1.2px;
padding-bottom: 0.5px;
padding-right: 2px;
padding-left: 1px;
}
headerbar entry,
headerbar spinbutton,
headerbar button,
headerbar separator {
margin-top: 0px;
margin-bottom: 0px;
margin-left: 2px;
} */
/*
window.ssd separator:first-child + headerbar:backdrop,
window.ssd separator:first-child + headerbar,
window.ssd headerbar:first-child:backdrop,
window.ssd headerbar:first-child,
window.ssd headerbar:last-child:backdrop,
window.ssd headerbar:last-child,
window.ssd stack headerbar:first-child:backdrop,
window.ssd stack headerbar:first-child,
window.ssd stack headerbar:last-child:backdrop,
window.ssd stack headerbar:last-child,
window.ssd decoration,
window.ssd headerbar.titlebar {
border-radius: 0;
}
window.ssd headerbar * {
margin-top: -100px;
color: #1c2022; /~ May need to tweak, this matches Adwaita Dark ~/
}
window.ssd headerbar.titlebar,
window.ssd headerbar.titlebar button.titlebutton {
border: none;
font-size: 0;
height: 0;
margin: 0;
max-height: 0;
min-height: 0;
padding: 0;
}
*/
/* terminal-window notebook {
border-width: 0px 10px 10px 10px;
border-style: solid;
border-color: grey;
} */
/* terminal-window.maximized notebook,
terminal-window.fullscreen notebook {
border-style: none;
} */
.window-frame {
overflow: hidden !important;
background-clip: content-box;
border-radius: 7px !important;
}
decoration {
border-bottom-left-radius: 7px;
border-bottom-right-radius: 7px;
border: 1.2px solid #2E2E2E;
box-shadow: 0 0 1px 1px black !important;
background: #2E2E2E;
background-clip: border-box;
box-sizing: border-box;
overflow: hidden !important;
background: gray;
}
.GtkFrame {
overflow: hidden;
}
.titlebar {
min-height: 0px;
padding: 0px 7px;
}
.titlebar .subtitle,
GtkCalendar.header .subtitle,
.header-bar .subtitle {
font-size: 50%;
padding: 0 12px;
}
/* shrink headebars */
headerbar {
border: 1px solid #2E2E2E;
border-top: 0.7px solid #757575;
}
/* headerbar entry,
headerbar spinbutton,
headerbar button,
headerbar separator {
border: 1px solid #333333;
} */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment