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

View File

@ -29,7 +29,7 @@
@define-color text @foreground;/* Text color */
@define-color panel shade(@header, 0.8);/* Panel 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 selection #90a4ae;/* Selection color */
@define-color view_background @base;/* View background */