Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Gnome terminal CSS for ambiance theme
/* gnome-terminal */
TerminalScreen {
-TerminalScreen-background-darkness: 0.95;
background-color: #300a24;
color: #fff;
}
TerminalWindow,
TerminalWindow.background {
background-image: none;
background-color: @dark_bg_color;
color: @dark_fg_color;
}
TerminalWindow .notebook {
border: 0;
padding: 0;
}
TerminalWindow .notebook tab.top:active{
padding: 0;
border-image: none;
background-color: alpha(red,0.4);
}
TerminalWindow .notebook tab.top{
padding: 0;
border-width: 0;
background-image: none;
background-color: @dark_b!g_color;
color: gray;
}
@budnik

This comment has been minimized.

Copy link
Owner Author

commented Jan 8, 2013

Looks better on 12.04.1

@llondon6

This comment has been minimized.

Copy link

commented Aug 26, 2014

Thanks for this!

Do you know of a good resource to learn CSS for window decorations in Ubuntu? For example, what are all of the properties available for "TerminalWindow .notebook { ... }"?

@AlexHaaniWink

This comment has been minimized.

Copy link

commented Apr 5, 2016

screenshot from 2016-04-05 16-56-48

This is a screenshot from Ubuntu 16.04, with Gnome installed afterwards. It shows the gnome-terminal when the window does not have focus. That makes the tab-close buttons and that new-tab button turn light gray instead of dark. Any chance you know how to fix that?

Also, the dropdown button at the right is always this light color.

@chenzhiwei

This comment has been minimized.

Copy link

commented Apr 22, 2016

@AlexHaaniWink Using following css to set the button color:

TerminalWindow .button {
  background-color: #000;
}
@lhotari

This comment has been minimized.

Copy link

commented May 9, 2016

This makes the buttons nicer for a dark theme and to use less vertical space:

TerminalWindow .notebook .button,
TerminalWindow .notebook .button:active {
    padding: 2 2 2 10;
    background-image: none;
    border: 0;
}
@abaracedo

This comment has been minimized.

Copy link

commented May 18, 2016

Do you know how it's possible to know which elements and classes are available?

@syddel

This comment has been minimized.

Copy link

commented Aug 21, 2016

How can I change the font color in the active tab (I want to make it brighter)?

@kedmond

This comment has been minimized.

Copy link

commented Sep 7, 2016

@AlexHaaniWink Did you ever figure this out? Thanks.

@yashLadha

This comment has been minimized.

Copy link

commented Nov 20, 2016

when there is a warning it shows buttons as presented by @AlexHaaniWink in ubuntu 16.04.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.