[libadwaita/wip/exalm/card: 28/34] stylesheet: More thorough entry.error and .warning styles




commit 27ba754976ad7af4bfd079dadff4b78aa7919c8e
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Oct 20 18:07:19 2021 +0500

    stylesheet: More thorough entry.error and .warning styles
    
    Style progress bar and icons as well. Make sure the entry border doesn't
    change along with text.

 src/stylesheet/widgets/_entries.scss | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/src/stylesheet/widgets/_entries.scss b/src/stylesheet/widgets/_entries.scss
index c37b1c22..082757a3 100644
--- a/src/stylesheet/widgets/_entries.scss
+++ b/src/stylesheet/widgets/_entries.scss
@@ -42,15 +42,23 @@ entry {
     @each $e_type, $e_color in (error, $error_color),
                                (warning, $warning_color) {
       &.#{$e_type} {
-        color: gtkmix($e_color, $view_fg_color, 70%);
-
         @include focus-ring($focus-state: ':focus-within', $fc: gtkalpha($e_color, 0.5));
 
         > text {
+          color: gtkmix($e_color, $view_fg_color, 70%);
+
           > selection:focus-within { background-color: gtkalpha($e_color, .2); }
 
           > cursor-handle > contents { background-color: $e_color; }
         }
+
+        > image:active {
+          color: $e_color;
+        }
+
+        > progress > trough > progress {
+          border-color: $e_color;
+        }
       }
     }
 


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