Restore missing gnome-terminal decoration in sass

During redesign terminal decoration was removed which left terminal with light background color. This restores terminal with dark background color & other minor tweaks. These tweaks needs to be modified again for GTK >=3.19.3, but for now it works.
pull/302/head
Khurshid Alam 2016-02-16 21:35:34 +05:30
parent 99a83be1c0
commit c637d4d1da
4 changed files with 60 additions and 1 deletions

View File

@ -45,6 +45,7 @@
@define-color panel_fg_color @dark_fg_color;
/* osd */
@define-color osd_base #{"" + $osd_base};
@define-color osd_bg #{"" + $osd_bg};
@define-color osd_fg #{"" + $osd_fg};

View File

@ -53,8 +53,9 @@ $menubar_fg_color: $dark_fg_color;
$panel_bg_color: $dark_bg_color;
$panel_fg_color: $dark_fg_color;
$osd_bg: $dark_bg_color;
$osd_base: $dark_bg_color;
$osd_fg: $dark_fg_color;
$osd_bg: alpha($osd_base, 0.8);
$lightdm_bg_color: $dark_bg_color;
$lightdm_fg_color: $dark_fg_color;

View File

@ -34,3 +34,4 @@
@import "apps/xfce";
@import "apps/unity";
@import "apps/lightdm";
@import "apps/gnome-terminal";

View File

@ -0,0 +1,56 @@
/**********************
! Genome Terminal *
***********************/
@include exports("gnome-terminal") {
VteTerminal {
background-color: $osd_base;
color: $osd_fg;
}
TerminalWindow {
.scrollbars-junction {
background-color: $osd_base;
}
.scrollbar {
&.trough {
background-color: $osd_base;
}
&.button {
color: shade($osd_base, 0.6);
&:active {
color: shade($osd_base, 0.6);
&:hover {
color: shade($osd_base, 0.6);
}
}
}
&.slider {
border-color: mix(shade($osd_base, 0.87), $osd_fg, 0.21);
background-color: mix($osd_base, $osd_fg, 0.21);
&:hover {
border-color: mix(shade($osd_base, 0.87), $osd_fg, 0.31);
background-color: mix($osd_base, $osd_fg, 0.31);
}
&.vertical {
&:hover {
border-color: mix(shade($osd_base, 0.87), $osd_fg, 0.31);
background-color: mix($osd_base, $osd_fg, 0.31);
}
&:active {
border-color: shade($selected_bg_color, 0.9);
background-color: $selected_bg_color;
}
}
&:active {
border-color: shade($selected_bg_color, 0.9);
background-color: $selected_bg_color;
}
}
}
GtkNotebook.notebook {
border-right-width: 0;
border-bottom-width: 0;
border-left-width: 0;
}
}
}