theme: have a separate state for hover and focus

https://bugzilla.gnome.org/show_bug.cgi?id=745246
This commit is contained in:
Jakub Steiner 2015-03-03 17:43:17 +01:00
parent ad3e24e0bb
commit 8a732d3c13
2 changed files with 8 additions and 2 deletions

View File

@ -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; }

View File

@ -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; }