[gtk/matthiasc/for-master: 11/11] Adwaita: visible focus outline for color swatches



commit 19f7b7ed4013fae63a5ffbf13a40ca5bbde5c560
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Apr 12 20:13:16 2020 -0400

    Adwaita: visible focus outline for color swatches
    
    Make the focus outline for color swatches visible
    again.

 gtk/theme/Adwaita/_common.scss | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 845c8a958f..351c309462 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -3978,6 +3978,12 @@ colorswatch {
     }
   }
 
+  &:focus(visible) {
+    outline-offset: -2px;
+    outline-width: 2px;
+    outline-style: solid;
+  }
+
   &:drop(active) {
     box-shadow: none;
 


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