[gtk/label-double-focus: 2/2] Adwaita: Don't render focus around labels with links
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/label-double-focus: 2/2] Adwaita: Don't render focus around labels with links
- Date: Fri, 10 Apr 2020 01:20:46 +0000 (UTC)
commit b15f16e8dba144d4a59c50d8f8125d941a795f3b
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Apr 9 21:18:01 2020 -0400
Adwaita: Don't render focus around labels with links
This avoids the 'double outline' problem for labels
with links.
Fixes: #135
gtk/theme/Adwaita/_common.scss | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 24a0db293c..845c8a958f 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -42,7 +42,8 @@ dnd {
* Outlines *
********/
-label:focus(visible),
+:focus(visible) link,
+label:focus(visible):not(.link),
row:focus(visible),
flowboxchild:focus(visible) {
// We use the outline properties to signal the focus properties
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]