0

I'm talking about this container:

image @ imgur

What is the CSS id/class/tag for it? I've tried to find it in gnome-terminal source, but I'm unfamiliar with C++.

10
  • 1
    And I'd like to know how you styled the Terminal in the first place. It looks awesome. :)
    – grooveplex
    Apr 23, 2016 at 17:52
  • 2
    @grooveplex I'm using Flatabulous theme and working on a fix for this issue (that's why my tabs are dark, not light as in the master branch). I've added some paddings to the Terminal using a popular method from the Internet. My shell is zsh and PS1 is %{$fg[green]%}➜ %{$fg[cyan]%}%c%{$reset_color%}
    – Defman
    Apr 23, 2016 at 18:00
  • gnome-terminal is written in C, not C++ :P
    – egmont
    Apr 23, 2016 at 20:34
  • Gtk+ has a built-in inspector (similarly to many popular web browsers). Search for this on the web to figure out how to enable/use it. I hope this inspector will help you quickly locate the properties you're looking for.
    – egmont
    Apr 23, 2016 at 20:36
  • @egmont there's no way to use Gtk Inspector for Terminal, because Ctrl+Shift+D just closes it and Ctrl+Shift+I inserts an indentation. If I run gnome-terminal-server with GTK_DEBUG=interactive, it will open Gtk Inspector but there will be no terminal window visible in the hierarchy.
    – Defman
    Apr 23, 2016 at 21:43

1 Answer 1

0

It's TerminalWindow .notebook .button . This works for me:

@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;
}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .