From aefd98d8cd9e747df15f83bfbdce0642765befe1 Mon Sep 17 00:00:00 2001 From: Megax <megax@yeahunter.hu> Date: Tue, 19 Apr 2016 17:04:54 +0200 Subject: [PATCH] * Fix gtk warning. --- gtk-3.20/scss/widgets/_menu.scss | 2 +- gtk-3.20/scss/widgets/_view.scss | 12 ++---------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/gtk-3.20/scss/widgets/_menu.scss b/gtk-3.20/scss/widgets/_menu.scss index f0432d7..b23e3eb 100755 --- a/gtk-3.20/scss/widgets/_menu.scss +++ b/gtk-3.20/scss/widgets/_menu.scss @@ -114,7 +114,7 @@ } calendar { - &:inconsistent { color: mix($menu_fg_color, $menu_bg_color, .5); } + &:indeterminate { color: mix($menu_fg_color, $menu_bg_color, .5); } .button { border-style: none; diff --git a/gtk-3.20/scss/widgets/_view.scss b/gtk-3.20/scss/widgets/_view.scss index ba0cc9c..74bb88d 100644 --- a/gtk-3.20/scss/widgets/_view.scss +++ b/gtk-3.20/scss/widgets/_view.scss @@ -182,7 +182,7 @@ box-shadow: inset 0 1px transparentize(white, .95); } - background-color: linear-gradient(to bottom, $base_color, darken($base_color, .1)); + @include linear-gradient($selected_bg_color); &:backdrop { @if $variant == 'light' { @@ -197,17 +197,9 @@ } } - /* transmission fix. */ - &:insensitive { - &:insensitive { - @include linear-gradient($bg_color); - border-color: border_insensitive($bg_color); - } - } - &:disabled { @include linear-gradient($bg_color); - border-color: border_disabled($bg_color); + border-color: border_insensitive($bg_color); } &:backdrop {