From 038fd7ccc8c37fba4225cd86ab9ab285528ef8c7 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 2 Dec 2013 07:09:56 +0100 Subject: fix diskdrake colorized partition tabs with Adwaita (bgo#719624) "In the GTK+ CSS interpreter (and CSS in general), background-image takes precedence over background-color, so the gradients set by Adwaita on focused windows' buttons still takes precedence over your custom background-color, this doesn't happen on unfocused windows because no background-image is set for buttons there." --- perl-install/NEWS | 3 +++ perl-install/share/diskdrake.css | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/perl-install/NEWS b/perl-install/NEWS index b0d4358a3..8ccc4837d 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,6 @@ +- diskdrake: + o fix diskdrake colorized partition tabs with Adwaita (bgo#719624) + Version 16.3 - 30 November 2013 - harddrake: diff --git a/perl-install/share/diskdrake.css b/perl-install/share/diskdrake.css index 3ba4144df..186b605bd 100644 --- a/perl-install/share/diskdrake.css +++ b/perl-install/share/diskdrake.css @@ -9,6 +9,7 @@ #PART_ext2, #PART_ext3, #PART_ext4 { background-color: #ff0000; + background-image: none; } #PART_ext2:hover:hover, #PART_ext3:hover, #PART_ext4:hover { background-color: #e60000; @@ -19,6 +20,7 @@ #PART_xfs { background-color: #ff9900; + background-image: none; } #PART_xfs:hover { background-color: #e66600; @@ -29,6 +31,7 @@ #PART_swap { background-color: #66cc00; + background-image: none; } #PART_swap:active, #PART_swap:hover { background-color: #66b700; @@ -36,6 +39,7 @@ #PART_vfat, #PART_ntfs, #PART_ntfs-3g { background-color: #00b7ff; + background-image: none; } #PART_vfat:hover, #PART_ntfs:hover, #PART_ntfs-3g:hover { background-color: #0099e6; @@ -46,6 +50,7 @@ #PART_empty { background-color: #ffffff; + background-image: none; } #PART_empty:hover, #PART_empty:active { background-color: #e6e6e6; @@ -53,9 +58,11 @@ #PART_other { background-color: #929eab; + background-image: none; } #PART_new { background-color: #1f429c; + background-image: none; color: #ffffff; } -- cgit v1.2.1