Adding this parameter to ~/.config/gtk-3.0/gtk.css works for me. It does not remove the buttons, but makes them more pleasant for a dark theme and uses less vertical space.
TerminalWindow .notebook .button, TerminalWindow .notebook .button:active { padding: 2 2 2 10; background-image: none; border: 0; }
I use this setting, works well with a dark theme:
@define-color bg-grey #222; @define-color active-grey #333; @define-color border-grey #555; TerminalWindow .notebook { border: 0; padding: 0; color: #eee; background-color: shade(@active-grey, 1); } TerminalWindow .notebook tab:active { border: 1px solid @border-grey; background-color: shade(@active-grey, 1); } TerminalWindow .notebook tab { background-color: shade(@bg-grey, 1); } TerminalWindow .notebook .button, TerminalWindow .notebook .button:active { padding: 2 2 2 10; background-image: none; border: 0; }
source share