[gnome-shell-sass] loginDialog: Only highlight a single item at any time
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-sass] loginDialog: Only highlight a single item at any time
- Date: Thu, 13 Jul 2017 12:56:13 +0000 (UTC)
commit 4de529843779532db8e5aa76b4e8a74f163e79c5
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Jun 9 17:44:31 2017 +0200
loginDialog: Only highlight a single item at any time
The user list uses the same indication for hover and focus, so it
is possible for two items to be highlighted at the same time. Using
different styling would improve the situation, but only to some
extent - the user would still need to figure out which highlight
corresponds to which activation method. So instead, copy the
approach we use in popup menus and use a single property for
highlights that is updated by both focus- and hover changes.
https://bugzilla.gnome.org/show_bug.cgi?id=772284
_common.scss | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/_common.scss b/_common.scss
index 1cf86aa..fd47edb 100644
--- a/_common.scss
+++ b/_common.scss
@@ -1808,7 +1808,7 @@ $legacy_icon_size: 24px;
spacing: 12px;
padding: .2em;
width: 23em;
- &:expanded .login-dialog-user-list-item:focus { background-color: $selected_bg_color; color:
$selected_fg_color; }
+ &:expanded .login-dialog-user-list-item:selected { background-color: $selected_bg_color; color:
$selected_fg_color; }
&:expanded .login-dialog-user-list-item:logged-in { border-right: 2px solid $selected_bg_color; }
}
.login-dialog-user-list-item {
@@ -1817,7 +1817,6 @@ $legacy_icon_size: 24px;
color: darken($osd_fg_color,30%);
&:ltr { padding-right: 1em; }
&:rtl { padding-left: 1em; }
- &:hover { background-color: $selected_bg_color; color: $selected_fg_color; }
.login-dialog-timed-login-indicator {
height: 2px;
margin: 2px 0 0 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]