234 lines
5.9 KiB
CSS
234 lines
5.9 KiB
CSS
/* Copyright 2015 Sam Hewitt.
|
|
*
|
|
* This file is part of the Paper GTK theme.
|
|
*
|
|
* The Paper GTK theme is free software: you can redistribute it
|
|
* and/or modify it under the terms of the GNU General Public License as
|
|
* published by the Free Software Foundation, either version 3 of the
|
|
* License, or (at your option) any later version.
|
|
*
|
|
* The Paper GTK theme is distributed in the hope that it will be
|
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
* Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License along
|
|
* with the Paper GTK theme. If not, see http://www.gnu.org/licenses/.
|
|
*/
|
|
|
|
@define-color terminal #dbdee0;
|
|
@define-color terminal_background #002B36;
|
|
@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 {
|
|
background-color: @terminal_window;
|
|
}
|
|
|
|
TerminalWindow .titlebar:backdrop,
|
|
TerminalWindow .header-bar:backdrop{
|
|
background-color: shade(@terminal_window,0.9);
|
|
}
|
|
|
|
/************
|
|
* Notebook *
|
|
************/
|
|
|
|
TerminalNotebook {
|
|
box-shadow: inset 0 1px 0 0 @border;
|
|
}
|
|
|
|
/* Active */
|
|
TerminalNotebook tab.top:active,
|
|
TerminalWindow .notebook tab.top:active,
|
|
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 {
|
|
background: @terminal_window;
|
|
color: @terminal_window_text;
|
|
text-shadow:none;
|
|
}
|
|
|
|
TerminalWindow .notebook tab:active {
|
|
background: @terminal_window;
|
|
color: @terminal_window_text;
|
|
text-shadow:none;
|
|
}
|
|
|
|
TerminalWindow .notebook tab:hover {
|
|
background-color: shade(@terminal_window, 1.05);
|
|
color: alpha(#fff, 0.3);
|
|
text-shadow:none;
|
|
}
|
|
|
|
TerminalWindow .notebook tab:backdrop {
|
|
background: @backdrop_header;
|
|
color: @backdrop_terminal_window_text;
|
|
text-shadow:none;
|
|
}
|
|
|
|
TerminalWindow .notebook tab:insensitive {
|
|
background: @insensitive_header;
|
|
color: @insensitive_terminal_window_text;
|
|
text-shadow:none;
|
|
}
|
|
|
|
/* Labels */
|
|
TerminalWindow .notebook GtkLabel,
|
|
TerminalWindow .notebook:active GtkLabel,
|
|
TerminalWindow .notebook:focus GtkLabel,
|
|
TerminalWindow .notebook:hover GtkLabel {
|
|
color: @terminal_window_text;
|
|
}
|
|
|
|
TerminalWindow .notebook:backdrop GtkLabel,
|
|
TerminalWindow .notebook:backdrop:hover GtkLabel,
|
|
TerminalWindow .notebook:active:backdrop GtkLabel {
|
|
color: @backdrop_terminal_window_text;
|
|
}
|
|
|
|
TerminalWindow .notebook:insensitive GtkLabel {
|
|
color: @insensitive_terminal_window_text;
|
|
}
|
|
|
|
TerminalWindow .notebook:insensitive:backdrop GtkLabel {
|
|
color: mix(@backdrop_terminal_window_text, @insensitive_terminal_window_text, 0.5);
|
|
}
|
|
|
|
TerminalWindow .notebook tab GtkLabel {
|
|
color: @backdrop_terminal_window_text;
|
|
}
|
|
|
|
TerminalWindow .notebook tab:active GtkLabel,
|
|
TerminalWindow .notebook .active-page,
|
|
TerminalWindow .notebook tab .active-page GtkLabel {
|
|
color: @terminal_window_text;
|
|
}
|
|
|
|
TerminalWindow .notebook tab:backdrop GtkLabel,
|
|
TerminalWindow .notebook tab GtkLabel:backdrop {
|
|
color: @backdrop_terminal_window_text;
|
|
}
|
|
|
|
TerminalWindow .notebook tab .button GtkImage {
|
|
color: @terminal_window_text;
|
|
}
|
|
|
|
TerminalWindow .notebook tab .button:hover GtkImage,
|
|
TerminalWindow .notebook tab .button:active GtkImage {
|
|
color: @selection_foreground;
|
|
}
|
|
|
|
TerminalWindow .notebook tab .button:backdrop GtkImage {
|
|
color: @backdrop_terminal_window_text;
|
|
}
|
|
|
|
/**********
|
|
* Screen *
|
|
**********/
|
|
|
|
TerminalScreen,
|
|
VteTerminal {
|
|
background-color: @terminal_background;
|
|
color: @terminal_text;
|
|
}
|
|
|
|
/*************
|
|
* Scrollbar *
|
|
*************/
|
|
|
|
TerminalWindow .scrollbar {
|
|
background-image: none;
|
|
border-style: solid;
|
|
border: 1px solid transparent;
|
|
-GtkRange-trough-border: 2;
|
|
-GtkScrollbar-has-backward-stepper: false;
|
|
-GtkScrollbar-has-forward-stepper: false;
|
|
-GtkRange-slider-width: 6;
|
|
-GtkScrollbar-min-slider-length: 30;
|
|
|
|
-GtkRange-stepper-spacing: 0;
|
|
-GtkRange-trough-under-steppers: 1;
|
|
}
|
|
|
|
/* Slider */
|
|
TerminalWindow .scrollbar.slider {
|
|
background-color: @terminal_text;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
TerminalWindow .scrollbar.slider:hover {
|
|
background-color: shade(@terminal_text, 1.1);
|
|
background-image: none;
|
|
}
|
|
|
|
TerminalWindow .scrollbar.slider:active.
|
|
TerminalWindow .scrollbar.slider:prelight:active {
|
|
background-color: shade(@selection, 1.2);
|
|
background-image: none;
|
|
}
|
|
|
|
TerminalWindow .scrollbar.slider:insensitive {
|
|
background-color: alpha(@insensitive_foreground, 0.2);
|
|
}
|
|
|
|
TerminalWindow .scrollbar.slider:backdrop {
|
|
background-color: alpha(@backdrop_foreground, 0.2);
|
|
}
|
|
|
|
TerminalWindow .scrollbar.slider.fine-tune:prelight:active {
|
|
background-image: none;
|
|
border: 3px solid transparent;
|
|
}
|
|
|
|
|
|
/* Troughs */
|
|
TerminalWindow .scrollbars-junction, /* the small square between scrollbars!!! */
|
|
TerminalWindow .scrollbar.trough {
|
|
/*border-radius: 10px;*/
|
|
background-image: none;
|
|
background: @terminal_background;
|
|
border-width: 0;
|
|
border-image: none;
|
|
}
|
|
|
|
TerminalWindow .scrollbar.trough:insensitive {
|
|
background: none;
|
|
border: 3px solid transparent;
|
|
}
|
|
|
|
TerminalWindow .scrollbars-junction:backdrop,
|
|
TerminalWindow .scrollbar.trough:backdrop {
|
|
background-image: none;
|
|
background: @terminal_background;
|
|
border-width: 0;
|
|
border-radius: 0;
|
|
border-image: none;
|
|
}
|
|
|
|
TerminalWindow .scrollbar.trough:insensitive:backdrop {
|
|
background-image: none;
|
|
background: none;
|
|
border-width: 0;
|
|
border-radius: 0;
|
|
border-image: none;
|
|
} |