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
parent
99a83be1c0
commit
c637d4d1da
|
@ -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};
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -34,3 +34,4 @@
|
|||
@import "apps/xfce";
|
||||
@import "apps/unity";
|
||||
@import "apps/lightdm";
|
||||
@import "apps/gnome-terminal";
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue