fix background for notebook stack. fix entry selection. Closes #342 and Closes #341

pull/344/head
Dustin Falgout 2016-04-14 07:16:41 -05:00
parent 4f303cb398
commit 5b69b56e69
3 changed files with 12 additions and 8 deletions

View File

@ -12,7 +12,7 @@ $selected_fg_color: #fff;
$tooltip_bg_color: #444; $tooltip_bg_color: #444;
$tooltip_fg_color: #eee; $tooltip_fg_color: #eee;
$selected_borders_color: if($variant == 'light', darken($selected_bg_color, 30%), darken($selected_bg_color, 20%)); $selected_borders_color: if($variant == 'light', shade($bg_color, .85), shade($bg_color, .88));
$borders_color: if($variant == 'light', shade($bg_color, .85), shade($bg_color, .88)); $borders_color: if($variant == 'light', shade($bg_color, .85), shade($bg_color, .88));
$borders_edge: if($variant == 'light', transparentize(white, 0.2), transparentize($fg_color, 0.93)); $borders_edge: if($variant == 'light', transparentize(white, 0.2), transparentize($fg_color, 0.93));
@ -75,7 +75,7 @@ $panel_fg_color: $dark_fg_color;
$osd_base: $dark_bg_color; $osd_base: $dark_bg_color;
$osd_fg: $dark_fg_color; $osd_fg: $dark_fg_color;
$osd_bg: alpha($osd_base, 0.8); $osd_bg: alpha($osd_base, .8);
$lightdm_bg_color: $dark_bg_color; $lightdm_bg_color: $dark_bg_color;
$lightdm_fg_color: $dark_fg_color; $lightdm_fg_color: $dark_fg_color;

View File

@ -31,7 +31,7 @@
} }
%entry { %entry {
padding: ($spacing - 1px) $spacing; padding: $spacing;
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
border-radius: $roundness; border-radius: $roundness;
@ -56,7 +56,13 @@
color: $selected_fg_color; color: $selected_fg_color;
} }
&.image.left { padding-right: $spacing; } & image.left { padding-right: $spacing; }
& image.right { padding-left: $spacing; }
selection {
background-color: $selected_bg_color;
color: $selected_fg_color;
}
} }
@mixin entry($bg, $fg) { @mixin entry($bg, $fg) {
@ -66,7 +72,7 @@
color: $fg; color: $fg;
&:focus, &:active { border-color: $selected_bg_color; } &:focus, &:active { border-color: border_focus($selected_borders_color); }
&:disabled { &:disabled {
@include linear-gradient(shade($bg, .9), to top); @include linear-gradient(shade($bg, .9), to top);

View File

@ -260,10 +260,8 @@
} }
} }
viewport { stack {
border-width: 0;
background-color: $base_color; background-color: $base_color;
color: $text_color;
} }
} }
} }