From a0e8456cb51149ed0d75b48dd6fe968ca8536cd2 Mon Sep 17 00:00:00 2001 From: Jakub Steiner Date: Thu, 5 Mar 2015 12:02:06 +0100 Subject: [PATCH] Revert "theme: have a separate state for hover and focus" As per discussion in bug #745246 this reverts commit 8a732d3c1354183c84138ba97f3c61d4e1a82f44. --- data/theme/gnome-shell-high-contrast.css | 5 +---- data/theme/gnome-shell.css | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/data/theme/gnome-shell-high-contrast.css b/data/theme/gnome-shell-high-contrast.css index 4a98360f7..ce1a87c15 100644 --- a/data/theme/gnome-shell-high-contrast.css +++ b/data/theme/gnome-shell-high-contrast.css @@ -392,12 +392,9 @@ StScrollBar { background-color: black; box-shadow: inset 0 1px 0px #0d0d0d; font-weight: bold; } - .popup-menu .popup-menu-item:focus { + .popup-menu .popup-menu-item:hover { background-color: #215d9c; color: #ffffff; } - .popup-menu .popup-menu-item:hover { - background-color: rgba(255, 255, 255, 0.1); - color: #fff; } .popup-menu .popup-menu-item:active { background-color: #1c5187; color: #ffffff; } diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index 2c2d58cb1..933803235 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -392,12 +392,9 @@ StScrollBar { background-color: #343a3a; box-shadow: inset 0 1px 0px #282c2c; font-weight: bold; } - .popup-menu .popup-menu-item:focus { + .popup-menu .popup-menu-item:hover { background-color: #215d9c; color: #ffffff; } - .popup-menu .popup-menu-item:hover { - background-color: rgba(238, 238, 236, 0.1); - color: #eeeeec; } .popup-menu .popup-menu-item:active { background-color: #1c5187; color: #ffffff; }