From 17da1e9f35d8379f0c848100d0503d4b0a50777f Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Thu, 2 Mar 2017 18:59:25 +0000 Subject: [PATCH] Adwaita: :insensitive is deprecated; use :disabled --- gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 0682b51642..8c0fd646f1 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -156,7 +156,7 @@ flowbox { &:backdrop { background-color: if($variant=='light', transparent, darken($backdrop_base_color,5%)); } &:active, &:selected { background-color: if($variant=='light', transparent, $selected_bg_color); } - &:insensitive { background-color: if($variant=='light', transparent, $insensitive_bg_color); } + &:disabled { background-color: if($variant=='light', transparent, $insensitive_bg_color); } } label { diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index 8947117fd3..b575ed05dc 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -110,7 +110,7 @@ flowbox flowboxchild { background-color: #1a1d1e; } .content-view .tile:active, .content-view .tile:selected { background-color: #215d9c; } - .content-view .tile:insensitive { + .content-view .tile:disabled { background-color: #2d3234; } label { diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index 99f22c7a30..b2633c99c3 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -110,7 +110,7 @@ flowbox flowboxchild { background-color: transparent; } .content-view .tile:active, .content-view .tile:selected { background-color: transparent; } - .content-view .tile:insensitive { + .content-view .tile:disabled { background-color: transparent; } label {