Tweaked terminal css

This commit is contained in:
Sam Hewitt 2015-04-27 11:29:48 -04:00
parent a99b8c9791
commit 5f29dab242
2 changed files with 52 additions and 75 deletions

View File

@ -16,96 +16,80 @@
* with the Paper GTK theme. If not, see http://www.gnu.org/licenses/. * with the Paper GTK theme. If not, see http://www.gnu.org/licenses/.
*/ */
@define-color terminal_text #dbdee0; @define-color terminal #dbdee0;
@define-color terminal_background #002B36; @define-color terminal_background #002B36;
@define-color terminal #51666B; @define-color terminal_text #839495;
@define-color backdrop_terminal shade(@terminal, 0.95); @define-color terminal_window #636E73;
@define-color terminal_window_text #dbdee0;
@define-color terminal_header #41555B; @define-color backdrop_terminal_window_text shade(@terminal_window_text, 0.8);
@define-color terminal_header_text #dbdee0; @define-color insensitive_terminal_window_text shade(@terminal_window_text, 0.95);
@define-color backdrop_terminal_header_text shade(@terminal_header_text, 0.8);
@define-color insensitive_terminal_header_text shade(@terminal_header_text, 0.95);
/********** /**********
* Header * * Header *
**********/ **********/
TerminalWindow .titlebar, TerminalWindow .titlebar,
TerminalWindow .header-bar, TerminalWindow .header-bar {
PantheonTerminalPantheonTerminalWindow .titlebar, background-color: @terminal_window;
PantheonTerminalPantheonTerminalWindow .header-bar {
background-color: @terminal_header;
} }
TerminalWindow .titlebar:backdrop, TerminalWindow .titlebar:backdrop,
TerminalWindow .header-bar:backdrop, TerminalWindow .header-bar:backdrop{
PantheonTerminalPantheonTerminalWindow .titlebar:backdrop, background-color: shade(@terminal_window,0.9);
PantheonTerminalPantheonTerminalWindow .header-bar:backdrop {
background-color: shade(@terminal_header,0.9);
} }
/************ /************
* Notebook * * Notebook *
************/ ************/
PantheonTerminalPantheonTerminalWindow .notebook.header,
PantheonTerminalPantheonTerminalWindow .dynamic-notebook .notebook.header {
background-color: @terminal;
box-shadow: none;
}
PantheonTerminalPantheonTerminalWindow .notebook.header:backdrop,
PantheonTerminalPantheonTerminalWindow .dynamic-notebook .notebook.header:backdrop {
background: @backdrop_terminal;
box-shadow: none;
}
TerminalNotebook { TerminalNotebook {
box-shadow: none; box-shadow: inset 0 1px 0 0 @border;
} }
/* Active */
TerminalNotebook tab.top:active, TerminalNotebook tab.top:active,
TerminalWindow .notebook tab.top:active, TerminalWindow .notebook tab.top:active,
TerminalWindow .dynamic-notebook tab.top:active, TerminalWindow .dynamic-notebook tab.top:active {
PantheonTerminalPantheonTerminalWindow .dynamic-notebook tab.top:active { box-shadow:inset 0 -3px 0 0 @terminal;
box-shadow:inset 0 -2px 0 0 @terminal_text; text-shadow:none;
}
/* Normal */
TerminalWindow .notebook tab.top {
box-shadow:inset 0 -1px 0 0 @terminal_window;
text-shadow:none;
} }
/*----- Tabs -----*/ /*----- Tabs -----*/
TerminalWindow .notebook tab, TerminalWindow .notebook tab {
PantheonTerminalPantheonTerminalWindow .dynamic-notebook tab { background: @terminal_window;
/*border: none;*/ color: @terminal_window_text;
border-radius: 0; text-shadow:none;
background-color: @terminal;
color: @terminal_text;
} }
TerminalWindow .notebook tab:active , TerminalWindow .notebook tab:active {
PantheonTerminalPantheonTerminalWindow .dynamic-notebook tab:active { background: @terminal_window;
border: none; color: @terminal_window_text;
background-color: @terminal; text-shadow:none;
color: @terminal_text;
} }
TerminalWindow .notebook tab:hover, TerminalWindow .notebook tab:hover {
PantheonTerminalPantheonTerminalWindow .dynamic-notebook tab:hover { background-color: shade(@terminal_window, 1.05);
color: alpha(#fff, 0.3); color: alpha(#fff, 0.3);
text-shadow:none;
} }
PantheonTerminalPantheonTerminalWindow .dynamic-notebook:backdrop tab,
PantheonTerminalPantheonTerminalWindow .dynamic-notebook tab:backdrop,
TerminalWindow .notebook tab:backdrop { TerminalWindow .notebook tab:backdrop {
border: none; background: @backdrop_header;
background-color: @backdrop_terminal; color: @backdrop_terminal_window_text;
color: @backdrop_terminal_text; text-shadow:none;
} }
TerminalWindow .notebook tab:insensitive, TerminalWindow .notebook tab:insensitive {
PantheonTerminalPantheonTerminalWindow .dynamic-notebook tab:insensitive {
border: none;
background: @insensitive_header; background: @insensitive_header;
color: @insensitive_terminal_text; color: @insensitive_terminal_window_text;
text-shadow:none;
} }
/* Labels */ /* Labels */
@ -113,45 +97,40 @@ TerminalWindow .notebook GtkLabel,
TerminalWindow .notebook:active GtkLabel, TerminalWindow .notebook:active GtkLabel,
TerminalWindow .notebook:focus GtkLabel, TerminalWindow .notebook:focus GtkLabel,
TerminalWindow .notebook:hover GtkLabel { TerminalWindow .notebook:hover GtkLabel {
color: @terminal_text; color: @terminal_window_text;
} }
TerminalWindow .notebook:backdrop GtkLabel, TerminalWindow .notebook:backdrop GtkLabel,
TerminalWindow .notebook:backdrop:hover GtkLabel, TerminalWindow .notebook:backdrop:hover GtkLabel,
TerminalWindow .notebook:active:backdrop GtkLabel { TerminalWindow .notebook:active:backdrop GtkLabel {
color: @backdrop_terminal_text; color: @backdrop_terminal_window_text;
} }
TerminalWindow .notebook:insensitive GtkLabel { TerminalWindow .notebook:insensitive GtkLabel {
color: @insensitive_terminal_text; color: @insensitive_terminal_window_text;
} }
TerminalWindow .notebook:insensitive:backdrop GtkLabel { TerminalWindow .notebook:insensitive:backdrop GtkLabel {
color: mix(@backdrop_terminal_text, @insensitive_terminal_text, 0.5); color: mix(@backdrop_terminal_window_text, @insensitive_terminal_window_text, 0.5);
} }
TerminalWindow .notebook tab GtkLabel { TerminalWindow .notebook tab GtkLabel {
background: none; color: @backdrop_terminal_window_text;
color: @backdrop_terminal_text;
} }
TerminalWindow .notebook tab:active GtkLabel, TerminalWindow .notebook tab:active GtkLabel,
TerminalWindow .notebook .active-page, TerminalWindow .notebook .active-page,
TerminalWindow .notebook tab .active-page GtkLabel { TerminalWindow .notebook tab .active-page GtkLabel {
background: none; color: @terminal_window_text;
color: @terminal_header_text;
font-weight: bold;
text-shadow: none;
} }
TerminalWindow .notebook tab:backdrop GtkLabel, TerminalWindow .notebook tab:backdrop GtkLabel,
TerminalWindow .notebook tab GtkLabel:backdrop { TerminalWindow .notebook tab GtkLabel:backdrop {
background: none; color: @backdrop_terminal_window_text;
color: @backdrop_terminal_header_text;
} }
#TerminalWindow .notebook tab .button GtkImage { TerminalWindow .notebook tab .button GtkImage {
color: @terminal_header_text; color: @terminal_window_text;
} }
TerminalWindow .notebook tab .button:hover GtkImage, TerminalWindow .notebook tab .button:hover GtkImage,
@ -160,7 +139,7 @@ TerminalWindow .notebook tab .button:active GtkImage {
} }
TerminalWindow .notebook tab .button:backdrop GtkImage { TerminalWindow .notebook tab .button:backdrop GtkImage {
color: @backdrop_terminal_header_text; color: @backdrop_terminal_window_text;
} }
/********** /**********
@ -169,7 +148,6 @@ TerminalWindow .notebook tab .button:backdrop GtkImage {
TerminalScreen, TerminalScreen,
VteTerminal { VteTerminal {
/*-TerminalScreen-background-darkness: 0.95;*/
background-color: @terminal_background; background-color: @terminal_background;
color: @terminal_text; color: @terminal_text;
} }
@ -178,7 +156,6 @@ VteTerminal {
* Scrollbar * * Scrollbar *
*************/ *************/
TerminalWindow .scrollbar { TerminalWindow .scrollbar {
background-image: none; background-image: none;
border-style: solid; border-style: solid;
@ -229,7 +206,7 @@ TerminalWindow .scrollbars-junction, /* the small square between scrollbars!!! *
TerminalWindow .scrollbar.trough { TerminalWindow .scrollbar.trough {
/*border-radius: 10px;*/ /*border-radius: 10px;*/
background-image: none; background-image: none;
background-color: @terminal_background; background: @terminal_background;
border-width: 0; border-width: 0;
border-image: none; border-image: none;
} }
@ -242,7 +219,7 @@ TerminalWindow .scrollbar.trough:insensitive {
TerminalWindow .scrollbars-junction:backdrop, TerminalWindow .scrollbars-junction:backdrop,
TerminalWindow .scrollbar.trough:backdrop { TerminalWindow .scrollbar.trough:backdrop {
background-image: none; background-image: none;
background-color: @terminal_background; background: @terminal_background;
border-width: 0; border-width: 0;
border-radius: 0; border-radius: 0;
border-image: none; border-image: none;
@ -254,4 +231,4 @@ TerminalWindow .scrollbar.trough:insensitive:backdrop {
border-width: 0; border-width: 0;
border-radius: 0; border-radius: 0;
border-image: none; border-image: none;
} }

View File

@ -29,7 +29,7 @@
@define-color text @foreground;/* Text color */ @define-color text @foreground;/* Text color */
@define-color panel shade(@header, 0.8);/* Panel color */ @define-color panel shade(@header, 0.8);/* Panel color */
@define-color header #3B4245;/* Header color */ @define-color header #3B4245;/* Header color */
@define-color backdrop_header shade(@header, 0.9); /* Header backdrop color */ @define-color backdrop_header shade(@header, 0.95); /* Header backdrop color */
@define-color header_text alpha(#fff, 0.8);/* Header text color */ @define-color header_text alpha(#fff, 0.8);/* Header text color */
@define-color selection #90a4ae;/* Selection color */ @define-color selection #90a4ae;/* Selection color */
@define-color view_background @base;/* View background */ @define-color view_background @base;/* View background */