[gtk/peek-password: 10/11] adwaita: theme levelbars in entries



commit a0889e0794359689bfd7dffb4888a764d8ed8ffa
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Mar 13 20:37:15 2019 -0400

    adwaita: theme levelbars in entries
    
    This is used in password entries now.

 gtk/theme/Adwaita/_common.scss | 13 +++++++++++++
 1 file changed, 13 insertions(+)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 866a919faa..b9a2db2297 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -372,6 +372,19 @@ entry {
     &:backdrop { background-color: transparent; }
   }
 
+  levelbar {
+    margin-bottom: 2px;
+    block,
+    trough {
+      border: none;
+      padding: 0px;
+      min-height: 2px;
+    }
+    block.low {
+      background-color: red;
+    }
+  }
+
    // linked entries
   .linked:not(.vertical) > & { @extend %linked; }
   .linked:not(.vertical) > &:focus + &,


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