From 8a732d3c1354183c84138ba97f3c61d4e1a82f44 Mon Sep 17 00:00:00 2001 From: Jakub Steiner Date: Tue, 3 Mar 2015 17:43:17 +0100 Subject: [PATCH] theme: have a separate state for hover and focus https://bugzilla.gnome.org/show_bug.cgi?id=745246 --- data/theme/gnome-shell-high-contrast.css | 5 ++++- data/theme/gnome-shell.css | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/data/theme/gnome-shell-high-contrast.css b/data/theme/gnome-shell-high-contrast.css index 265d2a516..6fa2a2fd8 100644 --- a/data/theme/gnome-shell-high-contrast.css +++ b/data/theme/gnome-shell-high-contrast.css @@ -392,9 +392,12 @@ StScrollBar { background-color: black; box-shadow: inset 0 1px 0px #0d0d0d; font-weight: bold; } - .popup-menu .popup-menu-item:hover { + .popup-menu .popup-menu-item:focus { 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 b76ab4718..d0754c28e 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -392,9 +392,12 @@ StScrollBar { background-color: #343a3a; box-shadow: inset 0 1px 0px #282c2c; font-weight: bold; } - .popup-menu .popup-menu-item:hover { + .popup-menu .popup-menu-item:focus { 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; }