[gnome-shell] theme: have a separate state for hover and focus



commit 8a732d3c1354183c84138ba97f3c61d4e1a82f44
Author: Jakub Steiner <jimmac gmail com>
Date:   Tue Mar 3 17:43:17 2015 +0100

    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 265d2a5..6fa2a2f 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 b76ab47..d0754c2 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; }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]