* Icon selected background color fix.

pull/431/head
Megax 2016-06-09 17:18:02 +02:00
parent 8c5fbffa13
commit 63dd48ea25
4 changed files with 30 additions and 29 deletions

View File

@ -103,7 +103,7 @@ $backdrop_text_color: mix($backdrop_base_color, $text_color, .8);
$backdrop_bg_color: $bg_color; $backdrop_bg_color: $bg_color;
$backdrop_fg_color: mix($fg_color, $backdrop_bg_color, .5); $backdrop_fg_color: mix($fg_color, $backdrop_bg_color, .5);
$backdrop_insensitive_color: if($variant == 'light', darken($backdrop_bg_color, 15%), lighten($backdrop_bg_color, 15%)); $backdrop_insensitive_color: if($variant == 'light', darken($backdrop_bg_color, 15%), lighten($backdrop_bg_color, 15%));
$backdrop_selected_fg_color: mix($selected_bg_color, $selected_fg_color, .66); $backdrop_selected_fg_color: if($variant == 'light', $backdrop_base_color, $backdrop_text_color);
$backdrop_borders_color: mix($bg_color, $borders_color, .9); $backdrop_borders_color: mix($bg_color, $borders_color, .9);
$backdrop_dark_fill: mix($backdrop_bg_color, $backdrop_borders_color, .35); $backdrop_dark_fill: mix($backdrop_bg_color, $backdrop_borders_color, .35);
$backdrop_sidebar_bg_color: mix($backdrop_bg_color, $backdrop_base_color, .5); $backdrop_sidebar_bg_color: mix($backdrop_bg_color, $backdrop_base_color, .5);

View File

@ -35,3 +35,6 @@
@import "apps/xfce"; @import "apps/xfce";
@import "apps/unity"; @import "apps/unity";
@import "apps/lightdm"; @import "apps/lightdm";
// Fixed bug: https://github.com/numixproject/numix-gtk-theme/issues/430
@import "widgets/extend";

View File

@ -0,0 +1,23 @@
/*******************
! Selected Items *
********************/
@include exports("selected_items") {
%selected_items {
background-color: $selected_bg_color;
@at-root %nobg_selected_items, & {
color: $selected_fg_color;
@if $variant == 'light' { outline-color: transparentize($selected_fg_color, .7); }
&:disabled { color: mix($selected_fg_color, $selected_bg_color, .5); }
&:backdrop {
color: $backdrop_selected_fg_color;
&:disabled { color: mix($backdrop_selected_fg_color, $selected_bg_color, .3); }
}
}
}
}

View File

@ -1,6 +1,6 @@
/*************** /****************
! Dimmed label * ! Dimmed label *
****************/ *****************/
@include exports("dimlabel") { @include exports("dimlabel") {
.dim-label { .dim-label {
@ -279,28 +279,3 @@
@include exports("stackswitcher") { @include exports("stackswitcher") {
stackswitcher button.text-button { min-width: 90px; } // FIXME aggregate with buttons stackswitcher button.text-button { min-width: 90px; } // FIXME aggregate with buttons
} }
/*******************
! Selected Items *
********************/
@include exports("selected_items") {
%selected_items {
background-color: $selected_bg_color;
@at-root %nobg_selected_items, & {
color: $selected_fg_color;
@if $variant == 'light' { outline-color: transparentize($selected_fg_color, .7); }
&:disabled { color: mix($selected_fg_color, $selected_bg_color, .5); }
&:backdrop {
color: $backdrop_selected_fg_color;
&:disabled { color: mix($backdrop_selected_fg_color, $selected_bg_color, .3); }
}
}
}
}